1 //===- Mips.td - Describe the Mips Target Machine ---------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // 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 // Not currently supported, but work as SubtargetFeature placeholder.
37 def FeatureMipsIII : SubtargetFeature<"mips3", "IsMipsIII", "true",
38 "MipsIII ISA Support">;
40 //===----------------------------------------------------------------------===//
41 // Mips processors supported.
42 //===----------------------------------------------------------------------===//
44 def : Processor<"mips1", MipsGenericItineraries, []>;
45 def : Processor<"r2000", MipsGenericItineraries, []>;
46 def : Processor<"r3000", MipsGenericItineraries, []>;
49 let InstructionSet = MipsInstrInfo;