/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | ValueLattice.h | 148 Constant *getConstant() const { in getConstant() function 165 if (isConstant() && isa<ConstantInt>(getConstant())) { in asConstantInteger() 166 return cast<ConstantInt>(getConstant())->getValue(); in asConstantInteger() 193 assert((!isConstant() || getConstant() == V) && in markConstant() 209 assert((!isConstant() || getConstant() != V) && in markNotConstant() 254 if (RHS.isConstant() && getConstant() == RHS.getConstant()) in mergeIn() 285 assert(isConstant() && isa<ConstantInt>(getConstant()) && in getConstantInt() 287 return cast<ConstantInt>(getConstant()); in getConstantInt() 299 return ConstantExpr::getCompare(Pred, getConstant(), Other.getConstant()); in getCompare()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZSelectionDAGInfo.cpp | 42 DAG.getConstant(Size, DL, PtrVT), in emitMemMem() 43 DAG.getConstant(Size / 256, DL, PtrVT)); in emitMemMem() 45 DAG.getConstant(Size, DL, PtrVT)); in emitMemMem() 71 Chain, DL, DAG.getConstant(StoreVal, DL, MVT::getIntegerVT(Size * 8)), in memsetStore() 104 DAG.getConstant(Size1, DL, PtrVT)); in EmitTargetCodeForMemset() 117 DAG.getConstant(1, DL, PtrVT)); in EmitTargetCodeForMemset() 136 DAG.getConstant(1, DL, PtrVT)); in EmitTargetCodeForMemset() 159 DAG.getConstant(Size, DL, PtrVT), in emitCLC() 160 DAG.getConstant(Size / 256, DL, PtrVT)); in emitCLC() 162 DAG.getConstant(Size, DL, PtrVT)); in emitCLC() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600ISelLowering.cpp | 514 DAG.getConstant(0, DL, MVT::i32), // SWZ_X in LowerOperation() 515 DAG.getConstant(1, DL, MVT::i32), // SWZ_Y in LowerOperation() 516 DAG.getConstant(2, DL, MVT::i32), // SWZ_Z in LowerOperation() 517 DAG.getConstant(3, DL, MVT::i32) // SWZ_W in LowerOperation() 549 DAG.getConstant(TextureOp, DL, MVT::i32), in LowerOperation() 551 DAG.getConstant(0, DL, MVT::i32), in LowerOperation() 552 DAG.getConstant(1, DL, MVT::i32), in LowerOperation() 553 DAG.getConstant(2, DL, MVT::i32), in LowerOperation() 554 DAG.getConstant(3, DL, MVT::i32), in LowerOperation() 558 DAG.getConstant(0, DL, MVT::i32), in LowerOperation() [all …]
|
D | AMDGPUISelLowering.cpp | 1118 auto Ops = {DAG.getConstant(0, SDLoc(), Op.getValueType()), Op.getOperand(0)}; in LowerDYNAMIC_STACKALLOC() 1212 return DAG.getConstant(Offset, SDLoc(Op), Op.getValueType()); in LowerGlobalAddress() 1335 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in split64BitValue() 1336 const SDValue One = DAG.getConstant(1, SL, MVT::i32); in split64BitValue() 1348 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in getLoHalf64() 1356 const SDValue One = DAG.getConstant(1, SL, MVT::i32); in getHiHalf64() 1388 DAG.getConstant(0, DL, IdxTy)); in splitVector() 1391 HiVT, N, DAG.getConstant(LoVT.getVectorNumElements(), DL, IdxTy)); in splitVector() 1443 DAG.getConstant(0, SL, IdxTy)); in SplitVectorLoad() 1447 DAG.getConstant(LoVT.getVectorNumElements(), SL, IdxTy)); in SplitVectorLoad() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 404 NewRHS = DAG.getConstant(0, dl, RetVT); in softenSetCCOperands() 521 SDValue NewC = TLO.DAG.getConstant(Demanded & C, DL, VT); in ShrinkDemandedConstant() 1118 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, dl, VT)); in SimplifyDemandedBits() 1234 TLO.DAG.getConstant(~C->getAPIntValue() & DemandedBits, dl, VT); in SimplifyDemandedBits() 1350 SDValue NewSA = TLO.DAG.getConstant(Diff, dl, Op1.getValueType()); in SimplifyDemandedBits() 1381 TLO.DAG.getConstant(ShAmt, dl, ShTy)); in SimplifyDemandedBits() 1399 SDValue NewSA = TLO.DAG.getConstant(ShAmt - InnerShAmt, dl, in SimplifyDemandedBits() 1456 SDValue NewSA = TLO.DAG.getConstant(Diff, dl, ShiftVT); in SimplifyDemandedBits() 1529 TLO.DAG.getConstant(BitWidth - 1 - Log2, dl, Op1.getValueType()); in SimplifyDemandedBits() 1617 TLO.DAG.getConstant(BitWidth - ExVTBits, dl, ShiftAmtTy); in SimplifyDemandedBits() [all …]
|
D | LegalizeIntegerTypes.cpp | 356 DAG.getConstant(ShiftAmt, dl, ShiftAmtTy)); in PromoteIntRes_BITCAST() 375 DAG.getConstant(0, dl, IdxTy)); in PromoteIntRes_BITCAST() 408 DAG.getConstant(DiffBits, dl, ShiftVT)); in PromoteIntRes_BSWAP() 421 DAG.getConstant(DiffBits, dl, ShiftVT)); in PromoteIntRes_BITREVERSE() 457 DAG.getConstant(NVT.getScalarSizeInBits() - OVT.getScalarSizeInBits(), dl, in PromoteIntRes_CTLZ() 478 Op = DAG.getNode(ISD::OR, dl, NVT, Op, DAG.getConstant(TopBit, dl, NVT)); in PromoteIntRes_CTTZ() 709 SDValue ShiftAmount = DAG.getConstant(SHLAmount, dl, SHVT); in PromoteIntRes_ADDSUBSAT() 727 SDValue SatMax = DAG.getConstant(MaxVal, dl, PromotedType); in PromoteIntRes_ADDSUBSAT() 736 SDValue SatMin = DAG.getConstant(MinVal, dl, PromotedType); in PromoteIntRes_ADDSUBSAT() 737 SDValue SatMax = DAG.getConstant(MaxVal, dl, PromotedType); in PromoteIntRes_ADDSUBSAT() [all …]
|
D | LegalizeDAG.cpp | 303 return DAG.getConstant(LLVMC->getValueAPF().bitcastToAPInt(), dl, in ExpandConstantFP() 444 SDValue Con = DAG.getConstant(CFP->getValueAPF(). in OptimizeFloatStore() 454 SDValue Con = DAG.getConstant(CFP->getValueAPF().bitcastToAPInt(). in OptimizeFloatStore() 465 SDValue Lo = DAG.getConstant(IntVal.trunc(32), dl, MVT::i32); in OptimizeFloatStore() 466 SDValue Hi = DAG.getConstant(IntVal.lshr(32).trunc(32), dl, MVT::i32); in OptimizeFloatStore() 585 DAG.getConstant(RoundWidth, dl, in LegalizeStoreOps() 597 DAG.getConstant(ExtraWidth, dl, in LegalizeStoreOps() 605 DAG.getConstant(IncrementSize, dl, in LegalizeStoreOps() 810 DAG.getConstant(RoundWidth, dl, in LegalizeLoadOps() 839 DAG.getConstant(ExtraWidth, dl, in LegalizeLoadOps() [all …]
|
D | LegalizeVectorOps.cpp | 780 SDValue SrcEltBitMask = DAG.getConstant( in ExpandLoad() 786 SDValue ShAmt = DAG.getConstant( in ExpandLoad() 795 ShAmt = DAG.getConstant( in ExpandLoad() 816 DAG.getConstant(WideBits - SrcEltBits, dl, in ExpandLoad() 1030 DAG.getConstant(APInt::getAllOnesValue(BitTy.getSizeInBits()), DL, in ExpandSELECT() 1032 DAG.getConstant(0, DL, BitTy)); in ExpandSELECT() 1043 SDValue AllOnes = DAG.getConstant( in ExpandSELECT() 1066 SDValue ShiftSz = DAG.getConstant(BW - OrigBW, DL, VT); in ExpandSEXTINREG() 1092 DAG.getConstant(0, DL, TLI.getVectorIdxTy(DAG.getDataLayout()))); in ExpandANY_EXTEND_VECTOR_INREG() 1125 SDValue ShiftAmount = DAG.getConstant(EltWidth - SrcEltWidth, DL, VT); in ExpandSIGN_EXTEND_VECTOR_INREG() [all …]
|
D | DAGCombiner.cpp | 2036 SDValue C1 = IsAdd ? DAG.getConstant(CN->getAPIntValue() + 1, DL, VT) : in foldAddSubBoolOfMaskedVal() 2037 DAG.getConstant(CN->getAPIntValue() - 1, DL, VT); in foldAddSubBoolOfMaskedVal() 2076 return DAG.getNode(ISD::ADD, DL, VT, NewShift, DAG.getConstant(NewC, DL, VT)); in foldAddSubOfSignBit() 2251 return DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), in visitADDLike() 2484 DAG.getConstant(1, DL, VT)); in visitADDLikeCommutative() 2500 DAG.getConstant(0, DL, VT), Carry); in visitADDLikeCommutative() 2543 Cst = DAG.getConstant(1, DL, VT); in flipBoolean() 2616 return CombineTo(N, N0, DAG.getConstant(0, DL, CarryVT)); in visitADDO() 2622 DAG.getConstant(0, DL, CarryVT)); in visitADDO() 2627 DAG.getConstant(0, DL, VT), N0.getOperand(0)); in visitADDO() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 292 SDValue Remaining = DAG.getConstant(Offset - FoldedOffset, DL, MVT::i32); in LowerGlobalAddress() 362 DAG.getConstant(1, dl, MVT::i32)); in LowerBR_JT() 386 DAG.getConstant(LowOffset, DL, MVT::i32)); in lowerLoadWordFromAlignedBasePlusOffset() 388 DAG.getConstant(HighOffset, DL, MVT::i32)); in lowerLoadWordFromAlignedBasePlusOffset() 390 SDValue LowShift = DAG.getConstant((Offset - LowOffset) * 8, DL, MVT::i32); in lowerLoadWordFromAlignedBasePlusOffset() 391 SDValue HighShift = DAG.getConstant((HighOffset - Offset) * 8, DL, MVT::i32); in lowerLoadWordFromAlignedBasePlusOffset() 451 DAG.getConstant(2, DL, MVT::i32)); in LowerLOAD() 457 DAG.getConstant(16, DL, MVT::i32)); in LowerLOAD() 504 DAG.getConstant(16, dl, MVT::i32)); in LowerSTORE() 509 DAG.getConstant(2, dl, MVT::i32)); in LowerSTORE() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 118 Constant *getConstant() const { in getConstant() function in __anoncc5c2ae50111::LatticeVal 135 assert(getConstant() == V && "Marking constant with different value"); in markConstant() 147 if (V == getConstant()) return false; in markConstant() 161 return dyn_cast<ConstantInt>(getConstant()); in getConstantInt() 169 return dyn_cast<BlockAddress>(getConstant()); in getBlockAddress() 183 return ValueLatticeElement::get(getConstant()); in toValueLattice() 475 return markConstant(IV, V, MergeWithV.getConstant()); in mergeInValue() 476 if (IV.getConstant() != MergeWithV.getConstant()) in mergeInValue() 813 OperandVal = IV.getConstant(); in visitPHINode() 823 if (IV.getConstant() != OperandVal) in visitPHINode() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
D | MCValue.cpp | 20 OS << getConstant(); in print() 36 if (getConstant()) in print() 37 OS << " + " << getConstant(); in print()
|
D | MCExpr.cpp | 505 Res = Value.getConstant(); in evaluateAsAbsolute() 623 int64_t LHS_Cst = LHS.getConstant(); in EvaluateSymbolicAdd() 737 if (Res.getConstant() == 0 && (!A || !B)) in evaluateAsRelocatableImpl() 758 Res = MCValue::get(!Value.getConstant()); in evaluateAsRelocatableImpl() 767 -(uint64_t)Value.getConstant()); in evaluateAsRelocatableImpl() 772 Res = MCValue::get(~Value.getConstant()); in evaluateAsRelocatableImpl() 817 -(uint64_t)RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl() 822 RHSValue.getConstant(), Res); in evaluateAsRelocatableImpl() 829 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 2003 DAG.getConstant(0, dl, MVT::i32)); in LowerCallResult() 2017 DAG.getConstant(1, dl, MVT::i32)); in LowerCallResult() 2194 DAG.getConstant(0, dl, MVT::i32)); in LowerCall() 2196 DAG.getConstant(1, dl, MVT::i32)); in LowerCall() 2246 SDValue Const = DAG.getConstant(4*i, dl, MVT::i32); in LowerCall() 2269 SDValue SizeNode = DAG.getConstant(Flags.getByValSize() - 4*offset, dl, in LowerCall() 2271 SDValue AlignNode = DAG.getConstant(Flags.getByValAlign(), dl, in LowerCall() 2401 SDValue PICLabel = DAG.getConstant(ARMPCLabelIndex, dl, MVT::i32); in LowerCall() 2750 DAG.getConstant(LROffset, DL, MVT::i32, false)); in LowerInterruptReturn() 2826 DAG.getConstant(0, dl, MVT::i32)); in LowerReturn() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelLoweringHVX.cpp | 211 IntOps.push_back(DAG.getConstant(IntId, dl, MVT::i32)); in getInt() 299 {ElemIdx, DAG.getConstant(L, dl, MVT::i32)}); in convertToByteIndex() 313 SDValue Mask = DAG.getConstant(32/ElemWidth - 1, dl, MVT::i32); in getIndexInWord32() 485 SDValue S = DAG.getConstant(4, dl, MVT::i32); in buildHvxVectorReg() 496 {HalfV0, DAG.getConstant(HwLen/2, dl, MVT::i32)}); in buildHvxVectorReg() 534 {DAG.getConstant(BlockLen, dl, MVT::i32)}, DAG); in createHvxPrefixPred() 581 SDValue S4 = DAG.getConstant(HwLen-4, dl, MVT::i32); in createHvxPrefixPred() 698 SDValue ScV = DAG.getConstant(Scale, dl, MVT::i32); in extractHvxElementPred() 720 {ByteIdxV, DAG.getConstant(-4, dl, MVT::i32)}); in insertHvxElementReg() 724 {DAG.getConstant(HwLen, dl, MVT::i32), MaskV}); in insertHvxElementReg() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 1046 TLO.DAG.getConstant(NewImm, DL, VT)); in optimizeLogicalImm() 1831 SDValue Condition = DAG.getConstant(Predicate, DL, MVT_CC); in emitConditionalComparison() 1834 SDValue NZCVOp = DAG.getConstant(NZCV, DL, MVT::i32); in emitConditionalComparison() 2093 RHS = DAG.getConstant(C, dl, VT); in getAArch64Cmp() 2103 RHS = DAG.getConstant(C, dl, VT); in getAArch64Cmp() 2114 RHS = DAG.getConstant(C, dl, VT); in getAArch64Cmp() 2125 RHS = DAG.getConstant(C, dl, VT); in getAArch64Cmp() 2182 Cmp = emitComparison(SExt, DAG.getConstant(ValueofRHS, dl, in getAArch64Cmp() 2201 AArch64cc = DAG.getConstant(AArch64CC, dl, MVT_CC); in getAArch64Cmp() 2248 DAG.getConstant(0, DL, MVT::i64)); in getAArch64XALUOOp() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86SelectionDAGInfo.cpp | 144 Chain = DAG.getCopyToReg(Chain, dl, ValReg, DAG.getConstant(Val, dl, AVT), in EmitTargetCodeForMemset() 174 DAG.getConstant(Offset, dl, AddrVT)), in EmitTargetCodeForMemset() 176 DAG.getConstant(BytesLeft, dl, SizeVT), in EmitTargetCodeForMemset() 284 DAG.getNode(ISD::ADD, dl, DstVT, Dst, DAG.getConstant(Offset, dl, DstVT)), in emitConstantSizeRepmov() 285 DAG.getNode(ISD::ADD, dl, SrcVT, Src, DAG.getConstant(Offset, dl, SrcVT)), in emitConstantSizeRepmov() 286 DAG.getConstant(BytesLeft, dl, SizeVT), Align, isVolatile, in emitConstantSizeRepmov()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCExpr.cpp | 66 Res = evaluateAsInt64(Value.getConstant()); in evaluateAsConstant() 107 int64_t Result = evaluateAsInt64(Value.getConstant()); in evaluateAsRelocatableImpl() 153 Res = MCValue::get(Sym, Value.getSymB(), Value.getConstant()); in evaluateAsRelocatableImpl()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/ |
D | LanaiISelLowering.cpp | 640 SDValue SizeNode = DAG.getConstant(Size, DL, MVT::i32); in LowerCCCCallTo() 761 DAG.getConstant(NumBytes, DL, getPointerTy(DAG.getDataLayout()), true), in LowerCCCCallTo() 762 DAG.getConstant(0, DL, getPointerTy(DAG.getDataLayout()), true), InFlag, in LowerCCCCallTo() 816 RHS = DAG.getConstant(0, DL, RHS.getValueType()); in IntCondCCodeToICC() 834 RHS = DAG.getConstant(0, DL, RHS.getValueType()); in IntCondCCodeToICC() 875 SDValue TargetCC = DAG.getConstant(CC, DL, MVT::i32); in LowerBR_CC() 944 Res = DAG.getConstant(0, DL, MVT::i32); in LowerMUL() 947 DAG.getConstant(HighestOne, DL, MVT::i32)); in LowerMUL() 960 DAG.getNode(ISD::SHL, DL, VT, V, DAG.getConstant(I, DL, MVT::i32)); in LowerMUL() 976 SDValue TargetCC = DAG.getConstant(CC, DL, MVT::i32); in LowerSETCC() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BPFSelectionDAGInfo.cpp | 38 DAG.getConstant(CopyLen, dl, MVT::i64), in EmitTargetCodeForMemcpy() 39 DAG.getConstant(Align, dl, MVT::i64)); in EmitTargetCodeForMemcpy()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 661 DAG.getConstant(condCodeToFCC(CC), DL, MVT::i32)); in createFPCmp() 861 DAG.getConstant(Pos, DL, MVT::i32), in performANDCombine() 862 DAG.getConstant(SMSize, DL, MVT::i32)); in performANDCombine() 914 DAG.getConstant(SMPos0, DL, MVT::i32), in performORCombine() 915 DAG.getConstant(SMSize0, DL, MVT::i32), in performORCombine() 944 Const1 = DAG.getConstant(SMPos0, DL, MVT::i32); in performORCombine() 950 ? DAG.getConstant(CN1->getSExtValue() >> SMPos0, DL, ValTy) in performORCombine() 952 DAG.getConstant(SMPos0, DL, MVT::i32), in performORCombine() 953 DAG.getConstant(ValTy.getSizeInBits() / 8 < 8 ? SMSize0 & 31 in performORCombine() 1150 DAG.getConstant(Pos, DL, MVT::i32), in performSHLCombine() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/MCTargetDesc/ |
D | AVRMCExpr.cpp | 64 Result = evaluateAsInt64(Value.getConstant()); in evaluateAsConstant() 81 Result = MCValue::get(evaluateAsInt64(Value.getConstant())); in evaluateAsRelocatableImpl() 92 Result = MCValue::get(Sym, Value.getSymB(), Value.getConstant()); in evaluateAsRelocatableImpl()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCExpr.cpp | 144 Res = MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), in evaluateAsRelocatableImpl() 159 int64_t AbsVal = Res.getConstant(); in evaluateAsRelocatableImpl() 215 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind()); in evaluateAsRelocatableImpl()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.cpp | 1218 DAG.getConstant(IID, DL, MVT::i32), Operand); in getSqrtEstimate() 1244 DAG.getConstant(Intrinsic::nvvm_rcp_approx_ftz_d, DL, MVT::i32), in getSqrtEstimate() 1476 Chain, DAG.getConstant(ArgAlign, dl, MVT::i32), in LowerCall() 1477 DAG.getConstant(paramCount, dl, MVT::i32), in LowerCall() 1478 DAG.getConstant(AllocSize, dl, MVT::i32), InFlag}; in LowerCall() 1491 Chain, DAG.getConstant(paramCount, dl, MVT::i32), in LowerCall() 1492 DAG.getConstant(AllocSize * 8, dl, MVT::i32), in LowerCall() 1493 DAG.getConstant(0, dl, MVT::i32), InFlag}; in LowerCall() 1514 StoreOperands.push_back(DAG.getConstant(paramCount, dl, MVT::i32)); in LowerCall() 1515 StoreOperands.push_back(DAG.getConstant(Offsets[j], dl, MVT::i32)); in LowerCall() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblySelectionDAGInfo.cpp | 30 SDValue MemIdx = DAG.getConstant(0, DL, MVT::i32); in EmitTargetCodeForMemcpy() 54 SDValue MemIdx = DAG.getConstant(0, DL, MVT::i32); in EmitTargetCodeForMemset()
|