1//===-- XCoreMCTargetDesc.h - XCore 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 XCore specific target descriptions.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_LIB_TARGET_XCORE_MCTARGETDESC_XCOREMCTARGETDESC_H
15#define LLVM_LIB_TARGET_XCORE_MCTARGETDESC_XCOREMCTARGETDESC_H
16
17#include "llvm/Support/DataTypes.h"
18
19namespace llvm {
20class Target;
21
22extern Target TheXCoreTarget;
23
24} // End llvm namespace
25
26// Defines symbolic names for XCore registers.  This defines a mapping from
27// register name to register number.
28//
29#define GET_REGINFO_ENUM
30#include "XCoreGenRegisterInfo.inc"
31
32// Defines symbolic names for the XCore instructions.
33//
34#define GET_INSTRINFO_ENUM
35#include "XCoreGenInstrInfo.inc"
36
37#define GET_SUBTARGETINFO_ENUM
38#include "XCoreGenSubtargetInfo.inc"
39
40#endif
41