LLVM 22.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 39 of file Instruction.h.
|
inline |
Definition at line 66 of file Instruction.h.
References FPImmVal.
Referenced by createDFPImm(), createImm(), createInvalid(), createReg(), and createSFPImm().
|
inlinestatic |
Definition at line 120 of file Instruction.h.
References MCAOperand().
|
inlinestatic |
Definition at line 106 of file Instruction.h.
References MCAOperand().
|
inlinestatic |
Definition at line 127 of file Instruction.h.
References MCAOperand().
|
inlinestatic |
Definition at line 99 of file Instruction.h.
References MCAOperand(), and Reg.
|
inlinestatic |
Definition at line 113 of file Instruction.h.
References MCAOperand().
|
inline |
Definition at line 90 of file Instruction.h.
References assert(), FPImmVal, and isDFPImm().
|
inline |
Definition at line 80 of file Instruction.h.
|
inline |
Definition at line 97 of file Instruction.h.
|
inline |
Returns the register number.
Definition at line 75 of file Instruction.h.
|
inline |
Definition at line 85 of file Instruction.h.
References assert(), isSFPImm(), and SFPImmVal.
|
inline |
Definition at line 72 of file Instruction.h.
Referenced by getDFPImm().
|
inline |
Definition at line 70 of file Instruction.h.
Referenced by getImm().
|
inline |
Definition at line 69 of file Instruction.h.
Referenced by getReg().
|
inline |
Definition at line 71 of file Instruction.h.
Referenced by getSFPImm().
|
inline |
Definition at line 68 of file Instruction.h.
Definition at line 95 of file Instruction.h.
uint64_t llvm::mca::MCAOperand::FPImmVal |
Definition at line 56 of file Instruction.h.
Referenced by getDFPImm(), and MCAOperand().
int64_t llvm::mca::MCAOperand::ImmVal |
Definition at line 54 of file Instruction.h.
Referenced by getImm().
unsigned llvm::mca::MCAOperand::RegVal |
Definition at line 53 of file Instruction.h.
Referenced by getReg().
uint32_t llvm::mca::MCAOperand::SFPImmVal |
Definition at line 55 of file Instruction.h.
Referenced by getSFPImm().