LLVM 20.0.0git
|
An analysis pass which computes the call graph for a module. More...
#include "llvm/Analysis/LazyCallGraph.h"
Public Types | |
using | Result = LazyCallGraph |
Inform generic clients of the result type. | |
Public Member Functions | |
LazyCallGraph | run (Module &M, ModuleAnalysisManager &AM) |
Compute the LazyCallGraph 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< LazyCallGraphAnalysis > | |
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 which computes the call graph for a module.
Definition at line 1259 of file LazyCallGraph.h.
Inform generic clients of the result type.
Definition at line 1266 of file LazyCallGraph.h.
|
inline |
Compute the LazyCallGraph
for the module M
.
This just builds the set of entry points to the call graph. The rest is built lazily as it is walked.
Definition at line 1272 of file LazyCallGraph.h.
References F, FAM, and llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult().