class LazyValueInfoWrapperPass

Declaration

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

Description

Wrapper around LazyValueInfo.

Declared at: llvm/include/llvm/Analysis/LazyValueInfo.h:145

Inherits from: FunctionPass

Member Variables

private llvm::LazyValueInfo Info
public static char ID

Method Overview

Inherited from FunctionPass:

Inherited from Pass:

Methods

LazyValueInfoWrapperPass(
    const llvm::LazyValueInfoWrapperPass&)

Declared at: llvm/include/llvm/Analysis/LazyValueInfo.h:146

Parameters

const llvm::LazyValueInfoWrapperPass&

LazyValueInfoWrapperPass()

Declared at: llvm/include/llvm/Analysis/LazyValueInfo.h:150

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/LazyValueInfo.h:157

Parameters

llvm::AnalysisUsage& AU

llvm::LazyValueInfo& getLVI()

Declared at: llvm/include/llvm/Analysis/LazyValueInfo.h:155

void releaseMemory()

Description

releaseMemory() - This member can be implemented by a pass if it wants to be able to release its memory when it is no longer needed. The default behavior of passes is to hold onto memory for the entire duration of their lifetime (which is the entire compile time). For pipelined passes, this is not a big deal because that memory gets recycled every time the pass is invoked on another program unit. For IP passes, it is more important to free memory when it is unused. Optionally implement this function to release pass memory when it is no longer used.

Declared at: llvm/include/llvm/Analysis/LazyValueInfo.h:158

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/LazyValueInfo.h:159

Parameters

llvm::Function& F

~LazyValueInfoWrapperPass()

Declared at: llvm/include/llvm/Analysis/LazyValueInfo.h:151