1 //===-- PTXMCTargetDesc.h - PTX Target Descriptions ------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file provides PTX specific target descriptions.
12 //===----------------------------------------------------------------------===//
14 #ifndef PTXMCTARGETDESC_H
15 #define PTXMCTARGETDESC_H
18 class MCSubtargetInfo;
22 extern Target ThePTX32Target;
23 extern Target ThePTX64Target;
25 } // End llvm namespace
27 // Defines symbolic names for PTX registers.
28 #define GET_REGINFO_ENUM
29 #include "PTXGenRegisterInfo.inc"
31 // Defines symbolic names for the PTX instructions.
32 #define GET_INSTRINFO_ENUM
33 #include "PTXGenInstrInfo.inc"
35 #define GET_SUBTARGETINFO_ENUM
36 #include "PTXGenSubtargetInfo.inc"