[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git] / llvm / lib / Target / AMDGPU / GCNProcessors.td
blob3a68ed1934e15ad6446e9019843554b659489e97
1 //===-- GCNProcessors.td - GCN Processor definitions ----------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 // The code produced for "generic" is only useful for tests and cannot
10 // reasonably be expected to execute on any particular target.
11 def : ProcessorModel<"generic", NoSchedModel,
12   [FeatureWavefrontSize64]
15 def : ProcessorModel<"generic-hsa", NoSchedModel,
16   [FeatureWavefrontSize64, FeatureFlatAddressSpace]
19 //===------------------------------------------------------------===//
20 // GCN GFX6 (Southern Islands (SI)).
21 //===------------------------------------------------------------===//
23 def : ProcessorModel<"gfx600", SIFullSpeedModel,
24   FeatureISAVersion6_0_0.Features
27 def : ProcessorModel<"tahiti", SIFullSpeedModel,
28   FeatureISAVersion6_0_0.Features
31 def : ProcessorModel<"gfx601", SIQuarterSpeedModel,
32   FeatureISAVersion6_0_1.Features
35 def : ProcessorModel<"pitcairn", SIQuarterSpeedModel,
36   FeatureISAVersion6_0_1.Features
39 def : ProcessorModel<"verde", SIQuarterSpeedModel,
40   FeatureISAVersion6_0_1.Features
43 def : ProcessorModel<"gfx602", SIQuarterSpeedModel,
44   FeatureISAVersion6_0_2.Features
47 def : ProcessorModel<"hainan", SIQuarterSpeedModel,
48   FeatureISAVersion6_0_2.Features
51 def : ProcessorModel<"oland", SIQuarterSpeedModel,
52   FeatureISAVersion6_0_2.Features
55 //===------------------------------------------------------------===//
56 // GCN GFX7 (Sea Islands (CI)).
57 //===------------------------------------------------------------===//
59 def : ProcessorModel<"gfx700", SIQuarterSpeedModel,
60   FeatureISAVersion7_0_0.Features
63 def : ProcessorModel<"kaveri", SIQuarterSpeedModel,
64   FeatureISAVersion7_0_0.Features
67 def : ProcessorModel<"gfx701", SIFullSpeedModel,
68   FeatureISAVersion7_0_1.Features
71 def : ProcessorModel<"hawaii", SIFullSpeedModel,
72   FeatureISAVersion7_0_1.Features
75 def : ProcessorModel<"gfx702", SIQuarterSpeedModel,
76   FeatureISAVersion7_0_2.Features
79 def : ProcessorModel<"gfx703", SIQuarterSpeedModel,
80   FeatureISAVersion7_0_3.Features
83 def : ProcessorModel<"kabini", SIQuarterSpeedModel,
84   FeatureISAVersion7_0_3.Features
87 def : ProcessorModel<"mullins", SIQuarterSpeedModel,
88   FeatureISAVersion7_0_3.Features
91 def : ProcessorModel<"gfx704", SIQuarterSpeedModel,
92   FeatureISAVersion7_0_4.Features
95 def : ProcessorModel<"bonaire", SIQuarterSpeedModel,
96   FeatureISAVersion7_0_4.Features
99 def : ProcessorModel<"gfx705", SIQuarterSpeedModel,
100   FeatureISAVersion7_0_5.Features
103 //===------------------------------------------------------------===//
104 // GCN GFX8 (Volcanic Islands (VI)).
105 //===------------------------------------------------------------===//
107 def : ProcessorModel<"gfx801", SIQuarterSpeedModel,
108   FeatureISAVersion8_0_1.Features
111 def : ProcessorModel<"carrizo", SIQuarterSpeedModel,
112   FeatureISAVersion8_0_1.Features
115 def : ProcessorModel<"gfx802", SIQuarterSpeedModel,
116   FeatureISAVersion8_0_2.Features
119 def : ProcessorModel<"iceland", SIQuarterSpeedModel,
120   FeatureISAVersion8_0_2.Features
123 def : ProcessorModel<"tonga", SIQuarterSpeedModel,
124   FeatureISAVersion8_0_2.Features
127 def : ProcessorModel<"gfx803", SIQuarterSpeedModel,
128   FeatureISAVersion8_0_3.Features
131 def : ProcessorModel<"fiji", SIQuarterSpeedModel,
132   FeatureISAVersion8_0_3.Features
135 def : ProcessorModel<"polaris10", SIQuarterSpeedModel,
136   FeatureISAVersion8_0_3.Features
139 def : ProcessorModel<"polaris11", SIQuarterSpeedModel,
140   FeatureISAVersion8_0_3.Features
143 def : ProcessorModel<"gfx805", SIQuarterSpeedModel,
144   FeatureISAVersion8_0_5.Features
147 def : ProcessorModel<"tongapro", SIQuarterSpeedModel,
148   FeatureISAVersion8_0_5.Features
151 def : ProcessorModel<"gfx810", SIQuarterSpeedModel,
152   FeatureISAVersion8_1_0.Features
155 def : ProcessorModel<"stoney", SIQuarterSpeedModel,
156   FeatureISAVersion8_1_0.Features
159 //===------------------------------------------------------------===//
160 // GCN GFX9.
161 //===------------------------------------------------------------===//
163 def : ProcessorModel<"gfx900", SIQuarterSpeedModel,
164   FeatureISAVersion9_0_0.Features
167 def : ProcessorModel<"gfx902", SIQuarterSpeedModel,
168   FeatureISAVersion9_0_2.Features
171 def : ProcessorModel<"gfx904", SIQuarterSpeedModel,
172   FeatureISAVersion9_0_4.Features
175 def : ProcessorModel<"gfx906", SIQuarterSpeedModel,
176   FeatureISAVersion9_0_6.Features
179 def : ProcessorModel<"gfx908", SIQuarterSpeedModel,
180   FeatureISAVersion9_0_8.Features
183 def : ProcessorModel<"gfx909", SIQuarterSpeedModel,
184   FeatureISAVersion9_0_9.Features
187 def : ProcessorModel<"gfx90a", SIDPFullSpeedModel,
188   FeatureISAVersion9_0_A.Features
191 def : ProcessorModel<"gfx90c", SIQuarterSpeedModel,
192   FeatureISAVersion9_0_C.Features
195 //===----------------------------------------------------------------------===//
196 // GCN GFX10.
197 //===----------------------------------------------------------------------===//
199 def : ProcessorModel<"gfx1010", GFX10SpeedModel,
200   FeatureISAVersion10_1_0.Features
203 def : ProcessorModel<"gfx1011", GFX10SpeedModel,
204   FeatureISAVersion10_1_1.Features
207 def : ProcessorModel<"gfx1012", GFX10SpeedModel,
208   FeatureISAVersion10_1_2.Features
211 def : ProcessorModel<"gfx1013", GFX10SpeedModel,
212   FeatureISAVersion10_1_3.Features
215 def : ProcessorModel<"gfx1030", GFX10SpeedModel,
216   FeatureISAVersion10_3_0.Features
219 def : ProcessorModel<"gfx1031", GFX10SpeedModel,
220   FeatureISAVersion10_3_0.Features
223 def : ProcessorModel<"gfx1032", GFX10SpeedModel,
224   FeatureISAVersion10_3_0.Features
227 def : ProcessorModel<"gfx1033", GFX10SpeedModel,
228   FeatureISAVersion10_3_0.Features
231 def : ProcessorModel<"gfx1034", GFX10SpeedModel,
232   FeatureISAVersion10_3_0.Features
235 def : ProcessorModel<"gfx1035", GFX10SpeedModel,
236   FeatureISAVersion10_3_0.Features