blob: cd91c5f6edd5683150fa4b779c6ec4c3e25b4003 [file] [log] [blame]
Artem Tamazov6edc1352016-05-26 17:00:33 +00001//===-- AMDGPUAsmUtils.h - AsmParser/InstPrinter common ---------*- C++ -*-===//
2//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// 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
Artem Tamazov6edc1352016-05-26 17:00:33 +00006//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_LIB_TARGET_AMDGPU_UTILS_AMDGPUASMUTILS_H
10#define LLVM_LIB_TARGET_AMDGPU_UTILS_AMDGPUASMUTILS_H
11
12namespace llvm {
13namespace AMDGPU {
14namespace SendMsg { // Symbolic names for the sendmsg(...) syntax.
15
16extern const char* const IdSymbolic[];
17extern const char* const OpSysSymbolic[];
18extern const char* const OpGsSymbolic[];
19
20} // namespace SendMsg
21
22namespace Hwreg { // Symbolic names for the hwreg(...) syntax.
23
24extern const char* const IdSymbolic[];
25
26} // namespace Hwreg
Dmitry Preobrazhensky793c5922017-05-31 16:26:47 +000027
28namespace Swizzle { // Symbolic names for the swizzle(...) syntax.
29
30extern const char* const IdSymbolic[];
31
32} // namespace Swizzle
Dmitry Preobrazhenskyef920352019-02-27 13:12:12 +000033
34namespace VGPRIndexMode { // Symbolic names for the gpr_idx(...) syntax.
35
36extern const char* const IdSymbolic[];
37
38} // namespace VGPRIndexMode
39
Artem Tamazov6edc1352016-05-26 17:00:33 +000040} // namespace AMDGPU
41} // namespace llvm
42
43#endif