LLVM 20.0.0git
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]

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 AnalysisKeyID ()
 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.
 

Detailed Description

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

Definition at line 1259 of file LazyCallGraph.h.

Member Typedef Documentation

◆ Result

Inform generic clients of the result type.

Definition at line 1266 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 1272 of file LazyCallGraph.h.

References F, FAM, and llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult().


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