LLVM 20.0.0git
|
#include "Target/AMDGPU/MCA/AMDGPUCustomBehaviour.h"
Public Member Functions | |
AMDGPUInstrPostProcess (const MCSubtargetInfo &STI, const MCInstrInfo &MCII) | |
~AMDGPUInstrPostProcess ()=default | |
void | postProcessInstruction (std::unique_ptr< Instruction > &Inst, const MCInst &MCI) override |
This method can be overriden by targets to modify the mca::Instruction object after it has been lowered from the MCInst. | |
Public Member Functions inherited from llvm::mca::InstrPostProcess | |
InstrPostProcess (const MCSubtargetInfo &STI, const MCInstrInfo &MCII) | |
virtual | ~InstrPostProcess ()=default |
virtual void | postProcessInstruction (std::unique_ptr< Instruction > &Inst, const MCInst &MCI) |
This method can be overriden by targets to modify the mca::Instruction object after it has been lowered from the MCInst. | |
virtual void | resetState () |
Additional Inherited Members | |
Protected Attributes inherited from llvm::mca::InstrPostProcess | |
const MCSubtargetInfo & | STI |
const MCInstrInfo & | MCII |
Definition at line 27 of file AMDGPUCustomBehaviour.h.
|
inline |
Definition at line 31 of file AMDGPUCustomBehaviour.h.
|
default |
|
overridevirtual |
This method can be overriden by targets to modify the mca::Instruction object after it has been lowered from the MCInst.
This is generally a less disruptive alternative to modifying the scheduling model.
Reimplemented from llvm::mca::InstrPostProcess.
Definition at line 23 of file AMDGPUCustomBehaviour.cpp.
References llvm::MCInst::getOpcode().