Lines Matching defs:CallGraph
1 //===- CallGraph.cpp - Build a Module's call graph ------------------------===//
9 #include "llvm/Analysis/CallGraph.h"
28 // Implementations of the CallGraph class methods.
31 CallGraph::CallGraph(Module &M)
39 CallGraph::CallGraph(CallGraph &&Arg)
47 CallGraph::~CallGraph() {
60 void CallGraph::addToCallGraph(Function *F) {
89 void CallGraph::print(raw_ostream &OS) const {
112 LLVM_DUMP_METHOD void CallGraph::dump() const { print(dbgs()); }
121 Function *CallGraph::removeFunctionFromModule(CallGraphNode *CGN) {
135 void CallGraph::spliceFunction(const Function *From, const Function *To) {
148 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) {
272 // All the real work is done in the constructor for the CallGraph.
273 G.reset(new CallGraph(M));
277 INITIALIZE_PASS(CallGraphWrapperPass, "basiccg", "CallGraph Construction",