LLVM API Documentation
#include <PassManagerT.h>
Inheritance diagram for llvm::PassManagerTraits< Function >:
Public Types | |
typedef FunctionPass | PassClass |
typedef BasicBlockPass | SubPassClass |
typedef PassManagerT< BasicBlock > | BatcherClass |
typedef PassManagerT< Module > | ParentClass |
typedef PassManagerT< Function > | PMType |
Public Member Functions | |
const char * | getPMName () const |
virtual const char * | getPassName () const |
virtual bool | doInitialization (Module &M) |
virtual bool | runOnFunction (Function &F) |
virtual bool | doFinalization (Module &M) |
virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
Static Public Member Functions | |
static bool | runPass (PassClass *P, Function *F) |
Definition at line 687 of file PassManagerT.h.
|
Definition at line 696 of file PassManagerT.h. |
|
Definition at line 699 of file PassManagerT.h. |
|
Definition at line 690 of file PassManagerT.h. |
|
Definition at line 702 of file PassManagerT.h. |
|
Definition at line 693 of file PassManagerT.h. |
|
doFinalization - Virtual method overriden by subclasses to do any post processing needed after all passes have run. Reimplemented from llvm::FunctionPass. Definition at line 813 of file PassManagerT.h. |
|
doInitialization - Virtual method overridden by subclasses to do any necessary per-module initialization. Reimplemented from llvm::FunctionPass. Definition at line 802 of file PassManagerT.h. |
|
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. Reimplemented from llvm::Pass. Definition at line 719 of file PassManagerT.h. References llvm::AnalysisUsage::setPreservesAll(). |
|
getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly, and if nothing else is available, C++ RTTI will be consulted to get a SOMEWHAT intelligible name for the pass. Reimplemented from llvm::Pass. Definition at line 712 of file PassManagerT.h. |
|
Definition at line 711 of file PassManagerT.h. |
|
runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass. Implements llvm::FunctionPass. Definition at line 809 of file PassManagerT.h. |
|
Definition at line 705 of file PassManagerT.h. References llvm::FunctionPass::runOnFunction(). |