/minix/external/bsd/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | InstructionSimplify.h | 56 const Instruction *CxtI = nullptr); 65 const Instruction *CxtI = nullptr); 74 const Instruction *CxtI = nullptr); 83 const Instruction *CxtI = nullptr); 92 const Instruction *CxtI = nullptr); 100 const Instruction *CxtI = nullptr); 197 const Instruction *CxtI = nullptr); 214 Instruction *CxtI = nullptr); 279 const Instruction *CxtI = nullptr); 290 const Instruction *CxtI = nullptr); [all …]
|
H A D | ValueTracking.h | 43 const Instruction *CxtI = nullptr, 55 const Instruction *CxtI = nullptr, 65 const Instruction *CxtI = nullptr, 74 const Instruction *CxtI = nullptr, 89 const Instruction *CxtI = nullptr, 102 const Instruction *CxtI = nullptr, 214 bool isValidAssumeForContext(const Instruction *I, const Instruction *CxtI, 222 const Instruction *CxtI, 227 const Instruction *CxtI,
|
H A D | LazyValueInfo.h | 58 Instruction *CxtI = nullptr); 64 Instruction *CxtI); 68 Constant *getConstant(Value *V, BasicBlock *BB, Instruction *CxtI = nullptr); 73 Instruction *CxtI = nullptr);
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombine.h | 169 Value *FoldOrOfICmps(ICmpInst *LHS, ICmpInst *RHS, Instruction *CxtI); 284 bool WillNotOverflowSignedAdd(Value *LHS, Value *RHS, Instruction *CxtI); 285 bool WillNotOverflowSignedSub(Value *LHS, Value *RHS, Instruction *CxtI); 287 bool WillNotOverflowSignedMul(Value *LHS, Value *RHS, Instruction *CxtI); 377 Instruction *CxtI = nullptr) const { 378 return llvm::MaskedValueIsZero(V, Mask, DL, Depth, AC, CxtI, DT); 381 Instruction *CxtI = nullptr) const { 382 return llvm::ComputeNumSignBits(Op, DL, Depth, AC, CxtI, DT); 390 const Instruction *CxtI) { in computeOverflowForUnsignedMul() argument 394 const Instruction *CxtI) { in computeOverflowForUnsignedAdd() argument [all …]
|
H A D | InstCombineCasts.cpp | 339 Instruction *CxtI) { in CanEvaluateTruncated() argument 368 return CanEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI) && in CanEvaluateTruncated() 369 CanEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in CanEvaluateTruncated() 378 if (IC.MaskedValueIsZero(I->getOperand(0), Mask, 0, CxtI) && in CanEvaluateTruncated() 379 IC.MaskedValueIsZero(I->getOperand(1), Mask, 0, CxtI)) { in CanEvaluateTruncated() 381 CanEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in CanEvaluateTruncated() 420 CanEvaluateTruncated(SI->getFalseValue(), Ty, IC, CxtI); in CanEvaluateTruncated() 656 InstCombiner &IC, Instruction *CxtI) { in CanEvaluateZExtd() argument 686 !CanEvaluateZExtd(I->getOperand(1), Ty, Tmp, IC, CxtI)) in CanEvaluateZExtd() 702 0, CxtI)) in CanEvaluateZExtd() [all …]
|
H A D | InstCombineSimplifyDemanded.cpp | 163 computeKnownBits(V, KnownZero, KnownOne, Depth, CxtI); in SimplifyDemandedUseBits() 178 CxtI); in SimplifyDemandedUseBits() 180 CxtI); in SimplifyDemandedUseBits() 202 CxtI); in SimplifyDemandedUseBits() 204 CxtI); in SimplifyDemandedUseBits() 229 CxtI); in SimplifyDemandedUseBits() 231 CxtI); in SimplifyDemandedUseBits() 242 computeKnownBits(I, KnownZero, KnownOne, Depth, CxtI); in SimplifyDemandedUseBits() 255 computeKnownBits(I, KnownZero, KnownOne, Depth, CxtI); in SimplifyDemandedUseBits() 630 computeKnownBits(V, KnownZero, KnownOne, Depth, CxtI); in SimplifyDemandedUseBits() [all …]
|
H A D | InstCombineAddSub.cpp | 894 Instruction *CxtI) { in WillNotOverflowSignedAdd() argument 912 if (ComputeNumSignBits(LHS, 0, CxtI) > 1 && in WillNotOverflowSignedAdd() 913 ComputeNumSignBits(RHS, 0, CxtI) > 1) in WillNotOverflowSignedAdd() 919 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, 0, CxtI); in WillNotOverflowSignedAdd() 923 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, CxtI); in WillNotOverflowSignedAdd() 946 Instruction *CxtI) { in WillNotOverflowSignedSub() argument 949 if (ComputeNumSignBits(LHS, 0, CxtI) > 1 && in WillNotOverflowSignedSub() 950 ComputeNumSignBits(RHS, 0, CxtI) > 1) in WillNotOverflowSignedSub() 956 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, 0, CxtI); in WillNotOverflowSignedSub() 960 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, CxtI); in WillNotOverflowSignedSub() [all …]
|
H A D | InstCombineMulDivRem.cpp | 29 Instruction *CxtI) { in simplifyValueKnownNonZero() argument 51 IC.getAssumptionCache(), CxtI, in simplifyValueKnownNonZero() 55 if (Value *V2 = simplifyValueKnownNonZero(I->getOperand(0), IC, CxtI)) { in simplifyValueKnownNonZero() 129 Instruction *CxtI) { in WillNotOverflowSignedMul() argument 140 unsigned SignBits = ComputeNumSignBits(LHS, 0, CxtI) + in WillNotOverflowSignedMul() 141 ComputeNumSignBits(RHS, 0, CxtI); in WillNotOverflowSignedMul() 160 ComputeSignBit(LHS, LHSNonNegative, LHSNegative, /*Depth=*/0, CxtI); in WillNotOverflowSignedMul() 161 ComputeSignBit(RHS, RHSNonNegative, RHSNegative, /*Depth=*/0, CxtI); in WillNotOverflowSignedMul()
|
H A D | InstCombineShifts.cpp | 71 InstCombiner &IC, Instruction *CxtI) { in CanEvaluateShifted() argument 136 0, CxtI)) in CanEvaluateShifted() 161 0, CxtI)) in CanEvaluateShifted()
|
H A D | InstCombineAndOrXor.cpp | 1710 Instruction *CxtI) { in FoldOrOfICmps() argument 1730 isKnownToBeAPowerOfTwo(LAnd->getOperand(1), false, 0, AC, CxtI, DT) && in FoldOrOfICmps() 1731 isKnownToBeAPowerOfTwo(RAnd->getOperand(1), false, 0, AC, CxtI, DT)) { in FoldOrOfICmps() 1735 isKnownToBeAPowerOfTwo(LAnd->getOperand(0), false, 0, AC, CxtI, in FoldOrOfICmps() 1737 isKnownToBeAPowerOfTwo(RAnd->getOperand(0), false, 0, AC, CxtI, in FoldOrOfICmps()
|
/minix/external/bsd/llvm/dist/llvm/lib/Analysis/ |
H A D | LazyValueInfo.cpp | 376 Instruction *CxtI = nullptr); 407 LVILatticeVal getValueAt(Value *V, Instruction *CxtI); 995 mergeAssumeBlockValueConstantRange(Val, Result, CxtI); in getEdgeValue() 1009 mergeAssumeBlockValueConstantRange(V, Result, CxtI); in getValueInBlock() 1017 << CxtI->getName() << "'\n"); in getValueAt() 1020 mergeAssumeBlockValueConstantRange(V, Result, CxtI); in getValueAt() 1028 Instruction *CxtI) { in getValueOnEdge() argument 1033 if (!getEdgeValue(V, FromBB, ToBB, Result, CxtI)) { in getValueOnEdge() 1148 Instruction *CxtI) { in getConstant() argument 1252 Instruction *CxtI) { in getPredicateOnEdge() argument [all …]
|
H A D | InstructionSimplify.cpp | 52 const Instruction *CxtI; member 1346 Q.CxtI, Q.DT); in SimplifyRightShift() 2188 Q.CxtI, Q.DT); in SimplifyICmpInst() 2196 Q.CxtI, Q.DT); in SimplifyICmpInst() 2205 Q.CxtI, Q.DT); in SimplifyICmpInst() 2213 Q.CxtI, Q.DT); in SimplifyICmpInst() 2634 Q.CxtI, Q.DT); in SimplifyICmpInst() 2645 Q.CxtI, Q.DT); in SimplifyICmpInst() 2665 Q.CxtI, Q.DT); in SimplifyICmpInst() 2676 Q.CxtI, Q.DT); in SimplifyICmpInst() [all …]
|
H A D | ValueTracking.cpp | 69 const Instruction *CxtI; member 74 : AC(AC), CxtI(CxtI), DT(DT) {} in Query() 77 : ExclInvs(Q.ExclInvs), AC(Q.AC), CxtI(Q.CxtI), DT(Q.DT) { in Query() 88 if (CxtI && CxtI->getParent()) in safeCxtI() 89 return CxtI; in safeCxtI() 92 CxtI = dyn_cast<Instruction>(V); in safeCxtI() 93 if (CxtI && CxtI->getParent()) in safeCxtI() 94 return CxtI; in safeCxtI() 424 if (I == Q.CxtI) in isValidAssumeForContext() 483 if (!Q.AC || !Q.CxtI) in computeKnownBitsFromAssume() [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | JumpThreading.cpp | 134 Instruction *CxtI = nullptr); 349 Instruction *CxtI) { in ComputeValueKnownInPredecessors() argument 408 BB, CxtI); in ComputeValueKnownInPredecessors() 427 WantInteger, CxtI); in ComputeValueKnownInPredecessors() 429 WantInteger, CxtI); in ComputeValueKnownInPredecessors() 470 WantInteger, CxtI); in ComputeValueKnownInPredecessors() 488 WantInteger, CxtI); in ComputeValueKnownInPredecessors() 523 CxtI ? CxtI : Cmp); in ComputeValueKnownInPredecessors() 549 RHSCst, P, BB, CxtI ? CxtI : Cmp); in ComputeValueKnownInPredecessors() 565 WantInteger, CxtI); in ComputeValueKnownInPredecessors() [all …]
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
H A D | Local.h | 179 const Instruction *CxtI = nullptr, 186 const Instruction *CxtI = nullptr, 188 return getOrEnforceKnownAlignment(V, 0, TD, AC, CxtI, DT);
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | Local.cpp | 947 const Instruction *CxtI, in getOrEnforceKnownAlignment() argument 954 computeKnownBits(V, KnownZero, KnownOne, DL, 0, AC, CxtI, DT); in getOrEnforceKnownAlignment()
|