LLVM 22.0.0git
SlotIndexUpdateDelegate Class Reference
Inheritance diagram for SlotIndexUpdateDelegate:
[legend]

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_HandleChangeDesc (MachineInstr &MI, const MCInstrDesc &TID)
 Callback before changing MCInstrDesc.

Detailed Description

Definition at line 1128 of file MachineBasicBlock.cpp.

Constructor & Destructor Documentation

◆ SlotIndexUpdateDelegate()

SlotIndexUpdateDelegate::SlotIndexUpdateDelegate ( MachineFunction & MF,
SlotIndexes * Indexes )
inline

Definition at line 1135 of file MachineBasicBlock.cpp.

◆ ~SlotIndexUpdateDelegate()

SlotIndexUpdateDelegate::~SlotIndexUpdateDelegate ( )
inline

Definition at line 1140 of file MachineBasicBlock.cpp.

References MI.

Member Function Documentation

◆ MF_HandleInsertion()

void SlotIndexUpdateDelegate::MF_HandleInsertion ( MachineInstr & MI)
inlineoverridevirtual

Callback after an insertion. This should not modify the MI directly.

Implements llvm::MachineFunction::Delegate.

Definition at line 1146 of file MachineBasicBlock.cpp.

References MI.

◆ MF_HandleRemoval()

void SlotIndexUpdateDelegate::MF_HandleRemoval ( MachineInstr & MI)
inlineoverridevirtual

Callback before a removal. This should not modify the MI directly.

Implements llvm::MachineFunction::Delegate.

Definition at line 1152 of file MachineBasicBlock.cpp.

References MI.


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