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:1249

Inherits from: AnalysisInfoMixin

Member Variables

private static llvm::AnalysisKey Key

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:1262

Parameters

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