LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
llvm::CallGraphAnalysis Class Reference

An analysis pass to compute the CallGraph for a Module. More...

#include "llvm/Analysis/CallGraph.h"

Inheritance diagram for llvm::CallGraphAnalysis:
Inheritance graph
[legend]

Public Types

using Result = CallGraph
 A formulaic type to inform clients of the result type.
 

Public Member Functions

CallGraph run (Module &M, ModuleAnalysisManager &)
 Compute the CallGraph 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< CallGraphAnalysis >
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 to compute the CallGraph for a Module.

This class implements the concept of an analysis pass used by the ModuleAnalysisManager to run an analysis over a module and cache the resulting data.

Definition at line 301 of file CallGraph.h.

Member Typedef Documentation

◆ Result

A formulaic type to inform clients of the result type.

Definition at line 308 of file CallGraph.h.

Member Function Documentation

◆ run()

CallGraph llvm::CallGraphAnalysis::run ( Module M,
ModuleAnalysisManager  
)
inline

Compute the CallGraph for the module M.

The real work here is done in the CallGraph constructor.

Definition at line 313 of file CallGraph.h.


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