class SROALegacyPass

Declaration

class SROALegacyPass : public FunctionPass { /* full declaration omitted */ };

Description

A legacy pass for the legacy pass manager that wraps the \c SROA pass. This is in the llvm namespace purely to allow it to be a friend of the \c SROA pass.

Declared at: llvm/lib/Transforms/Scalar/SROA.cpp:4780

Inherits from: FunctionPass

Member Variables

private llvm::SROAPass Impl
The SROA implementation.
public static char ID

Method Overview

Inherited from FunctionPass:

Inherited from Pass:

Methods

SROALegacyPass()

Declared at: llvm/lib/Transforms/Scalar/SROA.cpp:4787

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/lib/Transforms/Scalar/SROA.cpp:4801

Parameters

llvm::AnalysisUsage& AU

llvm::StringRef getPassName() const

Description

getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly.

Declared at: llvm/lib/Transforms/Scalar/SROA.cpp:4808

bool runOnFunction(llvm::Function& F)

Description

runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass.

Declared at: llvm/lib/Transforms/Scalar/SROA.cpp:4791

Parameters

llvm::Function& F