LLVM: llvm::mca::InstrumentManager Class Reference (original) (raw)
This class allows targets to optionally customize the logic that resolves scheduling class IDs. More...
#include "[llvm/MCA/CustomBehaviour.h](CustomBehaviour%5F8h%5Fsource.html)"
This class allows targets to optionally customize the logic that resolves scheduling class IDs.
Targets can use information encoded in Instrument objects to make more informed scheduling decisions.
Definition at line 160 of file CustomBehaviour.h.
◆ ~InstrumentManager()
| virtual llvm::mca::InstrumentManager::~InstrumentManager ( ) | virtualdefault |
|---|
◆ canCustomize()
◆ createInstrument()
◆ createInstruments()
◆ customize()
◆ getSchedClassID()
Given an MCInst and a vector of Instrument, a target can return a SchedClassID.
This can be used by a subtarget to return a PseudoInstruction SchedClassID instead of the one that belongs to the BaseInstruction This can be useful when a BaseInstruction does not convey the correct scheduling information without additional data. By default, it returns the SchedClassID that belongs to MCI.
Reimplemented in llvm::mca::RISCVInstrumentManager.
Definition at line 92 of file CustomBehaviour.cpp.
References llvm::MCInst::getOpcode(), and MCII.
◆ shouldIgnoreInstruments()
| virtual bool llvm::mca::InstrumentManager::shouldIgnoreInstruments ( ) const | inlinevirtual |
|---|
◆ supportsInstrumentType()
| bool llvm::mca::InstrumentManager::supportsInstrumentType ( StringRef Type) const | virtual |
|---|
◆ EnableInstruments
| bool llvm::mca::InstrumentManager::EnableInstruments | protected |
|---|
◆ MCII
◆ STI
The documentation for this class was generated from the following files:
- include/llvm/MCA/CustomBehaviour.h
- lib/MCA/CustomBehaviour.cpp