Home
last modified time | relevance | path

Searched refs:CallGraph (Results 1 – 25 of 51) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DCallGraph.h73 class CallGraph {
102 explicit CallGraph(Module &M);
103 CallGraph(CallGraph &&Arg);
104 ~CallGraph();
270 friend class CallGraph;
299 using Result = CallGraph;
304 CallGraph run(Module &M, ModuleAnalysisManager &) { return CallGraph(M); } in run()
325 std::unique_ptr<CallGraph> G;
335 const CallGraph &getCallGraph() const { return *G; } in getCallGraph()
336 CallGraph &getCallGraph() { return *G; } in getCallGraph()
[all …]
DCallGraphSCCPass.h29 class CallGraph; variable
48 virtual bool doInitialization(CallGraph &CG) { in doInitialization()
63 virtual bool doFinalization(CallGraph &CG) { in doFinalization()
88 const CallGraph &CG; // The call graph for this SCC.
93 CallGraphSCC(CallGraph &cg, void *context) : CG(cg), Context(context) {} in CallGraphSCC()
111 const CallGraph &getCallGraph() { return CG; } in getCallGraph()
DGlobalsModRef.h89 CallGraph &CG);
115 void AnalyzeCallGraph(CallGraph &CG, Module &M);
121 void CollectSCCMembership(CallGraph &CG);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCallPrinter.cpp25 template <> struct DOTGraphTraits<CallGraph *> : public DefaultDOTGraphTraits {
28 static std::string getGraphName(CallGraph *Graph) { return "Call graph"; } in getGraphName()
30 std::string getNodeLabel(CallGraphNode *Node, CallGraph *Graph) { in getNodeLabel()
39 static CallGraph *getGraph(CallGraphWrapperPass *P) { in getGraph()
49 : public DOTGraphTraitsModuleViewer<CallGraphWrapperPass, true, CallGraph *,
54 : DOTGraphTraitsModuleViewer<CallGraphWrapperPass, true, CallGraph *, in CallGraphViewer()
62 CallGraphWrapperPass, true, CallGraph *,
67 : DOTGraphTraitsModulePrinter<CallGraphWrapperPass, true, CallGraph *, in CallGraphDOTPrinter()
DCallGraph.cpp31 CallGraph::CallGraph(Module &M) in CallGraph() function in CallGraph
39 CallGraph::CallGraph(CallGraph &&Arg) in CallGraph() function in CallGraph
47 CallGraph::~CallGraph() { in ~CallGraph()
60 void CallGraph::addToCallGraph(Function *F) { in addToCallGraph()
89 void CallGraph::print(raw_ostream &OS) const { in print()
112 LLVM_DUMP_METHOD void CallGraph::dump() const { print(dbgs()); } in dump()
121 Function *CallGraph::removeFunctionFromModule(CallGraphNode *CGN) { in removeFunctionFromModule()
135 void CallGraph::spliceFunction(const Function *From, const Function *To) { in spliceFunction()
148 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) { in getOrInsertFunction()
273 G.reset(new CallGraph(M)); in runOnModule()
DCallGraphSCCPass.cpp69 bool doInitialization(CallGraph &CG);
70 bool doFinalization(CallGraph &CG);
104 bool RunAllPassesOnSCC(CallGraphSCC &CurSCC, CallGraph &CG,
108 CallGraph &CG, bool &CallGraphUpToDate,
110 bool RefreshCallGraph(const CallGraphSCC &CurSCC, CallGraph &CG,
119 CallGraph &CG, bool &CallGraphUpToDate, in RunPassOnSCC()
201 bool CGPassManager::RefreshCallGraph(const CallGraphSCC &CurSCC, CallGraph &CG, in RefreshCallGraph()
403 bool CGPassManager::RunAllPassesOnSCC(CallGraphSCC &CurSCC, CallGraph &CG, in RunAllPassesOnSCC()
464 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); in runOnModule()
468 scc_iterator<CallGraph*> CGI = scc_begin(&CG); in runOnModule()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dcall_graph.cpp22 CallGraph::CallGraph(opt::IRContext* context) { in CallGraph() function in spvtools::fuzz::CallGraph
46 void CallGraph::BuildGraphAndGetDepthOfFunctionCalls( in BuildGraphAndGetDepthOfFunctionCalls()
95 void CallGraph::ComputeTopologicalOrderOfFunctions() { in ComputeTopologicalOrderOfFunctions()
136 void CallGraph::ComputeInterproceduralFunctionCallDepths( in ComputeInterproceduralFunctionCallDepths()
158 void CallGraph::PushDirectCallees(uint32_t function_id, in PushDirectCallees()
165 std::set<uint32_t> CallGraph::GetIndirectCallees(uint32_t function_id) const { in GetIndirectCallees()
Dcall_graph.h30 class CallGraph {
33 explicit CallGraph(opt::IRContext* context);
/third_party/spirv-tools/source/fuzz/
Dcall_graph.cpp22 CallGraph::CallGraph(opt::IRContext* context) { in CallGraph() function in spvtools::fuzz::CallGraph
46 void CallGraph::BuildGraphAndGetDepthOfFunctionCalls( in BuildGraphAndGetDepthOfFunctionCalls()
95 void CallGraph::ComputeTopologicalOrderOfFunctions() { in ComputeTopologicalOrderOfFunctions()
136 void CallGraph::ComputeInterproceduralFunctionCallDepths( in ComputeInterproceduralFunctionCallDepths()
158 void CallGraph::PushDirectCallees(uint32_t function_id, in PushDirectCallees()
165 std::set<uint32_t> CallGraph::GetIndirectCallees(uint32_t function_id) const { in GetIndirectCallees()
Dcall_graph.h30 class CallGraph {
33 explicit CallGraph(opt::IRContext* context);
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dcall_graph.cpp22 CallGraph::CallGraph(opt::IRContext* context) { in CallGraph() function in spvtools::fuzz::CallGraph
46 void CallGraph::BuildGraphAndGetDepthOfFunctionCalls( in BuildGraphAndGetDepthOfFunctionCalls()
95 void CallGraph::ComputeTopologicalOrderOfFunctions() { in ComputeTopologicalOrderOfFunctions()
136 void CallGraph::ComputeInterproceduralFunctionCallDepths( in ComputeInterproceduralFunctionCallDepths()
158 void CallGraph::PushDirectCallees(uint32_t function_id, in PushDirectCallees()
165 std::set<uint32_t> CallGraph::GetIndirectCallees(uint32_t function_id) const { in GetIndirectCallees()
Dcall_graph.h30 class CallGraph {
33 explicit CallGraph(opt::IRContext* context);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DInliner.h24 class CallGraph; variable
39 bool doInitialization(CallGraph &CG) override;
49 bool doFinalization(CallGraph &CG) override;
62 bool removeDeadFunctions(CallGraph &CG, bool AlwaysInlineOnly = false);
DInternalize.h32 class CallGraph; variable
63 bool internalizeModule(Module &TheModule, CallGraph *CG = nullptr);
72 CallGraph *CG = nullptr) {
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dcall_graph_test.cpp284 const auto graph = CallGraph(context.get()); in TEST()
304 const auto graph = CallGraph(context.get()); in TEST()
323 const auto graph = CallGraph(context.get()); in TEST()
342 const auto graph = CallGraph(context.get()); in TEST()
365 const auto graph = CallGraph(context.get()); in TEST()
/third_party/spirv-tools/test/fuzz/
Dcall_graph_test.cpp284 const auto graph = CallGraph(context.get()); in TEST()
304 const auto graph = CallGraph(context.get()); in TEST()
323 const auto graph = CallGraph(context.get()); in TEST()
342 const auto graph = CallGraph(context.get()); in TEST()
365 const auto graph = CallGraph(context.get()); in TEST()
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
Dcall_graph_test.cpp284 const auto graph = CallGraph(context.get()); in TEST()
304 const auto graph = CallGraph(context.get()); in TEST()
323 const auto graph = CallGraph(context.get()); in TEST()
342 const auto graph = CallGraph(context.get()); in TEST()
365 const auto graph = CallGraph(context.get()); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DPruneEH.cpp51 static bool SimplifyFunction(Function *F, CallGraph &CG);
52 static void DeleteBasicBlock(BasicBlock *BB, CallGraph &CG);
63 static bool runImpl(CallGraphSCC &SCC, CallGraph &CG) { in runImpl()
181 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); in runOnSCC()
189 static bool SimplifyFunction(Function *F, CallGraph &CG) { in SimplifyFunction()
232 static void DeleteBasicBlock(BasicBlock *BB, CallGraph &CG) { in DeleteBasicBlock()
DSyntheticCountsPropagation.cpp128 CallGraph CG(M); in run()
130 SyntheticCountsUtils<const CallGraph *>::propagate( in run()
DInternalize.cpp150 bool InternalizePass::internalizeModule(Module &M, CallGraph *CG) { in internalizeModule()
269 CallGraph *CG = CGPass ? &CGPass->getCallGraph() : nullptr; in runOnModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroInternal.h20 class CallGraph; variable
52 CallGraph &CG, CallGraphSCC &SCC);
227 Value *emitAlloc(IRBuilder<> &Builder, Value *Size, CallGraph *CG) const;
232 void emitDealloc(IRBuilder<> &Builder, Value *Ptr, CallGraph *CG) const;
DCoroSplit.cpp163 CallGraph *CG) { in maybeFreeRetconStorage()
175 bool InResume, CallGraph *CG) { in replaceFallthroughCoroEnd()
224 Value *FramePtr, bool InResume, CallGraph *CG){ in replaceUnwindCoroEnd()
251 Value *FramePtr, bool InResume, CallGraph *CG) { in replaceCoroEnd()
786 static void removeCoroEnds(const coro::Shape &Shape, CallGraph *CG) { in removeCoroEnds()
1357 static void splitCoroutine(Function &F, CallGraph &CG, CallGraphSCC &SCC) { in splitCoroutine()
1396 static void prepareForSplit(Function &F, CallGraph &CG) { in prepareForSplit()
1428 static void createDevirtTriggerFunc(CallGraph &CG, CallGraphSCC &SCC) { in createDevirtTriggerFunc()
1451 static void replacePrepare(CallInst *Prepare, CallGraph &CG) { in replacePrepare()
1511 static bool replaceAllPrepares(Function *PrepareFn, CallGraph &CG) { in replaceAllPrepares()
[all …]
DCoroutines.cpp189 static void buildCGN(CallGraph &CG, CallGraphNode *Node) { in buildCGN()
209 CallGraph &CG, CallGraphSCC &SCC) { in updateCallGraph()
494 static void addCallToCallGraph(CallGraph *CG, CallInst *Call, Function *Callee){ in addCallToCallGraph()
500 CallGraph *CG) const { in emitAlloc()
521 CallGraph *CG) const { in emitDealloc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DCloning.h38 class CallGraph; variable
175 explicit InlineFunctionInfo(CallGraph *cg = nullptr,
186 CallGraph *CG;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAnnotateKernelFeatures.cpp59 bool doInitialization(CallGraph &CG) override;
365 bool AMDGPUAnnotateKernelFeatures::doInitialization(CallGraph &CG) { in doInitialization()

123