LLVM 20.0.0git
|
Public Member Functions | |
SlotIndexUpdateDelegate (MachineFunction &MF, SlotIndexes *Indexes) | |
~SlotIndexUpdateDelegate () | |
void | MF_HandleInsertion (MachineInstr &MI) override |
Callback after an insertion. This should not modify the MI directly. | |
void | MF_HandleRemoval (MachineInstr &MI) override |
Callback before a removal. This should not modify the MI directly. | |
Public Member Functions inherited from llvm::MachineFunction::Delegate | |
virtual | ~Delegate ()=default |
virtual void | MF_HandleInsertion (MachineInstr &MI)=0 |
Callback after an insertion. This should not modify the MI directly. | |
virtual void | MF_HandleRemoval (MachineInstr &MI)=0 |
Callback before a removal. This should not modify the MI directly. | |
virtual void | MF_HandleChangeDesc (MachineInstr &MI, const MCInstrDesc &TID) |
Callback before changing MCInstrDesc. | |
Definition at line 1108 of file MachineBasicBlock.cpp.
|
inline |
Definition at line 1115 of file MachineBasicBlock.cpp.
References llvm::MachineFunction::setDelegate().
|
inline |
Definition at line 1120 of file MachineBasicBlock.cpp.
References llvm::SlotIndexes::insertMachineInstrInMaps(), MI, and llvm::MachineFunction::resetDelegate().
|
inlineoverridevirtual |
Callback after an insertion. This should not modify the MI directly.
Implements llvm::MachineFunction::Delegate.
Definition at line 1126 of file MachineBasicBlock.cpp.
References llvm::SetVector< T, Vector, Set, N >::insert(), and MI.
|
inlineoverridevirtual |
Callback before a removal. This should not modify the MI directly.
Implements llvm::MachineFunction::Delegate.
Definition at line 1132 of file MachineBasicBlock.cpp.
References MI, llvm::SetVector< T, Vector, Set, N >::remove(), and llvm::SlotIndexes::removeMachineInstrFromMaps().