class ProfileSummaryInfoWrapperPass

Declaration

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

Description

An analysis pass based on legacy pass manager to deliver ProfileSummaryInfo.

Declared at: llvm/include/llvm/Analysis/ProfileSummaryInfo.h:193

Inherits from: ImmutablePass

Member Variables

private std::unique_ptr<ProfileSummaryInfo> PSI
public static char ID

Method Overview

Inherited from ImmutablePass:

Inherited from ModulePass:

Inherited from Pass:

Methods

ProfileSummaryInfoWrapperPass()

Declared at: llvm/include/llvm/Analysis/ProfileSummaryInfo.h:198

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/ProfileSummaryInfo.h:204

Parameters

llvm::Module& M

bool doInitialization(llvm::Module& M)

Description

doInitialization - Virtual method overridden by subclasses to do any necessary initialization before any pass is run.

Declared at: llvm/include/llvm/Analysis/ProfileSummaryInfo.h:203

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/ProfileSummaryInfo.h:205

Parameters

llvm::AnalysisUsage& AU

llvm::ProfileSummaryInfo& getPSI()

Declared at: llvm/include/llvm/Analysis/ProfileSummaryInfo.h:200

const llvm::ProfileSummaryInfo& getPSI() const

Declared at: llvm/include/llvm/Analysis/ProfileSummaryInfo.h:201