Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DLazyCallGraphTest.cpp219 static LazyCallGraph buildCG(Module &M) { in buildCG()
222 LazyCallGraph CG(M, TLI); in buildCG()
229 LazyCallGraph CG = buildCG(*M); in TEST()
235 LazyCallGraph::Node &A1 = (I++)->getNode(); in TEST()
237 LazyCallGraph::Node &A2 = (I++)->getNode(); in TEST()
239 LazyCallGraph::Node &A3 = (I++)->getNode(); in TEST()
241 LazyCallGraph::Node &B1 = (I++)->getNode(); in TEST()
243 LazyCallGraph::Node &B2 = (I++)->getNode(); in TEST()
245 LazyCallGraph::Node &B3 = (I++)->getNode(); in TEST()
247 LazyCallGraph::Node &C1 = (I++)->getNode(); in TEST()
[all …]
DCGSCCPassManagerTest.cpp58 Result run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM, LazyCallGraph &) { in run() argument
140 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM, in run()
141 LazyCallGraph &CG, CGSCCUpdateResult &UR) { in run()
145 std::function<PreservedAnalyses(LazyCallGraph::SCC &, CGSCCAnalysisManager &,
146 LazyCallGraph &, CGSCCUpdateResult &)>
273 LambdaSCCPass([&](LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM, in TEST_F()
274 LazyCallGraph &CG, CGSCCUpdateResult &UR) { in TEST_F()
288 for (LazyCallGraph::Node &N : C) { in TEST_F()
350 LambdaSCCPass([&](LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM, in TEST_F()
351 LazyCallGraph &CG, CGSCCUpdateResult &UR) { in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.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 …]
DCGSCCPassManagerTest.cpp62 Result run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM) { in run()
152 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM) { in run()
168 for (LazyCallGraph::Node &N : C) in run()
176 for (LazyCallGraph::Node &N : C) { in run()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCGSCCPassManager.cpp40 template class AllAnalysesOn<LazyCallGraph::SCC>;
41 template class AnalysisManager<LazyCallGraph::SCC, LazyCallGraph &>;
42 template class PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager,
43 LazyCallGraph &, CGSCCUpdateResult &>;
46 LazyCallGraph::SCC, LazyCallGraph &>;
53 PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager, LazyCallGraph &,
54 CGSCCUpdateResult &>::run(LazyCallGraph::SCC &InitialC, in run()
56 LazyCallGraph &G, CGSCCUpdateResult &UR) { in run()
64 LazyCallGraph::SCC *C = &InitialC; in run()
103 PA.preserveSet<AllAnalysesOn<LazyCallGraph::SCC>>(); in run()
[all …]
DLazyCallGraph.cpp43 void LazyCallGraph::EdgeSequence::insertEdgeInternal(Node &TargetN, in insertEdgeInternal()
49 void LazyCallGraph::EdgeSequence::setEdgeKind(Node &TargetN, Edge::Kind EK) { in setEdgeKind()
53 bool LazyCallGraph::EdgeSequence::removeEdgeInternal(Node &TargetN) { in removeEdgeInternal()
63 static void addEdge(SmallVectorImpl<LazyCallGraph::Edge> &Edges, in addEdge()
64 DenseMap<LazyCallGraph::Node *, int> &EdgeIndexMap, in addEdge()
65 LazyCallGraph::Node &N, LazyCallGraph::Edge::Kind EK) { in addEdge()
70 Edges.emplace_back(LazyCallGraph::Edge(N, EK)); in addEdge()
73 LazyCallGraph::EdgeSequence &LazyCallGraph::Node::populateSlow() { in populateSlow()
109 LazyCallGraph::Edge::Call); in populateSlow()
123 LazyCallGraph::Edge::Ref); in populateSlow()
[all …]
DCMakeLists.txt43 LazyCallGraph.cpp
/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>;
DCMakeLists.txt41 LazyCallGraph.cpp
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPassBuilderCallbacksTest.cpp182 struct MockPassHandle<LazyCallGraph::SCC>
183 : MockPassHandleBase<MockPassHandle<LazyCallGraph::SCC>, LazyCallGraph::SCC,
184 CGSCCAnalysisManager, LazyCallGraph &,
187 PreservedAnalyses(LazyCallGraph::SCC &, CGSCCAnalysisManager &,
188 LazyCallGraph &G, CGSCCUpdateResult &UR));
232 struct MockAnalysisHandle<LazyCallGraph::SCC>
233 : MockAnalysisHandleBase<MockAnalysisHandle<LazyCallGraph::SCC>,
234 LazyCallGraph::SCC, CGSCCAnalysisManager,
235 LazyCallGraph &> {
236 MOCK_METHOD3(run, Analysis::Result(LazyCallGraph::SCC &,
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/IPO/
DArgumentPromotion.h30 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM,
31 LazyCallGraph &CG, CGSCCUpdateResult &UR);
DFunctionAttrs.h51 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM,
52 LazyCallGraph &CG, CGSCCUpdateResult &UR);
DInliner.h104 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM,
105 LazyCallGraph &CG, CGSCCUpdateResult &UR);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DInliner.cpp804 PreservedAnalyses InlinerPass::run(LazyCallGraph::SCC &InitialC, in run()
805 CGSCCAnalysisManager &AM, LazyCallGraph &CG, in run()
908 LazyCallGraph::Node &N = *CG.lookup(F); in run()
1077 LazyCallGraph::Node &CalleeN = *CG.lookup(*InlinedCallee); in run()
1078 for (LazyCallGraph::Edge &E : *CalleeN) in run()
1088 LazyCallGraph::SCC *OldC = C; in run()
DArgumentPromotion.cpp960 PreservedAnalyses ArgumentPromotionPass::run(LazyCallGraph::SCC &C, in run()
962 LazyCallGraph &CG, in run()
970 for (LazyCallGraph::Node &N : C) { in run()
/external/llvm/include/llvm/Transforms/IPO/
DFunctionAttrs.h33 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM);
/external/llvm/lib/Passes/
DPassBuilder.cpp145 PreservedAnalyses run(LazyCallGraph::SCC &C, in run()
146 AnalysisManager<LazyCallGraph::SCC> &) { in run()
159 Result run(LazyCallGraph::SCC &, AnalysisManager<LazyCallGraph::SCC> &) { in run()
/external/llvm/test/Other/
Dpass-pipeline-parsing.ll109 ; CHECK-TWO-NOOP-CG: Starting llvm::LazyCallGraph::SCC pass manager run
112 ; CHECK-TWO-NOOP-CG: Finished llvm::LazyCallGraph::SCC pass manager run
125 ; CHECK-NESTED-MP-CG-FP: Starting llvm::LazyCallGraph::SCC pass manager run
132 ; CHECK-NESTED-MP-CG-FP: Finished llvm::LazyCallGraph::SCC pass manager run
Dnew-pass-manager.ll26 ; CHECK-CGSCC-PASS-NEXT: Starting llvm::LazyCallGraph::SCC pass manager run
28 ; CHECK-CGSCC-PASS-NEXT: Finished llvm::LazyCallGraph::SCC pass manager run
132 ; CHECK-ANALYSES: Starting llvm::LazyCallGraph::SCC pass manager run
238 ; CHECK-INVALIDATE-ALL-CG: Starting llvm::LazyCallGraph::SCC pass manager run
256 ; CHECK-INVALIDATE-ALL-CG: Finished llvm::LazyCallGraph::SCC pass manager run
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Passes/
DPassBuilder.cpp234 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &, in run()
235 LazyCallGraph &, CGSCCUpdateResult &UR) { in run()
248 Result run(LazyCallGraph::SCC &, CGSCCAnalysisManager &, LazyCallGraph &G) { in run()
1556 LazyCallGraph::SCC, CGSCCAnalysisManager, LazyCallGraph &, \ in parseCGSCCPass()

12