/external/llvm/unittests/Analysis/ |
D | ScalarEvolutionTest.cpp | 168 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[1], B[1])); in TEST_F() 170 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[2], B[1])); in TEST_F() 171 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[1], B[2])); in TEST_F() 177 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[2], B[1])); in TEST_F() 178 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[1], B[2])); in TEST_F() 180 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[3], B[1])); in TEST_F() 181 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 6), A[2], B[2])); in TEST_F() 182 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[1], B[3])); in TEST_F() 183 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[3], B[2])); in TEST_F() 184 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 | 43 DAG.getConstant(Size, DL, PtrVT), in emitMemMem() 44 DAG.getConstant(Size / 256, DL, PtrVT)); in emitMemMem() 46 DAG.getConstant(Size, DL, PtrVT)); in emitMemMem() 75 DAG.getConstant(StoreVal, DL, in memsetStore() 110 DAG.getConstant(Size1, DL, PtrVT)); in EmitTargetCodeForMemset() 124 DAG.getConstant(1, DL, PtrVT)); in EmitTargetCodeForMemset() 144 DAG.getConstant(1, DL, PtrVT)); in EmitTargetCodeForMemset() 167 DAG.getConstant(Size, DL, PtrVT), in emitCLC() 168 DAG.getConstant(Size / 256, DL, PtrVT)); in emitCLC() 170 DAG.getConstant(Size, DL, PtrVT)); in emitCLC() [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 …]
|
D | AMDILISelLowering.cpp | 390 DAG.getConstant(7, MVT::i32)); in LowerBUILD_VECTOR() 401 DAG.getConstant(6, MVT::i32)); in LowerBUILD_VECTOR() 412 DAG.getConstant(5, MVT::i32)); in LowerBUILD_VECTOR() 438 SDValue Shift = DAG.getConstant(shiftBits, DVT); in LowerSIGN_EXTEND_INREG() 512 jq = DAG.getNode(ISD::SRA, DL, OVT, jq, DAG.getConstant(bitsize - 2, OVT)); in LowerSDIV24() 515 jq = DAG.getNode(ISD::OR, DL, OVT, jq, DAG.getConstant(1, OVT)); in LowerSDIV24() 562 DAG.getConstant(0, OVT)); in LowerSDIV24() 598 r0, DAG.getConstant(0, OVT), in LowerSDIV32() 599 DAG.getConstant(-1, MVT::i32), in LowerSDIV32() 600 DAG.getConstant(0, MVT::i32), in LowerSDIV32() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 214 NewRHS = DAG.getConstant(0, dl, RetVT); in softenSetCCOperands() 318 DAG.getConstant(Demanded & in ShrinkDemandedConstant() 465 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, dl, Op.getValueType())); in SimplifyDemandedBits() 553 SDValue ANDC = TLO.DAG.getConstant(~KnownOne & NewMask, dl, VT); in SimplifyDemandedBits() 569 TLO.DAG.getConstant(Expanded, dl, VT)); in SimplifyDemandedBits() 642 TLO.DAG.getConstant(Diff, dl, Op.getOperand(1).getValueType()); in SimplifyDemandedBits() 666 TLO.DAG.getConstant(ShAmt, dl, ShTy)); in SimplifyDemandedBits() 688 TLO.DAG.getConstant(ShAmt - InnerShAmt, dl, in SimplifyDemandedBits() 738 TLO.DAG.getConstant(Diff, dl, Op.getOperand(1).getValueType()); in SimplifyDemandedBits() 811 TLO.DAG.getConstant(BitWidth - 1 - Log2, dl, in SimplifyDemandedBits() [all …]
|
D | LegalizeDAG.cpp | 261 return DAG.getConstant(LLVMC->getValueAPF().bitcastToAPInt(), dl, in ExpandConstantFP() 357 SDValue Increment = DAG.getConstant( in ExpandUnalignedStore() 413 DAG.getConstant(NumBits, dl, TLI.getShiftAmountTy(Val.getValueType(), in ExpandUnalignedStore() 426 DAG.getConstant(IncrementSize, dl, in ExpandUnalignedStore() 479 DAG.getConstant(RegBytes, dl, TLI.getPointerTy(DAG.getDataLayout())); in ExpandUnalignedLoad() 559 DAG.getConstant(IncrementSize, dl, Ptr.getValueType())); in ExpandUnalignedLoad() 571 DAG.getConstant(IncrementSize, dl, Ptr.getValueType())); in ExpandUnalignedLoad() 581 DAG.getConstant(NumBits, dl, TLI.getShiftAmountTy(Hi.getValueType(), in ExpandUnalignedLoad() 629 DAG.getConstant(EltSize, dl, IdxVT)); in PerformInsertVectorEltInMemory() 686 SDValue Con = DAG.getConstant(CFP->getValueAPF(). in OptimizeFloatStore() [all …]
|
D | LegalizeIntegerTypes.cpp | 316 DAG.getConstant(DiffBits, dl, in PromoteIntRes_BSWAP() 329 DAG.getConstant(DiffBits, dl, in PromoteIntRes_BITREVERSE() 378 DAG.getConstant(NVT.getScalarSizeInBits() - OVT.getScalarSizeInBits(), dl, in PromoteIntRes_CTLZ() 399 Op = DAG.getNode(ISD::OR, dl, NVT, Op, DAG.getConstant(TopBit, dl, NVT)); in PromoteIntRes_CTTZ() 787 DAG.getConstant(0, DL, Hi.getValueType()), in PromoteIntRes_XMULO() 839 DAG.getConstant(i * RegVT.getSizeInBits(), dl, in PromoteIntRes_VAARG() 1037 DAG.getConstant(OVT.getSizeInBits(), dl, in PromoteIntOp_BUILD_PAIR() 1434 Lo = Hi = DAG.getConstant(0, DL, NVT); in ExpandShiftByConstant() 1436 Lo = DAG.getConstant(0, DL, NVT); in ExpandShiftByConstant() 1438 NVT, InL, DAG.getConstant(Amt - NVTBits, DL, ShTy)); in ExpandShiftByConstant() [all …]
|
D | LegalizeVectorOps.cpp | 556 DAG.getConstant(LoadBytes, dl, in ExpandLoad() 565 SDValue SrcEltBitMask = DAG.getConstant((1U << SrcEltBits) - 1, dl, WideVT); in ExpandLoad() 575 ShAmt = DAG.getConstant( in ExpandLoad() 586 ShAmt = DAG.getConstant( in ExpandLoad() 607 DAG.getConstant(WideBits - SrcEltBits, dl, in ExpandLoad() 628 DAG.getConstant(Stride, dl, BasePTR.getValueType())); in ExpandLoad() 680 DAG.getConstant(Idx, dl, TLI.getVectorIdxTy(DAG.getDataLayout()))); in ExpandStore() 689 DAG.getConstant(Stride, dl, BasePTR.getValueType())); in ExpandStore() 761 DAG.getConstant(APInt::getAllOnesValue(BitTy.getSizeInBits()), DL, in ExpandSELECT() 763 DAG.getConstant(0, DL, BitTy)); in ExpandSELECT() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 94 Constant *getConstant() const { in getConstant() function in __anonedcd709f0111::LatticeVal 111 assert(getConstant() == V && "Marking constant with different value"); in markConstant() 123 if (V == getConstant()) return false; in markConstant() 137 return dyn_cast<ConstantInt>(getConstant()); in getConstantInt() 356 markConstant(IV, V, MergeWithV.getConstant()); in mergeInValue() 357 else if (IV.getConstant() != MergeWithV.getConstant()) in mergeInValue() 694 OperandVal = IV.getConstant(); in visitPHINode() 704 if (IV.getConstant() != OperandVal) in visitPHINode() 762 OpSt.getConstant(), I.getType())); in visitCastInst() 844 TVal.getConstant() == FVal.getConstant()) in visitSelectInst() [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/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 | 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 | 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 | 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/AMDGPU/ |
D | R600ISelLowering.cpp | 631 DAG.getConstant(0, DL, MVT::i32), // SWZ_X in LowerOperation() 632 DAG.getConstant(1, DL, MVT::i32), // SWZ_Y in LowerOperation() 633 DAG.getConstant(2, DL, MVT::i32), // SWZ_Z in LowerOperation() 634 DAG.getConstant(3, DL, MVT::i32) // SWZ_W in LowerOperation() 765 DAG.getConstant(TextureOp, DL, MVT::i32), in LowerOperation() 767 DAG.getConstant(0, DL, MVT::i32), in LowerOperation() 768 DAG.getConstant(1, DL, MVT::i32), in LowerOperation() 769 DAG.getConstant(2, DL, MVT::i32), in LowerOperation() 770 DAG.getConstant(3, DL, MVT::i32), in LowerOperation() 774 DAG.getConstant(0, DL, MVT::i32), in LowerOperation() [all …]
|
D | AMDGPUISelLowering.cpp | 698 return DAG.getStore(Chain, DL, DAG.getConstant(*CI, DL, VT), InitPtr, in LowerConstantInitializer() 718 SDValue Offset = DAG.getConstant(SL->getElementOffset(I), DL, PtrVT); in LowerConstantInitializer() 742 SDValue Offset = DAG.getConstant(i * EltSize, DL, PtrVT); in LowerConstantInitializer() 804 return DAG.getConstant(Offset, SDLoc(Op), in LowerGlobalAddress() 889 return DAG.getConstant(Offset * 4 * TFL->getStackWidth(MF), SDLoc(Op), in LowerFrameIndex() 1060 SDValue Neg = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), in LowerIntrinsicIABS() 1183 DAG.getConstant(i * MemEltSize, SL, PtrVT)); in ScalarizeVectorLoad() 1240 DAG.getConstant(Size, SL, PtrVT)); in SplitVectorLoad() 1280 SDValue Mask = DAG.getConstant((1 << MemEltBits) - 1, DL, MVT::i32); in MergeVectorStore() 1287 DAG.getConstant(i, DL, MVT::i32)); in MergeVectorStore() [all …]
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 298 SDValue Remaining = DAG.getConstant(Offset - FoldedOffset, DL, MVT::i32); in LowerGlobalAddress() 369 DAG.getConstant(1, dl, MVT::i32)); in LowerBR_JT() 395 DAG.getConstant(LowOffset, DL, MVT::i32)); in lowerLoadWordFromAlignedBasePlusOffset() 397 DAG.getConstant(HighOffset, DL, MVT::i32)); in lowerLoadWordFromAlignedBasePlusOffset() 399 SDValue LowShift = DAG.getConstant((Offset - LowOffset) * 8, DL, MVT::i32); in lowerLoadWordFromAlignedBasePlusOffset() 400 SDValue HighShift = DAG.getConstant((HighOffset - Offset) * 8, DL, MVT::i32); in lowerLoadWordFromAlignedBasePlusOffset() 470 DAG.getConstant(2, DL, MVT::i32)); in LowerLOAD() 477 DAG.getConstant(16, DL, MVT::i32)); in LowerLOAD() 531 DAG.getConstant(16, dl, MVT::i32)); in LowerSTORE() 537 DAG.getConstant(2, dl, MVT::i32)); in LowerSTORE() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 1277 SDValue NZCVOp = DAG.getConstant(NZCV, DL, MVT::i32); in emitConditionalComparison() 1356 SDValue ConditionOp = DAG.getConstant(Predicate, DL, MVT_CC); in emitConjunctionDisjunctionTree() 1372 SDValue ConditionOp = DAG.getConstant(Predicate, DL, MVT_CC); in emitConjunctionDisjunctionTree() 1453 RHS = DAG.getConstant(C, dl, VT); in getAArch64Cmp() 1463 RHS = DAG.getConstant(C, dl, VT); in getAArch64Cmp() 1474 RHS = DAG.getConstant(C, dl, VT); in getAArch64Cmp() 1485 RHS = DAG.getConstant(C, dl, VT); in getAArch64Cmp() 1521 Cmp = emitComparison(SExt, DAG.getConstant(ValueofRHS, dl, in getAArch64Cmp() 1540 AArch64cc = DAG.getConstant(AArch64CC, dl, MVT_CC); in getAArch64Cmp() 1587 DAG.getConstant(0, DL, MVT::i64)); in getAArch64XALUOOp() [all …]
|
/external/proguard/src/proguard/optimize/peephole/ |
D | InstructionSequenceReplacer.java | 384 …((IntegerConstant)(programClass.getConstant(instructionSequenceMatcher.matchedConstantIndex(argume… in argumentAsString() 389 …((IntegerConstant)(programClass.getConstant(instructionSequenceMatcher.matchedConstantIndex(argume… in argumentAsString() 394 …((IntegerConstant)(programClass.getConstant(instructionSequenceMatcher.matchedConstantIndex(argume… in argumentAsString() 399 …((LongConstant)(programClass.getConstant(instructionSequenceMatcher.matchedConstantIndex(argument)… in argumentAsString() 404 …((FloatConstant)(programClass.getConstant(instructionSequenceMatcher.matchedConstantIndex(argument… in argumentAsString() 409 …((DoubleConstant)(programClass.getConstant(instructionSequenceMatcher.matchedConstantIndex(argumen… in argumentAsString()
|
/external/llvm/lib/Target/X86/ |
D | X86SelectionDAGInfo.cpp | 144 Chain = DAG.getCopyToReg(Chain, dl, ValReg, DAG.getConstant(Val, dl, AVT), in EmitTargetCodeForMemset() 170 DAG.getConstant((AVT == MVT::i64) ? 7 : 3, dl, in EmitTargetCodeForMemset() 186 DAG.getConstant(Offset, dl, AddrVT)), in EmitTargetCodeForMemset() 188 DAG.getConstant(BytesLeft, dl, SizeVT), in EmitTargetCodeForMemset() 272 DAG.getConstant(Offset, dl, in EmitTargetCodeForMemcpy() 275 DAG.getConstant(Offset, dl, in EmitTargetCodeForMemcpy() 277 DAG.getConstant(BytesLeft, dl, SizeVT), in EmitTargetCodeForMemcpy()
|