/external/clang/lib/Analysis/ |
D | CallGraph.cpp | 32 CallGraph *G; 36 CGBuilder(CallGraph *g, CallGraphNode *N) in CGBuilder() 94 void CallGraph::addNodesForBlocks(DeclContext *D) { in addNodesForBlocks() 103 CallGraph::CallGraph() { in CallGraph() function in CallGraph 107 CallGraph::~CallGraph() { in ~CallGraph() 111 bool CallGraph::includeInGraph(const Decl *D) { in includeInGraph() 130 void CallGraph::addNodeForDecl(Decl* D, bool IsGlobal) { in addNodeForDecl() 142 CallGraphNode *CallGraph::getNode(const Decl *F) const { in getNode() 148 CallGraphNode *CallGraph::getOrInsertNode(Decl *F) { in getOrInsertNode() 163 void CallGraph::print(raw_ostream &OS) const { in print() [all …]
|
D | CMakeLists.txt | 11 CallGraph.cpp
|
D | Android.mk | 19 CallGraph.cpp \
|
/external/llvm/include/llvm/Analysis/ |
D | CallGraph.h | 75 class CallGraph { 108 explicit CallGraph(Module &M); 109 CallGraph(CallGraph &&Arg); 110 ~CallGraph(); 272 friend class CallGraph; 300 typedef CallGraph Result; 307 CallGraph run(Module *M) { return CallGraph(*M); } in run() 321 std::unique_ptr<CallGraph> G; 331 const CallGraph &getCallGraph() const { return *G; } in getCallGraph() 332 CallGraph &getCallGraph() { return *G; } in getCallGraph() [all …]
|
D | CallGraphSCCPass.h | 30 class CallGraph; variable 48 virtual bool doInitialization(CallGraph &CG) { in doInitialization() 64 virtual bool doFinalization(CallGraph &CG) { in doFinalization()
|
D | GlobalsModRef.h | 81 CallGraph &CG); 105 void AnalyzeCallGraph(CallGraph &CG, Module &M); 111 void CollectSCCMembership(CallGraph &CG);
|
/external/clang/include/clang/Analysis/ |
D | CallGraph.h | 34 class CallGraph : public RecursiveASTVisitor<CallGraph> { 46 CallGraph(); 47 ~CallGraph(); 159 void addCallee(CallGraphNode *N, CallGraph *CG) { in addCallee() 199 template <> struct GraphTraits<clang::CallGraph*> 202 static NodeType *getEntryNode(clang::CallGraph *CGN) { 208 typedef mapped_iterator<clang::CallGraph::iterator, DerefFun> nodes_iterator; 210 static nodes_iterator nodes_begin(clang::CallGraph *CG) { 213 static nodes_iterator nodes_end (clang::CallGraph *CG) { 220 static unsigned size(clang::CallGraph *CG) { [all …]
|
/external/llvm/lib/Analysis/ |
D | CallPrinter.cpp | 25 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 CallGraphPrinter()
|
D | CallGraph.cpp | 23 CallGraph::CallGraph(Module &M) in CallGraph() function in CallGraph 35 CallGraph::CallGraph(CallGraph &&Arg) in CallGraph() function in CallGraph 44 CallGraph::~CallGraph() { in ~CallGraph() 57 void CallGraph::addToCallGraph(Function *F) { in addToCallGraph() 100 void CallGraph::print(raw_ostream &OS) const { in print() 131 void CallGraph::dump() const { print(dbgs()); } in dump() 139 Function *CallGraph::removeFunctionFromModule(CallGraphNode *CGN) { in removeFunctionFromModule() 154 void CallGraph::spliceFunction(const Function *From, const Function *To) { in spliceFunction() 167 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) { in getOrInsertFunction() 284 G.reset(new CallGraph(M)); in runOnModule()
|
D | CallGraphSCCPass.cpp | 59 bool doInitialization(CallGraph &CG); 60 bool doFinalization(CallGraph &CG); 96 bool RunAllPassesOnSCC(CallGraphSCC &CurSCC, CallGraph &CG, 100 CallGraph &CG, bool &CallGraphUpToDate, 102 bool RefreshCallGraph(CallGraphSCC &CurSCC, CallGraph &CG, 112 CallGraph &CG, bool &CallGraphUpToDate, in RunPassOnSCC() 178 CallGraph &CG, bool CheckingMode) { in RefreshCallGraph() 380 bool CGPassManager::RunAllPassesOnSCC(CallGraphSCC &CurSCC, CallGraph &CG, in RunAllPassesOnSCC() 441 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); in runOnModule() 445 scc_iterator<CallGraph*> CGI = scc_begin(&CG); in runOnModule() [all …]
|
D | GlobalsModRef.cpp | 471 void GlobalsAAResult::CollectSCCMembership(CallGraph &CG) { in CollectSCCMembership() 475 for (scc_iterator<CallGraph *> I = scc_begin(&CG); !I.isAtEnd(); ++I) { in CollectSCCMembership() 490 void GlobalsAAResult::AnalyzeCallGraph(CallGraph &CG, Module &M) { in AnalyzeCallGraph() 493 for (scc_iterator<CallGraph *> I = scc_begin(&CG); !I.isAtEnd(); ++I) { in AnalyzeCallGraph() 947 CallGraph &CG) { in analyzeModule()
|
D | CMakeLists.txt | 15 CallGraph.cpp
|
D | Android.mk | 13 CallGraph.cpp \
|
/external/llvm/unittests/Analysis/ |
D | CallGraphTest.cpp | 48 CallGraph CG(M); in TEST() 55 CallGraph CG(M); in TEST() 57 canSpecializeGraphTraitsIterators(const_cast<const CallGraph *>(&CG)); in TEST()
|
/external/llvm/include/llvm/Transforms/IPO/ |
D | InlinerPass.h | 48 bool doFinalization(CallGraph &CG) override; 75 bool removeDeadFunctions(CallGraph &CG, bool AlwaysInlineOnly = false);
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Cloning.h | 43 class CallGraph; variable 209 explicit InlineFunctionInfo(CallGraph *cg = nullptr, 215 CallGraph *CG;
|
/external/llvm/tools/opt/ |
D | PrintSCC.cpp | 94 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); in runOnModule() 97 for (scc_iterator<CallGraph*> SCCI = scc_begin(&CG); !SCCI.isAtEnd(); in runOnModule()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DebugCheckers.cpp | 127 CallGraph CG; in checkASTDecl() 147 CallGraph CG; in checkASTDecl()
|
/external/llvm/lib/Transforms/IPO/ |
D | PruneEH.cpp | 67 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); in runOnSCC() 252 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); in DeleteBasicBlock()
|
D | InlineAlways.cpp | 60 bool doFinalization(CallGraph &CG) override { in doFinalization()
|
D | Inliner.cpp | 474 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); in runOnSCC() 666 bool Inliner::doFinalization(CallGraph &CG) { in doFinalization() 671 bool Inliner::removeDeadFunctions(CallGraph &CG, bool AlwaysInlineOnly) { in removeDeadFunctions()
|
D | Internalize.cpp | 174 CallGraph *CG = CGPass ? &CGPass->getCallGraph() : nullptr; in runOnModule()
|
D | ArgumentPromotion.cpp | 95 bool doInitialization(CallGraph &CG) override; 750 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); in DoPromotion() 1017 bool ArgPromotion::doInitialization(CallGraph &CG) { in doInitialization()
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | AnalysisConsumer.cpp | 462 CallGraph CG; in HandleDeclsCallGraph() 475 llvm::ReversePostOrderTraversal<clang::CallGraph*> RPOT(&CG); in HandleDeclsCallGraph() 476 for (llvm::ReversePostOrderTraversal<clang::CallGraph*>::rpo_iterator in HandleDeclsCallGraph()
|
/external/llvm/unittests/IR/ |
D | LegacyPassManagerTest.cpp | 171 struct CGPass : public PassTest<CallGraph, CallGraphSCCPass> {
|