Line data Source code
1 : #include "src/builtins/builtins-utils-gen.h"
2 : #include "src/builtins/builtins.h"
3 : #include "src/code-factory.h"
4 : #include "src/elements-kind.h"
5 : #include "src/heap/factory-inl.h"
6 : #include "src/objects.h"
7 : #include "src/objects/arguments.h"
8 : #include "src/objects/bigint.h"
9 : #include "src/objects/free-space.h"
10 : #include "src/objects/js-generator.h"
11 : #include "src/objects/js-promise.h"
12 : #include "src/objects/js-regexp-string-iterator.h"
13 : #include "src/objects/module.h"
14 : #include "src/objects/stack-frame-info.h"
15 : #include "src/builtins/builtins-regexp-gen.h"
16 : #include "src/builtins/builtins-array-gen.h"
17 : #include "src/builtins/builtins-collections-gen.h"
18 : #include "src/builtins/builtins-data-view-gen.h"
19 : #include "src/builtins/builtins-iterator-gen.h"
20 : #include "src/builtins/builtins-proxy-gen.h"
21 : #include "src/builtins/builtins-proxy-gen.h"
22 : #include "src/builtins/builtins-proxy-gen.h"
23 : #include "src/builtins/builtins-proxy-gen.h"
24 : #include "src/builtins/builtins-regexp-gen.h"
25 : #include "src/builtins/builtins-regexp-gen.h"
26 : #include "src/builtins/builtins-regexp-gen.h"
27 : #include "src/builtins/builtins-typed-array-gen.h"
28 : #include "src/builtins/builtins-constructor-gen.h"
29 : #include "src/builtins/builtins-typed-array-gen.h"
30 : #include "src/builtins/builtins-typed-array-gen.h"
31 : #include "src/builtins/builtins-typed-array-gen.h"
32 : #include "src/builtins/builtins-typed-array-gen.h"
33 : #include "src/builtins/builtins-typed-array-gen.h"
34 : #include "src/builtins/builtins-typed-array-gen.h"
35 : #include "src/builtins/builtins-typed-array-gen.h"
36 : #include "src/builtins/builtins-typed-array-gen.h"
37 : #include "torque-generated/builtins-base-from-dsl-gen.h"
38 : #include "torque-generated/builtins-growable-fixed-array-from-dsl-gen.h"
39 : #include "torque-generated/builtins-arguments-from-dsl-gen.h"
40 : #include "torque-generated/builtins-array-from-dsl-gen.h"
41 : #include "torque-generated/builtins-array-copywithin-from-dsl-gen.h"
42 : #include "torque-generated/builtins-array-filter-from-dsl-gen.h"
43 : #include "torque-generated/builtins-array-find-from-dsl-gen.h"
44 : #include "torque-generated/builtins-array-findindex-from-dsl-gen.h"
45 : #include "torque-generated/builtins-array-foreach-from-dsl-gen.h"
46 : #include "torque-generated/builtins-array-join-from-dsl-gen.h"
47 : #include "torque-generated/builtins-array-lastindexof-from-dsl-gen.h"
48 : #include "torque-generated/builtins-array-of-from-dsl-gen.h"
49 : #include "torque-generated/builtins-array-map-from-dsl-gen.h"
50 : #include "torque-generated/builtins-array-reverse-from-dsl-gen.h"
51 : #include "torque-generated/builtins-array-shift-from-dsl-gen.h"
52 : #include "torque-generated/builtins-array-slice-from-dsl-gen.h"
53 : #include "torque-generated/builtins-array-splice-from-dsl-gen.h"
54 : #include "torque-generated/builtins-array-unshift-from-dsl-gen.h"
55 : #include "torque-generated/builtins-collections-from-dsl-gen.h"
56 : #include "torque-generated/builtins-data-view-from-dsl-gen.h"
57 : #include "torque-generated/builtins-extras-utils-from-dsl-gen.h"
58 : #include "torque-generated/builtins-iterator-from-dsl-gen.h"
59 : #include "torque-generated/builtins-object-from-dsl-gen.h"
60 : #include "torque-generated/builtins-proxy-from-dsl-gen.h"
61 : #include "torque-generated/builtins-regexp-from-dsl-gen.h"
62 : #include "torque-generated/builtins-regexp-replace-from-dsl-gen.h"
63 : #include "torque-generated/builtins-string-from-dsl-gen.h"
64 : #include "torque-generated/builtins-string-html-from-dsl-gen.h"
65 : #include "torque-generated/builtins-string-repeat-from-dsl-gen.h"
66 : #include "torque-generated/builtins-typed-array-from-dsl-gen.h"
67 : #include "torque-generated/builtins-typed-array-createtypedarray-from-dsl-gen.h"
68 : #include "torque-generated/builtins-typed-array-every-from-dsl-gen.h"
69 : #include "torque-generated/builtins-typed-array-filter-from-dsl-gen.h"
70 : #include "torque-generated/builtins-typed-array-find-from-dsl-gen.h"
71 : #include "torque-generated/builtins-typed-array-findindex-from-dsl-gen.h"
72 : #include "torque-generated/builtins-typed-array-foreach-from-dsl-gen.h"
73 : #include "torque-generated/builtins-typed-array-reduce-from-dsl-gen.h"
74 : #include "torque-generated/builtins-typed-array-reduceright-from-dsl-gen.h"
75 : #include "torque-generated/builtins-typed-array-slice-from-dsl-gen.h"
76 : #include "torque-generated/builtins-typed-array-some-from-dsl-gen.h"
77 : #include "torque-generated/builtins-typed-array-subarray-from-dsl-gen.h"
78 : #include "torque-generated/builtins-test-from-dsl-gen.h"
79 :
80 : namespace v8 {
81 : namespace internal {
82 :
83 12 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::ElementsKindTestHelper1(ElementsKind p_kind) {
84 12 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
85 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
86 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
87 : compiler::CodeAssemblerParameterizedLabel<BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
88 : compiler::CodeAssemblerParameterizedLabel<BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
89 : ca_.Goto(&block0);
90 :
91 12 : if (block0.is_used()) {
92 : ca_.Bind(&block0);
93 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 7);
94 32 : if ((((CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT8_ELEMENTS)) || (CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT16_ELEMENTS))))) {
95 : ca_.Goto(&block3);
96 : } else {
97 : ca_.Goto(&block4);
98 : }
99 : }
100 :
101 12 : if (block3.is_used()) {
102 : ca_.Bind(&block3);
103 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 8);
104 : compiler::TNode<BoolT> tmp0;
105 : USE(tmp0);
106 24 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
107 : ca_.Goto(&block1, tmp0);
108 : }
109 :
110 12 : if (block4.is_used()) {
111 : ca_.Bind(&block4);
112 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 10);
113 : compiler::TNode<BoolT> tmp1;
114 : USE(tmp1);
115 12 : tmp1 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
116 : ca_.Goto(&block1, tmp1);
117 : }
118 :
119 12 : if (block1.is_used()) {
120 : compiler::TNode<BoolT> tmp2;
121 : ca_.Bind(&block1, &tmp2);
122 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 6);
123 : ca_.Goto(&block6, tmp2);
124 : }
125 :
126 : compiler::TNode<BoolT> tmp3;
127 : ca_.Bind(&block6, &tmp3);
128 24 : return compiler::TNode<BoolT>{tmp3};
129 : }
130 :
131 0 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::ElementsKindTestHelper2(ElementsKind p_kind) {
132 0 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
133 : compiler::CodeAssemblerParameterizedLabel<BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
134 : compiler::CodeAssemblerParameterizedLabel<BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
135 : ca_.Goto(&block0);
136 :
137 0 : if (block0.is_used()) {
138 : ca_.Bind(&block0);
139 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 15);
140 : compiler::TNode<BoolT> tmp0;
141 : USE(tmp0);
142 0 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(((CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT8_ELEMENTS)) || (CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT16_ELEMENTS)))));
143 : ca_.Goto(&block1, tmp0);
144 : }
145 :
146 0 : if (block1.is_used()) {
147 : compiler::TNode<BoolT> tmp1;
148 : ca_.Bind(&block1, &tmp1);
149 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 14);
150 : ca_.Goto(&block3, tmp1);
151 : }
152 :
153 : compiler::TNode<BoolT> tmp2;
154 : ca_.Bind(&block3, &tmp2);
155 0 : return compiler::TNode<BoolT>{tmp2};
156 : }
157 :
158 16 : bool TestBuiltinsFromDSLAssembler::ElementsKindTestHelper3(ElementsKind p_kind) {
159 16 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
160 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
161 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
162 : ca_.Goto(&block0);
163 :
164 16 : if (block0.is_used()) {
165 : ca_.Bind(&block0);
166 16 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 19);
167 : ca_.Goto(&block1);
168 : }
169 :
170 16 : if (block1.is_used()) {
171 : ca_.Bind(&block1);
172 16 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 18);
173 : ca_.Goto(&block3);
174 : }
175 :
176 : ca_.Bind(&block3);
177 60 : return ((CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT8_ELEMENTS)) || (CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT16_ELEMENTS)));
178 : }
179 :
180 4 : void TestBuiltinsFromDSLAssembler::LabelTestHelper1(compiler::CodeAssemblerLabel* label_Label1) {
181 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
182 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
183 : ca_.Goto(&block0);
184 :
185 4 : if (block0.is_used()) {
186 : ca_.Bind(&block0);
187 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 24);
188 : ca_.Goto(&block1);
189 : }
190 :
191 4 : if (block1.is_used()) {
192 : ca_.Bind(&block1);
193 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 22);
194 4 : ca_.Goto(label_Label1);
195 : }
196 4 : }
197 :
198 4 : void TestBuiltinsFromDSLAssembler::LabelTestHelper2(compiler::CodeAssemblerLabel* label_Label2, compiler::TypedCodeAssemblerVariable<Smi>* label_Label2_parameter_0) {
199 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
200 : compiler::CodeAssemblerParameterizedLabel<Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
201 : ca_.Goto(&block0);
202 :
203 4 : if (block0.is_used()) {
204 : ca_.Bind(&block0);
205 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 29);
206 : compiler::TNode<Smi> tmp0;
207 : USE(tmp0);
208 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(42));
209 : ca_.Goto(&block1, tmp0);
210 : }
211 :
212 4 : if (block1.is_used()) {
213 : compiler::TNode<Smi> tmp1;
214 : ca_.Bind(&block1, &tmp1);
215 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 27);
216 : *label_Label2_parameter_0 = tmp1;
217 4 : ca_.Goto(label_Label2);
218 : }
219 4 : }
220 :
221 4 : void TestBuiltinsFromDSLAssembler::LabelTestHelper3(compiler::CodeAssemblerLabel* label_Label3, compiler::TypedCodeAssemblerVariable<Oddball>* label_Label3_parameter_0, compiler::TypedCodeAssemblerVariable<Smi>* label_Label3_parameter_1) {
222 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
223 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
224 : ca_.Goto(&block0);
225 :
226 4 : if (block0.is_used()) {
227 : ca_.Bind(&block0);
228 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 34);
229 : compiler::TNode<Oddball> tmp0;
230 : USE(tmp0);
231 12 : tmp0 = BaseBuiltinsFromDSLAssembler(state_).Null();
232 : compiler::TNode<Smi> tmp1;
233 : USE(tmp1);
234 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
235 : ca_.Goto(&block1, tmp0, tmp1);
236 : }
237 :
238 4 : if (block1.is_used()) {
239 : compiler::TNode<Oddball> tmp2;
240 : compiler::TNode<Smi> tmp3;
241 : ca_.Bind(&block1, &tmp2, &tmp3);
242 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 32);
243 : *label_Label3_parameter_1 = tmp3;
244 : *label_Label3_parameter_0 = tmp2;
245 4 : ca_.Goto(label_Label3);
246 : }
247 4 : }
248 :
249 4 : void TestBuiltinsFromDSLAssembler::TestConstexpr1() {
250 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
251 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
252 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
253 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
254 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
255 : ca_.Goto(&block0);
256 :
257 4 : if (block0.is_used()) {
258 : ca_.Bind(&block0);
259 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 38);
260 : compiler::TNode<BoolT> tmp0;
261 : USE(tmp0);
262 16 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((CodeStubAssembler(state_).IsFastElementsKind(PACKED_SMI_ELEMENTS))));
263 4 : ca_.Branch(tmp0, &block2, &block3);
264 : }
265 :
266 4 : if (block3.is_used()) {
267 : ca_.Bind(&block3);
268 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'FromConstexpr<bool>(IsFastElementsKind(PACKED_SMI_ELEMENTS))\' failed", "../../test/torque/test-torque.tq", 38);
269 : }
270 :
271 4 : if (block2.is_used()) {
272 : ca_.Bind(&block2);
273 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 37);
274 : ca_.Goto(&block1);
275 : }
276 :
277 4 : if (block1.is_used()) {
278 : ca_.Bind(&block1);
279 : ca_.Goto(&block4);
280 : }
281 :
282 : ca_.Bind(&block4);
283 4 : }
284 :
285 4 : void TestBuiltinsFromDSLAssembler::TestConstexprIf() {
286 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
287 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
288 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
289 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
290 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
291 : compiler::CodeAssemblerParameterizedLabel<> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
292 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
293 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
294 : compiler::CodeAssemblerParameterizedLabel<> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
295 : ca_.Goto(&block0);
296 :
297 4 : if (block0.is_used()) {
298 : ca_.Bind(&block0);
299 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 42);
300 : compiler::TNode<BoolT> tmp0;
301 : USE(tmp0);
302 12 : tmp0 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper1(UINT8_ELEMENTS));
303 4 : ca_.Branch(tmp0, &block2, &block3);
304 : }
305 :
306 4 : if (block3.is_used()) {
307 : ca_.Bind(&block3);
308 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'ElementsKindTestHelper1(UINT8_ELEMENTS)\' failed", "../../test/torque/test-torque.tq", 42);
309 : }
310 :
311 4 : if (block2.is_used()) {
312 : ca_.Bind(&block2);
313 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 43);
314 : compiler::TNode<BoolT> tmp1;
315 : USE(tmp1);
316 12 : tmp1 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper1(UINT16_ELEMENTS));
317 4 : ca_.Branch(tmp1, &block4, &block5);
318 : }
319 :
320 4 : if (block5.is_used()) {
321 : ca_.Bind(&block5);
322 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'ElementsKindTestHelper1(UINT16_ELEMENTS)\' failed", "../../test/torque/test-torque.tq", 43);
323 : }
324 :
325 4 : if (block4.is_used()) {
326 : ca_.Bind(&block4);
327 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 44);
328 : compiler::TNode<BoolT> tmp2;
329 : USE(tmp2);
330 12 : tmp2 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper1(UINT32_ELEMENTS));
331 : compiler::TNode<BoolT> tmp3;
332 : USE(tmp3);
333 8 : tmp3 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp2}));
334 4 : ca_.Branch(tmp3, &block6, &block7);
335 : }
336 :
337 4 : if (block7.is_used()) {
338 : ca_.Bind(&block7);
339 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!ElementsKindTestHelper1(UINT32_ELEMENTS)\' failed", "../../test/torque/test-torque.tq", 44);
340 : }
341 :
342 4 : if (block6.is_used()) {
343 : ca_.Bind(&block6);
344 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 41);
345 : ca_.Goto(&block1);
346 : }
347 :
348 4 : if (block1.is_used()) {
349 : ca_.Bind(&block1);
350 : ca_.Goto(&block8);
351 : }
352 :
353 : ca_.Bind(&block8);
354 4 : }
355 :
356 4 : void TestBuiltinsFromDSLAssembler::TestConstexprReturn() {
357 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
358 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
359 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
360 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
361 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
362 : compiler::CodeAssemblerParameterizedLabel<> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
363 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
364 : compiler::CodeAssemblerParameterizedLabel<> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
365 : compiler::CodeAssemblerParameterizedLabel<> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
366 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
367 : compiler::CodeAssemblerParameterizedLabel<> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
368 : ca_.Goto(&block0);
369 :
370 4 : if (block0.is_used()) {
371 : ca_.Bind(&block0);
372 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 48);
373 : compiler::TNode<BoolT> tmp0;
374 : USE(tmp0);
375 20 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper3(UINT8_ELEMENTS))));
376 4 : ca_.Branch(tmp0, &block2, &block3);
377 : }
378 :
379 4 : if (block3.is_used()) {
380 : ca_.Bind(&block3);
381 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'FromConstexpr<bool>(ElementsKindTestHelper3(UINT8_ELEMENTS))\' failed", "../../test/torque/test-torque.tq", 48);
382 : }
383 :
384 4 : if (block2.is_used()) {
385 : ca_.Bind(&block2);
386 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 49);
387 : compiler::TNode<BoolT> tmp1;
388 : USE(tmp1);
389 20 : tmp1 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper3(UINT16_ELEMENTS))));
390 4 : ca_.Branch(tmp1, &block4, &block5);
391 : }
392 :
393 4 : if (block5.is_used()) {
394 : ca_.Bind(&block5);
395 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'FromConstexpr<bool>(ElementsKindTestHelper3(UINT16_ELEMENTS))\' failed", "../../test/torque/test-torque.tq", 49);
396 : }
397 :
398 4 : if (block4.is_used()) {
399 : ca_.Bind(&block4);
400 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 50);
401 : compiler::TNode<BoolT> tmp2;
402 : USE(tmp2);
403 20 : tmp2 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper3(UINT32_ELEMENTS))));
404 : compiler::TNode<BoolT> tmp3;
405 : USE(tmp3);
406 8 : tmp3 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp2}));
407 4 : ca_.Branch(tmp3, &block6, &block7);
408 : }
409 :
410 4 : if (block7.is_used()) {
411 : ca_.Bind(&block7);
412 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!FromConstexpr<bool>(ElementsKindTestHelper3(UINT32_ELEMENTS))\' failed", "../../test/torque/test-torque.tq", 50);
413 : }
414 :
415 4 : if (block6.is_used()) {
416 : ca_.Bind(&block6);
417 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 51);
418 : compiler::TNode<BoolT> tmp4;
419 : USE(tmp4);
420 28 : tmp4 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((CodeStubAssembler(state_).ConstexprBoolNot((TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper3(UINT32_ELEMENTS))))));
421 4 : ca_.Branch(tmp4, &block8, &block9);
422 : }
423 :
424 4 : if (block9.is_used()) {
425 : ca_.Bind(&block9);
426 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'FromConstexpr<bool>(!ElementsKindTestHelper3(UINT32_ELEMENTS))\' failed", "../../test/torque/test-torque.tq", 51);
427 : }
428 :
429 4 : if (block8.is_used()) {
430 : ca_.Bind(&block8);
431 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 47);
432 : ca_.Goto(&block1);
433 : }
434 :
435 4 : if (block1.is_used()) {
436 : ca_.Bind(&block1);
437 : ca_.Goto(&block10);
438 : }
439 :
440 : ca_.Bind(&block10);
441 4 : }
442 :
443 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestGotoLabel() {
444 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
445 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
446 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
447 : compiler::CodeAssemblerParameterizedLabel<Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
448 : compiler::CodeAssemblerParameterizedLabel<Oddball> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
449 : ca_.Goto(&block0);
450 :
451 4 : if (block0.is_used()) {
452 : ca_.Bind(&block0);
453 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 56);
454 4 : compiler::CodeAssemblerLabel label0(&ca_);
455 12 : TestBuiltinsFromDSLAssembler(state_).LabelTestHelper1(&label0);
456 4 : if (label0.is_used()) {
457 4 : ca_.Bind(&label0);
458 : ca_.Goto(&block4);
459 : }
460 : }
461 :
462 4 : if (block4.is_used()) {
463 : ca_.Bind(&block4);
464 : ca_.Goto(&block3);
465 : }
466 :
467 4 : if (block3.is_used()) {
468 : ca_.Bind(&block3);
469 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 59);
470 : compiler::TNode<Oddball> tmp0;
471 : USE(tmp0);
472 12 : tmp0 = BaseBuiltinsFromDSLAssembler(state_).True();
473 : ca_.Goto(&block1, tmp0);
474 : }
475 :
476 4 : if (block1.is_used()) {
477 : compiler::TNode<Oddball> tmp1;
478 : ca_.Bind(&block1, &tmp1);
479 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 54);
480 : ca_.Goto(&block5, tmp1);
481 : }
482 :
483 : compiler::TNode<Oddball> tmp2;
484 : ca_.Bind(&block5, &tmp2);
485 8 : return compiler::TNode<Oddball>{tmp2};
486 : }
487 :
488 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestGotoLabelWithOneParameter() {
489 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
490 : compiler::CodeAssemblerParameterizedLabel<Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
491 : compiler::CodeAssemblerParameterizedLabel<Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
492 : compiler::CodeAssemblerParameterizedLabel<Smi> block6(&ca_, compiler::CodeAssemblerLabel::kDeferred);
493 : compiler::CodeAssemblerParameterizedLabel<Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
494 : compiler::CodeAssemblerParameterizedLabel<Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
495 : compiler::CodeAssemblerParameterizedLabel<Oddball> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
496 : ca_.Goto(&block0);
497 :
498 4 : if (block0.is_used()) {
499 : ca_.Bind(&block0);
500 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 65);
501 : compiler::TypedCodeAssemblerVariable<Smi> result_0_0(&ca_);
502 4 : compiler::CodeAssemblerLabel label0(&ca_);
503 12 : TestBuiltinsFromDSLAssembler(state_).LabelTestHelper2(&label0, &result_0_0);
504 4 : if (label0.is_used()) {
505 4 : ca_.Bind(&label0);
506 : ca_.Goto(&block4, result_0_0.value());
507 : }
508 : }
509 :
510 4 : if (block4.is_used()) {
511 : compiler::TNode<Smi> tmp0;
512 : ca_.Bind(&block4, &tmp0);
513 : ca_.Goto(&block3, tmp0);
514 : }
515 :
516 4 : if (block3.is_used()) {
517 : compiler::TNode<Smi> tmp1;
518 : ca_.Bind(&block3, &tmp1);
519 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 68);
520 : compiler::TNode<Smi> tmp2;
521 : USE(tmp2);
522 12 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(42));
523 : compiler::TNode<BoolT> tmp3;
524 : USE(tmp3);
525 8 : tmp3 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp1}, compiler::TNode<Smi>{tmp2}));
526 4 : ca_.Branch(tmp3, &block5, &block6, tmp1);
527 : }
528 :
529 4 : if (block6.is_used()) {
530 : compiler::TNode<Smi> tmp4;
531 : ca_.Bind(&block6, &tmp4);
532 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'smi == 42\' failed", "../../test/torque/test-torque.tq", 68);
533 : }
534 :
535 4 : if (block5.is_used()) {
536 : compiler::TNode<Smi> tmp5;
537 : ca_.Bind(&block5, &tmp5);
538 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 69);
539 : compiler::TNode<Oddball> tmp6;
540 : USE(tmp6);
541 12 : tmp6 = BaseBuiltinsFromDSLAssembler(state_).True();
542 : ca_.Goto(&block1, tmp6);
543 : }
544 :
545 4 : if (block1.is_used()) {
546 : compiler::TNode<Oddball> tmp7;
547 : ca_.Bind(&block1, &tmp7);
548 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 63);
549 : ca_.Goto(&block7, tmp7);
550 : }
551 :
552 : compiler::TNode<Oddball> tmp8;
553 : ca_.Bind(&block7, &tmp8);
554 8 : return compiler::TNode<Oddball>{tmp8};
555 : }
556 :
557 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestGotoLabelWithTwoParameters() {
558 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
559 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
560 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
561 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kDeferred);
562 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
563 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kDeferred);
564 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
565 : compiler::CodeAssemblerParameterizedLabel<Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
566 : compiler::CodeAssemblerParameterizedLabel<Oddball> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
567 : ca_.Goto(&block0);
568 :
569 4 : if (block0.is_used()) {
570 : ca_.Bind(&block0);
571 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 75);
572 : compiler::TypedCodeAssemblerVariable<Oddball> result_0_0(&ca_);
573 : compiler::TypedCodeAssemblerVariable<Smi> result_0_1(&ca_);
574 4 : compiler::CodeAssemblerLabel label0(&ca_);
575 12 : TestBuiltinsFromDSLAssembler(state_).LabelTestHelper3(&label0, &result_0_0, &result_0_1);
576 4 : if (label0.is_used()) {
577 4 : ca_.Bind(&label0);
578 : ca_.Goto(&block4, result_0_0.value(), result_0_1.value());
579 : }
580 : }
581 :
582 4 : if (block4.is_used()) {
583 : compiler::TNode<Oddball> tmp0;
584 : compiler::TNode<Smi> tmp1;
585 : ca_.Bind(&block4, &tmp0, &tmp1);
586 : ca_.Goto(&block3, tmp0, tmp1);
587 : }
588 :
589 4 : if (block3.is_used()) {
590 : compiler::TNode<Oddball> tmp2;
591 : compiler::TNode<Smi> tmp3;
592 : ca_.Bind(&block3, &tmp2, &tmp3);
593 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 78);
594 : compiler::TNode<Oddball> tmp4;
595 : USE(tmp4);
596 12 : tmp4 = BaseBuiltinsFromDSLAssembler(state_).Null();
597 : compiler::TNode<BoolT> tmp5;
598 : USE(tmp5);
599 8 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<HeapObject>{tmp2}, compiler::TNode<HeapObject>{tmp4}));
600 4 : ca_.Branch(tmp5, &block5, &block6, tmp2, tmp3);
601 : }
602 :
603 4 : if (block6.is_used()) {
604 : compiler::TNode<Oddball> tmp6;
605 : compiler::TNode<Smi> tmp7;
606 : ca_.Bind(&block6, &tmp6, &tmp7);
607 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'o == Null\' failed", "../../test/torque/test-torque.tq", 78);
608 : }
609 :
610 4 : if (block5.is_used()) {
611 : compiler::TNode<Oddball> tmp8;
612 : compiler::TNode<Smi> tmp9;
613 : ca_.Bind(&block5, &tmp8, &tmp9);
614 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 79);
615 : compiler::TNode<Smi> tmp10;
616 : USE(tmp10);
617 12 : tmp10 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
618 : compiler::TNode<BoolT> tmp11;
619 : USE(tmp11);
620 8 : tmp11 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp9}, compiler::TNode<Smi>{tmp10}));
621 4 : ca_.Branch(tmp11, &block7, &block8, tmp8, tmp9);
622 : }
623 :
624 4 : if (block8.is_used()) {
625 : compiler::TNode<Oddball> tmp12;
626 : compiler::TNode<Smi> tmp13;
627 : ca_.Bind(&block8, &tmp12, &tmp13);
628 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'smi == 7\' failed", "../../test/torque/test-torque.tq", 79);
629 : }
630 :
631 4 : if (block7.is_used()) {
632 : compiler::TNode<Oddball> tmp14;
633 : compiler::TNode<Smi> tmp15;
634 : ca_.Bind(&block7, &tmp14, &tmp15);
635 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 80);
636 : compiler::TNode<Oddball> tmp16;
637 : USE(tmp16);
638 12 : tmp16 = BaseBuiltinsFromDSLAssembler(state_).True();
639 : ca_.Goto(&block1, tmp16);
640 : }
641 :
642 4 : if (block1.is_used()) {
643 : compiler::TNode<Oddball> tmp17;
644 : ca_.Bind(&block1, &tmp17);
645 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 73);
646 : ca_.Goto(&block9, tmp17);
647 : }
648 :
649 : compiler::TNode<Oddball> tmp18;
650 : ca_.Bind(&block9, &tmp18);
651 8 : return compiler::TNode<Oddball>{tmp18};
652 : }
653 :
654 224 : TF_BUILTIN(GenericBuiltinTest20UT5ATSmi10HeapObject, CodeStubAssembler) {
655 56 : compiler::CodeAssemblerState* state_ = state(); compiler::CodeAssembler ca_(state());
656 : TNode<Context> parameter0 = UncheckedCast<Context>(Parameter(Descriptor::kContext));
657 : USE(parameter0);
658 : compiler::TNode<Object> parameter1 = UncheckedCast<Object>(Parameter(Descriptor::kParam));
659 : USE(parameter1);
660 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
661 : ca_.Goto(&block0, parameter0, parameter1);
662 :
663 56 : if (block0.is_used()) {
664 : compiler::TNode<Context> tmp0;
665 : compiler::TNode<Object> tmp1;
666 : ca_.Bind(&block0, &tmp0, &tmp1);
667 56 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 89);
668 112 : CodeStubAssembler(state_).Return(tmp1);
669 : }
670 56 : }
671 :
672 4 : void TestBuiltinsFromDSLAssembler::TestBuiltinSpecialization(compiler::TNode<Context> p_c) {
673 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
674 : compiler::CodeAssemblerParameterizedLabel<Context> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
675 : compiler::CodeAssemblerParameterizedLabel<Context> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
676 : compiler::CodeAssemblerParameterizedLabel<Context> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
677 : compiler::CodeAssemblerParameterizedLabel<Context> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
678 : compiler::CodeAssemblerParameterizedLabel<Context> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
679 : compiler::CodeAssemblerParameterizedLabel<Context> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
680 : compiler::CodeAssemblerParameterizedLabel<Context> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
681 : compiler::CodeAssemblerParameterizedLabel<Context> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
682 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
683 : compiler::CodeAssemblerParameterizedLabel<Context> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
684 : ca_.Goto(&block0, p_c);
685 :
686 4 : if (block0.is_used()) {
687 : compiler::TNode<Context> tmp0;
688 : ca_.Bind(&block0, &tmp0);
689 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 93);
690 : compiler::TNode<Smi> tmp1;
691 : USE(tmp1);
692 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
693 : compiler::TNode<Object> tmp2;
694 8 : tmp2 = CodeStubAssembler(state_).CallBuiltin(Builtins::kGenericBuiltinTest5ATSmi, tmp0, tmp1);
695 : USE(tmp2);
696 : compiler::TNode<Oddball> tmp3;
697 : USE(tmp3);
698 12 : tmp3 = BaseBuiltinsFromDSLAssembler(state_).Null();
699 : compiler::TNode<BoolT> tmp4;
700 : USE(tmp4);
701 8 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp2}, compiler::TNode<HeapObject>{tmp3}));
702 4 : ca_.Branch(tmp4, &block2, &block3, tmp0);
703 : }
704 :
705 4 : if (block3.is_used()) {
706 : compiler::TNode<Context> tmp5;
707 : ca_.Bind(&block3, &tmp5);
708 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericBuiltinTest<Smi>(c, 0) == Null\' failed", "../../test/torque/test-torque.tq", 93);
709 : }
710 :
711 4 : if (block2.is_used()) {
712 : compiler::TNode<Context> tmp6;
713 : ca_.Bind(&block2, &tmp6);
714 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 94);
715 : compiler::TNode<Smi> tmp7;
716 : USE(tmp7);
717 12 : tmp7 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
718 : compiler::TNode<Object> tmp8;
719 8 : tmp8 = CodeStubAssembler(state_).CallBuiltin(Builtins::kGenericBuiltinTest5ATSmi, tmp6, tmp7);
720 : USE(tmp8);
721 : compiler::TNode<Oddball> tmp9;
722 : USE(tmp9);
723 12 : tmp9 = BaseBuiltinsFromDSLAssembler(state_).Null();
724 : compiler::TNode<BoolT> tmp10;
725 : USE(tmp10);
726 8 : tmp10 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp8}, compiler::TNode<HeapObject>{tmp9}));
727 4 : ca_.Branch(tmp10, &block4, &block5, tmp6);
728 : }
729 :
730 4 : if (block5.is_used()) {
731 : compiler::TNode<Context> tmp11;
732 : ca_.Bind(&block5, &tmp11);
733 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericBuiltinTest<Smi>(c, 1) == Null\' failed", "../../test/torque/test-torque.tq", 94);
734 : }
735 :
736 4 : if (block4.is_used()) {
737 : compiler::TNode<Context> tmp12;
738 : ca_.Bind(&block4, &tmp12);
739 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 95);
740 : compiler::TNode<Oddball> tmp13;
741 : USE(tmp13);
742 12 : tmp13 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
743 : compiler::TNode<Object> tmp14;
744 8 : tmp14 = CodeStubAssembler(state_).CallBuiltin(Builtins::kGenericBuiltinTest20UT5ATSmi10HeapObject, tmp12, tmp13);
745 : USE(tmp14);
746 : compiler::TNode<Oddball> tmp15;
747 : USE(tmp15);
748 12 : tmp15 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
749 : compiler::TNode<BoolT> tmp16;
750 : USE(tmp16);
751 8 : tmp16 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp14}, compiler::TNode<HeapObject>{tmp15}));
752 4 : ca_.Branch(tmp16, &block6, &block7, tmp12);
753 : }
754 :
755 4 : if (block7.is_used()) {
756 : compiler::TNode<Context> tmp17;
757 : ca_.Bind(&block7, &tmp17);
758 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericBuiltinTest<Object>(c, Undefined) == Undefined\' failed", "../../test/torque/test-torque.tq", 95);
759 : }
760 :
761 4 : if (block6.is_used()) {
762 : compiler::TNode<Context> tmp18;
763 : ca_.Bind(&block6, &tmp18);
764 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 96);
765 : compiler::TNode<Oddball> tmp19;
766 : USE(tmp19);
767 12 : tmp19 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
768 : compiler::TNode<Object> tmp20;
769 8 : tmp20 = CodeStubAssembler(state_).CallBuiltin(Builtins::kGenericBuiltinTest20UT5ATSmi10HeapObject, tmp18, tmp19);
770 : USE(tmp20);
771 : compiler::TNode<Oddball> tmp21;
772 : USE(tmp21);
773 12 : tmp21 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
774 : compiler::TNode<BoolT> tmp22;
775 : USE(tmp22);
776 8 : tmp22 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp20}, compiler::TNode<HeapObject>{tmp21}));
777 4 : ca_.Branch(tmp22, &block8, &block9, tmp18);
778 : }
779 :
780 4 : if (block9.is_used()) {
781 : compiler::TNode<Context> tmp23;
782 : ca_.Bind(&block9, &tmp23);
783 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericBuiltinTest<Object>(c, Undefined) == Undefined\' failed", "../../test/torque/test-torque.tq", 96);
784 : }
785 :
786 4 : if (block8.is_used()) {
787 : compiler::TNode<Context> tmp24;
788 : ca_.Bind(&block8, &tmp24);
789 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 92);
790 : ca_.Goto(&block1, tmp24);
791 : }
792 :
793 4 : if (block1.is_used()) {
794 : compiler::TNode<Context> tmp25;
795 : ca_.Bind(&block1, &tmp25);
796 : ca_.Goto(&block10, tmp25);
797 : }
798 :
799 : compiler::TNode<Context> tmp26;
800 : ca_.Bind(&block10, &tmp26);
801 4 : }
802 :
803 8 : void TestBuiltinsFromDSLAssembler::LabelTestHelper4(bool p_flag, compiler::CodeAssemblerLabel* label_Label4, compiler::CodeAssemblerLabel* label_Label5) {
804 8 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
805 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
806 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
807 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
808 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
809 : ca_.Goto(&block0);
810 :
811 8 : if (block0.is_used()) {
812 : ca_.Bind(&block0);
813 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 101);
814 8 : if ((p_flag)) {
815 : ca_.Goto(&block3);
816 : } else {
817 : ca_.Goto(&block4);
818 : }
819 : }
820 :
821 8 : if (block3.is_used()) {
822 : ca_.Bind(&block3);
823 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 102);
824 : ca_.Goto(&block1);
825 : }
826 :
827 8 : if (block4.is_used()) {
828 : ca_.Bind(&block4);
829 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 104);
830 : ca_.Goto(&block2);
831 : }
832 :
833 8 : if (block1.is_used()) {
834 : ca_.Bind(&block1);
835 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 99);
836 4 : ca_.Goto(label_Label4);
837 : }
838 :
839 8 : if (block2.is_used()) {
840 : ca_.Bind(&block2);
841 4 : ca_.Goto(label_Label5);
842 : }
843 8 : }
844 :
845 8 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::CallLabelTestHelper4(bool p_flag) {
846 8 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
847 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
848 : compiler::CodeAssemblerParameterizedLabel<> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
849 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
850 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
851 : compiler::CodeAssemblerParameterizedLabel<BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
852 : compiler::CodeAssemblerParameterizedLabel<BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
853 : ca_.Goto(&block0);
854 :
855 8 : if (block0.is_used()) {
856 : ca_.Bind(&block0);
857 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 110);
858 8 : compiler::CodeAssemblerLabel label0(&ca_);
859 8 : compiler::CodeAssemblerLabel label1(&ca_);
860 24 : TestBuiltinsFromDSLAssembler(state_).LabelTestHelper4(p_flag, &label0, &label1);
861 8 : if (label0.is_used()) {
862 4 : ca_.Bind(&label0);
863 : ca_.Goto(&block6);
864 : }
865 8 : if (label1.is_used()) {
866 4 : ca_.Bind(&label1);
867 : ca_.Goto(&block7);
868 : }
869 : }
870 :
871 8 : if (block6.is_used()) {
872 : ca_.Bind(&block6);
873 : ca_.Goto(&block5);
874 : }
875 :
876 8 : if (block7.is_used()) {
877 : ca_.Bind(&block7);
878 : ca_.Goto(&block3);
879 : }
880 :
881 8 : if (block5.is_used()) {
882 : ca_.Bind(&block5);
883 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 113);
884 : compiler::TNode<BoolT> tmp0;
885 : USE(tmp0);
886 12 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
887 : ca_.Goto(&block1, tmp0);
888 : }
889 :
890 8 : if (block3.is_used()) {
891 : ca_.Bind(&block3);
892 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 116);
893 : compiler::TNode<BoolT> tmp1;
894 : USE(tmp1);
895 12 : tmp1 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
896 : ca_.Goto(&block1, tmp1);
897 : }
898 :
899 8 : if (block1.is_used()) {
900 : compiler::TNode<BoolT> tmp2;
901 : ca_.Bind(&block1, &tmp2);
902 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 108);
903 : ca_.Goto(&block8, tmp2);
904 : }
905 :
906 : compiler::TNode<BoolT> tmp3;
907 : ca_.Bind(&block8, &tmp3);
908 16 : return compiler::TNode<BoolT>{tmp3};
909 : }
910 :
911 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestPartiallyUnusedLabel() {
912 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
913 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
914 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
915 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
916 : compiler::CodeAssemblerParameterizedLabel<Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
917 : compiler::CodeAssemblerParameterizedLabel<Oddball> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
918 : ca_.Goto(&block0);
919 :
920 4 : if (block0.is_used()) {
921 : ca_.Bind(&block0);
922 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 121);
923 : compiler::TNode<BoolT> tmp0;
924 : USE(tmp0);
925 12 : tmp0 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).CallLabelTestHelper4(true));
926 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 122);
927 : compiler::TNode<BoolT> tmp1;
928 : USE(tmp1);
929 12 : tmp1 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).CallLabelTestHelper4(false));
930 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 124);
931 4 : ca_.Branch(tmp0, &block4, &block3, tmp0, tmp1);
932 : }
933 :
934 4 : if (block4.is_used()) {
935 : compiler::TNode<BoolT> tmp2;
936 : compiler::TNode<BoolT> tmp3;
937 : ca_.Bind(&block4, &tmp2, &tmp3);
938 : compiler::TNode<BoolT> tmp4;
939 : USE(tmp4);
940 12 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp3}));
941 4 : ca_.Branch(tmp4, &block2, &block3, tmp2, tmp3);
942 : }
943 :
944 4 : if (block2.is_used()) {
945 : compiler::TNode<BoolT> tmp5;
946 : compiler::TNode<BoolT> tmp6;
947 : ca_.Bind(&block2, &tmp5, &tmp6);
948 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 125);
949 : compiler::TNode<Oddball> tmp7;
950 : USE(tmp7);
951 12 : tmp7 = BaseBuiltinsFromDSLAssembler(state_).True();
952 : ca_.Goto(&block1, tmp7);
953 : }
954 :
955 4 : if (block3.is_used()) {
956 : compiler::TNode<BoolT> tmp8;
957 : compiler::TNode<BoolT> tmp9;
958 : ca_.Bind(&block3, &tmp8, &tmp9);
959 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 127);
960 : compiler::TNode<Oddball> tmp10;
961 : USE(tmp10);
962 12 : tmp10 = BaseBuiltinsFromDSLAssembler(state_).False();
963 : ca_.Goto(&block1, tmp10);
964 : }
965 :
966 4 : if (block1.is_used()) {
967 : compiler::TNode<Oddball> tmp11;
968 : ca_.Bind(&block1, &tmp11);
969 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 120);
970 : ca_.Goto(&block6, tmp11);
971 : }
972 :
973 : compiler::TNode<Oddball> tmp12;
974 : ca_.Bind(&block6, &tmp12);
975 8 : return compiler::TNode<Oddball>{tmp12};
976 : }
977 :
978 12 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::GenericMacroTest20UT5ATSmi10HeapObject(compiler::TNode<Object> p_param2) {
979 12 : compiler::CodeAssemblerParameterizedLabel<Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
980 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
981 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
982 : ca_.Goto(&block0, p_param2);
983 :
984 12 : if (block0.is_used()) {
985 : compiler::TNode<Object> tmp0;
986 : ca_.Bind(&block0, &tmp0);
987 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 136);
988 : ca_.Goto(&block1, tmp0, tmp0);
989 : }
990 :
991 12 : if (block1.is_used()) {
992 : compiler::TNode<Object> tmp1;
993 : compiler::TNode<Object> tmp2;
994 : ca_.Bind(&block1, &tmp1, &tmp2);
995 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 131);
996 : ca_.Goto(&block2, tmp1, tmp2);
997 : }
998 :
999 : compiler::TNode<Object> tmp3;
1000 : compiler::TNode<Object> tmp4;
1001 : ca_.Bind(&block2, &tmp3, &tmp4);
1002 24 : return compiler::TNode<Object>{tmp4};
1003 : }
1004 :
1005 4 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::GenericMacroTestWithLabels20UT5ATSmi10HeapObject(compiler::TNode<Object> p_param2, compiler::CodeAssemblerLabel* label_Y) {
1006 4 : compiler::CodeAssemblerParameterizedLabel<Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1007 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1008 : compiler::CodeAssemblerParameterizedLabel<Object, Object, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1009 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1010 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1011 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1012 : ca_.Goto(&block0, p_param2);
1013 :
1014 4 : if (block0.is_used()) {
1015 : compiler::TNode<Object> tmp0;
1016 : ca_.Bind(&block0, &tmp0);
1017 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 146);
1018 : compiler::TNode<Smi> tmp1;
1019 : USE(tmp1);
1020 4 : compiler::CodeAssemblerLabel label0(&ca_);
1021 12 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).Cast5ATSmi(compiler::TNode<Object>{tmp0}, &label0);
1022 : ca_.Goto(&block3, tmp0, tmp0, tmp1);
1023 4 : if (label0.is_used()) {
1024 4 : ca_.Bind(&label0);
1025 : ca_.Goto(&block4, tmp0, tmp0);
1026 : }
1027 : }
1028 :
1029 4 : if (block4.is_used()) {
1030 : compiler::TNode<Object> tmp2;
1031 : compiler::TNode<Object> tmp3;
1032 : ca_.Bind(&block4, &tmp2, &tmp3);
1033 : ca_.Goto(&block1);
1034 : }
1035 :
1036 4 : if (block3.is_used()) {
1037 : compiler::TNode<Object> tmp4;
1038 : compiler::TNode<Object> tmp5;
1039 : compiler::TNode<Smi> tmp6;
1040 : ca_.Bind(&block3, &tmp4, &tmp5, &tmp6);
1041 : ca_.Goto(&block2, tmp4, tmp6);
1042 : }
1043 :
1044 4 : if (block2.is_used()) {
1045 : compiler::TNode<Object> tmp7;
1046 : compiler::TNode<Object> tmp8;
1047 : ca_.Bind(&block2, &tmp7, &tmp8);
1048 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 139);
1049 : ca_.Goto(&block5, tmp7, tmp8);
1050 : }
1051 :
1052 4 : if (block1.is_used()) {
1053 : ca_.Bind(&block1);
1054 4 : ca_.Goto(label_Y);
1055 : }
1056 :
1057 : compiler::TNode<Object> tmp9;
1058 : compiler::TNode<Object> tmp10;
1059 : ca_.Bind(&block5, &tmp9, &tmp10);
1060 8 : return compiler::TNode<Object>{tmp10};
1061 : }
1062 :
1063 4 : void TestBuiltinsFromDSLAssembler::TestMacroSpecialization() {
1064 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1065 : compiler::CodeAssemblerParameterizedLabel<Smi> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1066 : compiler::CodeAssemblerParameterizedLabel<Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1067 : compiler::CodeAssemblerParameterizedLabel<Smi> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1068 : compiler::CodeAssemblerParameterizedLabel<Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1069 : compiler::CodeAssemblerParameterizedLabel<Smi> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1070 : compiler::CodeAssemblerParameterizedLabel<Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1071 : compiler::CodeAssemblerParameterizedLabel<Smi> block11(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1072 : compiler::CodeAssemblerParameterizedLabel<Smi> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1073 : compiler::CodeAssemblerParameterizedLabel<Smi> block13(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1074 : compiler::CodeAssemblerParameterizedLabel<Smi> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1075 : compiler::CodeAssemblerParameterizedLabel<Smi> block17(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1076 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block16(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1077 : compiler::CodeAssemblerParameterizedLabel<Smi> block15(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1078 : compiler::CodeAssemblerParameterizedLabel<Smi> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1079 : compiler::CodeAssemblerParameterizedLabel<Smi> block21(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1080 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block20(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1081 : compiler::CodeAssemblerParameterizedLabel<Smi> block19(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1082 : compiler::CodeAssemblerParameterizedLabel<Smi> block18(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1083 : compiler::CodeAssemblerParameterizedLabel<Smi, Oddball> block25(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1084 : compiler::CodeAssemblerParameterizedLabel<Smi, Oddball, Object> block24(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1085 : compiler::CodeAssemblerParameterizedLabel<Smi> block23(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1086 : compiler::CodeAssemblerParameterizedLabel<Smi> block22(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1087 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1088 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1089 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1090 : compiler::CodeAssemblerParameterizedLabel<> block26(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1091 : ca_.Goto(&block0);
1092 :
1093 4 : if (block0.is_used()) {
1094 : ca_.Bind(&block0);
1095 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 151);
1096 : compiler::TNode<Smi> tmp0;
1097 : USE(tmp0);
1098 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1099 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 152);
1100 : compiler::TNode<Smi> tmp1;
1101 : USE(tmp1);
1102 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1103 : compiler::TNode<Object> tmp2;
1104 : USE(tmp2);
1105 12 : tmp2 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).GenericMacroTest5ATSmi(compiler::TNode<Smi>{tmp1}));
1106 : compiler::TNode<Oddball> tmp3;
1107 : USE(tmp3);
1108 12 : tmp3 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1109 : compiler::TNode<BoolT> tmp4;
1110 : USE(tmp4);
1111 8 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp2}, compiler::TNode<HeapObject>{tmp3}));
1112 4 : ca_.Branch(tmp4, &block4, &block5, tmp0);
1113 : }
1114 :
1115 4 : if (block5.is_used()) {
1116 : compiler::TNode<Smi> tmp5;
1117 : ca_.Bind(&block5, &tmp5);
1118 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericMacroTest<Smi>(0) == Undefined\' failed", "../../test/torque/test-torque.tq", 152);
1119 : }
1120 :
1121 4 : if (block4.is_used()) {
1122 : compiler::TNode<Smi> tmp6;
1123 : ca_.Bind(&block4, &tmp6);
1124 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 153);
1125 : compiler::TNode<Smi> tmp7;
1126 : USE(tmp7);
1127 12 : tmp7 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
1128 : compiler::TNode<Object> tmp8;
1129 : USE(tmp8);
1130 12 : tmp8 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).GenericMacroTest5ATSmi(compiler::TNode<Smi>{tmp7}));
1131 : compiler::TNode<Oddball> tmp9;
1132 : USE(tmp9);
1133 12 : tmp9 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1134 : compiler::TNode<BoolT> tmp10;
1135 : USE(tmp10);
1136 8 : tmp10 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp8}, compiler::TNode<HeapObject>{tmp9}));
1137 4 : ca_.Branch(tmp10, &block6, &block7, tmp6);
1138 : }
1139 :
1140 4 : if (block7.is_used()) {
1141 : compiler::TNode<Smi> tmp11;
1142 : ca_.Bind(&block7, &tmp11);
1143 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericMacroTest<Smi>(1) == Undefined\' failed", "../../test/torque/test-torque.tq", 153);
1144 : }
1145 :
1146 4 : if (block6.is_used()) {
1147 : compiler::TNode<Smi> tmp12;
1148 : ca_.Bind(&block6, &tmp12);
1149 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 154);
1150 : compiler::TNode<Oddball> tmp13;
1151 : USE(tmp13);
1152 12 : tmp13 = BaseBuiltinsFromDSLAssembler(state_).Null();
1153 : compiler::TNode<Object> tmp14;
1154 : USE(tmp14);
1155 12 : tmp14 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).GenericMacroTest20UT5ATSmi10HeapObject(compiler::TNode<Object>{tmp13}));
1156 : compiler::TNode<Oddball> tmp15;
1157 : USE(tmp15);
1158 12 : tmp15 = BaseBuiltinsFromDSLAssembler(state_).Null();
1159 : compiler::TNode<BoolT> tmp16;
1160 : USE(tmp16);
1161 8 : tmp16 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp14}, compiler::TNode<HeapObject>{tmp15}));
1162 4 : ca_.Branch(tmp16, &block8, &block9, tmp12);
1163 : }
1164 :
1165 4 : if (block9.is_used()) {
1166 : compiler::TNode<Smi> tmp17;
1167 : ca_.Bind(&block9, &tmp17);
1168 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericMacroTest<Object>(Null) == Null\' failed", "../../test/torque/test-torque.tq", 154);
1169 : }
1170 :
1171 4 : if (block8.is_used()) {
1172 : compiler::TNode<Smi> tmp18;
1173 : ca_.Bind(&block8, &tmp18);
1174 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 155);
1175 : compiler::TNode<Oddball> tmp19;
1176 : USE(tmp19);
1177 12 : tmp19 = BaseBuiltinsFromDSLAssembler(state_).False();
1178 : compiler::TNode<Object> tmp20;
1179 : USE(tmp20);
1180 12 : tmp20 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).GenericMacroTest20UT5ATSmi10HeapObject(compiler::TNode<Object>{tmp19}));
1181 : compiler::TNode<Oddball> tmp21;
1182 : USE(tmp21);
1183 12 : tmp21 = BaseBuiltinsFromDSLAssembler(state_).False();
1184 : compiler::TNode<BoolT> tmp22;
1185 : USE(tmp22);
1186 8 : tmp22 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp20}, compiler::TNode<HeapObject>{tmp21}));
1187 4 : ca_.Branch(tmp22, &block10, &block11, tmp18);
1188 : }
1189 :
1190 4 : if (block11.is_used()) {
1191 : compiler::TNode<Smi> tmp23;
1192 : ca_.Bind(&block11, &tmp23);
1193 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericMacroTest<Object>(False) == False\' failed", "../../test/torque/test-torque.tq", 155);
1194 : }
1195 :
1196 4 : if (block10.is_used()) {
1197 : compiler::TNode<Smi> tmp24;
1198 : ca_.Bind(&block10, &tmp24);
1199 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 156);
1200 : compiler::TNode<Oddball> tmp25;
1201 : USE(tmp25);
1202 12 : tmp25 = BaseBuiltinsFromDSLAssembler(state_).True();
1203 : compiler::TNode<Object> tmp26;
1204 : USE(tmp26);
1205 12 : tmp26 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).GenericMacroTest20UT5ATSmi10HeapObject(compiler::TNode<Object>{tmp25}));
1206 : compiler::TNode<Oddball> tmp27;
1207 : USE(tmp27);
1208 12 : tmp27 = BaseBuiltinsFromDSLAssembler(state_).True();
1209 : compiler::TNode<BoolT> tmp28;
1210 : USE(tmp28);
1211 8 : tmp28 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp26}, compiler::TNode<HeapObject>{tmp27}));
1212 4 : ca_.Branch(tmp28, &block12, &block13, tmp24);
1213 : }
1214 :
1215 4 : if (block13.is_used()) {
1216 : compiler::TNode<Smi> tmp29;
1217 : ca_.Bind(&block13, &tmp29);
1218 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericMacroTest<Object>(True) == True\' failed", "../../test/torque/test-torque.tq", 156);
1219 : }
1220 :
1221 4 : if (block12.is_used()) {
1222 : compiler::TNode<Smi> tmp30;
1223 : ca_.Bind(&block12, &tmp30);
1224 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 157);
1225 : compiler::TNode<Smi> tmp31;
1226 : USE(tmp31);
1227 12 : tmp31 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1228 : compiler::TNode<Object> tmp32;
1229 : USE(tmp32);
1230 4 : compiler::CodeAssemblerLabel label0(&ca_);
1231 12 : tmp32 = TestBuiltinsFromDSLAssembler(state_).GenericMacroTestWithLabels5ATSmi(compiler::TNode<Smi>{tmp31}, &label0);
1232 : ca_.Goto(&block16, tmp30, tmp32);
1233 4 : if (label0.is_used()) {
1234 0 : ca_.Bind(&label0);
1235 : ca_.Goto(&block17, tmp30);
1236 : }
1237 : }
1238 :
1239 4 : if (block17.is_used()) {
1240 : compiler::TNode<Smi> tmp33;
1241 : ca_.Bind(&block17, &tmp33);
1242 : ca_.Goto(&block3);
1243 : }
1244 :
1245 4 : if (block16.is_used()) {
1246 : compiler::TNode<Smi> tmp34;
1247 : compiler::TNode<Object> tmp35;
1248 : ca_.Bind(&block16, &tmp34, &tmp35);
1249 : compiler::TNode<Oddball> tmp36;
1250 : USE(tmp36);
1251 12 : tmp36 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1252 : compiler::TNode<BoolT> tmp37;
1253 : USE(tmp37);
1254 8 : tmp37 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp35}, compiler::TNode<HeapObject>{tmp36}));
1255 4 : ca_.Branch(tmp37, &block14, &block15, tmp34);
1256 : }
1257 :
1258 4 : if (block15.is_used()) {
1259 : compiler::TNode<Smi> tmp38;
1260 : ca_.Bind(&block15, &tmp38);
1261 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'(GenericMacroTestWithLabels<Smi>(0) otherwise Fail) == Undefined\' failed", "../../test/torque/test-torque.tq", 157);
1262 : }
1263 :
1264 4 : if (block14.is_used()) {
1265 : compiler::TNode<Smi> tmp39;
1266 : ca_.Bind(&block14, &tmp39);
1267 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 158);
1268 : compiler::TNode<Smi> tmp40;
1269 : USE(tmp40);
1270 12 : tmp40 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1271 : compiler::TNode<Object> tmp41;
1272 : USE(tmp41);
1273 4 : compiler::CodeAssemblerLabel label0(&ca_);
1274 12 : tmp41 = TestBuiltinsFromDSLAssembler(state_).GenericMacroTestWithLabels5ATSmi(compiler::TNode<Smi>{tmp40}, &label0);
1275 : ca_.Goto(&block20, tmp39, tmp41);
1276 4 : if (label0.is_used()) {
1277 0 : ca_.Bind(&label0);
1278 : ca_.Goto(&block21, tmp39);
1279 : }
1280 : }
1281 :
1282 4 : if (block21.is_used()) {
1283 : compiler::TNode<Smi> tmp42;
1284 : ca_.Bind(&block21, &tmp42);
1285 : ca_.Goto(&block3);
1286 : }
1287 :
1288 4 : if (block20.is_used()) {
1289 : compiler::TNode<Smi> tmp43;
1290 : compiler::TNode<Object> tmp44;
1291 : ca_.Bind(&block20, &tmp43, &tmp44);
1292 : compiler::TNode<Oddball> tmp45;
1293 : USE(tmp45);
1294 12 : tmp45 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1295 : compiler::TNode<BoolT> tmp46;
1296 : USE(tmp46);
1297 8 : tmp46 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp44}, compiler::TNode<HeapObject>{tmp45}));
1298 4 : ca_.Branch(tmp46, &block18, &block19, tmp43);
1299 : }
1300 :
1301 4 : if (block19.is_used()) {
1302 : compiler::TNode<Smi> tmp47;
1303 : ca_.Bind(&block19, &tmp47);
1304 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'(GenericMacroTestWithLabels<Smi>(0) otherwise Fail) == Undefined\' failed", "../../test/torque/test-torque.tq", 158);
1305 : }
1306 :
1307 4 : if (block18.is_used()) {
1308 : compiler::TNode<Smi> tmp48;
1309 : ca_.Bind(&block18, &tmp48);
1310 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 160);
1311 : compiler::TNode<Oddball> tmp49;
1312 : USE(tmp49);
1313 12 : tmp49 = BaseBuiltinsFromDSLAssembler(state_).False();
1314 : compiler::TNode<Object> tmp50;
1315 : USE(tmp50);
1316 4 : compiler::CodeAssemblerLabel label0(&ca_);
1317 12 : tmp50 = TestBuiltinsFromDSLAssembler(state_).GenericMacroTestWithLabels20UT5ATSmi10HeapObject(compiler::TNode<Object>{tmp49}, &label0);
1318 : ca_.Goto(&block24, tmp48, tmp49, tmp50);
1319 4 : if (label0.is_used()) {
1320 4 : ca_.Bind(&label0);
1321 : ca_.Goto(&block25, tmp48, tmp49);
1322 : }
1323 : }
1324 :
1325 4 : if (block25.is_used()) {
1326 : compiler::TNode<Smi> tmp51;
1327 : compiler::TNode<Oddball> tmp52;
1328 : ca_.Bind(&block25, &tmp51, &tmp52);
1329 : ca_.Goto(&block23, tmp51);
1330 : }
1331 :
1332 4 : if (block24.is_used()) {
1333 : compiler::TNode<Smi> tmp53;
1334 : compiler::TNode<Oddball> tmp54;
1335 : compiler::TNode<Object> tmp55;
1336 : ca_.Bind(&block24, &tmp53, &tmp54, &tmp55);
1337 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 162);
1338 : ca_.Goto(&block22, tmp53);
1339 : }
1340 :
1341 4 : if (block23.is_used()) {
1342 : compiler::TNode<Smi> tmp56;
1343 : ca_.Bind(&block23, &tmp56);
1344 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 159);
1345 : ca_.Goto(&block22, tmp56);
1346 : }
1347 :
1348 4 : if (block22.is_used()) {
1349 : compiler::TNode<Smi> tmp57;
1350 : ca_.Bind(&block22, &tmp57);
1351 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 150);
1352 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 164);
1353 : ca_.Goto(&block2);
1354 : }
1355 :
1356 4 : if (block3.is_used()) {
1357 : ca_.Bind(&block3);
1358 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 165);
1359 0 : CodeStubAssembler(state_).Unreachable();
1360 : }
1361 :
1362 4 : if (block2.is_used()) {
1363 : ca_.Bind(&block2);
1364 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 149);
1365 : ca_.Goto(&block1);
1366 : }
1367 :
1368 4 : if (block1.is_used()) {
1369 : ca_.Bind(&block1);
1370 : ca_.Goto(&block26);
1371 : }
1372 :
1373 : ca_.Bind(&block26);
1374 4 : }
1375 :
1376 224 : TF_BUILTIN(TestHelperPlus1, CodeStubAssembler) {
1377 56 : compiler::CodeAssemblerState* state_ = state(); compiler::CodeAssembler ca_(state());
1378 : TNode<Context> parameter0 = UncheckedCast<Context>(Parameter(Descriptor::kContext));
1379 : USE(parameter0);
1380 : compiler::TNode<Smi> parameter1 = UncheckedCast<Smi>(Parameter(Descriptor::kX));
1381 : USE(parameter1);
1382 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1383 : ca_.Goto(&block0, parameter0, parameter1);
1384 :
1385 56 : if (block0.is_used()) {
1386 : compiler::TNode<Context> tmp0;
1387 : compiler::TNode<Smi> tmp1;
1388 : ca_.Bind(&block0, &tmp0, &tmp1);
1389 56 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 170);
1390 : compiler::TNode<Smi> tmp2;
1391 : USE(tmp2);
1392 112 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
1393 : compiler::TNode<Smi> tmp3;
1394 : USE(tmp3);
1395 112 : tmp3 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp1}, compiler::TNode<Smi>{tmp2}));
1396 112 : CodeStubAssembler(state_).Return(tmp3);
1397 : }
1398 56 : }
1399 :
1400 224 : TF_BUILTIN(TestHelperPlus2, CodeStubAssembler) {
1401 56 : compiler::CodeAssemblerState* state_ = state(); compiler::CodeAssembler ca_(state());
1402 : TNode<Context> parameter0 = UncheckedCast<Context>(Parameter(Descriptor::kContext));
1403 : USE(parameter0);
1404 : compiler::TNode<Smi> parameter1 = UncheckedCast<Smi>(Parameter(Descriptor::kX));
1405 : USE(parameter1);
1406 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1407 : ca_.Goto(&block0, parameter0, parameter1);
1408 :
1409 56 : if (block0.is_used()) {
1410 : compiler::TNode<Context> tmp0;
1411 : compiler::TNode<Smi> tmp1;
1412 : ca_.Bind(&block0, &tmp0, &tmp1);
1413 56 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 173);
1414 : compiler::TNode<Smi> tmp2;
1415 : USE(tmp2);
1416 112 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(2));
1417 : compiler::TNode<Smi> tmp3;
1418 : USE(tmp3);
1419 112 : tmp3 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp1}, compiler::TNode<Smi>{tmp2}));
1420 112 : CodeStubAssembler(state_).Return(tmp3);
1421 : }
1422 56 : }
1423 :
1424 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestFunctionPointers(compiler::TNode<Context> p_context) {
1425 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1426 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1427 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1428 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1429 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1430 : compiler::CodeAssemblerParameterizedLabel<Context, Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1431 : compiler::CodeAssemblerParameterizedLabel<Context, Oddball> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1432 : ca_.Goto(&block0, p_context);
1433 :
1434 4 : if (block0.is_used()) {
1435 : compiler::TNode<Context> tmp0;
1436 : ca_.Bind(&block0, &tmp0);
1437 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 177);
1438 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 178);
1439 : compiler::TNode<Smi> tmp1;
1440 : USE(tmp1);
1441 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(42));
1442 20 : compiler::TNode<Smi> tmp2 = TORQUE_CAST(CodeStubAssembler(state_).CallBuiltinPointer(Builtins::CallableFor(ca_.isolate(),ExampleBuiltinForTorqueFunctionPointerType(8)).descriptor(), ca_.UncheckedCast<BuiltinPtr>(ca_.SmiConstant(Builtins::kTestHelperPlus1)), tmp0, tmp1));
1443 : USE(tmp2);
1444 : compiler::TNode<Smi> tmp3;
1445 : USE(tmp3);
1446 12 : tmp3 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(43));
1447 : compiler::TNode<BoolT> tmp4;
1448 : USE(tmp4);
1449 8 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp2}, compiler::TNode<Smi>{tmp3}));
1450 4 : ca_.Branch(tmp4, &block2, &block3, tmp0, ca_.UncheckedCast<BuiltinPtr>(ca_.SmiConstant(Builtins::kTestHelperPlus1)));
1451 : }
1452 :
1453 4 : if (block3.is_used()) {
1454 : compiler::TNode<Context> tmp5;
1455 : compiler::TNode<BuiltinPtr> tmp6;
1456 : ca_.Bind(&block3, &tmp5, &tmp6);
1457 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr(context, 42) == 43\' failed", "../../test/torque/test-torque.tq", 178);
1458 : }
1459 :
1460 4 : if (block2.is_used()) {
1461 : compiler::TNode<Context> tmp7;
1462 : compiler::TNode<BuiltinPtr> tmp8;
1463 : ca_.Bind(&block2, &tmp7, &tmp8);
1464 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 179);
1465 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 180);
1466 : compiler::TNode<Smi> tmp9;
1467 : USE(tmp9);
1468 12 : tmp9 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(42));
1469 20 : compiler::TNode<Smi> tmp10 = TORQUE_CAST(CodeStubAssembler(state_).CallBuiltinPointer(Builtins::CallableFor(ca_.isolate(),ExampleBuiltinForTorqueFunctionPointerType(8)).descriptor(), ca_.UncheckedCast<BuiltinPtr>(ca_.SmiConstant(Builtins::kTestHelperPlus2)), tmp7, tmp9));
1470 : USE(tmp10);
1471 : compiler::TNode<Smi> tmp11;
1472 : USE(tmp11);
1473 12 : tmp11 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(44));
1474 : compiler::TNode<BoolT> tmp12;
1475 : USE(tmp12);
1476 8 : tmp12 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp10}, compiler::TNode<Smi>{tmp11}));
1477 4 : ca_.Branch(tmp12, &block4, &block5, tmp7, ca_.UncheckedCast<BuiltinPtr>(ca_.SmiConstant(Builtins::kTestHelperPlus2)));
1478 : }
1479 :
1480 4 : if (block5.is_used()) {
1481 : compiler::TNode<Context> tmp13;
1482 : compiler::TNode<BuiltinPtr> tmp14;
1483 : ca_.Bind(&block5, &tmp13, &tmp14);
1484 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr(context, 42) == 44\' failed", "../../test/torque/test-torque.tq", 180);
1485 : }
1486 :
1487 4 : if (block4.is_used()) {
1488 : compiler::TNode<Context> tmp15;
1489 : compiler::TNode<BuiltinPtr> tmp16;
1490 : ca_.Bind(&block4, &tmp15, &tmp16);
1491 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 181);
1492 : compiler::TNode<Oddball> tmp17;
1493 : USE(tmp17);
1494 12 : tmp17 = BaseBuiltinsFromDSLAssembler(state_).True();
1495 : ca_.Goto(&block1, tmp15, tmp17);
1496 : }
1497 :
1498 4 : if (block1.is_used()) {
1499 : compiler::TNode<Context> tmp18;
1500 : compiler::TNode<Oddball> tmp19;
1501 : ca_.Bind(&block1, &tmp18, &tmp19);
1502 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 176);
1503 : ca_.Goto(&block6, tmp18, tmp19);
1504 : }
1505 :
1506 : compiler::TNode<Context> tmp20;
1507 : compiler::TNode<Oddball> tmp21;
1508 : ca_.Bind(&block6, &tmp20, &tmp21);
1509 8 : return compiler::TNode<Oddball>{tmp21};
1510 : }
1511 :
1512 0 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestVariableRedeclaration(compiler::TNode<Context> p_context) {
1513 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1514 : compiler::CodeAssemblerParameterizedLabel<Context> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1515 : compiler::CodeAssemblerParameterizedLabel<Context> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1516 : compiler::CodeAssemblerParameterizedLabel<Context> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1517 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1518 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1519 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1520 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1521 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T, Int32T> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1522 : compiler::CodeAssemblerParameterizedLabel<Context, Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1523 : compiler::CodeAssemblerParameterizedLabel<Context, Oddball> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1524 : ca_.Goto(&block0, p_context);
1525 :
1526 0 : if (block0.is_used()) {
1527 : compiler::TNode<Context> tmp0;
1528 : ca_.Bind(&block0, &tmp0);
1529 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 185);
1530 : compiler::TNode<BoolT> tmp1;
1531 : USE(tmp1);
1532 0 : tmp1 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((CodeStubAssembler(state_).ConstexprInt31Equal(42, 0))));
1533 0 : ca_.Branch(tmp1, &block2, &block3, tmp0);
1534 : }
1535 :
1536 0 : if (block2.is_used()) {
1537 : compiler::TNode<Context> tmp2;
1538 : ca_.Bind(&block2, &tmp2);
1539 : ca_.Goto(&block5, tmp2);
1540 : }
1541 :
1542 0 : if (block3.is_used()) {
1543 : compiler::TNode<Context> tmp3;
1544 : ca_.Bind(&block3, &tmp3);
1545 : compiler::TNode<Int32T> tmp4;
1546 : USE(tmp4);
1547 0 : tmp4 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3117ATconstexpr_int31(1));
1548 : ca_.Goto(&block4, tmp3, tmp4);
1549 : }
1550 :
1551 0 : if (block5.is_used()) {
1552 : compiler::TNode<Context> tmp5;
1553 : ca_.Bind(&block5, &tmp5);
1554 : compiler::TNode<Int32T> tmp6;
1555 : USE(tmp6);
1556 0 : tmp6 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3117ATconstexpr_int31(0));
1557 : ca_.Goto(&block4, tmp5, tmp6);
1558 : }
1559 :
1560 0 : if (block4.is_used()) {
1561 : compiler::TNode<Context> tmp7;
1562 : compiler::TNode<Int32T> tmp8;
1563 : ca_.Bind(&block4, &tmp7, &tmp8);
1564 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 186);
1565 : compiler::TNode<BoolT> tmp9;
1566 : USE(tmp9);
1567 0 : tmp9 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((CodeStubAssembler(state_).ConstexprInt31Equal(42, 0))));
1568 0 : ca_.Branch(tmp9, &block6, &block7, tmp7, tmp8);
1569 : }
1570 :
1571 0 : if (block6.is_used()) {
1572 : compiler::TNode<Context> tmp10;
1573 : compiler::TNode<Int32T> tmp11;
1574 : ca_.Bind(&block6, &tmp10, &tmp11);
1575 : ca_.Goto(&block9, tmp10, tmp11);
1576 : }
1577 :
1578 0 : if (block7.is_used()) {
1579 : compiler::TNode<Context> tmp12;
1580 : compiler::TNode<Int32T> tmp13;
1581 : ca_.Bind(&block7, &tmp12, &tmp13);
1582 : compiler::TNode<Int32T> tmp14;
1583 : USE(tmp14);
1584 0 : tmp14 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3117ATconstexpr_int31(0));
1585 : ca_.Goto(&block8, tmp12, tmp13, tmp14);
1586 : }
1587 :
1588 0 : if (block9.is_used()) {
1589 : compiler::TNode<Context> tmp15;
1590 : compiler::TNode<Int32T> tmp16;
1591 : ca_.Bind(&block9, &tmp15, &tmp16);
1592 : compiler::TNode<Int32T> tmp17;
1593 : USE(tmp17);
1594 0 : tmp17 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3117ATconstexpr_int31(1));
1595 : ca_.Goto(&block8, tmp15, tmp16, tmp17);
1596 : }
1597 :
1598 0 : if (block8.is_used()) {
1599 : compiler::TNode<Context> tmp18;
1600 : compiler::TNode<Int32T> tmp19;
1601 : compiler::TNode<Int32T> tmp20;
1602 : ca_.Bind(&block8, &tmp18, &tmp19, &tmp20);
1603 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 187);
1604 : compiler::TNode<Oddball> tmp21;
1605 : USE(tmp21);
1606 0 : tmp21 = BaseBuiltinsFromDSLAssembler(state_).True();
1607 : ca_.Goto(&block1, tmp18, tmp21);
1608 : }
1609 :
1610 0 : if (block1.is_used()) {
1611 : compiler::TNode<Context> tmp22;
1612 : compiler::TNode<Oddball> tmp23;
1613 : ca_.Bind(&block1, &tmp22, &tmp23);
1614 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 184);
1615 : ca_.Goto(&block10, tmp22, tmp23);
1616 : }
1617 :
1618 : compiler::TNode<Context> tmp24;
1619 : compiler::TNode<Oddball> tmp25;
1620 : ca_.Bind(&block10, &tmp24, &tmp25);
1621 0 : return compiler::TNode<Oddball>{tmp25};
1622 : }
1623 :
1624 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestTernaryOperator(compiler::TNode<Smi> p_x) {
1625 4 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1626 : compiler::CodeAssemblerParameterizedLabel<Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1627 : compiler::CodeAssemblerParameterizedLabel<Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1628 : compiler::CodeAssemblerParameterizedLabel<Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1629 : compiler::CodeAssemblerParameterizedLabel<Smi, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1630 : compiler::CodeAssemblerParameterizedLabel<Smi, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1631 : compiler::CodeAssemblerParameterizedLabel<Smi, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1632 : compiler::CodeAssemblerParameterizedLabel<Smi, BoolT, Smi> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1633 : compiler::CodeAssemblerParameterizedLabel<Smi, BoolT, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1634 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1635 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1636 : ca_.Goto(&block0, p_x);
1637 :
1638 4 : if (block0.is_used()) {
1639 : compiler::TNode<Smi> tmp0;
1640 : ca_.Bind(&block0, &tmp0);
1641 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 191);
1642 : compiler::TNode<Smi> tmp1;
1643 : USE(tmp1);
1644 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1645 : compiler::TNode<BoolT> tmp2;
1646 : USE(tmp2);
1647 8 : tmp2 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp0}, compiler::TNode<Smi>{tmp1}));
1648 4 : ca_.Branch(tmp2, &block2, &block3, tmp0);
1649 : }
1650 :
1651 4 : if (block2.is_used()) {
1652 : compiler::TNode<Smi> tmp3;
1653 : ca_.Bind(&block2, &tmp3);
1654 : ca_.Goto(&block5, tmp3);
1655 : }
1656 :
1657 4 : if (block3.is_used()) {
1658 : compiler::TNode<Smi> tmp4;
1659 : ca_.Bind(&block3, &tmp4);
1660 : compiler::TNode<BoolT> tmp5;
1661 : USE(tmp5);
1662 12 : tmp5 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
1663 : ca_.Goto(&block4, tmp4, tmp5);
1664 : }
1665 :
1666 4 : if (block5.is_used()) {
1667 : compiler::TNode<Smi> tmp6;
1668 : ca_.Bind(&block5, &tmp6);
1669 : compiler::TNode<BoolT> tmp7;
1670 : USE(tmp7);
1671 12 : tmp7 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
1672 : ca_.Goto(&block4, tmp6, tmp7);
1673 : }
1674 :
1675 4 : if (block4.is_used()) {
1676 : compiler::TNode<Smi> tmp8;
1677 : compiler::TNode<BoolT> tmp9;
1678 : ca_.Bind(&block4, &tmp8, &tmp9);
1679 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 192);
1680 4 : ca_.Branch(tmp9, &block6, &block7, tmp8, tmp9);
1681 : }
1682 :
1683 4 : if (block6.is_used()) {
1684 : compiler::TNode<Smi> tmp10;
1685 : compiler::TNode<BoolT> tmp11;
1686 : ca_.Bind(&block6, &tmp10, &tmp11);
1687 : compiler::TNode<Smi> tmp12;
1688 : USE(tmp12);
1689 12 : tmp12 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
1690 : compiler::TNode<Smi> tmp13;
1691 : USE(tmp13);
1692 8 : tmp13 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiSub(compiler::TNode<Smi>{tmp10}, compiler::TNode<Smi>{tmp12}));
1693 : ca_.Goto(&block9, tmp10, tmp11, tmp13);
1694 : }
1695 :
1696 4 : if (block7.is_used()) {
1697 : compiler::TNode<Smi> tmp14;
1698 : compiler::TNode<BoolT> tmp15;
1699 : ca_.Bind(&block7, &tmp14, &tmp15);
1700 : compiler::TNode<Smi> tmp16;
1701 : USE(tmp16);
1702 12 : tmp16 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(100));
1703 : compiler::TNode<Smi> tmp17;
1704 : USE(tmp17);
1705 8 : tmp17 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp14}, compiler::TNode<Smi>{tmp16}));
1706 : ca_.Goto(&block8, tmp14, tmp15, tmp17);
1707 : }
1708 :
1709 4 : if (block9.is_used()) {
1710 : compiler::TNode<Smi> tmp18;
1711 : compiler::TNode<BoolT> tmp19;
1712 : compiler::TNode<Smi> tmp20;
1713 : ca_.Bind(&block9, &tmp18, &tmp19, &tmp20);
1714 : ca_.Goto(&block8, tmp18, tmp19, tmp20);
1715 : }
1716 :
1717 4 : if (block8.is_used()) {
1718 : compiler::TNode<Smi> tmp21;
1719 : compiler::TNode<BoolT> tmp22;
1720 : compiler::TNode<Smi> tmp23;
1721 : ca_.Bind(&block8, &tmp21, &tmp22, &tmp23);
1722 : ca_.Goto(&block1, tmp21, tmp23);
1723 : }
1724 :
1725 4 : if (block1.is_used()) {
1726 : compiler::TNode<Smi> tmp24;
1727 : compiler::TNode<Smi> tmp25;
1728 : ca_.Bind(&block1, &tmp24, &tmp25);
1729 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 190);
1730 : ca_.Goto(&block10, tmp24, tmp25);
1731 : }
1732 :
1733 : compiler::TNode<Smi> tmp26;
1734 : compiler::TNode<Smi> tmp27;
1735 : ca_.Bind(&block10, &tmp26, &tmp27);
1736 8 : return compiler::TNode<Smi>{tmp27};
1737 : }
1738 :
1739 4 : void TestBuiltinsFromDSLAssembler::TestFunctionPointerToGeneric(compiler::TNode<Context> p_c) {
1740 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1741 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1742 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1743 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1744 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1745 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1746 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1747 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1748 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1749 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1750 : compiler::CodeAssemblerParameterizedLabel<Context> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1751 : ca_.Goto(&block0, p_c);
1752 :
1753 4 : if (block0.is_used()) {
1754 : compiler::TNode<Context> tmp0;
1755 : ca_.Bind(&block0, &tmp0);
1756 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 196);
1757 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 197);
1758 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 199);
1759 : compiler::TNode<Smi> tmp1;
1760 : USE(tmp1);
1761 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1762 20 : compiler::TNode<Object> tmp2 = CodeStubAssembler(state_).CallBuiltinPointer(Builtins::CallableFor(ca_.isolate(),ExampleBuiltinForTorqueFunctionPointerType(9)).descriptor(), ca_.UncheckedCast<BuiltinPtr>(ca_.SmiConstant(Builtins::kGenericBuiltinTest5ATSmi)), tmp0, tmp1);
1763 : USE(tmp2);
1764 : compiler::TNode<Oddball> tmp3;
1765 : USE(tmp3);
1766 12 : tmp3 = BaseBuiltinsFromDSLAssembler(state_).Null();
1767 : compiler::TNode<BoolT> tmp4;
1768 : USE(tmp4);
1769 8 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp2}, compiler::TNode<HeapObject>{tmp3}));
1770 4 : ca_.Branch(tmp4, &block2, &block3, tmp0, ca_.UncheckedCast<BuiltinPtr>(ca_.SmiConstant(Builtins::kGenericBuiltinTest5ATSmi)), ca_.UncheckedCast<BuiltinPtr>(ca_.SmiConstant(Builtins::kGenericBuiltinTest20UT5ATSmi10HeapObject)));
1771 : }
1772 :
1773 4 : if (block3.is_used()) {
1774 : compiler::TNode<Context> tmp5;
1775 : compiler::TNode<BuiltinPtr> tmp6;
1776 : compiler::TNode<BuiltinPtr> tmp7;
1777 : ca_.Bind(&block3, &tmp5, &tmp6, &tmp7);
1778 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr1(c, 0) == Null\' failed", "../../test/torque/test-torque.tq", 199);
1779 : }
1780 :
1781 4 : if (block2.is_used()) {
1782 : compiler::TNode<Context> tmp8;
1783 : compiler::TNode<BuiltinPtr> tmp9;
1784 : compiler::TNode<BuiltinPtr> tmp10;
1785 : ca_.Bind(&block2, &tmp8, &tmp9, &tmp10);
1786 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 200);
1787 : compiler::TNode<Smi> tmp11;
1788 : USE(tmp11);
1789 12 : tmp11 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
1790 20 : compiler::TNode<Object> tmp12 = CodeStubAssembler(state_).CallBuiltinPointer(Builtins::CallableFor(ca_.isolate(),ExampleBuiltinForTorqueFunctionPointerType(9)).descriptor(), tmp9, tmp8, tmp11);
1791 : USE(tmp12);
1792 : compiler::TNode<Oddball> tmp13;
1793 : USE(tmp13);
1794 12 : tmp13 = BaseBuiltinsFromDSLAssembler(state_).Null();
1795 : compiler::TNode<BoolT> tmp14;
1796 : USE(tmp14);
1797 8 : tmp14 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp12}, compiler::TNode<HeapObject>{tmp13}));
1798 4 : ca_.Branch(tmp14, &block4, &block5, tmp8, tmp9, tmp10);
1799 : }
1800 :
1801 4 : if (block5.is_used()) {
1802 : compiler::TNode<Context> tmp15;
1803 : compiler::TNode<BuiltinPtr> tmp16;
1804 : compiler::TNode<BuiltinPtr> tmp17;
1805 : ca_.Bind(&block5, &tmp15, &tmp16, &tmp17);
1806 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr1(c, 1) == Null\' failed", "../../test/torque/test-torque.tq", 200);
1807 : }
1808 :
1809 4 : if (block4.is_used()) {
1810 : compiler::TNode<Context> tmp18;
1811 : compiler::TNode<BuiltinPtr> tmp19;
1812 : compiler::TNode<BuiltinPtr> tmp20;
1813 : ca_.Bind(&block4, &tmp18, &tmp19, &tmp20);
1814 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 201);
1815 : compiler::TNode<Oddball> tmp21;
1816 : USE(tmp21);
1817 12 : tmp21 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1818 20 : compiler::TNode<Object> tmp22 = CodeStubAssembler(state_).CallBuiltinPointer(Builtins::CallableFor(ca_.isolate(),ExampleBuiltinForTorqueFunctionPointerType(3)).descriptor(), tmp20, tmp18, tmp21);
1819 : USE(tmp22);
1820 : compiler::TNode<Oddball> tmp23;
1821 : USE(tmp23);
1822 12 : tmp23 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1823 : compiler::TNode<BoolT> tmp24;
1824 : USE(tmp24);
1825 8 : tmp24 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp22}, compiler::TNode<HeapObject>{tmp23}));
1826 4 : ca_.Branch(tmp24, &block6, &block7, tmp18, tmp19, tmp20);
1827 : }
1828 :
1829 4 : if (block7.is_used()) {
1830 : compiler::TNode<Context> tmp25;
1831 : compiler::TNode<BuiltinPtr> tmp26;
1832 : compiler::TNode<BuiltinPtr> tmp27;
1833 : ca_.Bind(&block7, &tmp25, &tmp26, &tmp27);
1834 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr2(c, Undefined) == Undefined\' failed", "../../test/torque/test-torque.tq", 201);
1835 : }
1836 :
1837 4 : if (block6.is_used()) {
1838 : compiler::TNode<Context> tmp28;
1839 : compiler::TNode<BuiltinPtr> tmp29;
1840 : compiler::TNode<BuiltinPtr> tmp30;
1841 : ca_.Bind(&block6, &tmp28, &tmp29, &tmp30);
1842 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 202);
1843 : compiler::TNode<Oddball> tmp31;
1844 : USE(tmp31);
1845 12 : tmp31 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1846 20 : compiler::TNode<Object> tmp32 = CodeStubAssembler(state_).CallBuiltinPointer(Builtins::CallableFor(ca_.isolate(),ExampleBuiltinForTorqueFunctionPointerType(3)).descriptor(), tmp30, tmp28, tmp31);
1847 : USE(tmp32);
1848 : compiler::TNode<Oddball> tmp33;
1849 : USE(tmp33);
1850 12 : tmp33 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1851 : compiler::TNode<BoolT> tmp34;
1852 : USE(tmp34);
1853 8 : tmp34 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp32}, compiler::TNode<HeapObject>{tmp33}));
1854 4 : ca_.Branch(tmp34, &block8, &block9, tmp28, tmp29, tmp30);
1855 : }
1856 :
1857 4 : if (block9.is_used()) {
1858 : compiler::TNode<Context> tmp35;
1859 : compiler::TNode<BuiltinPtr> tmp36;
1860 : compiler::TNode<BuiltinPtr> tmp37;
1861 : ca_.Bind(&block9, &tmp35, &tmp36, &tmp37);
1862 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr2(c, Undefined) == Undefined\' failed", "../../test/torque/test-torque.tq", 202);
1863 : }
1864 :
1865 4 : if (block8.is_used()) {
1866 : compiler::TNode<Context> tmp38;
1867 : compiler::TNode<BuiltinPtr> tmp39;
1868 : compiler::TNode<BuiltinPtr> tmp40;
1869 : ca_.Bind(&block8, &tmp38, &tmp39, &tmp40);
1870 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 195);
1871 : ca_.Goto(&block1, tmp38);
1872 : }
1873 :
1874 4 : if (block1.is_used()) {
1875 : compiler::TNode<Context> tmp41;
1876 : ca_.Bind(&block1, &tmp41);
1877 : ca_.Goto(&block10, tmp41);
1878 : }
1879 :
1880 : compiler::TNode<Context> tmp42;
1881 : ca_.Bind(&block10, &tmp42);
1882 4 : }
1883 :
1884 0 : compiler::TNode<BuiltinPtr> TestBuiltinsFromDSLAssembler::TestTypeAlias(compiler::TNode<BuiltinPtr> p_x) {
1885 0 : compiler::CodeAssemblerParameterizedLabel<BuiltinPtr> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1886 : compiler::CodeAssemblerParameterizedLabel<BuiltinPtr, BuiltinPtr> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1887 : compiler::CodeAssemblerParameterizedLabel<BuiltinPtr, BuiltinPtr> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1888 : ca_.Goto(&block0, p_x);
1889 :
1890 0 : if (block0.is_used()) {
1891 : compiler::TNode<BuiltinPtr> tmp0;
1892 : ca_.Bind(&block0, &tmp0);
1893 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 207);
1894 : ca_.Goto(&block1, tmp0, tmp0);
1895 : }
1896 :
1897 0 : if (block1.is_used()) {
1898 : compiler::TNode<BuiltinPtr> tmp1;
1899 : compiler::TNode<BuiltinPtr> tmp2;
1900 : ca_.Bind(&block1, &tmp1, &tmp2);
1901 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 206);
1902 : ca_.Goto(&block2, tmp1, tmp2);
1903 : }
1904 :
1905 : compiler::TNode<BuiltinPtr> tmp3;
1906 : compiler::TNode<BuiltinPtr> tmp4;
1907 : ca_.Bind(&block2, &tmp3, &tmp4);
1908 0 : return compiler::TNode<BuiltinPtr>{tmp4};
1909 : }
1910 :
1911 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestUnsafeCast(compiler::TNode<Context> p_context, compiler::TNode<Number> p_n) {
1912 4 : compiler::CodeAssemblerParameterizedLabel<Context, Number> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1913 : compiler::CodeAssemblerParameterizedLabel<Context, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1914 : compiler::CodeAssemblerParameterizedLabel<Context, Number, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1915 : compiler::CodeAssemblerParameterizedLabel<Context, Number, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1916 : compiler::CodeAssemblerParameterizedLabel<Context, Number> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1917 : compiler::CodeAssemblerParameterizedLabel<Context, Number, Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1918 : compiler::CodeAssemblerParameterizedLabel<Context, Number, Oddball> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1919 : ca_.Goto(&block0, p_context, p_n);
1920 :
1921 4 : if (block0.is_used()) {
1922 : compiler::TNode<Context> tmp0;
1923 : compiler::TNode<Number> tmp1;
1924 : ca_.Bind(&block0, &tmp0, &tmp1);
1925 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 211);
1926 : compiler::TNode<BoolT> tmp2;
1927 : USE(tmp2);
1928 8 : tmp2 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).TaggedIsSmi(compiler::TNode<Object>{tmp1}));
1929 4 : ca_.Branch(tmp2, &block2, &block3, tmp0, tmp1);
1930 : }
1931 :
1932 4 : if (block2.is_used()) {
1933 : compiler::TNode<Context> tmp3;
1934 : compiler::TNode<Number> tmp4;
1935 : ca_.Bind(&block2, &tmp3, &tmp4);
1936 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 212);
1937 : compiler::TNode<Smi> tmp5;
1938 : USE(tmp5);
1939 12 : tmp5 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).UnsafeCast5ATSmi(compiler::TNode<Context>{tmp3}, compiler::TNode<Object>{tmp4}));
1940 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 214);
1941 : compiler::TNode<Smi> tmp6;
1942 8 : tmp6 = TORQUE_CAST(CodeStubAssembler(state_).CallBuiltin(Builtins::kTestHelperPlus1, tmp3, tmp5));
1943 : USE(tmp6);
1944 : compiler::TNode<Smi> tmp7;
1945 : USE(tmp7);
1946 12 : tmp7 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(11));
1947 : compiler::TNode<BoolT> tmp8;
1948 : USE(tmp8);
1949 8 : tmp8 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp6}, compiler::TNode<Smi>{tmp7}));
1950 4 : ca_.Branch(tmp8, &block4, &block5, tmp3, tmp4, tmp5);
1951 : }
1952 :
1953 4 : if (block5.is_used()) {
1954 : compiler::TNode<Context> tmp9;
1955 : compiler::TNode<Number> tmp10;
1956 : compiler::TNode<Smi> tmp11;
1957 : ca_.Bind(&block5, &tmp9, &tmp10, &tmp11);
1958 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestHelperPlus1(context, m) == 11\' failed", "../../test/torque/test-torque.tq", 214);
1959 : }
1960 :
1961 4 : if (block4.is_used()) {
1962 : compiler::TNode<Context> tmp12;
1963 : compiler::TNode<Number> tmp13;
1964 : compiler::TNode<Smi> tmp14;
1965 : ca_.Bind(&block4, &tmp12, &tmp13, &tmp14);
1966 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 215);
1967 : compiler::TNode<Oddball> tmp15;
1968 : USE(tmp15);
1969 12 : tmp15 = BaseBuiltinsFromDSLAssembler(state_).True();
1970 : ca_.Goto(&block1, tmp12, tmp13, tmp15);
1971 : }
1972 :
1973 4 : if (block3.is_used()) {
1974 : compiler::TNode<Context> tmp16;
1975 : compiler::TNode<Number> tmp17;
1976 : ca_.Bind(&block3, &tmp16, &tmp17);
1977 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 217);
1978 : compiler::TNode<Oddball> tmp18;
1979 : USE(tmp18);
1980 12 : tmp18 = BaseBuiltinsFromDSLAssembler(state_).False();
1981 : ca_.Goto(&block1, tmp16, tmp17, tmp18);
1982 : }
1983 :
1984 4 : if (block1.is_used()) {
1985 : compiler::TNode<Context> tmp19;
1986 : compiler::TNode<Number> tmp20;
1987 : compiler::TNode<Oddball> tmp21;
1988 : ca_.Bind(&block1, &tmp19, &tmp20, &tmp21);
1989 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 210);
1990 : ca_.Goto(&block6, tmp19, tmp20, tmp21);
1991 : }
1992 :
1993 : compiler::TNode<Context> tmp22;
1994 : compiler::TNode<Number> tmp23;
1995 : compiler::TNode<Oddball> tmp24;
1996 : ca_.Bind(&block6, &tmp22, &tmp23, &tmp24);
1997 8 : return compiler::TNode<Oddball>{tmp24};
1998 : }
1999 :
2000 4 : void TestBuiltinsFromDSLAssembler::TestHexLiteral() {
2001 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2002 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2003 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2004 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2005 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2006 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2007 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2008 : ca_.Goto(&block0);
2009 :
2010 4 : if (block0.is_used()) {
2011 : ca_.Bind(&block0);
2012 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 221);
2013 : compiler::TNode<IntPtrT> tmp0;
2014 : USE(tmp0);
2015 12 : tmp0 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).Convert8ATintptr17ATconstexpr_int31(0xffff));
2016 : compiler::TNode<IntPtrT> tmp1;
2017 : USE(tmp1);
2018 12 : tmp1 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(1));
2019 : compiler::TNode<IntPtrT> tmp2;
2020 : USE(tmp2);
2021 8 : tmp2 = ca_.UncheckedCast<IntPtrT>(CodeStubAssembler(state_).IntPtrAdd(compiler::TNode<IntPtrT>{tmp0}, compiler::TNode<IntPtrT>{tmp1}));
2022 : compiler::TNode<IntPtrT> tmp3;
2023 : USE(tmp3);
2024 12 : tmp3 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(0x10000));
2025 : compiler::TNode<BoolT> tmp4;
2026 : USE(tmp4);
2027 8 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<IntPtrT>{tmp2}, compiler::TNode<IntPtrT>{tmp3}));
2028 4 : ca_.Branch(tmp4, &block2, &block3);
2029 : }
2030 :
2031 4 : if (block3.is_used()) {
2032 : ca_.Bind(&block3);
2033 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'Convert<intptr>(0xffff) + 1 == 0x10000\' failed", "../../test/torque/test-torque.tq", 221);
2034 : }
2035 :
2036 4 : if (block2.is_used()) {
2037 : ca_.Bind(&block2);
2038 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 222);
2039 : compiler::TNode<IntPtrT> tmp5;
2040 : USE(tmp5);
2041 12 : tmp5 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).Convert8ATintptr17ATconstexpr_int31(-0xffff));
2042 : compiler::TNode<IntPtrT> tmp6;
2043 : USE(tmp6);
2044 12 : tmp6 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(-65535));
2045 : compiler::TNode<BoolT> tmp7;
2046 : USE(tmp7);
2047 8 : tmp7 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<IntPtrT>{tmp5}, compiler::TNode<IntPtrT>{tmp6}));
2048 4 : ca_.Branch(tmp7, &block4, &block5);
2049 : }
2050 :
2051 4 : if (block5.is_used()) {
2052 : ca_.Bind(&block5);
2053 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'Convert<intptr>(-0xffff) == -65535\' failed", "../../test/torque/test-torque.tq", 222);
2054 : }
2055 :
2056 4 : if (block4.is_used()) {
2057 : ca_.Bind(&block4);
2058 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 220);
2059 : ca_.Goto(&block1);
2060 : }
2061 :
2062 4 : if (block1.is_used()) {
2063 : ca_.Bind(&block1);
2064 : ca_.Goto(&block6);
2065 : }
2066 :
2067 : ca_.Bind(&block6);
2068 4 : }
2069 :
2070 0 : void TestBuiltinsFromDSLAssembler::TestLargeIntegerLiterals(compiler::TNode<Context> p_c) {
2071 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2072 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2073 : compiler::CodeAssemblerParameterizedLabel<Context> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2074 : ca_.Goto(&block0, p_c);
2075 :
2076 0 : if (block0.is_used()) {
2077 : compiler::TNode<Context> tmp0;
2078 : ca_.Bind(&block0, &tmp0);
2079 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 226);
2080 : compiler::TNode<Int32T> tmp1;
2081 : USE(tmp1);
2082 0 : tmp1 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int32(0x40000000));
2083 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 227);
2084 : compiler::TNode<Int32T> tmp2;
2085 : USE(tmp2);
2086 0 : tmp2 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int32(0x7fffffff));
2087 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 225);
2088 : ca_.Goto(&block1, tmp0);
2089 : }
2090 :
2091 0 : if (block1.is_used()) {
2092 : compiler::TNode<Context> tmp3;
2093 : ca_.Bind(&block1, &tmp3);
2094 : ca_.Goto(&block2, tmp3);
2095 : }
2096 :
2097 : compiler::TNode<Context> tmp4;
2098 : ca_.Bind(&block2, &tmp4);
2099 0 : }
2100 :
2101 0 : void TestBuiltinsFromDSLAssembler::TestMultilineAssert() {
2102 0 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2103 : compiler::CodeAssemblerParameterizedLabel<Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2104 : compiler::CodeAssemblerParameterizedLabel<Smi> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2105 : compiler::CodeAssemblerParameterizedLabel<Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2106 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2107 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2108 : ca_.Goto(&block0);
2109 :
2110 0 : if (block0.is_used()) {
2111 : ca_.Bind(&block0);
2112 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 231);
2113 : compiler::TNode<Smi> tmp0;
2114 : USE(tmp0);
2115 0 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
2116 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 233);
2117 : compiler::TNode<Smi> tmp1;
2118 : USE(tmp1);
2119 0 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2120 : compiler::TNode<BoolT> tmp2;
2121 : USE(tmp2);
2122 0 : tmp2 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiGreaterThan(compiler::TNode<Smi>{tmp0}, compiler::TNode<Smi>{tmp1}));
2123 0 : ca_.Branch(tmp2, &block4, &block3, tmp0);
2124 : }
2125 :
2126 0 : if (block4.is_used()) {
2127 : compiler::TNode<Smi> tmp3;
2128 : ca_.Bind(&block4, &tmp3);
2129 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 234);
2130 : compiler::TNode<Smi> tmp4;
2131 : USE(tmp4);
2132 0 : tmp4 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
2133 : compiler::TNode<BoolT> tmp5;
2134 : USE(tmp5);
2135 0 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp3}, compiler::TNode<Smi>{tmp4}));
2136 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 233);
2137 0 : ca_.Branch(tmp5, &block2, &block3, tmp3);
2138 : }
2139 :
2140 0 : if (block3.is_used()) {
2141 : compiler::TNode<Smi> tmp6;
2142 : ca_.Bind(&block3, &tmp6);
2143 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 232);
2144 0 : CodeStubAssembler(state_).FailAssert("Torque assert \'someVeryLongVariableNameThatWillCauseLineBreaks > 0 && someVeryLongVariableNameThatWillCauseLineBreaks < 10\' failed", "../../test/torque/test-torque.tq", 232);
2145 : }
2146 :
2147 0 : if (block2.is_used()) {
2148 : compiler::TNode<Smi> tmp7;
2149 : ca_.Bind(&block2, &tmp7);
2150 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 230);
2151 : ca_.Goto(&block1);
2152 : }
2153 :
2154 0 : if (block1.is_used()) {
2155 : ca_.Bind(&block1);
2156 : ca_.Goto(&block5);
2157 : }
2158 :
2159 : ca_.Bind(&block5);
2160 0 : }
2161 :
2162 0 : void TestBuiltinsFromDSLAssembler::TestNewlineInString() {
2163 0 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2164 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2165 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2166 : ca_.Goto(&block0);
2167 :
2168 0 : if (block0.is_used()) {
2169 : ca_.Bind(&block0);
2170 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 238);
2171 0 : CodeStubAssembler(state_).Print("Hello, World!\n");
2172 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 237);
2173 : ca_.Goto(&block1);
2174 : }
2175 :
2176 0 : if (block1.is_used()) {
2177 : ca_.Bind(&block1);
2178 : ca_.Goto(&block2);
2179 : }
2180 :
2181 : ca_.Bind(&block2);
2182 0 : }
2183 :
2184 4 : int31_t TestBuiltinsFromDSLAssembler::kConstexprConst() {
2185 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2186 : ca_.Goto(&block0);
2187 :
2188 : ca_.Bind(&block0);
2189 8 : return 5;
2190 : }
2191 :
2192 4 : compiler::TNode<IntPtrT> TestBuiltinsFromDSLAssembler::kIntptrConst() {
2193 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2194 : ca_.Goto(&block0);
2195 :
2196 : ca_.Bind(&block0);
2197 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 242);
2198 : compiler::TNode<IntPtrT> tmp0;
2199 : USE(tmp0);
2200 12 : tmp0 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(4));
2201 8 : return compiler::TNode<IntPtrT>{tmp0};
2202 : }
2203 :
2204 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::kSmiConst() {
2205 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2206 : ca_.Goto(&block0);
2207 :
2208 : ca_.Bind(&block0);
2209 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 243);
2210 : compiler::TNode<Smi> tmp0;
2211 : USE(tmp0);
2212 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2213 8 : return compiler::TNode<Smi>{tmp0};
2214 : }
2215 :
2216 4 : void TestBuiltinsFromDSLAssembler::TestModuleConstBindings() {
2217 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2218 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2219 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2220 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2221 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2222 : compiler::CodeAssemblerParameterizedLabel<> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2223 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2224 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2225 : compiler::CodeAssemblerParameterizedLabel<> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2226 : ca_.Goto(&block0);
2227 :
2228 4 : if (block0.is_used()) {
2229 : ca_.Bind(&block0);
2230 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 246);
2231 : compiler::TNode<Int32T> tmp0;
2232 : USE(tmp0);
2233 8 : tmp0 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Constant(5));
2234 : compiler::TNode<Int32T> tmp1;
2235 : USE(tmp1);
2236 20 : tmp1 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(TestBuiltinsFromDSLAssembler(state_).kConstexprConst()));
2237 : compiler::TNode<BoolT> tmp2;
2238 : USE(tmp2);
2239 8 : tmp2 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32Equal(compiler::TNode<Int32T>{tmp1}, compiler::TNode<Int32T>{tmp0}));
2240 4 : ca_.Branch(tmp2, &block2, &block3);
2241 : }
2242 :
2243 4 : if (block3.is_used()) {
2244 : ca_.Bind(&block3);
2245 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'kConstexprConst == Int32Constant(5)\' failed", "../../test/torque/test-torque.tq", 246);
2246 : }
2247 :
2248 4 : if (block2.is_used()) {
2249 : ca_.Bind(&block2);
2250 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 247);
2251 : compiler::TNode<IntPtrT> tmp3;
2252 : USE(tmp3);
2253 12 : tmp3 = TestBuiltinsFromDSLAssembler(state_).kIntptrConst();
2254 : compiler::TNode<IntPtrT> tmp4;
2255 : USE(tmp4);
2256 12 : tmp4 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(4));
2257 : compiler::TNode<BoolT> tmp5;
2258 : USE(tmp5);
2259 8 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<IntPtrT>{tmp3}, compiler::TNode<IntPtrT>{tmp4}));
2260 4 : ca_.Branch(tmp5, &block4, &block5);
2261 : }
2262 :
2263 4 : if (block5.is_used()) {
2264 : ca_.Bind(&block5);
2265 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'kIntptrConst == 4\' failed", "../../test/torque/test-torque.tq", 247);
2266 : }
2267 :
2268 4 : if (block4.is_used()) {
2269 : ca_.Bind(&block4);
2270 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 248);
2271 : compiler::TNode<Smi> tmp6;
2272 : USE(tmp6);
2273 12 : tmp6 = TestBuiltinsFromDSLAssembler(state_).kSmiConst();
2274 : compiler::TNode<Smi> tmp7;
2275 : USE(tmp7);
2276 12 : tmp7 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2277 : compiler::TNode<BoolT> tmp8;
2278 : USE(tmp8);
2279 8 : tmp8 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp6}, compiler::TNode<Smi>{tmp7}));
2280 4 : ca_.Branch(tmp8, &block6, &block7);
2281 : }
2282 :
2283 4 : if (block7.is_used()) {
2284 : ca_.Bind(&block7);
2285 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'kSmiConst == 3\' failed", "../../test/torque/test-torque.tq", 248);
2286 : }
2287 :
2288 4 : if (block6.is_used()) {
2289 : ca_.Bind(&block6);
2290 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 245);
2291 : ca_.Goto(&block1);
2292 : }
2293 :
2294 4 : if (block1.is_used()) {
2295 : ca_.Bind(&block1);
2296 : ca_.Goto(&block8);
2297 : }
2298 :
2299 : ca_.Bind(&block8);
2300 4 : }
2301 :
2302 4 : void TestBuiltinsFromDSLAssembler::TestLocalConstBindings() {
2303 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2304 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2305 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2306 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2307 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2308 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2309 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2310 : compiler::CodeAssemblerParameterizedLabel<Smi> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2311 : compiler::CodeAssemblerParameterizedLabel<Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2312 : compiler::CodeAssemblerParameterizedLabel<Smi> block11(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2313 : compiler::CodeAssemblerParameterizedLabel<Smi> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2314 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2315 : compiler::CodeAssemblerParameterizedLabel<> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2316 : ca_.Goto(&block0);
2317 :
2318 4 : if (block0.is_used()) {
2319 : ca_.Bind(&block0);
2320 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 253);
2321 : compiler::TNode<Smi> tmp0;
2322 : USE(tmp0);
2323 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2324 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 255);
2325 : compiler::TNode<Smi> tmp1;
2326 : USE(tmp1);
2327 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
2328 : compiler::TNode<Smi> tmp2;
2329 : USE(tmp2);
2330 12 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2331 : compiler::TNode<Smi> tmp3;
2332 : USE(tmp3);
2333 8 : tmp3 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp2}, compiler::TNode<Smi>{tmp1}));
2334 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 256);
2335 : compiler::TNode<Smi> tmp4;
2336 : USE(tmp4);
2337 12 : tmp4 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
2338 : compiler::TNode<Smi> tmp5;
2339 : USE(tmp5);
2340 8 : tmp5 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp0}, compiler::TNode<Smi>{tmp4}));
2341 : compiler::TNode<BoolT> tmp6;
2342 : USE(tmp6);
2343 8 : tmp6 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp3}, compiler::TNode<Smi>{tmp5}));
2344 4 : ca_.Branch(tmp6, &block2, &block3, tmp0, tmp3);
2345 : }
2346 :
2347 4 : if (block3.is_used()) {
2348 : compiler::TNode<Smi> tmp7;
2349 : compiler::TNode<Smi> tmp8;
2350 : ca_.Bind(&block3, &tmp7, &tmp8);
2351 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'x == xSmi + 1\' failed", "../../test/torque/test-torque.tq", 256);
2352 : }
2353 :
2354 4 : if (block2.is_used()) {
2355 : compiler::TNode<Smi> tmp9;
2356 : compiler::TNode<Smi> tmp10;
2357 : ca_.Bind(&block2, &tmp9, &tmp10);
2358 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 257);
2359 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 258);
2360 : compiler::TNode<BoolT> tmp11;
2361 : USE(tmp11);
2362 8 : tmp11 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp10}, compiler::TNode<Smi>{tmp10}));
2363 4 : ca_.Branch(tmp11, &block4, &block5, tmp9, tmp10, tmp10);
2364 : }
2365 :
2366 4 : if (block5.is_used()) {
2367 : compiler::TNode<Smi> tmp12;
2368 : compiler::TNode<Smi> tmp13;
2369 : compiler::TNode<Smi> tmp14;
2370 : ca_.Bind(&block5, &tmp12, &tmp13, &tmp14);
2371 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'x == xSmi\' failed", "../../test/torque/test-torque.tq", 258);
2372 : }
2373 :
2374 4 : if (block4.is_used()) {
2375 : compiler::TNode<Smi> tmp15;
2376 : compiler::TNode<Smi> tmp16;
2377 : compiler::TNode<Smi> tmp17;
2378 : ca_.Bind(&block4, &tmp15, &tmp16, &tmp17);
2379 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 259);
2380 : compiler::TNode<Smi> tmp18;
2381 : USE(tmp18);
2382 12 : tmp18 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(4));
2383 : compiler::TNode<BoolT> tmp19;
2384 : USE(tmp19);
2385 8 : tmp19 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp16}, compiler::TNode<Smi>{tmp18}));
2386 4 : ca_.Branch(tmp19, &block6, &block7, tmp15, tmp16, tmp17);
2387 : }
2388 :
2389 4 : if (block7.is_used()) {
2390 : compiler::TNode<Smi> tmp20;
2391 : compiler::TNode<Smi> tmp21;
2392 : compiler::TNode<Smi> tmp22;
2393 : ca_.Bind(&block7, &tmp20, &tmp21, &tmp22);
2394 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'x == 4\' failed", "../../test/torque/test-torque.tq", 259);
2395 : }
2396 :
2397 4 : if (block6.is_used()) {
2398 : compiler::TNode<Smi> tmp23;
2399 : compiler::TNode<Smi> tmp24;
2400 : compiler::TNode<Smi> tmp25;
2401 : ca_.Bind(&block6, &tmp23, &tmp24, &tmp25);
2402 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 254);
2403 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 261);
2404 : compiler::TNode<Smi> tmp26;
2405 : USE(tmp26);
2406 12 : tmp26 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2407 : compiler::TNode<BoolT> tmp27;
2408 : USE(tmp27);
2409 8 : tmp27 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp23}, compiler::TNode<Smi>{tmp26}));
2410 4 : ca_.Branch(tmp27, &block8, &block9, tmp23);
2411 : }
2412 :
2413 4 : if (block9.is_used()) {
2414 : compiler::TNode<Smi> tmp28;
2415 : ca_.Bind(&block9, &tmp28);
2416 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'xSmi == 3\' failed", "../../test/torque/test-torque.tq", 261);
2417 : }
2418 :
2419 4 : if (block8.is_used()) {
2420 : compiler::TNode<Smi> tmp29;
2421 : ca_.Bind(&block8, &tmp29);
2422 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 262);
2423 : compiler::TNode<Smi> tmp30;
2424 : USE(tmp30);
2425 12 : tmp30 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2426 : compiler::TNode<BoolT> tmp31;
2427 : USE(tmp31);
2428 8 : tmp31 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp30}, compiler::TNode<Smi>{tmp29}));
2429 4 : ca_.Branch(tmp31, &block10, &block11, tmp29);
2430 : }
2431 :
2432 4 : if (block11.is_used()) {
2433 : compiler::TNode<Smi> tmp32;
2434 : ca_.Bind(&block11, &tmp32);
2435 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'x == xSmi\' failed", "../../test/torque/test-torque.tq", 262);
2436 : }
2437 :
2438 4 : if (block10.is_used()) {
2439 : compiler::TNode<Smi> tmp33;
2440 : ca_.Bind(&block10, &tmp33);
2441 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 251);
2442 : ca_.Goto(&block1);
2443 : }
2444 :
2445 4 : if (block1.is_used()) {
2446 : ca_.Bind(&block1);
2447 : ca_.Goto(&block12);
2448 : }
2449 :
2450 : ca_.Bind(&block12);
2451 4 : }
2452 :
2453 0 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestStruct1(TestBuiltinsFromDSLAssembler::TestStructA p_i) {
2454 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi, Number> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2455 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi, Number, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2456 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi, Number, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2457 : ca_.Goto(&block0, p_i.indexes, p_i.i, p_i.k);
2458 :
2459 0 : if (block0.is_used()) {
2460 : compiler::TNode<FixedArray> tmp0;
2461 : compiler::TNode<Smi> tmp1;
2462 : compiler::TNode<Number> tmp2;
2463 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
2464 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 277);
2465 : ca_.Goto(&block1, tmp0, tmp1, tmp2, tmp1);
2466 : }
2467 :
2468 0 : if (block1.is_used()) {
2469 : compiler::TNode<FixedArray> tmp3;
2470 : compiler::TNode<Smi> tmp4;
2471 : compiler::TNode<Number> tmp5;
2472 : compiler::TNode<Smi> tmp6;
2473 : ca_.Bind(&block1, &tmp3, &tmp4, &tmp5, &tmp6);
2474 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 276);
2475 : ca_.Goto(&block2, tmp3, tmp4, tmp5, tmp6);
2476 : }
2477 :
2478 : compiler::TNode<FixedArray> tmp7;
2479 : compiler::TNode<Smi> tmp8;
2480 : compiler::TNode<Number> tmp9;
2481 : compiler::TNode<Smi> tmp10;
2482 : ca_.Bind(&block2, &tmp7, &tmp8, &tmp9, &tmp10);
2483 0 : return compiler::TNode<Smi>{tmp10};
2484 : }
2485 :
2486 0 : TestBuiltinsFromDSLAssembler::TestStructA TestBuiltinsFromDSLAssembler::TestStruct2(compiler::TNode<Context> p_context) {
2487 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2488 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2489 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2490 : ca_.Goto(&block0, p_context);
2491 :
2492 0 : if (block0.is_used()) {
2493 : compiler::TNode<Context> tmp0;
2494 : ca_.Bind(&block0, &tmp0);
2495 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 282);
2496 : compiler::TNode<FixedArray> tmp1;
2497 : USE(tmp1);
2498 0 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).kEmptyFixedArray();
2499 : compiler::TNode<FixedArray> tmp2;
2500 : USE(tmp2);
2501 0 : tmp2 = ca_.UncheckedCast<FixedArray>(BaseBuiltinsFromDSLAssembler(state_).UnsafeCast10FixedArray(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}));
2502 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 281);
2503 : compiler::TNode<Smi> tmp3;
2504 : USE(tmp3);
2505 0 : tmp3 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(27));
2506 : compiler::TNode<Number> tmp4;
2507 : USE(tmp4);
2508 0 : tmp4 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr20UT5ATSmi10HeapNumber17ATconstexpr_int31(31));
2509 : ca_.Goto(&block1, tmp0, tmp2, tmp3, tmp4);
2510 : }
2511 :
2512 0 : if (block1.is_used()) {
2513 : compiler::TNode<Context> tmp5;
2514 : compiler::TNode<FixedArray> tmp6;
2515 : compiler::TNode<Smi> tmp7;
2516 : compiler::TNode<Number> tmp8;
2517 : ca_.Bind(&block1, &tmp5, &tmp6, &tmp7, &tmp8);
2518 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 280);
2519 : ca_.Goto(&block2, tmp5, tmp6, tmp7, tmp8);
2520 : }
2521 :
2522 : compiler::TNode<Context> tmp9;
2523 : compiler::TNode<FixedArray> tmp10;
2524 : compiler::TNode<Smi> tmp11;
2525 : compiler::TNode<Number> tmp12;
2526 : ca_.Bind(&block2, &tmp9, &tmp10, &tmp11, &tmp12);
2527 0 : return TestBuiltinsFromDSLAssembler::TestStructA{compiler::TNode<FixedArray>{tmp10}, compiler::TNode<Smi>{tmp11}, compiler::TNode<Number>{tmp12}};
2528 : }
2529 :
2530 0 : TestBuiltinsFromDSLAssembler::TestStructA TestBuiltinsFromDSLAssembler::TestStruct3(compiler::TNode<Context> p_context) {
2531 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2532 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2533 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2534 : ca_.Goto(&block0, p_context);
2535 :
2536 0 : if (block0.is_used()) {
2537 : compiler::TNode<Context> tmp0;
2538 : ca_.Bind(&block0, &tmp0);
2539 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 290);
2540 : compiler::TNode<FixedArray> tmp1;
2541 : USE(tmp1);
2542 0 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).kEmptyFixedArray();
2543 : compiler::TNode<FixedArray> tmp2;
2544 : USE(tmp2);
2545 0 : tmp2 = ca_.UncheckedCast<FixedArray>(BaseBuiltinsFromDSLAssembler(state_).UnsafeCast10FixedArray(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}));
2546 : compiler::TNode<Smi> tmp3;
2547 : USE(tmp3);
2548 0 : tmp3 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(13));
2549 : compiler::TNode<Number> tmp4;
2550 : USE(tmp4);
2551 0 : tmp4 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr20UT5ATSmi10HeapNumber17ATconstexpr_int31(5));
2552 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 289);
2553 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 291);
2554 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 292);
2555 : compiler::TNode<FixedArray> tmp5;
2556 : USE(tmp5);
2557 : compiler::TNode<Smi> tmp6;
2558 : USE(tmp6);
2559 : compiler::TNode<Number> tmp7;
2560 : USE(tmp7);
2561 0 : std::tie(tmp5, tmp6, tmp7) = TestBuiltinsFromDSLAssembler(state_).TestStruct2(compiler::TNode<Context>{tmp0}).Flatten();
2562 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 293);
2563 : compiler::TNode<Smi> tmp8;
2564 : USE(tmp8);
2565 0 : tmp8 = ca_.UncheckedCast<Smi>(TestBuiltinsFromDSLAssembler(state_).TestStruct1(TestBuiltinsFromDSLAssembler::TestStructA{compiler::TNode<FixedArray>{tmp5}, compiler::TNode<Smi>{tmp6}, compiler::TNode<Number>{tmp7}}));
2566 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 294);
2567 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 295);
2568 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 296);
2569 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 297);
2570 : compiler::TNode<Smi> tmp9;
2571 : USE(tmp9);
2572 0 : tmp9 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
2573 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 298);
2574 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 300);
2575 : compiler::TNode<FixedArray> tmp10;
2576 : USE(tmp10);
2577 0 : tmp10 = BaseBuiltinsFromDSLAssembler(state_).kEmptyFixedArray();
2578 : compiler::TNode<FixedArray> tmp11;
2579 : USE(tmp11);
2580 0 : tmp11 = ca_.UncheckedCast<FixedArray>(BaseBuiltinsFromDSLAssembler(state_).UnsafeCast10FixedArray(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp10}));
2581 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 299);
2582 : compiler::TNode<Smi> tmp12;
2583 : USE(tmp12);
2584 0 : tmp12 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(27));
2585 : compiler::TNode<Number> tmp13;
2586 : USE(tmp13);
2587 0 : tmp13 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr20UT5ATSmi10HeapNumber17ATconstexpr_int31(31));
2588 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 304);
2589 : compiler::TNode<FixedArray> tmp14;
2590 : USE(tmp14);
2591 : compiler::TNode<Smi> tmp15;
2592 : USE(tmp15);
2593 : compiler::TNode<Number> tmp16;
2594 : USE(tmp16);
2595 0 : std::tie(tmp14, tmp15, tmp16) = TestBuiltinsFromDSLAssembler(state_).TestStruct2(compiler::TNode<Context>{tmp0}).Flatten();
2596 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 305);
2597 : ca_.Goto(&block1, tmp0, tmp2, tmp8, tmp8);
2598 : }
2599 :
2600 0 : if (block1.is_used()) {
2601 : compiler::TNode<Context> tmp17;
2602 : compiler::TNode<FixedArray> tmp18;
2603 : compiler::TNode<Smi> tmp19;
2604 : compiler::TNode<Number> tmp20;
2605 : ca_.Bind(&block1, &tmp17, &tmp18, &tmp19, &tmp20);
2606 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 288);
2607 : ca_.Goto(&block2, tmp17, tmp18, tmp19, tmp20);
2608 : }
2609 :
2610 : compiler::TNode<Context> tmp21;
2611 : compiler::TNode<FixedArray> tmp22;
2612 : compiler::TNode<Smi> tmp23;
2613 : compiler::TNode<Number> tmp24;
2614 : ca_.Bind(&block2, &tmp21, &tmp22, &tmp23, &tmp24);
2615 0 : return TestBuiltinsFromDSLAssembler::TestStructA{compiler::TNode<FixedArray>{tmp22}, compiler::TNode<Smi>{tmp23}, compiler::TNode<Number>{tmp24}};
2616 : }
2617 :
2618 0 : TestBuiltinsFromDSLAssembler::TestStructC TestBuiltinsFromDSLAssembler::TestStruct4(compiler::TNode<Context> p_context) {
2619 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2620 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number, FixedArray, Smi, Number> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2621 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number, FixedArray, Smi, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2622 : ca_.Goto(&block0, p_context);
2623 :
2624 0 : if (block0.is_used()) {
2625 : compiler::TNode<Context> tmp0;
2626 : ca_.Bind(&block0, &tmp0);
2627 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 314);
2628 : compiler::TNode<FixedArray> tmp1;
2629 : USE(tmp1);
2630 : compiler::TNode<Smi> tmp2;
2631 : USE(tmp2);
2632 : compiler::TNode<Number> tmp3;
2633 : USE(tmp3);
2634 0 : std::tie(tmp1, tmp2, tmp3) = TestBuiltinsFromDSLAssembler(state_).TestStruct2(compiler::TNode<Context>{tmp0}).Flatten();
2635 : compiler::TNode<FixedArray> tmp4;
2636 : USE(tmp4);
2637 : compiler::TNode<Smi> tmp5;
2638 : USE(tmp5);
2639 : compiler::TNode<Number> tmp6;
2640 : USE(tmp6);
2641 0 : std::tie(tmp4, tmp5, tmp6) = TestBuiltinsFromDSLAssembler(state_).TestStruct2(compiler::TNode<Context>{tmp0}).Flatten();
2642 : ca_.Goto(&block1, tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6);
2643 : }
2644 :
2645 0 : if (block1.is_used()) {
2646 : compiler::TNode<Context> tmp7;
2647 : compiler::TNode<FixedArray> tmp8;
2648 : compiler::TNode<Smi> tmp9;
2649 : compiler::TNode<Number> tmp10;
2650 : compiler::TNode<FixedArray> tmp11;
2651 : compiler::TNode<Smi> tmp12;
2652 : compiler::TNode<Number> tmp13;
2653 : ca_.Bind(&block1, &tmp7, &tmp8, &tmp9, &tmp10, &tmp11, &tmp12, &tmp13);
2654 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 313);
2655 : ca_.Goto(&block2, tmp7, tmp8, tmp9, tmp10, tmp11, tmp12, tmp13);
2656 : }
2657 :
2658 : compiler::TNode<Context> tmp14;
2659 : compiler::TNode<FixedArray> tmp15;
2660 : compiler::TNode<Smi> tmp16;
2661 : compiler::TNode<Number> tmp17;
2662 : compiler::TNode<FixedArray> tmp18;
2663 : compiler::TNode<Smi> tmp19;
2664 : compiler::TNode<Number> tmp20;
2665 : ca_.Bind(&block2, &tmp14, &tmp15, &tmp16, &tmp17, &tmp18, &tmp19, &tmp20);
2666 0 : return TestBuiltinsFromDSLAssembler::TestStructC{TestBuiltinsFromDSLAssembler::TestStructA{compiler::TNode<FixedArray>{tmp15}, compiler::TNode<Smi>{tmp16}, compiler::TNode<Number>{tmp17}}, TestBuiltinsFromDSLAssembler::TestStructA{compiler::TNode<FixedArray>{tmp18}, compiler::TNode<Smi>{tmp19}, compiler::TNode<Number>{tmp20}}};
2667 : }
2668 :
2669 0 : void TestBuiltinsFromDSLAssembler::CallTestStructInLabel(compiler::TNode<Context> p_context) {
2670 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2671 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2672 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2673 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2674 : compiler::CodeAssemblerParameterizedLabel<Context> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2675 : ca_.Goto(&block0, p_context);
2676 :
2677 0 : if (block0.is_used()) {
2678 : compiler::TNode<Context> tmp0;
2679 : ca_.Bind(&block0, &tmp0);
2680 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 323);
2681 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 319);
2682 : compiler::TNode<FixedArray> tmp1;
2683 : USE(tmp1);
2684 : compiler::TNode<Smi> tmp2;
2685 : USE(tmp2);
2686 : compiler::TNode<Number> tmp3;
2687 : USE(tmp3);
2688 0 : std::tie(tmp1, tmp2, tmp3) = TestBuiltinsFromDSLAssembler(state_).TestStruct2(compiler::TNode<Context>{tmp0}).Flatten();
2689 : ca_.Goto(&block3, tmp0, tmp1, tmp2, tmp3);
2690 : }
2691 :
2692 0 : if (block3.is_used()) {
2693 : compiler::TNode<Context> tmp4;
2694 : compiler::TNode<FixedArray> tmp5;
2695 : compiler::TNode<Smi> tmp6;
2696 : compiler::TNode<Number> tmp7;
2697 : ca_.Bind(&block3, &tmp4, &tmp5, &tmp6, &tmp7);
2698 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 322);
2699 : ca_.Goto(&block2, tmp4, tmp5, tmp6, tmp7);
2700 : }
2701 :
2702 0 : if (block2.is_used()) {
2703 : compiler::TNode<Context> tmp8;
2704 : compiler::TNode<FixedArray> tmp9;
2705 : compiler::TNode<Smi> tmp10;
2706 : compiler::TNode<Number> tmp11;
2707 : ca_.Bind(&block2, &tmp8, &tmp9, &tmp10, &tmp11);
2708 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 321);
2709 : ca_.Goto(&block1, tmp8);
2710 : }
2711 :
2712 0 : if (block1.is_used()) {
2713 : compiler::TNode<Context> tmp12;
2714 : ca_.Bind(&block1, &tmp12);
2715 : ca_.Goto(&block4, tmp12);
2716 : }
2717 :
2718 : compiler::TNode<Context> tmp13;
2719 : ca_.Bind(&block4, &tmp13);
2720 0 : }
2721 :
2722 4 : void TestBuiltinsFromDSLAssembler::TestForLoop() {
2723 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2724 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2725 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2726 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2727 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2728 : compiler::CodeAssemblerParameterizedLabel<Smi> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2729 : compiler::CodeAssemblerParameterizedLabel<Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2730 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2731 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2732 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block11(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2733 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2734 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block13(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2735 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2736 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block16(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2737 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2738 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block15(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2739 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block18(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2740 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block17(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2741 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block21(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2742 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block19(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2743 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block23(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2744 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block24(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2745 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block22(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2746 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block20(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2747 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block26(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2748 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block25(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2749 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block29(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2750 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block27(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2751 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block30(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2752 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block31(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2753 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block28(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2754 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block33(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2755 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block32(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2756 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block36(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2757 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block34(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2758 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block38(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2759 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block39(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2760 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block37(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2761 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block35(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2762 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block41(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2763 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block40(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2764 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block44(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2765 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block42(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2766 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block46(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2767 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block47(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2768 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block45(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2769 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block43(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2770 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block49(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2771 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block48(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2772 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block52(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2773 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block50(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2774 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block53(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2775 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block54(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2776 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block51(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2777 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block56(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2778 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block55(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2779 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block59(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2780 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block57(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2781 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block61(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2782 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block62(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2783 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block63(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2784 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block64(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2785 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block60(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2786 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block58(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2787 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block66(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2788 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block65(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2789 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block69(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2790 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block67(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2791 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block70(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2792 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block71(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2793 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block72(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2794 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block73(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2795 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block68(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2796 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block75(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2797 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block74(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2798 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block80(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2799 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block78(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2800 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block81(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2801 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block82(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2802 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block79(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2803 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block77(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2804 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block84(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2805 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block83(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2806 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block76(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2807 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block87(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2808 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block85(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2809 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block88(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2810 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block86(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2811 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2812 : compiler::CodeAssemblerParameterizedLabel<> block89(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2813 : ca_.Goto(&block0);
2814 :
2815 4 : if (block0.is_used()) {
2816 : ca_.Bind(&block0);
2817 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 331);
2818 : compiler::TNode<Smi> tmp0;
2819 : USE(tmp0);
2820 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2821 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 332);
2822 : compiler::TNode<Smi> tmp1;
2823 : USE(tmp1);
2824 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2825 : ca_.Goto(&block4, tmp0, tmp1);
2826 : }
2827 :
2828 4 : if (block4.is_used()) {
2829 : compiler::TNode<Smi> tmp2;
2830 : compiler::TNode<Smi> tmp3;
2831 : ca_.Bind(&block4, &tmp2, &tmp3);
2832 : compiler::TNode<Smi> tmp4;
2833 : USE(tmp4);
2834 12 : tmp4 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
2835 : compiler::TNode<BoolT> tmp5;
2836 : USE(tmp5);
2837 8 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp3}, compiler::TNode<Smi>{tmp4}));
2838 4 : ca_.Branch(tmp5, &block2, &block3, tmp2, tmp3);
2839 : }
2840 :
2841 4 : if (block2.is_used()) {
2842 : compiler::TNode<Smi> tmp6;
2843 : compiler::TNode<Smi> tmp7;
2844 : ca_.Bind(&block2, &tmp6, &tmp7);
2845 : compiler::TNode<Smi> tmp8;
2846 : USE(tmp8);
2847 8 : tmp8 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp6}, compiler::TNode<Smi>{tmp7}));
2848 : ca_.Goto(&block5, tmp8, tmp7);
2849 : }
2850 :
2851 4 : if (block5.is_used()) {
2852 : compiler::TNode<Smi> tmp9;
2853 : compiler::TNode<Smi> tmp10;
2854 : ca_.Bind(&block5, &tmp9, &tmp10);
2855 : compiler::TNode<Smi> tmp11;
2856 : USE(tmp11);
2857 12 : tmp11 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
2858 : compiler::TNode<Smi> tmp12;
2859 : USE(tmp12);
2860 8 : tmp12 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp10}, compiler::TNode<Smi>{tmp11}));
2861 : ca_.Goto(&block4, tmp9, tmp12);
2862 : }
2863 :
2864 4 : if (block3.is_used()) {
2865 : compiler::TNode<Smi> tmp13;
2866 : compiler::TNode<Smi> tmp14;
2867 : ca_.Bind(&block3, &tmp13, &tmp14);
2868 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 333);
2869 : compiler::TNode<Smi> tmp15;
2870 : USE(tmp15);
2871 12 : tmp15 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
2872 : compiler::TNode<BoolT> tmp16;
2873 : USE(tmp16);
2874 8 : tmp16 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp13}, compiler::TNode<Smi>{tmp15}));
2875 4 : ca_.Branch(tmp16, &block6, &block7, tmp13);
2876 : }
2877 :
2878 4 : if (block7.is_used()) {
2879 : compiler::TNode<Smi> tmp17;
2880 : ca_.Bind(&block7, &tmp17);
2881 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 10\' failed", "../../test/torque/test-torque.tq", 333);
2882 : }
2883 :
2884 4 : if (block6.is_used()) {
2885 : compiler::TNode<Smi> tmp18;
2886 : ca_.Bind(&block6, &tmp18);
2887 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 335);
2888 : compiler::TNode<Smi> tmp19;
2889 : USE(tmp19);
2890 12 : tmp19 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2891 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 336);
2892 : compiler::TNode<Smi> tmp20;
2893 : USE(tmp20);
2894 12 : tmp20 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2895 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 337);
2896 : ca_.Goto(&block10, tmp19, tmp20);
2897 : }
2898 :
2899 4 : if (block10.is_used()) {
2900 : compiler::TNode<Smi> tmp21;
2901 : compiler::TNode<Smi> tmp22;
2902 : ca_.Bind(&block10, &tmp21, &tmp22);
2903 : compiler::TNode<Smi> tmp23;
2904 : USE(tmp23);
2905 12 : tmp23 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
2906 : compiler::TNode<BoolT> tmp24;
2907 : USE(tmp24);
2908 8 : tmp24 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp22}, compiler::TNode<Smi>{tmp23}));
2909 4 : ca_.Branch(tmp24, &block8, &block9, tmp21, tmp22);
2910 : }
2911 :
2912 4 : if (block8.is_used()) {
2913 : compiler::TNode<Smi> tmp25;
2914 : compiler::TNode<Smi> tmp26;
2915 : ca_.Bind(&block8, &tmp25, &tmp26);
2916 : compiler::TNode<Smi> tmp27;
2917 : USE(tmp27);
2918 8 : tmp27 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp25}, compiler::TNode<Smi>{tmp26}));
2919 : ca_.Goto(&block11, tmp27, tmp26);
2920 : }
2921 :
2922 4 : if (block11.is_used()) {
2923 : compiler::TNode<Smi> tmp28;
2924 : compiler::TNode<Smi> tmp29;
2925 : ca_.Bind(&block11, &tmp28, &tmp29);
2926 : compiler::TNode<Smi> tmp30;
2927 : USE(tmp30);
2928 12 : tmp30 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
2929 : compiler::TNode<Smi> tmp31;
2930 : USE(tmp31);
2931 8 : tmp31 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp29}, compiler::TNode<Smi>{tmp30}));
2932 : ca_.Goto(&block10, tmp28, tmp31);
2933 : }
2934 :
2935 4 : if (block9.is_used()) {
2936 : compiler::TNode<Smi> tmp32;
2937 : compiler::TNode<Smi> tmp33;
2938 : ca_.Bind(&block9, &tmp32, &tmp33);
2939 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 338);
2940 : compiler::TNode<Smi> tmp34;
2941 : USE(tmp34);
2942 12 : tmp34 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
2943 : compiler::TNode<BoolT> tmp35;
2944 : USE(tmp35);
2945 8 : tmp35 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp32}, compiler::TNode<Smi>{tmp34}));
2946 4 : ca_.Branch(tmp35, &block12, &block13, tmp32, tmp33);
2947 : }
2948 :
2949 4 : if (block13.is_used()) {
2950 : compiler::TNode<Smi> tmp36;
2951 : compiler::TNode<Smi> tmp37;
2952 : ca_.Bind(&block13, &tmp36, &tmp37);
2953 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 10\' failed", "../../test/torque/test-torque.tq", 338);
2954 : }
2955 :
2956 4 : if (block12.is_used()) {
2957 : compiler::TNode<Smi> tmp38;
2958 : compiler::TNode<Smi> tmp39;
2959 : ca_.Bind(&block12, &tmp38, &tmp39);
2960 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 340);
2961 : compiler::TNode<Smi> tmp40;
2962 : USE(tmp40);
2963 12 : tmp40 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2964 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 341);
2965 : compiler::TNode<Smi> tmp41;
2966 : USE(tmp41);
2967 12 : tmp41 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2968 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 342);
2969 : ca_.Goto(&block16, tmp40, tmp41);
2970 : }
2971 :
2972 4 : if (block16.is_used()) {
2973 : compiler::TNode<Smi> tmp42;
2974 : compiler::TNode<Smi> tmp43;
2975 : ca_.Bind(&block16, &tmp42, &tmp43);
2976 : compiler::TNode<Smi> tmp44;
2977 : USE(tmp44);
2978 12 : tmp44 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
2979 : compiler::TNode<BoolT> tmp45;
2980 : USE(tmp45);
2981 8 : tmp45 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp43}, compiler::TNode<Smi>{tmp44}));
2982 4 : ca_.Branch(tmp45, &block14, &block15, tmp42, tmp43);
2983 : }
2984 :
2985 4 : if (block14.is_used()) {
2986 : compiler::TNode<Smi> tmp46;
2987 : compiler::TNode<Smi> tmp47;
2988 : ca_.Bind(&block14, &tmp46, &tmp47);
2989 : compiler::TNode<Smi> tmp48;
2990 : USE(tmp48);
2991 12 : tmp48 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
2992 : compiler::TNode<Smi> tmp49;
2993 : USE(tmp49);
2994 8 : tmp49 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp47}, compiler::TNode<Smi>{tmp48}));
2995 : compiler::TNode<Smi> tmp50;
2996 : USE(tmp50);
2997 8 : tmp50 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp46}, compiler::TNode<Smi>{tmp47}));
2998 : ca_.Goto(&block16, tmp50, tmp49);
2999 : }
3000 :
3001 4 : if (block15.is_used()) {
3002 : compiler::TNode<Smi> tmp51;
3003 : compiler::TNode<Smi> tmp52;
3004 : ca_.Bind(&block15, &tmp51, &tmp52);
3005 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 343);
3006 : compiler::TNode<Smi> tmp53;
3007 : USE(tmp53);
3008 12 : tmp53 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3009 : compiler::TNode<BoolT> tmp54;
3010 : USE(tmp54);
3011 8 : tmp54 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp51}, compiler::TNode<Smi>{tmp53}));
3012 4 : ca_.Branch(tmp54, &block17, &block18, tmp51, tmp52);
3013 : }
3014 :
3015 4 : if (block18.is_used()) {
3016 : compiler::TNode<Smi> tmp55;
3017 : compiler::TNode<Smi> tmp56;
3018 : ca_.Bind(&block18, &tmp55, &tmp56);
3019 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 10\' failed", "../../test/torque/test-torque.tq", 343);
3020 : }
3021 :
3022 4 : if (block17.is_used()) {
3023 : compiler::TNode<Smi> tmp57;
3024 : compiler::TNode<Smi> tmp58;
3025 : ca_.Bind(&block17, &tmp57, &tmp58);
3026 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 346);
3027 : compiler::TNode<Smi> tmp59;
3028 : USE(tmp59);
3029 12 : tmp59 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3030 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 347);
3031 : compiler::TNode<Smi> tmp60;
3032 : USE(tmp60);
3033 12 : tmp60 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3034 : ca_.Goto(&block21, tmp59, tmp58, tmp60);
3035 : }
3036 :
3037 4 : if (block21.is_used()) {
3038 : compiler::TNode<Smi> tmp61;
3039 : compiler::TNode<Smi> tmp62;
3040 : compiler::TNode<Smi> tmp63;
3041 : ca_.Bind(&block21, &tmp61, &tmp62, &tmp63);
3042 : ca_.Goto(&block19, tmp61, tmp62, tmp63);
3043 : }
3044 :
3045 4 : if (block19.is_used()) {
3046 : compiler::TNode<Smi> tmp64;
3047 : compiler::TNode<Smi> tmp65;
3048 : compiler::TNode<Smi> tmp66;
3049 : ca_.Bind(&block19, &tmp64, &tmp65, &tmp66);
3050 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 348);
3051 : compiler::TNode<Smi> tmp67;
3052 : USE(tmp67);
3053 12 : tmp67 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3054 : compiler::TNode<BoolT> tmp68;
3055 : USE(tmp68);
3056 8 : tmp68 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp66}, compiler::TNode<Smi>{tmp67}));
3057 4 : ca_.Branch(tmp68, &block23, &block24, tmp64, tmp65, tmp66);
3058 : }
3059 :
3060 4 : if (block23.is_used()) {
3061 : compiler::TNode<Smi> tmp69;
3062 : compiler::TNode<Smi> tmp70;
3063 : compiler::TNode<Smi> tmp71;
3064 : ca_.Bind(&block23, &tmp69, &tmp70, &tmp71);
3065 : ca_.Goto(&block20, tmp69, tmp70, tmp71);
3066 : }
3067 :
3068 4 : if (block24.is_used()) {
3069 : compiler::TNode<Smi> tmp72;
3070 : compiler::TNode<Smi> tmp73;
3071 : compiler::TNode<Smi> tmp74;
3072 : ca_.Bind(&block24, &tmp72, &tmp73, &tmp74);
3073 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 349);
3074 : compiler::TNode<Smi> tmp75;
3075 : USE(tmp75);
3076 8 : tmp75 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp72}, compiler::TNode<Smi>{tmp74}));
3077 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 347);
3078 : ca_.Goto(&block22, tmp75, tmp73, tmp74);
3079 : }
3080 :
3081 4 : if (block22.is_used()) {
3082 : compiler::TNode<Smi> tmp76;
3083 : compiler::TNode<Smi> tmp77;
3084 : compiler::TNode<Smi> tmp78;
3085 : ca_.Bind(&block22, &tmp76, &tmp77, &tmp78);
3086 : compiler::TNode<Smi> tmp79;
3087 : USE(tmp79);
3088 12 : tmp79 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3089 : compiler::TNode<Smi> tmp80;
3090 : USE(tmp80);
3091 8 : tmp80 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp78}, compiler::TNode<Smi>{tmp79}));
3092 : ca_.Goto(&block21, tmp76, tmp77, tmp80);
3093 : }
3094 :
3095 4 : if (block20.is_used()) {
3096 : compiler::TNode<Smi> tmp81;
3097 : compiler::TNode<Smi> tmp82;
3098 : compiler::TNode<Smi> tmp83;
3099 : ca_.Bind(&block20, &tmp81, &tmp82, &tmp83);
3100 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 351);
3101 : compiler::TNode<Smi> tmp84;
3102 : USE(tmp84);
3103 12 : tmp84 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3104 : compiler::TNode<BoolT> tmp85;
3105 : USE(tmp85);
3106 8 : tmp85 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp81}, compiler::TNode<Smi>{tmp84}));
3107 4 : ca_.Branch(tmp85, &block25, &block26, tmp81, tmp82);
3108 : }
3109 :
3110 4 : if (block26.is_used()) {
3111 : compiler::TNode<Smi> tmp86;
3112 : compiler::TNode<Smi> tmp87;
3113 : ca_.Bind(&block26, &tmp86, &tmp87);
3114 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 10\' failed", "../../test/torque/test-torque.tq", 351);
3115 : }
3116 :
3117 4 : if (block25.is_used()) {
3118 : compiler::TNode<Smi> tmp88;
3119 : compiler::TNode<Smi> tmp89;
3120 : ca_.Bind(&block25, &tmp88, &tmp89);
3121 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 353);
3122 : compiler::TNode<Smi> tmp90;
3123 : USE(tmp90);
3124 12 : tmp90 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3125 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 354);
3126 : compiler::TNode<Smi> tmp91;
3127 : USE(tmp91);
3128 12 : tmp91 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3129 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 355);
3130 : ca_.Goto(&block29, tmp90, tmp91);
3131 : }
3132 :
3133 4 : if (block29.is_used()) {
3134 : compiler::TNode<Smi> tmp92;
3135 : compiler::TNode<Smi> tmp93;
3136 : ca_.Bind(&block29, &tmp92, &tmp93);
3137 : ca_.Goto(&block27, tmp92, tmp93);
3138 : }
3139 :
3140 4 : if (block27.is_used()) {
3141 : compiler::TNode<Smi> tmp94;
3142 : compiler::TNode<Smi> tmp95;
3143 : ca_.Bind(&block27, &tmp94, &tmp95);
3144 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 356);
3145 : compiler::TNode<Smi> tmp96;
3146 : USE(tmp96);
3147 12 : tmp96 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3148 : compiler::TNode<BoolT> tmp97;
3149 : USE(tmp97);
3150 8 : tmp97 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp95}, compiler::TNode<Smi>{tmp96}));
3151 4 : ca_.Branch(tmp97, &block30, &block31, tmp94, tmp95);
3152 : }
3153 :
3154 4 : if (block30.is_used()) {
3155 : compiler::TNode<Smi> tmp98;
3156 : compiler::TNode<Smi> tmp99;
3157 : ca_.Bind(&block30, &tmp98, &tmp99);
3158 : ca_.Goto(&block28, tmp98, tmp99);
3159 : }
3160 :
3161 4 : if (block31.is_used()) {
3162 : compiler::TNode<Smi> tmp100;
3163 : compiler::TNode<Smi> tmp101;
3164 : ca_.Bind(&block31, &tmp100, &tmp101);
3165 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 357);
3166 : compiler::TNode<Smi> tmp102;
3167 : USE(tmp102);
3168 8 : tmp102 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp100}, compiler::TNode<Smi>{tmp101}));
3169 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 358);
3170 : compiler::TNode<Smi> tmp103;
3171 : USE(tmp103);
3172 12 : tmp103 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3173 : compiler::TNode<Smi> tmp104;
3174 : USE(tmp104);
3175 8 : tmp104 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp101}, compiler::TNode<Smi>{tmp103}));
3176 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 355);
3177 : ca_.Goto(&block29, tmp102, tmp104);
3178 : }
3179 :
3180 4 : if (block28.is_used()) {
3181 : compiler::TNode<Smi> tmp105;
3182 : compiler::TNode<Smi> tmp106;
3183 : ca_.Bind(&block28, &tmp105, &tmp106);
3184 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 360);
3185 : compiler::TNode<Smi> tmp107;
3186 : USE(tmp107);
3187 12 : tmp107 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3188 : compiler::TNode<BoolT> tmp108;
3189 : USE(tmp108);
3190 8 : tmp108 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp105}, compiler::TNode<Smi>{tmp107}));
3191 4 : ca_.Branch(tmp108, &block32, &block33, tmp105, tmp106);
3192 : }
3193 :
3194 4 : if (block33.is_used()) {
3195 : compiler::TNode<Smi> tmp109;
3196 : compiler::TNode<Smi> tmp110;
3197 : ca_.Bind(&block33, &tmp109, &tmp110);
3198 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 10\' failed", "../../test/torque/test-torque.tq", 360);
3199 : }
3200 :
3201 4 : if (block32.is_used()) {
3202 : compiler::TNode<Smi> tmp111;
3203 : compiler::TNode<Smi> tmp112;
3204 : ca_.Bind(&block32, &tmp111, &tmp112);
3205 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 364);
3206 : compiler::TNode<Smi> tmp113;
3207 : USE(tmp113);
3208 12 : tmp113 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3209 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 365);
3210 : compiler::TNode<Smi> tmp114;
3211 : USE(tmp114);
3212 12 : tmp114 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3213 : ca_.Goto(&block36, tmp113, tmp112, tmp114);
3214 : }
3215 :
3216 4 : if (block36.is_used()) {
3217 : compiler::TNode<Smi> tmp115;
3218 : compiler::TNode<Smi> tmp116;
3219 : compiler::TNode<Smi> tmp117;
3220 : ca_.Bind(&block36, &tmp115, &tmp116, &tmp117);
3221 : compiler::TNode<Smi> tmp118;
3222 : USE(tmp118);
3223 12 : tmp118 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3224 : compiler::TNode<BoolT> tmp119;
3225 : USE(tmp119);
3226 8 : tmp119 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp117}, compiler::TNode<Smi>{tmp118}));
3227 4 : ca_.Branch(tmp119, &block34, &block35, tmp115, tmp116, tmp117);
3228 : }
3229 :
3230 4 : if (block34.is_used()) {
3231 : compiler::TNode<Smi> tmp120;
3232 : compiler::TNode<Smi> tmp121;
3233 : compiler::TNode<Smi> tmp122;
3234 : ca_.Bind(&block34, &tmp120, &tmp121, &tmp122);
3235 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 366);
3236 : compiler::TNode<Smi> tmp123;
3237 : USE(tmp123);
3238 12 : tmp123 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
3239 : compiler::TNode<BoolT> tmp124;
3240 : USE(tmp124);
3241 8 : tmp124 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp122}, compiler::TNode<Smi>{tmp123}));
3242 4 : ca_.Branch(tmp124, &block38, &block39, tmp120, tmp121, tmp122);
3243 : }
3244 :
3245 4 : if (block38.is_used()) {
3246 : compiler::TNode<Smi> tmp125;
3247 : compiler::TNode<Smi> tmp126;
3248 : compiler::TNode<Smi> tmp127;
3249 : ca_.Bind(&block38, &tmp125, &tmp126, &tmp127);
3250 : ca_.Goto(&block37, tmp125, tmp126, tmp127);
3251 : }
3252 :
3253 4 : if (block39.is_used()) {
3254 : compiler::TNode<Smi> tmp128;
3255 : compiler::TNode<Smi> tmp129;
3256 : compiler::TNode<Smi> tmp130;
3257 : ca_.Bind(&block39, &tmp128, &tmp129, &tmp130);
3258 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 367);
3259 : compiler::TNode<Smi> tmp131;
3260 : USE(tmp131);
3261 8 : tmp131 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp128}, compiler::TNode<Smi>{tmp130}));
3262 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 365);
3263 : ca_.Goto(&block37, tmp131, tmp129, tmp130);
3264 : }
3265 :
3266 4 : if (block37.is_used()) {
3267 : compiler::TNode<Smi> tmp132;
3268 : compiler::TNode<Smi> tmp133;
3269 : compiler::TNode<Smi> tmp134;
3270 : ca_.Bind(&block37, &tmp132, &tmp133, &tmp134);
3271 : compiler::TNode<Smi> tmp135;
3272 : USE(tmp135);
3273 12 : tmp135 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3274 : compiler::TNode<Smi> tmp136;
3275 : USE(tmp136);
3276 8 : tmp136 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp134}, compiler::TNode<Smi>{tmp135}));
3277 : ca_.Goto(&block36, tmp132, tmp133, tmp136);
3278 : }
3279 :
3280 4 : if (block35.is_used()) {
3281 : compiler::TNode<Smi> tmp137;
3282 : compiler::TNode<Smi> tmp138;
3283 : compiler::TNode<Smi> tmp139;
3284 : ca_.Bind(&block35, &tmp137, &tmp138, &tmp139);
3285 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 369);
3286 : compiler::TNode<Smi> tmp140;
3287 : USE(tmp140);
3288 12 : tmp140 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
3289 : compiler::TNode<BoolT> tmp141;
3290 : USE(tmp141);
3291 8 : tmp141 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp137}, compiler::TNode<Smi>{tmp140}));
3292 4 : ca_.Branch(tmp141, &block40, &block41, tmp137, tmp138);
3293 : }
3294 :
3295 4 : if (block41.is_used()) {
3296 : compiler::TNode<Smi> tmp142;
3297 : compiler::TNode<Smi> tmp143;
3298 : ca_.Bind(&block41, &tmp142, &tmp143);
3299 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 7\' failed", "../../test/torque/test-torque.tq", 369);
3300 : }
3301 :
3302 4 : if (block40.is_used()) {
3303 : compiler::TNode<Smi> tmp144;
3304 : compiler::TNode<Smi> tmp145;
3305 : ca_.Bind(&block40, &tmp144, &tmp145);
3306 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 371);
3307 : compiler::TNode<Smi> tmp146;
3308 : USE(tmp146);
3309 12 : tmp146 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3310 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 372);
3311 : compiler::TNode<Smi> tmp147;
3312 : USE(tmp147);
3313 12 : tmp147 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3314 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 373);
3315 : ca_.Goto(&block44, tmp146, tmp147);
3316 : }
3317 :
3318 4 : if (block44.is_used()) {
3319 : compiler::TNode<Smi> tmp148;
3320 : compiler::TNode<Smi> tmp149;
3321 : ca_.Bind(&block44, &tmp148, &tmp149);
3322 : compiler::TNode<Smi> tmp150;
3323 : USE(tmp150);
3324 12 : tmp150 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3325 : compiler::TNode<BoolT> tmp151;
3326 : USE(tmp151);
3327 8 : tmp151 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp149}, compiler::TNode<Smi>{tmp150}));
3328 4 : ca_.Branch(tmp151, &block42, &block43, tmp148, tmp149);
3329 : }
3330 :
3331 4 : if (block42.is_used()) {
3332 : compiler::TNode<Smi> tmp152;
3333 : compiler::TNode<Smi> tmp153;
3334 : ca_.Bind(&block42, &tmp152, &tmp153);
3335 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 374);
3336 : compiler::TNode<Smi> tmp154;
3337 : USE(tmp154);
3338 12 : tmp154 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
3339 : compiler::TNode<BoolT> tmp155;
3340 : USE(tmp155);
3341 8 : tmp155 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp153}, compiler::TNode<Smi>{tmp154}));
3342 4 : ca_.Branch(tmp155, &block46, &block47, tmp152, tmp153);
3343 : }
3344 :
3345 4 : if (block46.is_used()) {
3346 : compiler::TNode<Smi> tmp156;
3347 : compiler::TNode<Smi> tmp157;
3348 : ca_.Bind(&block46, &tmp156, &tmp157);
3349 : ca_.Goto(&block45, tmp156, tmp157);
3350 : }
3351 :
3352 4 : if (block47.is_used()) {
3353 : compiler::TNode<Smi> tmp158;
3354 : compiler::TNode<Smi> tmp159;
3355 : ca_.Bind(&block47, &tmp158, &tmp159);
3356 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 375);
3357 : compiler::TNode<Smi> tmp160;
3358 : USE(tmp160);
3359 8 : tmp160 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp158}, compiler::TNode<Smi>{tmp159}));
3360 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 373);
3361 : ca_.Goto(&block45, tmp160, tmp159);
3362 : }
3363 :
3364 4 : if (block45.is_used()) {
3365 : compiler::TNode<Smi> tmp161;
3366 : compiler::TNode<Smi> tmp162;
3367 : ca_.Bind(&block45, &tmp161, &tmp162);
3368 : compiler::TNode<Smi> tmp163;
3369 : USE(tmp163);
3370 12 : tmp163 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3371 : compiler::TNode<Smi> tmp164;
3372 : USE(tmp164);
3373 8 : tmp164 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp162}, compiler::TNode<Smi>{tmp163}));
3374 : ca_.Goto(&block44, tmp161, tmp164);
3375 : }
3376 :
3377 4 : if (block43.is_used()) {
3378 : compiler::TNode<Smi> tmp165;
3379 : compiler::TNode<Smi> tmp166;
3380 : ca_.Bind(&block43, &tmp165, &tmp166);
3381 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 377);
3382 : compiler::TNode<Smi> tmp167;
3383 : USE(tmp167);
3384 12 : tmp167 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
3385 : compiler::TNode<BoolT> tmp168;
3386 : USE(tmp168);
3387 8 : tmp168 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp165}, compiler::TNode<Smi>{tmp167}));
3388 4 : ca_.Branch(tmp168, &block48, &block49, tmp165, tmp166);
3389 : }
3390 :
3391 4 : if (block49.is_used()) {
3392 : compiler::TNode<Smi> tmp169;
3393 : compiler::TNode<Smi> tmp170;
3394 : ca_.Bind(&block49, &tmp169, &tmp170);
3395 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 7\' failed", "../../test/torque/test-torque.tq", 377);
3396 : }
3397 :
3398 4 : if (block48.is_used()) {
3399 : compiler::TNode<Smi> tmp171;
3400 : compiler::TNode<Smi> tmp172;
3401 : ca_.Bind(&block48, &tmp171, &tmp172);
3402 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 379);
3403 : compiler::TNode<Smi> tmp173;
3404 : USE(tmp173);
3405 12 : tmp173 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3406 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 380);
3407 : compiler::TNode<Smi> tmp174;
3408 : USE(tmp174);
3409 12 : tmp174 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3410 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 381);
3411 : ca_.Goto(&block52, tmp173, tmp174);
3412 : }
3413 :
3414 4 : if (block52.is_used()) {
3415 : compiler::TNode<Smi> tmp175;
3416 : compiler::TNode<Smi> tmp176;
3417 : ca_.Bind(&block52, &tmp175, &tmp176);
3418 : compiler::TNode<Smi> tmp177;
3419 : USE(tmp177);
3420 12 : tmp177 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3421 : compiler::TNode<BoolT> tmp178;
3422 : USE(tmp178);
3423 8 : tmp178 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp176}, compiler::TNode<Smi>{tmp177}));
3424 4 : ca_.Branch(tmp178, &block50, &block51, tmp175, tmp176);
3425 : }
3426 :
3427 4 : if (block50.is_used()) {
3428 : compiler::TNode<Smi> tmp179;
3429 : compiler::TNode<Smi> tmp180;
3430 : ca_.Bind(&block50, &tmp179, &tmp180);
3431 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 382);
3432 : compiler::TNode<Smi> tmp181;
3433 : USE(tmp181);
3434 12 : tmp181 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
3435 : compiler::TNode<BoolT> tmp182;
3436 : USE(tmp182);
3437 8 : tmp182 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp180}, compiler::TNode<Smi>{tmp181}));
3438 4 : ca_.Branch(tmp182, &block53, &block54, tmp179, tmp180);
3439 : }
3440 :
3441 4 : if (block53.is_used()) {
3442 : compiler::TNode<Smi> tmp183;
3443 : compiler::TNode<Smi> tmp184;
3444 : ca_.Bind(&block53, &tmp183, &tmp184);
3445 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 383);
3446 : compiler::TNode<Smi> tmp185;
3447 : USE(tmp185);
3448 12 : tmp185 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3449 : compiler::TNode<Smi> tmp186;
3450 : USE(tmp186);
3451 8 : tmp186 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp184}, compiler::TNode<Smi>{tmp185}));
3452 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 384);
3453 : ca_.Goto(&block52, tmp183, tmp186);
3454 : }
3455 :
3456 4 : if (block54.is_used()) {
3457 : compiler::TNode<Smi> tmp187;
3458 : compiler::TNode<Smi> tmp188;
3459 : ca_.Bind(&block54, &tmp187, &tmp188);
3460 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 386);
3461 : compiler::TNode<Smi> tmp189;
3462 : USE(tmp189);
3463 8 : tmp189 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp187}, compiler::TNode<Smi>{tmp188}));
3464 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 387);
3465 : compiler::TNode<Smi> tmp190;
3466 : USE(tmp190);
3467 12 : tmp190 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3468 : compiler::TNode<Smi> tmp191;
3469 : USE(tmp191);
3470 8 : tmp191 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp188}, compiler::TNode<Smi>{tmp190}));
3471 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 381);
3472 : ca_.Goto(&block52, tmp189, tmp191);
3473 : }
3474 :
3475 4 : if (block51.is_used()) {
3476 : compiler::TNode<Smi> tmp192;
3477 : compiler::TNode<Smi> tmp193;
3478 : ca_.Bind(&block51, &tmp192, &tmp193);
3479 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 389);
3480 : compiler::TNode<Smi> tmp194;
3481 : USE(tmp194);
3482 12 : tmp194 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
3483 : compiler::TNode<BoolT> tmp195;
3484 : USE(tmp195);
3485 8 : tmp195 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp192}, compiler::TNode<Smi>{tmp194}));
3486 4 : ca_.Branch(tmp195, &block55, &block56, tmp192, tmp193);
3487 : }
3488 :
3489 4 : if (block56.is_used()) {
3490 : compiler::TNode<Smi> tmp196;
3491 : compiler::TNode<Smi> tmp197;
3492 : ca_.Bind(&block56, &tmp196, &tmp197);
3493 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 7\' failed", "../../test/torque/test-torque.tq", 389);
3494 : }
3495 :
3496 4 : if (block55.is_used()) {
3497 : compiler::TNode<Smi> tmp198;
3498 : compiler::TNode<Smi> tmp199;
3499 : ca_.Bind(&block55, &tmp198, &tmp199);
3500 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 391);
3501 : compiler::TNode<Smi> tmp200;
3502 : USE(tmp200);
3503 12 : tmp200 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3504 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 392);
3505 : compiler::TNode<Smi> tmp201;
3506 : USE(tmp201);
3507 12 : tmp201 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3508 : ca_.Goto(&block59, tmp200, tmp199, tmp201);
3509 : }
3510 :
3511 4 : if (block59.is_used()) {
3512 : compiler::TNode<Smi> tmp202;
3513 : compiler::TNode<Smi> tmp203;
3514 : compiler::TNode<Smi> tmp204;
3515 : ca_.Bind(&block59, &tmp202, &tmp203, &tmp204);
3516 : ca_.Goto(&block57, tmp202, tmp203, tmp204);
3517 : }
3518 :
3519 4 : if (block57.is_used()) {
3520 : compiler::TNode<Smi> tmp205;
3521 : compiler::TNode<Smi> tmp206;
3522 : compiler::TNode<Smi> tmp207;
3523 : ca_.Bind(&block57, &tmp205, &tmp206, &tmp207);
3524 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 393);
3525 : compiler::TNode<Smi> tmp208;
3526 : USE(tmp208);
3527 12 : tmp208 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
3528 : compiler::TNode<BoolT> tmp209;
3529 : USE(tmp209);
3530 8 : tmp209 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp207}, compiler::TNode<Smi>{tmp208}));
3531 4 : ca_.Branch(tmp209, &block61, &block62, tmp205, tmp206, tmp207);
3532 : }
3533 :
3534 4 : if (block61.is_used()) {
3535 : compiler::TNode<Smi> tmp210;
3536 : compiler::TNode<Smi> tmp211;
3537 : compiler::TNode<Smi> tmp212;
3538 : ca_.Bind(&block61, &tmp210, &tmp211, &tmp212);
3539 : ca_.Goto(&block60, tmp210, tmp211, tmp212);
3540 : }
3541 :
3542 4 : if (block62.is_used()) {
3543 : compiler::TNode<Smi> tmp213;
3544 : compiler::TNode<Smi> tmp214;
3545 : compiler::TNode<Smi> tmp215;
3546 : ca_.Bind(&block62, &tmp213, &tmp214, &tmp215);
3547 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 394);
3548 : compiler::TNode<Smi> tmp216;
3549 : USE(tmp216);
3550 12 : tmp216 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3551 : compiler::TNode<BoolT> tmp217;
3552 : USE(tmp217);
3553 8 : tmp217 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp215}, compiler::TNode<Smi>{tmp216}));
3554 4 : ca_.Branch(tmp217, &block63, &block64, tmp213, tmp214, tmp215);
3555 : }
3556 :
3557 4 : if (block63.is_used()) {
3558 : compiler::TNode<Smi> tmp218;
3559 : compiler::TNode<Smi> tmp219;
3560 : compiler::TNode<Smi> tmp220;
3561 : ca_.Bind(&block63, &tmp218, &tmp219, &tmp220);
3562 : ca_.Goto(&block58, tmp218, tmp219, tmp220);
3563 : }
3564 :
3565 4 : if (block64.is_used()) {
3566 : compiler::TNode<Smi> tmp221;
3567 : compiler::TNode<Smi> tmp222;
3568 : compiler::TNode<Smi> tmp223;
3569 : ca_.Bind(&block64, &tmp221, &tmp222, &tmp223);
3570 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 395);
3571 : compiler::TNode<Smi> tmp224;
3572 : USE(tmp224);
3573 8 : tmp224 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp221}, compiler::TNode<Smi>{tmp223}));
3574 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 392);
3575 : ca_.Goto(&block60, tmp224, tmp222, tmp223);
3576 : }
3577 :
3578 4 : if (block60.is_used()) {
3579 : compiler::TNode<Smi> tmp225;
3580 : compiler::TNode<Smi> tmp226;
3581 : compiler::TNode<Smi> tmp227;
3582 : ca_.Bind(&block60, &tmp225, &tmp226, &tmp227);
3583 : compiler::TNode<Smi> tmp228;
3584 : USE(tmp228);
3585 12 : tmp228 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3586 : compiler::TNode<Smi> tmp229;
3587 : USE(tmp229);
3588 8 : tmp229 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp227}, compiler::TNode<Smi>{tmp228}));
3589 : ca_.Goto(&block59, tmp225, tmp226, tmp229);
3590 : }
3591 :
3592 4 : if (block58.is_used()) {
3593 : compiler::TNode<Smi> tmp230;
3594 : compiler::TNode<Smi> tmp231;
3595 : compiler::TNode<Smi> tmp232;
3596 : ca_.Bind(&block58, &tmp230, &tmp231, &tmp232);
3597 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 397);
3598 : compiler::TNode<Smi> tmp233;
3599 : USE(tmp233);
3600 12 : tmp233 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
3601 : compiler::TNode<BoolT> tmp234;
3602 : USE(tmp234);
3603 8 : tmp234 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp230}, compiler::TNode<Smi>{tmp233}));
3604 4 : ca_.Branch(tmp234, &block65, &block66, tmp230, tmp231);
3605 : }
3606 :
3607 4 : if (block66.is_used()) {
3608 : compiler::TNode<Smi> tmp235;
3609 : compiler::TNode<Smi> tmp236;
3610 : ca_.Bind(&block66, &tmp235, &tmp236);
3611 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 7\' failed", "../../test/torque/test-torque.tq", 397);
3612 : }
3613 :
3614 4 : if (block65.is_used()) {
3615 : compiler::TNode<Smi> tmp237;
3616 : compiler::TNode<Smi> tmp238;
3617 : ca_.Bind(&block65, &tmp237, &tmp238);
3618 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 399);
3619 : compiler::TNode<Smi> tmp239;
3620 : USE(tmp239);
3621 12 : tmp239 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3622 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 400);
3623 : compiler::TNode<Smi> tmp240;
3624 : USE(tmp240);
3625 12 : tmp240 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3626 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 401);
3627 : ca_.Goto(&block69, tmp239, tmp240);
3628 : }
3629 :
3630 4 : if (block69.is_used()) {
3631 : compiler::TNode<Smi> tmp241;
3632 : compiler::TNode<Smi> tmp242;
3633 : ca_.Bind(&block69, &tmp241, &tmp242);
3634 : ca_.Goto(&block67, tmp241, tmp242);
3635 : }
3636 :
3637 4 : if (block67.is_used()) {
3638 : compiler::TNode<Smi> tmp243;
3639 : compiler::TNode<Smi> tmp244;
3640 : ca_.Bind(&block67, &tmp243, &tmp244);
3641 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 402);
3642 : compiler::TNode<Smi> tmp245;
3643 : USE(tmp245);
3644 12 : tmp245 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
3645 : compiler::TNode<BoolT> tmp246;
3646 : USE(tmp246);
3647 8 : tmp246 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp244}, compiler::TNode<Smi>{tmp245}));
3648 4 : ca_.Branch(tmp246, &block70, &block71, tmp243, tmp244);
3649 : }
3650 :
3651 4 : if (block70.is_used()) {
3652 : compiler::TNode<Smi> tmp247;
3653 : compiler::TNode<Smi> tmp248;
3654 : ca_.Bind(&block70, &tmp247, &tmp248);
3655 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 403);
3656 : compiler::TNode<Smi> tmp249;
3657 : USE(tmp249);
3658 12 : tmp249 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3659 : compiler::TNode<Smi> tmp250;
3660 : USE(tmp250);
3661 8 : tmp250 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp248}, compiler::TNode<Smi>{tmp249}));
3662 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 404);
3663 : ca_.Goto(&block69, tmp247, tmp250);
3664 : }
3665 :
3666 4 : if (block71.is_used()) {
3667 : compiler::TNode<Smi> tmp251;
3668 : compiler::TNode<Smi> tmp252;
3669 : ca_.Bind(&block71, &tmp251, &tmp252);
3670 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 407);
3671 : compiler::TNode<Smi> tmp253;
3672 : USE(tmp253);
3673 12 : tmp253 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3674 : compiler::TNode<BoolT> tmp254;
3675 : USE(tmp254);
3676 8 : tmp254 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp252}, compiler::TNode<Smi>{tmp253}));
3677 4 : ca_.Branch(tmp254, &block72, &block73, tmp251, tmp252);
3678 : }
3679 :
3680 4 : if (block72.is_used()) {
3681 : compiler::TNode<Smi> tmp255;
3682 : compiler::TNode<Smi> tmp256;
3683 : ca_.Bind(&block72, &tmp255, &tmp256);
3684 : ca_.Goto(&block68, tmp255, tmp256);
3685 : }
3686 :
3687 4 : if (block73.is_used()) {
3688 : compiler::TNode<Smi> tmp257;
3689 : compiler::TNode<Smi> tmp258;
3690 : ca_.Bind(&block73, &tmp257, &tmp258);
3691 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 408);
3692 : compiler::TNode<Smi> tmp259;
3693 : USE(tmp259);
3694 8 : tmp259 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp257}, compiler::TNode<Smi>{tmp258}));
3695 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 409);
3696 : compiler::TNode<Smi> tmp260;
3697 : USE(tmp260);
3698 12 : tmp260 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3699 : compiler::TNode<Smi> tmp261;
3700 : USE(tmp261);
3701 8 : tmp261 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp258}, compiler::TNode<Smi>{tmp260}));
3702 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 401);
3703 : ca_.Goto(&block69, tmp259, tmp261);
3704 : }
3705 :
3706 4 : if (block68.is_used()) {
3707 : compiler::TNode<Smi> tmp262;
3708 : compiler::TNode<Smi> tmp263;
3709 : ca_.Bind(&block68, &tmp262, &tmp263);
3710 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 411);
3711 : compiler::TNode<Smi> tmp264;
3712 : USE(tmp264);
3713 12 : tmp264 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
3714 : compiler::TNode<BoolT> tmp265;
3715 : USE(tmp265);
3716 8 : tmp265 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp262}, compiler::TNode<Smi>{tmp264}));
3717 4 : ca_.Branch(tmp265, &block74, &block75, tmp262, tmp263);
3718 : }
3719 :
3720 4 : if (block75.is_used()) {
3721 : compiler::TNode<Smi> tmp266;
3722 : compiler::TNode<Smi> tmp267;
3723 : ca_.Bind(&block75, &tmp266, &tmp267);
3724 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 7\' failed", "../../test/torque/test-torque.tq", 411);
3725 : }
3726 :
3727 4 : if (block74.is_used()) {
3728 : compiler::TNode<Smi> tmp268;
3729 : compiler::TNode<Smi> tmp269;
3730 : ca_.Bind(&block74, &tmp268, &tmp269);
3731 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 413);
3732 : compiler::TNode<Smi> tmp270;
3733 : USE(tmp270);
3734 12 : tmp270 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3735 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 415);
3736 : ca_.Goto(&block80, tmp268, tmp270);
3737 : }
3738 :
3739 4 : if (block80.is_used()) {
3740 : compiler::TNode<Smi> tmp271;
3741 : compiler::TNode<Smi> tmp272;
3742 : ca_.Bind(&block80, &tmp271, &tmp272);
3743 : ca_.Goto(&block78, tmp271, tmp272);
3744 : }
3745 :
3746 4 : if (block78.is_used()) {
3747 : compiler::TNode<Smi> tmp273;
3748 : compiler::TNode<Smi> tmp274;
3749 : ca_.Bind(&block78, &tmp273, &tmp274);
3750 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 416);
3751 : compiler::TNode<Smi> tmp275;
3752 : USE(tmp275);
3753 12 : tmp275 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3754 : compiler::TNode<Smi> tmp276;
3755 : USE(tmp276);
3756 8 : tmp276 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp274}, compiler::TNode<Smi>{tmp275}));
3757 : compiler::TNode<Smi> tmp277;
3758 : USE(tmp277);
3759 12 : tmp277 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3760 : compiler::TNode<BoolT> tmp278;
3761 : USE(tmp278);
3762 8 : tmp278 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp276}, compiler::TNode<Smi>{tmp277}));
3763 4 : ca_.Branch(tmp278, &block81, &block82, tmp273, tmp276);
3764 : }
3765 :
3766 4 : if (block81.is_used()) {
3767 : compiler::TNode<Smi> tmp279;
3768 : compiler::TNode<Smi> tmp280;
3769 : ca_.Bind(&block81, &tmp279, &tmp280);
3770 : ca_.Goto(&block77, tmp279, tmp280);
3771 : }
3772 :
3773 4 : if (block82.is_used()) {
3774 : compiler::TNode<Smi> tmp281;
3775 : compiler::TNode<Smi> tmp282;
3776 : ca_.Bind(&block82, &tmp281, &tmp282);
3777 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 415);
3778 : ca_.Goto(&block80, tmp281, tmp282);
3779 : }
3780 :
3781 4 : if (block79.is_used()) {
3782 : compiler::TNode<Smi> tmp283;
3783 : compiler::TNode<Smi> tmp284;
3784 : ca_.Bind(&block79, &tmp283, &tmp284);
3785 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 419);
3786 : ca_.Goto(&block76, tmp283, tmp284);
3787 : }
3788 :
3789 4 : if (block77.is_used()) {
3790 : compiler::TNode<Smi> tmp285;
3791 : compiler::TNode<Smi> tmp286;
3792 : ca_.Bind(&block77, &tmp285, &tmp286);
3793 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 420);
3794 : compiler::TNode<Smi> tmp287;
3795 : USE(tmp287);
3796 12 : tmp287 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3797 : compiler::TNode<BoolT> tmp288;
3798 : USE(tmp288);
3799 8 : tmp288 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp286}, compiler::TNode<Smi>{tmp287}));
3800 4 : ca_.Branch(tmp288, &block83, &block84, tmp285, tmp286);
3801 : }
3802 :
3803 4 : if (block84.is_used()) {
3804 : compiler::TNode<Smi> tmp289;
3805 : compiler::TNode<Smi> tmp290;
3806 : ca_.Bind(&block84, &tmp289, &tmp290);
3807 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'j == 10\' failed", "../../test/torque/test-torque.tq", 420);
3808 : }
3809 :
3810 4 : if (block83.is_used()) {
3811 : compiler::TNode<Smi> tmp291;
3812 : compiler::TNode<Smi> tmp292;
3813 : ca_.Bind(&block83, &tmp291, &tmp292);
3814 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 414);
3815 : ca_.Goto(&block76, tmp291, tmp292);
3816 : }
3817 :
3818 4 : if (block76.is_used()) {
3819 : compiler::TNode<Smi> tmp293;
3820 : compiler::TNode<Smi> tmp294;
3821 : ca_.Bind(&block76, &tmp293, &tmp294);
3822 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 424);
3823 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 425);
3824 : compiler::TNode<Smi> tmp295;
3825 : USE(tmp295);
3826 12 : tmp295 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3827 : ca_.Goto(&block87, tmp293, tmp294, ca_.Uninitialized<Smi>(), tmp295);
3828 : }
3829 :
3830 4 : if (block87.is_used()) {
3831 : compiler::TNode<Smi> tmp296;
3832 : compiler::TNode<Smi> tmp297;
3833 : compiler::TNode<Smi> tmp298;
3834 : compiler::TNode<Smi> tmp299;
3835 : ca_.Bind(&block87, &tmp296, &tmp297, &tmp298, &tmp299);
3836 : compiler::TNode<Smi> tmp300;
3837 : USE(tmp300);
3838 12 : tmp300 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3839 : compiler::TNode<BoolT> tmp301;
3840 : USE(tmp301);
3841 8 : tmp301 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp299}, compiler::TNode<Smi>{tmp300}));
3842 4 : ca_.Branch(tmp301, &block85, &block86, tmp296, tmp297, tmp298, tmp299);
3843 : }
3844 :
3845 4 : if (block85.is_used()) {
3846 : compiler::TNode<Smi> tmp302;
3847 : compiler::TNode<Smi> tmp303;
3848 : compiler::TNode<Smi> tmp304;
3849 : compiler::TNode<Smi> tmp305;
3850 : ca_.Bind(&block85, &tmp302, &tmp303, &tmp304, &tmp305);
3851 : ca_.Goto(&block88, tmp302, tmp303, tmp304, tmp305);
3852 : }
3853 :
3854 4 : if (block88.is_used()) {
3855 : compiler::TNode<Smi> tmp306;
3856 : compiler::TNode<Smi> tmp307;
3857 : compiler::TNode<Smi> tmp308;
3858 : compiler::TNode<Smi> tmp309;
3859 : ca_.Bind(&block88, &tmp306, &tmp307, &tmp308, &tmp309);
3860 : compiler::TNode<Smi> tmp310;
3861 : USE(tmp310);
3862 12 : tmp310 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3863 : compiler::TNode<Smi> tmp311;
3864 : USE(tmp311);
3865 8 : tmp311 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp309}, compiler::TNode<Smi>{tmp310}));
3866 : ca_.Goto(&block87, tmp306, tmp307, tmp308, tmp311);
3867 : }
3868 :
3869 4 : if (block86.is_used()) {
3870 : compiler::TNode<Smi> tmp312;
3871 : compiler::TNode<Smi> tmp313;
3872 : compiler::TNode<Smi> tmp314;
3873 : compiler::TNode<Smi> tmp315;
3874 : ca_.Bind(&block86, &tmp312, &tmp313, &tmp314, &tmp315);
3875 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 330);
3876 : ca_.Goto(&block1);
3877 : }
3878 :
3879 4 : if (block1.is_used()) {
3880 : ca_.Bind(&block1);
3881 : ca_.Goto(&block89);
3882 : }
3883 :
3884 : ca_.Bind(&block89);
3885 4 : }
3886 :
3887 0 : void TestBuiltinsFromDSLAssembler::TestSubtyping(compiler::TNode<Smi> p_x) {
3888 0 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3889 : compiler::CodeAssemblerParameterizedLabel<Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3890 : compiler::CodeAssemblerParameterizedLabel<Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3891 : ca_.Goto(&block0, p_x);
3892 :
3893 0 : if (block0.is_used()) {
3894 : compiler::TNode<Smi> tmp0;
3895 : ca_.Bind(&block0, &tmp0);
3896 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 430);
3897 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 429);
3898 : ca_.Goto(&block1, tmp0);
3899 : }
3900 :
3901 0 : if (block1.is_used()) {
3902 : compiler::TNode<Smi> tmp1;
3903 : ca_.Bind(&block1, &tmp1);
3904 : ca_.Goto(&block2, tmp1);
3905 : }
3906 :
3907 : compiler::TNode<Smi> tmp2;
3908 : ca_.Bind(&block2, &tmp2);
3909 0 : }
3910 :
3911 12 : compiler::TNode<Int32T> TestBuiltinsFromDSLAssembler::TypeswitchExample(compiler::TNode<Context> p_context, compiler::TNode<Object> p_x) {
3912 12 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3913 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3914 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, Object, FixedArray> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3915 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3916 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3917 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, Object> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3918 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, Object, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3919 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3920 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, HeapObject> block13(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3921 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, HeapObject, FixedArray> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3922 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block11(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3923 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3924 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3925 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3926 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3927 : ca_.Goto(&block0, p_context, p_x);
3928 :
3929 12 : if (block0.is_used()) {
3930 : compiler::TNode<Context> tmp0;
3931 : compiler::TNode<Object> tmp1;
3932 : ca_.Bind(&block0, &tmp0, &tmp1);
3933 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 447);
3934 : compiler::TNode<Int32T> tmp2;
3935 : USE(tmp2);
3936 36 : tmp2 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(0));
3937 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 448);
3938 : compiler::TNode<Object> tmp3;
3939 : USE(tmp3);
3940 36 : tmp3 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).IncrementIfSmi32UT5ATSmi10FixedArray10HeapNumber(compiler::TNode<Object>{tmp1}));
3941 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 449);
3942 : compiler::TNode<FixedArray> tmp4;
3943 : USE(tmp4);
3944 12 : compiler::CodeAssemblerLabel label0(&ca_);
3945 36 : tmp4 = BaseBuiltinsFromDSLAssembler(state_).Cast10FixedArray(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp3}, &label0);
3946 : ca_.Goto(&block4, tmp0, tmp1, tmp2, tmp3, tmp3, tmp4);
3947 12 : if (label0.is_used()) {
3948 12 : ca_.Bind(&label0);
3949 : ca_.Goto(&block5, tmp0, tmp1, tmp2, tmp3, tmp3);
3950 : }
3951 : }
3952 :
3953 12 : if (block5.is_used()) {
3954 : compiler::TNode<Context> tmp5;
3955 : compiler::TNode<Object> tmp6;
3956 : compiler::TNode<Int32T> tmp7;
3957 : compiler::TNode<Object> tmp8;
3958 : compiler::TNode<Object> tmp9;
3959 : ca_.Bind(&block5, &tmp5, &tmp6, &tmp7, &tmp8, &tmp9);
3960 : ca_.Goto(&block3, tmp5, tmp6, tmp7, tmp8);
3961 : }
3962 :
3963 12 : if (block4.is_used()) {
3964 : compiler::TNode<Context> tmp10;
3965 : compiler::TNode<Object> tmp11;
3966 : compiler::TNode<Int32T> tmp12;
3967 : compiler::TNode<Object> tmp13;
3968 : compiler::TNode<Object> tmp14;
3969 : compiler::TNode<FixedArray> tmp15;
3970 : ca_.Bind(&block4, &tmp10, &tmp11, &tmp12, &tmp13, &tmp14, &tmp15);
3971 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 450);
3972 : compiler::TNode<Int32T> tmp16;
3973 : USE(tmp16);
3974 36 : tmp16 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(1));
3975 : compiler::TNode<Int32T> tmp17;
3976 : USE(tmp17);
3977 24 : tmp17 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Add(compiler::TNode<Int32T>{tmp12}, compiler::TNode<Int32T>{tmp16}));
3978 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 449);
3979 : ca_.Goto(&block2, tmp10, tmp11, tmp17, tmp13);
3980 : }
3981 :
3982 12 : if (block3.is_used()) {
3983 : compiler::TNode<Context> tmp18;
3984 : compiler::TNode<Object> tmp19;
3985 : compiler::TNode<Int32T> tmp20;
3986 : compiler::TNode<Object> tmp21;
3987 : ca_.Bind(&block3, &tmp18, &tmp19, &tmp20, &tmp21);
3988 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 452);
3989 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 453);
3990 : compiler::TNode<Int32T> tmp22;
3991 : USE(tmp22);
3992 36 : tmp22 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(2));
3993 : compiler::TNode<Int32T> tmp23;
3994 : USE(tmp23);
3995 24 : tmp23 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Add(compiler::TNode<Int32T>{tmp20}, compiler::TNode<Int32T>{tmp22}));
3996 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 449);
3997 : ca_.Goto(&block2, tmp18, tmp19, tmp23, tmp21);
3998 : }
3999 :
4000 12 : if (block2.is_used()) {
4001 : compiler::TNode<Context> tmp24;
4002 : compiler::TNode<Object> tmp25;
4003 : compiler::TNode<Int32T> tmp26;
4004 : compiler::TNode<Object> tmp27;
4005 : ca_.Bind(&block2, &tmp24, &tmp25, &tmp26, &tmp27);
4006 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 448);
4007 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 457);
4008 : compiler::TNode<Int32T> tmp28;
4009 : USE(tmp28);
4010 36 : tmp28 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(10));
4011 : compiler::TNode<Int32T> tmp29;
4012 : USE(tmp29);
4013 36 : tmp29 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Mul(compiler::TNode<Int32T>{tmp26}, compiler::TNode<Int32T>{tmp28}));
4014 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 459);
4015 : compiler::TNode<Object> tmp30;
4016 : USE(tmp30);
4017 36 : tmp30 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).IncrementIfSmi32UT5ATSmi10FixedArray10HeapNumber(compiler::TNode<Object>{tmp25}));
4018 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 460);
4019 : compiler::TNode<Smi> tmp31;
4020 : USE(tmp31);
4021 12 : compiler::CodeAssemblerLabel label0(&ca_);
4022 36 : tmp31 = BaseBuiltinsFromDSLAssembler(state_).Cast5ATSmi(compiler::TNode<Object>{tmp30}, &label0);
4023 : ca_.Goto(&block8, tmp24, tmp25, tmp29, tmp30, tmp30, tmp31);
4024 12 : if (label0.is_used()) {
4025 12 : ca_.Bind(&label0);
4026 : ca_.Goto(&block9, tmp24, tmp25, tmp29, tmp30, tmp30);
4027 : }
4028 : }
4029 :
4030 12 : if (block9.is_used()) {
4031 : compiler::TNode<Context> tmp32;
4032 : compiler::TNode<Object> tmp33;
4033 : compiler::TNode<Int32T> tmp34;
4034 : compiler::TNode<Object> tmp35;
4035 : compiler::TNode<Object> tmp36;
4036 : ca_.Bind(&block9, &tmp32, &tmp33, &tmp34, &tmp35, &tmp36);
4037 : ca_.Goto(&block7, tmp32, tmp33, tmp34, tmp35);
4038 : }
4039 :
4040 12 : if (block8.is_used()) {
4041 : compiler::TNode<Context> tmp37;
4042 : compiler::TNode<Object> tmp38;
4043 : compiler::TNode<Int32T> tmp39;
4044 : compiler::TNode<Object> tmp40;
4045 : compiler::TNode<Object> tmp41;
4046 : compiler::TNode<Smi> tmp42;
4047 : ca_.Bind(&block8, &tmp37, &tmp38, &tmp39, &tmp40, &tmp41, &tmp42);
4048 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 461);
4049 : compiler::TNode<Int32T> tmp43;
4050 : USE(tmp43);
4051 36 : tmp43 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).Convert7ATint325ATSmi(compiler::TNode<Smi>{tmp42}));
4052 : compiler::TNode<Int32T> tmp44;
4053 : USE(tmp44);
4054 24 : tmp44 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Add(compiler::TNode<Int32T>{tmp39}, compiler::TNode<Int32T>{tmp43}));
4055 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 460);
4056 : ca_.Goto(&block6, tmp37, tmp38, tmp44, tmp40);
4057 : }
4058 :
4059 12 : if (block7.is_used()) {
4060 : compiler::TNode<Context> tmp45;
4061 : compiler::TNode<Object> tmp46;
4062 : compiler::TNode<Int32T> tmp47;
4063 : compiler::TNode<Object> tmp48;
4064 : ca_.Bind(&block7, &tmp45, &tmp46, &tmp47, &tmp48);
4065 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 463);
4066 : compiler::TNode<FixedArray> tmp49;
4067 : USE(tmp49);
4068 12 : compiler::CodeAssemblerLabel label0(&ca_);
4069 36 : tmp49 = BaseBuiltinsFromDSLAssembler(state_).Cast10FixedArray(compiler::TNode<HeapObject>{ca_.UncheckedCast<HeapObject>(tmp48)}, &label0);
4070 : ca_.Goto(&block12, tmp45, tmp46, tmp47, tmp48, ca_.UncheckedCast<HeapObject>(tmp48), tmp49);
4071 12 : if (label0.is_used()) {
4072 12 : ca_.Bind(&label0);
4073 : ca_.Goto(&block13, tmp45, tmp46, tmp47, tmp48, ca_.UncheckedCast<HeapObject>(tmp48));
4074 : }
4075 : }
4076 :
4077 12 : if (block13.is_used()) {
4078 : compiler::TNode<Context> tmp50;
4079 : compiler::TNode<Object> tmp51;
4080 : compiler::TNode<Int32T> tmp52;
4081 : compiler::TNode<Object> tmp53;
4082 : compiler::TNode<HeapObject> tmp54;
4083 : ca_.Bind(&block13, &tmp50, &tmp51, &tmp52, &tmp53, &tmp54);
4084 : ca_.Goto(&block11, tmp50, tmp51, tmp52, tmp53);
4085 : }
4086 :
4087 12 : if (block12.is_used()) {
4088 : compiler::TNode<Context> tmp55;
4089 : compiler::TNode<Object> tmp56;
4090 : compiler::TNode<Int32T> tmp57;
4091 : compiler::TNode<Object> tmp58;
4092 : compiler::TNode<HeapObject> tmp59;
4093 : compiler::TNode<FixedArray> tmp60;
4094 : ca_.Bind(&block12, &tmp55, &tmp56, &tmp57, &tmp58, &tmp59, &tmp60);
4095 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 464);
4096 12 : compiler::TNode<IntPtrT> tmp61 = ca_.IntPtrConstant(FixedArrayBase::kLengthOffset);
4097 : USE(tmp61);
4098 36 : compiler::TNode<Smi>tmp62 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp60, tmp61});
4099 : compiler::TNode<Int32T> tmp63;
4100 : USE(tmp63);
4101 36 : tmp63 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).Convert7ATint325ATSmi(compiler::TNode<Smi>{tmp62}));
4102 : compiler::TNode<Int32T> tmp64;
4103 : USE(tmp64);
4104 24 : tmp64 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Add(compiler::TNode<Int32T>{tmp57}, compiler::TNode<Int32T>{tmp63}));
4105 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 463);
4106 : ca_.Goto(&block10, tmp55, tmp56, tmp64, tmp58);
4107 : }
4108 :
4109 12 : if (block11.is_used()) {
4110 : compiler::TNode<Context> tmp65;
4111 : compiler::TNode<Object> tmp66;
4112 : compiler::TNode<Int32T> tmp67;
4113 : compiler::TNode<Object> tmp68;
4114 : ca_.Bind(&block11, &tmp65, &tmp66, &tmp67, &tmp68);
4115 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 466);
4116 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 467);
4117 : compiler::TNode<Int32T> tmp69;
4118 : USE(tmp69);
4119 36 : tmp69 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(7));
4120 : compiler::TNode<Int32T> tmp70;
4121 : USE(tmp70);
4122 24 : tmp70 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Add(compiler::TNode<Int32T>{tmp67}, compiler::TNode<Int32T>{tmp69}));
4123 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 463);
4124 : ca_.Goto(&block10, tmp65, tmp66, tmp70, tmp68);
4125 : }
4126 :
4127 12 : if (block10.is_used()) {
4128 : compiler::TNode<Context> tmp71;
4129 : compiler::TNode<Object> tmp72;
4130 : compiler::TNode<Int32T> tmp73;
4131 : compiler::TNode<Object> tmp74;
4132 : ca_.Bind(&block10, &tmp71, &tmp72, &tmp73, &tmp74);
4133 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 460);
4134 : ca_.Goto(&block6, tmp71, tmp72, tmp73, tmp74);
4135 : }
4136 :
4137 12 : if (block6.is_used()) {
4138 : compiler::TNode<Context> tmp75;
4139 : compiler::TNode<Object> tmp76;
4140 : compiler::TNode<Int32T> tmp77;
4141 : compiler::TNode<Object> tmp78;
4142 : ca_.Bind(&block6, &tmp75, &tmp76, &tmp77, &tmp78);
4143 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 459);
4144 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 471);
4145 : ca_.Goto(&block1, tmp75, tmp76, tmp77);
4146 : }
4147 :
4148 12 : if (block1.is_used()) {
4149 : compiler::TNode<Context> tmp79;
4150 : compiler::TNode<Object> tmp80;
4151 : compiler::TNode<Int32T> tmp81;
4152 : ca_.Bind(&block1, &tmp79, &tmp80, &tmp81);
4153 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 445);
4154 : ca_.Goto(&block14, tmp79, tmp80, tmp81);
4155 : }
4156 :
4157 : compiler::TNode<Context> tmp82;
4158 : compiler::TNode<Object> tmp83;
4159 : compiler::TNode<Int32T> tmp84;
4160 : ca_.Bind(&block14, &tmp82, &tmp83, &tmp84);
4161 24 : return compiler::TNode<Int32T>{tmp84};
4162 : }
4163 :
4164 4 : void TestBuiltinsFromDSLAssembler::TestTypeswitch(compiler::TNode<Context> p_context) {
4165 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4166 : compiler::CodeAssemblerParameterizedLabel<Context> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4167 : compiler::CodeAssemblerParameterizedLabel<Context> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4168 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4169 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4170 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4171 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4172 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4173 : compiler::CodeAssemblerParameterizedLabel<Context> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4174 : ca_.Goto(&block0, p_context);
4175 :
4176 4 : if (block0.is_used()) {
4177 : compiler::TNode<Context> tmp0;
4178 : ca_.Bind(&block0, &tmp0);
4179 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 475);
4180 : compiler::TNode<Smi> tmp1;
4181 : USE(tmp1);
4182 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
4183 : compiler::TNode<Int32T> tmp2;
4184 : USE(tmp2);
4185 12 : tmp2 = ca_.UncheckedCast<Int32T>(TestBuiltinsFromDSLAssembler(state_).TypeswitchExample(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}));
4186 : compiler::TNode<Int32T> tmp3;
4187 : USE(tmp3);
4188 12 : tmp3 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(26));
4189 : compiler::TNode<BoolT> tmp4;
4190 : USE(tmp4);
4191 8 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32Equal(compiler::TNode<Int32T>{tmp2}, compiler::TNode<Int32T>{tmp3}));
4192 4 : ca_.Branch(tmp4, &block2, &block3, tmp0);
4193 : }
4194 :
4195 4 : if (block3.is_used()) {
4196 : compiler::TNode<Context> tmp5;
4197 : ca_.Bind(&block3, &tmp5);
4198 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TypeswitchExample(FromConstexpr<Smi>(5)) == 26\' failed", "../../test/torque/test-torque.tq", 475);
4199 : }
4200 :
4201 4 : if (block2.is_used()) {
4202 : compiler::TNode<Context> tmp6;
4203 : ca_.Bind(&block2, &tmp6);
4204 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 476);
4205 : compiler::TNode<IntPtrT> tmp7;
4206 : USE(tmp7);
4207 12 : tmp7 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(3));
4208 : compiler::TNode<FixedArray> tmp8;
4209 : USE(tmp8);
4210 8 : tmp8 = ca_.UncheckedCast<FixedArray>(CodeStubAssembler(state_).AllocateZeroedFixedArray(compiler::TNode<IntPtrT>{tmp7}));
4211 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 477);
4212 : compiler::TNode<Int32T> tmp9;
4213 : USE(tmp9);
4214 12 : tmp9 = ca_.UncheckedCast<Int32T>(TestBuiltinsFromDSLAssembler(state_).TypeswitchExample(compiler::TNode<Context>{tmp6}, compiler::TNode<Object>{tmp8}));
4215 : compiler::TNode<Int32T> tmp10;
4216 : USE(tmp10);
4217 12 : tmp10 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(13));
4218 : compiler::TNode<BoolT> tmp11;
4219 : USE(tmp11);
4220 8 : tmp11 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32Equal(compiler::TNode<Int32T>{tmp9}, compiler::TNode<Int32T>{tmp10}));
4221 4 : ca_.Branch(tmp11, &block4, &block5, tmp6, tmp8);
4222 : }
4223 :
4224 4 : if (block5.is_used()) {
4225 : compiler::TNode<Context> tmp12;
4226 : compiler::TNode<FixedArray> tmp13;
4227 : ca_.Bind(&block5, &tmp12, &tmp13);
4228 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TypeswitchExample(a) == 13\' failed", "../../test/torque/test-torque.tq", 477);
4229 : }
4230 :
4231 4 : if (block4.is_used()) {
4232 : compiler::TNode<Context> tmp14;
4233 : compiler::TNode<FixedArray> tmp15;
4234 : ca_.Bind(&block4, &tmp14, &tmp15);
4235 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 478);
4236 : compiler::TNode<Number> tmp16;
4237 : USE(tmp16);
4238 12 : tmp16 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr20UT5ATSmi10HeapNumber19ATconstexpr_float64(0.5));
4239 : compiler::TNode<Int32T> tmp17;
4240 : USE(tmp17);
4241 12 : tmp17 = ca_.UncheckedCast<Int32T>(TestBuiltinsFromDSLAssembler(state_).TypeswitchExample(compiler::TNode<Context>{tmp14}, compiler::TNode<Object>{tmp16}));
4242 : compiler::TNode<Int32T> tmp18;
4243 : USE(tmp18);
4244 12 : tmp18 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(27));
4245 : compiler::TNode<BoolT> tmp19;
4246 : USE(tmp19);
4247 8 : tmp19 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32Equal(compiler::TNode<Int32T>{tmp17}, compiler::TNode<Int32T>{tmp18}));
4248 4 : ca_.Branch(tmp19, &block6, &block7, tmp14, tmp15);
4249 : }
4250 :
4251 4 : if (block7.is_used()) {
4252 : compiler::TNode<Context> tmp20;
4253 : compiler::TNode<FixedArray> tmp21;
4254 : ca_.Bind(&block7, &tmp20, &tmp21);
4255 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TypeswitchExample(FromConstexpr<Number>(0.5)) == 27\' failed", "../../test/torque/test-torque.tq", 478);
4256 : }
4257 :
4258 4 : if (block6.is_used()) {
4259 : compiler::TNode<Context> tmp22;
4260 : compiler::TNode<FixedArray> tmp23;
4261 : ca_.Bind(&block6, &tmp22, &tmp23);
4262 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 474);
4263 : ca_.Goto(&block1, tmp22);
4264 : }
4265 :
4266 4 : if (block1.is_used()) {
4267 : compiler::TNode<Context> tmp24;
4268 : ca_.Bind(&block1, &tmp24);
4269 : ca_.Goto(&block8, tmp24);
4270 : }
4271 :
4272 : compiler::TNode<Context> tmp25;
4273 : ca_.Bind(&block8, &tmp25);
4274 4 : }
4275 :
4276 0 : void TestBuiltinsFromDSLAssembler::TestTypeswitchAsanLsanFailure(compiler::TNode<Context> p_context, compiler::TNode<Object> p_obj) {
4277 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4278 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4279 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, Object, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4280 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4281 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, HeapObject> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4282 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, HeapObject, JSTypedArray> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4283 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4284 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, HeapObject> block13(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4285 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, HeapObject, JSReceiver> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4286 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block11(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4287 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4288 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4289 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4290 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4291 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4292 : ca_.Goto(&block0, p_context, p_obj);
4293 :
4294 0 : if (block0.is_used()) {
4295 : compiler::TNode<Context> tmp0;
4296 : compiler::TNode<Object> tmp1;
4297 : ca_.Bind(&block0, &tmp0, &tmp1);
4298 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 482);
4299 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 483);
4300 : compiler::TNode<Smi> tmp2;
4301 : USE(tmp2);
4302 0 : compiler::CodeAssemblerLabel label0(&ca_);
4303 0 : tmp2 = BaseBuiltinsFromDSLAssembler(state_).Cast5ATSmi(compiler::TNode<Object>{tmp1}, &label0);
4304 : ca_.Goto(&block4, tmp0, tmp1, tmp1, tmp1, tmp2);
4305 0 : if (label0.is_used()) {
4306 0 : ca_.Bind(&label0);
4307 : ca_.Goto(&block5, tmp0, tmp1, tmp1, tmp1);
4308 : }
4309 : }
4310 :
4311 0 : if (block5.is_used()) {
4312 : compiler::TNode<Context> tmp3;
4313 : compiler::TNode<Object> tmp4;
4314 : compiler::TNode<Object> tmp5;
4315 : compiler::TNode<Object> tmp6;
4316 : ca_.Bind(&block5, &tmp3, &tmp4, &tmp5, &tmp6);
4317 : ca_.Goto(&block3, tmp3, tmp4, tmp5);
4318 : }
4319 :
4320 0 : if (block4.is_used()) {
4321 : compiler::TNode<Context> tmp7;
4322 : compiler::TNode<Object> tmp8;
4323 : compiler::TNode<Object> tmp9;
4324 : compiler::TNode<Object> tmp10;
4325 : compiler::TNode<Smi> tmp11;
4326 : ca_.Bind(&block4, &tmp7, &tmp8, &tmp9, &tmp10, &tmp11);
4327 : ca_.Goto(&block2, tmp7, tmp8, tmp9);
4328 : }
4329 :
4330 0 : if (block3.is_used()) {
4331 : compiler::TNode<Context> tmp12;
4332 : compiler::TNode<Object> tmp13;
4333 : compiler::TNode<Object> tmp14;
4334 : ca_.Bind(&block3, &tmp12, &tmp13, &tmp14);
4335 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 485);
4336 : compiler::TNode<JSTypedArray> tmp15;
4337 : USE(tmp15);
4338 0 : compiler::CodeAssemblerLabel label0(&ca_);
4339 0 : tmp15 = BaseBuiltinsFromDSLAssembler(state_).Cast12JSTypedArray(compiler::TNode<HeapObject>{ca_.UncheckedCast<HeapObject>(tmp14)}, &label0);
4340 : ca_.Goto(&block8, tmp12, tmp13, tmp14, ca_.UncheckedCast<HeapObject>(tmp14), tmp15);
4341 0 : if (label0.is_used()) {
4342 0 : ca_.Bind(&label0);
4343 : ca_.Goto(&block9, tmp12, tmp13, tmp14, ca_.UncheckedCast<HeapObject>(tmp14));
4344 : }
4345 : }
4346 :
4347 0 : if (block9.is_used()) {
4348 : compiler::TNode<Context> tmp16;
4349 : compiler::TNode<Object> tmp17;
4350 : compiler::TNode<Object> tmp18;
4351 : compiler::TNode<HeapObject> tmp19;
4352 : ca_.Bind(&block9, &tmp16, &tmp17, &tmp18, &tmp19);
4353 : ca_.Goto(&block7, tmp16, tmp17, tmp18);
4354 : }
4355 :
4356 0 : if (block8.is_used()) {
4357 : compiler::TNode<Context> tmp20;
4358 : compiler::TNode<Object> tmp21;
4359 : compiler::TNode<Object> tmp22;
4360 : compiler::TNode<HeapObject> tmp23;
4361 : compiler::TNode<JSTypedArray> tmp24;
4362 : ca_.Bind(&block8, &tmp20, &tmp21, &tmp22, &tmp23, &tmp24);
4363 : ca_.Goto(&block6, tmp20, tmp21, tmp22);
4364 : }
4365 :
4366 0 : if (block7.is_used()) {
4367 : compiler::TNode<Context> tmp25;
4368 : compiler::TNode<Object> tmp26;
4369 : compiler::TNode<Object> tmp27;
4370 : ca_.Bind(&block7, &tmp25, &tmp26, &tmp27);
4371 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 487);
4372 : compiler::TNode<JSReceiver> tmp28;
4373 : USE(tmp28);
4374 0 : compiler::CodeAssemblerLabel label0(&ca_);
4375 0 : tmp28 = BaseBuiltinsFromDSLAssembler(state_).Cast10JSReceiver(compiler::TNode<Context>{tmp25}, compiler::TNode<HeapObject>{ca_.UncheckedCast<HeapObject>(tmp27)}, &label0);
4376 : ca_.Goto(&block12, tmp25, tmp26, tmp27, ca_.UncheckedCast<HeapObject>(tmp27), tmp28);
4377 0 : if (label0.is_used()) {
4378 0 : ca_.Bind(&label0);
4379 : ca_.Goto(&block13, tmp25, tmp26, tmp27, ca_.UncheckedCast<HeapObject>(tmp27));
4380 : }
4381 : }
4382 :
4383 0 : if (block13.is_used()) {
4384 : compiler::TNode<Context> tmp29;
4385 : compiler::TNode<Object> tmp30;
4386 : compiler::TNode<Object> tmp31;
4387 : compiler::TNode<HeapObject> tmp32;
4388 : ca_.Bind(&block13, &tmp29, &tmp30, &tmp31, &tmp32);
4389 : ca_.Goto(&block11, tmp29, tmp30, tmp31);
4390 : }
4391 :
4392 0 : if (block12.is_used()) {
4393 : compiler::TNode<Context> tmp33;
4394 : compiler::TNode<Object> tmp34;
4395 : compiler::TNode<Object> tmp35;
4396 : compiler::TNode<HeapObject> tmp36;
4397 : compiler::TNode<JSReceiver> tmp37;
4398 : ca_.Bind(&block12, &tmp33, &tmp34, &tmp35, &tmp36, &tmp37);
4399 : ca_.Goto(&block10, tmp33, tmp34, tmp35);
4400 : }
4401 :
4402 0 : if (block11.is_used()) {
4403 : compiler::TNode<Context> tmp38;
4404 : compiler::TNode<Object> tmp39;
4405 : compiler::TNode<Object> tmp40;
4406 : ca_.Bind(&block11, &tmp38, &tmp39, &tmp40);
4407 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 489);
4408 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 487);
4409 : ca_.Goto(&block10, tmp38, tmp39, tmp40);
4410 : }
4411 :
4412 0 : if (block10.is_used()) {
4413 : compiler::TNode<Context> tmp41;
4414 : compiler::TNode<Object> tmp42;
4415 : compiler::TNode<Object> tmp43;
4416 : ca_.Bind(&block10, &tmp41, &tmp42, &tmp43);
4417 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 485);
4418 : ca_.Goto(&block6, tmp41, tmp42, tmp43);
4419 : }
4420 :
4421 0 : if (block6.is_used()) {
4422 : compiler::TNode<Context> tmp44;
4423 : compiler::TNode<Object> tmp45;
4424 : compiler::TNode<Object> tmp46;
4425 : ca_.Bind(&block6, &tmp44, &tmp45, &tmp46);
4426 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 483);
4427 : ca_.Goto(&block2, tmp44, tmp45, tmp46);
4428 : }
4429 :
4430 0 : if (block2.is_used()) {
4431 : compiler::TNode<Context> tmp47;
4432 : compiler::TNode<Object> tmp48;
4433 : compiler::TNode<Object> tmp49;
4434 : ca_.Bind(&block2, &tmp47, &tmp48, &tmp49);
4435 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 482);
4436 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 481);
4437 : ca_.Goto(&block1, tmp47, tmp48);
4438 : }
4439 :
4440 0 : if (block1.is_used()) {
4441 : compiler::TNode<Context> tmp50;
4442 : compiler::TNode<Object> tmp51;
4443 : ca_.Bind(&block1, &tmp50, &tmp51);
4444 : ca_.Goto(&block14, tmp50, tmp51);
4445 : }
4446 :
4447 : compiler::TNode<Context> tmp52;
4448 : compiler::TNode<Object> tmp53;
4449 : ca_.Bind(&block14, &tmp52, &tmp53);
4450 0 : }
4451 :
4452 4 : void TestBuiltinsFromDSLAssembler::TestGenericOverload(compiler::TNode<Context> p_context) {
4453 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4454 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4455 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4456 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4457 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4458 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4459 : compiler::CodeAssemblerParameterizedLabel<Context> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4460 : ca_.Goto(&block0, p_context);
4461 :
4462 4 : if (block0.is_used()) {
4463 : compiler::TNode<Context> tmp0;
4464 : ca_.Bind(&block0, &tmp0);
4465 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 502);
4466 : compiler::TNode<Smi> tmp1;
4467 : USE(tmp1);
4468 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
4469 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 503);
4470 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 504);
4471 : compiler::TNode<Smi> tmp2;
4472 : USE(tmp2);
4473 12 : tmp2 = ca_.UncheckedCast<Smi>(TestBuiltinsFromDSLAssembler(state_).ExampleGenericOverload5ATSmi(compiler::TNode<Smi>{tmp1}));
4474 : compiler::TNode<Smi> tmp3;
4475 : USE(tmp3);
4476 12 : tmp3 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(6));
4477 : compiler::TNode<BoolT> tmp4;
4478 : USE(tmp4);
4479 8 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp2}, compiler::TNode<Smi>{tmp3}));
4480 4 : ca_.Branch(tmp4, &block2, &block3, tmp0, tmp1, tmp1);
4481 : }
4482 :
4483 4 : if (block3.is_used()) {
4484 : compiler::TNode<Context> tmp5;
4485 : compiler::TNode<Smi> tmp6;
4486 : compiler::TNode<Object> tmp7;
4487 : ca_.Bind(&block3, &tmp5, &tmp6, &tmp7);
4488 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'ExampleGenericOverload<Smi>(xSmi) == 6\' failed", "../../test/torque/test-torque.tq", 504);
4489 : }
4490 :
4491 4 : if (block2.is_used()) {
4492 : compiler::TNode<Context> tmp8;
4493 : compiler::TNode<Smi> tmp9;
4494 : compiler::TNode<Object> tmp10;
4495 : ca_.Bind(&block2, &tmp8, &tmp9, &tmp10);
4496 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 505);
4497 : compiler::TNode<Object> tmp11;
4498 : USE(tmp11);
4499 12 : tmp11 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).ExampleGenericOverload20UT5ATSmi10HeapObject(compiler::TNode<Object>{tmp10}));
4500 : compiler::TNode<Smi> tmp12;
4501 : USE(tmp12);
4502 12 : tmp12 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).UnsafeCast5ATSmi(compiler::TNode<Context>{tmp8}, compiler::TNode<Object>{tmp11}));
4503 : compiler::TNode<Smi> tmp13;
4504 : USE(tmp13);
4505 12 : tmp13 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
4506 : compiler::TNode<BoolT> tmp14;
4507 : USE(tmp14);
4508 8 : tmp14 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp12}, compiler::TNode<Smi>{tmp13}));
4509 4 : ca_.Branch(tmp14, &block4, &block5, tmp8, tmp9, tmp10);
4510 : }
4511 :
4512 4 : if (block5.is_used()) {
4513 : compiler::TNode<Context> tmp15;
4514 : compiler::TNode<Smi> tmp16;
4515 : compiler::TNode<Object> tmp17;
4516 : ca_.Bind(&block5, &tmp15, &tmp16, &tmp17);
4517 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'UnsafeCast<Smi>(ExampleGenericOverload<Object>(xObject)) == 5\' failed", "../../test/torque/test-torque.tq", 505);
4518 : }
4519 :
4520 4 : if (block4.is_used()) {
4521 : compiler::TNode<Context> tmp18;
4522 : compiler::TNode<Smi> tmp19;
4523 : compiler::TNode<Object> tmp20;
4524 : ca_.Bind(&block4, &tmp18, &tmp19, &tmp20);
4525 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 501);
4526 : ca_.Goto(&block1, tmp18);
4527 : }
4528 :
4529 4 : if (block1.is_used()) {
4530 : compiler::TNode<Context> tmp21;
4531 : ca_.Bind(&block1, &tmp21);
4532 : ca_.Goto(&block6, tmp21);
4533 : }
4534 :
4535 : compiler::TNode<Context> tmp22;
4536 : ca_.Bind(&block6, &tmp22);
4537 4 : }
4538 :
4539 4 : void TestBuiltinsFromDSLAssembler::TestEquality(compiler::TNode<Context> p_context) {
4540 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4541 : compiler::CodeAssemblerParameterizedLabel<Context, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4542 : compiler::CodeAssemblerParameterizedLabel<Context, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4543 : compiler::CodeAssemblerParameterizedLabel<Context, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4544 : compiler::CodeAssemblerParameterizedLabel<Context, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4545 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4546 : compiler::CodeAssemblerParameterizedLabel<Context> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4547 : ca_.Goto(&block0, p_context);
4548 :
4549 4 : if (block0.is_used()) {
4550 : compiler::TNode<Context> tmp0;
4551 : ca_.Bind(&block0, &tmp0);
4552 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 510);
4553 : compiler::TNode<Float64T> tmp1;
4554 : USE(tmp1);
4555 12 : tmp1 = ca_.UncheckedCast<Float64T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr9ATfloat6419ATconstexpr_float64(0.5));
4556 : compiler::TNode<HeapNumber> tmp2;
4557 : USE(tmp2);
4558 8 : tmp2 = ca_.UncheckedCast<HeapNumber>(CodeStubAssembler(state_).AllocateHeapNumberWithValue(compiler::TNode<Float64T>{tmp1}));
4559 : compiler::TNode<Float64T> tmp3;
4560 : USE(tmp3);
4561 12 : tmp3 = ca_.UncheckedCast<Float64T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr9ATfloat6419ATconstexpr_float64(0.5));
4562 : compiler::TNode<HeapNumber> tmp4;
4563 : USE(tmp4);
4564 8 : tmp4 = ca_.UncheckedCast<HeapNumber>(CodeStubAssembler(state_).AllocateHeapNumberWithValue(compiler::TNode<Float64T>{tmp3}));
4565 : compiler::TNode<BoolT> tmp5;
4566 : USE(tmp5);
4567 12 : tmp5 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).IsNumberNotEqual(compiler::TNode<Number>{tmp2}, compiler::TNode<Number>{tmp4}));
4568 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 509);
4569 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 511);
4570 : compiler::TNode<BoolT> tmp6;
4571 : USE(tmp6);
4572 8 : tmp6 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp5}));
4573 4 : ca_.Branch(tmp6, &block2, &block3, tmp0, tmp5);
4574 : }
4575 :
4576 4 : if (block3.is_used()) {
4577 : compiler::TNode<Context> tmp7;
4578 : compiler::TNode<BoolT> tmp8;
4579 : ca_.Bind(&block3, &tmp7, &tmp8);
4580 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!notEqual\' failed", "../../test/torque/test-torque.tq", 511);
4581 : }
4582 :
4583 4 : if (block2.is_used()) {
4584 : compiler::TNode<Context> tmp9;
4585 : compiler::TNode<BoolT> tmp10;
4586 : ca_.Bind(&block2, &tmp9, &tmp10);
4587 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 513);
4588 : compiler::TNode<Float64T> tmp11;
4589 : USE(tmp11);
4590 12 : tmp11 = ca_.UncheckedCast<Float64T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr9ATfloat6419ATconstexpr_float64(0.5));
4591 : compiler::TNode<HeapNumber> tmp12;
4592 : USE(tmp12);
4593 8 : tmp12 = ca_.UncheckedCast<HeapNumber>(CodeStubAssembler(state_).AllocateHeapNumberWithValue(compiler::TNode<Float64T>{tmp11}));
4594 : compiler::TNode<Float64T> tmp13;
4595 : USE(tmp13);
4596 12 : tmp13 = ca_.UncheckedCast<Float64T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr9ATfloat6419ATconstexpr_float64(0.5));
4597 : compiler::TNode<HeapNumber> tmp14;
4598 : USE(tmp14);
4599 8 : tmp14 = ca_.UncheckedCast<HeapNumber>(CodeStubAssembler(state_).AllocateHeapNumberWithValue(compiler::TNode<Float64T>{tmp13}));
4600 : compiler::TNode<BoolT> tmp15;
4601 : USE(tmp15);
4602 12 : tmp15 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).IsNumberEqual(compiler::TNode<Number>{tmp12}, compiler::TNode<Number>{tmp14}));
4603 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 512);
4604 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 514);
4605 4 : ca_.Branch(tmp15, &block4, &block5, tmp9, tmp10, tmp15);
4606 : }
4607 :
4608 4 : if (block5.is_used()) {
4609 : compiler::TNode<Context> tmp16;
4610 : compiler::TNode<BoolT> tmp17;
4611 : compiler::TNode<BoolT> tmp18;
4612 : ca_.Bind(&block5, &tmp16, &tmp17, &tmp18);
4613 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'equal\' failed", "../../test/torque/test-torque.tq", 514);
4614 : }
4615 :
4616 4 : if (block4.is_used()) {
4617 : compiler::TNode<Context> tmp19;
4618 : compiler::TNode<BoolT> tmp20;
4619 : compiler::TNode<BoolT> tmp21;
4620 : ca_.Bind(&block4, &tmp19, &tmp20, &tmp21);
4621 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 508);
4622 : ca_.Goto(&block1, tmp19);
4623 : }
4624 :
4625 4 : if (block1.is_used()) {
4626 : compiler::TNode<Context> tmp22;
4627 : ca_.Bind(&block1, &tmp22);
4628 : ca_.Goto(&block6, tmp22);
4629 : }
4630 :
4631 : compiler::TNode<Context> tmp23;
4632 : ca_.Bind(&block6, &tmp23);
4633 4 : }
4634 :
4635 192 : void TestBuiltinsFromDSLAssembler::BoolToBranch(compiler::TNode<BoolT> p_x, compiler::CodeAssemblerLabel* label_Taken, compiler::CodeAssemblerLabel* label_NotTaken) {
4636 192 : compiler::CodeAssemblerParameterizedLabel<BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4637 : compiler::CodeAssemblerParameterizedLabel<BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4638 : compiler::CodeAssemblerParameterizedLabel<BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4639 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4640 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4641 : ca_.Goto(&block0, p_x);
4642 :
4643 192 : if (block0.is_used()) {
4644 : compiler::TNode<BoolT> tmp0;
4645 : ca_.Bind(&block0, &tmp0);
4646 192 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 519);
4647 192 : ca_.Branch(tmp0, &block3, &block4, tmp0);
4648 : }
4649 :
4650 192 : if (block3.is_used()) {
4651 : compiler::TNode<BoolT> tmp1;
4652 : ca_.Bind(&block3, &tmp1);
4653 192 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 520);
4654 : ca_.Goto(&block1);
4655 : }
4656 :
4657 192 : if (block4.is_used()) {
4658 : compiler::TNode<BoolT> tmp2;
4659 : ca_.Bind(&block4, &tmp2);
4660 192 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 522);
4661 : ca_.Goto(&block2);
4662 : }
4663 :
4664 192 : if (block1.is_used()) {
4665 : ca_.Bind(&block1);
4666 192 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 517);
4667 192 : ca_.Goto(label_Taken);
4668 : }
4669 :
4670 192 : if (block2.is_used()) {
4671 : ca_.Bind(&block2);
4672 192 : ca_.Goto(label_NotTaken);
4673 : }
4674 192 : }
4675 :
4676 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestOrAnd1(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
4677 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4678 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4679 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4680 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4681 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4682 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4683 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4684 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4685 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4686 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4687 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4688 : ca_.Goto(&block0, p_x, p_y, p_z);
4689 :
4690 32 : if (block0.is_used()) {
4691 : compiler::TNode<BoolT> tmp0;
4692 : compiler::TNode<BoolT> tmp1;
4693 : compiler::TNode<BoolT> tmp2;
4694 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
4695 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 527);
4696 32 : compiler::CodeAssemblerLabel label0(&ca_);
4697 32 : compiler::CodeAssemblerLabel label1(&ca_);
4698 96 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp0}, &label0, &label1);
4699 32 : if (label0.is_used()) {
4700 32 : ca_.Bind(&label0);
4701 : ca_.Goto(&block7, tmp0, tmp1, tmp2, tmp0);
4702 : }
4703 32 : if (label1.is_used()) {
4704 32 : ca_.Bind(&label1);
4705 : ca_.Goto(&block8, tmp0, tmp1, tmp2, tmp0);
4706 : }
4707 : }
4708 :
4709 32 : if (block7.is_used()) {
4710 : compiler::TNode<BoolT> tmp3;
4711 : compiler::TNode<BoolT> tmp4;
4712 : compiler::TNode<BoolT> tmp5;
4713 : compiler::TNode<BoolT> tmp6;
4714 : ca_.Bind(&block7, &tmp3, &tmp4, &tmp5, &tmp6);
4715 : ca_.Goto(&block2, tmp3, tmp4, tmp5);
4716 : }
4717 :
4718 32 : if (block8.is_used()) {
4719 : compiler::TNode<BoolT> tmp7;
4720 : compiler::TNode<BoolT> tmp8;
4721 : compiler::TNode<BoolT> tmp9;
4722 : compiler::TNode<BoolT> tmp10;
4723 : ca_.Bind(&block8, &tmp7, &tmp8, &tmp9, &tmp10);
4724 : ca_.Goto(&block6, tmp7, tmp8, tmp9);
4725 : }
4726 :
4727 32 : if (block6.is_used()) {
4728 : compiler::TNode<BoolT> tmp11;
4729 : compiler::TNode<BoolT> tmp12;
4730 : compiler::TNode<BoolT> tmp13;
4731 : ca_.Bind(&block6, &tmp11, &tmp12, &tmp13);
4732 32 : ca_.Branch(tmp12, &block9, &block3, tmp11, tmp12, tmp13);
4733 : }
4734 :
4735 32 : if (block9.is_used()) {
4736 : compiler::TNode<BoolT> tmp14;
4737 : compiler::TNode<BoolT> tmp15;
4738 : compiler::TNode<BoolT> tmp16;
4739 : ca_.Bind(&block9, &tmp14, &tmp15, &tmp16);
4740 32 : ca_.Branch(tmp16, &block2, &block3, tmp14, tmp15, tmp16);
4741 : }
4742 :
4743 32 : if (block2.is_used()) {
4744 : compiler::TNode<BoolT> tmp17;
4745 : compiler::TNode<BoolT> tmp18;
4746 : compiler::TNode<BoolT> tmp19;
4747 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
4748 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
4749 : }
4750 :
4751 32 : if (block3.is_used()) {
4752 : compiler::TNode<BoolT> tmp20;
4753 : compiler::TNode<BoolT> tmp21;
4754 : compiler::TNode<BoolT> tmp22;
4755 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
4756 : compiler::TNode<BoolT> tmp23;
4757 : USE(tmp23);
4758 96 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
4759 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
4760 : }
4761 :
4762 32 : if (block5.is_used()) {
4763 : compiler::TNode<BoolT> tmp24;
4764 : compiler::TNode<BoolT> tmp25;
4765 : compiler::TNode<BoolT> tmp26;
4766 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
4767 : compiler::TNode<BoolT> tmp27;
4768 : USE(tmp27);
4769 96 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
4770 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
4771 : }
4772 :
4773 32 : if (block4.is_used()) {
4774 : compiler::TNode<BoolT> tmp28;
4775 : compiler::TNode<BoolT> tmp29;
4776 : compiler::TNode<BoolT> tmp30;
4777 : compiler::TNode<BoolT> tmp31;
4778 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
4779 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
4780 : }
4781 :
4782 32 : if (block1.is_used()) {
4783 : compiler::TNode<BoolT> tmp32;
4784 : compiler::TNode<BoolT> tmp33;
4785 : compiler::TNode<BoolT> tmp34;
4786 : compiler::TNode<BoolT> tmp35;
4787 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
4788 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 526);
4789 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
4790 : }
4791 :
4792 : compiler::TNode<BoolT> tmp36;
4793 : compiler::TNode<BoolT> tmp37;
4794 : compiler::TNode<BoolT> tmp38;
4795 : compiler::TNode<BoolT> tmp39;
4796 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
4797 64 : return compiler::TNode<BoolT>{tmp39};
4798 : }
4799 :
4800 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestOrAnd2(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
4801 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4802 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4803 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4804 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4805 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4806 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4807 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4808 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4809 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4810 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4811 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4812 : ca_.Goto(&block0, p_x, p_y, p_z);
4813 :
4814 32 : if (block0.is_used()) {
4815 : compiler::TNode<BoolT> tmp0;
4816 : compiler::TNode<BoolT> tmp1;
4817 : compiler::TNode<BoolT> tmp2;
4818 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
4819 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 531);
4820 32 : ca_.Branch(tmp0, &block2, &block6, tmp0, tmp1, tmp2);
4821 : }
4822 :
4823 32 : if (block6.is_used()) {
4824 : compiler::TNode<BoolT> tmp3;
4825 : compiler::TNode<BoolT> tmp4;
4826 : compiler::TNode<BoolT> tmp5;
4827 : ca_.Bind(&block6, &tmp3, &tmp4, &tmp5);
4828 32 : compiler::CodeAssemblerLabel label0(&ca_);
4829 32 : compiler::CodeAssemblerLabel label1(&ca_);
4830 96 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp4}, &label0, &label1);
4831 32 : if (label0.is_used()) {
4832 32 : ca_.Bind(&label0);
4833 : ca_.Goto(&block8, tmp3, tmp4, tmp5, tmp4);
4834 : }
4835 32 : if (label1.is_used()) {
4836 32 : ca_.Bind(&label1);
4837 : ca_.Goto(&block9, tmp3, tmp4, tmp5, tmp4);
4838 : }
4839 : }
4840 :
4841 32 : if (block8.is_used()) {
4842 : compiler::TNode<BoolT> tmp6;
4843 : compiler::TNode<BoolT> tmp7;
4844 : compiler::TNode<BoolT> tmp8;
4845 : compiler::TNode<BoolT> tmp9;
4846 : ca_.Bind(&block8, &tmp6, &tmp7, &tmp8, &tmp9);
4847 : ca_.Goto(&block7, tmp6, tmp7, tmp8);
4848 : }
4849 :
4850 32 : if (block9.is_used()) {
4851 : compiler::TNode<BoolT> tmp10;
4852 : compiler::TNode<BoolT> tmp11;
4853 : compiler::TNode<BoolT> tmp12;
4854 : compiler::TNode<BoolT> tmp13;
4855 : ca_.Bind(&block9, &tmp10, &tmp11, &tmp12, &tmp13);
4856 : ca_.Goto(&block3, tmp10, tmp11, tmp12);
4857 : }
4858 :
4859 32 : if (block7.is_used()) {
4860 : compiler::TNode<BoolT> tmp14;
4861 : compiler::TNode<BoolT> tmp15;
4862 : compiler::TNode<BoolT> tmp16;
4863 : ca_.Bind(&block7, &tmp14, &tmp15, &tmp16);
4864 32 : ca_.Branch(tmp16, &block2, &block3, tmp14, tmp15, tmp16);
4865 : }
4866 :
4867 32 : if (block2.is_used()) {
4868 : compiler::TNode<BoolT> tmp17;
4869 : compiler::TNode<BoolT> tmp18;
4870 : compiler::TNode<BoolT> tmp19;
4871 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
4872 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
4873 : }
4874 :
4875 32 : if (block3.is_used()) {
4876 : compiler::TNode<BoolT> tmp20;
4877 : compiler::TNode<BoolT> tmp21;
4878 : compiler::TNode<BoolT> tmp22;
4879 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
4880 : compiler::TNode<BoolT> tmp23;
4881 : USE(tmp23);
4882 96 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
4883 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
4884 : }
4885 :
4886 32 : if (block5.is_used()) {
4887 : compiler::TNode<BoolT> tmp24;
4888 : compiler::TNode<BoolT> tmp25;
4889 : compiler::TNode<BoolT> tmp26;
4890 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
4891 : compiler::TNode<BoolT> tmp27;
4892 : USE(tmp27);
4893 96 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
4894 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
4895 : }
4896 :
4897 32 : if (block4.is_used()) {
4898 : compiler::TNode<BoolT> tmp28;
4899 : compiler::TNode<BoolT> tmp29;
4900 : compiler::TNode<BoolT> tmp30;
4901 : compiler::TNode<BoolT> tmp31;
4902 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
4903 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
4904 : }
4905 :
4906 32 : if (block1.is_used()) {
4907 : compiler::TNode<BoolT> tmp32;
4908 : compiler::TNode<BoolT> tmp33;
4909 : compiler::TNode<BoolT> tmp34;
4910 : compiler::TNode<BoolT> tmp35;
4911 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
4912 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 530);
4913 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
4914 : }
4915 :
4916 : compiler::TNode<BoolT> tmp36;
4917 : compiler::TNode<BoolT> tmp37;
4918 : compiler::TNode<BoolT> tmp38;
4919 : compiler::TNode<BoolT> tmp39;
4920 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
4921 64 : return compiler::TNode<BoolT>{tmp39};
4922 : }
4923 :
4924 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestOrAnd3(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
4925 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4926 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4927 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4928 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4929 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4930 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4931 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4932 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4933 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4934 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4935 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4936 : ca_.Goto(&block0, p_x, p_y, p_z);
4937 :
4938 32 : if (block0.is_used()) {
4939 : compiler::TNode<BoolT> tmp0;
4940 : compiler::TNode<BoolT> tmp1;
4941 : compiler::TNode<BoolT> tmp2;
4942 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
4943 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 535);
4944 32 : ca_.Branch(tmp0, &block2, &block6, tmp0, tmp1, tmp2);
4945 : }
4946 :
4947 32 : if (block6.is_used()) {
4948 : compiler::TNode<BoolT> tmp3;
4949 : compiler::TNode<BoolT> tmp4;
4950 : compiler::TNode<BoolT> tmp5;
4951 : ca_.Bind(&block6, &tmp3, &tmp4, &tmp5);
4952 32 : ca_.Branch(tmp4, &block7, &block3, tmp3, tmp4, tmp5);
4953 : }
4954 :
4955 32 : if (block7.is_used()) {
4956 : compiler::TNode<BoolT> tmp6;
4957 : compiler::TNode<BoolT> tmp7;
4958 : compiler::TNode<BoolT> tmp8;
4959 : ca_.Bind(&block7, &tmp6, &tmp7, &tmp8);
4960 32 : compiler::CodeAssemblerLabel label0(&ca_);
4961 32 : compiler::CodeAssemblerLabel label1(&ca_);
4962 96 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp8}, &label0, &label1);
4963 32 : if (label0.is_used()) {
4964 32 : ca_.Bind(&label0);
4965 : ca_.Goto(&block8, tmp6, tmp7, tmp8, tmp8);
4966 : }
4967 32 : if (label1.is_used()) {
4968 32 : ca_.Bind(&label1);
4969 : ca_.Goto(&block9, tmp6, tmp7, tmp8, tmp8);
4970 : }
4971 : }
4972 :
4973 32 : if (block8.is_used()) {
4974 : compiler::TNode<BoolT> tmp9;
4975 : compiler::TNode<BoolT> tmp10;
4976 : compiler::TNode<BoolT> tmp11;
4977 : compiler::TNode<BoolT> tmp12;
4978 : ca_.Bind(&block8, &tmp9, &tmp10, &tmp11, &tmp12);
4979 : ca_.Goto(&block2, tmp9, tmp10, tmp11);
4980 : }
4981 :
4982 32 : if (block9.is_used()) {
4983 : compiler::TNode<BoolT> tmp13;
4984 : compiler::TNode<BoolT> tmp14;
4985 : compiler::TNode<BoolT> tmp15;
4986 : compiler::TNode<BoolT> tmp16;
4987 : ca_.Bind(&block9, &tmp13, &tmp14, &tmp15, &tmp16);
4988 : ca_.Goto(&block3, tmp13, tmp14, tmp15);
4989 : }
4990 :
4991 32 : if (block2.is_used()) {
4992 : compiler::TNode<BoolT> tmp17;
4993 : compiler::TNode<BoolT> tmp18;
4994 : compiler::TNode<BoolT> tmp19;
4995 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
4996 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
4997 : }
4998 :
4999 32 : if (block3.is_used()) {
5000 : compiler::TNode<BoolT> tmp20;
5001 : compiler::TNode<BoolT> tmp21;
5002 : compiler::TNode<BoolT> tmp22;
5003 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
5004 : compiler::TNode<BoolT> tmp23;
5005 : USE(tmp23);
5006 96 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5007 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
5008 : }
5009 :
5010 32 : if (block5.is_used()) {
5011 : compiler::TNode<BoolT> tmp24;
5012 : compiler::TNode<BoolT> tmp25;
5013 : compiler::TNode<BoolT> tmp26;
5014 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
5015 : compiler::TNode<BoolT> tmp27;
5016 : USE(tmp27);
5017 96 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5018 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
5019 : }
5020 :
5021 32 : if (block4.is_used()) {
5022 : compiler::TNode<BoolT> tmp28;
5023 : compiler::TNode<BoolT> tmp29;
5024 : compiler::TNode<BoolT> tmp30;
5025 : compiler::TNode<BoolT> tmp31;
5026 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
5027 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
5028 : }
5029 :
5030 32 : if (block1.is_used()) {
5031 : compiler::TNode<BoolT> tmp32;
5032 : compiler::TNode<BoolT> tmp33;
5033 : compiler::TNode<BoolT> tmp34;
5034 : compiler::TNode<BoolT> tmp35;
5035 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
5036 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 534);
5037 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
5038 : }
5039 :
5040 : compiler::TNode<BoolT> tmp36;
5041 : compiler::TNode<BoolT> tmp37;
5042 : compiler::TNode<BoolT> tmp38;
5043 : compiler::TNode<BoolT> tmp39;
5044 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
5045 64 : return compiler::TNode<BoolT>{tmp39};
5046 : }
5047 :
5048 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestAndOr1(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
5049 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5050 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5051 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5052 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5053 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5054 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5055 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5056 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5057 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5058 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5059 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5060 : ca_.Goto(&block0, p_x, p_y, p_z);
5061 :
5062 32 : if (block0.is_used()) {
5063 : compiler::TNode<BoolT> tmp0;
5064 : compiler::TNode<BoolT> tmp1;
5065 : compiler::TNode<BoolT> tmp2;
5066 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
5067 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 539);
5068 32 : compiler::CodeAssemblerLabel label0(&ca_);
5069 32 : compiler::CodeAssemblerLabel label1(&ca_);
5070 96 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp0}, &label0, &label1);
5071 32 : if (label0.is_used()) {
5072 32 : ca_.Bind(&label0);
5073 : ca_.Goto(&block8, tmp0, tmp1, tmp2, tmp0);
5074 : }
5075 32 : if (label1.is_used()) {
5076 32 : ca_.Bind(&label1);
5077 : ca_.Goto(&block9, tmp0, tmp1, tmp2, tmp0);
5078 : }
5079 : }
5080 :
5081 32 : if (block8.is_used()) {
5082 : compiler::TNode<BoolT> tmp3;
5083 : compiler::TNode<BoolT> tmp4;
5084 : compiler::TNode<BoolT> tmp5;
5085 : compiler::TNode<BoolT> tmp6;
5086 : ca_.Bind(&block8, &tmp3, &tmp4, &tmp5, &tmp6);
5087 : ca_.Goto(&block7, tmp3, tmp4, tmp5);
5088 : }
5089 :
5090 32 : if (block9.is_used()) {
5091 : compiler::TNode<BoolT> tmp7;
5092 : compiler::TNode<BoolT> tmp8;
5093 : compiler::TNode<BoolT> tmp9;
5094 : compiler::TNode<BoolT> tmp10;
5095 : ca_.Bind(&block9, &tmp7, &tmp8, &tmp9, &tmp10);
5096 : ca_.Goto(&block6, tmp7, tmp8, tmp9);
5097 : }
5098 :
5099 32 : if (block7.is_used()) {
5100 : compiler::TNode<BoolT> tmp11;
5101 : compiler::TNode<BoolT> tmp12;
5102 : compiler::TNode<BoolT> tmp13;
5103 : ca_.Bind(&block7, &tmp11, &tmp12, &tmp13);
5104 32 : ca_.Branch(tmp12, &block2, &block6, tmp11, tmp12, tmp13);
5105 : }
5106 :
5107 32 : if (block6.is_used()) {
5108 : compiler::TNode<BoolT> tmp14;
5109 : compiler::TNode<BoolT> tmp15;
5110 : compiler::TNode<BoolT> tmp16;
5111 : ca_.Bind(&block6, &tmp14, &tmp15, &tmp16);
5112 32 : ca_.Branch(tmp16, &block2, &block3, tmp14, tmp15, tmp16);
5113 : }
5114 :
5115 32 : if (block2.is_used()) {
5116 : compiler::TNode<BoolT> tmp17;
5117 : compiler::TNode<BoolT> tmp18;
5118 : compiler::TNode<BoolT> tmp19;
5119 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
5120 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
5121 : }
5122 :
5123 32 : if (block3.is_used()) {
5124 : compiler::TNode<BoolT> tmp20;
5125 : compiler::TNode<BoolT> tmp21;
5126 : compiler::TNode<BoolT> tmp22;
5127 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
5128 : compiler::TNode<BoolT> tmp23;
5129 : USE(tmp23);
5130 96 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5131 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
5132 : }
5133 :
5134 32 : if (block5.is_used()) {
5135 : compiler::TNode<BoolT> tmp24;
5136 : compiler::TNode<BoolT> tmp25;
5137 : compiler::TNode<BoolT> tmp26;
5138 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
5139 : compiler::TNode<BoolT> tmp27;
5140 : USE(tmp27);
5141 96 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5142 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
5143 : }
5144 :
5145 32 : if (block4.is_used()) {
5146 : compiler::TNode<BoolT> tmp28;
5147 : compiler::TNode<BoolT> tmp29;
5148 : compiler::TNode<BoolT> tmp30;
5149 : compiler::TNode<BoolT> tmp31;
5150 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
5151 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
5152 : }
5153 :
5154 32 : if (block1.is_used()) {
5155 : compiler::TNode<BoolT> tmp32;
5156 : compiler::TNode<BoolT> tmp33;
5157 : compiler::TNode<BoolT> tmp34;
5158 : compiler::TNode<BoolT> tmp35;
5159 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
5160 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 538);
5161 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
5162 : }
5163 :
5164 : compiler::TNode<BoolT> tmp36;
5165 : compiler::TNode<BoolT> tmp37;
5166 : compiler::TNode<BoolT> tmp38;
5167 : compiler::TNode<BoolT> tmp39;
5168 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
5169 64 : return compiler::TNode<BoolT>{tmp39};
5170 : }
5171 :
5172 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestAndOr2(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
5173 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5174 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5175 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5176 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5177 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5178 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5179 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5180 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5181 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5182 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5183 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5184 : ca_.Goto(&block0, p_x, p_y, p_z);
5185 :
5186 32 : if (block0.is_used()) {
5187 : compiler::TNode<BoolT> tmp0;
5188 : compiler::TNode<BoolT> tmp1;
5189 : compiler::TNode<BoolT> tmp2;
5190 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
5191 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 543);
5192 32 : ca_.Branch(tmp0, &block7, &block6, tmp0, tmp1, tmp2);
5193 : }
5194 :
5195 32 : if (block7.is_used()) {
5196 : compiler::TNode<BoolT> tmp3;
5197 : compiler::TNode<BoolT> tmp4;
5198 : compiler::TNode<BoolT> tmp5;
5199 : ca_.Bind(&block7, &tmp3, &tmp4, &tmp5);
5200 32 : compiler::CodeAssemblerLabel label0(&ca_);
5201 32 : compiler::CodeAssemblerLabel label1(&ca_);
5202 96 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp4}, &label0, &label1);
5203 32 : if (label0.is_used()) {
5204 32 : ca_.Bind(&label0);
5205 : ca_.Goto(&block8, tmp3, tmp4, tmp5, tmp4);
5206 : }
5207 32 : if (label1.is_used()) {
5208 32 : ca_.Bind(&label1);
5209 : ca_.Goto(&block9, tmp3, tmp4, tmp5, tmp4);
5210 : }
5211 : }
5212 :
5213 32 : if (block8.is_used()) {
5214 : compiler::TNode<BoolT> tmp6;
5215 : compiler::TNode<BoolT> tmp7;
5216 : compiler::TNode<BoolT> tmp8;
5217 : compiler::TNode<BoolT> tmp9;
5218 : ca_.Bind(&block8, &tmp6, &tmp7, &tmp8, &tmp9);
5219 : ca_.Goto(&block2, tmp6, tmp7, tmp8);
5220 : }
5221 :
5222 32 : if (block9.is_used()) {
5223 : compiler::TNode<BoolT> tmp10;
5224 : compiler::TNode<BoolT> tmp11;
5225 : compiler::TNode<BoolT> tmp12;
5226 : compiler::TNode<BoolT> tmp13;
5227 : ca_.Bind(&block9, &tmp10, &tmp11, &tmp12, &tmp13);
5228 : ca_.Goto(&block6, tmp10, tmp11, tmp12);
5229 : }
5230 :
5231 32 : if (block6.is_used()) {
5232 : compiler::TNode<BoolT> tmp14;
5233 : compiler::TNode<BoolT> tmp15;
5234 : compiler::TNode<BoolT> tmp16;
5235 : ca_.Bind(&block6, &tmp14, &tmp15, &tmp16);
5236 32 : ca_.Branch(tmp16, &block2, &block3, tmp14, tmp15, tmp16);
5237 : }
5238 :
5239 32 : if (block2.is_used()) {
5240 : compiler::TNode<BoolT> tmp17;
5241 : compiler::TNode<BoolT> tmp18;
5242 : compiler::TNode<BoolT> tmp19;
5243 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
5244 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
5245 : }
5246 :
5247 32 : if (block3.is_used()) {
5248 : compiler::TNode<BoolT> tmp20;
5249 : compiler::TNode<BoolT> tmp21;
5250 : compiler::TNode<BoolT> tmp22;
5251 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
5252 : compiler::TNode<BoolT> tmp23;
5253 : USE(tmp23);
5254 96 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5255 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
5256 : }
5257 :
5258 32 : if (block5.is_used()) {
5259 : compiler::TNode<BoolT> tmp24;
5260 : compiler::TNode<BoolT> tmp25;
5261 : compiler::TNode<BoolT> tmp26;
5262 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
5263 : compiler::TNode<BoolT> tmp27;
5264 : USE(tmp27);
5265 96 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5266 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
5267 : }
5268 :
5269 32 : if (block4.is_used()) {
5270 : compiler::TNode<BoolT> tmp28;
5271 : compiler::TNode<BoolT> tmp29;
5272 : compiler::TNode<BoolT> tmp30;
5273 : compiler::TNode<BoolT> tmp31;
5274 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
5275 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
5276 : }
5277 :
5278 32 : if (block1.is_used()) {
5279 : compiler::TNode<BoolT> tmp32;
5280 : compiler::TNode<BoolT> tmp33;
5281 : compiler::TNode<BoolT> tmp34;
5282 : compiler::TNode<BoolT> tmp35;
5283 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
5284 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 542);
5285 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
5286 : }
5287 :
5288 : compiler::TNode<BoolT> tmp36;
5289 : compiler::TNode<BoolT> tmp37;
5290 : compiler::TNode<BoolT> tmp38;
5291 : compiler::TNode<BoolT> tmp39;
5292 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
5293 64 : return compiler::TNode<BoolT>{tmp39};
5294 : }
5295 :
5296 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestAndOr3(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
5297 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5298 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5299 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5300 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5301 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5302 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5303 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5304 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5305 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5306 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5307 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5308 : ca_.Goto(&block0, p_x, p_y, p_z);
5309 :
5310 32 : if (block0.is_used()) {
5311 : compiler::TNode<BoolT> tmp0;
5312 : compiler::TNode<BoolT> tmp1;
5313 : compiler::TNode<BoolT> tmp2;
5314 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
5315 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 547);
5316 32 : ca_.Branch(tmp0, &block7, &block6, tmp0, tmp1, tmp2);
5317 : }
5318 :
5319 32 : if (block7.is_used()) {
5320 : compiler::TNode<BoolT> tmp3;
5321 : compiler::TNode<BoolT> tmp4;
5322 : compiler::TNode<BoolT> tmp5;
5323 : ca_.Bind(&block7, &tmp3, &tmp4, &tmp5);
5324 32 : ca_.Branch(tmp4, &block2, &block6, tmp3, tmp4, tmp5);
5325 : }
5326 :
5327 32 : if (block6.is_used()) {
5328 : compiler::TNode<BoolT> tmp6;
5329 : compiler::TNode<BoolT> tmp7;
5330 : compiler::TNode<BoolT> tmp8;
5331 : ca_.Bind(&block6, &tmp6, &tmp7, &tmp8);
5332 32 : compiler::CodeAssemblerLabel label0(&ca_);
5333 32 : compiler::CodeAssemblerLabel label1(&ca_);
5334 96 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp8}, &label0, &label1);
5335 32 : if (label0.is_used()) {
5336 32 : ca_.Bind(&label0);
5337 : ca_.Goto(&block8, tmp6, tmp7, tmp8, tmp8);
5338 : }
5339 32 : if (label1.is_used()) {
5340 32 : ca_.Bind(&label1);
5341 : ca_.Goto(&block9, tmp6, tmp7, tmp8, tmp8);
5342 : }
5343 : }
5344 :
5345 32 : if (block8.is_used()) {
5346 : compiler::TNode<BoolT> tmp9;
5347 : compiler::TNode<BoolT> tmp10;
5348 : compiler::TNode<BoolT> tmp11;
5349 : compiler::TNode<BoolT> tmp12;
5350 : ca_.Bind(&block8, &tmp9, &tmp10, &tmp11, &tmp12);
5351 : ca_.Goto(&block2, tmp9, tmp10, tmp11);
5352 : }
5353 :
5354 32 : if (block9.is_used()) {
5355 : compiler::TNode<BoolT> tmp13;
5356 : compiler::TNode<BoolT> tmp14;
5357 : compiler::TNode<BoolT> tmp15;
5358 : compiler::TNode<BoolT> tmp16;
5359 : ca_.Bind(&block9, &tmp13, &tmp14, &tmp15, &tmp16);
5360 : ca_.Goto(&block3, tmp13, tmp14, tmp15);
5361 : }
5362 :
5363 32 : if (block2.is_used()) {
5364 : compiler::TNode<BoolT> tmp17;
5365 : compiler::TNode<BoolT> tmp18;
5366 : compiler::TNode<BoolT> tmp19;
5367 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
5368 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
5369 : }
5370 :
5371 32 : if (block3.is_used()) {
5372 : compiler::TNode<BoolT> tmp20;
5373 : compiler::TNode<BoolT> tmp21;
5374 : compiler::TNode<BoolT> tmp22;
5375 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
5376 : compiler::TNode<BoolT> tmp23;
5377 : USE(tmp23);
5378 96 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5379 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
5380 : }
5381 :
5382 32 : if (block5.is_used()) {
5383 : compiler::TNode<BoolT> tmp24;
5384 : compiler::TNode<BoolT> tmp25;
5385 : compiler::TNode<BoolT> tmp26;
5386 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
5387 : compiler::TNode<BoolT> tmp27;
5388 : USE(tmp27);
5389 96 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5390 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
5391 : }
5392 :
5393 32 : if (block4.is_used()) {
5394 : compiler::TNode<BoolT> tmp28;
5395 : compiler::TNode<BoolT> tmp29;
5396 : compiler::TNode<BoolT> tmp30;
5397 : compiler::TNode<BoolT> tmp31;
5398 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
5399 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
5400 : }
5401 :
5402 32 : if (block1.is_used()) {
5403 : compiler::TNode<BoolT> tmp32;
5404 : compiler::TNode<BoolT> tmp33;
5405 : compiler::TNode<BoolT> tmp34;
5406 : compiler::TNode<BoolT> tmp35;
5407 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
5408 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 546);
5409 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
5410 : }
5411 :
5412 : compiler::TNode<BoolT> tmp36;
5413 : compiler::TNode<BoolT> tmp37;
5414 : compiler::TNode<BoolT> tmp38;
5415 : compiler::TNode<BoolT> tmp39;
5416 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
5417 64 : return compiler::TNode<BoolT>{tmp39};
5418 : }
5419 :
5420 4 : void TestBuiltinsFromDSLAssembler::TestLogicalOperators() {
5421 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5422 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5423 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5424 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5425 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5426 : compiler::CodeAssemblerParameterizedLabel<> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5427 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5428 : compiler::CodeAssemblerParameterizedLabel<> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5429 : compiler::CodeAssemblerParameterizedLabel<> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5430 : compiler::CodeAssemblerParameterizedLabel<> block11(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5431 : compiler::CodeAssemblerParameterizedLabel<> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5432 : compiler::CodeAssemblerParameterizedLabel<> block13(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5433 : compiler::CodeAssemblerParameterizedLabel<> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5434 : compiler::CodeAssemblerParameterizedLabel<> block15(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5435 : compiler::CodeAssemblerParameterizedLabel<> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5436 : compiler::CodeAssemblerParameterizedLabel<> block17(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5437 : compiler::CodeAssemblerParameterizedLabel<> block16(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5438 : compiler::CodeAssemblerParameterizedLabel<> block19(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5439 : compiler::CodeAssemblerParameterizedLabel<> block18(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5440 : compiler::CodeAssemblerParameterizedLabel<> block21(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5441 : compiler::CodeAssemblerParameterizedLabel<> block20(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5442 : compiler::CodeAssemblerParameterizedLabel<> block23(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5443 : compiler::CodeAssemblerParameterizedLabel<> block22(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5444 : compiler::CodeAssemblerParameterizedLabel<> block25(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5445 : compiler::CodeAssemblerParameterizedLabel<> block24(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5446 : compiler::CodeAssemblerParameterizedLabel<> block27(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5447 : compiler::CodeAssemblerParameterizedLabel<> block26(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5448 : compiler::CodeAssemblerParameterizedLabel<> block29(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5449 : compiler::CodeAssemblerParameterizedLabel<> block28(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5450 : compiler::CodeAssemblerParameterizedLabel<> block31(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5451 : compiler::CodeAssemblerParameterizedLabel<> block30(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5452 : compiler::CodeAssemblerParameterizedLabel<> block33(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5453 : compiler::CodeAssemblerParameterizedLabel<> block32(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5454 : compiler::CodeAssemblerParameterizedLabel<> block35(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5455 : compiler::CodeAssemblerParameterizedLabel<> block34(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5456 : compiler::CodeAssemblerParameterizedLabel<> block37(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5457 : compiler::CodeAssemblerParameterizedLabel<> block36(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5458 : compiler::CodeAssemblerParameterizedLabel<> block39(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5459 : compiler::CodeAssemblerParameterizedLabel<> block38(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5460 : compiler::CodeAssemblerParameterizedLabel<> block41(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5461 : compiler::CodeAssemblerParameterizedLabel<> block40(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5462 : compiler::CodeAssemblerParameterizedLabel<> block43(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5463 : compiler::CodeAssemblerParameterizedLabel<> block42(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5464 : compiler::CodeAssemblerParameterizedLabel<> block45(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5465 : compiler::CodeAssemblerParameterizedLabel<> block44(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5466 : compiler::CodeAssemblerParameterizedLabel<> block47(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5467 : compiler::CodeAssemblerParameterizedLabel<> block46(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5468 : compiler::CodeAssemblerParameterizedLabel<> block49(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5469 : compiler::CodeAssemblerParameterizedLabel<> block48(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5470 : compiler::CodeAssemblerParameterizedLabel<> block51(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5471 : compiler::CodeAssemblerParameterizedLabel<> block50(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5472 : compiler::CodeAssemblerParameterizedLabel<> block53(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5473 : compiler::CodeAssemblerParameterizedLabel<> block52(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5474 : compiler::CodeAssemblerParameterizedLabel<> block55(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5475 : compiler::CodeAssemblerParameterizedLabel<> block54(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5476 : compiler::CodeAssemblerParameterizedLabel<> block57(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5477 : compiler::CodeAssemblerParameterizedLabel<> block56(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5478 : compiler::CodeAssemblerParameterizedLabel<> block59(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5479 : compiler::CodeAssemblerParameterizedLabel<> block58(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5480 : compiler::CodeAssemblerParameterizedLabel<> block61(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5481 : compiler::CodeAssemblerParameterizedLabel<> block60(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5482 : compiler::CodeAssemblerParameterizedLabel<> block63(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5483 : compiler::CodeAssemblerParameterizedLabel<> block62(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5484 : compiler::CodeAssemblerParameterizedLabel<> block65(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5485 : compiler::CodeAssemblerParameterizedLabel<> block64(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5486 : compiler::CodeAssemblerParameterizedLabel<> block67(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5487 : compiler::CodeAssemblerParameterizedLabel<> block66(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5488 : compiler::CodeAssemblerParameterizedLabel<> block69(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5489 : compiler::CodeAssemblerParameterizedLabel<> block68(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5490 : compiler::CodeAssemblerParameterizedLabel<> block71(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5491 : compiler::CodeAssemblerParameterizedLabel<> block70(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5492 : compiler::CodeAssemblerParameterizedLabel<> block73(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5493 : compiler::CodeAssemblerParameterizedLabel<> block72(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5494 : compiler::CodeAssemblerParameterizedLabel<> block75(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5495 : compiler::CodeAssemblerParameterizedLabel<> block74(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5496 : compiler::CodeAssemblerParameterizedLabel<> block77(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5497 : compiler::CodeAssemblerParameterizedLabel<> block76(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5498 : compiler::CodeAssemblerParameterizedLabel<> block79(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5499 : compiler::CodeAssemblerParameterizedLabel<> block78(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5500 : compiler::CodeAssemblerParameterizedLabel<> block81(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5501 : compiler::CodeAssemblerParameterizedLabel<> block80(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5502 : compiler::CodeAssemblerParameterizedLabel<> block83(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5503 : compiler::CodeAssemblerParameterizedLabel<> block82(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5504 : compiler::CodeAssemblerParameterizedLabel<> block85(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5505 : compiler::CodeAssemblerParameterizedLabel<> block84(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5506 : compiler::CodeAssemblerParameterizedLabel<> block87(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5507 : compiler::CodeAssemblerParameterizedLabel<> block86(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5508 : compiler::CodeAssemblerParameterizedLabel<> block89(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5509 : compiler::CodeAssemblerParameterizedLabel<> block88(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5510 : compiler::CodeAssemblerParameterizedLabel<> block91(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5511 : compiler::CodeAssemblerParameterizedLabel<> block90(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5512 : compiler::CodeAssemblerParameterizedLabel<> block93(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5513 : compiler::CodeAssemblerParameterizedLabel<> block92(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5514 : compiler::CodeAssemblerParameterizedLabel<> block95(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5515 : compiler::CodeAssemblerParameterizedLabel<> block94(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5516 : compiler::CodeAssemblerParameterizedLabel<> block97(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5517 : compiler::CodeAssemblerParameterizedLabel<> block96(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5518 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5519 : compiler::CodeAssemblerParameterizedLabel<> block98(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5520 : ca_.Goto(&block0);
5521 :
5522 4 : if (block0.is_used()) {
5523 : ca_.Bind(&block0);
5524 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 551);
5525 : compiler::TNode<BoolT> tmp0;
5526 : USE(tmp0);
5527 12 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5528 : compiler::TNode<BoolT> tmp1;
5529 : USE(tmp1);
5530 12 : tmp1 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5531 : compiler::TNode<BoolT> tmp2;
5532 : USE(tmp2);
5533 12 : tmp2 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5534 : compiler::TNode<BoolT> tmp3;
5535 : USE(tmp3);
5536 12 : tmp3 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp0}, compiler::TNode<BoolT>{tmp1}, compiler::TNode<BoolT>{tmp2}));
5537 4 : ca_.Branch(tmp3, &block2, &block3);
5538 : }
5539 :
5540 4 : if (block3.is_used()) {
5541 : ca_.Bind(&block3);
5542 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr1(true, true, true)\' failed", "../../test/torque/test-torque.tq", 551);
5543 : }
5544 :
5545 4 : if (block2.is_used()) {
5546 : ca_.Bind(&block2);
5547 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 552);
5548 : compiler::TNode<BoolT> tmp4;
5549 : USE(tmp4);
5550 12 : tmp4 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5551 : compiler::TNode<BoolT> tmp5;
5552 : USE(tmp5);
5553 12 : tmp5 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5554 : compiler::TNode<BoolT> tmp6;
5555 : USE(tmp6);
5556 12 : tmp6 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5557 : compiler::TNode<BoolT> tmp7;
5558 : USE(tmp7);
5559 12 : tmp7 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp4}, compiler::TNode<BoolT>{tmp5}, compiler::TNode<BoolT>{tmp6}));
5560 4 : ca_.Branch(tmp7, &block4, &block5);
5561 : }
5562 :
5563 4 : if (block5.is_used()) {
5564 : ca_.Bind(&block5);
5565 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr2(true, true, true)\' failed", "../../test/torque/test-torque.tq", 552);
5566 : }
5567 :
5568 4 : if (block4.is_used()) {
5569 : ca_.Bind(&block4);
5570 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 553);
5571 : compiler::TNode<BoolT> tmp8;
5572 : USE(tmp8);
5573 12 : tmp8 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5574 : compiler::TNode<BoolT> tmp9;
5575 : USE(tmp9);
5576 12 : tmp9 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5577 : compiler::TNode<BoolT> tmp10;
5578 : USE(tmp10);
5579 12 : tmp10 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5580 : compiler::TNode<BoolT> tmp11;
5581 : USE(tmp11);
5582 12 : tmp11 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp8}, compiler::TNode<BoolT>{tmp9}, compiler::TNode<BoolT>{tmp10}));
5583 4 : ca_.Branch(tmp11, &block6, &block7);
5584 : }
5585 :
5586 4 : if (block7.is_used()) {
5587 : ca_.Bind(&block7);
5588 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr3(true, true, true)\' failed", "../../test/torque/test-torque.tq", 553);
5589 : }
5590 :
5591 4 : if (block6.is_used()) {
5592 : ca_.Bind(&block6);
5593 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 554);
5594 : compiler::TNode<BoolT> tmp12;
5595 : USE(tmp12);
5596 12 : tmp12 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5597 : compiler::TNode<BoolT> tmp13;
5598 : USE(tmp13);
5599 12 : tmp13 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5600 : compiler::TNode<BoolT> tmp14;
5601 : USE(tmp14);
5602 12 : tmp14 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5603 : compiler::TNode<BoolT> tmp15;
5604 : USE(tmp15);
5605 12 : tmp15 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp12}, compiler::TNode<BoolT>{tmp13}, compiler::TNode<BoolT>{tmp14}));
5606 4 : ca_.Branch(tmp15, &block8, &block9);
5607 : }
5608 :
5609 4 : if (block9.is_used()) {
5610 : ca_.Bind(&block9);
5611 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr1(true, true, false)\' failed", "../../test/torque/test-torque.tq", 554);
5612 : }
5613 :
5614 4 : if (block8.is_used()) {
5615 : ca_.Bind(&block8);
5616 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 555);
5617 : compiler::TNode<BoolT> tmp16;
5618 : USE(tmp16);
5619 12 : tmp16 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5620 : compiler::TNode<BoolT> tmp17;
5621 : USE(tmp17);
5622 12 : tmp17 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5623 : compiler::TNode<BoolT> tmp18;
5624 : USE(tmp18);
5625 12 : tmp18 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5626 : compiler::TNode<BoolT> tmp19;
5627 : USE(tmp19);
5628 12 : tmp19 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp16}, compiler::TNode<BoolT>{tmp17}, compiler::TNode<BoolT>{tmp18}));
5629 4 : ca_.Branch(tmp19, &block10, &block11);
5630 : }
5631 :
5632 4 : if (block11.is_used()) {
5633 : ca_.Bind(&block11);
5634 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr2(true, true, false)\' failed", "../../test/torque/test-torque.tq", 555);
5635 : }
5636 :
5637 4 : if (block10.is_used()) {
5638 : ca_.Bind(&block10);
5639 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 556);
5640 : compiler::TNode<BoolT> tmp20;
5641 : USE(tmp20);
5642 12 : tmp20 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5643 : compiler::TNode<BoolT> tmp21;
5644 : USE(tmp21);
5645 12 : tmp21 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5646 : compiler::TNode<BoolT> tmp22;
5647 : USE(tmp22);
5648 12 : tmp22 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5649 : compiler::TNode<BoolT> tmp23;
5650 : USE(tmp23);
5651 12 : tmp23 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp20}, compiler::TNode<BoolT>{tmp21}, compiler::TNode<BoolT>{tmp22}));
5652 4 : ca_.Branch(tmp23, &block12, &block13);
5653 : }
5654 :
5655 4 : if (block13.is_used()) {
5656 : ca_.Bind(&block13);
5657 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr3(true, true, false)\' failed", "../../test/torque/test-torque.tq", 556);
5658 : }
5659 :
5660 4 : if (block12.is_used()) {
5661 : ca_.Bind(&block12);
5662 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 557);
5663 : compiler::TNode<BoolT> tmp24;
5664 : USE(tmp24);
5665 12 : tmp24 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5666 : compiler::TNode<BoolT> tmp25;
5667 : USE(tmp25);
5668 12 : tmp25 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5669 : compiler::TNode<BoolT> tmp26;
5670 : USE(tmp26);
5671 12 : tmp26 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5672 : compiler::TNode<BoolT> tmp27;
5673 : USE(tmp27);
5674 12 : tmp27 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp24}, compiler::TNode<BoolT>{tmp25}, compiler::TNode<BoolT>{tmp26}));
5675 4 : ca_.Branch(tmp27, &block14, &block15);
5676 : }
5677 :
5678 4 : if (block15.is_used()) {
5679 : ca_.Bind(&block15);
5680 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr1(true, false, true)\' failed", "../../test/torque/test-torque.tq", 557);
5681 : }
5682 :
5683 4 : if (block14.is_used()) {
5684 : ca_.Bind(&block14);
5685 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 558);
5686 : compiler::TNode<BoolT> tmp28;
5687 : USE(tmp28);
5688 12 : tmp28 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5689 : compiler::TNode<BoolT> tmp29;
5690 : USE(tmp29);
5691 12 : tmp29 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5692 : compiler::TNode<BoolT> tmp30;
5693 : USE(tmp30);
5694 12 : tmp30 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5695 : compiler::TNode<BoolT> tmp31;
5696 : USE(tmp31);
5697 12 : tmp31 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp28}, compiler::TNode<BoolT>{tmp29}, compiler::TNode<BoolT>{tmp30}));
5698 4 : ca_.Branch(tmp31, &block16, &block17);
5699 : }
5700 :
5701 4 : if (block17.is_used()) {
5702 : ca_.Bind(&block17);
5703 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr2(true, false, true)\' failed", "../../test/torque/test-torque.tq", 558);
5704 : }
5705 :
5706 4 : if (block16.is_used()) {
5707 : ca_.Bind(&block16);
5708 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 559);
5709 : compiler::TNode<BoolT> tmp32;
5710 : USE(tmp32);
5711 12 : tmp32 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5712 : compiler::TNode<BoolT> tmp33;
5713 : USE(tmp33);
5714 12 : tmp33 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5715 : compiler::TNode<BoolT> tmp34;
5716 : USE(tmp34);
5717 12 : tmp34 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5718 : compiler::TNode<BoolT> tmp35;
5719 : USE(tmp35);
5720 12 : tmp35 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp32}, compiler::TNode<BoolT>{tmp33}, compiler::TNode<BoolT>{tmp34}));
5721 4 : ca_.Branch(tmp35, &block18, &block19);
5722 : }
5723 :
5724 4 : if (block19.is_used()) {
5725 : ca_.Bind(&block19);
5726 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr3(true, false, true)\' failed", "../../test/torque/test-torque.tq", 559);
5727 : }
5728 :
5729 4 : if (block18.is_used()) {
5730 : ca_.Bind(&block18);
5731 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 560);
5732 : compiler::TNode<BoolT> tmp36;
5733 : USE(tmp36);
5734 12 : tmp36 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5735 : compiler::TNode<BoolT> tmp37;
5736 : USE(tmp37);
5737 12 : tmp37 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5738 : compiler::TNode<BoolT> tmp38;
5739 : USE(tmp38);
5740 12 : tmp38 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5741 : compiler::TNode<BoolT> tmp39;
5742 : USE(tmp39);
5743 12 : tmp39 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp36}, compiler::TNode<BoolT>{tmp37}, compiler::TNode<BoolT>{tmp38}));
5744 : compiler::TNode<BoolT> tmp40;
5745 : USE(tmp40);
5746 8 : tmp40 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp39}));
5747 4 : ca_.Branch(tmp40, &block20, &block21);
5748 : }
5749 :
5750 4 : if (block21.is_used()) {
5751 : ca_.Bind(&block21);
5752 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr1(true, false, false)\' failed", "../../test/torque/test-torque.tq", 560);
5753 : }
5754 :
5755 4 : if (block20.is_used()) {
5756 : ca_.Bind(&block20);
5757 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 561);
5758 : compiler::TNode<BoolT> tmp41;
5759 : USE(tmp41);
5760 12 : tmp41 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5761 : compiler::TNode<BoolT> tmp42;
5762 : USE(tmp42);
5763 12 : tmp42 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5764 : compiler::TNode<BoolT> tmp43;
5765 : USE(tmp43);
5766 12 : tmp43 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5767 : compiler::TNode<BoolT> tmp44;
5768 : USE(tmp44);
5769 12 : tmp44 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp41}, compiler::TNode<BoolT>{tmp42}, compiler::TNode<BoolT>{tmp43}));
5770 : compiler::TNode<BoolT> tmp45;
5771 : USE(tmp45);
5772 8 : tmp45 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp44}));
5773 4 : ca_.Branch(tmp45, &block22, &block23);
5774 : }
5775 :
5776 4 : if (block23.is_used()) {
5777 : ca_.Bind(&block23);
5778 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr2(true, false, false)\' failed", "../../test/torque/test-torque.tq", 561);
5779 : }
5780 :
5781 4 : if (block22.is_used()) {
5782 : ca_.Bind(&block22);
5783 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 562);
5784 : compiler::TNode<BoolT> tmp46;
5785 : USE(tmp46);
5786 12 : tmp46 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5787 : compiler::TNode<BoolT> tmp47;
5788 : USE(tmp47);
5789 12 : tmp47 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5790 : compiler::TNode<BoolT> tmp48;
5791 : USE(tmp48);
5792 12 : tmp48 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5793 : compiler::TNode<BoolT> tmp49;
5794 : USE(tmp49);
5795 12 : tmp49 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp46}, compiler::TNode<BoolT>{tmp47}, compiler::TNode<BoolT>{tmp48}));
5796 : compiler::TNode<BoolT> tmp50;
5797 : USE(tmp50);
5798 8 : tmp50 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp49}));
5799 4 : ca_.Branch(tmp50, &block24, &block25);
5800 : }
5801 :
5802 4 : if (block25.is_used()) {
5803 : ca_.Bind(&block25);
5804 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr3(true, false, false)\' failed", "../../test/torque/test-torque.tq", 562);
5805 : }
5806 :
5807 4 : if (block24.is_used()) {
5808 : ca_.Bind(&block24);
5809 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 563);
5810 : compiler::TNode<BoolT> tmp51;
5811 : USE(tmp51);
5812 12 : tmp51 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5813 : compiler::TNode<BoolT> tmp52;
5814 : USE(tmp52);
5815 12 : tmp52 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5816 : compiler::TNode<BoolT> tmp53;
5817 : USE(tmp53);
5818 12 : tmp53 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5819 : compiler::TNode<BoolT> tmp54;
5820 : USE(tmp54);
5821 12 : tmp54 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp51}, compiler::TNode<BoolT>{tmp52}, compiler::TNode<BoolT>{tmp53}));
5822 4 : ca_.Branch(tmp54, &block26, &block27);
5823 : }
5824 :
5825 4 : if (block27.is_used()) {
5826 : ca_.Bind(&block27);
5827 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr1(false, true, true)\' failed", "../../test/torque/test-torque.tq", 563);
5828 : }
5829 :
5830 4 : if (block26.is_used()) {
5831 : ca_.Bind(&block26);
5832 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 564);
5833 : compiler::TNode<BoolT> tmp55;
5834 : USE(tmp55);
5835 12 : tmp55 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5836 : compiler::TNode<BoolT> tmp56;
5837 : USE(tmp56);
5838 12 : tmp56 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5839 : compiler::TNode<BoolT> tmp57;
5840 : USE(tmp57);
5841 12 : tmp57 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5842 : compiler::TNode<BoolT> tmp58;
5843 : USE(tmp58);
5844 12 : tmp58 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp55}, compiler::TNode<BoolT>{tmp56}, compiler::TNode<BoolT>{tmp57}));
5845 4 : ca_.Branch(tmp58, &block28, &block29);
5846 : }
5847 :
5848 4 : if (block29.is_used()) {
5849 : ca_.Bind(&block29);
5850 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr2(false, true, true)\' failed", "../../test/torque/test-torque.tq", 564);
5851 : }
5852 :
5853 4 : if (block28.is_used()) {
5854 : ca_.Bind(&block28);
5855 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 565);
5856 : compiler::TNode<BoolT> tmp59;
5857 : USE(tmp59);
5858 12 : tmp59 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5859 : compiler::TNode<BoolT> tmp60;
5860 : USE(tmp60);
5861 12 : tmp60 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5862 : compiler::TNode<BoolT> tmp61;
5863 : USE(tmp61);
5864 12 : tmp61 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5865 : compiler::TNode<BoolT> tmp62;
5866 : USE(tmp62);
5867 12 : tmp62 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp59}, compiler::TNode<BoolT>{tmp60}, compiler::TNode<BoolT>{tmp61}));
5868 4 : ca_.Branch(tmp62, &block30, &block31);
5869 : }
5870 :
5871 4 : if (block31.is_used()) {
5872 : ca_.Bind(&block31);
5873 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr3(false, true, true)\' failed", "../../test/torque/test-torque.tq", 565);
5874 : }
5875 :
5876 4 : if (block30.is_used()) {
5877 : ca_.Bind(&block30);
5878 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 566);
5879 : compiler::TNode<BoolT> tmp63;
5880 : USE(tmp63);
5881 12 : tmp63 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5882 : compiler::TNode<BoolT> tmp64;
5883 : USE(tmp64);
5884 12 : tmp64 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5885 : compiler::TNode<BoolT> tmp65;
5886 : USE(tmp65);
5887 12 : tmp65 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5888 : compiler::TNode<BoolT> tmp66;
5889 : USE(tmp66);
5890 12 : tmp66 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp63}, compiler::TNode<BoolT>{tmp64}, compiler::TNode<BoolT>{tmp65}));
5891 : compiler::TNode<BoolT> tmp67;
5892 : USE(tmp67);
5893 8 : tmp67 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp66}));
5894 4 : ca_.Branch(tmp67, &block32, &block33);
5895 : }
5896 :
5897 4 : if (block33.is_used()) {
5898 : ca_.Bind(&block33);
5899 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr1(false, true, false)\' failed", "../../test/torque/test-torque.tq", 566);
5900 : }
5901 :
5902 4 : if (block32.is_used()) {
5903 : ca_.Bind(&block32);
5904 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 567);
5905 : compiler::TNode<BoolT> tmp68;
5906 : USE(tmp68);
5907 12 : tmp68 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5908 : compiler::TNode<BoolT> tmp69;
5909 : USE(tmp69);
5910 12 : tmp69 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5911 : compiler::TNode<BoolT> tmp70;
5912 : USE(tmp70);
5913 12 : tmp70 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5914 : compiler::TNode<BoolT> tmp71;
5915 : USE(tmp71);
5916 12 : tmp71 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp68}, compiler::TNode<BoolT>{tmp69}, compiler::TNode<BoolT>{tmp70}));
5917 : compiler::TNode<BoolT> tmp72;
5918 : USE(tmp72);
5919 8 : tmp72 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp71}));
5920 4 : ca_.Branch(tmp72, &block34, &block35);
5921 : }
5922 :
5923 4 : if (block35.is_used()) {
5924 : ca_.Bind(&block35);
5925 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr2(false, true, false)\' failed", "../../test/torque/test-torque.tq", 567);
5926 : }
5927 :
5928 4 : if (block34.is_used()) {
5929 : ca_.Bind(&block34);
5930 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 568);
5931 : compiler::TNode<BoolT> tmp73;
5932 : USE(tmp73);
5933 12 : tmp73 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5934 : compiler::TNode<BoolT> tmp74;
5935 : USE(tmp74);
5936 12 : tmp74 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5937 : compiler::TNode<BoolT> tmp75;
5938 : USE(tmp75);
5939 12 : tmp75 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5940 : compiler::TNode<BoolT> tmp76;
5941 : USE(tmp76);
5942 12 : tmp76 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp73}, compiler::TNode<BoolT>{tmp74}, compiler::TNode<BoolT>{tmp75}));
5943 : compiler::TNode<BoolT> tmp77;
5944 : USE(tmp77);
5945 8 : tmp77 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp76}));
5946 4 : ca_.Branch(tmp77, &block36, &block37);
5947 : }
5948 :
5949 4 : if (block37.is_used()) {
5950 : ca_.Bind(&block37);
5951 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr3(false, true, false)\' failed", "../../test/torque/test-torque.tq", 568);
5952 : }
5953 :
5954 4 : if (block36.is_used()) {
5955 : ca_.Bind(&block36);
5956 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 569);
5957 : compiler::TNode<BoolT> tmp78;
5958 : USE(tmp78);
5959 12 : tmp78 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5960 : compiler::TNode<BoolT> tmp79;
5961 : USE(tmp79);
5962 12 : tmp79 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5963 : compiler::TNode<BoolT> tmp80;
5964 : USE(tmp80);
5965 12 : tmp80 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5966 : compiler::TNode<BoolT> tmp81;
5967 : USE(tmp81);
5968 12 : tmp81 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp78}, compiler::TNode<BoolT>{tmp79}, compiler::TNode<BoolT>{tmp80}));
5969 4 : ca_.Branch(tmp81, &block38, &block39);
5970 : }
5971 :
5972 4 : if (block39.is_used()) {
5973 : ca_.Bind(&block39);
5974 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr1(false, false, true)\' failed", "../../test/torque/test-torque.tq", 569);
5975 : }
5976 :
5977 4 : if (block38.is_used()) {
5978 : ca_.Bind(&block38);
5979 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 570);
5980 : compiler::TNode<BoolT> tmp82;
5981 : USE(tmp82);
5982 12 : tmp82 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5983 : compiler::TNode<BoolT> tmp83;
5984 : USE(tmp83);
5985 12 : tmp83 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5986 : compiler::TNode<BoolT> tmp84;
5987 : USE(tmp84);
5988 12 : tmp84 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5989 : compiler::TNode<BoolT> tmp85;
5990 : USE(tmp85);
5991 12 : tmp85 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp82}, compiler::TNode<BoolT>{tmp83}, compiler::TNode<BoolT>{tmp84}));
5992 4 : ca_.Branch(tmp85, &block40, &block41);
5993 : }
5994 :
5995 4 : if (block41.is_used()) {
5996 : ca_.Bind(&block41);
5997 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr2(false, false, true)\' failed", "../../test/torque/test-torque.tq", 570);
5998 : }
5999 :
6000 4 : if (block40.is_used()) {
6001 : ca_.Bind(&block40);
6002 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 571);
6003 : compiler::TNode<BoolT> tmp86;
6004 : USE(tmp86);
6005 12 : tmp86 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6006 : compiler::TNode<BoolT> tmp87;
6007 : USE(tmp87);
6008 12 : tmp87 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6009 : compiler::TNode<BoolT> tmp88;
6010 : USE(tmp88);
6011 12 : tmp88 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6012 : compiler::TNode<BoolT> tmp89;
6013 : USE(tmp89);
6014 12 : tmp89 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp86}, compiler::TNode<BoolT>{tmp87}, compiler::TNode<BoolT>{tmp88}));
6015 4 : ca_.Branch(tmp89, &block42, &block43);
6016 : }
6017 :
6018 4 : if (block43.is_used()) {
6019 : ca_.Bind(&block43);
6020 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr3(false, false, true)\' failed", "../../test/torque/test-torque.tq", 571);
6021 : }
6022 :
6023 4 : if (block42.is_used()) {
6024 : ca_.Bind(&block42);
6025 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 572);
6026 : compiler::TNode<BoolT> tmp90;
6027 : USE(tmp90);
6028 12 : tmp90 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6029 : compiler::TNode<BoolT> tmp91;
6030 : USE(tmp91);
6031 12 : tmp91 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6032 : compiler::TNode<BoolT> tmp92;
6033 : USE(tmp92);
6034 12 : tmp92 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6035 : compiler::TNode<BoolT> tmp93;
6036 : USE(tmp93);
6037 12 : tmp93 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp90}, compiler::TNode<BoolT>{tmp91}, compiler::TNode<BoolT>{tmp92}));
6038 : compiler::TNode<BoolT> tmp94;
6039 : USE(tmp94);
6040 8 : tmp94 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp93}));
6041 4 : ca_.Branch(tmp94, &block44, &block45);
6042 : }
6043 :
6044 4 : if (block45.is_used()) {
6045 : ca_.Bind(&block45);
6046 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr1(false, false, false)\' failed", "../../test/torque/test-torque.tq", 572);
6047 : }
6048 :
6049 4 : if (block44.is_used()) {
6050 : ca_.Bind(&block44);
6051 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 573);
6052 : compiler::TNode<BoolT> tmp95;
6053 : USE(tmp95);
6054 12 : tmp95 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6055 : compiler::TNode<BoolT> tmp96;
6056 : USE(tmp96);
6057 12 : tmp96 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6058 : compiler::TNode<BoolT> tmp97;
6059 : USE(tmp97);
6060 12 : tmp97 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6061 : compiler::TNode<BoolT> tmp98;
6062 : USE(tmp98);
6063 12 : tmp98 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp95}, compiler::TNode<BoolT>{tmp96}, compiler::TNode<BoolT>{tmp97}));
6064 : compiler::TNode<BoolT> tmp99;
6065 : USE(tmp99);
6066 8 : tmp99 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp98}));
6067 4 : ca_.Branch(tmp99, &block46, &block47);
6068 : }
6069 :
6070 4 : if (block47.is_used()) {
6071 : ca_.Bind(&block47);
6072 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr2(false, false, false)\' failed", "../../test/torque/test-torque.tq", 573);
6073 : }
6074 :
6075 4 : if (block46.is_used()) {
6076 : ca_.Bind(&block46);
6077 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 574);
6078 : compiler::TNode<BoolT> tmp100;
6079 : USE(tmp100);
6080 12 : tmp100 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6081 : compiler::TNode<BoolT> tmp101;
6082 : USE(tmp101);
6083 12 : tmp101 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6084 : compiler::TNode<BoolT> tmp102;
6085 : USE(tmp102);
6086 12 : tmp102 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6087 : compiler::TNode<BoolT> tmp103;
6088 : USE(tmp103);
6089 12 : tmp103 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp100}, compiler::TNode<BoolT>{tmp101}, compiler::TNode<BoolT>{tmp102}));
6090 : compiler::TNode<BoolT> tmp104;
6091 : USE(tmp104);
6092 8 : tmp104 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp103}));
6093 4 : ca_.Branch(tmp104, &block48, &block49);
6094 : }
6095 :
6096 4 : if (block49.is_used()) {
6097 : ca_.Bind(&block49);
6098 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr3(false, false, false)\' failed", "../../test/torque/test-torque.tq", 574);
6099 : }
6100 :
6101 4 : if (block48.is_used()) {
6102 : ca_.Bind(&block48);
6103 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 575);
6104 : compiler::TNode<BoolT> tmp105;
6105 : USE(tmp105);
6106 12 : tmp105 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6107 : compiler::TNode<BoolT> tmp106;
6108 : USE(tmp106);
6109 12 : tmp106 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6110 : compiler::TNode<BoolT> tmp107;
6111 : USE(tmp107);
6112 12 : tmp107 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6113 : compiler::TNode<BoolT> tmp108;
6114 : USE(tmp108);
6115 12 : tmp108 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp105}, compiler::TNode<BoolT>{tmp106}, compiler::TNode<BoolT>{tmp107}));
6116 4 : ca_.Branch(tmp108, &block50, &block51);
6117 : }
6118 :
6119 4 : if (block51.is_used()) {
6120 : ca_.Bind(&block51);
6121 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd1(true, true, true)\' failed", "../../test/torque/test-torque.tq", 575);
6122 : }
6123 :
6124 4 : if (block50.is_used()) {
6125 : ca_.Bind(&block50);
6126 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 576);
6127 : compiler::TNode<BoolT> tmp109;
6128 : USE(tmp109);
6129 12 : tmp109 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6130 : compiler::TNode<BoolT> tmp110;
6131 : USE(tmp110);
6132 12 : tmp110 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6133 : compiler::TNode<BoolT> tmp111;
6134 : USE(tmp111);
6135 12 : tmp111 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6136 : compiler::TNode<BoolT> tmp112;
6137 : USE(tmp112);
6138 12 : tmp112 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp109}, compiler::TNode<BoolT>{tmp110}, compiler::TNode<BoolT>{tmp111}));
6139 4 : ca_.Branch(tmp112, &block52, &block53);
6140 : }
6141 :
6142 4 : if (block53.is_used()) {
6143 : ca_.Bind(&block53);
6144 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd2(true, true, true)\' failed", "../../test/torque/test-torque.tq", 576);
6145 : }
6146 :
6147 4 : if (block52.is_used()) {
6148 : ca_.Bind(&block52);
6149 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 577);
6150 : compiler::TNode<BoolT> tmp113;
6151 : USE(tmp113);
6152 12 : tmp113 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6153 : compiler::TNode<BoolT> tmp114;
6154 : USE(tmp114);
6155 12 : tmp114 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6156 : compiler::TNode<BoolT> tmp115;
6157 : USE(tmp115);
6158 12 : tmp115 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6159 : compiler::TNode<BoolT> tmp116;
6160 : USE(tmp116);
6161 12 : tmp116 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp113}, compiler::TNode<BoolT>{tmp114}, compiler::TNode<BoolT>{tmp115}));
6162 4 : ca_.Branch(tmp116, &block54, &block55);
6163 : }
6164 :
6165 4 : if (block55.is_used()) {
6166 : ca_.Bind(&block55);
6167 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd3(true, true, true)\' failed", "../../test/torque/test-torque.tq", 577);
6168 : }
6169 :
6170 4 : if (block54.is_used()) {
6171 : ca_.Bind(&block54);
6172 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 578);
6173 : compiler::TNode<BoolT> tmp117;
6174 : USE(tmp117);
6175 12 : tmp117 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6176 : compiler::TNode<BoolT> tmp118;
6177 : USE(tmp118);
6178 12 : tmp118 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6179 : compiler::TNode<BoolT> tmp119;
6180 : USE(tmp119);
6181 12 : tmp119 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6182 : compiler::TNode<BoolT> tmp120;
6183 : USE(tmp120);
6184 12 : tmp120 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp117}, compiler::TNode<BoolT>{tmp118}, compiler::TNode<BoolT>{tmp119}));
6185 4 : ca_.Branch(tmp120, &block56, &block57);
6186 : }
6187 :
6188 4 : if (block57.is_used()) {
6189 : ca_.Bind(&block57);
6190 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd1(true, true, false)\' failed", "../../test/torque/test-torque.tq", 578);
6191 : }
6192 :
6193 4 : if (block56.is_used()) {
6194 : ca_.Bind(&block56);
6195 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 579);
6196 : compiler::TNode<BoolT> tmp121;
6197 : USE(tmp121);
6198 12 : tmp121 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6199 : compiler::TNode<BoolT> tmp122;
6200 : USE(tmp122);
6201 12 : tmp122 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6202 : compiler::TNode<BoolT> tmp123;
6203 : USE(tmp123);
6204 12 : tmp123 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6205 : compiler::TNode<BoolT> tmp124;
6206 : USE(tmp124);
6207 12 : tmp124 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp121}, compiler::TNode<BoolT>{tmp122}, compiler::TNode<BoolT>{tmp123}));
6208 4 : ca_.Branch(tmp124, &block58, &block59);
6209 : }
6210 :
6211 4 : if (block59.is_used()) {
6212 : ca_.Bind(&block59);
6213 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd2(true, true, false)\' failed", "../../test/torque/test-torque.tq", 579);
6214 : }
6215 :
6216 4 : if (block58.is_used()) {
6217 : ca_.Bind(&block58);
6218 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 580);
6219 : compiler::TNode<BoolT> tmp125;
6220 : USE(tmp125);
6221 12 : tmp125 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6222 : compiler::TNode<BoolT> tmp126;
6223 : USE(tmp126);
6224 12 : tmp126 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6225 : compiler::TNode<BoolT> tmp127;
6226 : USE(tmp127);
6227 12 : tmp127 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6228 : compiler::TNode<BoolT> tmp128;
6229 : USE(tmp128);
6230 12 : tmp128 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp125}, compiler::TNode<BoolT>{tmp126}, compiler::TNode<BoolT>{tmp127}));
6231 4 : ca_.Branch(tmp128, &block60, &block61);
6232 : }
6233 :
6234 4 : if (block61.is_used()) {
6235 : ca_.Bind(&block61);
6236 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd3(true, true, false)\' failed", "../../test/torque/test-torque.tq", 580);
6237 : }
6238 :
6239 4 : if (block60.is_used()) {
6240 : ca_.Bind(&block60);
6241 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 581);
6242 : compiler::TNode<BoolT> tmp129;
6243 : USE(tmp129);
6244 12 : tmp129 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6245 : compiler::TNode<BoolT> tmp130;
6246 : USE(tmp130);
6247 12 : tmp130 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6248 : compiler::TNode<BoolT> tmp131;
6249 : USE(tmp131);
6250 12 : tmp131 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6251 : compiler::TNode<BoolT> tmp132;
6252 : USE(tmp132);
6253 12 : tmp132 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp129}, compiler::TNode<BoolT>{tmp130}, compiler::TNode<BoolT>{tmp131}));
6254 4 : ca_.Branch(tmp132, &block62, &block63);
6255 : }
6256 :
6257 4 : if (block63.is_used()) {
6258 : ca_.Bind(&block63);
6259 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd1(true, false, true)\' failed", "../../test/torque/test-torque.tq", 581);
6260 : }
6261 :
6262 4 : if (block62.is_used()) {
6263 : ca_.Bind(&block62);
6264 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 582);
6265 : compiler::TNode<BoolT> tmp133;
6266 : USE(tmp133);
6267 12 : tmp133 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6268 : compiler::TNode<BoolT> tmp134;
6269 : USE(tmp134);
6270 12 : tmp134 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6271 : compiler::TNode<BoolT> tmp135;
6272 : USE(tmp135);
6273 12 : tmp135 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6274 : compiler::TNode<BoolT> tmp136;
6275 : USE(tmp136);
6276 12 : tmp136 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp133}, compiler::TNode<BoolT>{tmp134}, compiler::TNode<BoolT>{tmp135}));
6277 4 : ca_.Branch(tmp136, &block64, &block65);
6278 : }
6279 :
6280 4 : if (block65.is_used()) {
6281 : ca_.Bind(&block65);
6282 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd2(true, false, true)\' failed", "../../test/torque/test-torque.tq", 582);
6283 : }
6284 :
6285 4 : if (block64.is_used()) {
6286 : ca_.Bind(&block64);
6287 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 583);
6288 : compiler::TNode<BoolT> tmp137;
6289 : USE(tmp137);
6290 12 : tmp137 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6291 : compiler::TNode<BoolT> tmp138;
6292 : USE(tmp138);
6293 12 : tmp138 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6294 : compiler::TNode<BoolT> tmp139;
6295 : USE(tmp139);
6296 12 : tmp139 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6297 : compiler::TNode<BoolT> tmp140;
6298 : USE(tmp140);
6299 12 : tmp140 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp137}, compiler::TNode<BoolT>{tmp138}, compiler::TNode<BoolT>{tmp139}));
6300 4 : ca_.Branch(tmp140, &block66, &block67);
6301 : }
6302 :
6303 4 : if (block67.is_used()) {
6304 : ca_.Bind(&block67);
6305 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd3(true, false, true)\' failed", "../../test/torque/test-torque.tq", 583);
6306 : }
6307 :
6308 4 : if (block66.is_used()) {
6309 : ca_.Bind(&block66);
6310 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 584);
6311 : compiler::TNode<BoolT> tmp141;
6312 : USE(tmp141);
6313 12 : tmp141 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6314 : compiler::TNode<BoolT> tmp142;
6315 : USE(tmp142);
6316 12 : tmp142 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6317 : compiler::TNode<BoolT> tmp143;
6318 : USE(tmp143);
6319 12 : tmp143 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6320 : compiler::TNode<BoolT> tmp144;
6321 : USE(tmp144);
6322 12 : tmp144 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp141}, compiler::TNode<BoolT>{tmp142}, compiler::TNode<BoolT>{tmp143}));
6323 4 : ca_.Branch(tmp144, &block68, &block69);
6324 : }
6325 :
6326 4 : if (block69.is_used()) {
6327 : ca_.Bind(&block69);
6328 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd1(true, false, false)\' failed", "../../test/torque/test-torque.tq", 584);
6329 : }
6330 :
6331 4 : if (block68.is_used()) {
6332 : ca_.Bind(&block68);
6333 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 585);
6334 : compiler::TNode<BoolT> tmp145;
6335 : USE(tmp145);
6336 12 : tmp145 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6337 : compiler::TNode<BoolT> tmp146;
6338 : USE(tmp146);
6339 12 : tmp146 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6340 : compiler::TNode<BoolT> tmp147;
6341 : USE(tmp147);
6342 12 : tmp147 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6343 : compiler::TNode<BoolT> tmp148;
6344 : USE(tmp148);
6345 12 : tmp148 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp145}, compiler::TNode<BoolT>{tmp146}, compiler::TNode<BoolT>{tmp147}));
6346 4 : ca_.Branch(tmp148, &block70, &block71);
6347 : }
6348 :
6349 4 : if (block71.is_used()) {
6350 : ca_.Bind(&block71);
6351 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd2(true, false, false)\' failed", "../../test/torque/test-torque.tq", 585);
6352 : }
6353 :
6354 4 : if (block70.is_used()) {
6355 : ca_.Bind(&block70);
6356 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 586);
6357 : compiler::TNode<BoolT> tmp149;
6358 : USE(tmp149);
6359 12 : tmp149 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6360 : compiler::TNode<BoolT> tmp150;
6361 : USE(tmp150);
6362 12 : tmp150 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6363 : compiler::TNode<BoolT> tmp151;
6364 : USE(tmp151);
6365 12 : tmp151 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6366 : compiler::TNode<BoolT> tmp152;
6367 : USE(tmp152);
6368 12 : tmp152 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp149}, compiler::TNode<BoolT>{tmp150}, compiler::TNode<BoolT>{tmp151}));
6369 4 : ca_.Branch(tmp152, &block72, &block73);
6370 : }
6371 :
6372 4 : if (block73.is_used()) {
6373 : ca_.Bind(&block73);
6374 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd3(true, false, false)\' failed", "../../test/torque/test-torque.tq", 586);
6375 : }
6376 :
6377 4 : if (block72.is_used()) {
6378 : ca_.Bind(&block72);
6379 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 587);
6380 : compiler::TNode<BoolT> tmp153;
6381 : USE(tmp153);
6382 12 : tmp153 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6383 : compiler::TNode<BoolT> tmp154;
6384 : USE(tmp154);
6385 12 : tmp154 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6386 : compiler::TNode<BoolT> tmp155;
6387 : USE(tmp155);
6388 12 : tmp155 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6389 : compiler::TNode<BoolT> tmp156;
6390 : USE(tmp156);
6391 12 : tmp156 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp153}, compiler::TNode<BoolT>{tmp154}, compiler::TNode<BoolT>{tmp155}));
6392 4 : ca_.Branch(tmp156, &block74, &block75);
6393 : }
6394 :
6395 4 : if (block75.is_used()) {
6396 : ca_.Bind(&block75);
6397 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd1(false, true, true)\' failed", "../../test/torque/test-torque.tq", 587);
6398 : }
6399 :
6400 4 : if (block74.is_used()) {
6401 : ca_.Bind(&block74);
6402 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 588);
6403 : compiler::TNode<BoolT> tmp157;
6404 : USE(tmp157);
6405 12 : tmp157 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6406 : compiler::TNode<BoolT> tmp158;
6407 : USE(tmp158);
6408 12 : tmp158 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6409 : compiler::TNode<BoolT> tmp159;
6410 : USE(tmp159);
6411 12 : tmp159 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6412 : compiler::TNode<BoolT> tmp160;
6413 : USE(tmp160);
6414 12 : tmp160 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp157}, compiler::TNode<BoolT>{tmp158}, compiler::TNode<BoolT>{tmp159}));
6415 4 : ca_.Branch(tmp160, &block76, &block77);
6416 : }
6417 :
6418 4 : if (block77.is_used()) {
6419 : ca_.Bind(&block77);
6420 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd2(false, true, true)\' failed", "../../test/torque/test-torque.tq", 588);
6421 : }
6422 :
6423 4 : if (block76.is_used()) {
6424 : ca_.Bind(&block76);
6425 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 589);
6426 : compiler::TNode<BoolT> tmp161;
6427 : USE(tmp161);
6428 12 : tmp161 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6429 : compiler::TNode<BoolT> tmp162;
6430 : USE(tmp162);
6431 12 : tmp162 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6432 : compiler::TNode<BoolT> tmp163;
6433 : USE(tmp163);
6434 12 : tmp163 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6435 : compiler::TNode<BoolT> tmp164;
6436 : USE(tmp164);
6437 12 : tmp164 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp161}, compiler::TNode<BoolT>{tmp162}, compiler::TNode<BoolT>{tmp163}));
6438 4 : ca_.Branch(tmp164, &block78, &block79);
6439 : }
6440 :
6441 4 : if (block79.is_used()) {
6442 : ca_.Bind(&block79);
6443 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd3(false, true, true)\' failed", "../../test/torque/test-torque.tq", 589);
6444 : }
6445 :
6446 4 : if (block78.is_used()) {
6447 : ca_.Bind(&block78);
6448 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 590);
6449 : compiler::TNode<BoolT> tmp165;
6450 : USE(tmp165);
6451 12 : tmp165 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6452 : compiler::TNode<BoolT> tmp166;
6453 : USE(tmp166);
6454 12 : tmp166 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6455 : compiler::TNode<BoolT> tmp167;
6456 : USE(tmp167);
6457 12 : tmp167 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6458 : compiler::TNode<BoolT> tmp168;
6459 : USE(tmp168);
6460 12 : tmp168 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp165}, compiler::TNode<BoolT>{tmp166}, compiler::TNode<BoolT>{tmp167}));
6461 : compiler::TNode<BoolT> tmp169;
6462 : USE(tmp169);
6463 8 : tmp169 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp168}));
6464 4 : ca_.Branch(tmp169, &block80, &block81);
6465 : }
6466 :
6467 4 : if (block81.is_used()) {
6468 : ca_.Bind(&block81);
6469 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd1(false, true, false)\' failed", "../../test/torque/test-torque.tq", 590);
6470 : }
6471 :
6472 4 : if (block80.is_used()) {
6473 : ca_.Bind(&block80);
6474 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 591);
6475 : compiler::TNode<BoolT> tmp170;
6476 : USE(tmp170);
6477 12 : tmp170 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6478 : compiler::TNode<BoolT> tmp171;
6479 : USE(tmp171);
6480 12 : tmp171 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6481 : compiler::TNode<BoolT> tmp172;
6482 : USE(tmp172);
6483 12 : tmp172 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6484 : compiler::TNode<BoolT> tmp173;
6485 : USE(tmp173);
6486 12 : tmp173 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp170}, compiler::TNode<BoolT>{tmp171}, compiler::TNode<BoolT>{tmp172}));
6487 : compiler::TNode<BoolT> tmp174;
6488 : USE(tmp174);
6489 8 : tmp174 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp173}));
6490 4 : ca_.Branch(tmp174, &block82, &block83);
6491 : }
6492 :
6493 4 : if (block83.is_used()) {
6494 : ca_.Bind(&block83);
6495 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd2(false, true, false)\' failed", "../../test/torque/test-torque.tq", 591);
6496 : }
6497 :
6498 4 : if (block82.is_used()) {
6499 : ca_.Bind(&block82);
6500 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 592);
6501 : compiler::TNode<BoolT> tmp175;
6502 : USE(tmp175);
6503 12 : tmp175 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6504 : compiler::TNode<BoolT> tmp176;
6505 : USE(tmp176);
6506 12 : tmp176 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6507 : compiler::TNode<BoolT> tmp177;
6508 : USE(tmp177);
6509 12 : tmp177 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6510 : compiler::TNode<BoolT> tmp178;
6511 : USE(tmp178);
6512 12 : tmp178 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp175}, compiler::TNode<BoolT>{tmp176}, compiler::TNode<BoolT>{tmp177}));
6513 : compiler::TNode<BoolT> tmp179;
6514 : USE(tmp179);
6515 8 : tmp179 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp178}));
6516 4 : ca_.Branch(tmp179, &block84, &block85);
6517 : }
6518 :
6519 4 : if (block85.is_used()) {
6520 : ca_.Bind(&block85);
6521 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd3(false, true, false)\' failed", "../../test/torque/test-torque.tq", 592);
6522 : }
6523 :
6524 4 : if (block84.is_used()) {
6525 : ca_.Bind(&block84);
6526 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 593);
6527 : compiler::TNode<BoolT> tmp180;
6528 : USE(tmp180);
6529 12 : tmp180 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6530 : compiler::TNode<BoolT> tmp181;
6531 : USE(tmp181);
6532 12 : tmp181 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6533 : compiler::TNode<BoolT> tmp182;
6534 : USE(tmp182);
6535 12 : tmp182 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6536 : compiler::TNode<BoolT> tmp183;
6537 : USE(tmp183);
6538 12 : tmp183 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp180}, compiler::TNode<BoolT>{tmp181}, compiler::TNode<BoolT>{tmp182}));
6539 : compiler::TNode<BoolT> tmp184;
6540 : USE(tmp184);
6541 8 : tmp184 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp183}));
6542 4 : ca_.Branch(tmp184, &block86, &block87);
6543 : }
6544 :
6545 4 : if (block87.is_used()) {
6546 : ca_.Bind(&block87);
6547 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd1(false, false, true)\' failed", "../../test/torque/test-torque.tq", 593);
6548 : }
6549 :
6550 4 : if (block86.is_used()) {
6551 : ca_.Bind(&block86);
6552 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 594);
6553 : compiler::TNode<BoolT> tmp185;
6554 : USE(tmp185);
6555 12 : tmp185 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6556 : compiler::TNode<BoolT> tmp186;
6557 : USE(tmp186);
6558 12 : tmp186 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6559 : compiler::TNode<BoolT> tmp187;
6560 : USE(tmp187);
6561 12 : tmp187 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6562 : compiler::TNode<BoolT> tmp188;
6563 : USE(tmp188);
6564 12 : tmp188 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp185}, compiler::TNode<BoolT>{tmp186}, compiler::TNode<BoolT>{tmp187}));
6565 : compiler::TNode<BoolT> tmp189;
6566 : USE(tmp189);
6567 8 : tmp189 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp188}));
6568 4 : ca_.Branch(tmp189, &block88, &block89);
6569 : }
6570 :
6571 4 : if (block89.is_used()) {
6572 : ca_.Bind(&block89);
6573 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd2(false, false, true)\' failed", "../../test/torque/test-torque.tq", 594);
6574 : }
6575 :
6576 4 : if (block88.is_used()) {
6577 : ca_.Bind(&block88);
6578 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 595);
6579 : compiler::TNode<BoolT> tmp190;
6580 : USE(tmp190);
6581 12 : tmp190 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6582 : compiler::TNode<BoolT> tmp191;
6583 : USE(tmp191);
6584 12 : tmp191 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6585 : compiler::TNode<BoolT> tmp192;
6586 : USE(tmp192);
6587 12 : tmp192 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6588 : compiler::TNode<BoolT> tmp193;
6589 : USE(tmp193);
6590 12 : tmp193 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp190}, compiler::TNode<BoolT>{tmp191}, compiler::TNode<BoolT>{tmp192}));
6591 : compiler::TNode<BoolT> tmp194;
6592 : USE(tmp194);
6593 8 : tmp194 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp193}));
6594 4 : ca_.Branch(tmp194, &block90, &block91);
6595 : }
6596 :
6597 4 : if (block91.is_used()) {
6598 : ca_.Bind(&block91);
6599 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd3(false, false, true)\' failed", "../../test/torque/test-torque.tq", 595);
6600 : }
6601 :
6602 4 : if (block90.is_used()) {
6603 : ca_.Bind(&block90);
6604 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 596);
6605 : compiler::TNode<BoolT> tmp195;
6606 : USE(tmp195);
6607 12 : tmp195 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6608 : compiler::TNode<BoolT> tmp196;
6609 : USE(tmp196);
6610 12 : tmp196 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6611 : compiler::TNode<BoolT> tmp197;
6612 : USE(tmp197);
6613 12 : tmp197 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6614 : compiler::TNode<BoolT> tmp198;
6615 : USE(tmp198);
6616 12 : tmp198 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp195}, compiler::TNode<BoolT>{tmp196}, compiler::TNode<BoolT>{tmp197}));
6617 : compiler::TNode<BoolT> tmp199;
6618 : USE(tmp199);
6619 8 : tmp199 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp198}));
6620 4 : ca_.Branch(tmp199, &block92, &block93);
6621 : }
6622 :
6623 4 : if (block93.is_used()) {
6624 : ca_.Bind(&block93);
6625 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd1(false, false, false)\' failed", "../../test/torque/test-torque.tq", 596);
6626 : }
6627 :
6628 4 : if (block92.is_used()) {
6629 : ca_.Bind(&block92);
6630 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 597);
6631 : compiler::TNode<BoolT> tmp200;
6632 : USE(tmp200);
6633 12 : tmp200 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6634 : compiler::TNode<BoolT> tmp201;
6635 : USE(tmp201);
6636 12 : tmp201 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6637 : compiler::TNode<BoolT> tmp202;
6638 : USE(tmp202);
6639 12 : tmp202 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6640 : compiler::TNode<BoolT> tmp203;
6641 : USE(tmp203);
6642 12 : tmp203 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp200}, compiler::TNode<BoolT>{tmp201}, compiler::TNode<BoolT>{tmp202}));
6643 : compiler::TNode<BoolT> tmp204;
6644 : USE(tmp204);
6645 8 : tmp204 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp203}));
6646 4 : ca_.Branch(tmp204, &block94, &block95);
6647 : }
6648 :
6649 4 : if (block95.is_used()) {
6650 : ca_.Bind(&block95);
6651 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd2(false, false, false)\' failed", "../../test/torque/test-torque.tq", 597);
6652 : }
6653 :
6654 4 : if (block94.is_used()) {
6655 : ca_.Bind(&block94);
6656 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 598);
6657 : compiler::TNode<BoolT> tmp205;
6658 : USE(tmp205);
6659 12 : tmp205 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6660 : compiler::TNode<BoolT> tmp206;
6661 : USE(tmp206);
6662 12 : tmp206 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6663 : compiler::TNode<BoolT> tmp207;
6664 : USE(tmp207);
6665 12 : tmp207 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6666 : compiler::TNode<BoolT> tmp208;
6667 : USE(tmp208);
6668 12 : tmp208 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp205}, compiler::TNode<BoolT>{tmp206}, compiler::TNode<BoolT>{tmp207}));
6669 : compiler::TNode<BoolT> tmp209;
6670 : USE(tmp209);
6671 8 : tmp209 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp208}));
6672 4 : ca_.Branch(tmp209, &block96, &block97);
6673 : }
6674 :
6675 4 : if (block97.is_used()) {
6676 : ca_.Bind(&block97);
6677 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd3(false, false, false)\' failed", "../../test/torque/test-torque.tq", 598);
6678 : }
6679 :
6680 4 : if (block96.is_used()) {
6681 : ca_.Bind(&block96);
6682 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 550);
6683 : ca_.Goto(&block1);
6684 : }
6685 :
6686 4 : if (block1.is_used()) {
6687 : ca_.Bind(&block1);
6688 : ca_.Goto(&block98);
6689 : }
6690 :
6691 : ca_.Bind(&block98);
6692 4 : }
6693 :
6694 12 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestCall(compiler::TNode<Smi> p_i, compiler::CodeAssemblerLabel* label_A) {
6695 12 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6696 : compiler::CodeAssemblerParameterizedLabel<Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6697 : compiler::CodeAssemblerParameterizedLabel<Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6698 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6699 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6700 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6701 : ca_.Goto(&block0, p_i);
6702 :
6703 12 : if (block0.is_used()) {
6704 : compiler::TNode<Smi> tmp0;
6705 : ca_.Bind(&block0, &tmp0);
6706 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 603);
6707 : compiler::TNode<Smi> tmp1;
6708 : USE(tmp1);
6709 36 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
6710 : compiler::TNode<BoolT> tmp2;
6711 : USE(tmp2);
6712 24 : tmp2 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp0}, compiler::TNode<Smi>{tmp1}));
6713 12 : ca_.Branch(tmp2, &block3, &block4, tmp0);
6714 : }
6715 :
6716 12 : if (block3.is_used()) {
6717 : compiler::TNode<Smi> tmp3;
6718 : ca_.Bind(&block3, &tmp3);
6719 : ca_.Goto(&block2, tmp3, tmp3);
6720 : }
6721 :
6722 12 : if (block4.is_used()) {
6723 : compiler::TNode<Smi> tmp4;
6724 : ca_.Bind(&block4, &tmp4);
6725 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 604);
6726 : ca_.Goto(&block1);
6727 : }
6728 :
6729 12 : if (block2.is_used()) {
6730 : compiler::TNode<Smi> tmp5;
6731 : compiler::TNode<Smi> tmp6;
6732 : ca_.Bind(&block2, &tmp5, &tmp6);
6733 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 601);
6734 : ca_.Goto(&block5, tmp5, tmp6);
6735 : }
6736 :
6737 12 : if (block1.is_used()) {
6738 : ca_.Bind(&block1);
6739 12 : ca_.Goto(label_A);
6740 : }
6741 :
6742 : compiler::TNode<Smi> tmp7;
6743 : compiler::TNode<Smi> tmp8;
6744 : ca_.Bind(&block5, &tmp7, &tmp8);
6745 24 : return compiler::TNode<Smi>{tmp8};
6746 : }
6747 :
6748 4 : void TestBuiltinsFromDSLAssembler::TestOtherwiseWithCode1() {
6749 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6750 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6751 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6752 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6753 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6754 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6755 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6756 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6757 : compiler::CodeAssemblerParameterizedLabel<> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6758 : ca_.Goto(&block0);
6759 :
6760 4 : if (block0.is_used()) {
6761 : ca_.Bind(&block0);
6762 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 608);
6763 : compiler::TNode<Smi> tmp0;
6764 : USE(tmp0);
6765 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
6766 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 609);
6767 : compiler::TNode<Smi> tmp1;
6768 : USE(tmp1);
6769 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
6770 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 611);
6771 : compiler::TNode<Smi> tmp2;
6772 : USE(tmp2);
6773 12 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
6774 : compiler::TNode<Smi> tmp3;
6775 : USE(tmp3);
6776 4 : compiler::CodeAssemblerLabel label0(&ca_);
6777 12 : tmp3 = TestBuiltinsFromDSLAssembler(state_).TestCall(compiler::TNode<Smi>{tmp2}, &label0);
6778 : ca_.Goto(&block6, tmp0, tmp1, tmp3);
6779 4 : if (label0.is_used()) {
6780 4 : ca_.Bind(&label0);
6781 : ca_.Goto(&block7, tmp0, tmp1);
6782 : }
6783 : }
6784 :
6785 4 : if (block7.is_used()) {
6786 : compiler::TNode<Smi> tmp4;
6787 : compiler::TNode<Smi> tmp5;
6788 : ca_.Bind(&block7, &tmp4, &tmp5);
6789 : ca_.Goto(&block5, tmp4, tmp5);
6790 : }
6791 :
6792 4 : if (block6.is_used()) {
6793 : compiler::TNode<Smi> tmp6;
6794 : compiler::TNode<Smi> tmp7;
6795 : compiler::TNode<Smi> tmp8;
6796 : ca_.Bind(&block6, &tmp6, &tmp7, &tmp8);
6797 : ca_.Goto(&block4, tmp6, tmp7, tmp8);
6798 : }
6799 :
6800 4 : if (block5.is_used()) {
6801 : compiler::TNode<Smi> tmp9;
6802 : compiler::TNode<Smi> tmp10;
6803 : ca_.Bind(&block5, &tmp9, &tmp10);
6804 : compiler::TNode<Smi> tmp11;
6805 : USE(tmp11);
6806 12 : tmp11 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
6807 : compiler::TNode<Smi> tmp12;
6808 : USE(tmp12);
6809 8 : tmp12 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp10}, compiler::TNode<Smi>{tmp11}));
6810 : ca_.Goto(&block3, tmp9, tmp12, tmp12);
6811 : }
6812 :
6813 4 : if (block4.is_used()) {
6814 : compiler::TNode<Smi> tmp13;
6815 : compiler::TNode<Smi> tmp14;
6816 : compiler::TNode<Smi> tmp15;
6817 : ca_.Bind(&block4, &tmp13, &tmp14, &tmp15);
6818 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 613);
6819 : ca_.Goto(&block2, tmp13, tmp14);
6820 : }
6821 :
6822 4 : if (block3.is_used()) {
6823 : compiler::TNode<Smi> tmp16;
6824 : compiler::TNode<Smi> tmp17;
6825 : compiler::TNode<Smi> tmp18;
6826 : ca_.Bind(&block3, &tmp16, &tmp17, &tmp18);
6827 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 614);
6828 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 610);
6829 : ca_.Goto(&block2, tmp18, tmp17);
6830 : }
6831 :
6832 4 : if (block2.is_used()) {
6833 : compiler::TNode<Smi> tmp19;
6834 : compiler::TNode<Smi> tmp20;
6835 : ca_.Bind(&block2, &tmp19, &tmp20);
6836 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 607);
6837 : ca_.Goto(&block1);
6838 : }
6839 :
6840 4 : if (block1.is_used()) {
6841 : ca_.Bind(&block1);
6842 : ca_.Goto(&block8);
6843 : }
6844 :
6845 : ca_.Bind(&block8);
6846 4 : }
6847 :
6848 4 : void TestBuiltinsFromDSLAssembler::TestOtherwiseWithCode2() {
6849 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6850 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6851 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6852 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6853 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6854 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6855 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6856 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6857 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6858 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6859 : compiler::CodeAssemblerParameterizedLabel<> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6860 : ca_.Goto(&block0);
6861 :
6862 4 : if (block0.is_used()) {
6863 : ca_.Bind(&block0);
6864 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 620);
6865 : compiler::TNode<Smi> tmp0;
6866 : USE(tmp0);
6867 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
6868 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 621);
6869 : compiler::TNode<Smi> tmp1;
6870 : USE(tmp1);
6871 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
6872 : ca_.Goto(&block4, tmp0, tmp1);
6873 : }
6874 :
6875 4 : if (block4.is_used()) {
6876 : compiler::TNode<Smi> tmp2;
6877 : compiler::TNode<Smi> tmp3;
6878 : ca_.Bind(&block4, &tmp2, &tmp3);
6879 : compiler::TNode<Smi> tmp4;
6880 : USE(tmp4);
6881 12 : tmp4 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
6882 : compiler::TNode<BoolT> tmp5;
6883 : USE(tmp5);
6884 8 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp3}, compiler::TNode<Smi>{tmp4}));
6885 4 : ca_.Branch(tmp5, &block2, &block3, tmp2, tmp3);
6886 : }
6887 :
6888 4 : if (block2.is_used()) {
6889 : compiler::TNode<Smi> tmp6;
6890 : compiler::TNode<Smi> tmp7;
6891 : ca_.Bind(&block2, &tmp6, &tmp7);
6892 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 622);
6893 : compiler::TNode<Smi> tmp8;
6894 : USE(tmp8);
6895 4 : compiler::CodeAssemblerLabel label0(&ca_);
6896 12 : tmp8 = TestBuiltinsFromDSLAssembler(state_).TestCall(compiler::TNode<Smi>{tmp7}, &label0);
6897 : ca_.Goto(&block8, tmp6, tmp7, tmp7, tmp8);
6898 4 : if (label0.is_used()) {
6899 4 : ca_.Bind(&label0);
6900 : ca_.Goto(&block9, tmp6, tmp7, tmp7);
6901 : }
6902 : }
6903 :
6904 4 : if (block9.is_used()) {
6905 : compiler::TNode<Smi> tmp9;
6906 : compiler::TNode<Smi> tmp10;
6907 : compiler::TNode<Smi> tmp11;
6908 : ca_.Bind(&block9, &tmp9, &tmp10, &tmp11);
6909 : ca_.Goto(&block7, tmp9, tmp10);
6910 : }
6911 :
6912 4 : if (block8.is_used()) {
6913 : compiler::TNode<Smi> tmp12;
6914 : compiler::TNode<Smi> tmp13;
6915 : compiler::TNode<Smi> tmp14;
6916 : compiler::TNode<Smi> tmp15;
6917 : ca_.Bind(&block8, &tmp12, &tmp13, &tmp14, &tmp15);
6918 : ca_.Goto(&block6, tmp12, tmp13, tmp15);
6919 : }
6920 :
6921 4 : if (block7.is_used()) {
6922 : compiler::TNode<Smi> tmp16;
6923 : compiler::TNode<Smi> tmp17;
6924 : ca_.Bind(&block7, &tmp16, &tmp17);
6925 : ca_.Goto(&block3, tmp16, tmp17);
6926 : }
6927 :
6928 4 : if (block6.is_used()) {
6929 : compiler::TNode<Smi> tmp18;
6930 : compiler::TNode<Smi> tmp19;
6931 : compiler::TNode<Smi> tmp20;
6932 : ca_.Bind(&block6, &tmp18, &tmp19, &tmp20);
6933 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 623);
6934 : compiler::TNode<Smi> tmp21;
6935 : USE(tmp21);
6936 12 : tmp21 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
6937 : compiler::TNode<Smi> tmp22;
6938 : USE(tmp22);
6939 8 : tmp22 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp18}, compiler::TNode<Smi>{tmp21}));
6940 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 621);
6941 : ca_.Goto(&block5, tmp22, tmp19);
6942 : }
6943 :
6944 4 : if (block5.is_used()) {
6945 : compiler::TNode<Smi> tmp23;
6946 : compiler::TNode<Smi> tmp24;
6947 : ca_.Bind(&block5, &tmp23, &tmp24);
6948 : compiler::TNode<Smi> tmp25;
6949 : USE(tmp25);
6950 12 : tmp25 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
6951 : compiler::TNode<Smi> tmp26;
6952 : USE(tmp26);
6953 8 : tmp26 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp24}, compiler::TNode<Smi>{tmp25}));
6954 : ca_.Goto(&block4, tmp23, tmp26);
6955 : }
6956 :
6957 4 : if (block3.is_used()) {
6958 : compiler::TNode<Smi> tmp27;
6959 : compiler::TNode<Smi> tmp28;
6960 : ca_.Bind(&block3, &tmp27, &tmp28);
6961 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 619);
6962 : ca_.Goto(&block1);
6963 : }
6964 :
6965 4 : if (block1.is_used()) {
6966 : ca_.Bind(&block1);
6967 : ca_.Goto(&block10);
6968 : }
6969 :
6970 : ca_.Bind(&block10);
6971 4 : }
6972 :
6973 4 : void TestBuiltinsFromDSLAssembler::TestOtherwiseWithCode3() {
6974 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6975 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6976 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6977 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6978 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6979 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6980 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6981 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6982 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6983 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6984 : compiler::CodeAssemblerParameterizedLabel<> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6985 : ca_.Goto(&block0);
6986 :
6987 4 : if (block0.is_used()) {
6988 : ca_.Bind(&block0);
6989 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 629);
6990 : compiler::TNode<Smi> tmp0;
6991 : USE(tmp0);
6992 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
6993 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 630);
6994 : compiler::TNode<Smi> tmp1;
6995 : USE(tmp1);
6996 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
6997 : ca_.Goto(&block4, tmp0, tmp1);
6998 : }
6999 :
7000 4 : if (block4.is_used()) {
7001 : compiler::TNode<Smi> tmp2;
7002 : compiler::TNode<Smi> tmp3;
7003 : ca_.Bind(&block4, &tmp2, &tmp3);
7004 : compiler::TNode<Smi> tmp4;
7005 : USE(tmp4);
7006 12 : tmp4 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
7007 : compiler::TNode<BoolT> tmp5;
7008 : USE(tmp5);
7009 8 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp3}, compiler::TNode<Smi>{tmp4}));
7010 4 : ca_.Branch(tmp5, &block2, &block3, tmp2, tmp3);
7011 : }
7012 :
7013 4 : if (block2.is_used()) {
7014 : compiler::TNode<Smi> tmp6;
7015 : compiler::TNode<Smi> tmp7;
7016 : ca_.Bind(&block2, &tmp6, &tmp7);
7017 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 631);
7018 : compiler::TNode<Smi> tmp8;
7019 : USE(tmp8);
7020 4 : compiler::CodeAssemblerLabel label0(&ca_);
7021 12 : tmp8 = TestBuiltinsFromDSLAssembler(state_).TestCall(compiler::TNode<Smi>{tmp7}, &label0);
7022 : ca_.Goto(&block8, tmp6, tmp7, tmp6, tmp7, tmp8);
7023 4 : if (label0.is_used()) {
7024 4 : ca_.Bind(&label0);
7025 : ca_.Goto(&block9, tmp6, tmp7, tmp6, tmp7);
7026 : }
7027 : }
7028 :
7029 4 : if (block9.is_used()) {
7030 : compiler::TNode<Smi> tmp9;
7031 : compiler::TNode<Smi> tmp10;
7032 : compiler::TNode<Smi> tmp11;
7033 : compiler::TNode<Smi> tmp12;
7034 : ca_.Bind(&block9, &tmp9, &tmp10, &tmp11, &tmp12);
7035 : ca_.Goto(&block7, tmp9, tmp10, tmp11);
7036 : }
7037 :
7038 4 : if (block8.is_used()) {
7039 : compiler::TNode<Smi> tmp13;
7040 : compiler::TNode<Smi> tmp14;
7041 : compiler::TNode<Smi> tmp15;
7042 : compiler::TNode<Smi> tmp16;
7043 : compiler::TNode<Smi> tmp17;
7044 : ca_.Bind(&block8, &tmp13, &tmp14, &tmp15, &tmp16, &tmp17);
7045 : ca_.Goto(&block6, tmp13, tmp14, tmp15, tmp17);
7046 : }
7047 :
7048 4 : if (block7.is_used()) {
7049 : compiler::TNode<Smi> tmp18;
7050 : compiler::TNode<Smi> tmp19;
7051 : compiler::TNode<Smi> tmp20;
7052 : ca_.Bind(&block7, &tmp18, &tmp19, &tmp20);
7053 : ca_.Goto(&block3, tmp18, tmp19);
7054 : }
7055 :
7056 4 : if (block6.is_used()) {
7057 : compiler::TNode<Smi> tmp21;
7058 : compiler::TNode<Smi> tmp22;
7059 : compiler::TNode<Smi> tmp23;
7060 : compiler::TNode<Smi> tmp24;
7061 : ca_.Bind(&block6, &tmp21, &tmp22, &tmp23, &tmp24);
7062 : compiler::TNode<Smi> tmp25;
7063 : USE(tmp25);
7064 8 : tmp25 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp23}, compiler::TNode<Smi>{tmp24}));
7065 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 630);
7066 : ca_.Goto(&block5, tmp25, tmp22);
7067 : }
7068 :
7069 4 : if (block5.is_used()) {
7070 : compiler::TNode<Smi> tmp26;
7071 : compiler::TNode<Smi> tmp27;
7072 : ca_.Bind(&block5, &tmp26, &tmp27);
7073 : compiler::TNode<Smi> tmp28;
7074 : USE(tmp28);
7075 12 : tmp28 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
7076 : compiler::TNode<Smi> tmp29;
7077 : USE(tmp29);
7078 8 : tmp29 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp27}, compiler::TNode<Smi>{tmp28}));
7079 : ca_.Goto(&block4, tmp26, tmp29);
7080 : }
7081 :
7082 4 : if (block3.is_used()) {
7083 : compiler::TNode<Smi> tmp30;
7084 : compiler::TNode<Smi> tmp31;
7085 : ca_.Bind(&block3, &tmp30, &tmp31);
7086 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 628);
7087 : ca_.Goto(&block1);
7088 : }
7089 :
7090 4 : if (block1.is_used()) {
7091 : ca_.Bind(&block1);
7092 : ca_.Goto(&block10);
7093 : }
7094 :
7095 : ca_.Bind(&block10);
7096 4 : }
7097 :
7098 4 : void TestBuiltinsFromDSLAssembler::TestForwardLabel() {
7099 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7100 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7101 : compiler::CodeAssemblerParameterizedLabel<Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7102 : compiler::CodeAssemblerParameterizedLabel<Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7103 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7104 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7105 : ca_.Goto(&block0);
7106 :
7107 4 : if (block0.is_used()) {
7108 : ca_.Bind(&block0);
7109 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 638);
7110 : ca_.Goto(&block5);
7111 : }
7112 :
7113 4 : if (block5.is_used()) {
7114 : ca_.Bind(&block5);
7115 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 641);
7116 : compiler::TNode<Smi> tmp0;
7117 : USE(tmp0);
7118 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
7119 : ca_.Goto(&block3, tmp0);
7120 : }
7121 :
7122 4 : if (block3.is_used()) {
7123 : compiler::TNode<Smi> tmp1;
7124 : ca_.Bind(&block3, &tmp1);
7125 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 637);
7126 : ca_.Goto(&block2, tmp1);
7127 : }
7128 :
7129 4 : if (block2.is_used()) {
7130 : compiler::TNode<Smi> tmp2;
7131 : ca_.Bind(&block2, &tmp2);
7132 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 636);
7133 : ca_.Goto(&block1);
7134 : }
7135 :
7136 4 : if (block1.is_used()) {
7137 : ca_.Bind(&block1);
7138 : ca_.Goto(&block6);
7139 : }
7140 :
7141 : ca_.Bind(&block6);
7142 4 : }
7143 :
7144 4 : void TestBuiltinsFromDSLAssembler::TestQualifiedAccess(compiler::TNode<Context> p_context) {
7145 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7146 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7147 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7148 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7149 : compiler::CodeAssemblerParameterizedLabel<Context> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7150 : ca_.Goto(&block0, p_context);
7151 :
7152 4 : if (block0.is_used()) {
7153 : compiler::TNode<Context> tmp0;
7154 : ca_.Bind(&block0, &tmp0);
7155 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 649);
7156 : compiler::TNode<Smi> tmp1;
7157 : USE(tmp1);
7158 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
7159 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 650);
7160 : compiler::TNode<BoolT> tmp2;
7161 : USE(tmp2);
7162 12 : tmp2 = ca_.UncheckedCast<BoolT>(ArrayBuiltinsFromDSLAssembler(state_).IsJSArray(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}));
7163 : compiler::TNode<BoolT> tmp3;
7164 : USE(tmp3);
7165 8 : tmp3 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp2}));
7166 4 : ca_.Branch(tmp3, &block2, &block3, tmp0, tmp1);
7167 : }
7168 :
7169 4 : if (block3.is_used()) {
7170 : compiler::TNode<Context> tmp4;
7171 : compiler::TNode<Smi> tmp5;
7172 : ca_.Bind(&block3, &tmp4, &tmp5);
7173 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!array::IsJSArray(s)\' failed", "../../test/torque/test-torque.tq", 650);
7174 : }
7175 :
7176 4 : if (block2.is_used()) {
7177 : compiler::TNode<Context> tmp6;
7178 : compiler::TNode<Smi> tmp7;
7179 : ca_.Bind(&block2, &tmp6, &tmp7);
7180 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 648);
7181 : ca_.Goto(&block1, tmp6);
7182 : }
7183 :
7184 4 : if (block1.is_used()) {
7185 : compiler::TNode<Context> tmp8;
7186 : ca_.Bind(&block1, &tmp8);
7187 : ca_.Goto(&block4, tmp8);
7188 : }
7189 :
7190 : compiler::TNode<Context> tmp9;
7191 : ca_.Bind(&block4, &tmp9);
7192 4 : }
7193 :
7194 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestCatch1(compiler::TNode<Context> p_context) {
7195 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7196 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block4(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7197 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7198 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7199 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7200 : ca_.Goto(&block0, p_context);
7201 :
7202 4 : if (block0.is_used()) {
7203 : compiler::TNode<Context> tmp0;
7204 : ca_.Bind(&block0, &tmp0);
7205 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 654);
7206 : compiler::TNode<Smi> tmp1;
7207 : USE(tmp1);
7208 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
7209 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 656);
7210 : compiler::CodeAssemblerExceptionHandlerLabel catch2_label(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7211 8 : { compiler::CodeAssemblerScopedExceptionHandler s(&ca_, &catch2_label);
7212 8 : CodeStubAssembler(state_).ThrowTypeError(compiler::TNode<Context>{tmp0}, MessageTemplate::kInvalidArrayLength);
7213 : }
7214 4 : if (catch2_label.is_used()) {
7215 4 : compiler::CodeAssemblerLabel catch2_skip(&ca_);
7216 : compiler::TNode<Object> catch2_exception_object;
7217 : ca_.Bind(&catch2_label, &catch2_exception_object);
7218 : ca_.Goto(&block4, tmp0, tmp1, catch2_exception_object);
7219 : }
7220 : }
7221 :
7222 4 : if (block4.is_used()) {
7223 : compiler::TNode<Context> tmp3;
7224 : compiler::TNode<Smi> tmp4;
7225 : compiler::TNode<Object> tmp5;
7226 : ca_.Bind(&block4, &tmp3, &tmp4, &tmp5);
7227 : ca_.Goto(&block3, tmp3, tmp4, tmp5);
7228 : }
7229 :
7230 4 : if (block3.is_used()) {
7231 : compiler::TNode<Context> tmp6;
7232 : compiler::TNode<Smi> tmp7;
7233 : compiler::TNode<Object> tmp8;
7234 : ca_.Bind(&block3, &tmp6, &tmp7, &tmp8);
7235 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 658);
7236 : compiler::TNode<Smi> tmp9;
7237 : USE(tmp9);
7238 12 : tmp9 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
7239 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 659);
7240 : ca_.Goto(&block1, tmp6, tmp9);
7241 : }
7242 :
7243 4 : if (block1.is_used()) {
7244 : compiler::TNode<Context> tmp10;
7245 : compiler::TNode<Smi> tmp11;
7246 : ca_.Bind(&block1, &tmp10, &tmp11);
7247 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 653);
7248 : ca_.Goto(&block5, tmp10, tmp11);
7249 : }
7250 :
7251 : compiler::TNode<Context> tmp12;
7252 : compiler::TNode<Smi> tmp13;
7253 : ca_.Bind(&block5, &tmp12, &tmp13);
7254 8 : return compiler::TNode<Smi>{tmp13};
7255 : }
7256 :
7257 4 : void TestBuiltinsFromDSLAssembler::TestCatch2Wrapper(compiler::TNode<Context> p_context) {
7258 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7259 : ca_.Goto(&block0, p_context);
7260 :
7261 4 : if (block0.is_used()) {
7262 : compiler::TNode<Context> tmp0;
7263 : ca_.Bind(&block0, &tmp0);
7264 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 664);
7265 8 : CodeStubAssembler(state_).ThrowTypeError(compiler::TNode<Context>{tmp0}, MessageTemplate::kInvalidArrayLength);
7266 : }
7267 4 : }
7268 :
7269 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestCatch2(compiler::TNode<Context> p_context) {
7270 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7271 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block4(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7272 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7273 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7274 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7275 : ca_.Goto(&block0, p_context);
7276 :
7277 4 : if (block0.is_used()) {
7278 : compiler::TNode<Context> tmp0;
7279 : ca_.Bind(&block0, &tmp0);
7280 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 668);
7281 : compiler::TNode<Smi> tmp1;
7282 : USE(tmp1);
7283 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
7284 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 670);
7285 : compiler::CodeAssemblerExceptionHandlerLabel catch2_label(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7286 8 : { compiler::CodeAssemblerScopedExceptionHandler s(&ca_, &catch2_label);
7287 12 : TestBuiltinsFromDSLAssembler(state_).TestCatch2Wrapper(compiler::TNode<Context>{tmp0});
7288 : }
7289 4 : if (catch2_label.is_used()) {
7290 4 : compiler::CodeAssemblerLabel catch2_skip(&ca_);
7291 : compiler::TNode<Object> catch2_exception_object;
7292 : ca_.Bind(&catch2_label, &catch2_exception_object);
7293 : ca_.Goto(&block4, tmp0, tmp1, catch2_exception_object);
7294 : }
7295 : }
7296 :
7297 4 : if (block4.is_used()) {
7298 : compiler::TNode<Context> tmp3;
7299 : compiler::TNode<Smi> tmp4;
7300 : compiler::TNode<Object> tmp5;
7301 : ca_.Bind(&block4, &tmp3, &tmp4, &tmp5);
7302 : ca_.Goto(&block3, tmp3, tmp4, tmp5);
7303 : }
7304 :
7305 4 : if (block3.is_used()) {
7306 : compiler::TNode<Context> tmp6;
7307 : compiler::TNode<Smi> tmp7;
7308 : compiler::TNode<Object> tmp8;
7309 : ca_.Bind(&block3, &tmp6, &tmp7, &tmp8);
7310 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 672);
7311 : compiler::TNode<Smi> tmp9;
7312 : USE(tmp9);
7313 12 : tmp9 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(2));
7314 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 673);
7315 : ca_.Goto(&block1, tmp6, tmp9);
7316 : }
7317 :
7318 4 : if (block1.is_used()) {
7319 : compiler::TNode<Context> tmp10;
7320 : compiler::TNode<Smi> tmp11;
7321 : ca_.Bind(&block1, &tmp10, &tmp11);
7322 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 667);
7323 : ca_.Goto(&block5, tmp10, tmp11);
7324 : }
7325 :
7326 : compiler::TNode<Context> tmp12;
7327 : compiler::TNode<Smi> tmp13;
7328 : ca_.Bind(&block5, &tmp12, &tmp13);
7329 8 : return compiler::TNode<Smi>{tmp13};
7330 : }
7331 :
7332 4 : void TestBuiltinsFromDSLAssembler::TestCatch3WrapperWithLabel(compiler::TNode<Context> p_context, compiler::CodeAssemblerLabel* label_Abort) {
7333 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7334 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7335 : ca_.Goto(&block0, p_context);
7336 :
7337 4 : if (block0.is_used()) {
7338 : compiler::TNode<Context> tmp0;
7339 : ca_.Bind(&block0, &tmp0);
7340 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 679);
7341 8 : CodeStubAssembler(state_).ThrowTypeError(compiler::TNode<Context>{tmp0}, MessageTemplate::kInvalidArrayLength);
7342 : }
7343 :
7344 4 : if (block1.is_used()) {
7345 : ca_.Bind(&block1);
7346 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 677);
7347 0 : ca_.Goto(label_Abort);
7348 : }
7349 4 : }
7350 :
7351 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestCatch3(compiler::TNode<Context> p_context) {
7352 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7353 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7354 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7355 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7356 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block8(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7357 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7358 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7359 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7360 : ca_.Goto(&block0, p_context);
7361 :
7362 4 : if (block0.is_used()) {
7363 : compiler::TNode<Context> tmp0;
7364 : ca_.Bind(&block0, &tmp0);
7365 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 683);
7366 : compiler::TNode<Smi> tmp1;
7367 : USE(tmp1);
7368 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
7369 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 685);
7370 4 : compiler::CodeAssemblerLabel label0(&ca_);
7371 : compiler::CodeAssemblerExceptionHandlerLabel catch2_label(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7372 8 : { compiler::CodeAssemblerScopedExceptionHandler s(&ca_, &catch2_label);
7373 12 : TestBuiltinsFromDSLAssembler(state_).TestCatch3WrapperWithLabel(compiler::TNode<Context>{tmp0}, &label0);
7374 : }
7375 4 : if (catch2_label.is_used()) {
7376 4 : compiler::CodeAssemblerLabel catch2_skip(&ca_);
7377 : compiler::TNode<Object> catch2_exception_object;
7378 : ca_.Bind(&catch2_label, &catch2_exception_object);
7379 : ca_.Goto(&block7, tmp0, tmp1, catch2_exception_object);
7380 : }
7381 4 : if (label0.is_used()) {
7382 0 : ca_.Bind(&label0);
7383 : ca_.Goto(&block6, tmp0, tmp1);
7384 : }
7385 : }
7386 :
7387 4 : if (block7.is_used()) {
7388 : compiler::TNode<Context> tmp3;
7389 : compiler::TNode<Smi> tmp4;
7390 : compiler::TNode<Object> tmp5;
7391 : ca_.Bind(&block7, &tmp3, &tmp4, &tmp5);
7392 : ca_.Goto(&block3, tmp3, tmp4, tmp5);
7393 : }
7394 :
7395 4 : if (block6.is_used()) {
7396 : compiler::TNode<Context> tmp6;
7397 : compiler::TNode<Smi> tmp7;
7398 : ca_.Bind(&block6, &tmp6, &tmp7);
7399 : ca_.Goto(&block5, tmp6, tmp7);
7400 : }
7401 :
7402 4 : if (block5.is_used()) {
7403 : compiler::TNode<Context> tmp8;
7404 : compiler::TNode<Smi> tmp9;
7405 : ca_.Bind(&block5, &tmp8, &tmp9);
7406 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 688);
7407 : compiler::TNode<Smi> tmp10;
7408 : USE(tmp10);
7409 : compiler::CodeAssemblerExceptionHandlerLabel catch11_label(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7410 0 : { compiler::CodeAssemblerScopedExceptionHandler s(&ca_, &catch11_label);
7411 0 : tmp10 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(-1));
7412 : }
7413 0 : if (catch11_label.is_used()) {
7414 0 : compiler::CodeAssemblerLabel catch11_skip(&ca_);
7415 0 : ca_.Goto(&catch11_skip);
7416 : compiler::TNode<Object> catch11_exception_object;
7417 : ca_.Bind(&catch11_label, &catch11_exception_object);
7418 : ca_.Goto(&block8, tmp8, tmp9, catch11_exception_object);
7419 0 : ca_.Bind(&catch11_skip);
7420 : }
7421 : ca_.Goto(&block1, tmp8, tmp10);
7422 : }
7423 :
7424 4 : if (block8.is_used()) {
7425 : compiler::TNode<Context> tmp12;
7426 : compiler::TNode<Smi> tmp13;
7427 : compiler::TNode<Object> tmp14;
7428 : ca_.Bind(&block8, &tmp12, &tmp13, &tmp14);
7429 : ca_.Goto(&block3, tmp12, tmp13, tmp14);
7430 : }
7431 :
7432 4 : if (block3.is_used()) {
7433 : compiler::TNode<Context> tmp15;
7434 : compiler::TNode<Smi> tmp16;
7435 : compiler::TNode<Object> tmp17;
7436 : ca_.Bind(&block3, &tmp15, &tmp16, &tmp17);
7437 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 691);
7438 : compiler::TNode<Smi> tmp18;
7439 : USE(tmp18);
7440 12 : tmp18 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(2));
7441 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 692);
7442 : ca_.Goto(&block1, tmp15, tmp18);
7443 : }
7444 :
7445 4 : if (block1.is_used()) {
7446 : compiler::TNode<Context> tmp19;
7447 : compiler::TNode<Smi> tmp20;
7448 : ca_.Bind(&block1, &tmp19, &tmp20);
7449 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 682);
7450 : ca_.Goto(&block9, tmp19, tmp20);
7451 : }
7452 :
7453 : compiler::TNode<Context> tmp21;
7454 : compiler::TNode<Smi> tmp22;
7455 : ca_.Bind(&block9, &tmp21, &tmp22);
7456 8 : return compiler::TNode<Smi>{tmp22};
7457 : }
7458 :
7459 0 : void TestBuiltinsFromDSLAssembler::TestIterator(compiler::TNode<Context> p_context, compiler::TNode<Object> p_o, compiler::TNode<Map> p_map) {
7460 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7461 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map, Object, JSReceiver, Object, JSReceiver, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7462 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map, Object, JSReceiver, Object, JSReceiver, Object, Object> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7463 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map, Object, JSReceiver, Object, Object, JSReceiver, Object, Map> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7464 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map, Object, JSReceiver, Object, Object, JSReceiver, Object, Map, Object> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7465 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7466 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7467 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7468 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7469 : ca_.Goto(&block0, p_context, p_o, p_map);
7470 :
7471 0 : if (block0.is_used()) {
7472 : compiler::TNode<Context> tmp0;
7473 : compiler::TNode<Object> tmp1;
7474 : compiler::TNode<Map> tmp2;
7475 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
7476 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 702);
7477 : compiler::TNode<Object> tmp3;
7478 : USE(tmp3);
7479 0 : tmp3 = ca_.UncheckedCast<Object>(IteratorBuiltinsAssembler(state_).GetIteratorMethod(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}));
7480 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 703);
7481 : compiler::TNode<JSReceiver> tmp4;
7482 : USE(tmp4);
7483 : compiler::TNode<Object> tmp5;
7484 : USE(tmp5);
7485 0 : std::tie(tmp4, tmp5) = IteratorBuiltinsAssembler(state_).GetIterator(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}).Flatten();
7486 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 705);
7487 : compiler::TNode<Object> tmp6;
7488 : USE(tmp6);
7489 0 : compiler::CodeAssemblerLabel label0(&ca_);
7490 0 : tmp6 = IteratorBuiltinsAssembler(state_).IteratorStep(compiler::TNode<Context>{tmp0}, IteratorBuiltinsFromDSLAssembler::IteratorRecord{compiler::TNode<JSReceiver>{tmp4}, compiler::TNode<Object>{tmp5}}, &label0);
7491 : ca_.Goto(&block4, tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp4, tmp5, tmp6);
7492 0 : if (label0.is_used()) {
7493 0 : ca_.Bind(&label0);
7494 : ca_.Goto(&block5, tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp4, tmp5);
7495 : }
7496 : }
7497 :
7498 0 : if (block5.is_used()) {
7499 : compiler::TNode<Context> tmp7;
7500 : compiler::TNode<Object> tmp8;
7501 : compiler::TNode<Map> tmp9;
7502 : compiler::TNode<Object> tmp10;
7503 : compiler::TNode<JSReceiver> tmp11;
7504 : compiler::TNode<Object> tmp12;
7505 : compiler::TNode<JSReceiver> tmp13;
7506 : compiler::TNode<Object> tmp14;
7507 : ca_.Bind(&block5, &tmp7, &tmp8, &tmp9, &tmp10, &tmp11, &tmp12, &tmp13, &tmp14);
7508 : ca_.Goto(&block3, tmp7, tmp8, tmp9);
7509 : }
7510 :
7511 0 : if (block4.is_used()) {
7512 : compiler::TNode<Context> tmp15;
7513 : compiler::TNode<Object> tmp16;
7514 : compiler::TNode<Map> tmp17;
7515 : compiler::TNode<Object> tmp18;
7516 : compiler::TNode<JSReceiver> tmp19;
7517 : compiler::TNode<Object> tmp20;
7518 : compiler::TNode<JSReceiver> tmp21;
7519 : compiler::TNode<Object> tmp22;
7520 : compiler::TNode<Object> tmp23;
7521 : ca_.Bind(&block4, &tmp15, &tmp16, &tmp17, &tmp18, &tmp19, &tmp20, &tmp21, &tmp22, &tmp23);
7522 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 706);
7523 : compiler::TNode<Object> tmp24;
7524 : USE(tmp24);
7525 0 : compiler::CodeAssemblerLabel label0(&ca_);
7526 0 : tmp24 = IteratorBuiltinsAssembler(state_).IteratorStep(compiler::TNode<Context>{tmp15}, IteratorBuiltinsFromDSLAssembler::IteratorRecord{compiler::TNode<JSReceiver>{tmp19}, compiler::TNode<Object>{tmp20}}, compiler::TNode<Map>{tmp17}, &label0);
7527 : ca_.Goto(&block6, tmp15, tmp16, tmp17, tmp18, tmp19, tmp20, tmp23, tmp19, tmp20, tmp17, tmp24);
7528 0 : if (label0.is_used()) {
7529 0 : ca_.Bind(&label0);
7530 : ca_.Goto(&block7, tmp15, tmp16, tmp17, tmp18, tmp19, tmp20, tmp23, tmp19, tmp20, tmp17);
7531 : }
7532 : }
7533 :
7534 0 : if (block7.is_used()) {
7535 : compiler::TNode<Context> tmp25;
7536 : compiler::TNode<Object> tmp26;
7537 : compiler::TNode<Map> tmp27;
7538 : compiler::TNode<Object> tmp28;
7539 : compiler::TNode<JSReceiver> tmp29;
7540 : compiler::TNode<Object> tmp30;
7541 : compiler::TNode<Object> tmp31;
7542 : compiler::TNode<JSReceiver> tmp32;
7543 : compiler::TNode<Object> tmp33;
7544 : compiler::TNode<Map> tmp34;
7545 : ca_.Bind(&block7, &tmp25, &tmp26, &tmp27, &tmp28, &tmp29, &tmp30, &tmp31, &tmp32, &tmp33, &tmp34);
7546 : ca_.Goto(&block3, tmp25, tmp26, tmp27);
7547 : }
7548 :
7549 0 : if (block6.is_used()) {
7550 : compiler::TNode<Context> tmp35;
7551 : compiler::TNode<Object> tmp36;
7552 : compiler::TNode<Map> tmp37;
7553 : compiler::TNode<Object> tmp38;
7554 : compiler::TNode<JSReceiver> tmp39;
7555 : compiler::TNode<Object> tmp40;
7556 : compiler::TNode<Object> tmp41;
7557 : compiler::TNode<JSReceiver> tmp42;
7558 : compiler::TNode<Object> tmp43;
7559 : compiler::TNode<Map> tmp44;
7560 : compiler::TNode<Object> tmp45;
7561 : ca_.Bind(&block6, &tmp35, &tmp36, &tmp37, &tmp38, &tmp39, &tmp40, &tmp41, &tmp42, &tmp43, &tmp44, &tmp45);
7562 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 708);
7563 : compiler::TNode<Object> tmp46;
7564 : USE(tmp46);
7565 0 : tmp46 = ca_.UncheckedCast<Object>(IteratorBuiltinsAssembler(state_).IteratorValue(compiler::TNode<Context>{tmp35}, compiler::TNode<Object>{tmp45}));
7566 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 709);
7567 : compiler::TNode<Object> tmp47;
7568 : USE(tmp47);
7569 0 : tmp47 = ca_.UncheckedCast<Object>(IteratorBuiltinsAssembler(state_).IteratorValue(compiler::TNode<Context>{tmp35}, compiler::TNode<Object>{tmp45}, compiler::TNode<Map>{tmp37}));
7570 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 711);
7571 : compiler::TNode<JSArray> tmp48;
7572 : USE(tmp48);
7573 0 : tmp48 = ca_.UncheckedCast<JSArray>(IteratorBuiltinsAssembler(state_).IterableToList(compiler::TNode<Context>{tmp35}, compiler::TNode<Object>{tmp38}, compiler::TNode<Object>{tmp38}));
7574 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 713);
7575 0 : IteratorBuiltinsAssembler(state_).IteratorCloseOnException(compiler::TNode<Context>{tmp35}, IteratorBuiltinsFromDSLAssembler::IteratorRecord{compiler::TNode<JSReceiver>{tmp39}, compiler::TNode<Object>{tmp40}}, compiler::TNode<Object>{tmp46});
7576 : }
7577 :
7578 0 : if (block3.is_used()) {
7579 : compiler::TNode<Context> tmp49;
7580 : compiler::TNode<Object> tmp50;
7581 : compiler::TNode<Map> tmp51;
7582 : ca_.Bind(&block3, &tmp49, &tmp50, &tmp51);
7583 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 701);
7584 : ca_.Goto(&block2, tmp49, tmp50, tmp51);
7585 : }
7586 :
7587 0 : if (block2.is_used()) {
7588 : compiler::TNode<Context> tmp52;
7589 : compiler::TNode<Object> tmp53;
7590 : compiler::TNode<Map> tmp54;
7591 : ca_.Bind(&block2, &tmp52, &tmp53, &tmp54);
7592 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 700);
7593 : ca_.Goto(&block1, tmp52, tmp53, tmp54);
7594 : }
7595 :
7596 0 : if (block1.is_used()) {
7597 : compiler::TNode<Context> tmp55;
7598 : compiler::TNode<Object> tmp56;
7599 : compiler::TNode<Map> tmp57;
7600 : ca_.Bind(&block1, &tmp55, &tmp56, &tmp57);
7601 : ca_.Goto(&block8, tmp55, tmp56, tmp57);
7602 : }
7603 :
7604 : compiler::TNode<Context> tmp58;
7605 : compiler::TNode<Object> tmp59;
7606 : compiler::TNode<Map> tmp60;
7607 : ca_.Bind(&block8, &tmp58, &tmp59, &tmp60);
7608 0 : }
7609 :
7610 4 : void TestBuiltinsFromDSLAssembler::TestFrame1(compiler::TNode<Context> p_context) {
7611 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7612 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7613 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Object, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7614 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7615 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7616 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT, RawPtrT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7617 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT, RawPtrT, RawPtrT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7618 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7619 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT, RawPtrT> block13(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7620 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT, RawPtrT, RawPtrT> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7621 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT> block11(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7622 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7623 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7624 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7625 : compiler::CodeAssemblerParameterizedLabel<Context> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7626 : ca_.Goto(&block0, p_context);
7627 :
7628 4 : if (block0.is_used()) {
7629 : compiler::TNode<Context> tmp0;
7630 : ca_.Bind(&block0, &tmp0);
7631 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 719);
7632 : compiler::TNode<RawPtrT> tmp1;
7633 : USE(tmp1);
7634 8 : tmp1 = ca_.UncheckedCast<RawPtrT>(CodeStubAssembler(state_).LoadFramePointer());
7635 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 721);
7636 : compiler::TNode<Object> tmp2;
7637 : USE(tmp2);
7638 12 : tmp2 = ca_.UncheckedCast<Object>(BaseBuiltinsFromDSLAssembler(state_).LoadContextOrFrameTypeFromFrame(compiler::TNode<Context>{tmp0}, compiler::TNode<RawPtrT>{tmp1}));
7639 : compiler::TNode<Smi> tmp3;
7640 : USE(tmp3);
7641 4 : compiler::CodeAssemblerLabel label0(&ca_);
7642 12 : tmp3 = BaseBuiltinsFromDSLAssembler(state_).Cast11ATFrameType(compiler::TNode<Object>{tmp2}, &label0);
7643 : ca_.Goto(&block4, tmp0, tmp1, tmp2, tmp3);
7644 4 : if (label0.is_used()) {
7645 4 : ca_.Bind(&label0);
7646 : ca_.Goto(&block5, tmp0, tmp1, tmp2);
7647 : }
7648 : }
7649 :
7650 4 : if (block5.is_used()) {
7651 : compiler::TNode<Context> tmp4;
7652 : compiler::TNode<RawPtrT> tmp5;
7653 : compiler::TNode<Object> tmp6;
7654 : ca_.Bind(&block5, &tmp4, &tmp5, &tmp6);
7655 : ca_.Goto(&block3, tmp4, tmp5);
7656 : }
7657 :
7658 4 : if (block4.is_used()) {
7659 : compiler::TNode<Context> tmp7;
7660 : compiler::TNode<RawPtrT> tmp8;
7661 : compiler::TNode<Object> tmp9;
7662 : compiler::TNode<Smi> tmp10;
7663 : ca_.Bind(&block4, &tmp7, &tmp8, &tmp9, &tmp10);
7664 : ca_.Goto(&block2, tmp7, tmp8, tmp10);
7665 : }
7666 :
7667 4 : if (block3.is_used()) {
7668 : compiler::TNode<Context> tmp11;
7669 : compiler::TNode<RawPtrT> tmp12;
7670 : ca_.Bind(&block3, &tmp11, &tmp12);
7671 8 : CodeStubAssembler(state_).Unreachable();
7672 : }
7673 :
7674 4 : if (block2.is_used()) {
7675 : compiler::TNode<Context> tmp13;
7676 : compiler::TNode<RawPtrT> tmp14;
7677 : compiler::TNode<Smi> tmp15;
7678 : ca_.Bind(&block2, &tmp13, &tmp14, &tmp15);
7679 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 720);
7680 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 724);
7681 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 725);
7682 : compiler::TNode<RawPtrT> tmp16;
7683 : USE(tmp16);
7684 4 : compiler::CodeAssemblerLabel label0(&ca_);
7685 12 : tmp16 = BaseBuiltinsFromDSLAssembler(state_).Cast15ATStandardFrame(compiler::TNode<Context>{tmp13}, compiler::TNode<RawPtrT>{tmp14}, &label0);
7686 : ca_.Goto(&block8, tmp13, tmp14, tmp15, tmp14, tmp14, tmp16);
7687 4 : if (label0.is_used()) {
7688 4 : ca_.Bind(&label0);
7689 : ca_.Goto(&block9, tmp13, tmp14, tmp15, tmp14, tmp14);
7690 : }
7691 : }
7692 :
7693 4 : if (block9.is_used()) {
7694 : compiler::TNode<Context> tmp17;
7695 : compiler::TNode<RawPtrT> tmp18;
7696 : compiler::TNode<Smi> tmp19;
7697 : compiler::TNode<RawPtrT> tmp20;
7698 : compiler::TNode<RawPtrT> tmp21;
7699 : ca_.Bind(&block9, &tmp17, &tmp18, &tmp19, &tmp20, &tmp21);
7700 : ca_.Goto(&block7, tmp17, tmp18, tmp19, tmp20);
7701 : }
7702 :
7703 4 : if (block8.is_used()) {
7704 : compiler::TNode<Context> tmp22;
7705 : compiler::TNode<RawPtrT> tmp23;
7706 : compiler::TNode<Smi> tmp24;
7707 : compiler::TNode<RawPtrT> tmp25;
7708 : compiler::TNode<RawPtrT> tmp26;
7709 : compiler::TNode<RawPtrT> tmp27;
7710 : ca_.Bind(&block8, &tmp22, &tmp23, &tmp24, &tmp25, &tmp26, &tmp27);
7711 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 726);
7712 8 : CodeStubAssembler(state_).Unreachable();
7713 : }
7714 :
7715 4 : if (block7.is_used()) {
7716 : compiler::TNode<Context> tmp28;
7717 : compiler::TNode<RawPtrT> tmp29;
7718 : compiler::TNode<Smi> tmp30;
7719 : compiler::TNode<RawPtrT> tmp31;
7720 : ca_.Bind(&block7, &tmp28, &tmp29, &tmp30, &tmp31);
7721 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 728);
7722 : compiler::TNode<RawPtrT> tmp32;
7723 : USE(tmp32);
7724 4 : compiler::CodeAssemblerLabel label0(&ca_);
7725 12 : tmp32 = BaseBuiltinsFromDSLAssembler(state_).Cast23ATArgumentsAdaptorFrame(compiler::TNode<Context>{tmp28}, compiler::TNode<RawPtrT>{ca_.UncheckedCast<RawPtrT>(tmp31)}, &label0);
7726 : ca_.Goto(&block12, tmp28, tmp29, tmp30, tmp31, ca_.UncheckedCast<RawPtrT>(tmp31), tmp32);
7727 4 : if (label0.is_used()) {
7728 4 : ca_.Bind(&label0);
7729 : ca_.Goto(&block13, tmp28, tmp29, tmp30, tmp31, ca_.UncheckedCast<RawPtrT>(tmp31));
7730 : }
7731 : }
7732 :
7733 4 : if (block13.is_used()) {
7734 : compiler::TNode<Context> tmp33;
7735 : compiler::TNode<RawPtrT> tmp34;
7736 : compiler::TNode<Smi> tmp35;
7737 : compiler::TNode<RawPtrT> tmp36;
7738 : compiler::TNode<RawPtrT> tmp37;
7739 : ca_.Bind(&block13, &tmp33, &tmp34, &tmp35, &tmp36, &tmp37);
7740 : ca_.Goto(&block11, tmp33, tmp34, tmp35, tmp36);
7741 : }
7742 :
7743 4 : if (block12.is_used()) {
7744 : compiler::TNode<Context> tmp38;
7745 : compiler::TNode<RawPtrT> tmp39;
7746 : compiler::TNode<Smi> tmp40;
7747 : compiler::TNode<RawPtrT> tmp41;
7748 : compiler::TNode<RawPtrT> tmp42;
7749 : compiler::TNode<RawPtrT> tmp43;
7750 : ca_.Bind(&block12, &tmp38, &tmp39, &tmp40, &tmp41, &tmp42, &tmp43);
7751 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 729);
7752 8 : CodeStubAssembler(state_).Unreachable();
7753 : }
7754 :
7755 4 : if (block11.is_used()) {
7756 : compiler::TNode<Context> tmp44;
7757 : compiler::TNode<RawPtrT> tmp45;
7758 : compiler::TNode<Smi> tmp46;
7759 : compiler::TNode<RawPtrT> tmp47;
7760 : ca_.Bind(&block11, &tmp44, &tmp45, &tmp46, &tmp47);
7761 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 731);
7762 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 728);
7763 : ca_.Goto(&block10, tmp44, tmp45, tmp46, tmp47);
7764 : }
7765 :
7766 4 : if (block10.is_used()) {
7767 : compiler::TNode<Context> tmp48;
7768 : compiler::TNode<RawPtrT> tmp49;
7769 : compiler::TNode<Smi> tmp50;
7770 : compiler::TNode<RawPtrT> tmp51;
7771 : ca_.Bind(&block10, &tmp48, &tmp49, &tmp50, &tmp51);
7772 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 725);
7773 : ca_.Goto(&block6, tmp48, tmp49, tmp50, tmp51);
7774 : }
7775 :
7776 4 : if (block6.is_used()) {
7777 : compiler::TNode<Context> tmp52;
7778 : compiler::TNode<RawPtrT> tmp53;
7779 : compiler::TNode<Smi> tmp54;
7780 : compiler::TNode<RawPtrT> tmp55;
7781 : ca_.Bind(&block6, &tmp52, &tmp53, &tmp54, &tmp55);
7782 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 724);
7783 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 718);
7784 : ca_.Goto(&block1, tmp52);
7785 : }
7786 :
7787 4 : if (block1.is_used()) {
7788 : compiler::TNode<Context> tmp56;
7789 : ca_.Bind(&block1, &tmp56);
7790 : ca_.Goto(&block14, tmp56);
7791 : }
7792 :
7793 : compiler::TNode<Context> tmp57;
7794 : ca_.Bind(&block14, &tmp57);
7795 4 : }
7796 :
7797 4 : void TestBuiltinsFromDSLAssembler::TestNew(compiler::TNode<Context> p_context) {
7798 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7799 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7800 : compiler::CodeAssemblerParameterizedLabel<Context> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7801 : ca_.Goto(&block0, p_context);
7802 :
7803 4 : if (block0.is_used()) {
7804 : compiler::TNode<Context> tmp0;
7805 : ca_.Bind(&block0, &tmp0);
7806 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 737);
7807 : compiler::TNode<JSArray> tmp1;
7808 : USE(tmp1);
7809 12 : tmp1 = ca_.UncheckedCast<JSArray>(BaseBuiltinsFromDSLAssembler(state_).NewJSArray(compiler::TNode<Context>{tmp0}));
7810 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 739);
7811 4 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(JSArray::kLengthOffset);
7812 : USE(tmp2);
7813 : compiler::TNode<Number> tmp3;
7814 : USE(tmp3);
7815 12 : tmp3 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr20UT5ATSmi10HeapNumber17ATconstexpr_int31(0));
7816 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp1, tmp2}, tmp3);
7817 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 736);
7818 : ca_.Goto(&block1, tmp0);
7819 : }
7820 :
7821 4 : if (block1.is_used()) {
7822 : compiler::TNode<Context> tmp4;
7823 : ca_.Bind(&block1, &tmp4);
7824 : ca_.Goto(&block2, tmp4);
7825 : }
7826 :
7827 : compiler::TNode<Context> tmp5;
7828 : ca_.Bind(&block2, &tmp5);
7829 4 : }
7830 :
7831 4 : void TestBuiltinsFromDSLAssembler::TestStructConstructor(compiler::TNode<Context> p_context) {
7832 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7833 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T, Int32T, Int32T, Int32T, Int32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7834 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7835 : compiler::CodeAssemblerParameterizedLabel<Context> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7836 : ca_.Goto(&block0, p_context);
7837 :
7838 4 : if (block0.is_used()) {
7839 : compiler::TNode<Context> tmp0;
7840 : ca_.Bind(&block0, &tmp0);
7841 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 761);
7842 : compiler::TNode<Int32T> tmp1;
7843 : USE(tmp1);
7844 12 : tmp1 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(6));
7845 : compiler::TNode<Int32T> tmp2;
7846 : USE(tmp2);
7847 12 : tmp2 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(7));
7848 : compiler::TNode<Int32T> tmp3;
7849 : USE(tmp3);
7850 12 : tmp3 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(5));
7851 : compiler::TNode<Int32T> tmp4;
7852 : USE(tmp4);
7853 12 : tmp4 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(8));
7854 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 766);
7855 : compiler::TNode<Int32T> tmp5;
7856 : USE(tmp5);
7857 12 : tmp5 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(1));
7858 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 768);
7859 : compiler::TNode<Int32T> tmp6;
7860 : USE(tmp6);
7861 12 : tmp6 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(2));
7862 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 744);
7863 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 768);
7864 : ca_.Goto(&block2, tmp0, tmp3, tmp6, tmp2, tmp4, tmp6);
7865 : }
7866 :
7867 4 : if (block2.is_used()) {
7868 : compiler::TNode<Context> tmp7;
7869 : compiler::TNode<Int32T> tmp8;
7870 : compiler::TNode<Int32T> tmp9;
7871 : compiler::TNode<Int32T> tmp10;
7872 : compiler::TNode<Int32T> tmp11;
7873 : compiler::TNode<Int32T> tmp12;
7874 : ca_.Bind(&block2, &tmp7, &tmp8, &tmp9, &tmp10, &tmp11, &tmp12);
7875 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 759);
7876 : ca_.Goto(&block1, tmp7);
7877 : }
7878 :
7879 4 : if (block1.is_used()) {
7880 : compiler::TNode<Context> tmp13;
7881 : ca_.Bind(&block1, &tmp13);
7882 : ca_.Goto(&block3, tmp13);
7883 : }
7884 :
7885 : compiler::TNode<Context> tmp14;
7886 : ca_.Bind(&block3, &tmp14);
7887 4 : }
7888 :
7889 0 : void TestBuiltinsFromDSLAssembler::TestClassWithAllTypesLoadsAndStores(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_t, compiler::TNode<RawPtrT> p_r, compiler::TNode<Int8T> p_v1, compiler::TNode<Uint8T> p_v2, compiler::TNode<Int16T> p_v3, compiler::TNode<Uint16T> p_v4) {
7890 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT, Int8T, Uint8T, Int16T, Uint16T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7891 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT, Int8T, Uint8T, Int16T, Uint16T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7892 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT, Int8T, Uint8T, Int16T, Uint16T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7893 : ca_.Goto(&block0, p_t, p_r, p_v1, p_v2, p_v3, p_v4);
7894 :
7895 0 : if (block0.is_used()) {
7896 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
7897 : compiler::TNode<RawPtrT> tmp1;
7898 : compiler::TNode<Int8T> tmp2;
7899 : compiler::TNode<Uint8T> tmp3;
7900 : compiler::TNode<Int16T> tmp4;
7901 : compiler::TNode<Uint16T> tmp5;
7902 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2, &tmp3, &tmp4, &tmp5);
7903 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 790);
7904 0 : compiler::TNode<IntPtrT> tmp6 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kAOffset);
7905 : USE(tmp6);
7906 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp6}, tmp2);
7907 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 791);
7908 0 : compiler::TNode<IntPtrT> tmp7 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kBOffset);
7909 : USE(tmp7);
7910 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp7}, tmp3);
7911 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 792);
7912 0 : compiler::TNode<IntPtrT> tmp8 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kCOffset);
7913 : USE(tmp8);
7914 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp8}, tmp4);
7915 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 793);
7916 0 : compiler::TNode<IntPtrT> tmp9 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kDOffset);
7917 : USE(tmp9);
7918 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp9}, tmp5);
7919 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 794);
7920 0 : compiler::TNode<IntPtrT> tmp10 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kEOffset);
7921 : USE(tmp10);
7922 : compiler::TNode<Int32T> tmp11;
7923 : USE(tmp11);
7924 0 : tmp11 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(0));
7925 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp10}, tmp11);
7926 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 795);
7927 0 : compiler::TNode<IntPtrT> tmp12 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kFOffset);
7928 : USE(tmp12);
7929 : compiler::TNode<Uint32T> tmp13;
7930 : USE(tmp13);
7931 0 : tmp13 = ca_.UncheckedCast<Uint32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATuint3217ATconstexpr_int31(0));
7932 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp12}, tmp13);
7933 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 796);
7934 0 : compiler::TNode<IntPtrT> tmp14 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kGOffset);
7935 : USE(tmp14);
7936 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp14}, tmp1);
7937 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 797);
7938 0 : compiler::TNode<IntPtrT> tmp15 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kHOffset);
7939 : USE(tmp15);
7940 : compiler::TNode<IntPtrT> tmp16;
7941 : USE(tmp16);
7942 0 : tmp16 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(0));
7943 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp15}, tmp16);
7944 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 798);
7945 0 : compiler::TNode<IntPtrT> tmp17 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kIOffset);
7946 : USE(tmp17);
7947 : compiler::TNode<UintPtrT> tmp18;
7948 : USE(tmp18);
7949 0 : tmp18 = ca_.UncheckedCast<UintPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr9ATuintptr17ATconstexpr_int31(0));
7950 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp17}, tmp18);
7951 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 799);
7952 0 : compiler::TNode<IntPtrT> tmp19 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kAOffset);
7953 : USE(tmp19);
7954 0 : compiler::TNode<IntPtrT> tmp20 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kAOffset);
7955 : USE(tmp20);
7956 0 : compiler::TNode<Int8T>tmp21 = CodeStubAssembler(state_).LoadReference<Int8T>(CodeStubAssembler::Reference{tmp0, tmp20});
7957 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp19}, tmp21);
7958 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 800);
7959 0 : compiler::TNode<IntPtrT> tmp22 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kBOffset);
7960 : USE(tmp22);
7961 0 : compiler::TNode<IntPtrT> tmp23 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kBOffset);
7962 : USE(tmp23);
7963 0 : compiler::TNode<Uint8T>tmp24 = CodeStubAssembler(state_).LoadReference<Uint8T>(CodeStubAssembler::Reference{tmp0, tmp23});
7964 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp22}, tmp24);
7965 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 801);
7966 0 : compiler::TNode<IntPtrT> tmp25 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kCOffset);
7967 : USE(tmp25);
7968 0 : compiler::TNode<IntPtrT> tmp26 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kCOffset);
7969 : USE(tmp26);
7970 0 : compiler::TNode<Int16T>tmp27 = CodeStubAssembler(state_).LoadReference<Int16T>(CodeStubAssembler::Reference{tmp0, tmp26});
7971 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp25}, tmp27);
7972 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 802);
7973 0 : compiler::TNode<IntPtrT> tmp28 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kDOffset);
7974 : USE(tmp28);
7975 0 : compiler::TNode<IntPtrT> tmp29 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kDOffset);
7976 : USE(tmp29);
7977 0 : compiler::TNode<Uint16T>tmp30 = CodeStubAssembler(state_).LoadReference<Uint16T>(CodeStubAssembler::Reference{tmp0, tmp29});
7978 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp28}, tmp30);
7979 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 803);
7980 0 : compiler::TNode<IntPtrT> tmp31 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kEOffset);
7981 : USE(tmp31);
7982 0 : compiler::TNode<IntPtrT> tmp32 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kEOffset);
7983 : USE(tmp32);
7984 0 : compiler::TNode<Int32T>tmp33 = CodeStubAssembler(state_).LoadReference<Int32T>(CodeStubAssembler::Reference{tmp0, tmp32});
7985 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp31}, tmp33);
7986 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 804);
7987 0 : compiler::TNode<IntPtrT> tmp34 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kFOffset);
7988 : USE(tmp34);
7989 0 : compiler::TNode<IntPtrT> tmp35 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kFOffset);
7990 : USE(tmp35);
7991 0 : compiler::TNode<Uint32T>tmp36 = CodeStubAssembler(state_).LoadReference<Uint32T>(CodeStubAssembler::Reference{tmp0, tmp35});
7992 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp34}, tmp36);
7993 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 805);
7994 0 : compiler::TNode<IntPtrT> tmp37 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kGOffset);
7995 : USE(tmp37);
7996 0 : compiler::TNode<IntPtrT> tmp38 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kGOffset);
7997 : USE(tmp38);
7998 0 : compiler::TNode<RawPtrT>tmp39 = CodeStubAssembler(state_).LoadReference<RawPtrT>(CodeStubAssembler::Reference{tmp0, tmp38});
7999 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp37}, tmp39);
8000 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 806);
8001 0 : compiler::TNode<IntPtrT> tmp40 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kHOffset);
8002 : USE(tmp40);
8003 0 : compiler::TNode<IntPtrT> tmp41 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kHOffset);
8004 : USE(tmp41);
8005 0 : compiler::TNode<IntPtrT>tmp42 = CodeStubAssembler(state_).LoadReference<IntPtrT>(CodeStubAssembler::Reference{tmp0, tmp41});
8006 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp40}, tmp42);
8007 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 807);
8008 0 : compiler::TNode<IntPtrT> tmp43 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kIOffset);
8009 : USE(tmp43);
8010 0 : compiler::TNode<IntPtrT> tmp44 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kIOffset);
8011 : USE(tmp44);
8012 0 : compiler::TNode<UintPtrT>tmp45 = CodeStubAssembler(state_).LoadReference<UintPtrT>(CodeStubAssembler::Reference{tmp0, tmp44});
8013 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp43}, tmp45);
8014 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 787);
8015 : ca_.Goto(&block1, tmp0, tmp1, tmp2, tmp3, tmp4, tmp5);
8016 : }
8017 :
8018 0 : if (block1.is_used()) {
8019 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp46;
8020 : compiler::TNode<RawPtrT> tmp47;
8021 : compiler::TNode<Int8T> tmp48;
8022 : compiler::TNode<Uint8T> tmp49;
8023 : compiler::TNode<Int16T> tmp50;
8024 : compiler::TNode<Uint16T> tmp51;
8025 : ca_.Bind(&block1, &tmp46, &tmp47, &tmp48, &tmp49, &tmp50, &tmp51);
8026 : ca_.Goto(&block2, tmp46, tmp47, tmp48, tmp49, tmp50, tmp51);
8027 : }
8028 :
8029 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp52;
8030 : compiler::TNode<RawPtrT> tmp53;
8031 : compiler::TNode<Int8T> tmp54;
8032 : compiler::TNode<Uint8T> tmp55;
8033 : compiler::TNode<Int16T> tmp56;
8034 : compiler::TNode<Uint16T> tmp57;
8035 : ca_.Bind(&block2, &tmp52, &tmp53, &tmp54, &tmp55, &tmp56, &tmp57);
8036 0 : }
8037 :
8038 4 : compiler::TNode<FixedArray> TestBuiltinsFromDSLAssembler::NewInternalClass(compiler::TNode<Smi> p_x) {
8039 4 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8040 : compiler::CodeAssemblerParameterizedLabel<Smi, FixedArray> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8041 : compiler::CodeAssemblerParameterizedLabel<Smi, FixedArray> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8042 : ca_.Goto(&block0, p_x);
8043 :
8044 4 : if (block0.is_used()) {
8045 : compiler::TNode<Smi> tmp0;
8046 : ca_.Bind(&block0, &tmp0);
8047 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 821);
8048 : compiler::TNode<Smi> tmp1;
8049 : USE(tmp1);
8050 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
8051 : compiler::TNode<Smi> tmp2;
8052 : USE(tmp2);
8053 8 : tmp2 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp0}, compiler::TNode<Smi>{tmp1}));
8054 : compiler::TNode<FixedArray> tmp3;
8055 : USE(tmp3);
8056 8 : tmp3 = CodeStubAssembler(state_).AllocateUninitializedFixedArray(2);
8057 4 : compiler::TNode<IntPtrT> tmp4 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
8058 : USE(tmp4);
8059 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp3, tmp4}, tmp0);
8060 4 : compiler::TNode<IntPtrT> tmp5 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
8061 : USE(tmp5);
8062 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp3, tmp5}, tmp2);
8063 : ca_.Goto(&block1, tmp0, tmp3);
8064 : }
8065 :
8066 4 : if (block1.is_used()) {
8067 : compiler::TNode<Smi> tmp6;
8068 : compiler::TNode<FixedArray> tmp7;
8069 : ca_.Bind(&block1, &tmp6, &tmp7);
8070 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 820);
8071 : ca_.Goto(&block2, tmp6, tmp7);
8072 : }
8073 :
8074 : compiler::TNode<Smi> tmp8;
8075 : compiler::TNode<FixedArray> tmp9;
8076 : ca_.Bind(&block2, &tmp8, &tmp9);
8077 8 : return compiler::TNode<FixedArray>{tmp9};
8078 : }
8079 :
8080 4 : void TestBuiltinsFromDSLAssembler::TestInternalClass(compiler::TNode<Context> p_context) {
8081 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8082 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, FixedArray> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8083 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, FixedArray> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8084 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8085 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8086 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
8087 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8088 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
8089 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8090 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8091 : compiler::CodeAssemblerParameterizedLabel<Context> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8092 : ca_.Goto(&block0, p_context);
8093 :
8094 4 : if (block0.is_used()) {
8095 : compiler::TNode<Context> tmp0;
8096 : ca_.Bind(&block0, &tmp0);
8097 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 825);
8098 : compiler::TNode<Smi> tmp1;
8099 : USE(tmp1);
8100 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
8101 : compiler::TNode<FixedArray> tmp2;
8102 : USE(tmp2);
8103 12 : tmp2 = ca_.UncheckedCast<FixedArray>(TestBuiltinsFromDSLAssembler(state_).NewInternalClass(compiler::TNode<Smi>{tmp1}));
8104 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 826);
8105 4 : compiler::CodeAssemblerLabel label0(&ca_);
8106 12 : TestBuiltinsFromDSLAssembler(state_)._method_InternalClass_Flip(compiler::TNode<FixedArray>{tmp2}, &label0);
8107 : ca_.Goto(&block4, tmp0, tmp2, tmp2);
8108 4 : if (label0.is_used()) {
8109 4 : ca_.Bind(&label0);
8110 : ca_.Goto(&block5, tmp0, tmp2, tmp2);
8111 : }
8112 : }
8113 :
8114 4 : if (block5.is_used()) {
8115 : compiler::TNode<Context> tmp3;
8116 : compiler::TNode<FixedArray> tmp4;
8117 : compiler::TNode<FixedArray> tmp5;
8118 : ca_.Bind(&block5, &tmp3, &tmp4, &tmp5);
8119 : ca_.Goto(&block3, tmp3, tmp4);
8120 : }
8121 :
8122 4 : if (block4.is_used()) {
8123 : compiler::TNode<Context> tmp6;
8124 : compiler::TNode<FixedArray> tmp7;
8125 : compiler::TNode<FixedArray> tmp8;
8126 : ca_.Bind(&block4, &tmp6, &tmp7, &tmp8);
8127 : ca_.Goto(&block2, tmp6, tmp7);
8128 : }
8129 :
8130 4 : if (block3.is_used()) {
8131 : compiler::TNode<Context> tmp9;
8132 : compiler::TNode<FixedArray> tmp10;
8133 : ca_.Bind(&block3, &tmp9, &tmp10);
8134 8 : CodeStubAssembler(state_).Unreachable();
8135 : }
8136 :
8137 4 : if (block2.is_used()) {
8138 : compiler::TNode<Context> tmp11;
8139 : compiler::TNode<FixedArray> tmp12;
8140 : ca_.Bind(&block2, &tmp11, &tmp12);
8141 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 827);
8142 4 : compiler::TNode<IntPtrT> tmp13 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
8143 : USE(tmp13);
8144 12 : compiler::TNode<Smi>tmp14 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp12, tmp13});
8145 : compiler::TNode<Smi> tmp15;
8146 : USE(tmp15);
8147 12 : tmp15 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(6));
8148 : compiler::TNode<BoolT> tmp16;
8149 : USE(tmp16);
8150 8 : tmp16 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp14}, compiler::TNode<Smi>{tmp15}));
8151 4 : ca_.Branch(tmp16, &block6, &block7, tmp11, tmp12);
8152 : }
8153 :
8154 4 : if (block7.is_used()) {
8155 : compiler::TNode<Context> tmp17;
8156 : compiler::TNode<FixedArray> tmp18;
8157 : ca_.Bind(&block7, &tmp17, &tmp18);
8158 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'o.a == 6\' failed", "../../test/torque/test-torque.tq", 827);
8159 : }
8160 :
8161 4 : if (block6.is_used()) {
8162 : compiler::TNode<Context> tmp19;
8163 : compiler::TNode<FixedArray> tmp20;
8164 : ca_.Bind(&block6, &tmp19, &tmp20);
8165 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 828);
8166 4 : compiler::TNode<IntPtrT> tmp21 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
8167 : USE(tmp21);
8168 12 : compiler::TNode<Number>tmp22 = CodeStubAssembler(state_).LoadReference<Number>(CodeStubAssembler::Reference{tmp20, tmp21});
8169 : compiler::TNode<Number> tmp23;
8170 : USE(tmp23);
8171 12 : tmp23 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr20UT5ATSmi10HeapNumber17ATconstexpr_int31(5));
8172 : compiler::TNode<BoolT> tmp24;
8173 : USE(tmp24);
8174 12 : tmp24 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).IsNumberEqual(compiler::TNode<Number>{tmp22}, compiler::TNode<Number>{tmp23}));
8175 4 : ca_.Branch(tmp24, &block8, &block9, tmp19, tmp20);
8176 : }
8177 :
8178 4 : if (block9.is_used()) {
8179 : compiler::TNode<Context> tmp25;
8180 : compiler::TNode<FixedArray> tmp26;
8181 : ca_.Bind(&block9, &tmp25, &tmp26);
8182 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'o.b == 5\' failed", "../../test/torque/test-torque.tq", 828);
8183 : }
8184 :
8185 4 : if (block8.is_used()) {
8186 : compiler::TNode<Context> tmp27;
8187 : compiler::TNode<FixedArray> tmp28;
8188 : ca_.Bind(&block8, &tmp27, &tmp28);
8189 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 824);
8190 : ca_.Goto(&block1, tmp27);
8191 : }
8192 :
8193 4 : if (block1.is_used()) {
8194 : compiler::TNode<Context> tmp29;
8195 : ca_.Bind(&block1, &tmp29);
8196 : ca_.Goto(&block10, tmp29);
8197 : }
8198 :
8199 : compiler::TNode<Context> tmp30;
8200 : ca_.Bind(&block10, &tmp30);
8201 4 : }
8202 :
8203 0 : void TestBuiltinsFromDSLAssembler::TestConstInStructs() {
8204 0 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8205 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8206 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8207 : ca_.Goto(&block0);
8208 :
8209 0 : if (block0.is_used()) {
8210 : ca_.Bind(&block0);
8211 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 843);
8212 : compiler::TNode<Oddball> tmp0;
8213 : USE(tmp0);
8214 0 : tmp0 = BaseBuiltinsFromDSLAssembler(state_).Null();
8215 : compiler::TNode<Int32T> tmp1;
8216 : USE(tmp1);
8217 0 : tmp1 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(1));
8218 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 844);
8219 : compiler::TNode<Oddball> tmp2;
8220 : USE(tmp2);
8221 0 : tmp2 = BaseBuiltinsFromDSLAssembler(state_).Null();
8222 : compiler::TNode<Int32T> tmp3;
8223 : USE(tmp3);
8224 0 : tmp3 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(1));
8225 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 845);
8226 : compiler::TNode<Oddball> tmp4;
8227 : USE(tmp4);
8228 0 : tmp4 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
8229 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 846);
8230 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 842);
8231 : ca_.Goto(&block1);
8232 : }
8233 :
8234 0 : if (block1.is_used()) {
8235 : ca_.Bind(&block1);
8236 : ca_.Goto(&block2);
8237 : }
8238 :
8239 : ca_.Bind(&block2);
8240 0 : }
8241 :
8242 4 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::TestNewFixedArrayFromSpread(compiler::TNode<Context> p_context) {
8243 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8244 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Map, Smi, IntPtrT, IntPtrT, IntPtrT, IntPtrT, FixedArray, HeapObject, IntPtrT, HeapObject, IntPtrT, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8245 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Map, Smi, IntPtrT, IntPtrT, IntPtrT, IntPtrT, FixedArray, HeapObject, IntPtrT, HeapObject, IntPtrT, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8246 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Map, Smi, IntPtrT, IntPtrT, IntPtrT, IntPtrT, FixedArray, HeapObject, IntPtrT, HeapObject, IntPtrT, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8247 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Map, Smi, IntPtrT, IntPtrT, IntPtrT, IntPtrT, FixedArray, HeapObject, IntPtrT, HeapObject, IntPtrT, Smi> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8248 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Map, Smi, IntPtrT, IntPtrT, IntPtrT, IntPtrT, FixedArray, HeapObject, IntPtrT, HeapObject, IntPtrT, Smi, Object> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8249 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Map, Smi, IntPtrT, IntPtrT, IntPtrT, IntPtrT, FixedArray, HeapObject, IntPtrT, HeapObject, IntPtrT, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
8250 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Map, Smi, IntPtrT, IntPtrT, IntPtrT, IntPtrT, FixedArray, HeapObject, IntPtrT, HeapObject, IntPtrT, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8251 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Map, Smi, IntPtrT, IntPtrT, IntPtrT, IntPtrT, FixedArray, HeapObject, IntPtrT, HeapObject, IntPtrT, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8252 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8253 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8254 : ca_.Goto(&block0, p_context);
8255 :
8256 4 : if (block0.is_used()) {
8257 : compiler::TNode<Context> tmp0;
8258 : ca_.Bind(&block0, &tmp0);
8259 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 858);
8260 : compiler::TNode<Smi> tmp1;
8261 : USE(tmp1);
8262 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
8263 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 859);
8264 : compiler::TNode<Map> tmp2;
8265 : USE(tmp2);
8266 12 : tmp2 = BaseBuiltinsFromDSLAssembler(state_).kFixedArrayMap();
8267 : compiler::TNode<IntPtrT> tmp3;
8268 : USE(tmp3);
8269 8 : tmp3 = CodeStubAssembler(state_).IntPtrConstant(((16)));
8270 : compiler::TNode<IntPtrT> tmp4;
8271 : USE(tmp4);
8272 12 : tmp4 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).Convert8ATintptr17ATconstexpr_int31(5));
8273 : compiler::TNode<IntPtrT> tmp5;
8274 : USE(tmp5);
8275 12 : tmp5 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(kTaggedSize));
8276 : compiler::TNode<IntPtrT> tmp6;
8277 : USE(tmp6);
8278 8 : tmp6 = ca_.UncheckedCast<IntPtrT>(CodeStubAssembler(state_).IntPtrMul(compiler::TNode<IntPtrT>{tmp4}, compiler::TNode<IntPtrT>{tmp5}));
8279 : compiler::TNode<IntPtrT> tmp7;
8280 : USE(tmp7);
8281 8 : tmp7 = ca_.UncheckedCast<IntPtrT>(CodeStubAssembler(state_).IntPtrAdd(compiler::TNode<IntPtrT>{tmp3}, compiler::TNode<IntPtrT>{tmp6}));
8282 : compiler::TNode<FixedArray> tmp8;
8283 : USE(tmp8);
8284 8 : tmp8 = ca_.UncheckedCast<FixedArray>(CodeStubAssembler(state_).Allocate(compiler::TNode<IntPtrT>{tmp7}));
8285 16 : CodeStubAssembler(state_).InitializeFieldsWithRoot(tmp8, CodeStubAssembler(state_).IntPtrConstant(16), compiler::TNode<IntPtrT>{tmp7}, RootIndex::kUndefinedValue);
8286 4 : compiler::TNode<IntPtrT> tmp9 = ca_.IntPtrConstant(HeapObject::kMapOffset);
8287 : USE(tmp9);
8288 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp8, tmp9}, tmp2);
8289 4 : compiler::TNode<IntPtrT> tmp10 = ca_.IntPtrConstant(FixedArrayBase::kLengthOffset);
8290 : USE(tmp10);
8291 : compiler::TNode<Smi> tmp11;
8292 : USE(tmp11);
8293 12 : tmp11 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
8294 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp8, tmp10}, tmp11);
8295 : compiler::TNode<Smi> tmp12;
8296 : USE(tmp12);
8297 12 : tmp12 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
8298 : ca_.Goto(&block6, tmp0, tmp1, tmp2, tmp1, tmp3, tmp4, tmp6, tmp7, tmp8, tmp8, tmp9, tmp8, tmp10, tmp12);
8299 : }
8300 :
8301 4 : if (block6.is_used()) {
8302 : compiler::TNode<Context> tmp13;
8303 : compiler::TNode<Smi> tmp14;
8304 : compiler::TNode<Map> tmp15;
8305 : compiler::TNode<Smi> tmp16;
8306 : compiler::TNode<IntPtrT> tmp17;
8307 : compiler::TNode<IntPtrT> tmp18;
8308 : compiler::TNode<IntPtrT> tmp19;
8309 : compiler::TNode<IntPtrT> tmp20;
8310 : compiler::TNode<FixedArray> tmp21;
8311 : compiler::TNode<HeapObject> tmp22;
8312 : compiler::TNode<IntPtrT> tmp23;
8313 : compiler::TNode<HeapObject> tmp24;
8314 : compiler::TNode<IntPtrT> tmp25;
8315 : compiler::TNode<Smi> tmp26;
8316 : ca_.Bind(&block6, &tmp13, &tmp14, &tmp15, &tmp16, &tmp17, &tmp18, &tmp19, &tmp20, &tmp21, &tmp22, &tmp23, &tmp24, &tmp25, &tmp26);
8317 : compiler::TNode<Smi> tmp27;
8318 : USE(tmp27);
8319 12 : tmp27 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
8320 : compiler::TNode<BoolT> tmp28;
8321 : USE(tmp28);
8322 8 : tmp28 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp26}, compiler::TNode<Smi>{tmp27}));
8323 4 : ca_.Branch(tmp28, &block4, &block3, tmp13, tmp14, tmp15, tmp16, tmp17, tmp18, tmp19, tmp20, tmp21, tmp22, tmp23, tmp24, tmp25, tmp26);
8324 : }
8325 :
8326 4 : if (block4.is_used()) {
8327 : compiler::TNode<Context> tmp29;
8328 : compiler::TNode<Smi> tmp30;
8329 : compiler::TNode<Map> tmp31;
8330 : compiler::TNode<Smi> tmp32;
8331 : compiler::TNode<IntPtrT> tmp33;
8332 : compiler::TNode<IntPtrT> tmp34;
8333 : compiler::TNode<IntPtrT> tmp35;
8334 : compiler::TNode<IntPtrT> tmp36;
8335 : compiler::TNode<FixedArray> tmp37;
8336 : compiler::TNode<HeapObject> tmp38;
8337 : compiler::TNode<IntPtrT> tmp39;
8338 : compiler::TNode<HeapObject> tmp40;
8339 : compiler::TNode<IntPtrT> tmp41;
8340 : compiler::TNode<Smi> tmp42;
8341 : ca_.Bind(&block4, &tmp29, &tmp30, &tmp31, &tmp32, &tmp33, &tmp34, &tmp35, &tmp36, &tmp37, &tmp38, &tmp39, &tmp40, &tmp41, &tmp42);
8342 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 851);
8343 : compiler::TNode<Smi> tmp43;
8344 : USE(tmp43);
8345 12 : tmp43 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
8346 : compiler::TNode<Smi> tmp44;
8347 : USE(tmp44);
8348 8 : tmp44 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiSub(compiler::TNode<Smi>{tmp32}, compiler::TNode<Smi>{tmp43}));
8349 : compiler::TNode<Smi> tmp45;
8350 : USE(tmp45);
8351 12 : tmp45 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
8352 : compiler::TNode<BoolT> tmp46;
8353 : USE(tmp46);
8354 8 : tmp46 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp32}, compiler::TNode<Smi>{tmp45}));
8355 4 : ca_.Branch(tmp46, &block8, &block9, tmp29, tmp30, tmp31, tmp44, tmp33, tmp34, tmp35, tmp36, tmp37, tmp38, tmp39, tmp40, tmp41, tmp42);
8356 : }
8357 :
8358 4 : if (block8.is_used()) {
8359 : compiler::TNode<Context> tmp47;
8360 : compiler::TNode<Smi> tmp48;
8361 : compiler::TNode<Map> tmp49;
8362 : compiler::TNode<Smi> tmp50;
8363 : compiler::TNode<IntPtrT> tmp51;
8364 : compiler::TNode<IntPtrT> tmp52;
8365 : compiler::TNode<IntPtrT> tmp53;
8366 : compiler::TNode<IntPtrT> tmp54;
8367 : compiler::TNode<FixedArray> tmp55;
8368 : compiler::TNode<HeapObject> tmp56;
8369 : compiler::TNode<IntPtrT> tmp57;
8370 : compiler::TNode<HeapObject> tmp58;
8371 : compiler::TNode<IntPtrT> tmp59;
8372 : compiler::TNode<Smi> tmp60;
8373 : ca_.Bind(&block8, &tmp47, &tmp48, &tmp49, &tmp50, &tmp51, &tmp52, &tmp53, &tmp54, &tmp55, &tmp56, &tmp57, &tmp58, &tmp59, &tmp60);
8374 : ca_.Goto(&block5, tmp47, tmp48, tmp49, tmp50, tmp51, tmp52, tmp53, tmp54, tmp55, tmp56, tmp57, tmp58, tmp59, tmp60);
8375 : }
8376 :
8377 4 : if (block9.is_used()) {
8378 : compiler::TNode<Context> tmp61;
8379 : compiler::TNode<Smi> tmp62;
8380 : compiler::TNode<Map> tmp63;
8381 : compiler::TNode<Smi> tmp64;
8382 : compiler::TNode<IntPtrT> tmp65;
8383 : compiler::TNode<IntPtrT> tmp66;
8384 : compiler::TNode<IntPtrT> tmp67;
8385 : compiler::TNode<IntPtrT> tmp68;
8386 : compiler::TNode<FixedArray> tmp69;
8387 : compiler::TNode<HeapObject> tmp70;
8388 : compiler::TNode<IntPtrT> tmp71;
8389 : compiler::TNode<HeapObject> tmp72;
8390 : compiler::TNode<IntPtrT> tmp73;
8391 : compiler::TNode<Smi> tmp74;
8392 : ca_.Bind(&block9, &tmp61, &tmp62, &tmp63, &tmp64, &tmp65, &tmp66, &tmp67, &tmp68, &tmp69, &tmp70, &tmp71, &tmp72, &tmp73, &tmp74);
8393 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 852);
8394 : compiler::TNode<Oddball> tmp75;
8395 : USE(tmp75);
8396 12 : tmp75 = BaseBuiltinsFromDSLAssembler(state_).Hole();
8397 : ca_.Goto(&block7, tmp61, tmp62, tmp63, tmp64, tmp65, tmp66, tmp67, tmp68, tmp69, tmp70, tmp71, tmp72, tmp73, tmp74, tmp75);
8398 : }
8399 :
8400 4 : if (block7.is_used()) {
8401 : compiler::TNode<Context> tmp76;
8402 : compiler::TNode<Smi> tmp77;
8403 : compiler::TNode<Map> tmp78;
8404 : compiler::TNode<Smi> tmp79;
8405 : compiler::TNode<IntPtrT> tmp80;
8406 : compiler::TNode<IntPtrT> tmp81;
8407 : compiler::TNode<IntPtrT> tmp82;
8408 : compiler::TNode<IntPtrT> tmp83;
8409 : compiler::TNode<FixedArray> tmp84;
8410 : compiler::TNode<HeapObject> tmp85;
8411 : compiler::TNode<IntPtrT> tmp86;
8412 : compiler::TNode<HeapObject> tmp87;
8413 : compiler::TNode<IntPtrT> tmp88;
8414 : compiler::TNode<Smi> tmp89;
8415 : compiler::TNode<Object> tmp90;
8416 : ca_.Bind(&block7, &tmp76, &tmp77, &tmp78, &tmp79, &tmp80, &tmp81, &tmp82, &tmp83, &tmp84, &tmp85, &tmp86, &tmp87, &tmp88, &tmp89, &tmp90);
8417 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 859);
8418 12 : BaseBuiltinsFromDSLAssembler(state_).StoreFixedArrayDirect(compiler::TNode<FixedArray>{tmp84}, compiler::TNode<Smi>{tmp89}, compiler::TNode<Object>{tmp90});
8419 : compiler::TNode<Smi> tmp91;
8420 : USE(tmp91);
8421 12 : tmp91 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
8422 : compiler::TNode<Smi> tmp92;
8423 : USE(tmp92);
8424 8 : tmp92 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp89}, compiler::TNode<Smi>{tmp91}));
8425 : ca_.Goto(&block6, tmp76, tmp77, tmp78, tmp79, tmp80, tmp81, tmp82, tmp83, tmp84, tmp85, tmp86, tmp87, tmp88, tmp92);
8426 : }
8427 :
8428 4 : if (block5.is_used()) {
8429 : compiler::TNode<Context> tmp93;
8430 : compiler::TNode<Smi> tmp94;
8431 : compiler::TNode<Map> tmp95;
8432 : compiler::TNode<Smi> tmp96;
8433 : compiler::TNode<IntPtrT> tmp97;
8434 : compiler::TNode<IntPtrT> tmp98;
8435 : compiler::TNode<IntPtrT> tmp99;
8436 : compiler::TNode<IntPtrT> tmp100;
8437 : compiler::TNode<FixedArray> tmp101;
8438 : compiler::TNode<HeapObject> tmp102;
8439 : compiler::TNode<IntPtrT> tmp103;
8440 : compiler::TNode<HeapObject> tmp104;
8441 : compiler::TNode<IntPtrT> tmp105;
8442 : compiler::TNode<Smi> tmp106;
8443 : ca_.Bind(&block5, &tmp93, &tmp94, &tmp95, &tmp96, &tmp97, &tmp98, &tmp99, &tmp100, &tmp101, &tmp102, &tmp103, &tmp104, &tmp105, &tmp106);
8444 8 : CodeStubAssembler(state_).Unreachable();
8445 : }
8446 :
8447 4 : if (block3.is_used()) {
8448 : compiler::TNode<Context> tmp107;
8449 : compiler::TNode<Smi> tmp108;
8450 : compiler::TNode<Map> tmp109;
8451 : compiler::TNode<Smi> tmp110;
8452 : compiler::TNode<IntPtrT> tmp111;
8453 : compiler::TNode<IntPtrT> tmp112;
8454 : compiler::TNode<IntPtrT> tmp113;
8455 : compiler::TNode<IntPtrT> tmp114;
8456 : compiler::TNode<FixedArray> tmp115;
8457 : compiler::TNode<HeapObject> tmp116;
8458 : compiler::TNode<IntPtrT> tmp117;
8459 : compiler::TNode<HeapObject> tmp118;
8460 : compiler::TNode<IntPtrT> tmp119;
8461 : compiler::TNode<Smi> tmp120;
8462 : ca_.Bind(&block3, &tmp107, &tmp108, &tmp109, &tmp110, &tmp111, &tmp112, &tmp113, &tmp114, &tmp115, &tmp116, &tmp117, &tmp118, &tmp119, &tmp120);
8463 : ca_.Goto(&block2, tmp107, tmp108, tmp109, tmp110, tmp111, tmp112, tmp113, tmp114, tmp115, tmp116, tmp117, tmp118, tmp119, tmp120);
8464 : }
8465 :
8466 4 : if (block2.is_used()) {
8467 : compiler::TNode<Context> tmp121;
8468 : compiler::TNode<Smi> tmp122;
8469 : compiler::TNode<Map> tmp123;
8470 : compiler::TNode<Smi> tmp124;
8471 : compiler::TNode<IntPtrT> tmp125;
8472 : compiler::TNode<IntPtrT> tmp126;
8473 : compiler::TNode<IntPtrT> tmp127;
8474 : compiler::TNode<IntPtrT> tmp128;
8475 : compiler::TNode<FixedArray> tmp129;
8476 : compiler::TNode<HeapObject> tmp130;
8477 : compiler::TNode<IntPtrT> tmp131;
8478 : compiler::TNode<HeapObject> tmp132;
8479 : compiler::TNode<IntPtrT> tmp133;
8480 : compiler::TNode<Smi> tmp134;
8481 : ca_.Bind(&block2, &tmp121, &tmp122, &tmp123, &tmp124, &tmp125, &tmp126, &tmp127, &tmp128, &tmp129, &tmp130, &tmp131, &tmp132, &tmp133, &tmp134);
8482 : ca_.Goto(&block1, tmp121, tmp129);
8483 : }
8484 :
8485 4 : if (block1.is_used()) {
8486 : compiler::TNode<Context> tmp135;
8487 : compiler::TNode<Object> tmp136;
8488 : ca_.Bind(&block1, &tmp135, &tmp136);
8489 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 857);
8490 : ca_.Goto(&block10, tmp135, tmp136);
8491 : }
8492 :
8493 : compiler::TNode<Context> tmp137;
8494 : compiler::TNode<Object> tmp138;
8495 : ca_.Bind(&block10, &tmp137, &tmp138);
8496 8 : return compiler::TNode<Object>{tmp138};
8497 : }
8498 :
8499 4 : void TestBuiltinsFromDSLAssembler::TestReferences() {
8500 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8501 : compiler::CodeAssemblerParameterizedLabel<FixedArray, HeapObject, IntPtrT> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
8502 : compiler::CodeAssemblerParameterizedLabel<FixedArray, HeapObject, IntPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8503 : compiler::CodeAssemblerParameterizedLabel<FixedArray, HeapObject, IntPtrT> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
8504 : compiler::CodeAssemblerParameterizedLabel<FixedArray, HeapObject, IntPtrT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8505 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8506 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8507 : ca_.Goto(&block0);
8508 :
8509 4 : if (block0.is_used()) {
8510 : ca_.Bind(&block0);
8511 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 877);
8512 : compiler::TNode<FixedArray> tmp0;
8513 : USE(tmp0);
8514 8 : tmp0 = CodeStubAssembler(state_).AllocateUninitializedFixedArray(2);
8515 4 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
8516 : USE(tmp1);
8517 : compiler::TNode<Smi> tmp2;
8518 : USE(tmp2);
8519 12 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
8520 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp1}, tmp2);
8521 4 : compiler::TNode<IntPtrT> tmp3 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
8522 : USE(tmp3);
8523 : compiler::TNode<Smi> tmp4;
8524 : USE(tmp4);
8525 12 : tmp4 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(2));
8526 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp3}, tmp4);
8527 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 878);
8528 4 : compiler::TNode<IntPtrT> tmp5 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
8529 : USE(tmp5);
8530 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 879);
8531 12 : compiler::TNode<Smi>tmp6 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp0, tmp5});
8532 : compiler::TNode<Smi> tmp7;
8533 : USE(tmp7);
8534 12 : tmp7 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
8535 : compiler::TNode<Smi> tmp8;
8536 : USE(tmp8);
8537 8 : tmp8 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp7}, compiler::TNode<Smi>{tmp6}));
8538 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp5}, tmp8);
8539 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 880);
8540 12 : compiler::TNode<Smi>tmp9 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp0, tmp5});
8541 : compiler::TNode<Smi> tmp10;
8542 : USE(tmp10);
8543 12 : tmp10 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
8544 : compiler::TNode<Smi> tmp11;
8545 : USE(tmp11);
8546 8 : tmp11 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiSub(compiler::TNode<Smi>{tmp9}, compiler::TNode<Smi>{tmp10}));
8547 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp5}, tmp11);
8548 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 881);
8549 4 : compiler::TNode<IntPtrT> tmp12 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
8550 : USE(tmp12);
8551 : compiler::TNode<HeapObject> tmp13;
8552 : USE(tmp13);
8553 : compiler::TNode<IntPtrT> tmp14;
8554 : USE(tmp14);
8555 16 : std::tie(tmp13, tmp14) = TestBuiltinsFromDSLAssembler(state_)._method_SmiPair_GetA(compiler::TNode<FixedArray>{tmp0}).Flatten();
8556 16 : TestBuiltinsFromDSLAssembler(state_).Swap5ATSmi(CodeStubAssembler::Reference{tmp0, tmp12}, CodeStubAssembler::Reference{tmp13, tmp14});
8557 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 882);
8558 4 : compiler::TNode<IntPtrT> tmp15 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
8559 : USE(tmp15);
8560 12 : compiler::TNode<Smi>tmp16 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp0, tmp15});
8561 : compiler::TNode<Smi> tmp17;
8562 : USE(tmp17);
8563 12 : tmp17 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(2));
8564 : compiler::TNode<BoolT> tmp18;
8565 : USE(tmp18);
8566 8 : tmp18 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp16}, compiler::TNode<Smi>{tmp17}));
8567 4 : ca_.Branch(tmp18, &block2, &block3, tmp0, tmp0, tmp5);
8568 : }
8569 :
8570 4 : if (block3.is_used()) {
8571 : compiler::TNode<FixedArray> tmp19;
8572 : compiler::TNode<HeapObject> tmp20;
8573 : compiler::TNode<IntPtrT> tmp21;
8574 : ca_.Bind(&block3, &tmp19, &tmp20, &tmp21);
8575 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'array.a == 2\' failed", "../../test/torque/test-torque.tq", 882);
8576 : }
8577 :
8578 4 : if (block2.is_used()) {
8579 : compiler::TNode<FixedArray> tmp22;
8580 : compiler::TNode<HeapObject> tmp23;
8581 : compiler::TNode<IntPtrT> tmp24;
8582 : ca_.Bind(&block2, &tmp22, &tmp23, &tmp24);
8583 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 883);
8584 4 : compiler::TNode<IntPtrT> tmp25 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
8585 : USE(tmp25);
8586 12 : compiler::TNode<Smi>tmp26 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp22, tmp25});
8587 : compiler::TNode<Smi> tmp27;
8588 : USE(tmp27);
8589 12 : tmp27 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(9));
8590 : compiler::TNode<BoolT> tmp28;
8591 : USE(tmp28);
8592 8 : tmp28 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp26}, compiler::TNode<Smi>{tmp27}));
8593 4 : ca_.Branch(tmp28, &block4, &block5, tmp22, tmp23, tmp24);
8594 : }
8595 :
8596 4 : if (block5.is_used()) {
8597 : compiler::TNode<FixedArray> tmp29;
8598 : compiler::TNode<HeapObject> tmp30;
8599 : compiler::TNode<IntPtrT> tmp31;
8600 : ca_.Bind(&block5, &tmp29, &tmp30, &tmp31);
8601 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'array.b == 9\' failed", "../../test/torque/test-torque.tq", 883);
8602 : }
8603 :
8604 4 : if (block4.is_used()) {
8605 : compiler::TNode<FixedArray> tmp32;
8606 : compiler::TNode<HeapObject> tmp33;
8607 : compiler::TNode<IntPtrT> tmp34;
8608 : ca_.Bind(&block4, &tmp32, &tmp33, &tmp34);
8609 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 876);
8610 : ca_.Goto(&block1);
8611 : }
8612 :
8613 4 : if (block1.is_used()) {
8614 : ca_.Bind(&block1);
8615 : ca_.Goto(&block6);
8616 : }
8617 :
8618 : ca_.Bind(&block6);
8619 4 : }
8620 :
8621 0 : compiler::TNode<Int8T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesA(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8622 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8623 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int8T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8624 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int8T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8625 : ca_.Goto(&block0, p_o);
8626 :
8627 0 : if (block0.is_used()) {
8628 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8629 : ca_.Bind(&block0, &tmp0);
8630 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 774);
8631 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kAOffset);
8632 : USE(tmp1);
8633 0 : compiler::TNode<Int8T>tmp2 = CodeStubAssembler(state_).LoadReference<Int8T>(CodeStubAssembler::Reference{tmp0, tmp1});
8634 : ca_.Goto(&block1, tmp0, tmp2);
8635 : }
8636 :
8637 0 : if (block1.is_used()) {
8638 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8639 : compiler::TNode<Int8T> tmp4;
8640 : ca_.Bind(&block1, &tmp3, &tmp4);
8641 : ca_.Goto(&block2, tmp3, tmp4);
8642 : }
8643 :
8644 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8645 : compiler::TNode<Int8T> tmp6;
8646 : ca_.Bind(&block2, &tmp5, &tmp6);
8647 0 : return compiler::TNode<Int8T>{tmp6};
8648 : }
8649 :
8650 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesA(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Int8T> p_v) {
8651 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int8T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8652 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int8T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8653 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int8T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8654 : ca_.Goto(&block0, p_o, p_v);
8655 :
8656 0 : if (block0.is_used()) {
8657 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8658 : compiler::TNode<Int8T> tmp1;
8659 : ca_.Bind(&block0, &tmp0, &tmp1);
8660 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 774);
8661 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kAOffset);
8662 : USE(tmp2);
8663 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
8664 : ca_.Goto(&block1, tmp0, tmp1);
8665 : }
8666 :
8667 0 : if (block1.is_used()) {
8668 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8669 : compiler::TNode<Int8T> tmp4;
8670 : ca_.Bind(&block1, &tmp3, &tmp4);
8671 : ca_.Goto(&block2, tmp3, tmp4);
8672 : }
8673 :
8674 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8675 : compiler::TNode<Int8T> tmp6;
8676 : ca_.Bind(&block2, &tmp5, &tmp6);
8677 0 : }
8678 :
8679 0 : compiler::TNode<Uint8T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesB(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8680 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8681 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8682 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8683 : ca_.Goto(&block0, p_o);
8684 :
8685 0 : if (block0.is_used()) {
8686 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8687 : ca_.Bind(&block0, &tmp0);
8688 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 775);
8689 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kBOffset);
8690 : USE(tmp1);
8691 0 : compiler::TNode<Uint8T>tmp2 = CodeStubAssembler(state_).LoadReference<Uint8T>(CodeStubAssembler::Reference{tmp0, tmp1});
8692 : ca_.Goto(&block1, tmp0, tmp2);
8693 : }
8694 :
8695 0 : if (block1.is_used()) {
8696 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8697 : compiler::TNode<Uint8T> tmp4;
8698 : ca_.Bind(&block1, &tmp3, &tmp4);
8699 : ca_.Goto(&block2, tmp3, tmp4);
8700 : }
8701 :
8702 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8703 : compiler::TNode<Uint8T> tmp6;
8704 : ca_.Bind(&block2, &tmp5, &tmp6);
8705 0 : return compiler::TNode<Uint8T>{tmp6};
8706 : }
8707 :
8708 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesB(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Uint8T> p_v) {
8709 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8710 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8711 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8712 : ca_.Goto(&block0, p_o, p_v);
8713 :
8714 0 : if (block0.is_used()) {
8715 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8716 : compiler::TNode<Uint8T> tmp1;
8717 : ca_.Bind(&block0, &tmp0, &tmp1);
8718 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 775);
8719 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kBOffset);
8720 : USE(tmp2);
8721 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
8722 : ca_.Goto(&block1, tmp0, tmp1);
8723 : }
8724 :
8725 0 : if (block1.is_used()) {
8726 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8727 : compiler::TNode<Uint8T> tmp4;
8728 : ca_.Bind(&block1, &tmp3, &tmp4);
8729 : ca_.Goto(&block2, tmp3, tmp4);
8730 : }
8731 :
8732 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8733 : compiler::TNode<Uint8T> tmp6;
8734 : ca_.Bind(&block2, &tmp5, &tmp6);
8735 0 : }
8736 :
8737 0 : compiler::TNode<Uint8T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesB2(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8738 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8739 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8740 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8741 : ca_.Goto(&block0, p_o);
8742 :
8743 0 : if (block0.is_used()) {
8744 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8745 : ca_.Bind(&block0, &tmp0);
8746 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 776);
8747 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kB2Offset);
8748 : USE(tmp1);
8749 0 : compiler::TNode<Uint8T>tmp2 = CodeStubAssembler(state_).LoadReference<Uint8T>(CodeStubAssembler::Reference{tmp0, tmp1});
8750 : ca_.Goto(&block1, tmp0, tmp2);
8751 : }
8752 :
8753 0 : if (block1.is_used()) {
8754 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8755 : compiler::TNode<Uint8T> tmp4;
8756 : ca_.Bind(&block1, &tmp3, &tmp4);
8757 : ca_.Goto(&block2, tmp3, tmp4);
8758 : }
8759 :
8760 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8761 : compiler::TNode<Uint8T> tmp6;
8762 : ca_.Bind(&block2, &tmp5, &tmp6);
8763 0 : return compiler::TNode<Uint8T>{tmp6};
8764 : }
8765 :
8766 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesB2(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Uint8T> p_v) {
8767 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8768 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8769 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8770 : ca_.Goto(&block0, p_o, p_v);
8771 :
8772 0 : if (block0.is_used()) {
8773 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8774 : compiler::TNode<Uint8T> tmp1;
8775 : ca_.Bind(&block0, &tmp0, &tmp1);
8776 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 776);
8777 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kB2Offset);
8778 : USE(tmp2);
8779 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
8780 : ca_.Goto(&block1, tmp0, tmp1);
8781 : }
8782 :
8783 0 : if (block1.is_used()) {
8784 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8785 : compiler::TNode<Uint8T> tmp4;
8786 : ca_.Bind(&block1, &tmp3, &tmp4);
8787 : ca_.Goto(&block2, tmp3, tmp4);
8788 : }
8789 :
8790 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8791 : compiler::TNode<Uint8T> tmp6;
8792 : ca_.Bind(&block2, &tmp5, &tmp6);
8793 0 : }
8794 :
8795 0 : compiler::TNode<Uint8T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesB3(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8796 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8797 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8798 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8799 : ca_.Goto(&block0, p_o);
8800 :
8801 0 : if (block0.is_used()) {
8802 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8803 : ca_.Bind(&block0, &tmp0);
8804 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 777);
8805 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kB3Offset);
8806 : USE(tmp1);
8807 0 : compiler::TNode<Uint8T>tmp2 = CodeStubAssembler(state_).LoadReference<Uint8T>(CodeStubAssembler::Reference{tmp0, tmp1});
8808 : ca_.Goto(&block1, tmp0, tmp2);
8809 : }
8810 :
8811 0 : if (block1.is_used()) {
8812 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8813 : compiler::TNode<Uint8T> tmp4;
8814 : ca_.Bind(&block1, &tmp3, &tmp4);
8815 : ca_.Goto(&block2, tmp3, tmp4);
8816 : }
8817 :
8818 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8819 : compiler::TNode<Uint8T> tmp6;
8820 : ca_.Bind(&block2, &tmp5, &tmp6);
8821 0 : return compiler::TNode<Uint8T>{tmp6};
8822 : }
8823 :
8824 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesB3(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Uint8T> p_v) {
8825 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8826 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8827 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8828 : ca_.Goto(&block0, p_o, p_v);
8829 :
8830 0 : if (block0.is_used()) {
8831 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8832 : compiler::TNode<Uint8T> tmp1;
8833 : ca_.Bind(&block0, &tmp0, &tmp1);
8834 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 777);
8835 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kB3Offset);
8836 : USE(tmp2);
8837 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
8838 : ca_.Goto(&block1, tmp0, tmp1);
8839 : }
8840 :
8841 0 : if (block1.is_used()) {
8842 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8843 : compiler::TNode<Uint8T> tmp4;
8844 : ca_.Bind(&block1, &tmp3, &tmp4);
8845 : ca_.Goto(&block2, tmp3, tmp4);
8846 : }
8847 :
8848 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8849 : compiler::TNode<Uint8T> tmp6;
8850 : ca_.Bind(&block2, &tmp5, &tmp6);
8851 0 : }
8852 :
8853 0 : compiler::TNode<Int16T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesC(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8854 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8855 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int16T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8856 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int16T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8857 : ca_.Goto(&block0, p_o);
8858 :
8859 0 : if (block0.is_used()) {
8860 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8861 : ca_.Bind(&block0, &tmp0);
8862 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 778);
8863 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kCOffset);
8864 : USE(tmp1);
8865 0 : compiler::TNode<Int16T>tmp2 = CodeStubAssembler(state_).LoadReference<Int16T>(CodeStubAssembler::Reference{tmp0, tmp1});
8866 : ca_.Goto(&block1, tmp0, tmp2);
8867 : }
8868 :
8869 0 : if (block1.is_used()) {
8870 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8871 : compiler::TNode<Int16T> tmp4;
8872 : ca_.Bind(&block1, &tmp3, &tmp4);
8873 : ca_.Goto(&block2, tmp3, tmp4);
8874 : }
8875 :
8876 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8877 : compiler::TNode<Int16T> tmp6;
8878 : ca_.Bind(&block2, &tmp5, &tmp6);
8879 0 : return compiler::TNode<Int16T>{tmp6};
8880 : }
8881 :
8882 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesC(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Int16T> p_v) {
8883 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int16T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8884 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int16T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8885 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int16T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8886 : ca_.Goto(&block0, p_o, p_v);
8887 :
8888 0 : if (block0.is_used()) {
8889 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8890 : compiler::TNode<Int16T> tmp1;
8891 : ca_.Bind(&block0, &tmp0, &tmp1);
8892 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 778);
8893 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kCOffset);
8894 : USE(tmp2);
8895 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
8896 : ca_.Goto(&block1, tmp0, tmp1);
8897 : }
8898 :
8899 0 : if (block1.is_used()) {
8900 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8901 : compiler::TNode<Int16T> tmp4;
8902 : ca_.Bind(&block1, &tmp3, &tmp4);
8903 : ca_.Goto(&block2, tmp3, tmp4);
8904 : }
8905 :
8906 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8907 : compiler::TNode<Int16T> tmp6;
8908 : ca_.Bind(&block2, &tmp5, &tmp6);
8909 0 : }
8910 :
8911 0 : compiler::TNode<Uint16T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesD(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8912 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8913 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint16T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8914 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint16T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8915 : ca_.Goto(&block0, p_o);
8916 :
8917 0 : if (block0.is_used()) {
8918 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8919 : ca_.Bind(&block0, &tmp0);
8920 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 779);
8921 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kDOffset);
8922 : USE(tmp1);
8923 0 : compiler::TNode<Uint16T>tmp2 = CodeStubAssembler(state_).LoadReference<Uint16T>(CodeStubAssembler::Reference{tmp0, tmp1});
8924 : ca_.Goto(&block1, tmp0, tmp2);
8925 : }
8926 :
8927 0 : if (block1.is_used()) {
8928 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8929 : compiler::TNode<Uint16T> tmp4;
8930 : ca_.Bind(&block1, &tmp3, &tmp4);
8931 : ca_.Goto(&block2, tmp3, tmp4);
8932 : }
8933 :
8934 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8935 : compiler::TNode<Uint16T> tmp6;
8936 : ca_.Bind(&block2, &tmp5, &tmp6);
8937 0 : return compiler::TNode<Uint16T>{tmp6};
8938 : }
8939 :
8940 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesD(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Uint16T> p_v) {
8941 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint16T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8942 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint16T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8943 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint16T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8944 : ca_.Goto(&block0, p_o, p_v);
8945 :
8946 0 : if (block0.is_used()) {
8947 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8948 : compiler::TNode<Uint16T> tmp1;
8949 : ca_.Bind(&block0, &tmp0, &tmp1);
8950 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 779);
8951 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kDOffset);
8952 : USE(tmp2);
8953 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
8954 : ca_.Goto(&block1, tmp0, tmp1);
8955 : }
8956 :
8957 0 : if (block1.is_used()) {
8958 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8959 : compiler::TNode<Uint16T> tmp4;
8960 : ca_.Bind(&block1, &tmp3, &tmp4);
8961 : ca_.Goto(&block2, tmp3, tmp4);
8962 : }
8963 :
8964 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8965 : compiler::TNode<Uint16T> tmp6;
8966 : ca_.Bind(&block2, &tmp5, &tmp6);
8967 0 : }
8968 :
8969 0 : compiler::TNode<Int32T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesE(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8970 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8971 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8972 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8973 : ca_.Goto(&block0, p_o);
8974 :
8975 0 : if (block0.is_used()) {
8976 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8977 : ca_.Bind(&block0, &tmp0);
8978 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 780);
8979 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kEOffset);
8980 : USE(tmp1);
8981 0 : compiler::TNode<Int32T>tmp2 = CodeStubAssembler(state_).LoadReference<Int32T>(CodeStubAssembler::Reference{tmp0, tmp1});
8982 : ca_.Goto(&block1, tmp0, tmp2);
8983 : }
8984 :
8985 0 : if (block1.is_used()) {
8986 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8987 : compiler::TNode<Int32T> tmp4;
8988 : ca_.Bind(&block1, &tmp3, &tmp4);
8989 : ca_.Goto(&block2, tmp3, tmp4);
8990 : }
8991 :
8992 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8993 : compiler::TNode<Int32T> tmp6;
8994 : ca_.Bind(&block2, &tmp5, &tmp6);
8995 0 : return compiler::TNode<Int32T>{tmp6};
8996 : }
8997 :
8998 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesE(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Int32T> p_v) {
8999 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9000 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9001 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9002 : ca_.Goto(&block0, p_o, p_v);
9003 :
9004 0 : if (block0.is_used()) {
9005 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9006 : compiler::TNode<Int32T> tmp1;
9007 : ca_.Bind(&block0, &tmp0, &tmp1);
9008 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 780);
9009 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kEOffset);
9010 : USE(tmp2);
9011 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9012 : ca_.Goto(&block1, tmp0, tmp1);
9013 : }
9014 :
9015 0 : if (block1.is_used()) {
9016 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9017 : compiler::TNode<Int32T> tmp4;
9018 : ca_.Bind(&block1, &tmp3, &tmp4);
9019 : ca_.Goto(&block2, tmp3, tmp4);
9020 : }
9021 :
9022 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9023 : compiler::TNode<Int32T> tmp6;
9024 : ca_.Bind(&block2, &tmp5, &tmp6);
9025 0 : }
9026 :
9027 0 : compiler::TNode<Uint32T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesF(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
9028 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9029 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9030 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9031 : ca_.Goto(&block0, p_o);
9032 :
9033 0 : if (block0.is_used()) {
9034 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9035 : ca_.Bind(&block0, &tmp0);
9036 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 781);
9037 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kFOffset);
9038 : USE(tmp1);
9039 0 : compiler::TNode<Uint32T>tmp2 = CodeStubAssembler(state_).LoadReference<Uint32T>(CodeStubAssembler::Reference{tmp0, tmp1});
9040 : ca_.Goto(&block1, tmp0, tmp2);
9041 : }
9042 :
9043 0 : if (block1.is_used()) {
9044 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9045 : compiler::TNode<Uint32T> tmp4;
9046 : ca_.Bind(&block1, &tmp3, &tmp4);
9047 : ca_.Goto(&block2, tmp3, tmp4);
9048 : }
9049 :
9050 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9051 : compiler::TNode<Uint32T> tmp6;
9052 : ca_.Bind(&block2, &tmp5, &tmp6);
9053 0 : return compiler::TNode<Uint32T>{tmp6};
9054 : }
9055 :
9056 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesF(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Uint32T> p_v) {
9057 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9058 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9059 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9060 : ca_.Goto(&block0, p_o, p_v);
9061 :
9062 0 : if (block0.is_used()) {
9063 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9064 : compiler::TNode<Uint32T> tmp1;
9065 : ca_.Bind(&block0, &tmp0, &tmp1);
9066 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 781);
9067 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kFOffset);
9068 : USE(tmp2);
9069 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9070 : ca_.Goto(&block1, tmp0, tmp1);
9071 : }
9072 :
9073 0 : if (block1.is_used()) {
9074 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9075 : compiler::TNode<Uint32T> tmp4;
9076 : ca_.Bind(&block1, &tmp3, &tmp4);
9077 : ca_.Goto(&block2, tmp3, tmp4);
9078 : }
9079 :
9080 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9081 : compiler::TNode<Uint32T> tmp6;
9082 : ca_.Bind(&block2, &tmp5, &tmp6);
9083 0 : }
9084 :
9085 0 : compiler::TNode<RawPtrT> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesG(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
9086 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9087 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9088 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9089 : ca_.Goto(&block0, p_o);
9090 :
9091 0 : if (block0.is_used()) {
9092 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9093 : ca_.Bind(&block0, &tmp0);
9094 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 782);
9095 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kGOffset);
9096 : USE(tmp1);
9097 0 : compiler::TNode<RawPtrT>tmp2 = CodeStubAssembler(state_).LoadReference<RawPtrT>(CodeStubAssembler::Reference{tmp0, tmp1});
9098 : ca_.Goto(&block1, tmp0, tmp2);
9099 : }
9100 :
9101 0 : if (block1.is_used()) {
9102 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9103 : compiler::TNode<RawPtrT> tmp4;
9104 : ca_.Bind(&block1, &tmp3, &tmp4);
9105 : ca_.Goto(&block2, tmp3, tmp4);
9106 : }
9107 :
9108 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9109 : compiler::TNode<RawPtrT> tmp6;
9110 : ca_.Bind(&block2, &tmp5, &tmp6);
9111 0 : return compiler::TNode<RawPtrT>{tmp6};
9112 : }
9113 :
9114 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesG(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<RawPtrT> p_v) {
9115 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9116 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9117 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9118 : ca_.Goto(&block0, p_o, p_v);
9119 :
9120 0 : if (block0.is_used()) {
9121 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9122 : compiler::TNode<RawPtrT> tmp1;
9123 : ca_.Bind(&block0, &tmp0, &tmp1);
9124 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 782);
9125 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kGOffset);
9126 : USE(tmp2);
9127 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9128 : ca_.Goto(&block1, tmp0, tmp1);
9129 : }
9130 :
9131 0 : if (block1.is_used()) {
9132 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9133 : compiler::TNode<RawPtrT> tmp4;
9134 : ca_.Bind(&block1, &tmp3, &tmp4);
9135 : ca_.Goto(&block2, tmp3, tmp4);
9136 : }
9137 :
9138 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9139 : compiler::TNode<RawPtrT> tmp6;
9140 : ca_.Bind(&block2, &tmp5, &tmp6);
9141 0 : }
9142 :
9143 0 : compiler::TNode<IntPtrT> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesH(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
9144 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9145 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, IntPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9146 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, IntPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9147 : ca_.Goto(&block0, p_o);
9148 :
9149 0 : if (block0.is_used()) {
9150 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9151 : ca_.Bind(&block0, &tmp0);
9152 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 783);
9153 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kHOffset);
9154 : USE(tmp1);
9155 0 : compiler::TNode<IntPtrT>tmp2 = CodeStubAssembler(state_).LoadReference<IntPtrT>(CodeStubAssembler::Reference{tmp0, tmp1});
9156 : ca_.Goto(&block1, tmp0, tmp2);
9157 : }
9158 :
9159 0 : if (block1.is_used()) {
9160 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9161 : compiler::TNode<IntPtrT> tmp4;
9162 : ca_.Bind(&block1, &tmp3, &tmp4);
9163 : ca_.Goto(&block2, tmp3, tmp4);
9164 : }
9165 :
9166 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9167 : compiler::TNode<IntPtrT> tmp6;
9168 : ca_.Bind(&block2, &tmp5, &tmp6);
9169 0 : return compiler::TNode<IntPtrT>{tmp6};
9170 : }
9171 :
9172 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesH(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<IntPtrT> p_v) {
9173 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, IntPtrT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9174 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, IntPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9175 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, IntPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9176 : ca_.Goto(&block0, p_o, p_v);
9177 :
9178 0 : if (block0.is_used()) {
9179 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9180 : compiler::TNode<IntPtrT> tmp1;
9181 : ca_.Bind(&block0, &tmp0, &tmp1);
9182 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 783);
9183 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kHOffset);
9184 : USE(tmp2);
9185 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9186 : ca_.Goto(&block1, tmp0, tmp1);
9187 : }
9188 :
9189 0 : if (block1.is_used()) {
9190 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9191 : compiler::TNode<IntPtrT> tmp4;
9192 : ca_.Bind(&block1, &tmp3, &tmp4);
9193 : ca_.Goto(&block2, tmp3, tmp4);
9194 : }
9195 :
9196 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9197 : compiler::TNode<IntPtrT> tmp6;
9198 : ca_.Bind(&block2, &tmp5, &tmp6);
9199 0 : }
9200 :
9201 0 : compiler::TNode<UintPtrT> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesI(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
9202 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9203 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, UintPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9204 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, UintPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9205 : ca_.Goto(&block0, p_o);
9206 :
9207 0 : if (block0.is_used()) {
9208 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9209 : ca_.Bind(&block0, &tmp0);
9210 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 784);
9211 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kIOffset);
9212 : USE(tmp1);
9213 0 : compiler::TNode<UintPtrT>tmp2 = CodeStubAssembler(state_).LoadReference<UintPtrT>(CodeStubAssembler::Reference{tmp0, tmp1});
9214 : ca_.Goto(&block1, tmp0, tmp2);
9215 : }
9216 :
9217 0 : if (block1.is_used()) {
9218 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9219 : compiler::TNode<UintPtrT> tmp4;
9220 : ca_.Bind(&block1, &tmp3, &tmp4);
9221 : ca_.Goto(&block2, tmp3, tmp4);
9222 : }
9223 :
9224 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9225 : compiler::TNode<UintPtrT> tmp6;
9226 : ca_.Bind(&block2, &tmp5, &tmp6);
9227 0 : return compiler::TNode<UintPtrT>{tmp6};
9228 : }
9229 :
9230 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesI(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<UintPtrT> p_v) {
9231 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, UintPtrT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9232 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, UintPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9233 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, UintPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9234 : ca_.Goto(&block0, p_o, p_v);
9235 :
9236 0 : if (block0.is_used()) {
9237 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9238 : compiler::TNode<UintPtrT> tmp1;
9239 : ca_.Bind(&block0, &tmp0, &tmp1);
9240 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 784);
9241 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kIOffset);
9242 : USE(tmp2);
9243 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9244 : ca_.Goto(&block1, tmp0, tmp1);
9245 : }
9246 :
9247 0 : if (block1.is_used()) {
9248 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9249 : compiler::TNode<UintPtrT> tmp4;
9250 : ca_.Bind(&block1, &tmp3, &tmp4);
9251 : ca_.Goto(&block2, tmp3, tmp4);
9252 : }
9253 :
9254 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9255 : compiler::TNode<UintPtrT> tmp6;
9256 : ca_.Bind(&block2, &tmp5, &tmp6);
9257 0 : }
9258 :
9259 0 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::LoadInternalClassA(compiler::TNode<FixedArray> p_o) {
9260 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9261 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9262 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9263 : ca_.Goto(&block0, p_o);
9264 :
9265 0 : if (block0.is_used()) {
9266 : compiler::TNode<FixedArray> tmp0;
9267 : ca_.Bind(&block0, &tmp0);
9268 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 816);
9269 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
9270 : USE(tmp1);
9271 0 : compiler::TNode<Smi>tmp2 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp0, tmp1});
9272 : ca_.Goto(&block1, tmp0, tmp2);
9273 : }
9274 :
9275 0 : if (block1.is_used()) {
9276 : compiler::TNode<FixedArray> tmp3;
9277 : compiler::TNode<Smi> tmp4;
9278 : ca_.Bind(&block1, &tmp3, &tmp4);
9279 : ca_.Goto(&block2, tmp3, tmp4);
9280 : }
9281 :
9282 : compiler::TNode<FixedArray> tmp5;
9283 : compiler::TNode<Smi> tmp6;
9284 : ca_.Bind(&block2, &tmp5, &tmp6);
9285 0 : return compiler::TNode<Smi>{tmp6};
9286 : }
9287 :
9288 0 : void TestBuiltinsFromDSLAssembler::StoreInternalClassA(compiler::TNode<FixedArray> p_o, compiler::TNode<Smi> p_v) {
9289 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9290 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9291 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9292 : ca_.Goto(&block0, p_o, p_v);
9293 :
9294 0 : if (block0.is_used()) {
9295 : compiler::TNode<FixedArray> tmp0;
9296 : compiler::TNode<Smi> tmp1;
9297 : ca_.Bind(&block0, &tmp0, &tmp1);
9298 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 816);
9299 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
9300 : USE(tmp2);
9301 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9302 : ca_.Goto(&block1, tmp0, tmp1);
9303 : }
9304 :
9305 0 : if (block1.is_used()) {
9306 : compiler::TNode<FixedArray> tmp3;
9307 : compiler::TNode<Smi> tmp4;
9308 : ca_.Bind(&block1, &tmp3, &tmp4);
9309 : ca_.Goto(&block2, tmp3, tmp4);
9310 : }
9311 :
9312 : compiler::TNode<FixedArray> tmp5;
9313 : compiler::TNode<Smi> tmp6;
9314 : ca_.Bind(&block2, &tmp5, &tmp6);
9315 0 : }
9316 :
9317 0 : compiler::TNode<Number> TestBuiltinsFromDSLAssembler::LoadInternalClassB(compiler::TNode<FixedArray> p_o) {
9318 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9319 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9320 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9321 : ca_.Goto(&block0, p_o);
9322 :
9323 0 : if (block0.is_used()) {
9324 : compiler::TNode<FixedArray> tmp0;
9325 : ca_.Bind(&block0, &tmp0);
9326 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 817);
9327 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
9328 : USE(tmp1);
9329 0 : compiler::TNode<Number>tmp2 = CodeStubAssembler(state_).LoadReference<Number>(CodeStubAssembler::Reference{tmp0, tmp1});
9330 : ca_.Goto(&block1, tmp0, tmp2);
9331 : }
9332 :
9333 0 : if (block1.is_used()) {
9334 : compiler::TNode<FixedArray> tmp3;
9335 : compiler::TNode<Number> tmp4;
9336 : ca_.Bind(&block1, &tmp3, &tmp4);
9337 : ca_.Goto(&block2, tmp3, tmp4);
9338 : }
9339 :
9340 : compiler::TNode<FixedArray> tmp5;
9341 : compiler::TNode<Number> tmp6;
9342 : ca_.Bind(&block2, &tmp5, &tmp6);
9343 0 : return compiler::TNode<Number>{tmp6};
9344 : }
9345 :
9346 0 : void TestBuiltinsFromDSLAssembler::StoreInternalClassB(compiler::TNode<FixedArray> p_o, compiler::TNode<Number> p_v) {
9347 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9348 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9349 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9350 : ca_.Goto(&block0, p_o, p_v);
9351 :
9352 0 : if (block0.is_used()) {
9353 : compiler::TNode<FixedArray> tmp0;
9354 : compiler::TNode<Number> tmp1;
9355 : ca_.Bind(&block0, &tmp0, &tmp1);
9356 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 817);
9357 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
9358 : USE(tmp2);
9359 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9360 : ca_.Goto(&block1, tmp0, tmp1);
9361 : }
9362 :
9363 0 : if (block1.is_used()) {
9364 : compiler::TNode<FixedArray> tmp3;
9365 : compiler::TNode<Number> tmp4;
9366 : ca_.Bind(&block1, &tmp3, &tmp4);
9367 : ca_.Goto(&block2, tmp3, tmp4);
9368 : }
9369 :
9370 : compiler::TNode<FixedArray> tmp5;
9371 : compiler::TNode<Number> tmp6;
9372 : ca_.Bind(&block2, &tmp5, &tmp6);
9373 0 : }
9374 :
9375 4 : void TestBuiltinsFromDSLAssembler::_method_InternalClass_Flip(compiler::TNode<FixedArray> p_this, compiler::CodeAssemblerLabel* label_NotASmi) {
9376 4 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9377 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9378 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9379 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9380 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9381 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9382 : ca_.Goto(&block0, p_this);
9383 :
9384 4 : if (block0.is_used()) {
9385 : compiler::TNode<FixedArray> tmp0;
9386 : ca_.Bind(&block0, &tmp0);
9387 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 812);
9388 4 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
9389 : USE(tmp1);
9390 8 : compiler::TNode<Number>tmp2 = CodeStubAssembler(state_).LoadReference<Number>(CodeStubAssembler::Reference{tmp0, tmp1});
9391 : compiler::TNode<Smi> tmp3;
9392 : USE(tmp3);
9393 4 : compiler::CodeAssemblerLabel label0(&ca_);
9394 12 : tmp3 = BaseBuiltinsFromDSLAssembler(state_).Cast5ATSmi(compiler::TNode<Object>{tmp2}, &label0);
9395 : ca_.Goto(&block3, tmp0, tmp2, tmp3);
9396 4 : if (label0.is_used()) {
9397 4 : ca_.Bind(&label0);
9398 : ca_.Goto(&block4, tmp0, tmp2);
9399 : }
9400 : }
9401 :
9402 4 : if (block4.is_used()) {
9403 : compiler::TNode<FixedArray> tmp4;
9404 : compiler::TNode<Number> tmp5;
9405 : ca_.Bind(&block4, &tmp4, &tmp5);
9406 : ca_.Goto(&block1);
9407 : }
9408 :
9409 4 : if (block3.is_used()) {
9410 : compiler::TNode<FixedArray> tmp6;
9411 : compiler::TNode<Number> tmp7;
9412 : compiler::TNode<Smi> tmp8;
9413 : ca_.Bind(&block3, &tmp6, &tmp7, &tmp8);
9414 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 813);
9415 4 : compiler::TNode<IntPtrT> tmp9 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
9416 : USE(tmp9);
9417 4 : compiler::TNode<IntPtrT> tmp10 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
9418 : USE(tmp10);
9419 8 : compiler::TNode<Smi>tmp11 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp6, tmp10});
9420 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp6, tmp9}, tmp11);
9421 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 814);
9422 4 : compiler::TNode<IntPtrT> tmp12 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
9423 : USE(tmp12);
9424 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp6, tmp12}, tmp8);
9425 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 811);
9426 : ca_.Goto(&block2, tmp6);
9427 : }
9428 :
9429 4 : if (block2.is_used()) {
9430 : compiler::TNode<FixedArray> tmp13;
9431 : ca_.Bind(&block2, &tmp13);
9432 : ca_.Goto(&block5, tmp13);
9433 : }
9434 :
9435 4 : if (block1.is_used()) {
9436 : ca_.Bind(&block1);
9437 4 : ca_.Goto(label_NotASmi);
9438 : }
9439 :
9440 : compiler::TNode<FixedArray> tmp14;
9441 : ca_.Bind(&block5, &tmp14);
9442 4 : }
9443 :
9444 0 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::LoadSmiPairA(compiler::TNode<FixedArray> p_o) {
9445 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9446 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9447 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9448 : ca_.Goto(&block0, p_o);
9449 :
9450 0 : if (block0.is_used()) {
9451 : compiler::TNode<FixedArray> tmp0;
9452 : ca_.Bind(&block0, &tmp0);
9453 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 866);
9454 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
9455 : USE(tmp1);
9456 0 : compiler::TNode<Smi>tmp2 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp0, tmp1});
9457 : ca_.Goto(&block1, tmp0, tmp2);
9458 : }
9459 :
9460 0 : if (block1.is_used()) {
9461 : compiler::TNode<FixedArray> tmp3;
9462 : compiler::TNode<Smi> tmp4;
9463 : ca_.Bind(&block1, &tmp3, &tmp4);
9464 : ca_.Goto(&block2, tmp3, tmp4);
9465 : }
9466 :
9467 : compiler::TNode<FixedArray> tmp5;
9468 : compiler::TNode<Smi> tmp6;
9469 : ca_.Bind(&block2, &tmp5, &tmp6);
9470 0 : return compiler::TNode<Smi>{tmp6};
9471 : }
9472 :
9473 0 : void TestBuiltinsFromDSLAssembler::StoreSmiPairA(compiler::TNode<FixedArray> p_o, compiler::TNode<Smi> p_v) {
9474 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9475 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9476 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9477 : ca_.Goto(&block0, p_o, p_v);
9478 :
9479 0 : if (block0.is_used()) {
9480 : compiler::TNode<FixedArray> tmp0;
9481 : compiler::TNode<Smi> tmp1;
9482 : ca_.Bind(&block0, &tmp0, &tmp1);
9483 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 866);
9484 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
9485 : USE(tmp2);
9486 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9487 : ca_.Goto(&block1, tmp0, tmp1);
9488 : }
9489 :
9490 0 : if (block1.is_used()) {
9491 : compiler::TNode<FixedArray> tmp3;
9492 : compiler::TNode<Smi> tmp4;
9493 : ca_.Bind(&block1, &tmp3, &tmp4);
9494 : ca_.Goto(&block2, tmp3, tmp4);
9495 : }
9496 :
9497 : compiler::TNode<FixedArray> tmp5;
9498 : compiler::TNode<Smi> tmp6;
9499 : ca_.Bind(&block2, &tmp5, &tmp6);
9500 0 : }
9501 :
9502 0 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::LoadSmiPairB(compiler::TNode<FixedArray> p_o) {
9503 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9504 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9505 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9506 : ca_.Goto(&block0, p_o);
9507 :
9508 0 : if (block0.is_used()) {
9509 : compiler::TNode<FixedArray> tmp0;
9510 : ca_.Bind(&block0, &tmp0);
9511 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 867);
9512 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
9513 : USE(tmp1);
9514 0 : compiler::TNode<Smi>tmp2 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp0, tmp1});
9515 : ca_.Goto(&block1, tmp0, tmp2);
9516 : }
9517 :
9518 0 : if (block1.is_used()) {
9519 : compiler::TNode<FixedArray> tmp3;
9520 : compiler::TNode<Smi> tmp4;
9521 : ca_.Bind(&block1, &tmp3, &tmp4);
9522 : ca_.Goto(&block2, tmp3, tmp4);
9523 : }
9524 :
9525 : compiler::TNode<FixedArray> tmp5;
9526 : compiler::TNode<Smi> tmp6;
9527 : ca_.Bind(&block2, &tmp5, &tmp6);
9528 0 : return compiler::TNode<Smi>{tmp6};
9529 : }
9530 :
9531 0 : void TestBuiltinsFromDSLAssembler::StoreSmiPairB(compiler::TNode<FixedArray> p_o, compiler::TNode<Smi> p_v) {
9532 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9533 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9534 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9535 : ca_.Goto(&block0, p_o, p_v);
9536 :
9537 0 : if (block0.is_used()) {
9538 : compiler::TNode<FixedArray> tmp0;
9539 : compiler::TNode<Smi> tmp1;
9540 : ca_.Bind(&block0, &tmp0, &tmp1);
9541 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 867);
9542 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
9543 : USE(tmp2);
9544 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9545 : ca_.Goto(&block1, tmp0, tmp1);
9546 : }
9547 :
9548 0 : if (block1.is_used()) {
9549 : compiler::TNode<FixedArray> tmp3;
9550 : compiler::TNode<Smi> tmp4;
9551 : ca_.Bind(&block1, &tmp3, &tmp4);
9552 : ca_.Goto(&block2, tmp3, tmp4);
9553 : }
9554 :
9555 : compiler::TNode<FixedArray> tmp5;
9556 : compiler::TNode<Smi> tmp6;
9557 : ca_.Bind(&block2, &tmp5, &tmp6);
9558 0 : }
9559 :
9560 4 : CodeStubAssembler::Reference TestBuiltinsFromDSLAssembler::_method_SmiPair_GetA(compiler::TNode<FixedArray> p_this) {
9561 4 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9562 : compiler::CodeAssemblerParameterizedLabel<FixedArray, HeapObject, IntPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9563 : compiler::CodeAssemblerParameterizedLabel<FixedArray, HeapObject, IntPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9564 : ca_.Goto(&block0, p_this);
9565 :
9566 4 : if (block0.is_used()) {
9567 : compiler::TNode<FixedArray> tmp0;
9568 : ca_.Bind(&block0, &tmp0);
9569 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 864);
9570 4 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
9571 : USE(tmp1);
9572 : ca_.Goto(&block1, tmp0, tmp0, tmp1);
9573 : }
9574 :
9575 4 : if (block1.is_used()) {
9576 : compiler::TNode<FixedArray> tmp2;
9577 : compiler::TNode<HeapObject> tmp3;
9578 : compiler::TNode<IntPtrT> tmp4;
9579 : ca_.Bind(&block1, &tmp2, &tmp3, &tmp4);
9580 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 863);
9581 : ca_.Goto(&block2, tmp2, tmp3, tmp4);
9582 : }
9583 :
9584 : compiler::TNode<FixedArray> tmp5;
9585 : compiler::TNode<HeapObject> tmp6;
9586 : compiler::TNode<IntPtrT> tmp7;
9587 : ca_.Bind(&block2, &tmp5, &tmp6, &tmp7);
9588 8 : return CodeStubAssembler::Reference{tmp6, tmp7};
9589 : }
9590 :
9591 224 : TF_BUILTIN(GenericBuiltinTest5ATSmi, CodeStubAssembler) {
9592 56 : compiler::CodeAssemblerState* state_ = state(); compiler::CodeAssembler ca_(state());
9593 : TNode<Context> parameter0 = UncheckedCast<Context>(Parameter(Descriptor::kContext));
9594 : USE(parameter0);
9595 : compiler::TNode<Smi> parameter1 = UncheckedCast<Smi>(Parameter(Descriptor::kParam));
9596 : USE(parameter1);
9597 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9598 : ca_.Goto(&block0, parameter0, parameter1);
9599 :
9600 56 : if (block0.is_used()) {
9601 : compiler::TNode<Context> tmp0;
9602 : compiler::TNode<Smi> tmp1;
9603 : ca_.Bind(&block0, &tmp0, &tmp1);
9604 56 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 85);
9605 : compiler::TNode<Oddball> tmp2;
9606 : USE(tmp2);
9607 112 : tmp2 = BaseBuiltinsFromDSLAssembler(state_).Null();
9608 112 : CodeStubAssembler(state_).Return(tmp2);
9609 : }
9610 56 : }
9611 :
9612 8 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::GenericMacroTest5ATSmi(compiler::TNode<Smi> p_param) {
9613 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9614 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9615 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9616 : ca_.Goto(&block0, p_param);
9617 :
9618 8 : if (block0.is_used()) {
9619 : compiler::TNode<Smi> tmp0;
9620 : ca_.Bind(&block0, &tmp0);
9621 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 132);
9622 : compiler::TNode<Oddball> tmp1;
9623 : USE(tmp1);
9624 24 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
9625 : ca_.Goto(&block1, tmp0, tmp1);
9626 : }
9627 :
9628 8 : if (block1.is_used()) {
9629 : compiler::TNode<Smi> tmp2;
9630 : compiler::TNode<Object> tmp3;
9631 : ca_.Bind(&block1, &tmp2, &tmp3);
9632 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 131);
9633 : ca_.Goto(&block2, tmp2, tmp3);
9634 : }
9635 :
9636 : compiler::TNode<Smi> tmp4;
9637 : compiler::TNode<Object> tmp5;
9638 : ca_.Bind(&block2, &tmp4, &tmp5);
9639 16 : return compiler::TNode<Object>{tmp5};
9640 : }
9641 :
9642 8 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::GenericMacroTestWithLabels5ATSmi(compiler::TNode<Smi> p_param, compiler::CodeAssemblerLabel* label_X) {
9643 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9644 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9645 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9646 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9647 : ca_.Goto(&block0, p_param);
9648 :
9649 8 : if (block0.is_used()) {
9650 : compiler::TNode<Smi> tmp0;
9651 : ca_.Bind(&block0, &tmp0);
9652 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 141);
9653 : compiler::TNode<Oddball> tmp1;
9654 : USE(tmp1);
9655 24 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
9656 : ca_.Goto(&block2, tmp0, tmp1);
9657 : }
9658 :
9659 8 : if (block2.is_used()) {
9660 : compiler::TNode<Smi> tmp2;
9661 : compiler::TNode<Object> tmp3;
9662 : ca_.Bind(&block2, &tmp2, &tmp3);
9663 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 139);
9664 : ca_.Goto(&block3, tmp2, tmp3);
9665 : }
9666 :
9667 8 : if (block1.is_used()) {
9668 : ca_.Bind(&block1);
9669 0 : ca_.Goto(label_X);
9670 : }
9671 :
9672 : compiler::TNode<Smi> tmp4;
9673 : compiler::TNode<Object> tmp5;
9674 : ca_.Bind(&block3, &tmp4, &tmp5);
9675 16 : return compiler::TNode<Object>{tmp5};
9676 : }
9677 :
9678 24 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::IncrementIfSmi32UT5ATSmi10FixedArray10HeapNumber(compiler::TNode<Object> p_x) {
9679 24 : compiler::CodeAssemblerParameterizedLabel<Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9680 : compiler::CodeAssemblerParameterizedLabel<Object, Object, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9681 : compiler::CodeAssemblerParameterizedLabel<Object, Object, Object, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9682 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9683 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9684 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9685 : ca_.Goto(&block0, p_x);
9686 :
9687 24 : if (block0.is_used()) {
9688 : compiler::TNode<Object> tmp0;
9689 : ca_.Bind(&block0, &tmp0);
9690 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 434);
9691 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 435);
9692 : compiler::TNode<Smi> tmp1;
9693 : USE(tmp1);
9694 24 : compiler::CodeAssemblerLabel label0(&ca_);
9695 72 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).Cast5ATSmi(compiler::TNode<Object>{tmp0}, &label0);
9696 : ca_.Goto(&block4, tmp0, tmp0, tmp0, tmp1);
9697 24 : if (label0.is_used()) {
9698 24 : ca_.Bind(&label0);
9699 : ca_.Goto(&block5, tmp0, tmp0, tmp0);
9700 : }
9701 : }
9702 :
9703 24 : if (block5.is_used()) {
9704 : compiler::TNode<Object> tmp2;
9705 : compiler::TNode<Object> tmp3;
9706 : compiler::TNode<Object> tmp4;
9707 : ca_.Bind(&block5, &tmp2, &tmp3, &tmp4);
9708 : ca_.Goto(&block3, tmp2, tmp3);
9709 : }
9710 :
9711 24 : if (block4.is_used()) {
9712 : compiler::TNode<Object> tmp5;
9713 : compiler::TNode<Object> tmp6;
9714 : compiler::TNode<Object> tmp7;
9715 : compiler::TNode<Smi> tmp8;
9716 : ca_.Bind(&block4, &tmp5, &tmp6, &tmp7, &tmp8);
9717 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 436);
9718 : compiler::TNode<Smi> tmp9;
9719 : USE(tmp9);
9720 72 : tmp9 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
9721 : compiler::TNode<Smi> tmp10;
9722 : USE(tmp10);
9723 48 : tmp10 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp8}, compiler::TNode<Smi>{tmp9}));
9724 : ca_.Goto(&block1, tmp5, tmp10);
9725 : }
9726 :
9727 24 : if (block3.is_used()) {
9728 : compiler::TNode<Object> tmp11;
9729 : compiler::TNode<Object> tmp12;
9730 : ca_.Bind(&block3, &tmp11, &tmp12);
9731 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 438);
9732 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 439);
9733 : ca_.Goto(&block1, tmp11, ca_.UncheckedCast<HeapObject>(tmp12));
9734 : }
9735 :
9736 24 : if (block1.is_used()) {
9737 : compiler::TNode<Object> tmp13;
9738 : compiler::TNode<Object> tmp14;
9739 : ca_.Bind(&block1, &tmp13, &tmp14);
9740 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 433);
9741 : ca_.Goto(&block6, tmp13, tmp14);
9742 : }
9743 :
9744 : compiler::TNode<Object> tmp15;
9745 : compiler::TNode<Object> tmp16;
9746 : ca_.Bind(&block6, &tmp15, &tmp16);
9747 48 : return compiler::TNode<Object>{tmp16};
9748 : }
9749 :
9750 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::ExampleGenericOverload5ATSmi(compiler::TNode<Smi> p_o) {
9751 4 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9752 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9753 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9754 : ca_.Goto(&block0, p_o);
9755 :
9756 4 : if (block0.is_used()) {
9757 : compiler::TNode<Smi> tmp0;
9758 : ca_.Bind(&block0, &tmp0);
9759 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 498);
9760 : compiler::TNode<Smi> tmp1;
9761 : USE(tmp1);
9762 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
9763 : compiler::TNode<Smi> tmp2;
9764 : USE(tmp2);
9765 8 : tmp2 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp0}, compiler::TNode<Smi>{tmp1}));
9766 : ca_.Goto(&block1, tmp0, tmp2);
9767 : }
9768 :
9769 4 : if (block1.is_used()) {
9770 : compiler::TNode<Smi> tmp3;
9771 : compiler::TNode<Smi> tmp4;
9772 : ca_.Bind(&block1, &tmp3, &tmp4);
9773 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 497);
9774 : ca_.Goto(&block2, tmp3, tmp4);
9775 : }
9776 :
9777 : compiler::TNode<Smi> tmp5;
9778 : compiler::TNode<Smi> tmp6;
9779 : ca_.Bind(&block2, &tmp5, &tmp6);
9780 8 : return compiler::TNode<Smi>{tmp6};
9781 : }
9782 :
9783 4 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::ExampleGenericOverload20UT5ATSmi10HeapObject(compiler::TNode<Object> p_o) {
9784 4 : compiler::CodeAssemblerParameterizedLabel<Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9785 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9786 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9787 : ca_.Goto(&block0, p_o);
9788 :
9789 4 : if (block0.is_used()) {
9790 : compiler::TNode<Object> tmp0;
9791 : ca_.Bind(&block0, &tmp0);
9792 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 495);
9793 : ca_.Goto(&block1, tmp0, tmp0);
9794 : }
9795 :
9796 4 : if (block1.is_used()) {
9797 : compiler::TNode<Object> tmp1;
9798 : compiler::TNode<Object> tmp2;
9799 : ca_.Bind(&block1, &tmp1, &tmp2);
9800 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 494);
9801 : ca_.Goto(&block2, tmp1, tmp2);
9802 : }
9803 :
9804 : compiler::TNode<Object> tmp3;
9805 : compiler::TNode<Object> tmp4;
9806 : ca_.Bind(&block2, &tmp3, &tmp4);
9807 8 : return compiler::TNode<Object>{tmp4};
9808 : }
9809 :
9810 4 : void TestBuiltinsFromDSLAssembler::Swap5ATSmi(CodeStubAssembler::Reference p_a, CodeStubAssembler::Reference p_b) {
9811 4 : compiler::CodeAssemblerParameterizedLabel<HeapObject, IntPtrT, HeapObject, IntPtrT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9812 : compiler::CodeAssemblerParameterizedLabel<HeapObject, IntPtrT, HeapObject, IntPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9813 : compiler::CodeAssemblerParameterizedLabel<HeapObject, IntPtrT, HeapObject, IntPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9814 : ca_.Goto(&block0, p_a.object, p_a.offset, p_b.object, p_b.offset);
9815 :
9816 4 : if (block0.is_used()) {
9817 : compiler::TNode<HeapObject> tmp0;
9818 : compiler::TNode<IntPtrT> tmp1;
9819 : compiler::TNode<HeapObject> tmp2;
9820 : compiler::TNode<IntPtrT> tmp3;
9821 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2, &tmp3);
9822 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 871);
9823 8 : compiler::TNode<Smi>tmp4 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp0, tmp1});
9824 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 872);
9825 8 : compiler::TNode<Smi>tmp5 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp2, tmp3});
9826 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp1}, tmp5);
9827 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 873);
9828 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp2, tmp3}, tmp4);
9829 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 870);
9830 : ca_.Goto(&block1, tmp0, tmp1, tmp2, tmp3);
9831 : }
9832 :
9833 4 : if (block1.is_used()) {
9834 : compiler::TNode<HeapObject> tmp6;
9835 : compiler::TNode<IntPtrT> tmp7;
9836 : compiler::TNode<HeapObject> tmp8;
9837 : compiler::TNode<IntPtrT> tmp9;
9838 : ca_.Bind(&block1, &tmp6, &tmp7, &tmp8, &tmp9);
9839 : ca_.Goto(&block2, tmp6, tmp7, tmp8, tmp9);
9840 : }
9841 :
9842 : compiler::TNode<HeapObject> tmp10;
9843 : compiler::TNode<IntPtrT> tmp11;
9844 : compiler::TNode<HeapObject> tmp12;
9845 : compiler::TNode<IntPtrT> tmp13;
9846 : ca_.Bind(&block2, &tmp10, &tmp11, &tmp12, &tmp13);
9847 4 : }
9848 :
9849 : } // namespace internal
9850 59456 : } // namespace v8
9851 :
|