| 1 | //===-- NVPTXMCTargetDesc.h - NVPTX Target Descriptions ---------*- 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 | //===----------------------------------------------------------------------===// |
| 8 | // |
| 9 | // This file provides NVPTX specific target descriptions. |
| 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
| 13 | #ifndef LLVM_LIB_TARGET_NVPTX_MCTARGETDESC_NVPTXMCTARGETDESC_H |
| 14 | #define LLVM_LIB_TARGET_NVPTX_MCTARGETDESC_NVPTXMCTARGETDESC_H |
| 15 | |
| 16 | #include <stdint.h> |
| 17 | |
| 18 | // Defines symbolic names for PTX registers. |
| 19 | #define GET_REGINFO_ENUM |
| 20 | #include "NVPTXGenRegisterInfo.inc" |
| 21 | |
| 22 | // Defines symbolic names for the PTX instructions. |
| 23 | #define GET_INSTRINFO_ENUM |
| 24 | #define GET_INSTRINFO_MC_HELPER_DECLS |
| 25 | #include "NVPTXGenInstrInfo.inc" |
| 26 | |
| 27 | #define GET_SUBTARGETINFO_ENUM |
| 28 | #include "NVPTXGenSubtargetInfo.inc" |
| 29 | |
| 30 | #endif |
| 31 | |