LLVM
8.0.1
|
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. More... | |
Public Member Functions | |
LazyCallGraph | run (Module &M, ModuleAnalysisManager &AM) |
Compute the LazyCallGraph for the module M . More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::AnalysisInfoMixin< LazyCallGraphAnalysis > | |
static AnalysisKey * | ID () |
Returns an opaque, unique ID for this analysis type. More... | |
Static Public Member Functions inherited from llvm::PassInfoMixin< LazyCallGraphAnalysis > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. More... | |
An analysis pass which computes the call graph for a module.
Definition at line 1242 of file LazyCallGraph.h.
Inform generic clients of the result type.
Definition at line 1249 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 1255 of file LazyCallGraph.h.
References llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), and llvm::LazyCallGraph::LazyCallGraph().