SparcMCTargetDesc.h revision 256281
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 Target;
19
20extern Target TheSparcTarget;
21extern Target TheSparcV9Target;
22
23} // End llvm namespace
24
25// Defines symbolic names for Sparc registers.  This defines a mapping from
26// register name to register number.
27//
28#define GET_REGINFO_ENUM
29#include "SparcGenRegisterInfo.inc"
30
31// Defines symbolic names for the Sparc instructions.
32//
33#define GET_INSTRINFO_ENUM
34#include "SparcGenInstrInfo.inc"
35
36#define GET_SUBTARGETINFO_ENUM
37#include "SparcGenSubtargetInfo.inc"
38
39#endif
40