class ModuleSummaryIndexWrapperPass

Declaration

class ModuleSummaryIndexWrapperPass : public ModulePass { /* full declaration omitted */ };

Description

Legacy wrapper pass to provide the ModuleSummaryIndex object.

Declared at: llvm/include/llvm/Analysis/ModuleSummaryAnalysis.h:54

Inherits from: ModulePass

Member Variables

public static char ID

Method Overview

Inherited from ModulePass:

Inherited from Pass:

Methods

ModuleSummaryIndexWrapperPass()

Declared at: llvm/include/llvm/Analysis/ModuleSummaryAnalysis.h:60

bool doFinalization(llvm::Module& M)

Description

doFinalization - Virtual method overriden by subclasses to do any necessary clean up after all passes have run.

Declared at: llvm/include/llvm/Analysis/ModuleSummaryAnalysis.h:67

Parameters

llvm::Module& M

void getAnalysisUsage(
    llvm::AnalysisUsage& AU) const

Description

getAnalysisUsage - This function should be overriden by passes that need analysis information to do their job. If a pass specifies that it uses a particular analysis result to this function, it can then use the getAnalysis <AnalysisType >() function, below.

Declared at: llvm/include/llvm/Analysis/ModuleSummaryAnalysis.h:68

Parameters

llvm::AnalysisUsage& AU

llvm::ModuleSummaryIndex& getIndex()

Description

Get the index built by pass

Declared at: llvm/include/llvm/Analysis/ModuleSummaryAnalysis.h:63

const llvm::ModuleSummaryIndex& getIndex() const

Declared at: llvm/include/llvm/Analysis/ModuleSummaryAnalysis.h:64

bool runOnModule(llvm::Module& M)

Description

runOnModule - Virtual method overriden by subclasses to process the module being operated on.

Declared at: llvm/include/llvm/Analysis/ModuleSummaryAnalysis.h:66

Parameters

llvm::Module& M