|
LLVM 22.0.0git
|
#include "Target/RISCV/MCA/RISCVCustomBehaviour.h"
Public Member Functions | |
| RISCVLMULInstrument (StringRef Data) | |
| ~RISCVLMULInstrument () override=default | |
| uint8_t | getLMUL () const |
| Public Member Functions inherited from llvm::mca::Instrument | |
| Instrument (StringRef Desc, StringRef Data) | |
| Instrument () | |
| virtual | ~Instrument ()=default |
| StringRef | getDesc () const |
| StringRef | getData () const |
Static Public Member Functions | |
| static bool | isDataValid (StringRef Data) |
Static Public Attributes | |
| static const StringRef | DESC_NAME = "RISCV-LMUL" |
Definition at line 29 of file RISCVCustomBehaviour.h.
|
inlineexplicit |
Definition at line 34 of file RISCVCustomBehaviour.h.
References DESC_NAME, and llvm::mca::Instrument::Instrument().
|
overridedefault |
| uint8_t llvm::mca::RISCVLMULInstrument::getLMUL | ( | ) | const |
Definition at line 50 of file RISCVCustomBehaviour.cpp.
References assert(), llvm::StringSwitch< T, R >::Case(), llvm::mca::Instrument::getData(), and isDataValid().
Referenced by llvm::mca::RISCVInstrumentManager::getSchedClassID().
|
static |
Definition at line 43 of file RISCVCustomBehaviour.cpp.
References llvm::StringSwitch< T, R >::Cases(), and llvm::Default.
Referenced by llvm::mca::RISCVInstrumentManager::createInstrument(), and getLMUL().
|
static |
Definition at line 31 of file RISCVCustomBehaviour.h.
Referenced by llvm::mca::RISCVInstrumentManager::createInstrument(), llvm::mca::RISCVInstrumentManager::createInstruments(), llvm::mca::RISCVInstrumentManager::getSchedClassID(), RISCVLMULInstrument(), and llvm::mca::RISCVInstrumentManager::supportsInstrumentType().