/external/llvm/unittests/Analysis/ |
D | ScalarEvolutionTest.cpp | 161 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[1], B[1])); in TEST_F() 163 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[2], B[1])); in TEST_F() 164 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[1], B[2])); in TEST_F() 170 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[2], B[1])); in TEST_F() 171 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[1], B[2])); in TEST_F() 173 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[3], B[1])); in TEST_F() 174 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 6), A[2], B[2])); in TEST_F() 175 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[1], B[3])); in TEST_F() 176 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[3], B[2])); in TEST_F() 177 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[2], B[3])); in TEST_F() [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZSelectionDAGInfo.cpp | 49 DAG.getConstant(Size, PtrVT), in emitMemMem() 50 DAG.getConstant(Size / 256, PtrVT)); in emitMemMem() 52 DAG.getConstant(Size, PtrVT)); in emitMemMem() 81 DAG.getConstant(StoreVal, MVT::getIntegerVT(Size * 8)), in memsetStore() 115 DAG.getConstant(Size1, PtrVT)); in EmitTargetCodeForMemset() 129 DAG.getConstant(1, PtrVT)); in EmitTargetCodeForMemset() 149 DAG.getConstant(1, PtrVT)); in EmitTargetCodeForMemset() 172 DAG.getConstant(Size, PtrVT), in emitCLC() 173 DAG.getConstant(Size / 256, PtrVT)); in emitCLC() 175 DAG.getConstant(Size, PtrVT)); in emitCLC() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
D | AMDGPUISelLowering.cpp | 155 SDValue Neg = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, VT), in LowerIntrinsicIABS() 202 SDValue NEG_RCP_LO = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, VT), in LowerUDIVREM() 206 SDValue ABS_RCP_LO = DAG.getSelectCC(DL, RCP_HI, DAG.getConstant(0, VT), in LowerUDIVREM() 220 SDValue Tmp0 = DAG.getSelectCC(DL, RCP_HI, DAG.getConstant(0, VT), in LowerUDIVREM() 234 DAG.getConstant(-1, VT), in LowerUDIVREM() 235 DAG.getConstant(0, VT), in LowerUDIVREM() 239 DAG.getConstant(0, VT), in LowerUDIVREM() 240 DAG.getConstant(-1, VT), in LowerUDIVREM() 241 DAG.getConstant(0, VT), in LowerUDIVREM() 251 DAG.getConstant(1, VT)); in LowerUDIVREM() [all …]
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDGPUISelLowering.cpp | 155 SDValue Neg = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, VT), in LowerIntrinsicIABS() 202 SDValue NEG_RCP_LO = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, VT), in LowerUDIVREM() 206 SDValue ABS_RCP_LO = DAG.getSelectCC(DL, RCP_HI, DAG.getConstant(0, VT), in LowerUDIVREM() 220 SDValue Tmp0 = DAG.getSelectCC(DL, RCP_HI, DAG.getConstant(0, VT), in LowerUDIVREM() 234 DAG.getConstant(-1, VT), in LowerUDIVREM() 235 DAG.getConstant(0, VT), in LowerUDIVREM() 239 DAG.getConstant(0, VT), in LowerUDIVREM() 240 DAG.getConstant(-1, VT), in LowerUDIVREM() 241 DAG.getConstant(0, VT), in LowerUDIVREM() 251 DAG.getConstant(1, VT)); in LowerUDIVREM() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 203 NewRHS = DAG.getConstant(0, RetVT); in softenSetCCOperands() 303 DAG.getConstant(Demanded & in ShrinkDemandedConstant() 449 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, Op.getValueType())); in SimplifyDemandedBits() 537 SDValue ANDC = TLO.DAG.getConstant(~KnownOne & NewMask, VT); in SimplifyDemandedBits() 553 TLO.DAG.getConstant(Expanded, VT)); in SimplifyDemandedBits() 626 TLO.DAG.getConstant(Diff, Op.getOperand(1).getValueType()); in SimplifyDemandedBits() 650 TLO.DAG.getConstant(ShAmt, ShTy)); in SimplifyDemandedBits() 672 TLO.DAG.getConstant(ShAmt - InnerShAmt, in SimplifyDemandedBits() 715 TLO.DAG.getConstant(Diff, Op.getOperand(1).getValueType()); in SimplifyDemandedBits() 780 TLO.DAG.getConstant(BitWidth - 1 - Log2, in SimplifyDemandedBits() [all …]
|
D | LegalizeDAG.cpp | 267 return DAG.getConstant(LLVMC->getValueAPF().bitcastToAPInt(), in ExpandConstantFP() 349 SDValue Increment = DAG.getConstant(RegBytes, TLI.getPointerTy(AS)); in ExpandUnalignedStore() 403 SDValue ShiftAmount = DAG.getConstant(NumBits, in ExpandUnalignedStore() 415 DAG.getConstant(IncrementSize, TLI.getPointerTy(AS))); in ExpandUnalignedStore() 466 SDValue Increment = DAG.getConstant(RegBytes, TLI.getPointerTy()); in ExpandUnalignedLoad() 543 DAG.getConstant(IncrementSize, Ptr.getValueType())); in ExpandUnalignedLoad() 554 DAG.getConstant(IncrementSize, Ptr.getValueType())); in ExpandUnalignedLoad() 563 SDValue ShiftAmount = DAG.getConstant(NumBits, in ExpandUnalignedLoad() 610 Tmp3 = DAG.getNode(ISD::MUL, dl, IdxVT, Tmp3,DAG.getConstant(EltSize, IdxVT)); in PerformInsertVectorEltInMemory() 667 SDValue Con = DAG.getConstant(CFP->getValueAPF(). in OptimizeFloatStore() [all …]
|
D | LegalizeIntegerTypes.cpp | 300 DAG.getConstant(DiffBits, TLI.getShiftAmountTy(NVT))); in PromoteIntRes_BSWAP() 348 DAG.getConstant(NVT.getScalarSizeInBits() - OVT.getScalarSizeInBits(), in PromoteIntRes_CTLZ() 369 Op = DAG.getNode(ISD::OR, dl, NVT, Op, DAG.getConstant(TopBit, NVT)); in PromoteIntRes_CTTZ() 710 DAG.getConstant(0, Hi.getValueType()), ISD::SETNE); in PromoteIntRes_XMULO() 769 DAG.getConstant(i * RegVT.getSizeInBits(), in PromoteIntRes_VAARG() 939 DAG.getConstant(OVT.getSizeInBits(), TLI.getPointerTy())); in PromoteIntOp_BUILD_PAIR() 1334 Lo = Hi = DAG.getConstant(0, NVT); in ExpandShiftByConstant() 1336 Lo = DAG.getConstant(0, NVT); in ExpandShiftByConstant() 1338 NVT, InL, DAG.getConstant(Amt-NVTBits, ShTy)); in ExpandShiftByConstant() 1340 Lo = DAG.getConstant(0, NVT); in ExpandShiftByConstant() [all …]
|
D | LegalizeVectorOps.cpp | 500 DAG.getConstant(LoadBytes, BasePTR.getValueType())); in ExpandLoad() 508 SDValue SrcEltBitMask = DAG.getConstant((1U << SrcEltBits) - 1, WideVT); in ExpandLoad() 518 ShAmt = DAG.getConstant(BitOffset, TLI.getShiftAmountTy(WideVT)); in ExpandLoad() 528 ShAmt = DAG.getConstant(SrcEltBits - Offset, in ExpandLoad() 547 ShAmt = DAG.getConstant(WideBits - SrcEltBits, in ExpandLoad() 568 DAG.getConstant(Stride, BasePTR.getValueType())); in ExpandLoad() 619 RegSclVT, Value, DAG.getConstant(Idx, TLI.getVectorIdxTy())); in ExpandStore() 627 DAG.getConstant(Stride, BasePTR.getValueType())); in ExpandStore() 697 DAG.getConstant(APInt::getAllOnesValue(BitTy.getSizeInBits()), BitTy), in ExpandSELECT() 698 DAG.getConstant(0, BitTy)); in ExpandSELECT() [all …]
|
/external/dexmaker/src/dx/java/com/android/dx/rop/code/ |
D | ThrowingCstInsn.java | 61 Constant cst = getConstant(); in getInlineString() 86 getConstant()); in withAddedCatch() 95 getConstant()); in withRegisterOffset() 106 getConstant()); in withNewRegisters()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 93 Constant *getConstant() const { in getConstant() function in __anon833413620111::LatticeVal 110 assert(getConstant() == V && "Marking constant with different value"); in markConstant() 122 if (V == getConstant()) return false; in markConstant() 136 return dyn_cast<ConstantInt>(getConstant()); in getConstantInt() 354 markConstant(IV, V, MergeWithV.getConstant()); in mergeInValue() 355 else if (IV.getConstant() != MergeWithV.getConstant()) in mergeInValue() 685 OperandVal = IV.getConstant(); in visitPHINode() 695 if (IV.getConstant() != OperandVal) in visitPHINode() 753 OpSt.getConstant(), I.getType())); in visitCastInst() 835 TVal.getConstant() == FVal.getConstant()) in visitSelectInst() [all …]
|
/external/llvm/lib/MC/ |
D | MCValue.cpp | 20 OS << getConstant(); in print() 36 if (getConstant()) in print() 37 OS << " + " << getConstant(); in print()
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/form/ |
D | Form31i.java | 49 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant(); in insnArgString() 57 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant(); in insnCommentString() 78 Constant cst = ci.getConstant(); in isCompatible() 102 ((CstLiteralBits) ((CstInsn) insn).getConstant()).getIntBits(); in writeTo()
|
D | Form51l.java | 50 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant(); in insnArgString() 58 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant(); in insnCommentString() 79 Constant cst = ci.getConstant(); in isCompatible() 99 ((CstLiteral64) ((CstInsn) insn).getConstant()).getLongBits(); in writeTo()
|
D | Form21s.java | 49 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant(); in insnArgString() 57 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant(); in insnCommentString() 78 Constant cst = ci.getConstant(); in isCompatible() 104 ((CstLiteralBits) ((CstInsn) insn).getConstant()).getIntBits(); in writeTo()
|
D | Form11n.java | 49 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant(); in insnArgString() 57 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant(); in insnCommentString() 79 Constant cst = ci.getConstant(); in isCompatible() 105 ((CstLiteralBits) ((CstInsn) insn).getConstant()).getIntBits(); in writeTo()
|
D | Form21h.java | 49 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant(); in insnArgString() 58 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant(); in insnCommentString() 82 Constant cst = ci.getConstant(); in isCompatible() 114 CstLiteralBits cb = (CstLiteralBits) ((CstInsn) insn).getConstant(); in writeTo()
|
D | Form32s.java | 49 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant(); in insnArgString() 58 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant(); in insnCommentString() 84 Constant cst = ci.getConstant(); in isCompatible() 111 ((CstLiteralBits) ((CstInsn) insn).getConstant()).getIntBits(); in writeTo()
|
D | Form22b.java | 49 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant(); in insnArgString() 58 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant(); in insnCommentString() 80 Constant cst = ci.getConstant(); in isCompatible() 107 ((CstLiteralBits) ((CstInsn) insn).getConstant()).getIntBits(); in writeTo()
|
D | Form22s.java | 49 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant(); in insnArgString() 58 CstLiteralBits value = (CstLiteralBits) ((CstInsn) insn).getConstant(); in insnCommentString() 80 Constant cst = ci.getConstant(); in isCompatible() 107 ((CstLiteralBits) ((CstInsn) insn).getConstant()).getIntBits(); in writeTo()
|
/external/llvm/lib/Target/R600/ |
D | R600ISelLowering.cpp | 608 DAG.getConstant(0, MVT::i32), // SWZ_X in LowerOperation() 609 DAG.getConstant(1, MVT::i32), // SWZ_Y in LowerOperation() 610 DAG.getConstant(2, MVT::i32), // SWZ_Z in LowerOperation() 611 DAG.getConstant(3, MVT::i32) // SWZ_W in LowerOperation() 743 DAG.getConstant(TextureOp, MVT::i32), in LowerOperation() 745 DAG.getConstant(0, MVT::i32), in LowerOperation() 746 DAG.getConstant(1, MVT::i32), in LowerOperation() 747 DAG.getConstant(2, MVT::i32), in LowerOperation() 748 DAG.getConstant(3, MVT::i32), in LowerOperation() 752 DAG.getConstant(0, MVT::i32), in LowerOperation() [all …]
|
D | AMDGPUISelLowering.cpp | 605 return DAG.getStore(Chain, DL, DAG.getConstant(*CI, VT), InitPtr, in LowerConstantInitializer() 625 SDValue Offset = DAG.getConstant(SL->getElementOffset(I), PtrVT); in LowerConstantInitializer() 649 SDValue Offset = DAG.getConstant(i * EltSize, PtrVT); in LowerConstantInitializer() 698 return DAG.getConstant(Offset, getPointerTy(G->getAddressSpace())); in LowerGlobalAddress() 777 return DAG.getConstant(Offset * 4 * TFL->getStackWidth(MF), in LowerFrameIndex() 925 SDValue Neg = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, VT), in LowerIntrinsicIABS() 1019 DAG.getConstant(i * (MemEltVT.getSizeInBits() / 8), PtrVT)); in SplitVectorLoad() 1061 SDValue Mask = DAG.getConstant((1 << MemEltBits) - 1, MVT::i32); in MergeVectorStore() 1068 DAG.getConstant(i, MVT::i32)); in MergeVectorStore() 1072 SDValue Shift = DAG.getConstant(MemEltBits * i, MVT::i32); in MergeVectorStore() [all …]
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 299 SDValue Remaining = DAG.getConstant(Offset - FoldedOffset, MVT::i32); in LowerGlobalAddress() 368 DAG.getConstant(1, MVT::i32)); in LowerBR_JT() 393 DAG.getConstant(LowOffset, MVT::i32)); in lowerLoadWordFromAlignedBasePlusOffset() 395 DAG.getConstant(HighOffset, MVT::i32)); in lowerLoadWordFromAlignedBasePlusOffset() 397 SDValue LowShift = DAG.getConstant((Offset - LowOffset) * 8, MVT::i32); in lowerLoadWordFromAlignedBasePlusOffset() 398 SDValue HighShift = DAG.getConstant((HighOffset - Offset) * 8, MVT::i32); in lowerLoadWordFromAlignedBasePlusOffset() 466 DAG.getConstant(2, MVT::i32)); in LowerLOAD() 473 DAG.getConstant(16, MVT::i32)); in LowerLOAD() 524 DAG.getConstant(16, MVT::i32)); in LowerSTORE() 530 DAG.getConstant(2, MVT::i32)); in LowerSTORE() [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.cpp | 707 SDValue DeclareParamOps[] = { Chain, DAG.getConstant(align, MVT::i32), in LowerCall() 708 DAG.getConstant(paramCount, MVT::i32), in LowerCall() 709 DAG.getConstant(sz, MVT::i32), InFlag }; in LowerCall() 724 DAG.getConstant(paramCount, MVT::i32), in LowerCall() 725 DAG.getConstant(Offsets[j], MVT::i32), in LowerCall() 745 SDValue DeclareParamOps[] = { Chain, DAG.getConstant(align, MVT::i32), in LowerCall() 746 DAG.getConstant(paramCount, MVT::i32), in LowerCall() 747 DAG.getConstant(sz, MVT::i32), InFlag }; in LowerCall() 768 DAG.getConstant(paramCount, MVT::i32), in LowerCall() 769 DAG.getConstant(0, MVT::i32), Elt, in LowerCall() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 1034 RHS = DAG.getConstant(C, VT); in getAArch64Cmp() 1044 RHS = DAG.getConstant(C, VT); in getAArch64Cmp() 1055 RHS = DAG.getConstant(C, VT); in getAArch64Cmp() 1066 RHS = DAG.getConstant(C, VT); in getAArch64Cmp() 1075 AArch64cc = DAG.getConstant(AArch64CC, MVT::i32); in getAArch64Cmp() 1122 DAG.getConstant(0, MVT::i64)); in getAArch64XALUOOp() 1135 DAG.getConstant(32, MVT::i64)); in getAArch64XALUOOp() 1138 DAG.getConstant(31, MVT::i64)); in getAArch64XALUOOp() 1151 DAG.getConstant(32, MVT::i64)); in getAArch64XALUOOp() 1154 DAG.getNode(AArch64ISD::SUBS, DL, VTs, DAG.getConstant(0, MVT::i64), in getAArch64XALUOOp() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86SelectionDAGInfo.cpp | 123 Chain = DAG.getCopyToReg(Chain, dl, ValReg, DAG.getConstant(Val, AVT), in EmitTargetCodeForMemset() 149 DAG.getConstant((AVT == MVT::i64) ? 7 : 3, CVT)); in EmitTargetCodeForMemset() 165 DAG.getConstant(Offset, AddrVT)), in EmitTargetCodeForMemset() 167 DAG.getConstant(BytesLeft, SizeVT), in EmitTargetCodeForMemset() 257 DAG.getConstant(Offset, DstVT)), in EmitTargetCodeForMemcpy() 259 DAG.getConstant(Offset, SrcVT)), in EmitTargetCodeForMemcpy() 260 DAG.getConstant(BytesLeft, SizeVT), in EmitTargetCodeForMemcpy()
|