support for Schedule included on Mips.td
[oota-llvm.git] / lib / Target / Mips / Mips.td
1 //===- Mips.td - Describe the Mips Target Machine ---------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file was developed by Bruno Cardoso Lopes and is distributed under the 
6 // University of Illinois Open Source License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 // This is the top level entry point for the Mips target.
10 //===----------------------------------------------------------------------===//
11
12 //===----------------------------------------------------------------------===//
13 // Target-independent interfaces
14 //===----------------------------------------------------------------------===//
15
16 include "../Target.td"
17
18 //===----------------------------------------------------------------------===//
19 // Descriptions
20 //===----------------------------------------------------------------------===//
21
22 include "MipsRegisterInfo.td"
23 include "MipsSchedule.td"
24 include "MipsInstrInfo.td"
25 include "MipsCallingConv.td"
26
27 def MipsInstrInfo : InstrInfo {
28   let TSFlagsFields = [];
29   let TSFlagsShifts = [];
30 }
31
32 //===----------------------------------------------------------------------===//
33 // CPU Directives                                                             //
34 //===----------------------------------------------------------------------===//
35
36 def FeatureMipsIII : SubtargetFeature<"mips3", "IsMipsIII", "true",
37                                       "MipsIII ISA Support">;
38
39 //===----------------------------------------------------------------------===//
40 // Mips processors supported.
41 //===----------------------------------------------------------------------===//
42
43 def : Processor<"generic", MipsGenericItineraries, []>;
44 //def : Processor<"r4000",   MipsR4000Itineraries,   [FeatureMipsIII]>;
45
46 def Mips : Target {
47   let InstructionSet = MipsInstrInfo;
48 }
49