1 //===-- AMDGPUAsmUtils.cpp - AsmParser/InstPrinter common -----------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
9 #include "AMDGPUAsmUtils.h"
15 // This must be in sync with llvm::AMDGPU::SendMsg::Id enum members, see SIDefines.h.
16 const char* const IdSymbolic[] = {
35 // These two must be in sync with llvm::AMDGPU::SendMsg::Op enum members, see SIDefines.h.
36 const char* const OpSysSymbolic[] = {
38 "SYSMSG_OP_ECC_ERR_INTERRUPT",
40 "SYSMSG_OP_HOST_TRAP_ACK",
44 const char* const OpGsSymbolic[] = {
51 } // namespace SendMsg
55 // This must be in sync with llvm::AMDGPU::Hwreg::ID_SYMBOLIC_FIRST_/LAST_, see SIDefines.h.
56 const char* const IdSymbolic[] = {
79 // This must be in sync with llvm::AMDGPU::Swizzle::Id enum members, see SIDefines.h.
80 const char* const IdSymbolic[] = {
88 } // namespace Swizzle