LLVM API Documentation
Callback methods for LiveRangeEdit owners. More...
#include <LiveRangeEdit.h>
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 () |
Callback methods for LiveRangeEdit owners.
Definition at line 40 of file LiveRangeEdit.h.
virtual llvm::LiveRangeEdit::Delegate::~Delegate | ( | ) | [inline, virtual] |
Definition at line 57 of file LiveRangeEdit.h.
virtual bool llvm::LiveRangeEdit::Delegate::LRE_CanEraseVirtReg | ( | unsigned | ) | [inline, virtual] |
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().
virtual void llvm::LiveRangeEdit::Delegate::LRE_WillEraseInstruction | ( | MachineInstr * | MI | ) | [inline, virtual] |
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().