1 //===-- AMDGPUAsmUtils.cpp - AsmParser/InstPrinter common -----------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
8 #include "AMDGPUAsmUtils.h"
14 // This must be in sync with llvm::AMDGPU::SendMsg::Id enum members, see SIDefines.h.
15 const char* const IdSymbolic
[] = {
34 // These two must be in sync with llvm::AMDGPU::SendMsg::Op enum members, see SIDefines.h.
35 const char* const OpSysSymbolic
[] = {
37 "SYSMSG_OP_ECC_ERR_INTERRUPT",
39 "SYSMSG_OP_HOST_TRAP_ACK",
43 const char* const OpGsSymbolic
[] = {
50 } // namespace SendMsg
54 // This must be in sync with llvm::AMDGPU::Hwreg::ID_SYMBOLIC_FIRST_/LAST_, see SIDefines.h.
55 const char* const IdSymbolic
[] = {
78 // This must be in sync with llvm::AMDGPU::Swizzle::Id enum members, see SIDefines.h.
79 const char* const IdSymbolic
[] = {
87 } // namespace Swizzle