Home
last modified time | relevance | path

Searched refs:CtxI (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm-project/llvm/test/Transforms/Attributor/
Ddepgraph.ll54 ; GRAPH: [AAIsDead] for CtxI ' %2 = load i32, i32* %0, align 4' at position {fn:checkAndAdvan…
56 ; GRAPH-NEXT: [AAValueSimplify] for CtxI ' %3 = icmp eq i32 %2, 0' at position {flt: [@-1]} with s…
58 ; GRAPH-NEXT: [AAWillReturn] for CtxI ' %2 = load i32, i32* %0, align 4' at position {fn:checkAndA…
60 ; GRAPH-NEXT: [AAUndefinedBehavior] for CtxI ' %2 = load i32, i32* %0, align 4' at position {fn:ch…
62 ; GRAPH-NEXT: [AAValueSimplify] for CtxI ' %2 = load i32, i32* %0, align 4' at position {arg: [@0]…
64 ; GRAPH-NEXT: [AAIsDead] for CtxI ' %2 = load i32, i32* %0, align 4' at position {fn_ret:checkAndA…
66 ; GRAPH-NEXT: [AANoUndef] for CtxI ' %2 = load i32, i32* %0, align 4' at position {fn_ret:checkAnd…
68 ; GRAPH-NEXT: [AAReturnedValues] for CtxI ' %2 = load i32, i32* %0, align 4' at position {fn:check…
70 ; GRAPH-NEXT: [AANoUnwind] for CtxI ' %2 = load i32, i32* %0, align 4' at position {fn:checkAndAdv…
71 ; GRAPH-NEXT: updates [AANoCapture] for CtxI ' %2 = load i32, i32* %0, align 4' at position {arg…
[all …]
/external/llvm-project/llvm/lib/Analysis/
DLoads.cpp44 const Instruction *CtxI, const DominatorTree *DT, in isDereferenceableAndAlignedPointer() argument
63 BC->getOperand(0), Alignment, Size, DL, CtxI, DT, Visited, MaxDepth); in isDereferenceableAndAlignedPointer()
70 if (!CheckForNonNull || isKnownNonZero(V, DL, 0, nullptr, CtxI, DT)) { in isDereferenceableAndAlignedPointer()
100 CtxI, DT, Visited, MaxDepth); in isDereferenceableAndAlignedPointer()
106 RelocateInst->getDerivedPtr(), Alignment, Size, DL, CtxI, DT, Visited, MaxDepth); in isDereferenceableAndAlignedPointer()
110 Size, DL, CtxI, DT, Visited, MaxDepth); in isDereferenceableAndAlignedPointer()
114 return isDereferenceableAndAlignedPointer(RP, Alignment, Size, DL, CtxI, in isDereferenceableAndAlignedPointer()
135 isKnownNonZero(V, DL, 0, nullptr, CtxI, DT) && in isDereferenceableAndAlignedPointer()
143 !PointerMayBeCapturedBefore(V, true, true, CtxI, DT, true)) { in isDereferenceableAndAlignedPointer()
163 const Instruction *CtxI, in isDereferenceableAndAlignedPointer() argument
[all …]
DAssumeBundleQueries.cpp211 const Instruction *CtxI, const DominatorTree *DT, AssumptionCache *AC) { in getKnowledgeValidInContext() argument
214 return isValidAssumeForContext(I, CtxI, DT); in getKnowledgeValidInContext()
DValueTracking.cpp2082 const Instruction *CtxI, in isKnownNonNullFromDominatingCondition() argument
2087 if (!CtxI || !DT) in isKnownNonNullFromDominatingCondition()
2103 Arg.hasNonNullAttr() && DT->dominates(CB, CtxI)) in isKnownNonNullFromDominatingCondition()
2111 DT->dominates(I, CtxI)) in isKnownNonNullFromDominatingCondition()
2151 if (Edge.isSingleEdge() && DT->dominates(Edge, CtxI->getParent())) in isKnownNonNullFromDominatingCondition()
2154 DT->dominates(cast<Instruction>(Curr), CtxI)) { in isKnownNonNullFromDominatingCondition()
4368 const Instruction *CtxI, in isSafeToSpeculativelyExecute() argument
4416 DL, CtxI, DT); in isSafeToSpeculativelyExecute()
4820 const Instruction *CtxI, in isGuaranteedNotToBeUndefOrPoison() argument
4861 return isGuaranteedNotToBeUndefOrPoison(V, AC, CtxI, DT, Depth + 1, in isGuaranteedNotToBeUndefOrPoison()
[all …]
/external/llvm/lib/Analysis/
DLoads.cpp56 const Instruction *CtxI, const DominatorTree *DT, in isDereferenceableAndAlignedPointer() argument
64 DL, CtxI, DT, Visited); in isDereferenceableAndAlignedPointer()
71 if (!CheckForNonNull || isKnownNonNullAt(V, CtxI, DT)) in isDereferenceableAndAlignedPointer()
92 CtxI, DT, Visited); in isDereferenceableAndAlignedPointer()
98 RelocateInst->getDerivedPtr(), Align, Size, DL, CtxI, DT, Visited); in isDereferenceableAndAlignedPointer()
102 DL, CtxI, DT, Visited); in isDereferenceableAndAlignedPointer()
106 return isDereferenceableAndAlignedPointer(RV, Align, Size, DL, CtxI, DT, in isDereferenceableAndAlignedPointer()
115 const Instruction *CtxI, in isDereferenceableAndAlignedPointer() argument
134 CtxI, DT, Visited); in isDereferenceableAndAlignedPointer()
138 const Instruction *CtxI, in isDereferenceablePointer() argument
[all …]
DValueTracking.cpp3065 const Instruction *CtxI, in isSafeToSpeculativelyExecute() argument
3116 LI->getAlignment(), DL, CtxI, DT); in isSafeToSpeculativelyExecute()
3230 const Instruction *CtxI, in isKnownNonNullFromDominatingCondition() argument
3254 if (Edge.isSingleEdge() && DT->dominates(Edge, CtxI->getParent())) in isKnownNonNullFromDominatingCondition()
3258 DT->dominates(cast<Instruction>(CmpU), CtxI)) { in isKnownNonNullFromDominatingCondition()
3267 bool llvm::isKnownNonNullAt(const Value *V, const Instruction *CtxI, in isKnownNonNullAt() argument
3272 return CtxI ? ::isKnownNonNullFromDominatingCondition(V, CtxI, DT) : false; in isKnownNonNullAt()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoads.cpp54 const Instruction *CtxI, const DominatorTree *DT, in isDereferenceableAndAlignedPointer() argument
66 Size, DL, CtxI, DT, Visited); in isDereferenceableAndAlignedPointer()
72 if (!CheckForNonNull || isKnownNonZero(V, DL, 0, nullptr, CtxI, DT)) { in isDereferenceableAndAlignedPointer()
102 CtxI, DT, Visited); in isDereferenceableAndAlignedPointer()
108 RelocateInst->getDerivedPtr(), Alignment, Size, DL, CtxI, DT, Visited); in isDereferenceableAndAlignedPointer()
112 Size, DL, CtxI, DT, Visited); in isDereferenceableAndAlignedPointer()
116 return isDereferenceableAndAlignedPointer(RP, Alignment, Size, DL, CtxI, in isDereferenceableAndAlignedPointer()
126 const Instruction *CtxI, in isDereferenceableAndAlignedPointer() argument
134 return ::isDereferenceableAndAlignedPointer(V, Alignment, Size, DL, CtxI, DT, in isDereferenceableAndAlignedPointer()
141 const Instruction *CtxI, in isDereferenceableAndAlignedPointer() argument
[all …]
DValueTracking.cpp1990 const Instruction *CtxI, in isKnownNonNullFromDominatingCondition() argument
1995 if (!CtxI || !DT) in isKnownNonNullFromDominatingCondition()
2011 Arg.hasNonNullAttr() && DT->dominates(CS.getInstruction(), CtxI)) in isKnownNonNullFromDominatingCondition()
2019 DT->dominates(I, CtxI)) in isKnownNonNullFromDominatingCondition()
2059 if (Edge.isSingleEdge() && DT->dominates(Edge, CtxI->getParent())) in isKnownNonNullFromDominatingCondition()
2062 DT->dominates(cast<Instruction>(Curr), CtxI)) { in isKnownNonNullFromDominatingCondition()
4058 const Instruction *CtxI, in isSafeToSpeculativelyExecute() argument
4106 DL, CtxI, DT); in isSafeToSpeculativelyExecute()
/external/llvm-project/llvm/include/llvm/Analysis/
DLoads.h35 const Instruction *CtxI = nullptr,
45 const Instruction *CtxI = nullptr,
54 const Instruction *CtxI = nullptr,
166 Instruction *CtxI);
DValueTracking.h462 const Instruction *CtxI = nullptr,
549 const Instruction *CtxI = nullptr,
634 const Instruction *CtxI = nullptr,
638 const Instruction *CtxI = nullptr,
DAssumeBundleQueries.h157 const Instruction *CtxI, const DominatorTree *DT = nullptr,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DLoads.h32 const Instruction *CtxI = nullptr,
42 const Instruction *CtxI = nullptr,
51 const Instruction *CtxI = nullptr,
DValueTracking.h424 const Instruction *CtxI = nullptr,
/external/llvm/include/llvm/Analysis/
DLoads.h31 const Instruction *CtxI = nullptr,
40 const Instruction *CtxI = nullptr,
DValueTracking.h290 const Instruction *CtxI = nullptr,
313 const Instruction *CtxI = nullptr,
/external/llvm-project/llvm/lib/Transforms/IPO/
DAttributorAttributes.cpp268 const Instruction *CtxI, bool UseValueSimplify = true, int MaxValues = 16, in genericValueTraversal() argument
281 Worklist.push_back({&IRP.getAssociatedValue(), CtxI}); in genericValueTraversal()
287 CtxI = I.second; in genericValueTraversal()
316 Worklist.push_back({NewV, CtxI}); in genericValueTraversal()
322 Worklist.push_back({SI->getTrueValue(), CtxI}); in genericValueTraversal()
323 Worklist.push_back({SI->getFalseValue(), CtxI}); in genericValueTraversal()
352 Worklist.push_back({NewV, CtxI}); in genericValueTraversal()
358 if (!VisitValueCB(*V, CtxI, State, Iteration > 1)) in genericValueTraversal()
582 const Instruction *CtxI, in followUsesInContext() argument
585 auto EIt = Explorer.begin(CtxI), EEnd = Explorer.end(CtxI); in followUsesInContext()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DAttributor.cpp807 Instruction *CtxI = IRP.getCtxI(); in initialize() local
809 if (!CtxI) in initialize()
820 Instruction *CtxI = this->getIRPosition().getCtxI(); in updateImpl() local
821 if (!CtxI) in updateImpl()
827 auto EIt = Explorer.begin(CtxI), EEnd = Explorer.end(CtxI); in updateImpl()
5179 const Instruction *CtxI = nullptr) const { in getConstantRangeFromLVI()
5187 if (!LVI || !CtxI) in getConstantRangeFromLVI()
5190 const_cast<BasicBlock *>(CtxI->getParent()), in getConstantRangeFromLVI()
5191 const_cast<Instruction *>(CtxI)); in getConstantRangeFromLVI()
5197 const Instruction *CtxI = nullptr) const override { in getKnownConstantRange()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLICM.cpp95 const Instruction *CtxI = nullptr);
754 const Instruction *CtxI) { in isSafeToExecuteUnconditionally() argument
755 if (isSafeToSpeculativelyExecute(&Inst, CtxI, DT)) in isSafeToExecuteUnconditionally()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DAttributor.h2470 const Instruction *CtxI = nullptr) const = 0;
2476 const Instruction *CtxI = nullptr) const = 0;
2481 getAssumedConstantInt(Attributor &A, const Instruction *CtxI = nullptr) const {
2482 ConstantRange RangeV = getAssumedConstantRange(A, CtxI);
/external/llvm-project/llvm/include/llvm/Transforms/IPO/
DAttributor.h3476 const Instruction *CtxI = nullptr) const = 0;
3482 const Instruction *CtxI = nullptr) const = 0;
3488 const Instruction *CtxI = nullptr) const {
3489 ConstantRange RangeV = getAssumedConstantRange(A, CtxI);
3725 const Instruction *CtxI = nullptr) const {
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp922 Instruction *CtxI = PN.getIncomingBlock(i)->getTerminator(); in visitPHINode() local
924 if (isKnownNonZero(VA, DL, 0, AC, CtxI, DT)) { in visitPHINode()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp1198 Instruction *CtxI = PN.getIncomingBlock(i)->getTerminator(); in visitPHINode() local
1200 if (isKnownNonZero(VA, DL, 0, &AC, CtxI, &DT)) { in visitPHINode()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp1354 Instruction *CtxI = PN.getIncomingBlock(i)->getTerminator(); in visitPHINode() local
1356 if (isKnownNonZero(VA, DL, 0, &AC, CtxI, &DT)) { in visitPHINode()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLICM.cpp168 const Instruction *CtxI = nullptr);
1783 const Instruction *CtxI) { in isSafeToExecuteUnconditionally() argument
1784 if (isSafeToSpeculativelyExecute(&Inst, CtxI, DT)) in isSafeToExecuteUnconditionally()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLICM.cpp151 const Instruction *CtxI = nullptr);
1724 const Instruction *CtxI) { in isSafeToExecuteUnconditionally() argument
1725 if (isSafeToSpeculativelyExecute(&Inst, CtxI, DT)) in isSafeToExecuteUnconditionally()

12