Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DCGSCCPassManager.h112 extern template class AllAnalysesOn<LazyCallGraph::SCC>;
114 extern template class AnalysisManager<LazyCallGraph::SCC, LazyCallGraph &>;
123 AnalysisManager<LazyCallGraph::SCC, LazyCallGraph &>;
130 PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager, LazyCallGraph &,
131 CGSCCUpdateResult &>::run(LazyCallGraph::SCC &InitialC,
133 LazyCallGraph &G, CGSCCUpdateResult &UR);
134 extern template class PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager,
135 LazyCallGraph &, CGSCCUpdateResult &>;
143 PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager, LazyCallGraph &,
148 struct RequireAnalysisPass<AnalysisT, LazyCallGraph::SCC, CGSCCAnalysisManager,
[all …]
H A DLazyCallGraph.h110 class LazyCallGraph {
164 friend class LazyCallGraph::EdgeSequence;
165 friend class LazyCallGraph::RefSCC;
183 friend class LazyCallGraph; variable
184 friend class LazyCallGraph::Node;
185 friend class LazyCallGraph::RefSCC;
195 friend class LazyCallGraph; variable
196 friend class LazyCallGraph::Node;
226 friend class LazyCallGraph; variable
227 friend class LazyCallGraph::Node;
[all …]
H A DMLInlineAdvisor.h35 void onPassEntry(LazyCallGraph::SCC *SCC) override;
36 void onPassExit(LazyCallGraph::SCC *SCC) override;
78 LazyCallGraph &CG;
84 std::map<const LazyCallGraph::Node *, unsigned> FunctionLevels;
87 llvm::SmallPtrSet<const LazyCallGraph::Node *, 1> NodesInLastSCC;
88 DenseSet<const LazyCallGraph::Node *> AllNodes;
H A DInlineAdvisor.h186 virtual void onPassEntry(LazyCallGraph::SCC *SCC = nullptr) {}
191 virtual void onPassExit(LazyCallGraph::SCC *SCC = nullptr) {}
355 PreservedAnalyses run(LazyCallGraph::SCC &InitialC, CGSCCAnalysisManager &AM,
356 LazyCallGraph &CG, CGSCCUpdateResult &UR);
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DCGSCCPassManager.cpp49 template class AllAnalysesOn<LazyCallGraph::SCC>;
50 template class AnalysisManager<LazyCallGraph::SCC, LazyCallGraph &>;
51 template class PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager,
52 LazyCallGraph &, CGSCCUpdateResult &>;
55 LazyCallGraph::SCC, LazyCallGraph &>;
62 PassManager<LazyCallGraph::SCC, CGSCCAnalysisManager, LazyCallGraph &,
63 CGSCCUpdateResult &>::run(LazyCallGraph::SCC &InitialC, in run()
65 LazyCallGraph &G, CGSCCUpdateResult &UR) { in run()
75 LazyCallGraph::SCC *C = &InitialC; in run()
90 PI.runAfterPassInvalidated<LazyCallGraph::SCC>(*Pass, PassPA); in run()
[all …]
H A DLazyCallGraph.cpp40 void LazyCallGraph::EdgeSequence::insertEdgeInternal(Node &TargetN, in insertEdgeInternal()
46 void LazyCallGraph::EdgeSequence::setEdgeKind(Node &TargetN, Edge::Kind EK) { in setEdgeKind()
50 bool LazyCallGraph::EdgeSequence::removeEdgeInternal(Node &TargetN) { in removeEdgeInternal()
60 static void addEdge(SmallVectorImpl<LazyCallGraph::Edge> &Edges, in addEdge()
61 DenseMap<LazyCallGraph::Node *, int> &EdgeIndexMap, in addEdge()
62 LazyCallGraph::Node &N, LazyCallGraph::Edge::Kind EK) { in addEdge()
67 Edges.emplace_back(LazyCallGraph::Edge(N, EK)); in addEdge()
70 LazyCallGraph::EdgeSequence &LazyCallGraph::Node::populateSlow() { in populateSlow()
106 LazyCallGraph::Edge::Call); in populateSlow()
120 LazyCallGraph::Edge::Ref); in populateSlow()
[all …]
H A DMLInlineAdvisor.cpp142 void MLInlineAdvisor::onPassEntry(LazyCallGraph::SCC *LastSCC) { in onPassEntry()
189 void MLInlineAdvisor::onPassExit(LazyCallGraph::SCC *LastSCC) { in onPassExit()
H A DCMakeLists.txt84 LazyCallGraph.cpp
H A DInlineAdvisor.cpp640 LazyCallGraph::SCC &InitialC, CGSCCAnalysisManager &AM, LazyCallGraph &CG, in run()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DCallGraphUpdater.h49 LazyCallGraph *LCG = nullptr;
50 LazyCallGraph::SCC *SCC = nullptr;
67 void initialize(LazyCallGraph &LCG, LazyCallGraph::SCC &SCC, in initialize()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCallGraphUpdater.cpp58 LazyCallGraph::Node &N = LCG->get(*DeadFn); in finalize()
95 LazyCallGraph::Node &N = LCG->get(Fn); in reanalyzeFunction()
96 LazyCallGraph::SCC *C = LCG->lookupSCC(N); in reanalyzeFunction()
139 LazyCallGraph::Node &OldLCGN = LCG->get(OldFn); in replaceFunctionWith()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Coroutines/
H A DCoroSplit.h27 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM,
28 LazyCallGraph &CG, CGSCCUpdateResult &UR);
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/IPO/
H A DArgumentPromotion.h29 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM,
30 LazyCallGraph &CG, CGSCCUpdateResult &UR);
H A DFunctionAttrs.h51 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM,
52 LazyCallGraph &CG, CGSCCUpdateResult &UR);
H A DOpenMPOpt.h54 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM,
55 LazyCallGraph &CG, CGSCCUpdateResult &UR);
H A DInliner.h103 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM,
104 LazyCallGraph &CG, CGSCCUpdateResult &UR);
H A DSampleProfileProbe.h74 void runAfterPass(const LazyCallGraph::SCC *C);
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp2004 LazyCallGraph::Node &N, const coro::Shape &Shape, in updateCallGraphAfterCoroutineSplit()
2005 const SmallVectorImpl<Function *> &Clones, LazyCallGraph::SCC &C, in updateCallGraphAfterCoroutineSplit()
2006 LazyCallGraph &CG, CGSCCAnalysisManager &AM, CGSCCUpdateResult &UR, in updateCallGraphAfterCoroutineSplit()
2050 static void replacePrepare(CallInst *Prepare, LazyCallGraph &CG, in replacePrepare()
2051 LazyCallGraph::SCC &C) { in replacePrepare()
2086 static bool replaceAllPrepares(Function *PrepareFn, LazyCallGraph &CG, in replaceAllPrepares()
2087 LazyCallGraph::SCC &C) { in replaceAllPrepares()
2107 PreservedAnalyses CoroSplitPass::run(LazyCallGraph::SCC &C, in run()
2109 LazyCallGraph &CG, CGSCCUpdateResult &UR) { in run()
2123 SmallVector<LazyCallGraph::Node *> Coroutines; in run()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Passes/
H A DStandardInstrumentations.cpp136 if (const auto **C = any_cast<const LazyCallGraph::SCC *>(&IR)) { in unwrapModule()
137 for (const LazyCallGraph::Node &N : **C) { in unwrapModule()
173 void printIR(raw_ostream &OS, const LazyCallGraph::SCC *C) { in printIR()
174 for (const LazyCallGraph::Node &N : *C) { in printIR()
196 if (const auto **C = any_cast<const LazyCallGraph::SCC *>(&IR)) in getIRName()
213 bool sccContainsFilterPrintFunc(const LazyCallGraph::SCC &C) { in sccContainsFilterPrintFunc()
215 [](const LazyCallGraph::Node &N) { in sccContainsFilterPrintFunc()
228 if (const auto **C = any_cast<const LazyCallGraph::SCC *>(&IR)) in shouldPrintIR()
259 if (const auto **C = any_cast<const LazyCallGraph::SCC *>(&IR)) { in unwrapAndPrint()
297 if (const auto **C = any_cast<const LazyCallGraph::SCC *>(&IR)) in getModuleForComparison()
[all …]
H A DPassBuilder.cpp300 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &, in run()
301 LazyCallGraph &, CGSCCUpdateResult &UR) { in run()
314 Result run(LazyCallGraph::SCC &, CGSCCAnalysisManager &, LazyCallGraph &G) { in run()
1374 LazyCallGraph::SCC, CGSCCAnalysisManager, LazyCallGraph &, \ in parseCGSCCPass()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp105 else if (const auto **C = any_cast<const LazyCallGraph::SCC *>(&IR)) in runAfterPass()
118 void PseudoProbeVerifier::runAfterPass(const LazyCallGraph::SCC *C) { in runAfterPass()
119 for (const LazyCallGraph::Node &N : *C) in runAfterPass()
H A DInliner.cpp743 PreservedAnalyses InlinerPass::run(LazyCallGraph::SCC &InitialC, in run()
744 CGSCCAnalysisManager &AM, LazyCallGraph &CG, in run()
850 LazyCallGraph::Node &N = *CG.lookup(F); in run()
885 LazyCallGraph::SCC *CalleeSCC = CG.lookupSCC(*CG.lookup(Callee)); in run()
1029 LazyCallGraph::SCC *OldC = C; in run()
H A DArgumentPromotion.cpp804 PreservedAnalyses ArgumentPromotionPass::run(LazyCallGraph::SCC &C, in run()
806 LazyCallGraph &CG, in run()
818 for (LazyCallGraph::Node &N : C) { in run()
/openbsd-src/gnu/usr.bin/clang/libLLVMAnalysis/
H A DMakefile65 LazyCallGraph.cpp \
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/lib/Analysis/
H A DBUILD.gn73 "LazyCallGraph.cpp",

12