class LazyCallGraphAnalysis

Declaration

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

Description

An analysis pass which computes the call graph for a module.

Declared at: llvm/include/llvm/Analysis/LazyCallGraph.h:1257

Inherits from: AnalysisInfoMixin

Method Overview

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

Methods

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

Description

Compute the \c LazyCallGraph for the module \c M. This just builds the set of entry points to the call graph. The rest is built lazily as it is walked.

Declared at: llvm/include/llvm/Analysis/LazyCallGraph.h:1270

Parameters

llvm::Module& M
llvm::ModuleAnalysisManager& AM