gem5
|
#include <operand.hh>
Public Member Functions | |
void | setImm (const bool value) |
RegOrImmOperand () | |
void | init (unsigned opOffset, const BrigObject *obj) |
void | init_from_vect (unsigned opOffset, const BrigObject *obj, int at) |
std::string | disassemble () |
template<typename OperandType > | |
OperandType | get (Wavefront *w, int lane) |
uint32_t | opSize () |
bool | isVectorRegister () |
bool | isCondRegister () |
bool | isScalarRegister () |
unsigned int | regIndex () |
Public Member Functions inherited from BaseOperand | |
BaseOperand () | |
bool | isVectorRegister () |
bool | isScalarRegister () |
bool | isCondRegister () |
unsigned int | regIndex () |
uint32_t | opSize () |
virtual | ~BaseOperand () |
Public Attributes | |
ImmOperand< T > | imm_op |
RegOperand | reg_op |
Public Attributes inherited from BaseOperand | |
Enums::RegisterType | registerType |
uint32_t | regOperandSize |
Private Attributes | |
bool | is_imm |
Definition at line 456 of file operand.hh.
|
inline |
Definition at line 467 of file operand.hh.
References RegOrImmOperand< RegOperand, T >::is_imm.
std::string RegOrImmOperand< RegOperand, T >::disassemble | ( | ) |
Definition at line 571 of file operand.hh.
|
inline |
Definition at line 474 of file operand.hh.
References RegOrImmOperand< RegOperand, T >::imm_op, RegOrImmOperand< RegOperand, T >::is_imm, RegOrImmOperand< RegOperand, T >::reg_op, and MipsISA::w.
void RegOrImmOperand< RegOperand, T >::init | ( | unsigned | opOffset, |
const BrigObject * | obj | ||
) |
Definition at line 531 of file operand.hh.
References fatal, BrigObject::getOperand(), and Brig::BrigBase::kind.
void RegOrImmOperand< RegOperand, T >::init_from_vect | ( | unsigned | opOffset, |
const BrigObject * | obj, | ||
int | at | ||
) |
Definition at line 550 of file operand.hh.
References fatal, BrigObject::getOperand(), and Brig::BrigBase::kind.
|
inline |
Definition at line 500 of file operand.hh.
References RegOrImmOperand< RegOperand, T >::is_imm, and RegOrImmOperand< RegOperand, T >::reg_op.
|
inline |
Definition at line 510 of file operand.hh.
References RegOrImmOperand< RegOperand, T >::is_imm, and RegOrImmOperand< RegOperand, T >::reg_op.
|
inline |
Definition at line 491 of file operand.hh.
References RegOrImmOperand< RegOperand, T >::is_imm, and RegOrImmOperand< RegOperand, T >::reg_op.
|
inline |
Definition at line 481 of file operand.hh.
References RegOrImmOperand< RegOperand, T >::is_imm, and RegOrImmOperand< RegOperand, T >::reg_op.
|
inline |
Definition at line 520 of file operand.hh.
References RegOrImmOperand< RegOperand, T >::is_imm, and RegOrImmOperand< RegOperand, T >::reg_op.
|
inline |
Definition at line 462 of file operand.hh.
References RegOrImmOperand< RegOperand, T >::is_imm.
ImmOperand<T> RegOrImmOperand< RegOperand, T >::imm_op |
Definition at line 464 of file operand.hh.
Referenced by RegOrImmOperand< RegOperand, T >::get().
|
private |
Definition at line 459 of file operand.hh.
Referenced by RegOrImmOperand< RegOperand, T >::get(), RegOrImmOperand< RegOperand, T >::isCondRegister(), RegOrImmOperand< RegOperand, T >::isScalarRegister(), RegOrImmOperand< RegOperand, T >::isVectorRegister(), RegOrImmOperand< RegOperand, T >::opSize(), RegOrImmOperand< RegOperand, T >::regIndex(), RegOrImmOperand< RegOperand, T >::RegOrImmOperand(), and RegOrImmOperand< RegOperand, T >::setImm().
RegOperand RegOrImmOperand< RegOperand, T >::reg_op |
Definition at line 465 of file operand.hh.
Referenced by RegOrImmOperand< RegOperand, T >::get(), RegOrImmOperand< RegOperand, T >::isCondRegister(), RegOrImmOperand< RegOperand, T >::isScalarRegister(), RegOrImmOperand< RegOperand, T >::isVectorRegister(), RegOrImmOperand< RegOperand, T >::opSize(), and RegOrImmOperand< RegOperand, T >::regIndex().