Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / ObjectYAML / DXContainer / SignatureParts.yaml
blob81439a00c36de6dc018cf003df81962af3f10e18
1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
2 --- !dxcontainer
3 Header:
4   Hash:            [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
5                      0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]
6   Version:
7     Major:           1
8     Minor:           0
9   FileSize:        600
10   PartCount:       3
11   PartOffsets:     [ 64, 124, 184 ]
12 Parts:
13   - Name:            ISG1
14     Size:            52
15     Signature:
16       Parameters:
17         - Stream:          0
18           Name:            AAA_HSFoo
19           Index:           0
20           SystemValue:     Undefined
21           CompType:        Float32
22           Register:        0
23           Mask:            7
24           ExclusiveMask:   2
25           MinPrecision:    Default
26   - Name:            OSG1
27     Size:            52
28     Signature:
29       Parameters:
30         - Stream:          0
31           Name:            SV_Position
32           Index:           0
33           SystemValue:     Position
34           CompType:        Float32
35           Register:        0
36           Mask:            15
37           ExclusiveMask:   0
38           MinPrecision:    Default
39   - Name:            PSG1
40     Size:            372
41     Signature:
42       Parameters:
43         - Stream:          0
44           Name:            SV_TessFactor
45           Index:           0
46           SystemValue:     FinalQuadEdgeTessfactor
47           CompType:        Float32
48           Register:        0
49           Mask:            8
50           ExclusiveMask:   8
51           MinPrecision:    Default
52         - Stream:          0
53           Name:            BBB
54           Index:           0
55           SystemValue:     Undefined
56           CompType:        Float32
57           Register:        0
58           Mask:            7
59           ExclusiveMask:   0
60           MinPrecision:    Default
61         - Stream:          0
62           Name:            SV_TessFactor
63           Index:           1
64           SystemValue:     FinalQuadEdgeTessfactor
65           CompType:        Float32
66           Register:        1
67           Mask:            8
68           ExclusiveMask:   8
69           MinPrecision:    Default
70         - Stream:          0
71           Name:            BBB
72           Index:           1
73           SystemValue:     Undefined
74           CompType:        Float32
75           Register:        1
76           Mask:            7
77           ExclusiveMask:   0
78           MinPrecision:    Default
79         - Stream:          0
80           Name:            SV_TessFactor
81           Index:           2
82           SystemValue:     FinalQuadEdgeTessfactor
83           CompType:        Float32
84           Register:        2
85           Mask:            8
86           ExclusiveMask:   8
87           MinPrecision:    Default
88         - Stream:          0
89           Name:            BBB
90           Index:           2
91           SystemValue:     Undefined
92           CompType:        Float32
93           Register:        2
94           Mask:            7
95           ExclusiveMask:   0
96           MinPrecision:    Default
97         - Stream:          0
98           Name:            SV_TessFactor
99           Index:           3
100           SystemValue:     FinalQuadEdgeTessfactor
101           CompType:        Float32
102           Register:        3
103           Mask:            8
104           ExclusiveMask:   8
105           MinPrecision:    Default
106         - Stream:          0
107           Name:            SV_InsideTessFactor
108           Index:           0
109           SystemValue:     FinalQuadInsideTessfactor
110           CompType:        Float32
111           Register:        4
112           Mask:            8
113           ExclusiveMask:   0
114           MinPrecision:    Default
115         - Stream:          0
116           Name:            SV_InsideTessFactor
117           Index:           1
118           SystemValue:     FinalQuadInsideTessfactor
119           CompType:        Float32
120           Register:        5
121           Mask:            8
122           ExclusiveMask:   0
123           MinPrecision:    Default
124         - Stream:          0
125           Name:            AAA
126           Index:           0
127           SystemValue:     Undefined
128           CompType:        Float32
129           Register:        6
130           Mask:            15
131           ExclusiveMask:   4
132           MinPrecision:    Default
135 # CHECK: - Name:            ISG1
136 # CHECK-NEXT:   Size:            52
137 # CHECK-NEXT:   Signature:
138 # CHECK-NEXT:     Parameters:
139 # CHECK-NEXT:       - Stream:          0
140 # CHECK-NEXT:         Name:            AAA_HSFoo
141 # CHECK-NEXT:         Index:           0
142 # CHECK-NEXT:         SystemValue:     Undefined
143 # CHECK-NEXT:         CompType:        Float32
144 # CHECK-NEXT:         Register:        0
145 # CHECK-NEXT:         Mask:            7
146 # CHECK-NEXT:         ExclusiveMask:   2
147 # CHECK-NEXT:         MinPrecision:    Default
148 # CHECK-NEXT: - Name:            OSG1
149 # CHECK-NEXT:   Size:            52
150 # CHECK-NEXT:   Signature:
151 # CHECK-NEXT:     Parameters:
152 # CHECK-NEXT:       - Stream:          0
153 # CHECK-NEXT:         Name:            SV_Position
154 # CHECK-NEXT:         Index:           0
155 # CHECK-NEXT:         SystemValue:     Position
156 # CHECK-NEXT:         CompType:        Float32
157 # CHECK-NEXT:         Register:        0
158 # CHECK-NEXT:         Mask:            15
159 # CHECK-NEXT:         ExclusiveMask:   0
160 # CHECK-NEXT:         MinPrecision:    Default
161 # CHECK-NEXT: - Name:            PSG1
162 # CHECK-NEXT:   Size:            372
163 # CHECK-NEXT:   Signature:
164 # CHECK-NEXT:     Parameters:
165 # CHECK-NEXT:       - Stream:          0
166 # CHECK-NEXT:         Name:            SV_TessFactor
167 # CHECK-NEXT:         Index:           0
168 # CHECK-NEXT:         SystemValue:     FinalQuadEdgeTessfactor
169 # CHECK-NEXT:         CompType:        Float32
170 # CHECK-NEXT:         Register:        0
171 # CHECK-NEXT:         Mask:            8
172 # CHECK-NEXT:         ExclusiveMask:   8
173 # CHECK-NEXT:         MinPrecision:    Default
174 # CHECK-NEXT:       - Stream:          0
175 # CHECK-NEXT:         Name:            BBB
176 # CHECK-NEXT:         Index:           0
177 # CHECK-NEXT:         SystemValue:     Undefined
178 # CHECK-NEXT:         CompType:        Float32
179 # CHECK-NEXT:         Register:        0
180 # CHECK-NEXT:         Mask:            7
181 # CHECK-NEXT:         ExclusiveMask:   0
182 # CHECK-NEXT:         MinPrecision:    Default
183 # CHECK-NEXT:       - Stream:          0
184 # CHECK-NEXT:         Name:            SV_TessFactor
185 # CHECK-NEXT:         Index:           1
186 # CHECK-NEXT:         SystemValue:     FinalQuadEdgeTessfactor
187 # CHECK-NEXT:         CompType:        Float32
188 # CHECK-NEXT:         Register:        1
189 # CHECK-NEXT:         Mask:            8
190 # CHECK-NEXT:         ExclusiveMask:   8
191 # CHECK-NEXT:         MinPrecision:    Default
192 # CHECK-NEXT:       - Stream:          0
193 # CHECK-NEXT:         Name:            BBB
194 # CHECK-NEXT:         Index:           1
195 # CHECK-NEXT:         SystemValue:     Undefined
196 # CHECK-NEXT:         CompType:        Float32
197 # CHECK-NEXT:         Register:        1
198 # CHECK-NEXT:         Mask:            7
199 # CHECK-NEXT:         ExclusiveMask:   0
200 # CHECK-NEXT:         MinPrecision:    Default
201 # CHECK-NEXT:       - Stream:          0
202 # CHECK-NEXT:         Name:            SV_TessFactor
203 # CHECK-NEXT:         Index:           2
204 # CHECK-NEXT:         SystemValue:     FinalQuadEdgeTessfactor
205 # CHECK-NEXT:         CompType:        Float32
206 # CHECK-NEXT:         Register:        2
207 # CHECK-NEXT:         Mask:            8
208 # CHECK-NEXT:         ExclusiveMask:   8
209 # CHECK-NEXT:         MinPrecision:    Default
210 # CHECK-NEXT:       - Stream:          0
211 # CHECK-NEXT:         Name:            BBB
212 # CHECK-NEXT:         Index:           2
213 # CHECK-NEXT:         SystemValue:     Undefined
214 # CHECK-NEXT:         CompType:        Float32
215 # CHECK-NEXT:         Register:        2
216 # CHECK-NEXT:         Mask:            7
217 # CHECK-NEXT:         ExclusiveMask:   0
218 # CHECK-NEXT:         MinPrecision:    Default
219 # CHECK-NEXT:       - Stream:          0
220 # CHECK-NEXT:         Name:            SV_TessFactor
221 # CHECK-NEXT:         Index:           3
222 # CHECK-NEXT:         SystemValue:     FinalQuadEdgeTessfactor
223 # CHECK-NEXT:         CompType:        Float32
224 # CHECK-NEXT:         Register:        3
225 # CHECK-NEXT:         Mask:            8
226 # CHECK-NEXT:         ExclusiveMask:   8
227 # CHECK-NEXT:         MinPrecision:    Default
228 # CHECK-NEXT:       - Stream:          0
229 # CHECK-NEXT:         Name:            SV_InsideTessFactor
230 # CHECK-NEXT:         Index:           0
231 # CHECK-NEXT:         SystemValue:     FinalQuadInsideTessfactor
232 # CHECK-NEXT:         CompType:        Float32
233 # CHECK-NEXT:         Register:        4
234 # CHECK-NEXT:         Mask:            8
235 # CHECK-NEXT:         ExclusiveMask:   0
236 # CHECK-NEXT:         MinPrecision:    Default
237 # CHECK-NEXT:       - Stream:          0
238 # CHECK-NEXT:         Name:            SV_InsideTessFactor
239 # CHECK-NEXT:         Index:           1
240 # CHECK-NEXT:         SystemValue:     FinalQuadInsideTessfactor
241 # CHECK-NEXT:         CompType:        Float32
242 # CHECK-NEXT:         Register:        5
243 # CHECK-NEXT:         Mask:            8
244 # CHECK-NEXT:         ExclusiveMask:   0
245 # CHECK-NEXT:         MinPrecision:    Default
246 # CHECK-NEXT:       - Stream:          0
247 # CHECK-NEXT:         Name:            AAA
248 # CHECK-NEXT:         Index:           0
249 # CHECK-NEXT:         SystemValue:     Undefined
250 # CHECK-NEXT:         CompType:        Float32
251 # CHECK-NEXT:         Register:        6
252 # CHECK-NEXT:         Mask:            15
253 # CHECK-NEXT:         ExclusiveMask:   4
254 # CHECK-NEXT:         MinPrecision:    Default