LLVM 20.0.0git
|
#include "Target/RISCV/MCA/RISCVCustomBehaviour.h"
Public Member Functions | |
RISCVSEWInstrument (StringRef Data) | |
~RISCVSEWInstrument ()=default | |
uint8_t | getSEW () 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-SEW" |
Definition at line 41 of file RISCVCustomBehaviour.h.
|
inlineexplicit |
Definition at line 46 of file RISCVCustomBehaviour.h.
|
default |
uint8_t llvm::mca::RISCVSEWInstrument::getSEW | ( | ) | const |
Definition at line 60 of file RISCVCustomBehaviour.cpp.
References assert(), llvm::StringSwitch< T, R >::Case(), llvm::mca::Instrument::getData(), and isDataValid().
|
static |
Definition at line 53 of file RISCVCustomBehaviour.cpp.
References llvm::StringSwitch< T, R >::Cases(), and llvm::StringSwitch< T, R >::Default().
Referenced by llvm::mca::RISCVInstrumentManager::createInstrument(), and getSEW().
|
static |