class IVUsersWrapperPass
Declaration
class IVUsersWrapperPass : public LoopPass { /* full declaration omitted */ };
Description
Pass interface - Implemented by all 'passes'. Subclass this if you are an interprocedural optimization or you do not fit into any of the more constrained passes described below.
Declared at: llvm/include/llvm/Analysis/IVUsers.h:167
Inherits from: LoopPass
Member Variables
- public static char ID
Method Overview
- public IVUsersWrapperPass()
- public void getAnalysisUsage(llvm::AnalysisUsage & AU) const
- public llvm::IVUsers & getIU()
- public const llvm::IVUsers & getIU() const
- public void print(llvm::raw_ostream & OS, const llvm::Module * = nullptr) const
- public void releaseMemory()
- public bool runOnLoop(llvm::Loop * L, llvm::LPPassManager & LPM)
Inherited from LoopPass:
- public assignPassManager
- public cloneBasicBlockAnalysis
- public createPrinterPass
- public deleteAnalysisLoop
- public deleteAnalysisValue
- public doFinalization
- public doInitialization
- public getPotentialPassManagerType
- public preparePassManager
- public runOnLoop
- protected skipLoop
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
¶IVUsersWrapperPass()
IVUsersWrapperPass()
Declared at: llvm/include/llvm/Analysis/IVUsers.h:173
¶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/IVUsers.h:178
Parameters
¶llvm::IVUsers& getIU()
llvm::IVUsers& getIU()
Declared at: llvm/include/llvm/Analysis/IVUsers.h:175
¶const llvm::IVUsers& getIU() const
const llvm::IVUsers& getIU() const
Declared at: llvm/include/llvm/Analysis/IVUsers.h:176
¶void print(llvm::raw_ostream& OS,
const llvm::Module* = nullptr) const
void print(llvm::raw_ostream& OS,
const llvm::Module* = nullptr) 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/IVUsers.h:184
Parameters
- llvm::raw_ostream& OS
- const llvm::Module* = nullptr
¶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/IVUsers.h:182
¶bool runOnLoop(llvm::Loop* L,
llvm::LPPassManager& LPM)
bool runOnLoop(llvm::Loop* L,
llvm::LPPassManager& LPM)
Declared at: llvm/include/llvm/Analysis/IVUsers.h:180
Parameters
- llvm::Loop* L
- llvm::LPPassManager& LPM