LLVM 20.0.0git
|
PMStack - This class implements a stack data structure of PMDataManager pointers. More...
#include "llvm/IR/LegacyPassManagers.h"
Public Types | |
typedef std::vector< PMDataManager * >::const_reverse_iterator | iterator |
Public Member Functions | |
iterator | begin () const |
iterator | end () const |
void | pop () |
PMDataManager * | top () const |
void | push (PMDataManager *PM) |
bool | empty () const |
void | dump () const |
PMStack - This class implements a stack data structure of PMDataManager pointers.
Top level pass managers (see PassManager.cpp) maintain active Pass Managers using PMStack. Each Pass implements assignPassManager() to connect itself with appropriate manager. assignPassManager() walks PMStack to find suitable manager.
Definition at line 136 of file LegacyPassManagers.h.
typedef std::vector<PMDataManager*>::const_reverse_iterator llvm::PMStack::iterator |
Definition at line 138 of file LegacyPassManagers.h.
|
inline |
Definition at line 139 of file LegacyPassManagers.h.
LLVM_DUMP_METHOD void PMStack::dump | ( | ) | const |
Definition at line 1691 of file LegacyPassManager.cpp.
References llvm::dbgs().
|
inline |
Definition at line 145 of file LegacyPassManagers.h.
Referenced by llvm::CallGraphSCCPass::assignPassManager(), llvm::LoopPass::assignPassManager(), llvm::RegionPass::assignPassManager(), llvm::LoopPass::preparePassManager(), llvm::RegionPass::preparePassManager(), and push().
|
inline |
Definition at line 140 of file LegacyPassManagers.h.
void PMStack::pop | ( | ) |
Definition at line 1658 of file LegacyPassManager.cpp.
References llvm::PMDataManager::initializeAnalysisInfo(), and top().
Referenced by llvm::CallGraphSCCPass::assignPassManager(), llvm::LoopPass::assignPassManager(), llvm::RegionPass::assignPassManager(), llvm::ModulePass::assignPassManager(), llvm::FunctionPass::assignPassManager(), llvm::LoopPass::preparePassManager(), and llvm::RegionPass::preparePassManager().
void PMStack::push | ( | PMDataManager * | PM | ) |
Definition at line 1667 of file LegacyPassManager.cpp.
References llvm::PMTopLevelManager::addIndirectPassManager(), assert(), empty(), llvm::PMDataManager::getDepth(), llvm::PMDataManager::getPassManagerType(), llvm::PMDataManager::getTopLevelManager(), llvm::PMT_FunctionPassManager, llvm::PMT_ModulePassManager, llvm::PMDataManager::setDepth(), llvm::PMDataManager::setTopLevelManager(), and top().
Referenced by llvm::CallGraphSCCPass::assignPassManager(), llvm::LoopPass::assignPassManager(), llvm::RegionPass::assignPassManager(), llvm::FunctionPass::assignPassManager(), and llvm::PMTopLevelManager::PMTopLevelManager().
|
inline |
Definition at line 143 of file LegacyPassManagers.h.
Referenced by llvm::CallGraphSCCPass::assignPassManager(), llvm::LoopPass::assignPassManager(), llvm::RegionPass::assignPassManager(), llvm::ModulePass::assignPassManager(), llvm::FunctionPass::assignPassManager(), pop(), llvm::LoopPass::preparePassManager(), llvm::RegionPass::preparePassManager(), and push().