LLVM 22.0.0git
llvm::mca::AMDGPUInstrPostProcess Class Reference

#include "Target/AMDGPU/MCA/AMDGPUCustomBehaviour.h"

Inheritance diagram for llvm::mca::AMDGPUInstrPostProcess:
[legend]

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 resetState ()

Additional Inherited Members

Protected Attributes inherited from llvm::mca::InstrPostProcess
const MCSubtargetInfoSTI
const MCInstrInfoMCII

Detailed Description

Definition at line 28 of file AMDGPUCustomBehaviour.h.

Constructor & Destructor Documentation

◆ AMDGPUInstrPostProcess()

llvm::mca::AMDGPUInstrPostProcess::AMDGPUInstrPostProcess ( const MCSubtargetInfo & STI,
const MCInstrInfo & MCII )
inline

◆ ~AMDGPUInstrPostProcess()

llvm::mca::AMDGPUInstrPostProcess::~AMDGPUInstrPostProcess ( )
default

Member Function Documentation

◆ postProcessInstruction()

void llvm::mca::AMDGPUInstrPostProcess::postProcessInstruction ( std::unique_ptr< Instruction > & Inst,
const MCInst & MCI )
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 24 of file AMDGPUCustomBehaviour.cpp.

References llvm::MCInst::getOpcode().


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