Home | History | Annotate | Download | only in Analysis

Lines Matching full:callgraph

1 //== CallGraph.cpp - AST-based Call graph  ----------------------*- C++ -*--==//
10 // This file defines the AST-based CallGraph.
13 #include "clang/Analysis/CallGraph.h"
23 #define DEBUG_TYPE "CallGraph"
32 CallGraph *G;
36 CGBuilder(CallGraph *g, CallGraphNode *N)
94 void CallGraph::addNodesForBlocks(DeclContext *D) {
103 CallGraph::CallGraph() {
107 CallGraph::~CallGraph() {
111 bool CallGraph::includeInGraph(const Decl *D) {
130 void CallGraph::addNodeForDecl(Decl* D, bool IsGlobal) {
142 CallGraphNode *CallGraph::getNode(const Decl *F) const {
148 CallGraphNode *CallGraph::getOrInsertNode(Decl *F) {
163 void CallGraph::print(raw_ostream &OS) const {
168 llvm::ReversePostOrderTraversal<const clang::CallGraph*> RPOT(this);
169 for (llvm::ReversePostOrderTraversal<const clang::CallGraph*>::rpo_iterator
191 LLVM_DUMP_METHOD void CallGraph::dump() const {
195 void CallGraph::viewGraph() const {
196 llvm::ViewGraph(this, "CallGraph");
212 struct DOTGraphTraits<const CallGraph*> : public DefaultDOTGraphTraits {
217 const CallGraph *CG) {