1 //===-- AMDGPUAsmUtils.h - AsmParser/InstPrinter common ---------*- C++ -*-===//
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIB_TARGET_AMDGPU_UTILS_AMDGPUASMUTILS_H
10 #define LLVM_LIB_TARGET_AMDGPU_UTILS_AMDGPUASMUTILS_H
14 namespace SendMsg
{ // Symbolic names for the sendmsg(...) syntax.
16 extern const char* const IdSymbolic
[];
17 extern const char* const OpSysSymbolic
[];
18 extern const char* const OpGsSymbolic
[];
20 } // namespace SendMsg
22 namespace Hwreg
{ // Symbolic names for the hwreg(...) syntax.
24 extern const char* const IdSymbolic
[];
28 namespace Swizzle
{ // Symbolic names for the swizzle(...) syntax.
30 extern const char* const IdSymbolic
[];
32 } // namespace Swizzle
34 namespace VGPRIndexMode
{ // Symbolic names for the gpr_idx(...) syntax.
36 extern const char* const IdSymbolic
[];
38 } // namespace VGPRIndexMode