LLVM API Documentation
#include <LoopPass.h>
Public Member Functions | |
| LoopPass (intptr_t pid) | |
| LoopPass (void *pid) | |
| virtual bool | runOnLoop (Loop *L, LPPassManager &LPM)=0 |
| virtual bool | runOnFunctionBody (Function &F, LPPassManager &LPM) |
| virtual bool | doInitialization (Loop *L, LPPassManager &LPM) |
| virtual bool | doFinalization () |
| void | preparePassManager (PMStack &PMS) |
| Check if available pass managers are suitable for this pass or not. | |
| virtual void | assignPassManager (PMStack &PMS, PassManagerType PMT=PMT_LoopPassManager) |
| Assign pass manager to manager this pass. | |
| virtual PassManagerType | getPotentialPassManagerType () const |
| Return what kind of Pass Manager can manage this pass. | |
| virtual void | cloneBasicBlockAnalysis (BasicBlock *F, BasicBlock *T, Loop *L) |
| virtual void | deleteAnalysisValue (Value *V, Loop *L) |
| deletekAnalysisValue - Delete analysis info associated with value V. | |
Definition at line 29 of file LoopPass.h.
| llvm::LoopPass::LoopPass | ( | intptr_t | pid | ) | [inline, explicit] |
Definition at line 32 of file LoopPass.h.
| llvm::LoopPass::LoopPass | ( | void * | pid | ) | [inline, explicit] |
Definition at line 33 of file LoopPass.h.
| virtual bool llvm::LoopPass::runOnLoop | ( | Loop * | L, | |
| LPPassManager & | LPM | |||
| ) | [pure virtual] |
Referenced by llvm::LPPassManager::runOnFunction().
| virtual bool llvm::LoopPass::runOnFunctionBody | ( | Function & | F, | |
| LPPassManager & | LPM | |||
| ) | [inline, virtual] |
Definition at line 38 of file LoopPass.h.
| virtual bool llvm::LoopPass::doInitialization | ( | Loop * | L, | |
| LPPassManager & | LPM | |||
| ) | [inline, virtual] |
| virtual bool llvm::LoopPass::doFinalization | ( | ) | [inline, virtual] |
| void LoopPass::preparePassManager | ( | PMStack & | ) | [virtual] |
Check if available pass managers are suitable for this pass or not.
Reimplemented from llvm::Pass.
Definition at line 274 of file LoopPass.cpp.
References llvm::PMStack::empty(), llvm::PMDataManager::getPassManagerType(), llvm::PMT_LoopPassManager, llvm::PMStack::pop(), llvm::PMDataManager::preserveHigherLevelAnalysis(), and llvm::PMStack::top().
| void LoopPass::assignPassManager | ( | PMStack & | PMS, | |
| PassManagerType | PMT = PMT_LoopPassManager | |||
| ) | [virtual] |
Assign pass manager to manager this pass.
Assign pass manager to manage this pass.
Reimplemented from llvm::Pass.
Definition at line 291 of file LoopPass.cpp.
References llvm::PMDataManager::add(), llvm::PMTopLevelManager::addIndirectPassManager(), llvm::PMStack::empty(), llvm::PMDataManager::getPassManagerType(), llvm::PMT_LoopPassManager, llvm::PMStack::pop(), llvm::PMDataManager::populateInheritedAnalysis(), llvm::PMStack::push(), llvm::PMTopLevelManager::schedulePass(), and llvm::PMStack::top().
| virtual PassManagerType llvm::LoopPass::getPotentialPassManagerType | ( | ) | const [inline, virtual] |
Return what kind of Pass Manager can manage this pass.
Reimplemented from llvm::Pass.
Definition at line 64 of file LoopPass.h.
References llvm::PMT_LoopPassManager.
| virtual void llvm::LoopPass::cloneBasicBlockAnalysis | ( | BasicBlock * | F, | |
| BasicBlock * | T, | |||
| Loop * | L | |||
| ) | [inline, virtual] |
SimpleAnalysis - Provides simple interface to update analysis info maintained by various passes. Note, if required this interface can be extracted into a separate abstract class but it would require additional use of multiple inheritance in Pass class hierarchy, something we are trying to avoid. Each loop pass can override these simple analysis hooks to update desired analysis information. cloneBasicBlockAnalysis - Clone analysis info associated with basic block.
Definition at line 78 of file LoopPass.h.
Referenced by llvm::LPPassManager::cloneBasicBlockSimpleAnalysis().
deletekAnalysisValue - Delete analysis info associated with value V.
Definition at line 81 of file LoopPass.h.
Referenced by llvm::LPPassManager::deleteSimpleAnalysisValue().