Home | History | Annotate | Download | only in MCTargetDesc
      1 //===-- NVPTXMCTargetDesc.h - NVPTX Target Descriptions ---------*- C++ -*-===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 //
     10 // This file provides NVPTX specific target descriptions.
     11 //
     12 //===----------------------------------------------------------------------===//
     13 
     14 #ifndef LLVM_LIB_TARGET_NVPTX_MCTARGETDESC_NVPTXMCTARGETDESC_H
     15 #define LLVM_LIB_TARGET_NVPTX_MCTARGETDESC_NVPTXMCTARGETDESC_H
     16 
     17 #include <stdint.h>
     18 
     19 namespace llvm {
     20 class Target;
     21 
     22 extern Target TheNVPTXTarget32;
     23 extern Target TheNVPTXTarget64;
     24 
     25 } // End llvm namespace
     26 
     27 // Defines symbolic names for PTX registers.
     28 #define GET_REGINFO_ENUM
     29 #include "NVPTXGenRegisterInfo.inc"
     30 
     31 // Defines symbolic names for the PTX instructions.
     32 #define GET_INSTRINFO_ENUM
     33 #include "NVPTXGenInstrInfo.inc"
     34 
     35 #define GET_SUBTARGETINFO_ENUM
     36 #include "NVPTXGenSubtargetInfo.inc"
     37 
     38 #endif
     39