/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineInternal.h | 537 const Instruction &CxtI) const { in willNotOverflowSignedAdd() argument 538 return computeOverflowForSignedAdd(LHS, RHS, &CxtI) == in willNotOverflowSignedAdd() 543 const Instruction &CxtI) const { in willNotOverflowUnsignedAdd() argument 544 return computeOverflowForUnsignedAdd(LHS, RHS, &CxtI) == in willNotOverflowUnsignedAdd() 549 const Instruction &CxtI, bool IsSigned) const { in willNotOverflowAdd() argument 550 return IsSigned ? willNotOverflowSignedAdd(LHS, RHS, CxtI) in willNotOverflowAdd() 551 : willNotOverflowUnsignedAdd(LHS, RHS, CxtI); in willNotOverflowAdd() 555 const Instruction &CxtI) const { in willNotOverflowSignedSub() argument 556 return computeOverflowForSignedSub(LHS, RHS, &CxtI) == in willNotOverflowSignedSub() 561 const Instruction &CxtI) const { in willNotOverflowUnsignedSub() argument [all …]
|
D | InstCombineSimplifyDemanded.cpp | 120 Instruction *CxtI) { in SimplifyDemandedUseBits() argument 131 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits() 144 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits() 152 return SimplifyMultipleUseDemandedBits(I, DemandedMask, Known, Depth, CxtI); in SimplifyDemandedUseBits() 165 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits() 585 unsigned SignBits = ComputeNumSignBits(I->getOperand(0), Depth + 1, CxtI); in SimplifyDemandedUseBits() 668 computeKnownBits(I->getOperand(0), LHSKnown, Depth + 1, CxtI); in SimplifyDemandedUseBits() 778 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits() 796 Instruction *CxtI) { in SimplifyMultipleUseDemandedBits() argument 810 computeKnownBits(I->getOperand(1), RHSKnown, Depth + 1, CxtI); in SimplifyMultipleUseDemandedBits() [all …]
|
D | InstCombineCasts.cpp | 343 Instruction *CxtI) { in canEvaluateTruncated() argument 359 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI) && in canEvaluateTruncated() 360 canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in canEvaluateTruncated() 369 if (IC.MaskedValueIsZero(I->getOperand(0), Mask, 0, CxtI) && in canEvaluateTruncated() 370 IC.MaskedValueIsZero(I->getOperand(1), Mask, 0, CxtI)) { in canEvaluateTruncated() 371 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI) && in canEvaluateTruncated() 372 canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in canEvaluateTruncated() 383 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI); in canEvaluateTruncated() 397 APInt::getBitsSetFrom(OrigBitWidth, BitWidth), 0, CxtI)) { in canEvaluateTruncated() 398 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI); in canEvaluateTruncated() [all …]
|
D | InstCombineAndOrXor.cpp | 862 Instruction &CxtI) { in foldAndOrOfICmpsOfAndWithPow2() argument 886 isKnownToBeAPowerOfTwo(B, false, 0, &CxtI) && in foldAndOrOfICmpsOfAndWithPow2() 887 isKnownToBeAPowerOfTwo(D, false, 0, &CxtI)) { in foldAndOrOfICmpsOfAndWithPow2() 929 Instruction &CxtI, in foldSignedTruncationCheck() argument 931 assert(CxtI.getOpcode() == Instruction::And); in foldSignedTruncationCheck() 1019 CxtI.getName() + ".simplified"); in foldSignedTruncationCheck() 1065 return isKnownNonZero(V, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT); in foldUnsignedUnderflowCheck() 1146 Instruction &CxtI) { in foldAndOfICmps() argument 1147 const SimplifyQuery Q = SQ.getWithInstruction(&CxtI); in foldAndOfICmps() 1151 if (Value *V = foldAndOrOfICmpsOfAndWithPow2(LHS, RHS, true, CxtI)) in foldAndOfICmps() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | ValueTracking.h | 57 const Instruction *CxtI = nullptr, 65 const Instruction *CxtI = nullptr, 80 const Instruction *CxtI = nullptr, 92 const Instruction *CxtI = nullptr, 96 bool isOnlyUsedInZeroEqualityComparison(const Instruction *CxtI); 106 const Instruction *CxtI = nullptr, 120 const Instruction *CxtI = nullptr, 128 const Instruction *CxtI = nullptr, 136 const Instruction *CxtI = nullptr, 144 const Instruction *CxtI = nullptr, [all …]
|
D | LazyValueInfo.h | 73 Instruction *CxtI = nullptr); 79 Instruction *CxtI); 83 Constant *getConstant(Value *V, BasicBlock *BB, Instruction *CxtI = nullptr); 88 ConstantRange getConstantRange(Value *V, BasicBlock *BB, Instruction *CxtI = nullptr); 93 Instruction *CxtI = nullptr); 100 Instruction *CxtI = nullptr);
|
D | InstructionSimplify.h | 95 const Instruction *CxtI = nullptr; member 103 : DL(DL), CxtI(CXTI) {} in DL() 109 : DL(DL), TLI(TLI), DT(DT), AC(AC), CxtI(CXTI), IIQ(UseInstrInfo) {} in DL() 112 Copy.CxtI = I; in getWithInstruction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 105 const Instruction *CxtI; member 127 Query(const DataLayout &DL, AssumptionCache *AC, const Instruction *CxtI, in Query() 130 : DL(DL), AC(AC), CxtI(CxtI), DT(DT), ORE(ORE), IIQ(UseInstrInfo) {} in Query() 133 : DL(Q.DL), AC(Q.AC), CxtI(Q.CxtI), DT(Q.DT), ORE(Q.ORE), IIQ(Q.IIQ), in Query() 152 static const Instruction *safeCxtI(const Value *V, const Instruction *CxtI) { in safeCxtI() argument 155 if (CxtI && CxtI->getParent()) in safeCxtI() 156 return CxtI; in safeCxtI() 159 CxtI = dyn_cast<Instruction>(V); in safeCxtI() 160 if (CxtI && CxtI->getParent()) in safeCxtI() 161 return CxtI; in safeCxtI() [all …]
|
D | LazyValueInfo.cpp | 412 ValueLatticeElement &Result, Instruction *CxtI = nullptr); 455 Instruction *CxtI = nullptr); 460 ValueLatticeElement getValueAt(Value *V, Instruction *CxtI); 466 Instruction *CxtI = nullptr); 1510 Instruction *CxtI) { in getEdgeValue() argument 1549 intersectAssumeOrGuardBlockValueConstantRange(Val, InBlock, CxtI); in getEdgeValue() 1556 Instruction *CxtI) { in getValueInBlock() argument 1566 intersectAssumeOrGuardBlockValueConstantRange(V, Result, CxtI); in getValueInBlock() 1572 ValueLatticeElement LazyValueInfoImpl::getValueAt(Value *V, Instruction *CxtI) { in getValueAt() argument 1573 LLVM_DEBUG(dbgs() << "LVI Getting value " << *V << " at '" << CxtI->getName() in getValueAt() [all …]
|
D | InstructionSimplify.cpp | 761 KnownBits Known = computeKnownBits(Op1, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifySubInst() 1271 KnownBits Known = computeKnownBits(Op1, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyShift() 1303 KnownBits Op0Known = computeKnownBits(Op0, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT); in SimplifyRightShift() 1366 const KnownBits YKnown = computeKnownBits(Y, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyLShrInst() 1400 unsigned NumSignBits = ComputeNumSignBits(Op0, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyAShrInst() 1469 isKnownNonZero(B, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) in simplifyUnsignedRangeCheck() 1473 isKnownNonZero(B, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) in simplifyUnsignedRangeCheck() 1496 isKnownNonZero(X, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) in simplifyUnsignedRangeCheck() 1507 isKnownNonZero(X, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT)) in simplifyUnsignedRangeCheck() 2007 if (isKnownToBeAPowerOfTwo(Op0, Q.DL, /*OrZero*/ true, 0, Q.AC, Q.CxtI, in SimplifyAndInst() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/ |
D | JumpThreading.h | 131 Instruction *CxtI = nullptr); 136 Instruction *CxtI = nullptr) { 139 RecursionSet, CxtI); 144 Instruction *CxtI = nullptr);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 597 Instruction *CxtI) { in ComputeValueKnownInPredecessorsImpl() argument 638 Constant *PredCst = LVI->getConstantOnEdge(V, P, BB, CxtI); in ComputeValueKnownInPredecessorsImpl() 659 BB, CxtI); in ComputeValueKnownInPredecessorsImpl() 675 RecursionSet, CxtI); in ComputeValueKnownInPredecessorsImpl() 696 WantInteger, RecursionSet, CxtI); in ComputeValueKnownInPredecessorsImpl() 698 WantInteger, RecursionSet, CxtI); in ComputeValueKnownInPredecessorsImpl() 734 WantInteger, RecursionSet, CxtI); in ComputeValueKnownInPredecessorsImpl() 752 WantInteger, RecursionSet, CxtI); in ComputeValueKnownInPredecessorsImpl() 809 CxtI ? CxtI : Cmp); in ComputeValueKnownInPredecessorsImpl() 838 CmpConst, P, BB, CxtI ? CxtI : Cmp); in ComputeValueKnownInPredecessorsImpl() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 262 const Instruction *CxtI = nullptr, 268 const Instruction *CxtI = nullptr, 271 return getOrEnforceKnownAlignment(V, 0, DL, CxtI, AC, DT);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyTargetTransformInfo.h | 65 const Instruction *CxtI = nullptr);
|
D | WebAssemblyTargetTransformInfo.cpp | 50 const Instruction *CxtI) { in getArithmeticInstrCost() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetTransformInfo.h | 95 const Instruction *CxtI = nullptr);
|
D | NVPTXTargetTransformInfo.cpp | 118 const Instruction *CxtI) { in getArithmeticInstrCost() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/ |
D | LanaiTargetTransformInfo.h | 85 const Instruction *CxtI = nullptr) {
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonTargetTransformInfo.cpp | 243 const Instruction *CxtI) { in getArithmeticInstrCost() argument 250 Opd1PropInfo, Opd2PropInfo, Args, CxtI); in getArithmeticInstrCost()
|
D | HexagonTargetTransformInfo.h | 137 const Instruction *CxtI = nullptr);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.h | 79 const Instruction *CxtI = nullptr);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.h | 95 const Instruction *CxtI = nullptr);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.h | 129 const Instruction *CxtI = nullptr);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 675 const Instruction *CxtI) { in getArithmeticInstrCost() argument 749 if (!CxtI || !CxtI->hasOneUse() || !CxtI->isShift()) in getArithmeticInstrCost() 755 switch (cast<Instruction>(CxtI->user_back())->getOpcode()) { in getArithmeticInstrCost()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.h | 129 const Instruction *CxtI = nullptr);
|