class PhiValuesWrapperPass
Declaration
class PhiValuesWrapperPass : public FunctionPass { /* full declaration omitted */ };
Description
Wrapper pass for the legacy pass manager
Declared at: llvm/include/llvm/Analysis/PhiValues.h:141
Inherits from: FunctionPass
Member Variables
- public static char ID
Method Overview
- public PhiValuesWrapperPass()
- public void getAnalysisUsage(llvm::AnalysisUsage & AU) const
- public llvm::PhiValues & getResult()
- public const llvm::PhiValues & getResult() const
- public void releaseMemory()
- public bool runOnFunction(llvm::Function & F)
Inherited from FunctionPass:
- public assignPassManager
- public createPrinterPass
- public getPotentialPassManagerType
- public runOnFunction
- protected skipFunction
Inherited from Pass:
- public assignPassManager
- public createPass
- public createPrinterPass
- public doFinalization
- public doInitialization
- public dump
- public dumpPassStructure
- public getAdjustedAnalysisPointer
- public getAnalysis
- public getAnalysis
- public getAnalysisID
- public getAnalysisID
- public getAnalysisIfAvailable
- public getAnalysisUsage
- public getAsImmutablePass
- public getAsPMDataManager
- public getPassID
- public getPassKind
- public getPassName
- public getPotentialPassManagerType
- public getResolver
- public lookupPassInfo
- public lookupPassInfo
- public mustPreserveAnalysisID
- public preparePassManager
- public print
- public releaseMemory
- public setResolver
- public verifyAnalysis
Methods
¶PhiValuesWrapperPass()
PhiValuesWrapperPass()
Declared at: llvm/include/llvm/Analysis/PhiValues.h:146
¶void getAnalysisUsage(
llvm::AnalysisUsage& AU) const
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/PhiValues.h:153
Parameters
¶llvm::PhiValues& getResult()
llvm::PhiValues& getResult()
Declared at: llvm/include/llvm/Analysis/PhiValues.h:148
¶const llvm::PhiValues& getResult() const
const llvm::PhiValues& getResult() const
Declared at: llvm/include/llvm/Analysis/PhiValues.h:149
¶void releaseMemory()
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/PhiValues.h:152
¶bool runOnFunction(llvm::Function& F)
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/PhiValues.h:151