gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
ListOperand Class Reference

#include <operand.hh>

Inheritance diagram for ListOperand:
BaseOperand

Public Member Functions

int getSrcOperand (int idx)
 
void init (unsigned opOffset, const BrigObject *obj)
 
std::string disassemble ()
 
template<typename OperandType >
OperandType get (Wavefront *w, int lane, int arg_idx)
 
template<typename OperandType >
void set (Wavefront *w, int lane, OperandType val)
 
- Public Member Functions inherited from BaseOperand
 BaseOperand ()
 
bool isVectorRegister ()
 
bool isScalarRegister ()
 
bool isCondRegister ()
 
unsigned int regIndex ()
 
uint32_t opSize ()
 
virtual ~BaseOperand ()
 

Public Attributes

int elementCount
 
std::vector< StorageElement * > callArgs
 
- Public Attributes inherited from BaseOperand
Enums::RegisterType registerType
 
uint32_t regOperandSize
 

Detailed Description

Definition at line 750 of file operand.hh.

Member Function Documentation

std::string ListOperand::disassemble ( )

Definition at line 104 of file operand.cc.

References csprintf().

Referenced by HsailISA::Call::generateDisassembly().

template<typename OperandType >
OperandType ListOperand::get ( Wavefront w,
int  lane,
int  arg_idx 
)
inline
int ListOperand::getSrcOperand ( int  idx)
inline

Definition at line 757 of file operand.hh.

References callArgs, and DPRINTF.

Referenced by get(), and set().

void ListOperand::init ( unsigned  opOffset,
const BrigObject obj 
)
template<typename OperandType >
void ListOperand::set ( Wavefront w,
int  lane,
OperandType  val 
)
inline

Member Data Documentation

std::vector<StorageElement*> ListOperand::callArgs

Definition at line 754 of file operand.hh.

Referenced by getSrcOperand().

int ListOperand::elementCount

Definition at line 753 of file operand.hh.


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

Generated on Fri Jun 9 2017 13:04:14 for gem5 by doxygen 1.8.6