/freebsd-10.1-release/contrib/llvm/lib/MC/ |
H A D | MCValue.cpp | 19 OS << getConstant(); 30 if (getConstant()) 31 OS << " + " << getConstant();
|
H A D | MCExpr.cpp | 458 Res = Value.getConstant(); 555 int64_t LHS_Cst = LHS.getConstant(); 656 Res = MCValue::get(!Value.getConstant()); 663 -Value.getConstant()); 668 Res = MCValue::get(~Value.getConstant()); 698 -RHSValue.getConstant(), 704 RHSValue.getConstant(), 712 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant();
|
/freebsd-10.1-release/contrib/llvm/lib/Target/SystemZ/ |
H A D | SystemZSelectionDAGInfo.cpp | 50 DAG.getConstant(Size, PtrVT), 51 DAG.getConstant(Size / 256, PtrVT)); 53 DAG.getConstant(Size, PtrVT)); 82 DAG.getConstant(StoreVal, MVT::getIntegerVT(Size * 8)), 116 DAG.getConstant(Size1, PtrVT)); 130 DAG.getConstant(1, PtrVT)); 150 DAG.getConstant(1, PtrVT)); 173 DAG.getConstant(Size, PtrVT), 174 DAG.getConstant(Size / 256, PtrVT)); 176 DAG.getConstant(Siz [all...] |
H A D | SystemZISelLowering.cpp | 801 Chain = DAG.getCALLSEQ_START(Chain, DAG.getConstant(NumBytes, PtrVT, true), 898 DAG.getConstant(NumBytes, PtrVT, true), 899 DAG.getConstant(0, PtrVT, true), 1087 CmpOp1 = DAG.getConstant(0, CmpOp1.getValueType()); 1164 CmpOp1 = DAG.getConstant(Value, MVT::i32); 1379 AndOp1 = DAG.getConstant(MaskVal >> ShiftVal, AndOp0.getValueType()); 1388 AndOp1 = DAG.getConstant(MaskVal << ShiftVal, AndOp0.getValueType()); 1454 DAG.getConstant(ICmpType, MVT::i32)); 1467 Hi = DAG.getNode(ISD::SRL, DL, MVT::i64, Mul, DAG.getConstant(32, MVT::i64)); 1504 DAG.getConstant(Conversio [all...] |
/freebsd-10.1-release/contrib/llvm/include/llvm/MC/ |
H A D | MCValue.h | 42 int64_t getConstant() const { return Cst; } function in class:llvm::MCValue
|
/freebsd-10.1-release/contrib/llvm/lib/Target/X86/ |
H A D | X86SelectionDAGInfo.cpp | 121 Chain = DAG.getCopyToReg(Chain, dl, ValReg, DAG.getConstant(Val, AVT), 149 DAG.getConstant((AVT == MVT::i64) ? 7 : 3, CVT)); 165 DAG.getConstant(Offset, AddrVT)), 167 DAG.getConstant(BytesLeft, SizeVT), 257 DAG.getConstant(Offset, DstVT)), 259 DAG.getConstant(Offset, SrcVT)), 260 DAG.getConstant(BytesLeft, SizeVT),
|
/freebsd-10.1-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | SCCP.cpp | 92 Constant *getConstant() const { function in class:__anon2790::LatticeVal 109 assert(getConstant() == V && "Marking constant with different value"); 121 if (V == getConstant()) return false; 135 return dyn_cast<ConstantInt>(getConstant()); 353 markConstant(IV, V, MergeWithV.getConstant()); 354 else if (IV.getConstant() != MergeWithV.getConstant()) 683 OperandVal = IV.getConstant(); 693 if (IV.getConstant() != OperandVal) 751 OpSt.getConstant(), [all...] |
/freebsd-10.1-release/contrib/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 202 NewRHS = DAG.getConstant(0, RetVT); 302 DAG.getConstant(Demanded & 444 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, Op.getValueType())); 532 SDValue ANDC = TLO.DAG.getConstant(~KnownOne & NewMask, VT); 548 TLO.DAG.getConstant(Expanded, VT)); 621 TLO.DAG.getConstant(Diff, Op.getOperand(1).getValueType()); 645 TLO.DAG.getConstant(ShAmt, ShTy)); 667 TLO.DAG.getConstant(ShAmt - InnerShAmt, 710 TLO.DAG.getConstant(Diff, Op.getOperand(1).getValueType()); 775 TLO.DAG.getConstant(BitWidt [all...] |
H A D | LegalizeVectorOps.cpp | 440 DAG.getConstant(LoadBytes, BasePTR.getValueType())); 448 SDValue SrcEltBitMask = DAG.getConstant((1U << SrcEltBits) - 1, WideVT); 458 ShAmt = DAG.getConstant(BitOffset, TLI.getShiftAmountTy(WideVT)); 468 ShAmt = DAG.getConstant(SrcEltBits - Offset, 487 ShAmt = DAG.getConstant(WideBits - SrcEltBits, 508 DAG.getConstant(Stride, BasePTR.getValueType())); 560 RegSclVT, Value, DAG.getConstant(Idx, TLI.getVectorIdxTy())); 568 DAG.getConstant(Stride, BasePTR.getValueType())); 612 DAG.getConstant(APInt::getAllOnesValue(BitTy.getSizeInBits()), BitTy), 613 DAG.getConstant( [all...] |
H A D | LegalizeDAG.cpp | 266 return DAG.getConstant(LLVMC->getValueAPF().bitcastToAPInt(), 348 SDValue Increment = DAG.getConstant(RegBytes, TLI.getPointerTy(AS)); 404 SDValue ShiftAmount = DAG.getConstant(NumBits, 416 DAG.getConstant(IncrementSize, TLI.getPointerTy(AS))); 467 SDValue Increment = DAG.getConstant(RegBytes, TLI.getPointerTy()); 545 DAG.getConstant(IncrementSize, Ptr.getValueType())); 556 DAG.getConstant(IncrementSize, Ptr.getValueType())); 565 SDValue ShiftAmount = DAG.getConstant(NumBits, 612 Tmp3 = DAG.getNode(ISD::MUL, dl, IdxVT, Tmp3,DAG.getConstant(EltSize, IdxVT)); 669 SDValue Con = DAG.getConstant(CF [all...] |
H A D | LegalizeIntegerTypes.cpp | 271 DAG.getConstant(DiffBits, TLI.getPointerTy())); 318 DAG.getConstant(NVT.getSizeInBits() - 339 Op = DAG.getNode(ISD::OR, dl, NVT, Op, DAG.getConstant(TopBit, NVT)); 680 DAG.getConstant(0, Hi.getValueType()), ISD::SETNE); 739 DAG.getConstant(i * RegVT.getSizeInBits(), 910 DAG.getConstant(OVT.getSizeInBits(), TLI.getPointerTy())); 1285 Lo = Hi = DAG.getConstant(0, NVT); 1287 Lo = DAG.getConstant(0, NVT); 1289 NVT, InL, DAG.getConstant(Amt-NVTBits, ShTy)); 1291 Lo = DAG.getConstant( [all...] |
H A D | LegalizeVectorTypes.cpp | 269 Cond, DAG.getConstant(1, CondVT)); 725 DAG.getConstant(IdxVal + LoVT.getVectorNumElements(), 759 DAG.getConstant(IncrementSize, StackPtr.getValueType())); 806 DAG.getConstant(IdxVal - LoNumElts, 834 DAG.getConstant(IncrementSize, StackPtr.getValueType())); 877 DAG.getConstant(IncrementSize, Ptr.getValueType())); 1086 Inputs[Input], DAG.getConstant(Idx, 1267 DAG.getConstant(IdxVal - LoElts, Idx.getValueType())); 1288 DAG.getConstant(IdxVal - LoElts, 1335 DAG.getConstant(IncrementSiz [all...] |
/freebsd-10.1-release/contrib/llvm/lib/Target/R600/ |
H A D | AMDGPUISelLowering.cpp | 303 return DAG.getConstant(Offset, getPointerTy(G->getAddressSpace())); 314 Op, DAG.getConstant(i, MVT::i32))); 358 return DAG.getConstant(Offset * 4 * TFL->getStackWidth(MF), 407 SDValue Neg = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, VT), 501 DAG.getConstant(i * (MemEltVT.getSizeInBits() / 8), PtrVT)); 536 Mask = DAG.getConstant(0xFF, PackedVT); 539 Mask = DAG.getConstant(0xFFFF, PackedVT); 548 DAG.getConstant(i, MVT::i32)); 551 SDValue Shift = DAG.getConstant(MemEltBits * i, PackedVT); 578 Store->getValue(), DAG.getConstant( [all...] |
H A D | R600ISelLowering.cpp | 536 DAG.getConstant(0, MVT::i32), // SWZ_X 537 DAG.getConstant(1, MVT::i32), // SWZ_Y 538 DAG.getConstant(2, MVT::i32), // SWZ_Z 539 DAG.getConstant(3, MVT::i32) // SWZ_W 672 DAG.getConstant(TextureOp, MVT::i32), 674 DAG.getConstant(0, MVT::i32), 675 DAG.getConstant(1, MVT::i32), 676 DAG.getConstant(2, MVT::i32), 677 DAG.getConstant(3, MVT::i32), 681 DAG.getConstant( [all...] |
H A D | AMDILISelLowering.cpp | 343 SDValue Shift = DAG.getConstant(shiftBits, DVT); 414 jq = DAG.getNode(ISD::SRA, DL, OVT, jq, DAG.getConstant(bitsize - 2, OVT)); 417 jq = DAG.getNode(ISD::OR, DL, OVT, jq, DAG.getConstant(1, OVT)); 465 DAG.getConstant(0, OVT)); 500 r0, DAG.getConstant(0, OVT), 501 DAG.getConstant(-1, MVT::i32), 502 DAG.getConstant(0, MVT::i32), 507 r1, DAG.getConstant(0, OVT), 508 DAG.getConstant(-1, MVT::i32), 509 DAG.getConstant( [all...] |
H A D | SIISelLowering.cpp | 175 DAG.getConstant(Offset, MVT::i64)); 588 SDValue Zero = DAG.getConstant(0, MVT::i32); 589 SDValue One = DAG.getConstant(1, MVT::i32); 708 Load->getBasePtr(), DAG.getConstant(0, MVT::i32)); 710 DAG.getConstant(2, MVT::i32)); 734 DAG.getConstant(0, MVT::i64), 735 DAG.getConstant(0, MVT::i64)); 776 DAG.getConstant(31, MVT::i32)); 798 DAG.getConstant(2, MVT::i32)); 805 Store->getValue(), DAG.getConstant( [all...] |
/freebsd-10.1-release/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCMCExpr.cpp | 61 int64_t Result = Value.getConstant(); 120 Res = MCValue::get(Sym, Value.getSymB(), Value.getConstant());
|
/freebsd-10.1-release/contrib/llvm/lib/Target/XCore/ |
H A D | XCoreISelLowering.cpp | 283 SDValue Remaining = DAG.getConstant(Offset - FoldedOffset, MVT::i32); 341 DAG.getConstant(1, MVT::i32)); 366 DAG.getConstant(LowOffset, MVT::i32)); 368 DAG.getConstant(HighOffset, MVT::i32)); 370 SDValue LowShift = DAG.getConstant((Offset - LowOffset) * 8, MVT::i32); 371 SDValue HighShift = DAG.getConstant((HighOffset - Offset) * 8, MVT::i32); 439 DAG.getConstant(2, MVT::i32)); 446 DAG.getConstant(16, MVT::i32)); 499 DAG.getConstant(16, MVT::i32)); 505 DAG.getConstant( [all...] |
/freebsd-10.1-release/contrib/llvm/include/llvm/Analysis/ |
H A D | LazyValueInfo.h | 56 /// getConstant - Determine whether the specified value is known to be a 58 Constant *getConstant(Value *V, BasicBlock *BB);
|
/freebsd-10.1-release/contrib/llvm/lib/Target/ARM/ |
H A D | ARMSelectionDAGInfo.cpp | 68 DAG.getConstant(SrcOff, MVT::i32)), 80 DAG.getConstant(DstOff, MVT::i32)), 107 DAG.getConstant(SrcOff, MVT::i32)), 130 DAG.getConstant(DstOff, MVT::i32)),
|
H A D | ARMISelLowering.cpp | 1356 DAG.getConstant(0, MVT::i32)); 1368 DAG.getConstant(1, MVT::i32)); 1527 DAG.getConstant(0, MVT::i32)); 1529 DAG.getConstant(1, MVT::i32)); 1574 SDValue Const = DAG.getConstant(4*i, MVT::i32); 1598 SDValue SizeNode = DAG.getConstant(Flags.getByValSize() - 4*offset, 1600 SDValue AlignNode = DAG.getConstant(Flags.getByValAlign(), MVT::i32); 1714 SDValue PICLabel = DAG.getConstant(ARMPCLabelIndex, MVT::i32); 1743 SDValue PICLabel = DAG.getConstant(ARMPCLabelIndex, MVT::i32); 2139 RetOps.insert(RetOps.begin() + 1, DAG.getConstant(LROffse [all...] |
/freebsd-10.1-release/contrib/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 1086 DAG.getConstant(8, getPointerTy())); 1110 DAG.getConstant(16, getPointerTy())); 1470 SDValue SizeNode = DAG.getConstant(Flags.getByValSize(), MVT::i64); 1834 RHS = DAG.getConstant(C-1, VT); 1841 RHS = DAG.getConstant(C-1, VT); 1848 RHS = DAG.getConstant(C+1, VT); 1855 RHS = DAG.getConstant(C+1, VT); 1863 A64cc = DAG.getConstant(CondCode, MVT::i32); 1914 DAG.getConstant(/*Alignment=*/ 4, MVT::i32)); 1940 DAG.getConstant( [all...] |
/freebsd-10.1-release/contrib/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelLowering.cpp | 574 SDValue DeclareParamOps[] = { Chain, DAG.getConstant(align, MVT::i32), 575 DAG.getConstant(paramCount, MVT::i32), 576 DAG.getConstant(sz, MVT::i32), InFlag }; 598 DAG.getConstant(paramCount, MVT::i32), 599 DAG.getConstant(curOffset, MVT::i32), 620 SDValue DeclareParamOps[] = { Chain, DAG.getConstant(align, MVT::i32), 621 DAG.getConstant(paramCount, MVT::i32), 622 DAG.getConstant(sz, MVT::i32), InFlag }; 643 DAG.getConstant(paramCount, MVT::i32), 644 DAG.getConstant( [all...] |
/freebsd-10.1-release/contrib/llvm/lib/Analysis/ |
H A D | LazyValueInfo.cpp | 111 Constant *getConstant() const { function in class:__anon2187::LVILatticeVal 143 assert((!isConstant() || getConstant() == V) && 159 assert((!isConstant() || getConstant() != V) && 218 getConstant(), 245 RHS.getConstant()))) 288 return OS << "constant<" << *Val.getConstant() << '>'; 1036 Constant *LazyValueInfo::getConstant(Value *V, BasicBlock *BB) { function in class:LazyValueInfo 1040 return Result.getConstant(); 1056 return Result.getConstant(); 1076 Res = ConstantFoldCompareInstOperands(Pred, Result.getConstant(), [all...] |
H A D | ScalarEvolution.cpp | 314 const SCEV *ScalarEvolution::getConstant(ConstantInt *V) { function in class:ScalarEvolution 325 const SCEV *ScalarEvolution::getConstant(const APInt& Val) { function in class:ScalarEvolution 326 return getConstant(ConstantInt::get(getContext(), Val)); 330 ScalarEvolution::getConstant(Type *Ty, uint64_t V, bool isSigned) { function in class:ScalarEvolution 332 return getConstant(ConstantInt::get(ITy, V, isSigned)); 779 const SCEV *S = SE.getMinusSCEV(It, SE.getConstant(It->getType(), i)); 785 const SCEV *DivResult = SE.getUDivExpr(Dividend, SE.getConstant(DivFactor)); 789 return SE.getMulExpr(SE.getConstant(MultiplyFactor), 839 return getConstant( 911 return getConstant( [all...] |