LLVM: llvm::mca::InstrPostProcess Class Reference (original) (raw)
Class which can be overriden by targets to modify the mca::Instruction objects before the pipeline starts. More...
#include "[llvm/MCA/CustomBehaviour.h](CustomBehaviour%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| InstrPostProcess (const MCSubtargetInfo &STI, const MCInstrInfo &MCII) | |
| virtual | ~InstrPostProcess ()=default |
| virtual void | postProcessInstruction (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 () |
Class which can be overriden by targets to modify the mca::Instruction objects before the pipeline starts.
A common usage of this class is to add immediate operands to certain instructions or to remove Defs/Uses from an instruction where the schedulinng model is incorrect.
Definition at line 37 of file CustomBehaviour.h.
◆ ~InstrPostProcess()
| virtual llvm::mca::InstrPostProcess::~InstrPostProcess ( ) | virtualdefault |
|---|
◆ postProcessInstruction()
◆ resetState()
| virtual void llvm::mca::InstrPostProcess::resetState ( ) | inlinevirtual |
|---|
◆ MCII
◆ STI
The documentation for this class was generated from the following file:
- include/llvm/MCA/CustomBehaviour.h