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 305 of file MachineModuleInfo.cpp.


Constructor & Destructor Documentation

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

Definition at line 307 of file MachineModuleInfo.cpp.

Referenced by llvm::createDebugLabelFoldingPass().


Member Function Documentation

virtual void llvm::DebugLabelFolder::getAnalysisUsage ( AnalysisUsage &   )  const [inline, virtual]

getAnalysisUsage - This function should be overriden by passes that need analysis information to do their job. If a pass specifies that it uses a particular analysis result to this function, it can then use the getAnalysis<AnalysisType>() function, below.

Reimplemented from llvm::Pass.

Definition at line 309 of file MachineModuleInfo.cpp.

References llvm::AnalysisUsage::addPreservedID(), llvm::Pass::getAnalysisUsage(), llvm::MachineDominatorsID, and llvm::MachineLoopInfoID.

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 321 of file MachineModuleInfo.cpp.

References BB, llvm::MachineBasicBlock::begin(), llvm::MachineFunction::begin(), E, llvm::MachineBasicBlock::end(), llvm::MachineFunction::end(), llvm::MachineBasicBlock::erase(), 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 316 of file MachineModuleInfo.cpp.


Member Data Documentation

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

Definition at line 306 of file MachineModuleInfo.cpp.


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