1 //===- Mips.td - Describe the Mips Target Machine ---------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
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.
8 //===----------------------------------------------------------------------===//
9 // This is the top level entry point for the Mips target.
10 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
13 // Target-independent interfaces
14 //===----------------------------------------------------------------------===//
16 include "../Target.td"
18 //===----------------------------------------------------------------------===//
20 //===----------------------------------------------------------------------===//
22 include "MipsRegisterInfo.td"
23 include "MipsSchedule.td"
24 include "MipsInstrInfo.td"
25 include "MipsCallingConv.td"
27 def MipsInstrInfo : InstrInfo {
28 let TSFlagsFields = [];
29 let TSFlagsShifts = [];
32 //===----------------------------------------------------------------------===//
34 //===----------------------------------------------------------------------===//
36 def FeatureMipsIII : SubtargetFeature<"mips3", "IsMipsIII", "true",
37 "MipsIII ISA Support">;
39 //===----------------------------------------------------------------------===//
40 // Mips processors supported.
41 //===----------------------------------------------------------------------===//
43 def : Processor<"generic", MipsGenericItineraries, []>;
44 //def : Processor<"r4000", MipsR4000Itineraries, [FeatureMipsIII]>;
47 let InstructionSet = MipsInstrInfo;