class FunctionPassManagerImpl
Declaration
class FunctionPassManagerImpl : public Pass,
public PMDataManager,
public PMTopLevelManager { /* full declaration omitted */ };
Description
FunctionPassManagerImpl manages FPPassManagers
Declared at: llvm/lib/IR/LegacyPassManager.cpp:246
Inherits from: Pass, PMDataManager, PMTopLevelManager
Member Variables
- private bool wasRun
- public static char ID
Inherited from PMTopLevelManager:
Inherited from PMDataManager:
Method Overview
- public FunctionPassManagerImpl()
- public void add(llvm::Pass * P)
- private virtual void anchor()
- public llvm::Pass * createPrinterPass(llvm::raw_ostream & O, const std::string & Banner) const
- public bool doFinalization(llvm::Module & M)
- public bool doInitialization(llvm::Module & M)
- public void dumpPassStructure(unsigned int Offset)
- public void getAnalysisUsage(llvm::AnalysisUsage & Info) const
- public llvm::PMDataManager * getAsPMDataManager()
- public llvm::Pass * getAsPass()
- public llvm::FPPassManager * getContainedManager(unsigned int N)
- public llvm::PassManagerType getTopLevelPassManagerType()
- public void releaseMemoryOnTheFly()
- public bool run(llvm::Function & F)
Inherited from PMTopLevelManager:
- public addImmutablePass
- public addIndirectPassManager
- public addPassManager
- public collectLastUses
- public dumpArguments
- public dumpPasses
- public findAnalysisPass
- public findAnalysisPassInfo
- public findAnalysisUsage
- public getImmutablePasses
- protected getNumContainedManagers
- protected initializeAllAnalysisInfo
- public schedulePass
- public setLastUser
Inherited from PMDataManager:
- public add
- public addLowerLevelRequiredPass
- public collectRequiredAndUsedAnalyses
- public dumpLastUses
- public dumpPassArguments
- public dumpPassInfo
- public dumpPreservedSet
- public dumpRequiredSet
- public dumpUsedSet
- public emitInstrCountChangedRemark
- public findAnalysisPass
- public freePass
- public getAsPass
- public getAvailableAnalysis
- public getDepth
- public getNumContainedPasses
- public getOnTheFlyPass
- public getPassManagerType
- public getTopLevelManager
- public initSizeRemarkInfo
- public initializeAnalysisImpl
- public initializeAnalysisInfo
- protected isPassDebuggingExecutionsOrMore
- public populateInheritedAnalysis
- public preserveHigherLevelAnalysis
- public recordAvailableAnalysis
- public removeDeadPasses
- public removeNotPreservedAnalysis
- public setDepth
- public setTopLevelManager
- public verifyPreservedAnalysis
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
¶FunctionPassManagerImpl()
FunctionPassManagerImpl()
Declared at: llvm/lib/IR/LegacyPassManager.cpp:254
¶void add(llvm::Pass* P)
void add(llvm::Pass* P)
Description
\copydoc FunctionPassManager::add()
Declared at: llvm/lib/IR/LegacyPassManager.cpp:259
Parameters
- llvm::Pass* P
¶virtual void anchor()
virtual void anchor()
Declared at: llvm/lib/IR/LegacyPassManager.cpp:249
¶llvm::Pass* createPrinterPass(
llvm::raw_ostream& O,
const std::string& Banner) const
llvm::Pass* createPrinterPass(
llvm::raw_ostream& O,
const std::string& Banner) const
Description
createPrinterPass - Get a function printer pass.
Declared at: llvm/lib/IR/LegacyPassManager.cpp:264
Parameters
- llvm::raw_ostream& O
- const std::string& Banner
¶bool doFinalization(llvm::Module& M)
bool doFinalization(llvm::Module& M)
Description
doFinalization - Run all of the finalizers for the function passes.
Declared at: llvm/lib/IR/LegacyPassManager.cpp:283
Parameters
- llvm::Module& M
¶bool doInitialization(llvm::Module& M)
bool doInitialization(llvm::Module& M)
Description
doInitialization - Run all of the initializers for the function passes.
Declared at: llvm/lib/IR/LegacyPassManager.cpp:279
Parameters
- llvm::Module& M
¶void dumpPassStructure(unsigned int Offset)
void dumpPassStructure(unsigned int Offset)
Declared at: llvm/lib/IR/LegacyPassManager.cpp:303
Parameters
- unsigned int Offset
¶void getAnalysisUsage(
llvm::AnalysisUsage& Info) const
void getAnalysisUsage(
llvm::AnalysisUsage& Info) const
Description
Pass Manager itself does not invalidate any analysis info.
Declared at: llvm/lib/IR/LegacyPassManager.cpp:293
Parameters
- llvm::AnalysisUsage& Info
¶llvm::PMDataManager* getAsPMDataManager()
llvm::PMDataManager* getAsPMDataManager()
Declared at: llvm/lib/IR/LegacyPassManager.cpp:286
¶llvm::Pass* getAsPass()
llvm::Pass* getAsPass()
Declared at: llvm/lib/IR/LegacyPassManager.cpp:287
¶llvm::FPPassManager* getContainedManager(
unsigned int N)
llvm::FPPassManager* getContainedManager(
unsigned int N)
Declared at: llvm/lib/IR/LegacyPassManager.cpp:297
Parameters
- unsigned int N
¶llvm::PassManagerType getTopLevelPassManagerType()
llvm::PassManagerType getTopLevelPassManagerType()
Declared at: llvm/lib/IR/LegacyPassManager.cpp:288
¶void releaseMemoryOnTheFly()
void releaseMemoryOnTheFly()
Declared at: llvm/lib/IR/LegacyPassManager.cpp:271
¶bool run(llvm::Function& F)
bool run(llvm::Function& F)
Description
run - Execute all of the passes scheduled for execution. Keep track of whether any of the passes modifies the module, and if so, return true.
Declared at: llvm/lib/IR/LegacyPassManager.cpp:275