LLVM API Documentation
Public Member Functions | |
| DebugLabelFolder () | |
| virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
| virtual bool | runOnMachineFunction (MachineFunction &MF) |
| virtual const char * | getPassName () const |
Static Public Attributes | |
| static char | ID = 0 |
Definition at line 309 of file MachineModuleInfo.cpp.
| llvm::DebugLabelFolder::DebugLabelFolder | ( | ) | [inline] |
Definition at line 311 of file MachineModuleInfo.cpp.
Referenced by llvm::createDebugLabelFoldingPass().
| virtual void llvm::DebugLabelFolder::getAnalysisUsage | ( | AnalysisUsage & | AU | ) | const [inline, virtual] |
getAnalysisUsage - Subclasses that override getAnalysisUsage must call this.
For MachineFunctionPasses, calling AU.preservesCFG() indicates that the pass does not modify the MachineBasicBlock CFG.
Reimplemented from llvm::MachineFunctionPass.
Definition at line 313 of file MachineModuleInfo.cpp.
References llvm::AnalysisUsage::addPreservedID(), llvm::MachineFunctionPass::getAnalysisUsage(), llvm::MachineDominatorsID, llvm::MachineLoopInfoID, and llvm::AnalysisUsage::setPreservesCFG().
| bool llvm::DebugLabelFolder::runOnMachineFunction | ( | MachineFunction & | MF | ) | [virtual] |
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformation or analysis.
Implements llvm::MachineFunctionPass.
Definition at line 326 of file MachineModuleInfo.cpp.
References BB, llvm::MachineBasicBlock::begin(), llvm::MachineFunction::begin(), E, llvm::MachineBasicBlock::end(), llvm::MachineFunction::end(), llvm::MachineBasicBlock::erase(), llvm::MachineModuleInfo::isDbgLabelUsed(), MadeChange, MMI, and llvm::MachineModuleInfo::RemapLabel().
| virtual const char* llvm::DebugLabelFolder::getPassName | ( | ) | const [inline, 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.
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 321 of file MachineModuleInfo.cpp.
char llvm::DebugLabelFolder::ID = 0 [static] |
Definition at line 310 of file MachineModuleInfo.cpp.