LLVM 19.0.0git
Public Member Functions | List of all members
llvm::mca::X86InstrPostProcess Class Reference

#include "Target/X86/MCA/X86CustomBehaviour.h"

Inheritance diagram for llvm::mca::X86InstrPostProcess:
Inheritance graph
[legend]

Public Member Functions

 X86InstrPostProcess (const MCSubtargetInfo &STI, const MCInstrInfo &MCII)
 
 ~X86InstrPostProcess ()=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 26 of file X86CustomBehaviour.h.

Constructor & Destructor Documentation

◆ X86InstrPostProcess()

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

Definition at line 32 of file X86CustomBehaviour.h.

◆ ~X86InstrPostProcess()

llvm::mca::X86InstrPostProcess::~X86InstrPostProcess ( )
default

Member Function Documentation

◆ postProcessInstruction()

void llvm::mca::X86InstrPostProcess::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 39 of file X86CustomBehaviour.cpp.


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