LLVM API Documentation

Public Member Functions
llvm::LiveRangeEdit::Delegate Class Reference

Callback methods for LiveRangeEdit owners. More...

#include <LiveRangeEdit.h>

List of all members.

Public Member Functions

virtual void LRE_WillEraseInstruction (MachineInstr *MI)
 Called immediately before erasing a dead machine instruction.
virtual bool LRE_CanEraseVirtReg (unsigned)
virtual void LRE_WillShrinkVirtReg (unsigned)
 Called before shrinking the live range of a virtual register.
virtual void LRE_DidCloneVirtReg (unsigned New, unsigned Old)
virtual ~Delegate ()

Detailed Description

Callback methods for LiveRangeEdit owners.

Definition at line 40 of file LiveRangeEdit.h.


Constructor & Destructor Documentation

virtual llvm::LiveRangeEdit::Delegate::~Delegate ( ) [inline, virtual]

Definition at line 57 of file LiveRangeEdit.h.


Member Function Documentation

Called when a virtual register is no longer used. Return false to defer its deletion from LiveIntervals.

Definition at line 48 of file LiveRangeEdit.h.

Referenced by llvm::LiveRangeEdit::eraseVirtReg().

virtual void llvm::LiveRangeEdit::Delegate::LRE_DidCloneVirtReg ( unsigned  New,
unsigned  Old 
) [inline, virtual]

Called after cloning a virtual register. This is used for new registers representing connected components of Old.

Definition at line 55 of file LiveRangeEdit.h.

Referenced by llvm::LiveRangeEdit::eliminateDeadDefs().

Called immediately before erasing a dead machine instruction.

Definition at line 44 of file LiveRangeEdit.h.

virtual void llvm::LiveRangeEdit::Delegate::LRE_WillShrinkVirtReg ( unsigned  ) [inline, virtual]

Called before shrinking the live range of a virtual register.

Definition at line 51 of file LiveRangeEdit.h.

Referenced by llvm::LiveRangeEdit::eliminateDeadDefs().


The documentation for this class was generated from the following files: