gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | List of all members
GPUStaticInst Class Referenceabstract

#include <gpu_static_inst.hh>

Inheritance diagram for GPUStaticInst:
HsailISA::HsailGPUStaticInst KernelLaunchStaticInst HsailISA::AtomicInstBase< MemDataType::OperandType, AddrOperandType, NumSrcOperands, HasDst > HsailISA::BrInstBase< LabelOperand > HsailISA::BrInstBase< SRegOperand > HsailISA::BrnInstBase< LabelOperand > HsailISA::BrnInstBase< SRegOperand > HsailISA::CbrInstBase< LabelOperand > HsailISA::CbrInstBase< SRegOperand > HsailISA::CommonInstBase< DataType::OperandType, DataType::OperandType, NumSrcOperands > HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 1 > HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 2 > HsailISA::CommonInstBase< DestOperandType, SrcOperandType, 2 > HsailISA::AtomicInstBase< OperandType, AddrOperandType, NumSrcOperands, HasDst > HsailISA::BrInstBase< TargetType > HsailISA::BrnInstBase< TargetType > HsailISA::Call HsailISA::CbrInstBase< TargetType > HsailISA::CommonInstBase< DestOperandType, SrcOperandType, NumSrcOperands > HsailISA::LdaInstBase< DestOperandType, AddrOperandType > HsailISA::LdInstBase< MemOperandType, DestOperandType, AddrOperandType > HsailISA::SpecialInst1SrcBase< DestOperandType > HsailISA::SpecialInstNoSrcBase< DestOperandType > HsailISA::SpecialInstNoSrcNoDest HsailISA::StInstBase< MemDataType, SrcOperandType, AddrOperandType > HsailISA::Stub HsailISA::ThreeNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType, Src2OperandType > HsailISA::TwoNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType > HsailISA::LdaInstBase< DestDataType::OperandType, AddrOperandType > HsailISA::LdInstBase< MemDataType::CType, DestDataType::OperandType, AddrOperandType > HsailISA::SpecialInst1SrcBase< DestDataType::OperandType > HsailISA::SpecialInstNoSrcBase< DestDataType::OperandType > HsailISA::StInstBase< MemDataType, SrcDataType::OperandType, AddrOperandType > HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, B1::OperandType, DataType::OperandType, DataType::OperandType > HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType, U32::OperandType > HsailISA::ThreeNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType, Src2DataType::OperandType > HsailISA::TwoNonUniformSourceInstBase< B1::OperandType, DataType::OperandType, U32::OperandType > HsailISA::TwoNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType > HsailISA::TwoNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType >

Public Member Functions

 GPUStaticInst (const std::string &opcode)
 
void instAddr (int inst_addr)
 
int instAddr () const
 
int nextInstAddr () const
 
void instNum (int num)
 
int instNum ()
 
void ipdInstNum (int num)
 
int ipdInstNum () const
 
virtual void execute (GPUDynInstPtr gpuDynInst)=0
 
virtual void generateDisassembly ()=0
 
const std::string & disassemble ()
 
virtual int getNumOperands ()=0
 
virtual bool isCondRegister (int operandIndex)=0
 
virtual bool isScalarRegister (int operandIndex)=0
 
virtual bool isVectorRegister (int operandIndex)=0
 
virtual bool isSrcOperand (int operandIndex)=0
 
virtual bool isDstOperand (int operandIndex)=0
 
virtual int getOperandSize (int operandIndex)=0
 
virtual int getRegisterIndex (int operandIndex, GPUDynInstPtr gpuDynInst)=0
 
virtual int numDstRegOperands ()=0
 
virtual int numSrcRegOperands ()=0
 
virtual bool isValid () const =0
 
bool isALU () const
 
bool isBranch () const
 
bool isNop () const
 
bool isReturn () const
 
bool isUnconditionalJump () const
 
bool isSpecialOp () const
 
bool isWaitcnt () const
 
bool isBarrier () const
 
bool isMemFence () const
 
bool isMemRef () const
 
bool isFlat () const
 
bool isLoad () const
 
bool isStore () const
 
bool isAtomic () const
 
bool isAtomicNoRet () const
 
bool isAtomicRet () const
 
bool isScalar () const
 
bool readsSCC () const
 
bool writesSCC () const
 
bool readsVCC () const
 
bool writesVCC () const
 
bool isAtomicAnd () const
 
bool isAtomicOr () const
 
bool isAtomicXor () const
 
bool isAtomicCAS () const
 
bool isAtomicExch () const
 
bool isAtomicAdd () const
 
bool isAtomicSub () const
 
bool isAtomicInc () const
 
bool isAtomicDec () const
 
bool isAtomicMax () const
 
bool isAtomicMin () const
 
bool isArgLoad () const
 
bool isGlobalMem () const
 
bool isLocalMem () const
 
bool isArgSeg () const
 
bool isGlobalSeg () const
 
bool isGroupSeg () const
 
bool isKernArgSeg () const
 
bool isPrivateSeg () const
 
bool isReadOnlySeg () const
 
bool isSpillSeg () const
 
bool isWorkitemScope () const
 
bool isWavefrontScope () const
 
bool isWorkgroupScope () const
 
bool isDeviceScope () const
 
bool isSystemScope () const
 
bool isNoScope () const
 
bool isRelaxedOrder () const
 
bool isAcquire () const
 
bool isRelease () const
 
bool isAcquireRelease () const
 
bool isNoOrder () const
 
bool isGloballyCoherent () const
 Coherence domain of a memory instruction. More...
 
bool isSystemCoherent () const
 
virtual int instSize () const =0
 
virtual void initiateAcc (GPUDynInstPtr gpuDynInst)
 
virtual void completeAcc (GPUDynInstPtr gpuDynInst)
 
virtual uint32_t getTargetPc ()
 
void setFlag (Flags flag)
 
virtual void execLdAcq (GPUDynInstPtr gpuDynInst)
 
virtual void execSt (GPUDynInstPtr gpuDynInst)
 
virtual void execAtomic (GPUDynInstPtr gpuDynInst)
 
virtual void execAtomicAcq (GPUDynInstPtr gpuDynInst)
 

Public Attributes

Enums::StorageClassType executed_as
 

Static Public Attributes

static uint64_t dynamic_id_count
 

Protected Attributes

const std::string opcode
 
std::string disassembly
 
int _instNum
 
int _instAddr
 
int _ipdInstNum
 Identifier of the immediate post-dominator instruction. More...
 
std::bitset< Num_Flags > _flags
 

Detailed Description

Definition at line 60 of file gpu_static_inst.hh.

Constructor & Destructor Documentation

GPUStaticInst::GPUStaticInst ( const std::string &  opcode)

Definition at line 38 of file gpu_static_inst.cc.

References setFlag().

Member Function Documentation

virtual void GPUStaticInst::completeAcc ( GPUDynInstPtr  gpuDynInst)
inlinevirtual
const std::string & GPUStaticInst::disassemble ( )
virtual void GPUStaticInst::execAtomic ( GPUDynInstPtr  gpuDynInst)
inlinevirtual
virtual void GPUStaticInst::execAtomicAcq ( GPUDynInstPtr  gpuDynInst)
inlinevirtual
virtual void GPUStaticInst::execLdAcq ( GPUDynInstPtr  gpuDynInst)
inlinevirtual
virtual void GPUStaticInst::execSt ( GPUDynInstPtr  gpuDynInst)
inlinevirtual
virtual void GPUStaticInst::execute ( GPUDynInstPtr  gpuDynInst)
pure virtual
virtual void GPUStaticInst::generateDisassembly ( )
pure virtual

Implemented in HsailISA::AtomicInst< MemDataType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::Call, HsailISA::StInst< MemDataType, SrcDataType, AddrOperandType >, HsailISA::SpecialInst1SrcBase< DestOperandType >, HsailISA::SpecialInst1SrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcBase< DestOperandType >, HsailISA::SpecialInstNoSrcBase< DestDataType::OperandType >, HsailISA::Stub, HsailISA::TwoNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType >, HsailISA::TwoNonUniformSourceInstBase< B1::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType >, HsailISA::LdInst< MemDataType, DestDataType, AddrOperandType >, HsailISA::BrInstBase< TargetType >, HsailISA::BrInstBase< LabelOperand >, HsailISA::BrInstBase< SRegOperand >, KernelLaunchStaticInst, HsailISA::ThreeNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType, Src2OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType, U32::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType, Src2DataType::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, B1::OperandType, DataType::OperandType, DataType::OperandType >, HsailISA::LdaInst< DestDataType, AddrOperandType >, HsailISA::CbrInstBase< TargetType >, HsailISA::CbrInstBase< LabelOperand >, HsailISA::CbrInstBase< SRegOperand >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 2 >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, 2 >, HsailISA::CommonInstBase< DataType::OperandType, DataType::OperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 1 >, HsailISA::HsailGPUStaticInst, HsailISA::BrnInstBase< TargetType >, HsailISA::BrnInstBase< LabelOperand >, and HsailISA::BrnInstBase< SRegOperand >.

Referenced by disassemble().

virtual int GPUStaticInst::getNumOperands ( )
pure virtual

Implemented in HsailISA::AtomicInstBase< OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::AtomicInstBase< MemDataType::OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::Call, HsailISA::StInst< MemDataType, SrcDataType, AddrOperandType >, HsailISA::SpecialInst1SrcBase< DestOperandType >, HsailISA::SpecialInst1SrcBase< DestDataType::OperandType >, HsailISA::StInstBase< MemDataType, SrcOperandType, AddrOperandType >, HsailISA::StInstBase< MemDataType, SrcDataType::OperandType, AddrOperandType >, HsailISA::SpecialInstNoSrcBase< DestOperandType >, HsailISA::SpecialInstNoSrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcNoDest, HsailISA::Stub, HsailISA::LdInst< MemDataType, DestDataType, AddrOperandType >, HsailISA::TwoNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType >, HsailISA::TwoNonUniformSourceInstBase< B1::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType >, HsailISA::BrInstBase< TargetType >, HsailISA::BrInstBase< LabelOperand >, HsailISA::BrInstBase< SRegOperand >, HsailISA::ThreeNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType, Src2OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType, U32::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType, Src2DataType::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, B1::OperandType, DataType::OperandType, DataType::OperandType >, HsailISA::LdInstBase< MemOperandType, DestOperandType, AddrOperandType >, HsailISA::LdInstBase< MemDataType::CType, DestDataType::OperandType, AddrOperandType >, KernelLaunchStaticInst, HsailISA::CbrInstBase< TargetType >, HsailISA::CbrInstBase< LabelOperand >, HsailISA::CbrInstBase< SRegOperand >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 2 >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, 2 >, HsailISA::CommonInstBase< DataType::OperandType, DataType::OperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 1 >, HsailISA::LdaInstBase< DestOperandType, AddrOperandType >, HsailISA::LdaInstBase< DestDataType::OperandType, AddrOperandType >, HsailISA::BrnInstBase< TargetType >, HsailISA::BrnInstBase< LabelOperand >, and HsailISA::BrnInstBase< SRegOperand >.

Referenced by GPUDynInst::getNumOperands().

virtual int GPUStaticInst::getOperandSize ( int  operandIndex)
pure virtual

Implemented in HsailISA::AtomicInstBase< OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::AtomicInstBase< MemDataType::OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::Call, HsailISA::StInst< MemDataType, SrcDataType, AddrOperandType >, HsailISA::StInstBase< MemDataType, SrcOperandType, AddrOperandType >, HsailISA::StInstBase< MemDataType, SrcDataType::OperandType, AddrOperandType >, HsailISA::SpecialInst1SrcBase< DestOperandType >, HsailISA::SpecialInst1SrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcBase< DestOperandType >, HsailISA::SpecialInstNoSrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcNoDest, HsailISA::Stub, HsailISA::LdInst< MemDataType, DestDataType, AddrOperandType >, HsailISA::TwoNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType >, HsailISA::TwoNonUniformSourceInstBase< B1::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType >, HsailISA::LdInstBase< MemOperandType, DestOperandType, AddrOperandType >, HsailISA::LdInstBase< MemDataType::CType, DestDataType::OperandType, AddrOperandType >, HsailISA::BrInstBase< TargetType >, HsailISA::BrInstBase< LabelOperand >, HsailISA::BrInstBase< SRegOperand >, HsailISA::ThreeNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType, Src2OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType, U32::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType, Src2DataType::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, B1::OperandType, DataType::OperandType, DataType::OperandType >, KernelLaunchStaticInst, HsailISA::CbrInstBase< TargetType >, HsailISA::CbrInstBase< LabelOperand >, HsailISA::CbrInstBase< SRegOperand >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 2 >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, 2 >, HsailISA::CommonInstBase< DataType::OperandType, DataType::OperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 1 >, HsailISA::LdaInstBase< DestOperandType, AddrOperandType >, HsailISA::LdaInstBase< DestDataType::OperandType, AddrOperandType >, HsailISA::BrnInstBase< TargetType >, HsailISA::BrnInstBase< LabelOperand >, and HsailISA::BrnInstBase< SRegOperand >.

Referenced by GPUDynInst::getOperandSize().

virtual int GPUStaticInst::getRegisterIndex ( int  operandIndex,
GPUDynInstPtr  gpuDynInst 
)
pure virtual

Implemented in HsailISA::AtomicInstBase< OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::AtomicInstBase< MemDataType::OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::Call, HsailISA::StInst< MemDataType, SrcDataType, AddrOperandType >, HsailISA::StInstBase< MemDataType, SrcOperandType, AddrOperandType >, HsailISA::StInstBase< MemDataType, SrcDataType::OperandType, AddrOperandType >, HsailISA::SpecialInst1SrcBase< DestOperandType >, HsailISA::SpecialInst1SrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcBase< DestOperandType >, HsailISA::SpecialInstNoSrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcNoDest, HsailISA::Stub, HsailISA::LdInst< MemDataType, DestDataType, AddrOperandType >, HsailISA::TwoNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType >, HsailISA::TwoNonUniformSourceInstBase< B1::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType >, HsailISA::LdInstBase< MemOperandType, DestOperandType, AddrOperandType >, HsailISA::LdInstBase< MemDataType::CType, DestDataType::OperandType, AddrOperandType >, HsailISA::BrInstBase< TargetType >, HsailISA::BrInstBase< LabelOperand >, HsailISA::BrInstBase< SRegOperand >, HsailISA::ThreeNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType, Src2OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType, U32::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType, Src2DataType::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, B1::OperandType, DataType::OperandType, DataType::OperandType >, KernelLaunchStaticInst, HsailISA::CbrInstBase< TargetType >, HsailISA::CbrInstBase< LabelOperand >, HsailISA::CbrInstBase< SRegOperand >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 2 >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, 2 >, HsailISA::CommonInstBase< DataType::OperandType, DataType::OperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 1 >, HsailISA::LdaInstBase< DestOperandType, AddrOperandType >, HsailISA::LdaInstBase< DestDataType::OperandType, AddrOperandType >, HsailISA::BrnInstBase< TargetType >, HsailISA::BrnInstBase< LabelOperand >, and HsailISA::BrnInstBase< SRegOperand >.

Referenced by GPUDynInst::getRegisterIndex().

virtual uint32_t GPUStaticInst::getTargetPc ( )
inlinevirtual
virtual void GPUStaticInst::initiateAcc ( GPUDynInstPtr  gpuDynInst)
inlinevirtual
void GPUStaticInst::instAddr ( int  inst_addr)
inline
int GPUStaticInst::instAddr ( ) const
inline

Definition at line 65 of file gpu_static_inst.hh.

References _instAddr.

void GPUStaticInst::instNum ( int  num)
inline

Definition at line 68 of file gpu_static_inst.hh.

References _instNum.

Referenced by HsailCode::init(), and ControlFlowInfo::lastInstruction().

int GPUStaticInst::instNum ( )
inline

Definition at line 70 of file gpu_static_inst.hh.

References _instNum.

virtual int GPUStaticInst::instSize ( ) const
pure virtual
void GPUStaticInst::ipdInstNum ( int  num)
inline

Definition at line 72 of file gpu_static_inst.hh.

References _ipdInstNum.

Referenced by ControlFlowInfo::findImmediatePostDominators().

int GPUStaticInst::ipdInstNum ( ) const
inline

Definition at line 74 of file gpu_static_inst.hh.

References _ipdInstNum.

bool GPUStaticInst::isAcquire ( ) const
inline

Definition at line 179 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isAcquire().

bool GPUStaticInst::isAcquireRelease ( ) const
inline

Definition at line 181 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isAcquireRelease().

bool GPUStaticInst::isALU ( ) const
inline

Definition at line 95 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isALU().

bool GPUStaticInst::isArgLoad ( ) const
inline

Definition at line 144 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isArgLoad().

bool GPUStaticInst::isArgSeg ( ) const
inline

Definition at line 163 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isArgSeg().

bool GPUStaticInst::isAtomic ( ) const
inline

Definition at line 117 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isAtomic().

bool GPUStaticInst::isAtomicAdd ( ) const
inline
bool GPUStaticInst::isAtomicAnd ( ) const
inline
bool GPUStaticInst::isAtomicCAS ( ) const
inline
bool GPUStaticInst::isAtomicDec ( ) const
inline
bool GPUStaticInst::isAtomicExch ( ) const
inline
bool GPUStaticInst::isAtomicInc ( ) const
inline
bool GPUStaticInst::isAtomicMax ( ) const
inline
bool GPUStaticInst::isAtomicMin ( ) const
inline
bool GPUStaticInst::isAtomicNoRet ( ) const
inline

Definition at line 122 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isAtomicNoRet().

bool GPUStaticInst::isAtomicOr ( ) const
inline
bool GPUStaticInst::isAtomicRet ( ) const
inline
bool GPUStaticInst::isAtomicSub ( ) const
inline
bool GPUStaticInst::isAtomicXor ( ) const
inline
bool GPUStaticInst::isBarrier ( ) const
inline

Definition at line 109 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isBarrier().

bool GPUStaticInst::isBranch ( ) const
inline

Definition at line 96 of file gpu_static_inst.hh.

References _flags.

Referenced by ControlFlowInfo::connectBasicBlocks(), and GPUDynInst::isBranch().

virtual bool GPUStaticInst::isCondRegister ( int  operandIndex)
pure virtual

Implemented in HsailISA::AtomicInstBase< OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::AtomicInstBase< MemDataType::OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::Call, HsailISA::StInst< MemDataType, SrcDataType, AddrOperandType >, HsailISA::StInstBase< MemDataType, SrcOperandType, AddrOperandType >, HsailISA::StInstBase< MemDataType, SrcDataType::OperandType, AddrOperandType >, HsailISA::SpecialInst1SrcBase< DestOperandType >, HsailISA::SpecialInst1SrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcBase< DestOperandType >, HsailISA::SpecialInstNoSrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcNoDest, HsailISA::Stub, HsailISA::LdInst< MemDataType, DestDataType, AddrOperandType >, HsailISA::TwoNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType >, HsailISA::TwoNonUniformSourceInstBase< B1::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType >, HsailISA::BrInstBase< TargetType >, HsailISA::BrInstBase< LabelOperand >, HsailISA::BrInstBase< SRegOperand >, HsailISA::LdInstBase< MemOperandType, DestOperandType, AddrOperandType >, HsailISA::LdInstBase< MemDataType::CType, DestDataType::OperandType, AddrOperandType >, KernelLaunchStaticInst, HsailISA::ThreeNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType, Src2OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType, U32::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType, Src2DataType::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, B1::OperandType, DataType::OperandType, DataType::OperandType >, HsailISA::CbrInstBase< TargetType >, HsailISA::CbrInstBase< LabelOperand >, HsailISA::CbrInstBase< SRegOperand >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 2 >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, 2 >, HsailISA::CommonInstBase< DataType::OperandType, DataType::OperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 1 >, HsailISA::LdaInstBase< DestOperandType, AddrOperandType >, HsailISA::LdaInstBase< DestDataType::OperandType, AddrOperandType >, HsailISA::BrnInstBase< TargetType >, HsailISA::BrnInstBase< LabelOperand >, and HsailISA::BrnInstBase< SRegOperand >.

Referenced by GPUDynInst::isCondRegister().

bool GPUStaticInst::isDeviceScope ( ) const
inline

Definition at line 174 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isDeviceScope().

virtual bool GPUStaticInst::isDstOperand ( int  operandIndex)
pure virtual

Implemented in HsailISA::AtomicInstBase< OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::AtomicInstBase< MemDataType::OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::Call, HsailISA::StInst< MemDataType, SrcDataType, AddrOperandType >, HsailISA::StInstBase< MemDataType, SrcOperandType, AddrOperandType >, HsailISA::StInstBase< MemDataType, SrcDataType::OperandType, AddrOperandType >, HsailISA::SpecialInst1SrcBase< DestOperandType >, HsailISA::SpecialInst1SrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcBase< DestOperandType >, HsailISA::SpecialInstNoSrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcNoDest, HsailISA::Stub, HsailISA::LdInst< MemDataType, DestDataType, AddrOperandType >, HsailISA::TwoNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType >, HsailISA::TwoNonUniformSourceInstBase< B1::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType >, HsailISA::BrInstBase< TargetType >, HsailISA::BrInstBase< LabelOperand >, HsailISA::BrInstBase< SRegOperand >, HsailISA::LdInstBase< MemOperandType, DestOperandType, AddrOperandType >, HsailISA::LdInstBase< MemDataType::CType, DestDataType::OperandType, AddrOperandType >, HsailISA::ThreeNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType, Src2OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType, U32::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType, Src2DataType::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, B1::OperandType, DataType::OperandType, DataType::OperandType >, KernelLaunchStaticInst, HsailISA::CbrInstBase< TargetType >, HsailISA::CbrInstBase< LabelOperand >, HsailISA::CbrInstBase< SRegOperand >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 2 >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, 2 >, HsailISA::CommonInstBase< DataType::OperandType, DataType::OperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 1 >, HsailISA::LdaInstBase< DestOperandType, AddrOperandType >, HsailISA::LdaInstBase< DestDataType::OperandType, AddrOperandType >, HsailISA::BrnInstBase< TargetType >, HsailISA::BrnInstBase< LabelOperand >, and HsailISA::BrnInstBase< SRegOperand >.

Referenced by GPUDynInst::isDstOperand().

bool GPUStaticInst::isFlat ( ) const
inline

Definition at line 112 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isFlat().

bool GPUStaticInst::isGloballyCoherent ( ) const
inline

Coherence domain of a memory instruction.

Only valid for machine ISA. The coherence domain specifies where it is possible to perform memory synchronization, e.g., acquire or release, from the shader kernel.

isGloballyCoherent(): returns true if kernel is sharing memory with other work-items on the same device (GPU)

isSystemCoherent(): returns true if kernel is sharing memory with other work-items on a different device (GPU) or the host (CPU)

Definition at line 196 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isGloballyCoherent().

bool GPUStaticInst::isGlobalMem ( ) const
inline
bool GPUStaticInst::isGlobalSeg ( ) const
inline

Definition at line 164 of file gpu_static_inst.hh.

References _flags.

Referenced by HsailISA::MemFence::execute(), and GPUDynInst::isGlobalSeg().

bool GPUStaticInst::isGroupSeg ( ) const
inline

Definition at line 165 of file gpu_static_inst.hh.

References _flags.

Referenced by HsailISA::MemFence::execute(), and GPUDynInst::isGroupSeg().

bool GPUStaticInst::isKernArgSeg ( ) const
inline

Definition at line 166 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isKernArgSeg().

bool GPUStaticInst::isLoad ( ) const
inline

Definition at line 113 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isLoad().

bool GPUStaticInst::isLocalMem ( ) const
inline
bool GPUStaticInst::isMemFence ( ) const
inline

Definition at line 110 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isMemFence().

bool GPUStaticInst::isMemRef ( ) const
inline

Definition at line 111 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isMemRef().

bool GPUStaticInst::isNoOrder ( ) const
inline

Definition at line 182 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isNoOrder().

bool GPUStaticInst::isNop ( ) const
inline

Definition at line 97 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isNop().

bool GPUStaticInst::isNoScope ( ) const
inline

Definition at line 176 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isNoScope().

bool GPUStaticInst::isPrivateSeg ( ) const
inline

Definition at line 167 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isPrivateSeg().

bool GPUStaticInst::isReadOnlySeg ( ) const
inline

Definition at line 168 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isReadOnlySeg().

bool GPUStaticInst::isRelaxedOrder ( ) const
inline

Definition at line 178 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isRelaxedOrder().

bool GPUStaticInst::isRelease ( ) const
inline

Definition at line 180 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isRelease().

bool GPUStaticInst::isReturn ( ) const
inline

Definition at line 98 of file gpu_static_inst.hh.

References _flags.

Referenced by ControlFlowInfo::connectBasicBlocks(), and GPUDynInst::isReturn().

bool GPUStaticInst::isScalar ( ) const
inline

Definition at line 125 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isScalar().

virtual bool GPUStaticInst::isScalarRegister ( int  operandIndex)
pure virtual

Implemented in HsailISA::AtomicInstBase< OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::AtomicInstBase< MemDataType::OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::Call, HsailISA::StInst< MemDataType, SrcDataType, AddrOperandType >, HsailISA::StInstBase< MemDataType, SrcOperandType, AddrOperandType >, HsailISA::StInstBase< MemDataType, SrcDataType::OperandType, AddrOperandType >, HsailISA::SpecialInst1SrcBase< DestOperandType >, HsailISA::SpecialInst1SrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcBase< DestOperandType >, HsailISA::SpecialInstNoSrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcNoDest, HsailISA::Stub, HsailISA::LdInst< MemDataType, DestDataType, AddrOperandType >, HsailISA::TwoNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType >, HsailISA::TwoNonUniformSourceInstBase< B1::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType >, HsailISA::BrInstBase< TargetType >, HsailISA::BrInstBase< LabelOperand >, HsailISA::BrInstBase< SRegOperand >, HsailISA::LdInstBase< MemOperandType, DestOperandType, AddrOperandType >, HsailISA::LdInstBase< MemDataType::CType, DestDataType::OperandType, AddrOperandType >, KernelLaunchStaticInst, HsailISA::ThreeNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType, Src2OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType, U32::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType, Src2DataType::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, B1::OperandType, DataType::OperandType, DataType::OperandType >, HsailISA::CbrInstBase< TargetType >, HsailISA::CbrInstBase< LabelOperand >, HsailISA::CbrInstBase< SRegOperand >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 2 >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, 2 >, HsailISA::CommonInstBase< DataType::OperandType, DataType::OperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 1 >, HsailISA::LdaInstBase< DestOperandType, AddrOperandType >, HsailISA::LdaInstBase< DestDataType::OperandType, AddrOperandType >, HsailISA::BrnInstBase< TargetType >, HsailISA::BrnInstBase< LabelOperand >, and HsailISA::BrnInstBase< SRegOperand >.

Referenced by GPUDynInst::isScalarRegister().

bool GPUStaticInst::isSpecialOp ( ) const
inline

Definition at line 106 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isSpecialOp().

bool GPUStaticInst::isSpillSeg ( ) const
inline

Definition at line 169 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isSpillSeg().

virtual bool GPUStaticInst::isSrcOperand ( int  operandIndex)
pure virtual

Implemented in HsailISA::AtomicInstBase< OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::AtomicInstBase< MemDataType::OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::Call, HsailISA::StInst< MemDataType, SrcDataType, AddrOperandType >, HsailISA::StInstBase< MemDataType, SrcOperandType, AddrOperandType >, HsailISA::StInstBase< MemDataType, SrcDataType::OperandType, AddrOperandType >, HsailISA::SpecialInst1SrcBase< DestOperandType >, HsailISA::SpecialInst1SrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcBase< DestOperandType >, HsailISA::SpecialInstNoSrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcNoDest, HsailISA::Stub, HsailISA::LdInst< MemDataType, DestDataType, AddrOperandType >, HsailISA::TwoNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType >, HsailISA::TwoNonUniformSourceInstBase< B1::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType >, HsailISA::BrInstBase< TargetType >, HsailISA::BrInstBase< LabelOperand >, HsailISA::BrInstBase< SRegOperand >, HsailISA::LdInstBase< MemOperandType, DestOperandType, AddrOperandType >, HsailISA::LdInstBase< MemDataType::CType, DestDataType::OperandType, AddrOperandType >, HsailISA::ThreeNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType, Src2OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType, U32::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType, Src2DataType::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, B1::OperandType, DataType::OperandType, DataType::OperandType >, KernelLaunchStaticInst, HsailISA::CbrInstBase< TargetType >, HsailISA::CbrInstBase< LabelOperand >, HsailISA::CbrInstBase< SRegOperand >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 2 >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, 2 >, HsailISA::CommonInstBase< DataType::OperandType, DataType::OperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 1 >, HsailISA::LdaInstBase< DestOperandType, AddrOperandType >, HsailISA::LdaInstBase< DestDataType::OperandType, AddrOperandType >, HsailISA::BrnInstBase< TargetType >, HsailISA::BrnInstBase< LabelOperand >, and HsailISA::BrnInstBase< SRegOperand >.

Referenced by GPUDynInst::isSrcOperand().

bool GPUStaticInst::isStore ( ) const
inline

Definition at line 114 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isStore().

bool GPUStaticInst::isSystemCoherent ( ) const
inline

Definition at line 197 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isSystemCoherent().

bool GPUStaticInst::isSystemScope ( ) const
inline

Definition at line 175 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isSystemScope().

bool GPUStaticInst::isUnconditionalJump ( ) const
inline

Definition at line 101 of file gpu_static_inst.hh.

References _flags.

Referenced by ControlFlowInfo::connectBasicBlocks(), and GPUDynInst::isUnconditionalJump().

virtual bool GPUStaticInst::isValid ( ) const
pure virtual
virtual bool GPUStaticInst::isVectorRegister ( int  operandIndex)
pure virtual

Implemented in HsailISA::AtomicInstBase< OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::AtomicInstBase< MemDataType::OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::Call, HsailISA::StInst< MemDataType, SrcDataType, AddrOperandType >, HsailISA::StInstBase< MemDataType, SrcOperandType, AddrOperandType >, HsailISA::StInstBase< MemDataType, SrcDataType::OperandType, AddrOperandType >, HsailISA::SpecialInst1SrcBase< DestOperandType >, HsailISA::SpecialInst1SrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcBase< DestOperandType >, HsailISA::SpecialInstNoSrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcNoDest, HsailISA::Stub, HsailISA::LdInst< MemDataType, DestDataType, AddrOperandType >, HsailISA::TwoNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType >, HsailISA::TwoNonUniformSourceInstBase< B1::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType >, HsailISA::BrInstBase< TargetType >, HsailISA::BrInstBase< LabelOperand >, HsailISA::BrInstBase< SRegOperand >, HsailISA::LdInstBase< MemOperandType, DestOperandType, AddrOperandType >, HsailISA::LdInstBase< MemDataType::CType, DestDataType::OperandType, AddrOperandType >, KernelLaunchStaticInst, HsailISA::ThreeNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType, Src2OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType, U32::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType, Src2DataType::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, B1::OperandType, DataType::OperandType, DataType::OperandType >, HsailISA::CbrInstBase< TargetType >, HsailISA::CbrInstBase< LabelOperand >, HsailISA::CbrInstBase< SRegOperand >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 2 >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, 2 >, HsailISA::CommonInstBase< DataType::OperandType, DataType::OperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 1 >, HsailISA::LdaInstBase< DestOperandType, AddrOperandType >, HsailISA::LdaInstBase< DestDataType::OperandType, AddrOperandType >, HsailISA::BrnInstBase< TargetType >, HsailISA::BrnInstBase< LabelOperand >, and HsailISA::BrnInstBase< SRegOperand >.

Referenced by GPUDynInst::isVectorRegister().

bool GPUStaticInst::isWaitcnt ( ) const
inline

Definition at line 107 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isWaitcnt().

bool GPUStaticInst::isWavefrontScope ( ) const
inline

Definition at line 172 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isWavefrontScope().

bool GPUStaticInst::isWorkgroupScope ( ) const
inline

Definition at line 173 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isWorkgroupScope().

bool GPUStaticInst::isWorkitemScope ( ) const
inline

Definition at line 171 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::isWorkitemScope().

int GPUStaticInst::nextInstAddr ( ) const
inline

Definition at line 66 of file gpu_static_inst.hh.

References _instAddr, and instSize().

Referenced by ControlFlowInfo::connectBasicBlocks().

virtual int GPUStaticInst::numDstRegOperands ( )
pure virtual

Implemented in HsailISA::AtomicInstBase< OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::AtomicInstBase< MemDataType::OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::Call, HsailISA::SpecialInst1SrcBase< DestOperandType >, HsailISA::SpecialInst1SrcBase< DestDataType::OperandType >, HsailISA::StInstBase< MemDataType, SrcOperandType, AddrOperandType >, HsailISA::StInstBase< MemDataType, SrcDataType::OperandType, AddrOperandType >, HsailISA::SpecialInstNoSrcBase< DestOperandType >, HsailISA::SpecialInstNoSrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcNoDest, HsailISA::Stub, HsailISA::TwoNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType >, HsailISA::TwoNonUniformSourceInstBase< B1::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType >, HsailISA::BrIndirectInst, HsailISA::BrDirectInst, HsailISA::ThreeNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType, Src2OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType, U32::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType, Src2DataType::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, B1::OperandType, DataType::OperandType, DataType::OperandType >, HsailISA::LdInstBase< MemOperandType, DestOperandType, AddrOperandType >, HsailISA::LdInstBase< MemDataType::CType, DestDataType::OperandType, AddrOperandType >, HsailISA::CbrIndirectInst, HsailISA::CbrDirectInst, KernelLaunchStaticInst, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 2 >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, 2 >, HsailISA::CommonInstBase< DataType::OperandType, DataType::OperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 1 >, HsailISA::BrnIndirectInst, HsailISA::BrnDirectInst, HsailISA::LdaInstBase< DestOperandType, AddrOperandType >, and HsailISA::LdaInstBase< DestDataType::OperandType, AddrOperandType >.

Referenced by GPUDynInst::numDstRegOperands().

virtual int GPUStaticInst::numSrcRegOperands ( )
pure virtual

Implemented in HsailISA::AtomicInstBase< OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::AtomicInstBase< MemDataType::OperandType, AddrOperandType, NumSrcOperands, HasDst >, HsailISA::Call, HsailISA::SpecialInst1SrcBase< DestOperandType >, HsailISA::SpecialInst1SrcBase< DestDataType::OperandType >, HsailISA::StInstBase< MemDataType, SrcOperandType, AddrOperandType >, HsailISA::StInstBase< MemDataType, SrcDataType::OperandType, AddrOperandType >, HsailISA::SpecialInstNoSrcBase< DestOperandType >, HsailISA::SpecialInstNoSrcBase< DestDataType::OperandType >, HsailISA::SpecialInstNoSrcNoDest, HsailISA::Stub, HsailISA::TwoNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType >, HsailISA::TwoNonUniformSourceInstBase< B1::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType >, HsailISA::TwoNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType >, HsailISA::BrIndirectInst, HsailISA::BrDirectInst, HsailISA::LdInstBase< MemOperandType, DestOperandType, AddrOperandType >, HsailISA::LdInstBase< MemDataType::CType, DestDataType::OperandType, AddrOperandType >, HsailISA::ThreeNonUniformSourceInstBase< DestOperandType, Src0OperandType, Src1OperandType, Src2OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, DataType::OperandType, U32::OperandType, U32::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType, Src2DataType::OperandType >, HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, B1::OperandType, DataType::OperandType, DataType::OperandType >, HsailISA::CbrIndirectInst, HsailISA::CbrDirectInst, KernelLaunchStaticInst, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 2 >, HsailISA::CommonInstBase< DestOperandType, SrcOperandType, 2 >, HsailISA::CommonInstBase< DataType::OperandType, DataType::OperandType, NumSrcOperands >, HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 1 >, HsailISA::BrnIndirectInst, HsailISA::BrnDirectInst, HsailISA::LdaInstBase< DestOperandType, AddrOperandType >, and HsailISA::LdaInstBase< DestDataType::OperandType, AddrOperandType >.

Referenced by GPUDynInst::numSrcRegOperands().

bool GPUStaticInst::readsSCC ( ) const
inline

Definition at line 126 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::readsSCC().

bool GPUStaticInst::readsVCC ( ) const
inline

Definition at line 128 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::readsVCC().

void GPUStaticInst::setFlag ( Flags  flag)
inline
bool GPUStaticInst::writesSCC ( ) const
inline

Definition at line 127 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::writesSCC().

bool GPUStaticInst::writesVCC ( ) const
inline

Definition at line 129 of file gpu_static_inst.hh.

References _flags.

Referenced by GPUDynInst::writesVCC().

Member Data Documentation

std::bitset<Num_Flags> GPUStaticInst::_flags
protected
int GPUStaticInst::_instAddr
protected

Definition at line 252 of file gpu_static_inst.hh.

Referenced by instAddr(), and nextInstAddr().

int GPUStaticInst::_instNum
protected

Definition at line 251 of file gpu_static_inst.hh.

Referenced by instNum().

int GPUStaticInst::_ipdInstNum
protected

Identifier of the immediate post-dominator instruction.

Definition at line 256 of file gpu_static_inst.hh.

Referenced by ipdInstNum().

std::string GPUStaticInst::disassembly
protected
uint64_t GPUStaticInst::dynamic_id_count
static

Definition at line 217 of file gpu_static_inst.hh.

Enums::StorageClassType GPUStaticInst::executed_as

Definition at line 220 of file gpu_static_inst.hh.

Referenced by GPUDynInst::executedAs().

const std::string GPUStaticInst::opcode
protected

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

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