LLVM  14.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]
Collaboration diagram for llvm::CallGraphAnalysis:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

CallGraph run (Module &M, ModuleAnalysisManager &)
 Compute the CallGraph for the module M. More...
 
- Public Member Functions inherited from llvm::PassInfoMixin< CallGraphAnalysis >
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. More...
 
- Static Public Member Functions inherited from llvm::PassInfoMixin< CallGraphAnalysis >
static StringRef name ()
 Gets the name of the pass we are mixed into. More...
 

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 305 of file CallGraph.h.

Member Typedef Documentation

◆ Result

A formulaic type to inform clients of the result type.

Definition at line 312 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 317 of file CallGraph.h.

References M.


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