LLVM API Documentation
The pass manager to schedule RegionPasses. More...
#include <RegionPass.h>
Public Member Functions | |
RGPassManager () | |
bool | runOnFunction (Function &F) override |
Execute all of the passes scheduled for execution. | |
void | getAnalysisUsage (AnalysisUsage &Info) const override |
Pass Manager itself does not invalidate any analysis info. | |
const char * | getPassName () const override |
PMDataManager * | getAsPMDataManager () override |
Pass * | getAsPass () override |
void | dumpPassStructure (unsigned Offset) override |
Print passes managed by this manager. | |
Pass * | getContainedPass (unsigned N) |
Get passes contained by this manager. | |
PassManagerType | getPassManagerType () const override |
Static Public Attributes | |
static char | ID = 0 |
The pass manager to schedule RegionPasses.
Definition at line 84 of file RegionPass.h.
RGPassManager::RGPassManager | ( | ) | [explicit] |
Definition at line 31 of file RegionPass.cpp.
void RGPassManager::dumpPassStructure | ( | unsigned | Offset | ) | [override, virtual] |
Print passes managed by this manager.
Reimplemented from llvm::Pass.
Definition at line 170 of file RegionPass.cpp.
References llvm::PMDataManager::dumpLastUses(), llvm::Pass::dumpPassStructure(), llvm::errs(), getContainedPass(), llvm::PMDataManager::getNumContainedPasses(), llvm::raw_ostream::indent(), and P.
void RGPassManager::getAnalysisUsage | ( | AnalysisUsage & | Info | ) | const [override, virtual] |
Pass Manager itself does not invalidate any analysis info.
Pass Manager itself does not invalidate any analysis info. RGPassManager needs RegionInfo.
Reimplemented from llvm::Pass.
Definition at line 47 of file RegionPass.cpp.
References llvm::AnalysisUsage::addRequired(), and llvm::AnalysisUsage::setPreservesAll().
Pass* llvm::RGPassManager::getAsPass | ( | ) | [inline, override, virtual] |
Implements llvm::PMDataManager.
Definition at line 109 of file RegionPass.h.
PMDataManager* llvm::RGPassManager::getAsPMDataManager | ( | ) | [inline, override, virtual] |
Reimplemented from llvm::Pass.
Definition at line 108 of file RegionPass.h.
Pass* llvm::RGPassManager::getContainedPass | ( | unsigned | N | ) | [inline] |
Get passes contained by this manager.
Definition at line 115 of file RegionPass.h.
References llvm::PMDataManager::PassVector, and llvm::SmallVectorTemplateCommon< T, typename >::size().
Referenced by dumpPassStructure(), and runOnFunction().
PassManagerType llvm::RGPassManager::getPassManagerType | ( | ) | const [inline, override, virtual] |
Reimplemented from llvm::PMDataManager.
Definition at line 121 of file RegionPass.h.
References llvm::PMT_RegionPassManager.
const char* llvm::RGPassManager::getPassName | ( | ) | const [inline, override, virtual] |
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.
Reimplemented from llvm::Pass.
Definition at line 104 of file RegionPass.h.
bool RGPassManager::runOnFunction | ( | Function & | F | ) | [override, virtual] |
Execute all of the passes scheduled for execution.
run - Execute all of the passes scheduled for execution. Keep track of whether any of the passes modifies the function, and if so, return true.
Implements llvm::FunctionPass.
Definition at line 54 of file RegionPass.cpp.
References llvm::PMTopLevelManager::activeStack, addRegionIntoQueue(), llvm::RegionInfoBase< Tr >::clearNodeCache(), llvm::dbgs(), DEBUG, llvm::RegionPass::doFinalization(), llvm::RegionPass::doInitialization(), llvm::RegionInfoBase< Tr >::dump(), llvm::PMDataManager::dumpPassInfo(), llvm::PMDataManager::dumpPreservedSet(), llvm::PMDataManager::dumpRequiredSet(), llvm::EXECUTION_MSG, llvm::PMDataManager::freePass(), getContainedPass(), llvm::RegionBase< Tr >::getEntry(), llvm::Value::getName(), llvm::RegionBase< Tr >::getNameStr(), llvm::PMDataManager::getNumContainedPasses(), llvm::getPassTimer(), llvm::RegionInfoBase< Tr >::getTopLevelRegion(), I, llvm::PMDataManager::initializeAnalysisImpl(), llvm::MODIFICATION_MSG, llvm::ON_REGION_MSG, P, llvm::PMDataManager::populateInheritedAnalysis(), llvm::PMDataManager::recordAvailableAnalysis(), llvm::PMDataManager::removeDeadPasses(), llvm::PMDataManager::removeNotPreservedAnalysis(), llvm::NVPTX::PTXCvtMode::RP, llvm::RegionPass::runOnRegion(), llvm::PMDataManager::TPM, llvm::PMDataManager::verifyPreservedAnalysis(), llvm::RegionBase< Tr >::verifyRegion(), and llvm::X.
char RGPassManager::ID = 0 [static] |
Definition at line 92 of file RegionPass.h.