SparcMCTargetDesc.h revision c60f9b752381baa6c4b80c0739034660f1748c84
1//===-- SparcMCTargetDesc.h - Sparc 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 Sparc specific target descriptions. 11// 12//===----------------------------------------------------------------------===// 13 14#ifndef SPARCMCTARGETDESC_H 15#define SPARCMCTARGETDESC_H 16 17namespace llvm { 18class MCSubtargetInfo; 19class Target; 20class StringRef; 21 22extern Target TheSparcTarget; 23extern Target TheSparcV9Target; 24 25} // End llvm namespace 26 27// Defines symbolic names for Sparc registers. This defines a mapping from 28// register name to register number. 29// 30#define GET_REGINFO_ENUM 31#include "SparcGenRegisterInfo.inc" 32 33// Defines symbolic names for the Sparc instructions. 34// 35#define GET_INSTRINFO_ENUM 36#include "SparcGenInstrInfo.inc" 37 38#define GET_SUBTARGETINFO_ENUM 39#include "SparcGenSubtargetInfo.inc" 40 41#endif 42