Home
last modified time | relevance | path

Searched refs:LazyCallGraph (Results 1 – 25 of 59) sorted by relevance

123

/external/llvm-project/llvm/include/llvm/Analysis/
DCGSCCPassManager.h118 extern template class AllAnalysesOn<LazyCallGraph::SCC>;
120 extern template class AnalysisManager<LazyCallGraph::SCC, LazyCallGraph &>;
129 AnalysisManager<LazyCallGraph::SCC, LazyCallGraph &>;
136 PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager, LazyCallGraph &,
137 CGSCCUpdateResult &>::run(LazyCallGraph::SCC &InitialC,
139 LazyCallGraph &G, CGSCCUpdateResult &UR);
140 extern template class PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager,
141 LazyCallGraph &, CGSCCUpdateResult &>;
149 PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager, LazyCallGraph &,
154 struct RequireAnalysisPass<AnalysisT, LazyCallGraph::SCC, CGSCCAnalysisManager,
[all …]
DLazyCallGraph.h112 class LazyCallGraph {
168 friend class LazyCallGraph::EdgeSequence;
169 friend class LazyCallGraph::RefSCC;
187 friend class LazyCallGraph; variable
188 friend class LazyCallGraph::Node;
189 friend class LazyCallGraph::RefSCC;
199 friend class LazyCallGraph; variable
200 friend class LazyCallGraph::Node;
230 friend class LazyCallGraph; variable
231 friend class LazyCallGraph::Node;
[all …]
/external/llvm-project/llvm/unittests/Analysis/
DLazyCallGraphTest.cpp219 static LazyCallGraph buildCG(Module &M) { in buildCG()
224 LazyCallGraph CG(M, GetTLI); in buildCG()
231 LazyCallGraph CG = buildCG(*M); in TEST()
237 LazyCallGraph::Node &A1 = (I++)->getNode(); in TEST()
239 LazyCallGraph::Node &A2 = (I++)->getNode(); in TEST()
241 LazyCallGraph::Node &A3 = (I++)->getNode(); in TEST()
243 LazyCallGraph::Node &B1 = (I++)->getNode(); in TEST()
245 LazyCallGraph::Node &B2 = (I++)->getNode(); in TEST()
247 LazyCallGraph::Node &B3 = (I++)->getNode(); in TEST()
249 LazyCallGraph::Node &C1 = (I++)->getNode(); in TEST()
[all …]
DCGSCCPassManagerTest.cpp62 bool invalidate(LazyCallGraph::SCC &, const PreservedAnalyses &PA, in invalidate()
68 PAC.preservedSet<AllAnalysesOn<LazyCallGraph::SCC>>()); in invalidate()
74 Result run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM, LazyCallGraph &) { in run() argument
163 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM, in run()
164 LazyCallGraph &CG, CGSCCUpdateResult &UR) { in run()
168 std::function<PreservedAnalyses(LazyCallGraph::SCC &, CGSCCAnalysisManager &,
169 LazyCallGraph &, CGSCCUpdateResult &)>
303 LambdaSCCPass([&](LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM, in TEST_F()
304 LazyCallGraph &CG, CGSCCUpdateResult &UR) { in TEST_F()
331 for (LazyCallGraph::Node &N : C) { in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DCGSCCPassManager.h118 extern template class AllAnalysesOn<LazyCallGraph::SCC>;
120 extern template class AnalysisManager<LazyCallGraph::SCC, LazyCallGraph &>;
129 AnalysisManager<LazyCallGraph::SCC, LazyCallGraph &>;
136 PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager, LazyCallGraph &,
137 CGSCCUpdateResult &>::run(LazyCallGraph::SCC &InitialC,
139 LazyCallGraph &G, CGSCCUpdateResult &UR);
140 extern template class PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager,
141 LazyCallGraph &, CGSCCUpdateResult &>;
149 PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager, LazyCallGraph &,
154 struct RequireAnalysisPass<AnalysisT, LazyCallGraph::SCC, CGSCCAnalysisManager,
[all …]
DLazyCallGraph.h112 class LazyCallGraph {
168 friend class LazyCallGraph::EdgeSequence;
169 friend class LazyCallGraph::RefSCC;
187 friend class LazyCallGraph; variable
188 friend class LazyCallGraph::Node;
189 friend class LazyCallGraph::RefSCC;
199 friend class LazyCallGraph; variable
200 friend class LazyCallGraph::Node;
230 friend class LazyCallGraph; variable
231 friend class LazyCallGraph::Node;
[all …]
/external/llvm/unittests/Analysis/
DLazyCallGraphTest.cpp126 LazyCallGraph CG(*M); in TEST()
132 LazyCallGraph::Node &A1 = (I++)->getNode(CG); in TEST()
134 LazyCallGraph::Node &A2 = (I++)->getNode(CG); in TEST()
136 LazyCallGraph::Node &A3 = (I++)->getNode(CG); in TEST()
138 LazyCallGraph::Node &B1 = (I++)->getNode(CG); in TEST()
140 LazyCallGraph::Node &B2 = (I++)->getNode(CG); in TEST()
142 LazyCallGraph::Node &B3 = (I++)->getNode(CG); in TEST()
144 LazyCallGraph::Node &C1 = (I++)->getNode(CG); in TEST()
146 LazyCallGraph::Node &C2 = (I++)->getNode(CG); in TEST()
148 LazyCallGraph::Node &C3 = (I++)->getNode(CG); in TEST()
[all …]
/external/llvm/include/llvm/Analysis/
DLazyCallGraph.h105 class LazyCallGraph {
176 Node &getNode(LazyCallGraph &G);
179 friend class LazyCallGraph::Node;
195 friend class LazyCallGraph; variable
196 friend class LazyCallGraph::SCC;
198 LazyCallGraph *G;
212 Node(LazyCallGraph &G, Function &F);
235 LazyCallGraph &getGraph() const { return *G; } in getGraph()
276 friend class LazyCallGraph; variable
277 friend class LazyCallGraph::Node;
[all …]
DCGSCCPassManager.h29 extern template class PassManager<LazyCallGraph::SCC>;
35 typedef PassManager<LazyCallGraph::SCC> CGSCCPassManager;
37 extern template class AnalysisManager<LazyCallGraph::SCC>;
44 typedef AnalysisManager<LazyCallGraph::SCC> CGSCCAnalysisManager;
52 LazyCallGraph::SCC>;
54 typedef OuterAnalysisManagerProxy<ModuleAnalysisManager, LazyCallGraph::SCC>
98 LazyCallGraph &CG = AM.getResult<LazyCallGraphAnalysis>(M); in run()
101 for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs()) { in run()
105 for (LazyCallGraph::SCC &C : RC) { in run()
146 LazyCallGraph::SCC>;
[all …]
/external/llvm-project/llvm/lib/Analysis/
DCGSCCPassManager.cpp48 template class AllAnalysesOn<LazyCallGraph::SCC>;
49 template class AnalysisManager<LazyCallGraph::SCC, LazyCallGraph &>;
50 template class PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager,
51 LazyCallGraph &, CGSCCUpdateResult &>;
54 LazyCallGraph::SCC, LazyCallGraph &>;
61 PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager, LazyCallGraph &,
62 CGSCCUpdateResult &>::run(LazyCallGraph::SCC &InitialC, in run()
64 LazyCallGraph &G, CGSCCUpdateResult &UR) { in run()
77 LazyCallGraph::SCC *C = &InitialC; in run()
96 PI.runAfterPassInvalidated<LazyCallGraph::SCC>(*Pass, PassPA); in run()
[all …]
DLazyCallGraph.cpp42 void LazyCallGraph::EdgeSequence::insertEdgeInternal(Node &TargetN, in insertEdgeInternal()
48 void LazyCallGraph::EdgeSequence::setEdgeKind(Node &TargetN, Edge::Kind EK) { in setEdgeKind()
52 bool LazyCallGraph::EdgeSequence::removeEdgeInternal(Node &TargetN) { in removeEdgeInternal()
62 static void addEdge(SmallVectorImpl<LazyCallGraph::Edge> &Edges, in addEdge()
63 DenseMap<LazyCallGraph::Node *, int> &EdgeIndexMap, in addEdge()
64 LazyCallGraph::Node &N, LazyCallGraph::Edge::Kind EK) { in addEdge()
69 Edges.emplace_back(LazyCallGraph::Edge(N, EK)); in addEdge()
72 LazyCallGraph::EdgeSequence &LazyCallGraph::Node::populateSlow() { in populateSlow()
108 LazyCallGraph::Edge::Call); in populateSlow()
122 LazyCallGraph::Edge::Ref); in populateSlow()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCGSCCPassManager.cpp39 template class AllAnalysesOn<LazyCallGraph::SCC>;
40 template class AnalysisManager<LazyCallGraph::SCC, LazyCallGraph &>;
41 template class PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager,
42 LazyCallGraph &, CGSCCUpdateResult &>;
45 LazyCallGraph::SCC, LazyCallGraph &>;
52 PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager, LazyCallGraph &,
53 CGSCCUpdateResult &>::run(LazyCallGraph::SCC &InitialC, in run()
55 LazyCallGraph &G, CGSCCUpdateResult &UR) { in run()
68 LazyCallGraph::SCC *C = &InitialC; in run()
82 PI.runAfterPassInvalidated<LazyCallGraph::SCC>(*Pass); in run()
[all …]
DLazyCallGraph.cpp42 void LazyCallGraph::EdgeSequence::insertEdgeInternal(Node &TargetN, in insertEdgeInternal()
48 void LazyCallGraph::EdgeSequence::setEdgeKind(Node &TargetN, Edge::Kind EK) { in setEdgeKind()
52 bool LazyCallGraph::EdgeSequence::removeEdgeInternal(Node &TargetN) { in removeEdgeInternal()
62 static void addEdge(SmallVectorImpl<LazyCallGraph::Edge> &Edges, in addEdge()
63 DenseMap<LazyCallGraph::Node *, int> &EdgeIndexMap, in addEdge()
64 LazyCallGraph::Node &N, LazyCallGraph::Edge::Kind EK) { in addEdge()
69 Edges.emplace_back(LazyCallGraph::Edge(N, EK)); in addEdge()
72 LazyCallGraph::EdgeSequence &LazyCallGraph::Node::populateSlow() { in populateSlow()
108 LazyCallGraph::Edge::Call); in populateSlow()
122 LazyCallGraph::Edge::Ref); in populateSlow()
[all …]
/external/llvm/lib/Analysis/
DLazyCallGraph.cpp23 static void addEdge(SmallVectorImpl<LazyCallGraph::Edge> &Edges, in addEdge()
25 LazyCallGraph::Edge::Kind EK) { in addEdge()
39 Edges.emplace_back(LazyCallGraph::Edge(F, EK)); in addEdge()
45 SmallVectorImpl<LazyCallGraph::Edge> &Edges, in findReferences()
51 addEdge(Edges, EdgeIndexMap, *F, LazyCallGraph::Edge::Ref); in findReferences()
61 LazyCallGraph::Node::Node(LazyCallGraph &G, Function &F) in Node()
81 addEdge(Edges, EdgeIndexMap, *Callee, LazyCallGraph::Edge::Call); in Node()
96 void LazyCallGraph::Node::insertEdgeInternal(Function &Target, Edge::Kind EK) { in insertEdgeInternal()
104 void LazyCallGraph::Node::insertEdgeInternal(Node &TargetN, Edge::Kind EK) { in insertEdgeInternal()
109 void LazyCallGraph::Node::setEdgeKind(Function &TargetF, Edge::Kind EK) { in setEdgeKind()
[all …]
DCGSCCPassManager.cpp16 template class PassManager<LazyCallGraph::SCC>;
17 template class AnalysisManager<LazyCallGraph::SCC>;
20 LazyCallGraph::SCC>;
22 LazyCallGraph::SCC>;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Passes/
DStandardInstrumentations.cpp46 if (any_isa<const LazyCallGraph::SCC *>(IR)) { in unwrapModule()
47 const LazyCallGraph::SCC *C = any_cast<const LazyCallGraph::SCC *>(IR); in unwrapModule()
48 for (const LazyCallGraph::Node &N : *C) { in unwrapModule()
83 void printIR(const LazyCallGraph::SCC *C, StringRef Banner, in printIR()
86 for (const LazyCallGraph::Node &N : *C) { in printIR()
127 if (any_isa<const LazyCallGraph::SCC *>(IR)) { in unwrapAndPrint()
128 const LazyCallGraph::SCC *C = any_cast<const LazyCallGraph::SCC *>(IR); in unwrapAndPrint()
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DCallGraphUpdater.h48 LazyCallGraph *LCG = nullptr;
49 LazyCallGraph::SCC *SCC = nullptr;
66 void initialize(LazyCallGraph &LCG, LazyCallGraph::SCC &SCC, in initialize()
/external/llvm-project/llvm/lib/Passes/
DStandardInstrumentations.cpp105 if (any_isa<const LazyCallGraph::SCC *>(IR)) { in unwrapModule()
106 const LazyCallGraph::SCC *C = any_cast<const LazyCallGraph::SCC *>(IR); in unwrapModule()
107 for (const LazyCallGraph::Node &N : *C) { in unwrapModule()
163 void printIR(raw_ostream &OS, const LazyCallGraph::SCC *C, StringRef Banner, in printIR()
171 for (const LazyCallGraph::Node &N : *C) { in printIR()
222 if (any_isa<const LazyCallGraph::SCC *>(IR)) { in unwrapAndPrint()
223 const LazyCallGraph::SCC *C = any_cast<const LazyCallGraph::SCC *>(IR); in unwrapAndPrint()
612 if (any_isa<const LazyCallGraph::SCC *>(IR)) { in getBisectDescription()
613 const LazyCallGraph::SCC *C = any_cast<const LazyCallGraph::SCC *>(IR); in getBisectDescription()
841 any_isa<const LazyCallGraph::SCC *>(IR)) { in registerCallbacks()
[all …]
/external/llvm-project/llvm/include/llvm/Transforms/Coroutines/
DCoroSplit.h27 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM,
28 LazyCallGraph &CG, CGSCCUpdateResult &UR);
/external/llvm-project/llvm/lib/Transforms/Utils/
DCallGraphUpdater.cpp56 LazyCallGraph::Node &N = LCG->get(*DeadFn); in finalize()
93 LazyCallGraph::Node &N = LCG->get(Fn); in reanalyzeFunction()
94 LazyCallGraph::SCC *C = LCG->lookupSCC(N); in reanalyzeFunction()
134 LazyCallGraph::Node &OldLCGN = LCG->get(OldFn); in replaceFunctionWith()
/external/llvm-project/llvm/unittests/IR/
DPassBuilderCallbacksTest.cpp186 struct MockPassHandle<LazyCallGraph::SCC>
187 : MockPassHandleBase<MockPassHandle<LazyCallGraph::SCC>, LazyCallGraph::SCC,
188 CGSCCAnalysisManager, LazyCallGraph &,
191 PreservedAnalyses(LazyCallGraph::SCC &, CGSCCAnalysisManager &,
192 LazyCallGraph &G, CGSCCUpdateResult &UR));
194 static void invalidateSCC(LazyCallGraph::SCC &C, CGSCCAnalysisManager &, in invalidateSCC()
195 LazyCallGraph &, CGSCCUpdateResult &UR) { in invalidateSCC()
241 struct MockAnalysisHandle<LazyCallGraph::SCC>
242 : MockAnalysisHandleBase<MockAnalysisHandle<LazyCallGraph::SCC>,
243 LazyCallGraph::SCC, CGSCCAnalysisManager,
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DArgumentPromotion.h29 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM,
30 LazyCallGraph &CG, CGSCCUpdateResult &UR);
DFunctionAttrs.h51 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM,
52 LazyCallGraph &CG, CGSCCUpdateResult &UR);
/external/llvm-project/llvm/include/llvm/Transforms/IPO/
DArgumentPromotion.h41 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM,
42 LazyCallGraph &CG, CGSCCUpdateResult &UR);
DFunctionAttrs.h51 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM,
52 LazyCallGraph &CG, CGSCCUpdateResult &UR);

123