class ImmutableModuleSummaryIndexWrapperPass

Declaration

class ImmutableModuleSummaryIndexWrapperPass : public ImmutablePass { /* full declaration omitted */ };

Description

Legacy wrapper pass to provide the ModuleSummaryIndex object.

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

Inherits from: ImmutablePass

Member Variables

private const llvm::ModuleSummaryIndex* Index
public static char ID

Method Overview

Inherited from ImmutablePass:

Inherited from ModulePass:

Inherited from Pass:

Methods

ImmutableModuleSummaryIndexWrapperPass(
    const llvm::ModuleSummaryIndex* Index =
        nullptr)

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

Parameters

const llvm::ModuleSummaryIndex* Index = nullptr

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

Parameters

llvm::AnalysisUsage& AU

const llvm::ModuleSummaryIndex* getIndex() const

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