LLVM 20.0.0git
Public Member Functions | List of all members
llvm::MachineFunction::Delegate Class Referenceabstract

#include "llvm/CodeGen/MachineFunction.h"

Inheritance diagram for llvm::MachineFunction::Delegate:
Inheritance graph
[legend]

Public Member Functions

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.
 

Detailed Description

Definition at line 458 of file MachineFunction.h.

Constructor & Destructor Documentation

◆ ~Delegate()

virtual llvm::MachineFunction::Delegate::~Delegate ( )
virtualdefault

Member Function Documentation

◆ MF_HandleChangeDesc()

virtual void llvm::MachineFunction::Delegate::MF_HandleChangeDesc ( MachineInstr MI,
const MCInstrDesc TID 
)
inlinevirtual

Callback before changing MCInstrDesc.

This should not modify the MI directly.

Definition at line 469 of file MachineFunction.h.

Referenced by llvm::MachineFunction::handleChangeDesc().

◆ MF_HandleInsertion()

virtual void llvm::MachineFunction::Delegate::MF_HandleInsertion ( MachineInstr MI)
pure virtual

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

Implemented in llvm::GISelObserverWrapper, llvm::InstructionSelect::MIIteratorMaintainer, and SlotIndexUpdateDelegate.

◆ MF_HandleRemoval()

virtual void llvm::MachineFunction::Delegate::MF_HandleRemoval ( MachineInstr MI)
pure virtual

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

Implemented in llvm::GISelObserverWrapper, llvm::InstructionSelect::MIIteratorMaintainer, and SlotIndexUpdateDelegate.


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