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

#include <gpu_static_inst.hh>

Inheritance diagram for KernelLaunchStaticInst:
GPUStaticInst

Public Member Functions

 KernelLaunchStaticInst ()
 
void execute (GPUDynInstPtr gpuDynInst) override
 
void generateDisassembly () override
 
int getNumOperands () override
 
bool isCondRegister (int operandIndex) override
 
bool isScalarRegister (int operandIndex) override
 
bool isVectorRegister (int operandIndex) override
 
bool isSrcOperand (int operandIndex) override
 
bool isDstOperand (int operandIndex) override
 
int getOperandSize (int operandIndex) override
 
int getRegisterIndex (int operandIndex, GPUDynInstPtr gpuDynInst) override
 
int numDstRegOperands () override
 
int numSrcRegOperands () override
 
bool isValid () const override
 
int instSize () const override
 
- Public Member Functions inherited from GPUStaticInst
 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
 
const std::string & disassemble ()
 
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 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)
 

Additional Inherited Members

- Public Attributes inherited from GPUStaticInst
Enums::StorageClassType executed_as
 
- Static Public Attributes inherited from GPUStaticInst
static uint64_t dynamic_id_count
 
- Protected Attributes inherited from GPUStaticInst
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 261 of file gpu_static_inst.hh.

Constructor & Destructor Documentation

KernelLaunchStaticInst::KernelLaunchStaticInst ( )
inline

Definition at line 264 of file gpu_static_inst.hh.

References GPUStaticInst::setFlag().

Member Function Documentation

void KernelLaunchStaticInst::execute ( GPUDynInstPtr  gpuDynInst)
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 274 of file gpu_static_inst.hh.

References fatal.

void KernelLaunchStaticInst::generateDisassembly ( )
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 280 of file gpu_static_inst.hh.

References GPUStaticInst::disassembly, and GPUStaticInst::opcode.

int KernelLaunchStaticInst::getNumOperands ( )
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 285 of file gpu_static_inst.hh.

int KernelLaunchStaticInst::getOperandSize ( int  operandIndex)
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 291 of file gpu_static_inst.hh.

int KernelLaunchStaticInst::getRegisterIndex ( int  operandIndex,
GPUDynInstPtr  gpuDynInst 
)
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 294 of file gpu_static_inst.hh.

int KernelLaunchStaticInst::instSize ( ) const
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 302 of file gpu_static_inst.hh.

bool KernelLaunchStaticInst::isCondRegister ( int  operandIndex)
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 286 of file gpu_static_inst.hh.

bool KernelLaunchStaticInst::isDstOperand ( int  operandIndex)
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 290 of file gpu_static_inst.hh.

bool KernelLaunchStaticInst::isScalarRegister ( int  operandIndex)
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 287 of file gpu_static_inst.hh.

bool KernelLaunchStaticInst::isSrcOperand ( int  operandIndex)
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 289 of file gpu_static_inst.hh.

bool KernelLaunchStaticInst::isValid ( ) const
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 301 of file gpu_static_inst.hh.

bool KernelLaunchStaticInst::isVectorRegister ( int  operandIndex)
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 288 of file gpu_static_inst.hh.

int KernelLaunchStaticInst::numDstRegOperands ( )
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 299 of file gpu_static_inst.hh.

int KernelLaunchStaticInst::numSrcRegOperands ( )
inlineoverridevirtual

Implements GPUStaticInst.

Definition at line 300 of file gpu_static_inst.hh.


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

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