class StackSafetyInfoWrapperPass

Declaration

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

Description

StackSafetyInfo wrapper for the legacy pass manager

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

Inherits from: FunctionPass

Member Variables

public static char ID

Method Overview

Inherited from FunctionPass:

Inherited from Pass:

Methods

StackSafetyInfoWrapperPass()

Declared at: llvm/include/llvm/Analysis/StackSafetyAnalysis.h:65

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/StackSafetyAnalysis.h:70

Parameters

llvm::AnalysisUsage& AU

const llvm::StackSafetyInfo& getResult() const

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

void print(llvm::raw_ostream& O,
           const llvm::Module* M) const

Description

print - Print out the internal state of the pass. This is called by Analyze to print out the contents of an analysis. Otherwise it is not necessary to implement this method. Beware that the module pointer MAY be null. This automatically forwards to a virtual function that does not provide the Module* in case the analysis doesn't need it it can just be ignored.

Declared at: llvm/include/llvm/Analysis/StackSafetyAnalysis.h:69

Parameters

llvm::raw_ostream& O
const llvm::Module* M

bool runOnFunction(llvm::Function& F)

Description

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

Declared at: llvm/include/llvm/Analysis/StackSafetyAnalysis.h:72

Parameters

llvm::Function& F