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 NVPTXMCTARGETDESC_H 15#define NVPTXMCTARGETDESC_H 16 17namespace llvm { 18class Target; 19 20extern Target TheNVPTXTarget32; 21extern Target TheNVPTXTarget64; 22 23} // End llvm namespace 24 25// Defines symbolic names for PTX registers. 26#define GET_REGINFO_ENUM 27#include "NVPTXGenRegisterInfo.inc" 28 29// Defines symbolic names for the PTX instructions. 30#define GET_INSTRINFO_ENUM 31#include "NVPTXGenInstrInfo.inc" 32 33#define GET_SUBTARGETINFO_ENUM 34#include "NVPTXGenSubtargetInfo.inc" 35 36#endif 37