31 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8//9// This file provides NVPTX specific target descriptions.10//11//===----------------------------------------------------------------------===//12 13#ifndef LLVM_LIB_TARGET_NVPTX_MCTARGETDESC_NVPTXMCTARGETDESC_H14#define LLVM_LIB_TARGET_NVPTX_MCTARGETDESC_NVPTXMCTARGETDESC_H15 16#include <stdint.h>17 18// Defines symbolic names for PTX registers.19#define GET_REGINFO_ENUM20#include "NVPTXGenRegisterInfo.inc"21 22// Defines symbolic names for the PTX instructions.23#define GET_INSTRINFO_ENUM24#define GET_INSTRINFO_MC_HELPER_DECLS25#include "NVPTXGenInstrInfo.inc"26 27#define GET_SUBTARGETINFO_ENUM28#include "NVPTXGenSubtargetInfo.inc"29 30#endif31