LLVM  4.0.0
Public Types | Public Member Functions | List of all members
llvm::LazyCallGraphAnalysis Class Reference

An analysis pass which computes the call graph for a module. More...

#include <LazyCallGraph.h>

Inheritance diagram for llvm::LazyCallGraphAnalysis:
[legend]
Collaboration diagram for llvm::LazyCallGraphAnalysis:
[legend]

Public Types

typedef LazyCallGraph Result
 Inform generic clients of the result type. More...
 

Public Member Functions

LazyCallGraph run (Module &M, ModuleAnalysisManager &)
 Compute the LazyCallGraph for the module M. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::AnalysisInfoMixin< LazyCallGraphAnalysis >
static AnalysisKeyID ()
 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...
 

Detailed Description

An analysis pass which computes the call graph for a module.

Definition at line 1176 of file LazyCallGraph.h.

Member Typedef Documentation

Inform generic clients of the result type.

Definition at line 1182 of file LazyCallGraph.h.

Member Function Documentation

LazyCallGraph llvm::LazyCallGraphAnalysis::run ( Module M,
ModuleAnalysisManager  
)
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 1188 of file LazyCallGraph.h.

References llvm::LazyCallGraph::LazyCallGraph().


The documentation for this class was generated from the following files: