LLVM  8.0.1
Enumerations | Variables
llvm::AMDGPU::SendMsg Namespace Reference

Enumerations

enum  Id {
  ID_UNKNOWN_ = -1, ID_INTERRUPT = 1, ID_GS, ID_GS_DONE,
  ID_SYSMSG = 15, ID_GAPS_LAST_, ID_GAPS_FIRST_ = ID_INTERRUPT, ID_SHIFT_ = 0,
  ID_WIDTH_ = 4, ID_MASK_ = (((1 << ID_WIDTH_) - 1) << ID_SHIFT_)
}
 
enum  Op {
  OP_UNKNOWN_ = -1, OP_SHIFT_ = 4, OP_GS_NOP = 0, OP_GS_CUT,
  OP_GS_EMIT, OP_GS_EMIT_CUT, OP_GS_LAST_, OP_GS_FIRST_ = OP_GS_NOP,
  OP_GS_WIDTH_ = 2, OP_GS_MASK_ = (((1 << OP_GS_WIDTH_) - 1) << OP_SHIFT_), OP_SYS_ECC_ERR_INTERRUPT = 1, OP_SYS_REG_RD,
  OP_SYS_HOST_TRAP_ACK, OP_SYS_TTRACE_PC, OP_SYS_LAST_, OP_SYS_FIRST_ = OP_SYS_ECC_ERR_INTERRUPT,
  OP_SYS_WIDTH_ = 3, OP_SYS_MASK_ = (((1 << OP_SYS_WIDTH_) - 1) << OP_SHIFT_)
}
 
enum  StreamId {
  STREAM_ID_DEFAULT_ = 0, STREAM_ID_LAST_ = 4, STREAM_ID_FIRST_ = STREAM_ID_DEFAULT_, STREAM_ID_SHIFT_ = 8,
  STREAM_ID_WIDTH_ = 2, STREAM_ID_MASK_ = (((1 << STREAM_ID_WIDTH_) - 1) << STREAM_ID_SHIFT_)
}
 

Variables

const char *const IdSymbolic []
 
const char *const OpSysSymbolic []
 
const char *const OpGsSymbolic []
 

Enumeration Type Documentation

◆ Id

Enumerator
ID_UNKNOWN_ 
ID_INTERRUPT 
ID_GS 
ID_GS_DONE 
ID_SYSMSG 
ID_GAPS_LAST_ 
ID_GAPS_FIRST_ 
ID_SHIFT_ 
ID_WIDTH_ 
ID_MASK_ 

Definition at line 229 of file SIDefines.h.

◆ Op

Enumerator
OP_UNKNOWN_ 
OP_SHIFT_ 
OP_GS_NOP 
OP_GS_CUT 
OP_GS_EMIT 
OP_GS_EMIT_CUT 
OP_GS_LAST_ 
OP_GS_FIRST_ 
OP_GS_WIDTH_ 
OP_GS_MASK_ 
OP_SYS_ECC_ERR_INTERRUPT 
OP_SYS_REG_RD 
OP_SYS_HOST_TRAP_ACK 
OP_SYS_TTRACE_PC 
OP_SYS_LAST_ 
OP_SYS_FIRST_ 
OP_SYS_WIDTH_ 
OP_SYS_MASK_ 

Definition at line 242 of file SIDefines.h.

◆ StreamId

Enumerator
STREAM_ID_DEFAULT_ 
STREAM_ID_LAST_ 
STREAM_ID_FIRST_ 
STREAM_ID_SHIFT_ 
STREAM_ID_WIDTH_ 
STREAM_ID_MASK_ 

Definition at line 265 of file SIDefines.h.

Variable Documentation

◆ IdSymbolic

const char *const llvm::AMDGPU::SendMsg::IdSymbolic
Initial value:
= {
nullptr,
"MSG_INTERRUPT",
"MSG_GS",
"MSG_GS_DONE",
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
"MSG_SYSMSG"
}

Definition at line 16 of file AMDGPUAsmUtils.cpp.

Referenced by encodeBitmaskPerm(), encodeCnt(), llvm::AMDGPUInstPrinter::printHwreg(), llvm::AMDGPUInstPrinter::printSendMsg(), and llvm::AMDGPUInstPrinter::printSwizzle().

◆ OpGsSymbolic

const char *const llvm::AMDGPU::SendMsg::OpGsSymbolic
Initial value:
= {
"GS_OP_NOP",
"GS_OP_CUT",
"GS_OP_EMIT",
"GS_OP_EMIT_CUT"
}

Definition at line 44 of file AMDGPUAsmUtils.cpp.

Referenced by encodeCnt(), and llvm::AMDGPUInstPrinter::printSendMsg().

◆ OpSysSymbolic

const char *const llvm::AMDGPU::SendMsg::OpSysSymbolic
Initial value:
= {
nullptr,
"SYSMSG_OP_ECC_ERR_INTERRUPT",
"SYSMSG_OP_REG_RD",
"SYSMSG_OP_HOST_TRAP_ACK",
"SYSMSG_OP_TTRACE_PC"
}

Definition at line 36 of file AMDGPUAsmUtils.cpp.

Referenced by encodeCnt(), and llvm::AMDGPUInstPrinter::printSendMsg().