Delete the CollectorNamePool if it should become empty.
[oota-llvm.git] / lib / Target / CellSPU / SPU.td
1 //===- SPU.td - Describe the STI Cell SPU Target Machine ----*- tablegen -*-===//
2 // 
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file was developed by a team from the Computer Systems Research
6 // Department at The Aerospace Corporation and is distributed under the
7 // University of Illinois Open Source License. See LICENSE.TXT for details.
8 //
9 //===----------------------------------------------------------------------===//
10 //
11 // This is the top level entry point for the STI Cell SPU target machine.
12 //
13 //===----------------------------------------------------------------------===//
14
15 // Get the target-independent interfaces which we are implementing.
16 //
17 include "../Target.td"
18
19 //===----------------------------------------------------------------------===//
20 // Register File Description
21 //===----------------------------------------------------------------------===//
22
23 include "SPURegisterInfo.td"
24
25 //===----------------------------------------------------------------------===//
26 // Instruction formats, instructions
27 //===----------------------------------------------------------------------===//
28
29 include "SPUNodes.td"
30 include "SPUOperands.td"
31 include "SPUSchedule.td"
32 include "SPUInstrFormats.td"
33 include "SPUInstrInfo.td"
34
35 //===----------------------------------------------------------------------===//
36 // Subtarget features:
37 //===----------------------------------------------------------------------===//
38
39 def DefaultProc: SubtargetFeature<"", "ProcDirective", "SPU::DEFAULT_PROC", "">;
40 def LargeMemFeature:
41   SubtargetFeature<"large_mem","UseLargeMem", "true",
42                    "Use large (>256) LSA memory addressing [default = false]">;
43
44 def SPURev0 : Processor<"v0", SPUItineraries, [DefaultProc]>;
45
46 //===----------------------------------------------------------------------===//
47 // Calling convention:
48 //===----------------------------------------------------------------------===//
49
50 include "SPUCallingConv.td"
51
52 // Target:
53
54 def SPUInstrInfo : InstrInfo {
55   let isLittleEndianEncoding = 1;
56 }
57
58 def SPU : Target {
59   let InstructionSet = SPUInstrInfo;
60 }