1 //===-- AMDGPUAsmUtils.h - AsmParser/InstPrinter common ---------*- C++ -*-===//
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 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_LIB_TARGET_AMDGPU_UTILS_AMDGPUASMUTILS_H
11 #define LLVM_LIB_TARGET_AMDGPU_UTILS_AMDGPUASMUTILS_H
15 namespace SendMsg { // Symbolic names for the sendmsg(...) syntax.
17 extern const char* const IdSymbolic[];
18 extern const char* const OpSysSymbolic[];
19 extern const char* const OpGsSymbolic[];
21 } // namespace SendMsg
23 namespace Hwreg { // Symbolic names for the hwreg(...) syntax.
25 extern const char* const IdSymbolic[];
29 namespace Swizzle { // Symbolic names for the swizzle(...) syntax.
31 extern const char* const IdSymbolic[];
33 } // namespace Swizzle