Searched refs:getConstant (Results 26 - 50 of 70) sorted by relevance

123

/freebsd-10.1-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp1445 DAG.getConstant(N1C->getAPIntValue()+
1637 return DAG.getConstant(0, VT);
1639 return DAG.getConstant(0, VT);
1672 DAG.getConstant(-N1C->getAPIntValue(), VT));
1687 SDValue NewC = DAG.getConstant(N0C->getAPIntValue() - N1C1->getAPIntValue(),
1729 return DAG.getConstant((uint64_t)GA->getOffset() - GB->getOffset(),
1751 return CombineTo(N, DAG.getConstant(0, VT),
1804 return DAG.getConstant(0, VT);
1845 DAG.getConstant(0, VT), N0);
1849 DAG.getConstant(ConstValue
[all...]
H A DSelectionDAG.cpp947 getConstant(Imm, Op.getValueType()));
955 getConstant(APInt::getAllOnesValue(EltVT.getSizeInBits()), VT);
959 SDValue SelectionDAG::getConstant(uint64_t Val, EVT VT, bool isT) { function in class:SelectionDAG
963 "getConstant with a uint64_t value that doesn't fit in the type!");
964 return getConstant(APInt(EltVT.getSizeInBits(), Val), VT, isT);
967 SDValue SelectionDAG::getConstant(const APInt &Val, EVT VT, bool isT) { function in class:SelectionDAG
968 return getConstant(*ConstantInt::get(*Context, Val), VT, isT);
971 SDValue SelectionDAG::getConstant(const ConstantInt &Val, EVT VT, bool isT) { function in class:SelectionDAG
1011 EltParts.push_back(getConstant(NewVal.lshr(i * ViaEltSizeInBits)
1024 // perform this reversal because getConstant() i
[all...]
H A DLegalizeTypesGeneric.cpp115 CastInOp, DAG.getConstant(i,
168 DAG.getConstant(IncrementSize,
233 DAG.getConstant(1, Idx.getValueType()));
264 DAG.getConstant(IncrementSize, Ptr.getValueType()));
432 DAG.getConstant(1, Idx.getValueType()));
481 DAG.getConstant(IncrementSize, Ptr.getValueType()));
H A DLegalizeFloatTypes.cpp130 return DAG.getConstant(N->getValueAPF().bitcastToAPInt(),
149 SDValue Mask = DAG.getConstant(API, NVT);
191 SDValue SignBit = DAG.getNode(ISD::SHL, dl, RVT, DAG.getConstant(1, RVT),
192 DAG.getConstant(RSize - 1,
200 DAG.getConstant(SizeDiff,
206 DAG.getConstant(-SizeDiff,
211 SDValue Mask = DAG.getNode(ISD::SHL, dl, LVT, DAG.getConstant(1, LVT),
212 DAG.getConstant(LSize - 1,
214 Mask = DAG.getNode(ISD::SUB, dl, LVT, Mask, DAG.getConstant(1, LVT));
678 NewRHS = DAG.getConstant(
[all...]
H A DSelectionDAGBuilder.cpp159 DAG.getConstant(Lo.getValueType().getSizeInBits(),
285 DAG.getConstant(0, TLI.getVectorIdxTy()));
494 ElementVT, Val, DAG.getConstant(i,
521 PartVT, Val, DAG.getConstant(0, TLI.getVectorIdxTy()));
551 DAG.getConstant(i * (NumElements / NumIntermediates),
556 DAG.getConstant(i, TLI.getVectorIdxTy()));
729 Parts[i] = DAG.getConstant(0, RegisterVT);
1070 return DAG.getConstant(*CI, VT);
1077 return DAG.getConstant(0, TLI->getPointerTy(AS));
1144 Constants[i] = DAG.getConstant(
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp506 DAG.getConstant(condCodeToFCC(CC), MVT::i32));
589 ShiftRight.getOperand(0), DAG.getConstant(Pos, MVT::i32),
590 DAG.getConstant(SMSize, MVT::i32));
643 DAG.getConstant(SMPos0, MVT::i32),
644 DAG.getConstant(SMSize0, MVT::i32), And0.getOperand(0));
1359 DAG.getConstant(EntrySize, PTy));
1396 SDValue BrCode = DAG.getConstant(Opc, MVT::i32);
1435 SDValue True = DAG.getConstant(1, MVT::i32);
1436 SDValue False = DAG.getConstant(0, MVT::i32);
1624 SDValue Const1 = DAG.getConstant(
[all...]
H A DMipsSEISelLowering.cpp704 return DAG.getConstant(0, VT);
713 DAG.getConstant(Log2_64(C), ShiftTy));
769 DAG.getConstant(SplatValue.getZExtValue(), MVT::i32));
1110 Ptr = DAG.getNode(ISD::ADD, DL, PtrVT, Ptr, DAG.getConstant(4, PtrVT));
1135 Val, DAG.getConstant(0, MVT::i32));
1137 Val, DAG.getConstant(1, MVT::i32));
1148 Ptr = DAG.getNode(ISD::ADD, DL, PtrVT, Ptr, DAG.getConstant(4, PtrVT));
1178 DAG.getConstant(0, MVT::i32));
1180 DAG.getConstant(1, MVT::i32));
1276 LaneA = DAG.getConstant(
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp75 Constant *C = LVI->getConstant(S->getOperand(0), S->getParent());
149 Constant *C = LVI->getConstant(Pointer, I->getParent());
H A DLoopRerollPass.cpp1084 SE->getConstant(Start->getType(), Scale));
1087 SE->getConstant(RealIVSCEV->getType(), 1),
1102 SE->getMulExpr(ICSCEV, SE->getConstant(ICSCEV->getType(), Scale));
1105 SE->getMinusSCEV(ICSCEV, SE->getConstant(ICSCEV->getType(), 1));
1159 SE->getAddExpr(LIBETC, SE->getConstant(LIBETC->getType(), 1));
H A DLoopIdiomRecognize.cpp1012 const SCEV *NumBytesS = SE->getAddExpr(BECount, SE->getConstant(IntPtr, 1),
1015 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtr, StoreSize),
1126 const SCEV *NumBytesS = SE->getAddExpr(BECount, SE->getConstant(IntPtrTy, 1),
1129 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtrTy, StoreSize),
/freebsd-10.1-release/contrib/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp1337 SDValue Zero = DAG.getConstant(0, PtrVT);
1551 DAG.getConstant(Log2b, MVT::i32));
1571 return DAG.getSetCC(dl, VT, Sub, DAG.getConstant(0, LHSVT), CC);
1597 DAG.getConstant(1, MVT::i32));
1599 DAG.getConstant(0, MVT::i32), ISD::SETNE);
1601 DAG.getConstant(1, MVT::i32));
1609 DAG.getConstant(1, MVT::i32));
1618 DAG.getConstant(8, MVT::i32));
1621 DAG.getConstant(4, MVT::i32));
1636 DAG.getConstant(
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp2078 SDValue SizeNode = DAG.getConstant(Flags.getByValSize(), MVT::i32);
2705 DAG.getConstant(NumXMMRegs, MVT::i8)));
2871 Ops.push_back(DAG.getConstant(FPDiff, MVT::i32));
3310 return DAG.getNode(Opc, dl, VT, V1, DAG.getConstant(TargetMask, MVT::i8));
3323 DAG.getConstant(TargetMask, MVT::i8));
3427 RHS = DAG.getConstant(0, RHS.getValueType());
3436 RHS = DAG.getConstant(0, RHS.getValueType());
5252 ThisElt, DAG.getConstant(8, MVT::i8));
5310 DAG.getConstant(NumBits,
5368 Ptr,DAG.getConstant(StartOffse
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp596 Chain = DAG.getCALLSEQ_START(Chain ,DAG.getConstant(NumBytes,
643 SDValue SizeNode = DAG.getConstant(Flags.getByValSize(), MVT::i16);
703 DAG.getConstant(NumBytes, getPointerTy(), true),
704 DAG.getConstant(0, getPointerTy(), true),
846 RHS = DAG.getConstant(C->getSExtValue() + 1, C->getValueType(0));
859 RHS = DAG.getConstant(C->getSExtValue() + 1, C->getValueType(0));
872 RHS = DAG.getConstant(C->getSExtValue() + 1, C->getValueType(0));
885 RHS = DAG.getConstant(C->getSExtValue() + 1, C->getValueType(0));
893 TargetCC = DAG.getConstant(TCC, MVT::i8);
970 SDValue One = DAG.getConstant(
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Analysis/
H A DScalarEvolutionExpander.cpp219 S = SE.getConstant(S->getType(), 1);
238 const SCEV *Div = SE.getConstant(CI);
242 SE.getConstant(C->getValue()->getValue().srem(
261 SE.getConstant(C->getValue()->getValue().sdiv(
271 const SCEV *Remainder = SE.getConstant(SOp->getType(), 0);
286 const SCEV *StepRem = SE.getConstant(Step->getType(), 0);
317 SE.getConstant(Ty, 0) :
344 const SCEV *Zero = SE.getConstant(Ty, 0);
425 const SCEV *Remainder = SE.getConstant(Ty, 0);
474 SE.getConstant(T
[all...]
H A DDependenceAnalysis.cpp375 A = SE->getConstant(D->getType(), 1);
539 X->setPoint(SE->getConstant(Xq),
540 SE->getConstant(Yq),
1063 Result.DV[Level].Distance = SE->getConstant(Distance);
1064 NewConstraint.setDistance(SE->getConstant(Distance), CurLoop);
1192 SE->getUDivExpr(SE->getSMaxExpr(SE->getConstant(Delta->getType(), 0),
1194 SE->getMulExpr(SE->getConstant(Delta->getType(), 2),
1217 const SCEV *ConstantTwo = SE->getConstant(UpperBound->getType(), 2);
1237 Result.DV[Level].Distance = SE->getConstant(Delta->getType(), 0);
1600 NewConstraint.setLine(SE->getConstant(Delt
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/CodeGen/
H A DStackMaps.h145 int64_t getConstant(size_t Idx) const { return ConstantsList[Idx]; } function in struct:llvm::StackMaps::ConstantPool
H A DSelectionDAG.h241 /// ensure that getConstant() and similar functions return DAG nodes that
404 SDValue getConstant(uint64_t Val, EVT VT, bool isTarget = false);
405 SDValue getConstant(const APInt &Val, EVT VT, bool isTarget = false);
406 SDValue getConstant(const ConstantInt &Val, EVT VT, bool isTarget = false);
409 return getConstant(Val, VT, true);
412 return getConstant(Val, VT, true);
415 return getConstant(Val, VT, true);
/freebsd-10.1-release/contrib/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp121 Value = Target.getConstant();
305 switch (-(Target.getConstant() + (1LL << Log2Size))) {
479 Target.getConstant());
530 uint32_t Offset = Target.getConstant();
/freebsd-10.1-release/contrib/llvm/include/llvm/Analysis/
H A DScalarEvolution.h573 const SCEV *getConstant(ConstantInt *V);
574 const SCEV *getConstant(const APInt& Val);
575 const SCEV *getConstant(Type *Ty, uint64_t V, bool isSigned = false);
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBlocks.h160 llvm::Value *getConstant() const { function in class:clang::CodeGen::CGBlockInfo::Capture
/freebsd-10.1-release/contrib/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp232 RetOps[1] = DAG.getConstant(RetAddrOffset, MVT::i32);
265 RetOps.push_back(DAG.getConstant(8, MVT::i32));
291 DAG.getConstant(32, MVT::i32));
471 DAG.getConstant(Offset, MVT::i32));
571 DAG.getConstant(32, MVT::i32));
725 SDValue SizeNode = DAG.getConstant(Size, MVT::i32);
1161 DAG.getConstant(32, MVT::i32));
1292 DAG.getConstant(32, MVT::i32));
1834 H44 = DAG.getNode(ISD::SHL, DL, VT, H44, DAG.getConstant(12, MVT::i32));
1843 Hi = DAG.getNode(ISD::SHL, DL, VT, Hi, DAG.getConstant(3
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp881 SDValue NewMask = CurDAG->getConstant(RISBG.Mask, VT);
957 SDValue Upper = CurDAG->getConstant(UpperVal, VT);
962 SDValue Lower = CurDAG->getConstant(LowerVal, VT);
1089 CurDAG->getConstant(int32_t(Value), VT) };
1109 CCMask = CurDAG->getConstant(ConstCCValid ^ ConstCCMask,
/freebsd-10.1-release/contrib/llvm/lib/CodeGen/
H A DStackMaps.cpp214 AP.OutStreamer.EmitIntValue(ConstPool.getConstant(i), 8);
/freebsd-10.1-release/contrib/llvm/lib/Transforms/Utils/
H A DLoopUnrollRuntime.cpp254 SE->getAddExpr(BECount, SE->getConstant(BECount->getType(), 1));
H A DSimplifyIndVar.cpp210 SE->getMinusSCEV(S, SE->getConstant(S->getType(), 1));

Completed in 328 milliseconds

123