Home
last modified time | relevance | path

Searched refs:CxtI (Results 1 – 25 of 101) sorted by relevance

12345

/external/llvm/include/llvm/Analysis/
DInstructionSimplify.h56 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 …]
DValueTracking.h55 const Instruction *CxtI = nullptr,
65 const Instruction *CxtI = nullptr,
73 const Instruction *CxtI = nullptr,
84 const Instruction *CxtI = nullptr,
93 const Instruction *CxtI = nullptr,
99 const Instruction *CxtI = nullptr,
106 const Instruction *CxtI = nullptr,
113 const Instruction *CxtI = nullptr,
120 const Instruction *CxtI = nullptr,
134 const Instruction *CxtI = nullptr,
[all …]
DLazyValueInfo.h72 Instruction *CxtI = nullptr);
78 Instruction *CxtI);
82 Constant *getConstant(Value *V, BasicBlock *BB, Instruction *CxtI = nullptr);
87 ConstantRange getConstantRange(Value *V, BasicBlock *BB, Instruction *CxtI = nullptr);
92 Instruction *CxtI = nullptr);
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h252 const Instruction &CxtI) const { in willNotOverflowSignedAdd() argument
253 return computeOverflowForSignedAdd(LHS, RHS, &CxtI) == in willNotOverflowSignedAdd()
258 const Instruction &CxtI) const { in willNotOverflowUnsignedAdd() argument
259 return computeOverflowForUnsignedAdd(LHS, RHS, &CxtI) == in willNotOverflowUnsignedAdd()
264 const Instruction &CxtI, bool IsSigned) const { in willNotOverflowAdd() argument
265 return IsSigned ? willNotOverflowSignedAdd(LHS, RHS, CxtI) in willNotOverflowAdd()
266 : willNotOverflowUnsignedAdd(LHS, RHS, CxtI); in willNotOverflowAdd()
270 const Instruction &CxtI) const { in willNotOverflowSignedSub() argument
271 return computeOverflowForSignedSub(LHS, RHS, &CxtI) == in willNotOverflowSignedSub()
276 const Instruction &CxtI) const { in willNotOverflowUnsignedSub() argument
[all …]
DInstCombineSimplifyDemanded.cpp111 Instruction *CxtI) { in SimplifyDemandedUseBits() argument
122 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits()
138 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits()
146 return SimplifyMultipleUseDemandedBits(I, DemandedMask, Known, Depth, CxtI); in SimplifyDemandedUseBits()
159 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits()
558 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits()
583 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits()
623 unsigned SignBits = ComputeNumSignBits(I->getOperand(0), Depth + 1, CxtI); in SimplifyDemandedUseBits()
645 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits()
668 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits()
[all …]
DInstCombineCasts.cpp364 Instruction *CxtI) { in canEvaluateTruncated() argument
380 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI) && in canEvaluateTruncated()
381 canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in canEvaluateTruncated()
390 if (IC.MaskedValueIsZero(I->getOperand(0), Mask, 0, CxtI) && in canEvaluateTruncated()
391 IC.MaskedValueIsZero(I->getOperand(1), Mask, 0, CxtI)) { in canEvaluateTruncated()
392 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI) && in canEvaluateTruncated()
393 canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in canEvaluateTruncated()
404 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI) && in canEvaluateTruncated()
405 canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in canEvaluateTruncated()
420 IC.MaskedValueIsZero(I->getOperand(0), ShiftedBits, 0, CxtI)) { in canEvaluateTruncated()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h537 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 …]
/external/llvm-project/llvm/include/llvm/Transforms/InstCombine/
DInstCombiner.h445 const Instruction *CxtI) const { in computeKnownBits() argument
446 llvm::computeKnownBits(V, Known, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
450 const Instruction *CxtI) const { in computeKnownBits() argument
451 return llvm::computeKnownBits(V, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
456 const Instruction *CxtI = nullptr) {
457 return llvm::isKnownToBeAPowerOfTwo(V, DL, OrZero, Depth, &AC, CxtI, &DT);
461 const Instruction *CxtI = nullptr) const {
462 return llvm::MaskedValueIsZero(V, Mask, DL, Depth, &AC, CxtI, &DT);
466 const Instruction *CxtI = nullptr) const {
467 return llvm::ComputeNumSignBits(Op, DL, Depth, &AC, CxtI, &DT);
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DValueTracking.h57 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 …]
DLazyValueInfo.h73 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);
DInstructionSimplify.h95 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()
/external/llvm-project/llvm/include/llvm/Analysis/
DValueTracking.h61 const Instruction *CxtI = nullptr,
77 const Instruction *CxtI = nullptr,
85 const Instruction *CxtI = nullptr,
94 const Instruction *CxtI = nullptr,
109 const Instruction *CxtI = nullptr,
121 const Instruction *CxtI = nullptr,
125 bool isOnlyUsedInZeroEqualityComparison(const Instruction *CxtI);
135 const Instruction *CxtI = nullptr,
149 const Instruction *CxtI = nullptr,
157 const Instruction *CxtI = nullptr,
[all …]
DLazyValueInfo.h71 Instruction *CxtI = nullptr);
78 Instruction *CxtI, bool UseBlockValue = false);
82 Constant *getConstant(Value *V, Instruction *CxtI);
87 ConstantRange getConstantRange(Value *V, Instruction *CxtI,
93 Instruction *CxtI = nullptr);
100 Instruction *CxtI = nullptr);
DInstructionSimplify.h98 const Instruction *CxtI = nullptr; member
111 : DL(DL), CxtI(CXTI) {} in DL()
118 : DL(DL), TLI(TLI), DT(DT), AC(AC), CxtI(CXTI), IIQ(UseInstrInfo), in DL()
122 Copy.CxtI = I; in getWithInstruction()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h253 Value *FoldOrOfICmps(ICmpInst *LHS, ICmpInst *RHS, Instruction *CxtI);
391 bool WillNotOverflowSignedAdd(Value *LHS, Value *RHS, Instruction &CxtI);
392 bool WillNotOverflowSignedSub(Value *LHS, Value *RHS, Instruction &CxtI);
393 bool WillNotOverflowUnsignedSub(Value *LHS, Value *RHS, Instruction &CxtI);
394 bool WillNotOverflowSignedMul(Value *LHS, Value *RHS, Instruction &CxtI);
478 unsigned Depth, Instruction *CxtI) const { in computeKnownBits() argument
479 return llvm::computeKnownBits(V, KnownZero, KnownOne, DL, Depth, AC, CxtI, in computeKnownBits()
484 Instruction *CxtI = nullptr) const {
485 return llvm::MaskedValueIsZero(V, Mask, DL, Depth, AC, CxtI, DT);
488 Instruction *CxtI = nullptr) const {
[all …]
DInstCombineCasts.cpp332 Instruction *CxtI) { in canEvaluateTruncated() argument
361 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI) && in canEvaluateTruncated()
362 canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in canEvaluateTruncated()
371 if (IC.MaskedValueIsZero(I->getOperand(0), Mask, 0, CxtI) && in canEvaluateTruncated()
372 IC.MaskedValueIsZero(I->getOperand(1), Mask, 0, CxtI)) { in canEvaluateTruncated()
373 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI) && in canEvaluateTruncated()
374 canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in canEvaluateTruncated()
385 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI); in canEvaluateTruncated()
396 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth), 0, CxtI) && in canEvaluateTruncated()
398 return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI); in canEvaluateTruncated()
[all …]
/external/llvm/lib/Analysis/
DValueTracking.cpp71 const Instruction *CxtI; member
86 Query(const DataLayout &DL, AssumptionCache *AC, const Instruction *CxtI, in Query()
88 : DL(DL), AC(AC), CxtI(CxtI), DT(DT), NumExcluded(0) {} in Query()
91 : DL(Q.DL), AC(Q.AC), CxtI(Q.CxtI), DT(Q.DT), NumExcluded(Q.NumExcluded) { in Query()
108 static const Instruction *safeCxtI(const Value *V, const Instruction *CxtI) { in safeCxtI() argument
111 if (CxtI && CxtI->getParent()) in safeCxtI()
112 return CxtI; in safeCxtI()
115 CxtI = dyn_cast<Instruction>(V); in safeCxtI()
116 if (CxtI && CxtI->getParent()) in safeCxtI()
117 return CxtI; in safeCxtI()
[all …]
DInstructionSimplify.cpp54 const Instruction *CxtI; member
59 : DL(DL), TLI(tli), DT(dt), AC(ac), CxtI(cxti) {} in Query()
585 const Instruction *CxtI) { in SimplifyAddInst() argument
586 return ::SimplifyAddInst(Op0, Op1, isNSW, isNUW, Query(DL, TLI, DT, AC, CxtI), in SimplifyAddInst()
780 const Instruction *CxtI) { in SimplifySubInst() argument
781 return ::SimplifySubInst(Op0, Op1, isNSW, isNUW, Query(DL, TLI, DT, AC, CxtI), in SimplifySubInst()
949 const Instruction *CxtI) { in SimplifyFAddInst() argument
950 return ::SimplifyFAddInst(Op0, Op1, FMF, Query(DL, TLI, DT, AC, CxtI), in SimplifyFAddInst()
958 const Instruction *CxtI) { in SimplifyFSubInst() argument
959 return ::SimplifyFSubInst(Op0, Op1, FMF, Query(DL, TLI, DT, AC, CxtI), in SimplifyFSubInst()
[all …]
DLazyValueInfo.cpp446 LVILatticeVal &Result, Instruction *CxtI = nullptr);
502 Instruction *CxtI = nullptr);
507 LVILatticeVal getValueAt(Value *V, Instruction *CxtI);
512 Instruction *CxtI = nullptr);
1272 Instruction *CxtI) { in getEdgeValue() argument
1310 intersectAssumeBlockValueConstantRange(Val, InBlock, CxtI); in getEdgeValue()
1317 Instruction *CxtI) { in getValueInBlock() argument
1327 intersectAssumeBlockValueConstantRange(V, Result, CxtI); in getValueInBlock()
1333 LVILatticeVal LazyValueInfoCache::getValueAt(Value *V, Instruction *CxtI) { in getValueAt() argument
1335 << CxtI->getName() << "'\n"); in getValueAt()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DLazyValueInfo.cpp400 BasicBlock *T, Instruction *CxtI = nullptr);
413 Optional<ConstantRange> getRangeFor(Value *V, Instruction *CxtI,
441 Instruction *CxtI = nullptr);
447 ValueLatticeElement getValueAt(Value *V, Instruction *CxtI);
453 Instruction *CxtI = nullptr);
926 Instruction *CxtI, in getRangeFor() argument
933 intersectAssumeOrGuardBlockValueConstantRange(V, Val, CxtI); in getRangeFor()
1420 Value *Val, BasicBlock *BBFrom, BasicBlock *BBTo, Instruction *CxtI) { in getEdgeValue() argument
1447 intersectAssumeOrGuardBlockValueConstantRange(Val, InBlock, CxtI); in getEdgeValue()
1453 Instruction *CxtI) { in getValueInBlock() argument
[all …]
DValueTracking.cpp103 const Instruction *CxtI; member
125 Query(const DataLayout &DL, AssumptionCache *AC, const Instruction *CxtI, in Query()
128 : DL(DL), AC(AC), CxtI(CxtI), DT(DT), ORE(ORE), IIQ(UseInstrInfo) {} in Query()
131 : DL(Q.DL), AC(Q.AC), CxtI(Q.CxtI), DT(Q.DT), ORE(Q.ORE), IIQ(Q.IIQ), in Query()
150 static const Instruction *safeCxtI(const Value *V, const Instruction *CxtI) { in safeCxtI() argument
153 if (CxtI && CxtI->getParent()) in safeCxtI()
154 return CxtI; in safeCxtI()
157 CxtI = dyn_cast<Instruction>(V); in safeCxtI()
158 if (CxtI && CxtI->getParent()) in safeCxtI()
159 return CxtI; in safeCxtI()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp105 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 …]
DLazyValueInfo.cpp412 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 …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DJumpThreading.h131 Instruction *CxtI = nullptr);
136 Instruction *CxtI = nullptr) {
139 RecursionSet, CxtI);
144 Instruction *CxtI = nullptr);
/external/llvm-project/llvm/include/llvm/Transforms/Scalar/
DJumpThreading.h134 DenseSet<Value *> &RecursionSet, Instruction *CxtI = nullptr);
139 Instruction *CxtI = nullptr) {
142 RecursionSet, CxtI);
152 Instruction *CxtI = nullptr);

12345