[InstCombine] Signed saturation patterns
[llvm-complete.git] / lib / Target / AMDGPU / Utils / AMDGPUAsmUtils.h
blobcd91c5f6edd5683150fa4b779c6ec4c3e25b4003
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIB_TARGET_AMDGPU_UTILS_AMDGPUASMUTILS_H
10 #define LLVM_LIB_TARGET_AMDGPU_UTILS_AMDGPUASMUTILS_H
12 namespace llvm {
13 namespace AMDGPU {
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[];
26 } // namespace Hwreg
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
40 } // namespace AMDGPU
41 } // namespace llvm
43 #endif