LLVM API Documentation

llvm::DebugLabelFolder Struct Reference

Inheritance diagram for llvm::DebugLabelFolder:
[legend]
Collaboration diagram for llvm::DebugLabelFolder:
[legend]

List of all members.

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


Detailed Description

Definition at line 309 of file MachineModuleInfo.cpp.


Constructor & Destructor Documentation

llvm::DebugLabelFolder::DebugLabelFolder (  )  [inline]

Definition at line 311 of file MachineModuleInfo.cpp.

Referenced by llvm::createDebugLabelFoldingPass().


Member Function Documentation

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.


Member Data Documentation

char llvm::DebugLabelFolder::ID = 0 [static]

Definition at line 310 of file MachineModuleInfo.cpp.


The documentation for this struct was generated from the following file: