/external/clang/include/clang/Analysis/ |
CallGraph.h | 1 //== CallGraph.h - AST-based Call graph ------------------------*- C++ -*--==// 10 // This file declares the AST-based CallGraph. 34 class CallGraph : public RecursiveASTVisitor<CallGraph> { 46 CallGraph(); 47 ~CallGraph(); 159 void addCallee(CallGraphNode *N, CallGraph *CG) { 199 template <> struct GraphTraits<clang::CallGraph*> 202 static NodeType *getEntryNode(clang::CallGraph *CGN) { 208 typedef mapped_iterator<clang::CallGraph::iterator, DerefFun> nodes_iterator [all...] |
/external/llvm/include/llvm/Analysis/ |
CallGraph.h | 1 //===- CallGraph.h - Build a Module's call graph ----------------*- C++ -*-===// 15 /// callgraph node keeps track of which functions are called by the function 40 /// Because of these properties, the CallGraph captures a conservative superset 44 /// The CallGraph class also attempts to figure out what the root of the 45 /// CallGraph is, which it currently does by looking for a function named 76 class CallGraph { 109 explicit CallGraph(Module &M); 110 CallGraph(CallGraph &&Arg); 111 ~CallGraph(); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
CallGraph.h | 1 //===- CallGraph.h - Build a Module's call graph ----------------*- C++ -*-===// 15 /// callgraph node keeps track of which functions are called by the function 40 /// Because of these properties, the CallGraph captures a conservative superset 44 /// The CallGraph class also attempts to figure out what the root of the 45 /// CallGraph is, which it currently does by looking for a function named 76 class CallGraph { 109 explicit CallGraph(Module &M); 110 CallGraph(CallGraph &&Arg); 111 ~CallGraph(); [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
CallGraph.h | 1 //===- CallGraph.h - Build a Module's call graph ----------------*- C++ -*-===// 15 /// callgraph node keeps track of which functions are called by the function 40 /// Because of these properties, the CallGraph captures a conservative superset 44 /// The CallGraph class also attempts to figure out what the root of the 45 /// CallGraph is, which it currently does by looking for a function named 76 class CallGraph { 109 explicit CallGraph(Module &M); 110 CallGraph(CallGraph &&Arg); 111 ~CallGraph(); [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/ |
CallGraph.cpp | 1 //===- CallGraph.cpp - Build a Module's call graph ------------------------===// 10 // This file implements the CallGraph class and provides the BasicCallGraph 15 #include "llvm/Analysis/CallGraph.h" 29 class BasicCallGraph : public ModulePass, public CallGraph { 52 CallGraph::initialize(M); 73 OS << "CallGraph Root is: "; 80 CallGraph::print(OS, 0); 92 if (PI == &CallGraph::ID) 93 return (CallGraph*)this; 108 // Implementation of CallGraph constructio [all...] |
CallGraphSCCPass.cpp | 23 #include "llvm/Analysis/CallGraph.h" 54 bool doInitialization(CallGraph &CG); 55 bool doFinalization(CallGraph &CG); 59 // CGPassManager walks SCC and it needs CallGraph. 60 Info.addRequired<CallGraph>(); 65 return "CallGraph Pass Manager"; 91 bool RunAllPassesOnSCC(CallGraphSCC &CurSCC, CallGraph &CG, 95 CallGraph &CG, bool &CallGraphUpToDate, 97 bool RefreshCallGraph(CallGraphSCC &CurSCC, CallGraph &CG, 107 CallGraph &CG, bool &CallGraphUpToDate [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Analysis/ |
CallGraph.h | 1 //===- CallGraph.h - Build a Module's call graph ----------------*- C++ -*-===// 15 /// callgraph node keeps track of which functions are called by the function 40 /// Because of these properties, the CallGraph captures a conservative superset 70 class CallGraph { 99 explicit CallGraph(Module &M); 100 CallGraph(CallGraph &&Arg); 101 ~CallGraph(); 120 assert(I != FunctionMap.end() && "Function not in callgraph!"); 127 assert(I != FunctionMap.end() && "Function not in callgraph!"); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Analysis/ |
CallGraph.h | 1 //===- CallGraph.h - Build a Module's call graph ----------------*- C++ -*-===// 15 /// callgraph node keeps track of which functions are called by the function 40 /// Because of these properties, the CallGraph captures a conservative superset 70 class CallGraph { 99 explicit CallGraph(Module &M); 100 CallGraph(CallGraph &&Arg); 101 ~CallGraph(); 120 assert(I != FunctionMap.end() && "Function not in callgraph!"); 127 assert(I != FunctionMap.end() && "Function not in callgraph!"); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Analysis/ |
CallGraph.h | 1 //===- CallGraph.h - Build a Module's call graph ----------------*- C++ -*-===// 15 /// callgraph node keeps track of which functions are called by the function 40 /// Because of these properties, the CallGraph captures a conservative superset 74 class CallGraph { 103 explicit CallGraph(Module &M); 104 CallGraph(CallGraph &&Arg); 105 ~CallGraph(); 124 assert(I != FunctionMap.end() && "Function not in callgraph!"); 131 assert(I != FunctionMap.end() && "Function not in callgraph!"); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Analysis/ |
CallGraph.h | 1 //===- CallGraph.h - Build a Module's call graph ----------------*- C++ -*-===// 15 /// callgraph node keeps track of which functions are called by the function 40 /// Because of these properties, the CallGraph captures a conservative superset 74 class CallGraph { 103 explicit CallGraph(Module &M); 104 CallGraph(CallGraph &&Arg); 105 ~CallGraph(); 124 assert(I != FunctionMap.end() && "Function not in callgraph!"); 131 assert(I != FunctionMap.end() && "Function not in callgraph!"); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Analysis/ |
CallGraph.h | 1 //===- CallGraph.h - Build a Module's call graph ----------------*- C++ -*-===// 15 /// callgraph node keeps track of which functions are called by the function 40 /// Because of these properties, the CallGraph captures a conservative superset 74 class CallGraph { 103 explicit CallGraph(Module &M); 104 CallGraph(CallGraph &&Arg); 105 ~CallGraph(); 124 assert(I != FunctionMap.end() && "Function not in callgraph!"); 131 assert(I != FunctionMap.end() && "Function not in callgraph!"); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Analysis/ |
CallGraph.h | 1 //===- CallGraph.h - Build a Module's call graph ----------------*- C++ -*-===// 15 /// callgraph node keeps track of which functions are called by the function 40 /// Because of these properties, the CallGraph captures a conservative superset 74 class CallGraph { 103 explicit CallGraph(Module &M); 104 CallGraph(CallGraph &&Arg); 105 ~CallGraph(); 124 assert(I != FunctionMap.end() && "Function not in callgraph!"); 131 assert(I != FunctionMap.end() && "Function not in callgraph!"); [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Analysis/ |
CallGraph.h | 1 //===- CallGraph.h - Build a Module's call graph ----------------*- C++ -*-===// 15 /// callgraph node keeps track of which functions are called by the function 40 /// Because of these properties, the CallGraph captures a conservative superset 70 class CallGraph { 99 explicit CallGraph(Module &M); 100 CallGraph(CallGraph &&Arg); 101 ~CallGraph(); 120 assert(I != FunctionMap.end() && "Function not in callgraph!"); 127 assert(I != FunctionMap.end() && "Function not in callgraph!"); [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Analysis/ |
CallGraph.h | 1 //===- CallGraph.h - Build a Module's call graph ----------------*- C++ -*-===// 15 /// callgraph node keeps track of which functions are called by the function 40 /// Because of these properties, the CallGraph captures a conservative superset 70 class CallGraph { 99 explicit CallGraph(Module &M); 100 CallGraph(CallGraph &&Arg); 101 ~CallGraph(); 120 assert(I != FunctionMap.end() && "Function not in callgraph!"); 127 assert(I != FunctionMap.end() && "Function not in callgraph!"); [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Analysis/ |
CallGraph.h | 1 //===- CallGraph.h - Build a Module's call graph ----------------*- C++ -*-===// 15 /// callgraph node keeps track of which functions are called by the function 40 /// Because of these properties, the CallGraph captures a conservative superset 74 class CallGraph { 103 explicit CallGraph(Module &M); 104 CallGraph(CallGraph &&Arg); 105 ~CallGraph(); 124 assert(I != FunctionMap.end() && "Function not in callgraph!"); 131 assert(I != FunctionMap.end() && "Function not in callgraph!"); [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Analysis/ |
CallGraph.h | 1 //===- CallGraph.h - Build a Module's call graph ----------------*- C++ -*-===// 15 /// callgraph node keeps track of which functions are called by the function 40 /// Because of these properties, the CallGraph captures a conservative superset 74 class CallGraph { 103 explicit CallGraph(Module &M); 104 CallGraph(CallGraph &&Arg); 105 ~CallGraph(); 124 assert(I != FunctionMap.end() && "Function not in callgraph!"); 131 assert(I != FunctionMap.end() && "Function not in callgraph!"); [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Analysis/ |
CallGraph.h | 1 //===- CallGraph.h - Build a Module's call graph ----------------*- C++ -*-===// 15 /// callgraph node keeps track of which functions are called by the function 40 /// Because of these properties, the CallGraph captures a conservative superset 74 class CallGraph { 103 explicit CallGraph(Module &M); 104 CallGraph(CallGraph &&Arg); 105 ~CallGraph(); 124 assert(I != FunctionMap.end() && "Function not in callgraph!"); 131 assert(I != FunctionMap.end() && "Function not in callgraph!"); [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Analysis/ |
CallGraph.h | 1 //===- CallGraph.h - Build a Module's call graph ----------------*- C++ -*-===// 15 /// callgraph node keeps track of which functions are called by the function 40 /// Because of these properties, the CallGraph captures a conservative superset 74 class CallGraph { 103 explicit CallGraph(Module &M); 104 CallGraph(CallGraph &&Arg); 105 ~CallGraph(); 124 assert(I != FunctionMap.end() && "Function not in callgraph!"); 131 assert(I != FunctionMap.end() && "Function not in callgraph!"); [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
call_graph.cc | 122 CallGraph::CallGraph(const HloModule* module) : module_(module) {} 124 const CallGraphNode& CallGraph::GetNode( 131 CallGraphNode& CallGraph::GetNode(const HloComputation* computation) { 137 bool CallGraph::DominatesHelper( 162 bool CallGraph::Dominates(const HloComputation* a, 188 void CallGraph::SetCallContexts() { 237 std::unique_ptr<CallGraph> CallGraph::Build(const HloModule* module) { 238 // Constructor for CallGraph is private so MakeUnique can't be used [all...] |
/external/llvm/tools/opt/ |
PrintSCC.cpp | 10 // This file provides passes to print out SCCs in a CFG or a CallGraph. 16 // (2) To print out the SCCs for a CFG or a CallGraph: 22 // analyze -print-callgraph-sccs [-stats] [-debug] to print SCCs in the CallGraph 29 #include "llvm/Analysis/CallGraph.h" 58 // getAnalysisUsage - This pass requires the CallGraph. 72 Z("print-callgraph-sccs", "Print SCCs of the Call Graph"); 94 CallGraph &CG = getAnalysis<CallGraphWrapperPass>().getCallGraph(); 97 for (scc_iterator<CallGraph*> SCCI = scc_begin(&CG); !SCCI.isAtEnd();
|
/external/llvm/unittests/Analysis/ |
CallGraphTest.cpp | 10 #include "llvm/Analysis/CallGraph.h" 49 CallGraph CG(M); 57 CallGraph CG(M); 59 canSpecializeGraphTraitsIterators(const_cast<const CallGraph *>(&CG));
|
/external/swiftshader/third_party/LLVM/test/Analysis/CallGraph/ |
no-intrinsics.ll | 1 ; RUN: opt < %s -print-callgraph -disable-output |& FileCheck %s
|
/external/swiftshader/third_party/LLVM/tools/opt/ |
PrintSCC.cpp | 10 // This file provides passes to print out SCCs in a CFG or a CallGraph.
16 // (2) To print out the SCCs for a CFG or a CallGraph:
22 // analyze -print-callgraph-sccs [-stats] [-debug] to print SCCs in the CallGraph
30 #include "llvm/Analysis/CallGraph.h"
58 // getAnalysisUsage - This pass requires the CallGraph.
61 AU.addRequired<CallGraph>();
72 Z("print-callgraph-sccs", "Print SCCs of the Call Graph");
95 CallGraphNode* rootNode = getAnalysis<CallGraph>().getRoot();
|
/external/llvm/lib/Analysis/ |
CallGraph.cpp | 1 //===- CallGraph.cpp - Build a Module's call graph ------------------------===// 10 #include "llvm/Analysis/CallGraph.h" 20 // Implementations of the CallGraph class methods. 23 CallGraph::CallGraph(Module &M) 35 CallGraph::CallGraph(CallGraph &&Arg) 44 CallGraph::~CallGraph() { [all...] |
CallGraphSCCPass.cpp | 21 #include "llvm/Analysis/CallGraph.h" 60 bool doInitialization(CallGraph &CG); 61 bool doFinalization(CallGraph &CG); 65 // CGPassManager walks SCC and it needs CallGraph. 71 return "CallGraph Pass Manager"; 97 bool RunAllPassesOnSCC(CallGraphSCC &CurSCC, CallGraph &CG, 101 CallGraph &CG, bool &CallGraphUpToDate, 103 bool RefreshCallGraph(CallGraphSCC &CurSCC, CallGraph &CG, 113 CallGraph &CG, bool &CallGraphUpToDate, 131 // RefreshCallGraph to verify that the callgraph was correctly updated [all...] |