Lines Matching refs:Module
1 //===- CallGraph.cpp - Build a Module's call graph ------------------------===//
18 #include "llvm/IR/Module.h"
50 // runOnModule - Compute the call graph for the specified module.
51 virtual bool runOnModule(Module &M) {
59 for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I)
72 virtual void print(raw_ostream &OS, const Module *) const {
177 void CallGraph::initialize(Module &M) {
198 void CallGraph::print(raw_ostream &OS, Module*) const {
212 // removeFunctionFromModule - Unlink the function from this module, returning
213 // it. Because this removes the function from the module, the call graph node
251 assert((!F || F->getParent() == Mod) && "Function not in current module!");