HPCToolkit
ISA::InsnDesc Class Reference

#include <ISA.hpp>

Public Types

enum  IType {
  MEM_LOAD, MEM_STORE, MEM_OTHER, INT_BR_COND_REL,
  INT_BR_COND_IND, FP_BR_COND_REL, FP_BR_COND_IND, BR_UN_COND_REL,
  BR_UN_COND_IND, SUBR_REL, SUBR_IND, SUBR_RET,
  INT_ADD, INT_SUB, INT_MUL, INT_CMP,
  INT_LOGIC, INT_SHIFT, INT_MOV, INT_OTHER,
  FP_ADD, FP_SUB, FP_MUL, FP_DIV,
  FP_CMP, FP_CVT, FP_SQRT, FP_MOV,
  FP_OTHER, SYS_CALL, OTHER, INVALID
}
 

Public Member Functions

 InsnDesc (IType t=INVALID)
 
 ~InsnDesc ()
 
 InsnDesc (const InsnDesc &x)
 
InsnDescoperator= (const InsnDesc &x)
 
bool isValid () const
 
bool isInvalid () const
 
bool isMemLoad () const
 
bool isMemStore () const
 
bool isMemOther () const
 
bool isMemOp ()
 
bool isBr () const
 
bool isBrRel () const
 
bool isBrInd () const
 
bool isBrCondRel () const
 
bool isBrCondInd () const
 
bool isBrUnCondRel () const
 
bool isBrUnCondInd () const
 
bool isFPBr () const
 
bool isSubr () const
 
bool isSubrRel () const
 
bool isSubrInd () const
 
bool isSubrRet () const
 
bool isFP () const
 
bool isFPArith () const
 
bool isFPOther () const
 
bool isIntArith () const
 
bool isIntOther () const
 
bool isIntOp () const
 
bool isSysCall () const
 
bool isOther () const
 
void set (IType t)
 
const char * toString () const
 
void dump (std::ostream &o=std::cerr)
 
void ddump ()
 

Private Attributes

IType ty
 

Detailed Description

Definition at line 118 of file ISA.hpp.

Member Enumeration Documentation

◆ IType

Enumerator
MEM_LOAD 
MEM_STORE 
MEM_OTHER 
INT_BR_COND_REL 
INT_BR_COND_IND 
FP_BR_COND_REL 
FP_BR_COND_IND 
BR_UN_COND_REL 
BR_UN_COND_IND 
SUBR_REL 
SUBR_IND 
SUBR_RET 
INT_ADD 
INT_SUB 
INT_MUL 
INT_CMP 
INT_LOGIC 
INT_SHIFT 
INT_MOV 
INT_OTHER 
FP_ADD 
FP_SUB 
FP_MUL 
FP_DIV 
FP_CMP 
FP_CVT 
FP_SQRT 
FP_MOV 
FP_OTHER 
SYS_CALL 
OTHER 
INVALID 

Definition at line 123 of file ISA.hpp.

Constructor & Destructor Documentation

◆ InsnDesc() [1/2]

ISA::InsnDesc::InsnDesc ( IType  t = INVALID)
inline

Definition at line 176 of file ISA.hpp.

◆ ~InsnDesc()

ISA::InsnDesc::~InsnDesc ( )
inline

Definition at line 180 of file ISA.hpp.

◆ InsnDesc() [2/2]

ISA::InsnDesc::InsnDesc ( const InsnDesc x)
inline

Definition at line 183 of file ISA.hpp.

Member Function Documentation

◆ ddump()

void ISA::InsnDesc::ddump ( )

Definition at line 159 of file ISA.cpp.

◆ dump()

void ISA::InsnDesc::dump ( std::ostream &  o = std::cerr)

Definition at line 152 of file ISA.cpp.

◆ isBr()

bool ISA::InsnDesc::isBr ( ) const
inline

Definition at line 231 of file ISA.hpp.

Here is the caller graph for this function:

◆ isBrCondInd()

bool ISA::InsnDesc::isBrCondInd ( ) const
inline

Definition at line 251 of file ISA.hpp.

◆ isBrCondRel()

bool ISA::InsnDesc::isBrCondRel ( ) const
inline

Definition at line 246 of file ISA.hpp.

◆ isBrInd()

bool ISA::InsnDesc::isBrInd ( ) const
inline

Definition at line 241 of file ISA.hpp.

◆ isBrRel()

bool ISA::InsnDesc::isBrRel ( ) const
inline

Definition at line 236 of file ISA.hpp.

Here is the caller graph for this function:

◆ isBrUnCondInd()

bool ISA::InsnDesc::isBrUnCondInd ( ) const
inline

Definition at line 261 of file ISA.hpp.

◆ isBrUnCondRel()

bool ISA::InsnDesc::isBrUnCondRel ( ) const
inline

Definition at line 256 of file ISA.hpp.

◆ isFP()

bool ISA::InsnDesc::isFP ( ) const
inline

Definition at line 295 of file ISA.hpp.

Here is the caller graph for this function:

◆ isFPArith()

bool ISA::InsnDesc::isFPArith ( ) const
inline

Definition at line 301 of file ISA.hpp.

◆ isFPBr()

bool ISA::InsnDesc::isFPBr ( ) const
inline

Definition at line 266 of file ISA.hpp.

◆ isFPOther()

bool ISA::InsnDesc::isFPOther ( ) const
inline

Definition at line 310 of file ISA.hpp.

◆ isIntArith()

bool ISA::InsnDesc::isIntArith ( ) const
inline

Definition at line 317 of file ISA.hpp.

◆ isIntOp()

bool ISA::InsnDesc::isIntOp ( ) const
inline

Definition at line 330 of file ISA.hpp.

Here is the caller graph for this function:

◆ isIntOther()

bool ISA::InsnDesc::isIntOther ( ) const
inline

Definition at line 325 of file ISA.hpp.

◆ isInvalid()

bool ISA::InsnDesc::isInvalid ( ) const
inline

Definition at line 202 of file ISA.hpp.

◆ isMemLoad()

bool ISA::InsnDesc::isMemLoad ( ) const
inline

Definition at line 209 of file ISA.hpp.

◆ isMemOp()

bool ISA::InsnDesc::isMemOp ( )
inline

Definition at line 224 of file ISA.hpp.

Here is the caller graph for this function:

◆ isMemOther()

bool ISA::InsnDesc::isMemOther ( ) const
inline

Definition at line 219 of file ISA.hpp.

◆ isMemStore()

bool ISA::InsnDesc::isMemStore ( ) const
inline

Definition at line 214 of file ISA.hpp.

◆ isOther()

bool ISA::InsnDesc::isOther ( ) const
inline

Definition at line 342 of file ISA.hpp.

◆ isSubr()

bool ISA::InsnDesc::isSubr ( ) const
inline

Definition at line 273 of file ISA.hpp.

Here is the caller graph for this function:

◆ isSubrInd()

bool ISA::InsnDesc::isSubrInd ( ) const
inline

Definition at line 283 of file ISA.hpp.

◆ isSubrRel()

bool ISA::InsnDesc::isSubrRel ( ) const
inline

Definition at line 278 of file ISA.hpp.

Here is the caller graph for this function:

◆ isSubrRet()

bool ISA::InsnDesc::isSubrRet ( ) const
inline

Definition at line 288 of file ISA.hpp.

Here is the caller graph for this function:

◆ isSysCall()

bool ISA::InsnDesc::isSysCall ( ) const
inline

Definition at line 337 of file ISA.hpp.

◆ isValid()

bool ISA::InsnDesc::isValid ( ) const
inline

Definition at line 197 of file ISA.hpp.

◆ operator=()

InsnDesc& ISA::InsnDesc::operator= ( const InsnDesc x)
inline

Definition at line 187 of file ISA.hpp.

◆ set()

void ISA::InsnDesc::set ( IType  t)
inline

Definition at line 348 of file ISA.hpp.

Here is the caller graph for this function:

◆ toString()

const char * ISA::InsnDesc::toString ( ) const

Definition at line 103 of file ISA.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ ty

IType ISA::InsnDesc::ty
private

Definition at line 361 of file ISA.hpp.


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