class CallGraphAnalysis

Declaration

class CallGraphAnalysis : public AnalysisInfoMixin { /* full declaration omitted */ };

Description

An analysis pass to compute the \c CallGraph for a \c Module. This class implements the concept of an analysis pass used by the \c ModuleAnalysisManager to run an analysis over a module and cache the resulting data.

Declared at: llvm/include/llvm/Analysis/CallGraph.h:292

Inherits from: AnalysisInfoMixin

Method Overview

  • public llvm::CallGraph run(llvm::Module & M, llvm::ModuleAnalysisManager &)

Methods

ΒΆllvm::CallGraph run(llvm::Module& M,
                    llvm::ModuleAnalysisManager&)

Description

Compute the \c CallGraph for the module \c M. The real work here is done in the \c CallGraph constructor.

Declared at: llvm/include/llvm/Analysis/CallGraph.h:304

Parameters

llvm::Module& M
llvm::ModuleAnalysisManager&