LLVM 20.0.0git
Public Member Functions | List of all members
llvm::mca::AMDGPUInstrPostProcess Class Reference

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

Inheritance diagram for llvm::mca::AMDGPUInstrPostProcess:
Inheritance graph
[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 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 MCSubtargetInfoSTI
 
const MCInstrInfoMCII
 

Detailed Description

Definition at line 27 of file AMDGPUCustomBehaviour.h.

Constructor & Destructor Documentation

◆ AMDGPUInstrPostProcess()

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

Definition at line 31 of file AMDGPUCustomBehaviour.h.

◆ ~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 23 of file AMDGPUCustomBehaviour.cpp.

References llvm::MCInst::getOpcode().


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