Remove xs1a subtarget. xs1a is a preproduction device used in
[oota-llvm.git] / lib / Target / XCore / XCore.td
1 //===- XCore.td - Describe the XCore Target Machine --------*- tablegen -*-===//
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 //
11 //===----------------------------------------------------------------------===//
12
13 //===----------------------------------------------------------------------===//
14 // Target-independent interfaces which we are implementing
15 //===----------------------------------------------------------------------===//
16
17 include "llvm/Target/Target.td"
18
19 //===----------------------------------------------------------------------===//
20 // Descriptions
21 //===----------------------------------------------------------------------===//
22
23 include "XCoreRegisterInfo.td"
24 include "XCoreInstrInfo.td"
25 include "XCoreCallingConv.td"
26
27 def XCoreInstrInfo : InstrInfo {
28   let TSFlagsFields = [];
29   let TSFlagsShifts = [];
30 }
31
32 //===----------------------------------------------------------------------===//
33 // XCore Subtarget features.
34 //===----------------------------------------------------------------------===//
35
36 def FeatureXS1B
37   : SubtargetFeature<"xs1b", "IsXS1B", "true",
38                      "Enable XS1B instructions">;
39
40 //===----------------------------------------------------------------------===//
41 // XCore processors supported.
42 //===----------------------------------------------------------------------===//
43
44 class Proc<string Name, list<SubtargetFeature> Features>
45  : Processor<Name, NoItineraries, Features>;
46
47 def : Proc<"generic",      [FeatureXS1B]>;
48 def : Proc<"xs1b-generic", [FeatureXS1B]>;
49
50 //===----------------------------------------------------------------------===//
51 // Declare the target which we are implementing
52 //===----------------------------------------------------------------------===//
53
54 def XCore : Target {
55   // Pull in Instruction Info:
56   let InstructionSet = XCoreInstrInfo;
57 }