LLVM 23.0.0git
NVPTXMCTargetDesc.h
Go to the documentation of this file.
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
17#include <stdint.h>
18
19// Defines symbolic names for PTX registers.
20#define GET_REGINFO_ENUM
21#include "NVPTXGenRegisterInfo.inc"
22
23// Defines symbolic names for the PTX instructions.
24#define GET_INSTRINFO_ENUM
25#define GET_INSTRINFO_MC_HELPER_DECLS
26#define GET_INSTRINFO_OPERAND_ENUM
27#include "NVPTXGenInstrInfo.inc"
28
29#define GET_SUBTARGETINFO_ENUM
30#include "NVPTXGenSubtargetInfo.inc"
31
32#endif