| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 470 const Instruction *CxtI) const { in computeKnownBits() argument 471 llvm::computeKnownBits(V, Known, Depth, SQ.getWithInstruction(CxtI)); in computeKnownBits() 475 const Instruction *CxtI) const { in computeKnownBits() argument 476 return llvm::computeKnownBits(V, Depth, SQ.getWithInstruction(CxtI)); in computeKnownBits() 481 const Instruction *CxtI = nullptr) { 486 const Instruction *CxtI = nullptr) const { 491 const Instruction *CxtI = nullptr) const { 492 return llvm::ComputeNumSignBits(Op, DL, Depth, &AC, CxtI, &DT); 497 return llvm::ComputeMaxSignificantBits(Op, DL, Depth, &AC, CxtI, &DT); 516 const Instruction *CxtI) const { in computeOverflowForUnsignedAdd() argument [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineInternal.h | 309 const Instruction &CxtI) const { in willNotOverflowSignedAdd() argument 310 return computeOverflowForSignedAdd(LHS, RHS, &CxtI) == in willNotOverflowSignedAdd() 317 return computeOverflowForUnsignedAdd(LHS, RHS, &CxtI) == in willNotOverflowUnsignedAdd() 323 return IsSigned ? willNotOverflowSignedAdd(LHS, RHS, CxtI) in willNotOverflowAdd() 329 return computeOverflowForSignedSub(LHS, RHS, &CxtI) == in willNotOverflowSignedSub() 335 return computeOverflowForUnsignedSub(LHS, RHS, &CxtI) == in willNotOverflowUnsignedSub() 341 return IsSigned ? willNotOverflowSignedSub(LHS, RHS, CxtI) in willNotOverflowSub() 347 return computeOverflowForSignedMul(LHS, RHS, &CxtI) == in willNotOverflowSignedMul() 353 return computeOverflowForUnsignedMul(LHS, RHS, &CxtI) == in willNotOverflowUnsignedMul() 359 return IsSigned ? willNotOverflowSignedMul(LHS, RHS, CxtI) in willNotOverflowMul() [all …]
|
| H A D | InstCombineSimplifyDemanded.cpp | 140 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits() 153 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits() 204 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits() 630 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits() 694 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits() 745 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits() 810 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits() 872 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits() 1090 Instruction *CxtI) { in SimplifyMultipleUseDemandedBits() argument 1205 computeKnownBits(I, Known, Depth, CxtI); in SimplifyMultipleUseDemandedBits() [all …]
|
| H A D | InstCombineCasts.cpp | 262 Instruction *CxtI) { in canEvaluateTruncated() argument 278 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI) && in canEvaluateTruncated() 279 canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in canEvaluateTruncated() 288 if (IC.MaskedValueIsZero(I->getOperand(0), Mask, 0, CxtI) && in canEvaluateTruncated() 289 IC.MaskedValueIsZero(I->getOperand(1), Mask, 0, CxtI)) { in canEvaluateTruncated() 291 canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in canEvaluateTruncated() 303 canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in canEvaluateTruncated() 360 if (!canEvaluateTruncated(IncValue, Ty, IC, CxtI)) in canEvaluateTruncated() 378 canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in canEvaluateTruncated() 1013 !canEvaluateZExtd(I->getOperand(1), Ty, Tmp, IC, CxtI)) in canEvaluateZExtd() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | LazyValueInfo.h | 70 Instruction *CxtI = nullptr); 77 Instruction *CxtI, bool UseBlockValue); 85 Instruction *CxtI, bool UseBlockValue); 89 Constant *getConstant(Value *V, Instruction *CxtI); 94 ConstantRange getConstantRange(Value *V, Instruction *CxtI, 104 Instruction *CxtI = nullptr); 111 Instruction *CxtI = nullptr);
|
| H A D | SimplifyQuery.h | 65 const Instruction *CxtI = nullptr; member 79 : DL(DL), CxtI(CXTI) {} in DL() 86 : DL(DL), TLI(TLI), DT(DT), AC(AC), CxtI(CXTI), DC(DC), IIQ(UseInstrInfo), in DL() 93 : DL(DL), DT(DT), AC(AC), CxtI(CXTI), IIQ(UseInstrInfo), in DL() 98 Copy.CxtI = I; in getWithInstruction()
|
| H A D | ValueTracking.h | 59 const Instruction *CxtI = nullptr, 66 const Instruction *CxtI = nullptr, 74 const Instruction *CxtI = nullptr, 115 const Instruction *CxtI = nullptr, 119 bool isOnlyUsedInZeroEqualityComparison(const Instruction *CxtI); 129 const Instruction *CxtI = nullptr, 157 const Instruction *CxtI = nullptr, 182 const Instruction *CxtI = nullptr, 192 const Instruction *CxtI = nullptr, 448 const Instruction *CxtI = nullptr, const DominatorTree *DT = nullptr, [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LazyValueInfo.cpp | 1115 getBlockValue(RHS, CxtI->getParent(), CxtI); in getValueFromSimpleICmpCondition() 1556 Instruction *CxtI) { in getValueOnEdge() argument 1578 ValueLatticeElement VL = getValueInBlock(V, CxtI->getParent(), CxtI); in getValueAtUse() 1719 BasicBlock *BB = CxtI->getParent(); in getConstant() 1736 BasicBlock *BB = CxtI->getParent(); in getConstantRange() 1863 Module *M = CxtI->getModule(); in getPredicateAt() 1875 UseBlockValue ? Impl.getValueInBlock(V, CxtI->getParent(), CxtI) in getPredicateAt() 1903 BasicBlock *BB = CxtI->getParent(); in getPredicateAt() 1978 Module *M = CxtI->getModule(); in getPredicateAt() 1980 getOrCreateImpl(M).getValueInBlock(LHS, CxtI->getParent(), CxtI); in getPredicateAt() [all …]
|
| H A D | ValueTracking.cpp | 105 if (CxtI && CxtI->getParent()) in safeCxtI() 106 return CxtI; in safeCxtI() 110 if (CxtI && CxtI->getParent()) in safeCxtI() 111 return CxtI; in safeCxtI() 119 if (CxtI && CxtI->getParent()) in safeCxtI() 120 return CxtI; in safeCxtI() 124 if (CxtI && CxtI->getParent()) in safeCxtI() 125 return CxtI; in safeCxtI() 128 if (CxtI && CxtI->getParent()) in safeCxtI() 129 return CxtI; in safeCxtI() [all …]
|
| H A D | InstructionSimplify.cpp | 619 if (Q.CxtI != nullptr) in foldOrCommuteConstant() 2048 Q.CxtI) && in simplifyAndCommutative() 2720 const Instruction *CxtI = Q.CxtI; in computePointerICmp() local 3006 isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT)) in simplifyICmpWithZero() 3023 isKnownNonZero(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT)) in simplifyICmpWithZero() 3686 if (!Q.AC || !Q.CxtI) in simplifyICmpWithDominatingAssume() 4070 Q.CxtI); in simplifyFCmpInst() 4130 if (C && Q.CxtI) { in simplifyFCmpInst() 4136 const Function *ParentF = Q.CxtI->getFunction(); in simplifyFCmpInst() 4749 Q.CxtI && isa<FPMathOperator>(Q.CxtI) && Q.CxtI->hasNoSignedZeros(); in simplifySelectWithFCmp() [all …]
|
| H A D | BasicAliasAnalysis.cpp | 479 const Instruction *CxtI; member 555 const Instruction *CxtI = dyn_cast<Instruction>(V); in DecomposeGEPExpression() local 696 VariableGEPIndex Entry = {LE.Val, Scale, CxtI, LE.IsNSW, in DecomposeGEPExpression() 1187 true, &AC, Index.CxtI); in aliasGEP() 1189 computeKnownBits(Index.Val.V, DL, 0, &AC, Index.CxtI, DT); in aliasGEP() 1238 isKnownNonZero(Var.Val.V, DL, 0, &AC, Var.CxtI, DT)) { in aliasGEP() 1779 VariableGEPIndex Entry = {Src.Val, Src.Scale, Src.CxtI, Src.IsNSW, in subtractDecomposedGEPs()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| H A D | JumpThreading.h | 133 DenseSet<Value *> &RecursionSet, Instruction *CxtI = nullptr); 138 Instruction *CxtI = nullptr) { 141 RecursionSet, CxtI); 151 Instruction *CxtI = nullptr);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | JumpThreading.cpp | 562 Instruction *CxtI) { in computeValueKnownInPredecessorsImpl() argument 620 BB, CxtI); in computeValueKnownInPredecessorsImpl() 634 RecursionSet, CxtI); in computeValueKnownInPredecessorsImpl() 650 RecursionSet, CxtI); in computeValueKnownInPredecessorsImpl() 672 RecursionSet, CxtI); in computeValueKnownInPredecessorsImpl() 786 CxtI ? CxtI : Cmp); in computeValueKnownInPredecessorsImpl() 811 CmpConst, P, BB, CxtI ? CxtI : Cmp); in computeValueKnownInPredecessorsImpl() 839 AddLHS, P, BB, CxtI ? CxtI : cast<Instruction>(CmpLHS)); in computeValueKnownInPredecessorsImpl() 915 assert(CxtI->getParent() == BB && "CxtI should be in BB"); in computeValueKnownInPredecessorsImpl() 916 Constant *CI = LVI->getConstant(V, CxtI); in computeValueKnownInPredecessorsImpl() [all …]
|
| H A D | CorrelatedValuePropagation.cpp | 215 Instruction *CxtI) { in getValueOnEdge() argument 216 if (Constant *C = LVI->getConstantOnEdge(Incoming, From, To, CxtI)) in getValueOnEdge() 231 if (Constant *C = LVI->getConstantOnEdge(Condition, From, To, CxtI)) { in getValueOnEdge() 246 if (LVI->getPredicateOnEdge(ICmpInst::ICMP_EQ, SI, C, From, To, CxtI) == in getValueOnEdge() 253 if (LVI->getPredicateOnEdge(ICmpInst::ICMP_EQ, SI, C, From, To, CxtI) == in getValueOnEdge()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | Local.h | 236 const Instruction *CxtI = nullptr, 242 const Instruction *CxtI = nullptr, 245 return getOrEnforceKnownAlignment(V, MaybeAlign(), DL, CxtI, AC, DT);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.cpp | 533 const Instruction *CxtI) { in getArithmeticInstrCost() argument 589 if (CxtI && CxtI->hasOneUse()) in getArithmeticInstrCost() 590 if (const auto *FAdd = dyn_cast<BinaryOperator>(*CxtI->user_begin())) { in getArithmeticInstrCost() 602 (FAdd->hasAllowContract() && CxtI->hasAllowContract())) in getArithmeticInstrCost() 654 if (SLT == MVT::f32 && ((CxtI && CxtI->hasApproxFunc()) || in getArithmeticInstrCost() 685 Args, CxtI); in getArithmeticInstrCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetTransformInfo.cpp | 290 const Instruction *CxtI) { in getArithmeticInstrCost() argument 294 Op2Info, Args, CxtI); in getArithmeticInstrCost() 304 Args, CxtI); in getArithmeticInstrCost()
|
| H A D | HexagonTargetTransformInfo.h | 152 const Instruction *CxtI = nullptr);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyTargetTransformInfo.h | 67 const Instruction *CxtI = nullptr);
|
| H A D | WebAssemblyTargetTransformInfo.cpp | 57 const Instruction *CxtI) { in getArithmeticInstrCost() argument
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFTargetTransformInfo.h | 63 const Instruction *CxtI = nullptr) {
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXTargetTransformInfo.h | 102 const Instruction *CxtI = nullptr);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiTargetTransformInfo.h | 98 const Instruction *CxtI = nullptr) {
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 1271 ArrayRef<const Value *> Args, const Instruction *CxtI) { in getArithmeticInstrCost() argument 1276 Args, CxtI); in getArithmeticInstrCost() 1280 Args, CxtI); in getArithmeticInstrCost() 1285 Args, CxtI); in getArithmeticInstrCost() 1293 Args, CxtI); in getArithmeticInstrCost() 1337 Args, CxtI); in getArithmeticInstrCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.h | 93 const Instruction *CxtI = nullptr);
|