/external/llvm/include/llvm/Analysis/ |
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); 108 const Instruction *CxtI = nullptr); 116 const Instruction *CxtI = nullptr); 125 const Instruction *CxtI = nullptr); 133 const Instruction *CxtI = nullptr) [all...] |
LazyValueInfo.h | 57 Instruction *CxtI = nullptr); 63 Instruction *CxtI); 67 Constant *getConstant(Value *V, BasicBlock *BB, Instruction *CxtI = nullptr); 72 Instruction *CxtI = nullptr);
|
ValueTracking.h | 43 const Instruction *CxtI = nullptr, 55 const Instruction *CxtI = nullptr, 66 const Instruction *CxtI = nullptr, 75 const Instruction *CxtI = nullptr, 89 const Instruction *CxtI = nullptr, 102 const Instruction *CxtI = nullptr, 216 /// context instruction, CxtI. 217 bool isValidAssumeForContext(const Instruction *I, const Instruction *CxtI, 224 const Instruction *CxtI, 229 const Instruction *CxtI, [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineInternal.h | 257 Value *FoldOrOfICmps(ICmpInst *LHS, ICmpInst *RHS, Instruction *CxtI); 386 bool WillNotOverflowSignedAdd(Value *LHS, Value *RHS, Instruction &CxtI); 387 bool WillNotOverflowSignedSub(Value *LHS, Value *RHS, Instruction &CxtI); 388 bool WillNotOverflowUnsignedSub(Value *LHS, Value *RHS, Instruction &CxtI); 389 bool WillNotOverflowSignedMul(Value *LHS, Value *RHS, Instruction &CxtI); 472 unsigned Depth, Instruction *CxtI) const { 473 return llvm::computeKnownBits(V, KnownZero, KnownOne, DL, Depth, AC, CxtI, 478 Instruction *CxtI = nullptr) const { 479 return llvm::MaskedValueIsZero(V, Mask, DL, Depth, AC, CxtI, DT); 482 Instruction *CxtI = nullptr) const [all...] |
InstCombineSimplifyDemanded.cpp | 119 Instruction *CxtI) { 159 computeKnownBits(V, KnownZero, KnownOne, Depth, CxtI); 174 CxtI); 176 CxtI); 198 CxtI); 200 CxtI); 225 CxtI); 227 CxtI); 238 computeKnownBits(I, KnownZero, KnownOne, Depth, CxtI); 251 computeKnownBits(I, KnownZero, KnownOne, Depth, CxtI); [all...] |
InstCombineCasts.cpp | 333 Instruction *CxtI) { 362 return CanEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI) && 363 CanEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); 372 if (IC.MaskedValueIsZero(I->getOperand(0), Mask, 0, CxtI) && 373 IC.MaskedValueIsZero(I->getOperand(1), Mask, 0, CxtI)) { 374 return CanEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI) && 375 CanEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); 386 return CanEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI); 397 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth), 0, CxtI) && 399 return CanEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI); [all...] |
InstCombineAddSub.cpp | 894 Instruction &CxtI) { 912 if (ComputeNumSignBits(LHS, 0, &CxtI) > 1 && 913 ComputeNumSignBits(RHS, 0, &CxtI) > 1) 919 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, 0, &CxtI); 923 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, &CxtI); 946 Instruction &CxtI) { 949 if (ComputeNumSignBits(LHS, 0, &CxtI) > 1 && 950 ComputeNumSignBits(RHS, 0, &CxtI) > 1) 956 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, 0, &CxtI); 960 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, &CxtI); [all...] |
InstCombineMulDivRem.cpp | 29 Instruction &CxtI) { 51 IC.getAssumptionCache(), &CxtI, 55 if (Value *V2 = simplifyValueKnownNonZero(I->getOperand(0), IC, CxtI)) { 129 Instruction &CxtI) { 141 ComputeNumSignBits(LHS, 0, &CxtI) + ComputeNumSignBits(RHS, 0, &CxtI); 160 ComputeSignBit(LHS, LHSNonNegative, LHSNegative, /*Depth=*/0, &CxtI); 161 ComputeSignBit(RHS, RHSNonNegative, RHSNegative, /*Depth=*/0, &CxtI); [all...] |
InstCombineShifts.cpp | 71 InstCombiner &IC, Instruction *CxtI) { 136 0, CxtI)) 161 0, CxtI)) [all...] |
InstCombineAndOrXor.cpp | [all...] |
/external/llvm/lib/Analysis/ |
LazyValueInfo.cpp | 368 Instruction *CxtI = nullptr); 394 Instruction *CxtI = nullptr); 399 LVILatticeVal getValueAt(Value *V, Instruction *CxtI); 404 Instruction *CxtI = nullptr); 937 Instruction *CxtI) { [all...] |
InstructionSimplify.cpp | 52 const Instruction *CxtI; 56 const Instruction *cxti = nullptr) 57 : DL(DL), TLI(tli), DT(dt), AC(ac), CxtI(cxti) {} 589 const Instruction *CxtI) { 590 return ::SimplifyAddInst(Op0, Op1, isNSW, isNUW, Query(DL, TLI, DT, AC, CxtI), 782 const Instruction *CxtI) { 783 return ::SimplifySubInst(Op0, Op1, isNSW, isNUW, Query(DL, TLI, DT, AC, CxtI), [all...] |
ValueTracking.cpp | 97 const Instruction *CxtI; 100 Query(AssumptionCache *AC = nullptr, const Instruction *CxtI = nullptr, 102 : AC(AC), CxtI(CxtI), DT(DT) {} 105 : ExclInvs(Q.ExclInvs), AC(Q.AC), CxtI(Q.CxtI), DT(Q.DT) { 113 static const Instruction *safeCxtI(const Value *V, const Instruction *CxtI) { 116 if (CxtI && CxtI->getParent()) 117 return CxtI; [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 174 const Instruction *CxtI = nullptr, 180 const Instruction *CxtI = nullptr, 183 return getOrEnforceKnownAlignment(V, 0, DL, CxtI, AC, DT);
|
/external/llvm/lib/Transforms/Scalar/ |
JumpThreading.cpp | 130 Instruction *CxtI = nullptr); 133 Instruction *CxtI = nullptr); 346 Instruction *CxtI) { 388 Constant *PredCst = LVI->getConstantOnEdge(V, P, BB, CxtI); 405 BB, CxtI); 424 WantInteger, CxtI); 426 WantInteger, CxtI); 467 WantInteger, CxtI); 485 WantInteger, CxtI); 521 CxtI ? CxtI : Cmp) [all...] |
/external/llvm/lib/Transforms/Utils/ |
Local.cpp | [all...] |