llvm::CallGraphAnalysis

An analysis pass to compute the CallGraph for a Module.

Synopsis

Declared in <llvm/Analysis/CallGraph.h>

class CallGraphAnalysis
    : public AnalysisInfoMixin<CallGraphAnalysis>

Description

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.

Base Classes

NameDescription
AnalysisInfoMixin<CallGraphAnalysis>A CRTP mix-in that provides informational APIs needed for analysis passes.

Type Aliases

NameDescription
Result A formulaic type to inform clients of the result type.

Member Functions

NameDescription
run Compute the CallGraph for the module M.

Static Member Functions

NameDescription
ID Returns an opaque, unique ID for this analysis type.

Friends

NameDescription
llvm::AnalysisInfoMixinA CRTP mix-in that provides informational APIs needed for analysis passes.