LLVM API Documentation
An analysis pass to compute the CallGraph
for a Module
.
More...
#include <CallGraph.h>
Public Types | |
typedef CallGraph | Result |
A formulaic typedef to inform clients of the result type. | |
Public Member Functions | |
CallGraph | run (Module *M) |
Compute the CallGraph for the module M . | |
Static Public Member Functions | |
static void * | ID () |
An analysis pass to compute the CallGraph
for a Module
.
This class implements the concept of an analysis pass used by the ModuleAnalysisManager
to run an analysis over a module and cache the resulting data.
Definition at line 291 of file CallGraph.h.
A formulaic typedef to inform clients of the result type.
Definition at line 294 of file CallGraph.h.
static void* llvm::CallGraphAnalysis::ID | ( | ) | [inline, static] |
Definition at line 296 of file CallGraph.h.
CallGraph llvm::CallGraphAnalysis::run | ( | Module * | M | ) | [inline] |
Compute the CallGraph
for the module M
.
The real work here is done in the CallGraph
constructor.
Definition at line 301 of file CallGraph.h.