LLVM 20.0.0git
|
Callback methods for LiveRangeEdit owners. More...
#include "llvm/CodeGen/LiveRangeEdit.h"
Public Member Functions | |
virtual | ~Delegate ()=default |
virtual void | LRE_WillEraseInstruction (MachineInstr *MI) |
Called immediately before erasing a dead machine instruction. | |
virtual bool | LRE_CanEraseVirtReg (Register) |
Called when a virtual register is no longer used. | |
virtual void | LRE_WillShrinkVirtReg (Register) |
Called before shrinking the live range of a virtual register. | |
virtual void | LRE_DidCloneVirtReg (Register New, Register Old) |
Called after cloning a virtual register. | |
Callback methods for LiveRangeEdit owners.
Definition at line 45 of file LiveRangeEdit.h.
|
virtualdefault |
Called when a virtual register is no longer used.
Return false to defer its deletion from LiveIntervals.
Definition at line 56 of file LiveRangeEdit.h.
Referenced by llvm::LiveRangeEdit::eraseVirtReg().
|
inlinevirtual |
Called after cloning a virtual register.
This is used for new registers representing connected components of Old.
Definition at line 63 of file LiveRangeEdit.h.
Referenced by llvm::LiveRangeEdit::eliminateDeadDefs().
|
inlinevirtual |
Called immediately before erasing a dead machine instruction.
Definition at line 52 of file LiveRangeEdit.h.
|
inlinevirtual |
Called before shrinking the live range of a virtual register.
Definition at line 59 of file LiveRangeEdit.h.
Referenced by llvm::LiveRangeEdit::eliminateDeadDefs().