LLVM API Documentation
#include <PassManagerT.h>
Inheritance diagram for llvm::PassManagerTraits< BasicBlock >:
Public Types | |
typedef BasicBlockPass | PassClass |
typedef PassManagerT< Module > | SubPassClass |
typedef PassClass | BatcherClass |
typedef PassManagerT< Function > | ParentClass |
typedef PassManagerT< BasicBlock > | PMType |
Public Member Functions | |
const char * | getPMName () const |
virtual const char * | getPassName () const |
virtual bool | doInitialization (Module &M) |
virtual bool | doInitialization (Function &F) |
virtual bool | runOnBasicBlock (BasicBlock &BB) |
virtual bool | doFinalization (Function &F) |
virtual bool | doFinalization (Module &M) |
virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
Static Public Member Functions | |
static bool | runPass (PassClass *P, BasicBlock *M) |
Definition at line 633 of file PassManagerT.h.
|
Definition at line 648 of file PassManagerT.h. |
|
Definition at line 651 of file PassManagerT.h. |
|
Definition at line 636 of file PassManagerT.h. |
|
Definition at line 654 of file PassManagerT.h. |
|
Definition at line 642 of file PassManagerT.h. |
|
doFinalization - Virtual method overriden by subclasses to do any post processing needed after all passes have run. Reimplemented from llvm::BasicBlockPass. Definition at line 792 of file PassManagerT.h. |
|
doFinalization - Virtual method overriden by BasicBlockPass subclasses to do any post processing needed after all passes have run. Reimplemented from llvm::BasicBlockPass. Definition at line 785 of file PassManagerT.h. |
|
doInitialization - Virtual method overridden by BasicBlockPass subclasses to do any necessary per-function initialization. Reimplemented from llvm::BasicBlockPass. Definition at line 774 of file PassManagerT.h. |
|
doInitialization - Virtual method overridden by subclasses to do any necessary per-module initialization. Reimplemented from llvm::BasicBlockPass. Definition at line 767 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 674 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 665 of file PassManagerT.h. |
|
Definition at line 664 of file PassManagerT.h. |
|
runOnBasicBlock - Virtual method overriden by subclasses to do the per-basicblock processing of the pass. Implements llvm::BasicBlockPass. Definition at line 781 of file PassManagerT.h. |
|
Definition at line 657 of file PassManagerT.h. References llvm::BasicBlockPass::runOnBasicBlock(). |