LLVM  8.0.1
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...
 

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

Member Typedef Documentation

◆ Result

A formulaic type to inform clients of the result type.

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

References llvm::CallGraph::CallGraph().


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