Artem Tamazov | 6edc135 | 2016-05-26 17:00:33 +0000 | [diff] [blame] | 1 | //===-- AMDGPUAsmUtils.h - AsmParser/InstPrinter common ---------*- C++ -*-===// |
| 2 | // |
Chandler Carruth | 2946cd7 | 2019-01-19 08:50:56 +0000 | [diff] [blame] | 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 |
Artem Tamazov | 6edc135 | 2016-05-26 17:00:33 +0000 | [diff] [blame] | 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 |
Dmitry Preobrazhensky | 793c592 | 2017-05-31 16:26:47 +0000 | [diff] [blame] | 27 | |
| 28 | namespace Swizzle { // Symbolic names for the swizzle(...) syntax. |
| 29 | |
| 30 | extern const char* const IdSymbolic[]; |
| 31 | |
| 32 | } // namespace Swizzle |
Dmitry Preobrazhensky | ef92035 | 2019-02-27 13:12:12 +0000 | [diff] [blame] | 33 | |
| 34 | namespace VGPRIndexMode { // Symbolic names for the gpr_idx(...) syntax. |
| 35 | |
| 36 | extern const char* const IdSymbolic[]; |
| 37 | |
| 38 | } // namespace VGPRIndexMode |
| 39 | |
Artem Tamazov | 6edc135 | 2016-05-26 17:00:33 +0000 | [diff] [blame] | 40 | } // namespace AMDGPU |
| 41 | } // namespace llvm |
| 42 | |
| 43 | #endif |