LLVM 20.0.0git
|
An analysis pass to compute the CallGraph
for a Module
.
More...
#include "llvm/Analysis/CallGraph.h"
Public Types | |
using | Result = CallGraph |
A formulaic type to inform clients of the result type. | |
Public Member Functions | |
CallGraph | run (Module &M, ModuleAnalysisManager &) |
Compute the CallGraph for the module M . | |
Public Member Functions inherited from llvm::PassInfoMixin< DerivedT > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::AnalysisInfoMixin< CallGraphAnalysis > | |
static AnalysisKey * | ID () |
Returns an opaque, unique ID for this analysis type. | |
Static Public Member Functions inherited from llvm::PassInfoMixin< DerivedT > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
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 301 of file CallGraph.h.
A formulaic type to inform clients of the result type.
Definition at line 308 of file CallGraph.h.
|
inline |
Compute the CallGraph
for the module M
.
The real work here is done in the CallGraph
constructor.
Definition at line 313 of file CallGraph.h.