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 //===----------------------------------------------------------------------===//
10 //===----------------------------------------------------------------------===//
11 // Target-independent interfaces which we are implementing
12 //===----------------------------------------------------------------------===//
14 include "../Target.td"
16 //===----------------------------------------------------------------------===//
17 // Register File Description
18 //===----------------------------------------------------------------------===//
20 include "MipsRegisterInfo.td"
22 //===----------------------------------------------------------------------===//
24 //===----------------------------------------------------------------------===//
26 // TODO: dummy, needed to compile
27 def FeatureCIX : SubtargetFeature<"r3000", "isR3000", "true",
28 "Enable r3000 extentions">;
30 //===----------------------------------------------------------------------===//
31 // Instruction Description
32 //===----------------------------------------------------------------------===//
34 include "MipsInstrInfo.td"
36 def MipsInstrInfo : InstrInfo {
37 // Define how we want to layout our target-specific information field.
38 let TSFlagsFields = [];
39 let TSFlagsShifts = [];
41 //===----------------------------------------------------------------------===//
42 // Calling Conventions
43 //===----------------------------------------------------------------------===//
45 include "MipsCallingConv.td"
47 //===----------------------------------------------------------------------===//
48 // Mips processors supported.
49 //===----------------------------------------------------------------------===//
51 class Proc<string Name, list<SubtargetFeature> Features>
52 : Processor<Name, NoItineraries, Features>;
54 def : Proc<"generic", []>;
56 //===----------------------------------------------------------------------===//
57 // Declare the target which we are implementing
58 //===----------------------------------------------------------------------===//
61 // Pull in Instruction Info:
62 let InstructionSet = MipsInstrInfo;