• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 XCOREMCTARGETDESC_H
15 #define XCOREMCTARGETDESC_H
16 
17 namespace llvm {
18 class Target;
19 
20 extern Target TheXCoreTarget;
21 
22 } // End llvm namespace
23 
24 // Defines symbolic names for XCore registers.  This defines a mapping from
25 // register name to register number.
26 //
27 #define GET_REGINFO_ENUM
28 #include "XCoreGenRegisterInfo.inc"
29 
30 // Defines symbolic names for the XCore instructions.
31 //
32 #define GET_INSTRINFO_ENUM
33 #include "XCoreGenInstrInfo.inc"
34 
35 #define GET_SUBTARGETINFO_ENUM
36 #include "XCoreGenSubtargetInfo.inc"
37 
38 #endif
39