LLVM: llvm::mca::RISCVSEWInstrument Class Reference (original) (raw)

#include "[Target/RISCV/MCA/RISCVCustomBehaviour.h](RISCVCustomBehaviour%5F8h%5Fsource.html)"

Inheritance diagram for llvm::mca::RISCVSEWInstrument:

[legend]

Public Member Functions
RISCVSEWInstrument (StringRef Data)
~RISCVSEWInstrument () override=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"

Detailed Description

Definition at line 41 of file RISCVCustomBehaviour.h.

Constructor & Destructor Documentation

llvm::mca::RISCVSEWInstrument::RISCVSEWInstrument ( StringRef Data) inlineexplicit

Definition at line 46 of file RISCVCustomBehaviour.h.

References DESC_NAME, and llvm::mca::Instrument::Instrument().

~RISCVSEWInstrument()

llvm::mca::RISCVSEWInstrument::~RISCVSEWInstrument ( ) overridedefault

Member Function Documentation

getSEW()

uint8_t llvm::mca::RISCVSEWInstrument::getSEW ( ) const

Definition at line 75 of file RISCVCustomBehaviour.cpp.

References assert(), llvm::StringSwitch< T, R >::Case(), llvm::mca::Instrument::getData(), and isDataValid().

isDataValid()

bool llvm::mca::RISCVSEWInstrument::isDataValid ( llvm::StringRef Data) static

Definition at line 68 of file RISCVCustomBehaviour.cpp.

References llvm::StringSwitch< T, R >::Cases(), and llvm::Default.

Referenced by llvm::mca::RISCVInstrumentManager::createInstrument(), and getSEW().

Member Data Documentation

DESC_NAME

const llvm::StringRef llvm::mca::RISCVSEWInstrument::DESC_NAME = "RISCV-SEW" static

Definition at line 43 of file RISCVCustomBehaviour.h.

Referenced by llvm::mca::RISCVInstrumentManager::createInstrument(), llvm::mca::RISCVInstrumentManager::createInstruments(), llvm::mca::RISCVInstrumentManager::getSchedClassID(), RISCVSEWInstrument(), and llvm::mca::RISCVInstrumentManager::supportsInstrumentType().


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