LLVM 20.0.0git
|
A representation of an mca::Instruction operand for use in mca::CustomBehaviour. More...
#include "llvm/MCA/Instruction.h"
Public Member Functions | |
MCAOperand () | |
bool | isValid () const |
bool | isReg () const |
bool | isImm () const |
bool | isSFPImm () const |
bool | isDFPImm () const |
unsigned | getReg () const |
Returns the register number. | |
int64_t | getImm () const |
uint32_t | getSFPImm () const |
uint64_t | getDFPImm () const |
void | setIndex (const unsigned Idx) |
unsigned | getIndex () const |
Static Public Member Functions | |
static MCAOperand | createReg (unsigned Reg) |
static MCAOperand | createImm (int64_t Val) |
static MCAOperand | createSFPImm (uint32_t Val) |
static MCAOperand | createDFPImm (uint64_t Val) |
static MCAOperand | createInvalid () |
A representation of an mca::Instruction operand for use in mca::CustomBehaviour.
Definition at line 38 of file Instruction.h.
|
inline |
Definition at line 65 of file Instruction.h.
|
inlinestatic |
Definition at line 119 of file Instruction.h.
|
inlinestatic |
Definition at line 105 of file Instruction.h.
|
inlinestatic |
Definition at line 126 of file Instruction.h.
|
inlinestatic |
Definition at line 98 of file Instruction.h.
References Reg.
|
inlinestatic |
Definition at line 112 of file Instruction.h.
|
inline |
Definition at line 89 of file Instruction.h.
References assert(), FPImmVal, and isDFPImm().
|
inline |
Definition at line 79 of file Instruction.h.
|
inline |
Definition at line 96 of file Instruction.h.
|
inline |
Returns the register number.
Definition at line 74 of file Instruction.h.
|
inline |
Definition at line 84 of file Instruction.h.
References assert(), isSFPImm(), and SFPImmVal.
|
inline |
Definition at line 71 of file Instruction.h.
Referenced by getDFPImm().
|
inline |
Definition at line 69 of file Instruction.h.
Referenced by getImm().
|
inline |
Definition at line 68 of file Instruction.h.
Referenced by getReg().
|
inline |
Definition at line 70 of file Instruction.h.
Referenced by getSFPImm().
|
inline |
Definition at line 67 of file Instruction.h.
Definition at line 94 of file Instruction.h.
References Idx.
uint64_t llvm::mca::MCAOperand::FPImmVal |
Definition at line 55 of file Instruction.h.
Referenced by getDFPImm().
int64_t llvm::mca::MCAOperand::ImmVal |
Definition at line 53 of file Instruction.h.
Referenced by getImm().
unsigned llvm::mca::MCAOperand::RegVal |
Definition at line 52 of file Instruction.h.
Referenced by getReg().
uint32_t llvm::mca::MCAOperand::SFPImmVal |
Definition at line 54 of file Instruction.h.
Referenced by getSFPImm().