1 //===-- AMDGPUAsmUtils.h - AsmParser/InstPrinter common ---------*- C++ -*-===// 2 // 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 6 // 7 //===----------------------------------------------------------------------===// 8 9 #ifndef LLVM_LIB_TARGET_AMDGPU_UTILS_AMDGPUASMUTILS_H 10 #define LLVM_LIB_TARGET_AMDGPU_UTILS_AMDGPUASMUTILS_H 11 12 namespace llvm { 13 namespace AMDGPU { 14 namespace SendMsg { // Symbolic names for the sendmsg(...) syntax. 15 16 extern const char* const IdSymbolic[]; 17 extern const char* const OpSysSymbolic[]; 18 extern const char* const OpGsSymbolic[]; 19 20 } // namespace SendMsg 21 22 namespace Hwreg { // Symbolic names for the hwreg(...) syntax. 23 24 extern const char* const IdSymbolic[]; 25 26 } // namespace Hwreg 27 28 namespace Swizzle { // Symbolic names for the swizzle(...) syntax. 29 30 extern const char* const IdSymbolic[]; 31 32 } // namespace Swizzle 33 34 namespace VGPRIndexMode { // Symbolic names for the gpr_idx(...) syntax. 35 36 extern const char* const IdSymbolic[]; 37 38 } // namespace VGPRIndexMode 39 40 } // namespace AMDGPU 41 } // namespace llvm 42 43 #endif 44