LLVM  6.0.0svn
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 "llvm/Analysis/LazyCallGraph.h"

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

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 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 1242 of file LazyCallGraph.h.

Member Typedef Documentation

◆ Result

Inform generic clients of the result type.

Definition at line 1249 of file LazyCallGraph.h.

Member Function Documentation

◆ run()

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


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