LLVM API Documentation

NVPTXMCTargetDesc.h
Go to the documentation of this file.
00001 //===-- NVPTXMCTargetDesc.h - NVPTX Target Descriptions ---------*- C++ -*-===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 //
00010 // This file provides NVPTX specific target descriptions.
00011 //
00012 //===----------------------------------------------------------------------===//
00013 
00014 #ifndef LLVM_LIB_TARGET_NVPTX_MCTARGETDESC_NVPTXMCTARGETDESC_H
00015 #define LLVM_LIB_TARGET_NVPTX_MCTARGETDESC_NVPTXMCTARGETDESC_H
00016 
00017 namespace llvm {
00018 class Target;
00019 
00020 extern Target TheNVPTXTarget32;
00021 extern Target TheNVPTXTarget64;
00022 
00023 } // End llvm namespace
00024 
00025 // Defines symbolic names for PTX registers.
00026 #define GET_REGINFO_ENUM
00027 #include "NVPTXGenRegisterInfo.inc"
00028 
00029 // Defines symbolic names for the PTX instructions.
00030 #define GET_INSTRINFO_ENUM
00031 #include "NVPTXGenInstrInfo.inc"
00032 
00033 #define GET_SUBTARGETINFO_ENUM
00034 #include "NVPTXGenSubtargetInfo.inc"
00035 
00036 #endif