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-regexp-gen.h"
23 : #include "src/builtins/builtins-regexp-gen.h"
24 : #include "src/builtins/builtins-regexp-gen.h"
25 : #include "src/builtins/builtins-typed-array-gen.h"
26 : #include "src/builtins/builtins-constructor-gen.h"
27 : #include "src/builtins/builtins-typed-array-gen.h"
28 : #include "src/builtins/builtins-typed-array-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 "torque-generated/builtins-base-from-dsl-gen.h"
36 : #include "torque-generated/builtins-growable-fixed-array-from-dsl-gen.h"
37 : #include "torque-generated/builtins-arguments-from-dsl-gen.h"
38 : #include "torque-generated/builtins-array-from-dsl-gen.h"
39 : #include "torque-generated/builtins-array-copywithin-from-dsl-gen.h"
40 : #include "torque-generated/builtins-array-filter-from-dsl-gen.h"
41 : #include "torque-generated/builtins-array-find-from-dsl-gen.h"
42 : #include "torque-generated/builtins-array-findindex-from-dsl-gen.h"
43 : #include "torque-generated/builtins-array-foreach-from-dsl-gen.h"
44 : #include "torque-generated/builtins-array-join-from-dsl-gen.h"
45 : #include "torque-generated/builtins-array-lastindexof-from-dsl-gen.h"
46 : #include "torque-generated/builtins-array-of-from-dsl-gen.h"
47 : #include "torque-generated/builtins-array-map-from-dsl-gen.h"
48 : #include "torque-generated/builtins-array-reverse-from-dsl-gen.h"
49 : #include "torque-generated/builtins-array-shift-from-dsl-gen.h"
50 : #include "torque-generated/builtins-array-slice-from-dsl-gen.h"
51 : #include "torque-generated/builtins-array-splice-from-dsl-gen.h"
52 : #include "torque-generated/builtins-array-unshift-from-dsl-gen.h"
53 : #include "torque-generated/builtins-collections-from-dsl-gen.h"
54 : #include "torque-generated/builtins-data-view-from-dsl-gen.h"
55 : #include "torque-generated/builtins-extras-utils-from-dsl-gen.h"
56 : #include "torque-generated/builtins-iterator-from-dsl-gen.h"
57 : #include "torque-generated/builtins-object-from-dsl-gen.h"
58 : #include "torque-generated/builtins-proxy-from-dsl-gen.h"
59 : #include "torque-generated/builtins-regexp-from-dsl-gen.h"
60 : #include "torque-generated/builtins-regexp-replace-from-dsl-gen.h"
61 : #include "torque-generated/builtins-string-from-dsl-gen.h"
62 : #include "torque-generated/builtins-string-html-from-dsl-gen.h"
63 : #include "torque-generated/builtins-string-repeat-from-dsl-gen.h"
64 : #include "torque-generated/builtins-typed-array-from-dsl-gen.h"
65 : #include "torque-generated/builtins-typed-array-createtypedarray-from-dsl-gen.h"
66 : #include "torque-generated/builtins-typed-array-every-from-dsl-gen.h"
67 : #include "torque-generated/builtins-typed-array-filter-from-dsl-gen.h"
68 : #include "torque-generated/builtins-typed-array-find-from-dsl-gen.h"
69 : #include "torque-generated/builtins-typed-array-findindex-from-dsl-gen.h"
70 : #include "torque-generated/builtins-typed-array-foreach-from-dsl-gen.h"
71 : #include "torque-generated/builtins-typed-array-reduce-from-dsl-gen.h"
72 : #include "torque-generated/builtins-typed-array-reduceright-from-dsl-gen.h"
73 : #include "torque-generated/builtins-typed-array-slice-from-dsl-gen.h"
74 : #include "torque-generated/builtins-typed-array-some-from-dsl-gen.h"
75 : #include "torque-generated/builtins-typed-array-subarray-from-dsl-gen.h"
76 : #include "torque-generated/builtins-test-from-dsl-gen.h"
77 :
78 : namespace v8 {
79 : namespace internal {
80 :
81 12 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::ElementsKindTestHelper1(ElementsKind p_kind) {
82 12 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
83 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
84 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
85 : compiler::CodeAssemblerParameterizedLabel<BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
86 : compiler::CodeAssemblerParameterizedLabel<BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
87 : ca_.Goto(&block0);
88 :
89 12 : if (block0.is_used()) {
90 : ca_.Bind(&block0);
91 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 7);
92 32 : if ((((CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT8_ELEMENTS)) || (CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT16_ELEMENTS))))) {
93 : ca_.Goto(&block3);
94 : } else {
95 : ca_.Goto(&block4);
96 : }
97 : }
98 :
99 12 : if (block3.is_used()) {
100 : ca_.Bind(&block3);
101 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 8);
102 : compiler::TNode<BoolT> tmp0;
103 : USE(tmp0);
104 24 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
105 : ca_.Goto(&block1, tmp0);
106 : }
107 :
108 12 : if (block4.is_used()) {
109 : ca_.Bind(&block4);
110 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 10);
111 : compiler::TNode<BoolT> tmp1;
112 : USE(tmp1);
113 12 : tmp1 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
114 : ca_.Goto(&block1, tmp1);
115 : }
116 :
117 12 : if (block1.is_used()) {
118 : compiler::TNode<BoolT> tmp2;
119 : ca_.Bind(&block1, &tmp2);
120 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 6);
121 : ca_.Goto(&block6, tmp2);
122 : }
123 :
124 : compiler::TNode<BoolT> tmp3;
125 : ca_.Bind(&block6, &tmp3);
126 24 : return compiler::TNode<BoolT>{tmp3};
127 : }
128 :
129 0 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::ElementsKindTestHelper2(ElementsKind p_kind) {
130 0 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
131 : compiler::CodeAssemblerParameterizedLabel<BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
132 : compiler::CodeAssemblerParameterizedLabel<BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
133 : ca_.Goto(&block0);
134 :
135 0 : if (block0.is_used()) {
136 : ca_.Bind(&block0);
137 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 15);
138 : compiler::TNode<BoolT> tmp0;
139 : USE(tmp0);
140 0 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(((CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT8_ELEMENTS)) || (CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT16_ELEMENTS)))));
141 : ca_.Goto(&block1, tmp0);
142 : }
143 :
144 0 : if (block1.is_used()) {
145 : compiler::TNode<BoolT> tmp1;
146 : ca_.Bind(&block1, &tmp1);
147 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 14);
148 : ca_.Goto(&block3, tmp1);
149 : }
150 :
151 : compiler::TNode<BoolT> tmp2;
152 : ca_.Bind(&block3, &tmp2);
153 0 : return compiler::TNode<BoolT>{tmp2};
154 : }
155 :
156 16 : bool TestBuiltinsFromDSLAssembler::ElementsKindTestHelper3(ElementsKind p_kind) {
157 16 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
158 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
159 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
160 : ca_.Goto(&block0);
161 :
162 16 : if (block0.is_used()) {
163 : ca_.Bind(&block0);
164 16 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 19);
165 : ca_.Goto(&block1);
166 : }
167 :
168 16 : if (block1.is_used()) {
169 : ca_.Bind(&block1);
170 16 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 18);
171 : ca_.Goto(&block3);
172 : }
173 :
174 : ca_.Bind(&block3);
175 60 : return ((CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT8_ELEMENTS)) || (CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT16_ELEMENTS)));
176 : }
177 :
178 4 : void TestBuiltinsFromDSLAssembler::LabelTestHelper1(compiler::CodeAssemblerLabel* label_Label1) {
179 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
180 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
181 : ca_.Goto(&block0);
182 :
183 4 : if (block0.is_used()) {
184 : ca_.Bind(&block0);
185 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 24);
186 : ca_.Goto(&block1);
187 : }
188 :
189 4 : if (block1.is_used()) {
190 : ca_.Bind(&block1);
191 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 22);
192 4 : ca_.Goto(label_Label1);
193 : }
194 4 : }
195 :
196 4 : void TestBuiltinsFromDSLAssembler::LabelTestHelper2(compiler::CodeAssemblerLabel* label_Label2, compiler::TypedCodeAssemblerVariable<Smi>* label_Label2_parameter_0) {
197 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
198 : compiler::CodeAssemblerParameterizedLabel<Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
199 : ca_.Goto(&block0);
200 :
201 4 : if (block0.is_used()) {
202 : ca_.Bind(&block0);
203 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 29);
204 : compiler::TNode<Smi> tmp0;
205 : USE(tmp0);
206 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(42));
207 : ca_.Goto(&block1, tmp0);
208 : }
209 :
210 4 : if (block1.is_used()) {
211 : compiler::TNode<Smi> tmp1;
212 : ca_.Bind(&block1, &tmp1);
213 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 27);
214 : *label_Label2_parameter_0 = tmp1;
215 4 : ca_.Goto(label_Label2);
216 : }
217 4 : }
218 :
219 4 : void TestBuiltinsFromDSLAssembler::LabelTestHelper3(compiler::CodeAssemblerLabel* label_Label3, compiler::TypedCodeAssemblerVariable<Oddball>* label_Label3_parameter_0, compiler::TypedCodeAssemblerVariable<Smi>* label_Label3_parameter_1) {
220 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
221 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
222 : ca_.Goto(&block0);
223 :
224 4 : if (block0.is_used()) {
225 : ca_.Bind(&block0);
226 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 34);
227 : compiler::TNode<Oddball> tmp0;
228 : USE(tmp0);
229 12 : tmp0 = BaseBuiltinsFromDSLAssembler(state_).Null();
230 : compiler::TNode<Smi> tmp1;
231 : USE(tmp1);
232 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
233 : ca_.Goto(&block1, tmp0, tmp1);
234 : }
235 :
236 4 : if (block1.is_used()) {
237 : compiler::TNode<Oddball> tmp2;
238 : compiler::TNode<Smi> tmp3;
239 : ca_.Bind(&block1, &tmp2, &tmp3);
240 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 32);
241 : *label_Label3_parameter_1 = tmp3;
242 : *label_Label3_parameter_0 = tmp2;
243 4 : ca_.Goto(label_Label3);
244 : }
245 4 : }
246 :
247 4 : void TestBuiltinsFromDSLAssembler::TestConstexpr1() {
248 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
249 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
250 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
251 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
252 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
253 : ca_.Goto(&block0);
254 :
255 4 : if (block0.is_used()) {
256 : ca_.Bind(&block0);
257 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 38);
258 : compiler::TNode<BoolT> tmp0;
259 : USE(tmp0);
260 16 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((CodeStubAssembler(state_).IsFastElementsKind(PACKED_SMI_ELEMENTS))));
261 4 : ca_.Branch(tmp0, &block2, &block3);
262 : }
263 :
264 4 : if (block3.is_used()) {
265 : ca_.Bind(&block3);
266 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'FromConstexpr<bool>(IsFastElementsKind(PACKED_SMI_ELEMENTS))\' failed", "../../test/torque/test-torque.tq", 38);
267 : }
268 :
269 4 : if (block2.is_used()) {
270 : ca_.Bind(&block2);
271 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 37);
272 : ca_.Goto(&block1);
273 : }
274 :
275 4 : if (block1.is_used()) {
276 : ca_.Bind(&block1);
277 : ca_.Goto(&block4);
278 : }
279 :
280 : ca_.Bind(&block4);
281 4 : }
282 :
283 4 : void TestBuiltinsFromDSLAssembler::TestConstexprIf() {
284 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
285 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
286 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
287 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
288 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
289 : compiler::CodeAssemblerParameterizedLabel<> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
290 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
291 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
292 : compiler::CodeAssemblerParameterizedLabel<> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
293 : ca_.Goto(&block0);
294 :
295 4 : if (block0.is_used()) {
296 : ca_.Bind(&block0);
297 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 42);
298 : compiler::TNode<BoolT> tmp0;
299 : USE(tmp0);
300 12 : tmp0 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper1(UINT8_ELEMENTS));
301 4 : ca_.Branch(tmp0, &block2, &block3);
302 : }
303 :
304 4 : if (block3.is_used()) {
305 : ca_.Bind(&block3);
306 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'ElementsKindTestHelper1(UINT8_ELEMENTS)\' failed", "../../test/torque/test-torque.tq", 42);
307 : }
308 :
309 4 : if (block2.is_used()) {
310 : ca_.Bind(&block2);
311 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 43);
312 : compiler::TNode<BoolT> tmp1;
313 : USE(tmp1);
314 12 : tmp1 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper1(UINT16_ELEMENTS));
315 4 : ca_.Branch(tmp1, &block4, &block5);
316 : }
317 :
318 4 : if (block5.is_used()) {
319 : ca_.Bind(&block5);
320 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'ElementsKindTestHelper1(UINT16_ELEMENTS)\' failed", "../../test/torque/test-torque.tq", 43);
321 : }
322 :
323 4 : if (block4.is_used()) {
324 : ca_.Bind(&block4);
325 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 44);
326 : compiler::TNode<BoolT> tmp2;
327 : USE(tmp2);
328 12 : tmp2 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper1(UINT32_ELEMENTS));
329 : compiler::TNode<BoolT> tmp3;
330 : USE(tmp3);
331 8 : tmp3 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp2}));
332 4 : ca_.Branch(tmp3, &block6, &block7);
333 : }
334 :
335 4 : if (block7.is_used()) {
336 : ca_.Bind(&block7);
337 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!ElementsKindTestHelper1(UINT32_ELEMENTS)\' failed", "../../test/torque/test-torque.tq", 44);
338 : }
339 :
340 4 : if (block6.is_used()) {
341 : ca_.Bind(&block6);
342 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 41);
343 : ca_.Goto(&block1);
344 : }
345 :
346 4 : if (block1.is_used()) {
347 : ca_.Bind(&block1);
348 : ca_.Goto(&block8);
349 : }
350 :
351 : ca_.Bind(&block8);
352 4 : }
353 :
354 4 : void TestBuiltinsFromDSLAssembler::TestConstexprReturn() {
355 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
356 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
357 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
358 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
359 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
360 : compiler::CodeAssemblerParameterizedLabel<> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
361 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
362 : compiler::CodeAssemblerParameterizedLabel<> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
363 : compiler::CodeAssemblerParameterizedLabel<> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
364 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
365 : compiler::CodeAssemblerParameterizedLabel<> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
366 : ca_.Goto(&block0);
367 :
368 4 : if (block0.is_used()) {
369 : ca_.Bind(&block0);
370 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 48);
371 : compiler::TNode<BoolT> tmp0;
372 : USE(tmp0);
373 20 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper3(UINT8_ELEMENTS))));
374 4 : ca_.Branch(tmp0, &block2, &block3);
375 : }
376 :
377 4 : if (block3.is_used()) {
378 : ca_.Bind(&block3);
379 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'FromConstexpr<bool>(ElementsKindTestHelper3(UINT8_ELEMENTS))\' failed", "../../test/torque/test-torque.tq", 48);
380 : }
381 :
382 4 : if (block2.is_used()) {
383 : ca_.Bind(&block2);
384 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 49);
385 : compiler::TNode<BoolT> tmp1;
386 : USE(tmp1);
387 20 : tmp1 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper3(UINT16_ELEMENTS))));
388 4 : ca_.Branch(tmp1, &block4, &block5);
389 : }
390 :
391 4 : if (block5.is_used()) {
392 : ca_.Bind(&block5);
393 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'FromConstexpr<bool>(ElementsKindTestHelper3(UINT16_ELEMENTS))\' failed", "../../test/torque/test-torque.tq", 49);
394 : }
395 :
396 4 : if (block4.is_used()) {
397 : ca_.Bind(&block4);
398 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 50);
399 : compiler::TNode<BoolT> tmp2;
400 : USE(tmp2);
401 20 : tmp2 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper3(UINT32_ELEMENTS))));
402 : compiler::TNode<BoolT> tmp3;
403 : USE(tmp3);
404 8 : tmp3 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp2}));
405 4 : ca_.Branch(tmp3, &block6, &block7);
406 : }
407 :
408 4 : if (block7.is_used()) {
409 : ca_.Bind(&block7);
410 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!FromConstexpr<bool>(ElementsKindTestHelper3(UINT32_ELEMENTS))\' failed", "../../test/torque/test-torque.tq", 50);
411 : }
412 :
413 4 : if (block6.is_used()) {
414 : ca_.Bind(&block6);
415 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 51);
416 : compiler::TNode<BoolT> tmp4;
417 : USE(tmp4);
418 28 : tmp4 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((CodeStubAssembler(state_).ConstexprBoolNot((TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper3(UINT32_ELEMENTS))))));
419 4 : ca_.Branch(tmp4, &block8, &block9);
420 : }
421 :
422 4 : if (block9.is_used()) {
423 : ca_.Bind(&block9);
424 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'FromConstexpr<bool>(!ElementsKindTestHelper3(UINT32_ELEMENTS))\' failed", "../../test/torque/test-torque.tq", 51);
425 : }
426 :
427 4 : if (block8.is_used()) {
428 : ca_.Bind(&block8);
429 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 47);
430 : ca_.Goto(&block1);
431 : }
432 :
433 4 : if (block1.is_used()) {
434 : ca_.Bind(&block1);
435 : ca_.Goto(&block10);
436 : }
437 :
438 : ca_.Bind(&block10);
439 4 : }
440 :
441 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestGotoLabel() {
442 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
443 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
444 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
445 : compiler::CodeAssemblerParameterizedLabel<Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
446 : compiler::CodeAssemblerParameterizedLabel<Oddball> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
447 : ca_.Goto(&block0);
448 :
449 4 : if (block0.is_used()) {
450 : ca_.Bind(&block0);
451 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 56);
452 4 : compiler::CodeAssemblerLabel label0(&ca_);
453 12 : TestBuiltinsFromDSLAssembler(state_).LabelTestHelper1(&label0);
454 4 : if (label0.is_used()) {
455 4 : ca_.Bind(&label0);
456 : ca_.Goto(&block4);
457 : }
458 : }
459 :
460 4 : if (block4.is_used()) {
461 : ca_.Bind(&block4);
462 : ca_.Goto(&block3);
463 : }
464 :
465 4 : if (block3.is_used()) {
466 : ca_.Bind(&block3);
467 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 59);
468 : compiler::TNode<Oddball> tmp0;
469 : USE(tmp0);
470 12 : tmp0 = BaseBuiltinsFromDSLAssembler(state_).True();
471 : ca_.Goto(&block1, tmp0);
472 : }
473 :
474 4 : if (block1.is_used()) {
475 : compiler::TNode<Oddball> tmp1;
476 : ca_.Bind(&block1, &tmp1);
477 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 54);
478 : ca_.Goto(&block5, tmp1);
479 : }
480 :
481 : compiler::TNode<Oddball> tmp2;
482 : ca_.Bind(&block5, &tmp2);
483 8 : return compiler::TNode<Oddball>{tmp2};
484 : }
485 :
486 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestGotoLabelWithOneParameter() {
487 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
488 : compiler::CodeAssemblerParameterizedLabel<Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
489 : compiler::CodeAssemblerParameterizedLabel<Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
490 : compiler::CodeAssemblerParameterizedLabel<Smi> block6(&ca_, compiler::CodeAssemblerLabel::kDeferred);
491 : compiler::CodeAssemblerParameterizedLabel<Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
492 : compiler::CodeAssemblerParameterizedLabel<Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
493 : compiler::CodeAssemblerParameterizedLabel<Oddball> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
494 : ca_.Goto(&block0);
495 :
496 4 : if (block0.is_used()) {
497 : ca_.Bind(&block0);
498 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 65);
499 : compiler::TypedCodeAssemblerVariable<Smi> result_0_0(&ca_);
500 4 : compiler::CodeAssemblerLabel label0(&ca_);
501 12 : TestBuiltinsFromDSLAssembler(state_).LabelTestHelper2(&label0, &result_0_0);
502 4 : if (label0.is_used()) {
503 4 : ca_.Bind(&label0);
504 : ca_.Goto(&block4, result_0_0.value());
505 : }
506 : }
507 :
508 4 : if (block4.is_used()) {
509 : compiler::TNode<Smi> tmp0;
510 : ca_.Bind(&block4, &tmp0);
511 : ca_.Goto(&block3, tmp0);
512 : }
513 :
514 4 : if (block3.is_used()) {
515 : compiler::TNode<Smi> tmp1;
516 : ca_.Bind(&block3, &tmp1);
517 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 68);
518 : compiler::TNode<Smi> tmp2;
519 : USE(tmp2);
520 12 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(42));
521 : compiler::TNode<BoolT> tmp3;
522 : USE(tmp3);
523 8 : tmp3 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp1}, compiler::TNode<Smi>{tmp2}));
524 4 : ca_.Branch(tmp3, &block5, &block6, tmp1);
525 : }
526 :
527 4 : if (block6.is_used()) {
528 : compiler::TNode<Smi> tmp4;
529 : ca_.Bind(&block6, &tmp4);
530 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'smi == 42\' failed", "../../test/torque/test-torque.tq", 68);
531 : }
532 :
533 4 : if (block5.is_used()) {
534 : compiler::TNode<Smi> tmp5;
535 : ca_.Bind(&block5, &tmp5);
536 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 69);
537 : compiler::TNode<Oddball> tmp6;
538 : USE(tmp6);
539 12 : tmp6 = BaseBuiltinsFromDSLAssembler(state_).True();
540 : ca_.Goto(&block1, tmp6);
541 : }
542 :
543 4 : if (block1.is_used()) {
544 : compiler::TNode<Oddball> tmp7;
545 : ca_.Bind(&block1, &tmp7);
546 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 63);
547 : ca_.Goto(&block7, tmp7);
548 : }
549 :
550 : compiler::TNode<Oddball> tmp8;
551 : ca_.Bind(&block7, &tmp8);
552 8 : return compiler::TNode<Oddball>{tmp8};
553 : }
554 :
555 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestGotoLabelWithTwoParameters() {
556 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
557 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
558 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
559 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kDeferred);
560 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
561 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kDeferred);
562 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
563 : compiler::CodeAssemblerParameterizedLabel<Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
564 : compiler::CodeAssemblerParameterizedLabel<Oddball> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
565 : ca_.Goto(&block0);
566 :
567 4 : if (block0.is_used()) {
568 : ca_.Bind(&block0);
569 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 75);
570 : compiler::TypedCodeAssemblerVariable<Oddball> result_0_0(&ca_);
571 : compiler::TypedCodeAssemblerVariable<Smi> result_0_1(&ca_);
572 4 : compiler::CodeAssemblerLabel label0(&ca_);
573 12 : TestBuiltinsFromDSLAssembler(state_).LabelTestHelper3(&label0, &result_0_0, &result_0_1);
574 4 : if (label0.is_used()) {
575 4 : ca_.Bind(&label0);
576 : ca_.Goto(&block4, result_0_0.value(), result_0_1.value());
577 : }
578 : }
579 :
580 4 : if (block4.is_used()) {
581 : compiler::TNode<Oddball> tmp0;
582 : compiler::TNode<Smi> tmp1;
583 : ca_.Bind(&block4, &tmp0, &tmp1);
584 : ca_.Goto(&block3, tmp0, tmp1);
585 : }
586 :
587 4 : if (block3.is_used()) {
588 : compiler::TNode<Oddball> tmp2;
589 : compiler::TNode<Smi> tmp3;
590 : ca_.Bind(&block3, &tmp2, &tmp3);
591 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 78);
592 : compiler::TNode<Oddball> tmp4;
593 : USE(tmp4);
594 12 : tmp4 = BaseBuiltinsFromDSLAssembler(state_).Null();
595 : compiler::TNode<BoolT> tmp5;
596 : USE(tmp5);
597 8 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<HeapObject>{tmp2}, compiler::TNode<HeapObject>{tmp4}));
598 4 : ca_.Branch(tmp5, &block5, &block6, tmp2, tmp3);
599 : }
600 :
601 4 : if (block6.is_used()) {
602 : compiler::TNode<Oddball> tmp6;
603 : compiler::TNode<Smi> tmp7;
604 : ca_.Bind(&block6, &tmp6, &tmp7);
605 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'o == Null\' failed", "../../test/torque/test-torque.tq", 78);
606 : }
607 :
608 4 : if (block5.is_used()) {
609 : compiler::TNode<Oddball> tmp8;
610 : compiler::TNode<Smi> tmp9;
611 : ca_.Bind(&block5, &tmp8, &tmp9);
612 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 79);
613 : compiler::TNode<Smi> tmp10;
614 : USE(tmp10);
615 12 : tmp10 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
616 : compiler::TNode<BoolT> tmp11;
617 : USE(tmp11);
618 8 : tmp11 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp9}, compiler::TNode<Smi>{tmp10}));
619 4 : ca_.Branch(tmp11, &block7, &block8, tmp8, tmp9);
620 : }
621 :
622 4 : if (block8.is_used()) {
623 : compiler::TNode<Oddball> tmp12;
624 : compiler::TNode<Smi> tmp13;
625 : ca_.Bind(&block8, &tmp12, &tmp13);
626 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'smi == 7\' failed", "../../test/torque/test-torque.tq", 79);
627 : }
628 :
629 4 : if (block7.is_used()) {
630 : compiler::TNode<Oddball> tmp14;
631 : compiler::TNode<Smi> tmp15;
632 : ca_.Bind(&block7, &tmp14, &tmp15);
633 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 80);
634 : compiler::TNode<Oddball> tmp16;
635 : USE(tmp16);
636 12 : tmp16 = BaseBuiltinsFromDSLAssembler(state_).True();
637 : ca_.Goto(&block1, tmp16);
638 : }
639 :
640 4 : if (block1.is_used()) {
641 : compiler::TNode<Oddball> tmp17;
642 : ca_.Bind(&block1, &tmp17);
643 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 73);
644 : ca_.Goto(&block9, tmp17);
645 : }
646 :
647 : compiler::TNode<Oddball> tmp18;
648 : ca_.Bind(&block9, &tmp18);
649 8 : return compiler::TNode<Oddball>{tmp18};
650 : }
651 :
652 224 : TF_BUILTIN(GenericBuiltinTest20UT5ATSmi10HeapObject, CodeStubAssembler) {
653 56 : compiler::CodeAssemblerState* state_ = state(); compiler::CodeAssembler ca_(state());
654 : TNode<Context> parameter0 = UncheckedCast<Context>(Parameter(Descriptor::kContext));
655 : USE(parameter0);
656 : compiler::TNode<Object> parameter1 = UncheckedCast<Object>(Parameter(Descriptor::kParam));
657 : USE(parameter1);
658 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
659 : ca_.Goto(&block0, parameter0, parameter1);
660 :
661 56 : if (block0.is_used()) {
662 : compiler::TNode<Context> tmp0;
663 : compiler::TNode<Object> tmp1;
664 : ca_.Bind(&block0, &tmp0, &tmp1);
665 56 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 89);
666 112 : CodeStubAssembler(state_).Return(tmp1);
667 : }
668 56 : }
669 :
670 4 : void TestBuiltinsFromDSLAssembler::TestBuiltinSpecialization(compiler::TNode<Context> p_c) {
671 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
672 : compiler::CodeAssemblerParameterizedLabel<Context> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
673 : compiler::CodeAssemblerParameterizedLabel<Context> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
674 : compiler::CodeAssemblerParameterizedLabel<Context> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
675 : compiler::CodeAssemblerParameterizedLabel<Context> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
676 : compiler::CodeAssemblerParameterizedLabel<Context> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
677 : compiler::CodeAssemblerParameterizedLabel<Context> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
678 : compiler::CodeAssemblerParameterizedLabel<Context> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
679 : compiler::CodeAssemblerParameterizedLabel<Context> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
680 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
681 : compiler::CodeAssemblerParameterizedLabel<Context> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
682 : ca_.Goto(&block0, p_c);
683 :
684 4 : if (block0.is_used()) {
685 : compiler::TNode<Context> tmp0;
686 : ca_.Bind(&block0, &tmp0);
687 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 93);
688 : compiler::TNode<Smi> tmp1;
689 : USE(tmp1);
690 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
691 : compiler::TNode<Object> tmp2;
692 8 : tmp2 = CodeStubAssembler(state_).CallBuiltin(Builtins::kGenericBuiltinTest5ATSmi, tmp0, tmp1);
693 : USE(tmp2);
694 : compiler::TNode<Oddball> tmp3;
695 : USE(tmp3);
696 12 : tmp3 = BaseBuiltinsFromDSLAssembler(state_).Null();
697 : compiler::TNode<BoolT> tmp4;
698 : USE(tmp4);
699 8 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp2}, compiler::TNode<HeapObject>{tmp3}));
700 4 : ca_.Branch(tmp4, &block2, &block3, tmp0);
701 : }
702 :
703 4 : if (block3.is_used()) {
704 : compiler::TNode<Context> tmp5;
705 : ca_.Bind(&block3, &tmp5);
706 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericBuiltinTest<Smi>(c, 0) == Null\' failed", "../../test/torque/test-torque.tq", 93);
707 : }
708 :
709 4 : if (block2.is_used()) {
710 : compiler::TNode<Context> tmp6;
711 : ca_.Bind(&block2, &tmp6);
712 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 94);
713 : compiler::TNode<Smi> tmp7;
714 : USE(tmp7);
715 12 : tmp7 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
716 : compiler::TNode<Object> tmp8;
717 8 : tmp8 = CodeStubAssembler(state_).CallBuiltin(Builtins::kGenericBuiltinTest5ATSmi, tmp6, tmp7);
718 : USE(tmp8);
719 : compiler::TNode<Oddball> tmp9;
720 : USE(tmp9);
721 12 : tmp9 = BaseBuiltinsFromDSLAssembler(state_).Null();
722 : compiler::TNode<BoolT> tmp10;
723 : USE(tmp10);
724 8 : tmp10 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp8}, compiler::TNode<HeapObject>{tmp9}));
725 4 : ca_.Branch(tmp10, &block4, &block5, tmp6);
726 : }
727 :
728 4 : if (block5.is_used()) {
729 : compiler::TNode<Context> tmp11;
730 : ca_.Bind(&block5, &tmp11);
731 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericBuiltinTest<Smi>(c, 1) == Null\' failed", "../../test/torque/test-torque.tq", 94);
732 : }
733 :
734 4 : if (block4.is_used()) {
735 : compiler::TNode<Context> tmp12;
736 : ca_.Bind(&block4, &tmp12);
737 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 95);
738 : compiler::TNode<Oddball> tmp13;
739 : USE(tmp13);
740 12 : tmp13 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
741 : compiler::TNode<Object> tmp14;
742 8 : tmp14 = CodeStubAssembler(state_).CallBuiltin(Builtins::kGenericBuiltinTest20UT5ATSmi10HeapObject, tmp12, tmp13);
743 : USE(tmp14);
744 : compiler::TNode<Oddball> tmp15;
745 : USE(tmp15);
746 12 : tmp15 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
747 : compiler::TNode<BoolT> tmp16;
748 : USE(tmp16);
749 8 : tmp16 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp14}, compiler::TNode<HeapObject>{tmp15}));
750 4 : ca_.Branch(tmp16, &block6, &block7, tmp12);
751 : }
752 :
753 4 : if (block7.is_used()) {
754 : compiler::TNode<Context> tmp17;
755 : ca_.Bind(&block7, &tmp17);
756 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericBuiltinTest<Object>(c, Undefined) == Undefined\' failed", "../../test/torque/test-torque.tq", 95);
757 : }
758 :
759 4 : if (block6.is_used()) {
760 : compiler::TNode<Context> tmp18;
761 : ca_.Bind(&block6, &tmp18);
762 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 96);
763 : compiler::TNode<Oddball> tmp19;
764 : USE(tmp19);
765 12 : tmp19 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
766 : compiler::TNode<Object> tmp20;
767 8 : tmp20 = CodeStubAssembler(state_).CallBuiltin(Builtins::kGenericBuiltinTest20UT5ATSmi10HeapObject, tmp18, tmp19);
768 : USE(tmp20);
769 : compiler::TNode<Oddball> tmp21;
770 : USE(tmp21);
771 12 : tmp21 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
772 : compiler::TNode<BoolT> tmp22;
773 : USE(tmp22);
774 8 : tmp22 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp20}, compiler::TNode<HeapObject>{tmp21}));
775 4 : ca_.Branch(tmp22, &block8, &block9, tmp18);
776 : }
777 :
778 4 : if (block9.is_used()) {
779 : compiler::TNode<Context> tmp23;
780 : ca_.Bind(&block9, &tmp23);
781 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericBuiltinTest<Object>(c, Undefined) == Undefined\' failed", "../../test/torque/test-torque.tq", 96);
782 : }
783 :
784 4 : if (block8.is_used()) {
785 : compiler::TNode<Context> tmp24;
786 : ca_.Bind(&block8, &tmp24);
787 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 92);
788 : ca_.Goto(&block1, tmp24);
789 : }
790 :
791 4 : if (block1.is_used()) {
792 : compiler::TNode<Context> tmp25;
793 : ca_.Bind(&block1, &tmp25);
794 : ca_.Goto(&block10, tmp25);
795 : }
796 :
797 : compiler::TNode<Context> tmp26;
798 : ca_.Bind(&block10, &tmp26);
799 4 : }
800 :
801 8 : void TestBuiltinsFromDSLAssembler::LabelTestHelper4(bool p_flag, compiler::CodeAssemblerLabel* label_Label4, compiler::CodeAssemblerLabel* label_Label5) {
802 8 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
803 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
804 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
805 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
806 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
807 : ca_.Goto(&block0);
808 :
809 8 : if (block0.is_used()) {
810 : ca_.Bind(&block0);
811 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 101);
812 8 : if ((p_flag)) {
813 : ca_.Goto(&block3);
814 : } else {
815 : ca_.Goto(&block4);
816 : }
817 : }
818 :
819 8 : if (block3.is_used()) {
820 : ca_.Bind(&block3);
821 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 102);
822 : ca_.Goto(&block1);
823 : }
824 :
825 8 : if (block4.is_used()) {
826 : ca_.Bind(&block4);
827 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 104);
828 : ca_.Goto(&block2);
829 : }
830 :
831 8 : if (block1.is_used()) {
832 : ca_.Bind(&block1);
833 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 99);
834 4 : ca_.Goto(label_Label4);
835 : }
836 :
837 8 : if (block2.is_used()) {
838 : ca_.Bind(&block2);
839 4 : ca_.Goto(label_Label5);
840 : }
841 8 : }
842 :
843 8 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::CallLabelTestHelper4(bool p_flag) {
844 8 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
845 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
846 : compiler::CodeAssemblerParameterizedLabel<> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
847 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
848 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
849 : compiler::CodeAssemblerParameterizedLabel<BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
850 : compiler::CodeAssemblerParameterizedLabel<BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
851 : ca_.Goto(&block0);
852 :
853 8 : if (block0.is_used()) {
854 : ca_.Bind(&block0);
855 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 110);
856 8 : compiler::CodeAssemblerLabel label0(&ca_);
857 8 : compiler::CodeAssemblerLabel label1(&ca_);
858 24 : TestBuiltinsFromDSLAssembler(state_).LabelTestHelper4(p_flag, &label0, &label1);
859 8 : if (label0.is_used()) {
860 4 : ca_.Bind(&label0);
861 : ca_.Goto(&block6);
862 : }
863 8 : if (label1.is_used()) {
864 4 : ca_.Bind(&label1);
865 : ca_.Goto(&block7);
866 : }
867 : }
868 :
869 8 : if (block6.is_used()) {
870 : ca_.Bind(&block6);
871 : ca_.Goto(&block5);
872 : }
873 :
874 8 : if (block7.is_used()) {
875 : ca_.Bind(&block7);
876 : ca_.Goto(&block3);
877 : }
878 :
879 8 : if (block5.is_used()) {
880 : ca_.Bind(&block5);
881 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 113);
882 : compiler::TNode<BoolT> tmp0;
883 : USE(tmp0);
884 12 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
885 : ca_.Goto(&block1, tmp0);
886 : }
887 :
888 8 : if (block3.is_used()) {
889 : ca_.Bind(&block3);
890 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 116);
891 : compiler::TNode<BoolT> tmp1;
892 : USE(tmp1);
893 12 : tmp1 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
894 : ca_.Goto(&block1, tmp1);
895 : }
896 :
897 8 : if (block1.is_used()) {
898 : compiler::TNode<BoolT> tmp2;
899 : ca_.Bind(&block1, &tmp2);
900 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 108);
901 : ca_.Goto(&block8, tmp2);
902 : }
903 :
904 : compiler::TNode<BoolT> tmp3;
905 : ca_.Bind(&block8, &tmp3);
906 16 : return compiler::TNode<BoolT>{tmp3};
907 : }
908 :
909 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestPartiallyUnusedLabel() {
910 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
911 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
912 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
913 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
914 : compiler::CodeAssemblerParameterizedLabel<Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
915 : compiler::CodeAssemblerParameterizedLabel<Oddball> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
916 : ca_.Goto(&block0);
917 :
918 4 : if (block0.is_used()) {
919 : ca_.Bind(&block0);
920 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 121);
921 : compiler::TNode<BoolT> tmp0;
922 : USE(tmp0);
923 12 : tmp0 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).CallLabelTestHelper4(true));
924 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 122);
925 : compiler::TNode<BoolT> tmp1;
926 : USE(tmp1);
927 12 : tmp1 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).CallLabelTestHelper4(false));
928 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 124);
929 4 : ca_.Branch(tmp0, &block4, &block3, tmp0, tmp1);
930 : }
931 :
932 4 : if (block4.is_used()) {
933 : compiler::TNode<BoolT> tmp2;
934 : compiler::TNode<BoolT> tmp3;
935 : ca_.Bind(&block4, &tmp2, &tmp3);
936 : compiler::TNode<BoolT> tmp4;
937 : USE(tmp4);
938 12 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp3}));
939 4 : ca_.Branch(tmp4, &block2, &block3, tmp2, tmp3);
940 : }
941 :
942 4 : if (block2.is_used()) {
943 : compiler::TNode<BoolT> tmp5;
944 : compiler::TNode<BoolT> tmp6;
945 : ca_.Bind(&block2, &tmp5, &tmp6);
946 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 125);
947 : compiler::TNode<Oddball> tmp7;
948 : USE(tmp7);
949 12 : tmp7 = BaseBuiltinsFromDSLAssembler(state_).True();
950 : ca_.Goto(&block1, tmp7);
951 : }
952 :
953 4 : if (block3.is_used()) {
954 : compiler::TNode<BoolT> tmp8;
955 : compiler::TNode<BoolT> tmp9;
956 : ca_.Bind(&block3, &tmp8, &tmp9);
957 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 127);
958 : compiler::TNode<Oddball> tmp10;
959 : USE(tmp10);
960 12 : tmp10 = BaseBuiltinsFromDSLAssembler(state_).False();
961 : ca_.Goto(&block1, tmp10);
962 : }
963 :
964 4 : if (block1.is_used()) {
965 : compiler::TNode<Oddball> tmp11;
966 : ca_.Bind(&block1, &tmp11);
967 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 120);
968 : ca_.Goto(&block6, tmp11);
969 : }
970 :
971 : compiler::TNode<Oddball> tmp12;
972 : ca_.Bind(&block6, &tmp12);
973 8 : return compiler::TNode<Oddball>{tmp12};
974 : }
975 :
976 12 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::GenericMacroTest20UT5ATSmi10HeapObject(compiler::TNode<Object> p_param2) {
977 12 : compiler::CodeAssemblerParameterizedLabel<Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
978 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
979 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
980 : ca_.Goto(&block0, p_param2);
981 :
982 12 : if (block0.is_used()) {
983 : compiler::TNode<Object> tmp0;
984 : ca_.Bind(&block0, &tmp0);
985 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 136);
986 : ca_.Goto(&block1, tmp0, tmp0);
987 : }
988 :
989 12 : if (block1.is_used()) {
990 : compiler::TNode<Object> tmp1;
991 : compiler::TNode<Object> tmp2;
992 : ca_.Bind(&block1, &tmp1, &tmp2);
993 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 131);
994 : ca_.Goto(&block2, tmp1, tmp2);
995 : }
996 :
997 : compiler::TNode<Object> tmp3;
998 : compiler::TNode<Object> tmp4;
999 : ca_.Bind(&block2, &tmp3, &tmp4);
1000 24 : return compiler::TNode<Object>{tmp4};
1001 : }
1002 :
1003 4 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::GenericMacroTestWithLabels20UT5ATSmi10HeapObject(compiler::TNode<Object> p_param2, compiler::CodeAssemblerLabel* label_Y) {
1004 4 : compiler::CodeAssemblerParameterizedLabel<Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1005 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1006 : compiler::CodeAssemblerParameterizedLabel<Object, Object, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1007 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1008 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1009 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1010 : ca_.Goto(&block0, p_param2);
1011 :
1012 4 : if (block0.is_used()) {
1013 : compiler::TNode<Object> tmp0;
1014 : ca_.Bind(&block0, &tmp0);
1015 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 146);
1016 : compiler::TNode<Smi> tmp1;
1017 : USE(tmp1);
1018 4 : compiler::CodeAssemblerLabel label0(&ca_);
1019 12 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).Cast5ATSmi(compiler::TNode<Object>{tmp0}, &label0);
1020 : ca_.Goto(&block3, tmp0, tmp0, tmp1);
1021 4 : if (label0.is_used()) {
1022 4 : ca_.Bind(&label0);
1023 : ca_.Goto(&block4, tmp0, tmp0);
1024 : }
1025 : }
1026 :
1027 4 : if (block4.is_used()) {
1028 : compiler::TNode<Object> tmp2;
1029 : compiler::TNode<Object> tmp3;
1030 : ca_.Bind(&block4, &tmp2, &tmp3);
1031 : ca_.Goto(&block1);
1032 : }
1033 :
1034 4 : if (block3.is_used()) {
1035 : compiler::TNode<Object> tmp4;
1036 : compiler::TNode<Object> tmp5;
1037 : compiler::TNode<Smi> tmp6;
1038 : ca_.Bind(&block3, &tmp4, &tmp5, &tmp6);
1039 : ca_.Goto(&block2, tmp4, tmp6);
1040 : }
1041 :
1042 4 : if (block2.is_used()) {
1043 : compiler::TNode<Object> tmp7;
1044 : compiler::TNode<Object> tmp8;
1045 : ca_.Bind(&block2, &tmp7, &tmp8);
1046 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 139);
1047 : ca_.Goto(&block5, tmp7, tmp8);
1048 : }
1049 :
1050 4 : if (block1.is_used()) {
1051 : ca_.Bind(&block1);
1052 4 : ca_.Goto(label_Y);
1053 : }
1054 :
1055 : compiler::TNode<Object> tmp9;
1056 : compiler::TNode<Object> tmp10;
1057 : ca_.Bind(&block5, &tmp9, &tmp10);
1058 8 : return compiler::TNode<Object>{tmp10};
1059 : }
1060 :
1061 4 : void TestBuiltinsFromDSLAssembler::TestMacroSpecialization() {
1062 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1063 : compiler::CodeAssemblerParameterizedLabel<Smi> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1064 : compiler::CodeAssemblerParameterizedLabel<Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1065 : compiler::CodeAssemblerParameterizedLabel<Smi> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1066 : compiler::CodeAssemblerParameterizedLabel<Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1067 : compiler::CodeAssemblerParameterizedLabel<Smi> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1068 : compiler::CodeAssemblerParameterizedLabel<Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1069 : compiler::CodeAssemblerParameterizedLabel<Smi> block11(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1070 : compiler::CodeAssemblerParameterizedLabel<Smi> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1071 : compiler::CodeAssemblerParameterizedLabel<Smi> block13(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1072 : compiler::CodeAssemblerParameterizedLabel<Smi> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1073 : compiler::CodeAssemblerParameterizedLabel<Smi> block17(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1074 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block16(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1075 : compiler::CodeAssemblerParameterizedLabel<Smi> block15(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1076 : compiler::CodeAssemblerParameterizedLabel<Smi> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1077 : compiler::CodeAssemblerParameterizedLabel<Smi> block21(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1078 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block20(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1079 : compiler::CodeAssemblerParameterizedLabel<Smi> block19(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1080 : compiler::CodeAssemblerParameterizedLabel<Smi> block18(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1081 : compiler::CodeAssemblerParameterizedLabel<Smi, Oddball> block25(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1082 : compiler::CodeAssemblerParameterizedLabel<Smi, Oddball, Object> block24(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1083 : compiler::CodeAssemblerParameterizedLabel<Smi> block23(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1084 : compiler::CodeAssemblerParameterizedLabel<Smi> block22(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1085 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1086 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1087 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1088 : compiler::CodeAssemblerParameterizedLabel<> block26(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1089 : ca_.Goto(&block0);
1090 :
1091 4 : if (block0.is_used()) {
1092 : ca_.Bind(&block0);
1093 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 151);
1094 : compiler::TNode<Smi> tmp0;
1095 : USE(tmp0);
1096 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1097 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 152);
1098 : compiler::TNode<Smi> tmp1;
1099 : USE(tmp1);
1100 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1101 : compiler::TNode<Object> tmp2;
1102 : USE(tmp2);
1103 12 : tmp2 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).GenericMacroTest5ATSmi(compiler::TNode<Smi>{tmp1}));
1104 : compiler::TNode<Oddball> tmp3;
1105 : USE(tmp3);
1106 12 : tmp3 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1107 : compiler::TNode<BoolT> tmp4;
1108 : USE(tmp4);
1109 8 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp2}, compiler::TNode<HeapObject>{tmp3}));
1110 4 : ca_.Branch(tmp4, &block4, &block5, tmp0);
1111 : }
1112 :
1113 4 : if (block5.is_used()) {
1114 : compiler::TNode<Smi> tmp5;
1115 : ca_.Bind(&block5, &tmp5);
1116 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericMacroTest<Smi>(0) == Undefined\' failed", "../../test/torque/test-torque.tq", 152);
1117 : }
1118 :
1119 4 : if (block4.is_used()) {
1120 : compiler::TNode<Smi> tmp6;
1121 : ca_.Bind(&block4, &tmp6);
1122 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 153);
1123 : compiler::TNode<Smi> tmp7;
1124 : USE(tmp7);
1125 12 : tmp7 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
1126 : compiler::TNode<Object> tmp8;
1127 : USE(tmp8);
1128 12 : tmp8 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).GenericMacroTest5ATSmi(compiler::TNode<Smi>{tmp7}));
1129 : compiler::TNode<Oddball> tmp9;
1130 : USE(tmp9);
1131 12 : tmp9 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1132 : compiler::TNode<BoolT> tmp10;
1133 : USE(tmp10);
1134 8 : tmp10 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp8}, compiler::TNode<HeapObject>{tmp9}));
1135 4 : ca_.Branch(tmp10, &block6, &block7, tmp6);
1136 : }
1137 :
1138 4 : if (block7.is_used()) {
1139 : compiler::TNode<Smi> tmp11;
1140 : ca_.Bind(&block7, &tmp11);
1141 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericMacroTest<Smi>(1) == Undefined\' failed", "../../test/torque/test-torque.tq", 153);
1142 : }
1143 :
1144 4 : if (block6.is_used()) {
1145 : compiler::TNode<Smi> tmp12;
1146 : ca_.Bind(&block6, &tmp12);
1147 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 154);
1148 : compiler::TNode<Oddball> tmp13;
1149 : USE(tmp13);
1150 12 : tmp13 = BaseBuiltinsFromDSLAssembler(state_).Null();
1151 : compiler::TNode<Object> tmp14;
1152 : USE(tmp14);
1153 12 : tmp14 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).GenericMacroTest20UT5ATSmi10HeapObject(compiler::TNode<Object>{tmp13}));
1154 : compiler::TNode<Oddball> tmp15;
1155 : USE(tmp15);
1156 12 : tmp15 = BaseBuiltinsFromDSLAssembler(state_).Null();
1157 : compiler::TNode<BoolT> tmp16;
1158 : USE(tmp16);
1159 8 : tmp16 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp14}, compiler::TNode<HeapObject>{tmp15}));
1160 4 : ca_.Branch(tmp16, &block8, &block9, tmp12);
1161 : }
1162 :
1163 4 : if (block9.is_used()) {
1164 : compiler::TNode<Smi> tmp17;
1165 : ca_.Bind(&block9, &tmp17);
1166 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericMacroTest<Object>(Null) == Null\' failed", "../../test/torque/test-torque.tq", 154);
1167 : }
1168 :
1169 4 : if (block8.is_used()) {
1170 : compiler::TNode<Smi> tmp18;
1171 : ca_.Bind(&block8, &tmp18);
1172 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 155);
1173 : compiler::TNode<Oddball> tmp19;
1174 : USE(tmp19);
1175 12 : tmp19 = BaseBuiltinsFromDSLAssembler(state_).False();
1176 : compiler::TNode<Object> tmp20;
1177 : USE(tmp20);
1178 12 : tmp20 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).GenericMacroTest20UT5ATSmi10HeapObject(compiler::TNode<Object>{tmp19}));
1179 : compiler::TNode<Oddball> tmp21;
1180 : USE(tmp21);
1181 12 : tmp21 = BaseBuiltinsFromDSLAssembler(state_).False();
1182 : compiler::TNode<BoolT> tmp22;
1183 : USE(tmp22);
1184 8 : tmp22 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp20}, compiler::TNode<HeapObject>{tmp21}));
1185 4 : ca_.Branch(tmp22, &block10, &block11, tmp18);
1186 : }
1187 :
1188 4 : if (block11.is_used()) {
1189 : compiler::TNode<Smi> tmp23;
1190 : ca_.Bind(&block11, &tmp23);
1191 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericMacroTest<Object>(False) == False\' failed", "../../test/torque/test-torque.tq", 155);
1192 : }
1193 :
1194 4 : if (block10.is_used()) {
1195 : compiler::TNode<Smi> tmp24;
1196 : ca_.Bind(&block10, &tmp24);
1197 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 156);
1198 : compiler::TNode<Oddball> tmp25;
1199 : USE(tmp25);
1200 12 : tmp25 = BaseBuiltinsFromDSLAssembler(state_).True();
1201 : compiler::TNode<Object> tmp26;
1202 : USE(tmp26);
1203 12 : tmp26 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).GenericMacroTest20UT5ATSmi10HeapObject(compiler::TNode<Object>{tmp25}));
1204 : compiler::TNode<Oddball> tmp27;
1205 : USE(tmp27);
1206 12 : tmp27 = BaseBuiltinsFromDSLAssembler(state_).True();
1207 : compiler::TNode<BoolT> tmp28;
1208 : USE(tmp28);
1209 8 : tmp28 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp26}, compiler::TNode<HeapObject>{tmp27}));
1210 4 : ca_.Branch(tmp28, &block12, &block13, tmp24);
1211 : }
1212 :
1213 4 : if (block13.is_used()) {
1214 : compiler::TNode<Smi> tmp29;
1215 : ca_.Bind(&block13, &tmp29);
1216 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericMacroTest<Object>(True) == True\' failed", "../../test/torque/test-torque.tq", 156);
1217 : }
1218 :
1219 4 : if (block12.is_used()) {
1220 : compiler::TNode<Smi> tmp30;
1221 : ca_.Bind(&block12, &tmp30);
1222 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 157);
1223 : compiler::TNode<Smi> tmp31;
1224 : USE(tmp31);
1225 12 : tmp31 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1226 : compiler::TNode<Object> tmp32;
1227 : USE(tmp32);
1228 4 : compiler::CodeAssemblerLabel label0(&ca_);
1229 12 : tmp32 = TestBuiltinsFromDSLAssembler(state_).GenericMacroTestWithLabels5ATSmi(compiler::TNode<Smi>{tmp31}, &label0);
1230 : ca_.Goto(&block16, tmp30, tmp32);
1231 4 : if (label0.is_used()) {
1232 0 : ca_.Bind(&label0);
1233 : ca_.Goto(&block17, tmp30);
1234 : }
1235 : }
1236 :
1237 4 : if (block17.is_used()) {
1238 : compiler::TNode<Smi> tmp33;
1239 : ca_.Bind(&block17, &tmp33);
1240 : ca_.Goto(&block3);
1241 : }
1242 :
1243 4 : if (block16.is_used()) {
1244 : compiler::TNode<Smi> tmp34;
1245 : compiler::TNode<Object> tmp35;
1246 : ca_.Bind(&block16, &tmp34, &tmp35);
1247 : compiler::TNode<Oddball> tmp36;
1248 : USE(tmp36);
1249 12 : tmp36 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1250 : compiler::TNode<BoolT> tmp37;
1251 : USE(tmp37);
1252 8 : tmp37 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp35}, compiler::TNode<HeapObject>{tmp36}));
1253 4 : ca_.Branch(tmp37, &block14, &block15, tmp34);
1254 : }
1255 :
1256 4 : if (block15.is_used()) {
1257 : compiler::TNode<Smi> tmp38;
1258 : ca_.Bind(&block15, &tmp38);
1259 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'(GenericMacroTestWithLabels<Smi>(0) otherwise Fail) == Undefined\' failed", "../../test/torque/test-torque.tq", 157);
1260 : }
1261 :
1262 4 : if (block14.is_used()) {
1263 : compiler::TNode<Smi> tmp39;
1264 : ca_.Bind(&block14, &tmp39);
1265 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 158);
1266 : compiler::TNode<Smi> tmp40;
1267 : USE(tmp40);
1268 12 : tmp40 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1269 : compiler::TNode<Object> tmp41;
1270 : USE(tmp41);
1271 4 : compiler::CodeAssemblerLabel label0(&ca_);
1272 12 : tmp41 = TestBuiltinsFromDSLAssembler(state_).GenericMacroTestWithLabels5ATSmi(compiler::TNode<Smi>{tmp40}, &label0);
1273 : ca_.Goto(&block20, tmp39, tmp41);
1274 4 : if (label0.is_used()) {
1275 0 : ca_.Bind(&label0);
1276 : ca_.Goto(&block21, tmp39);
1277 : }
1278 : }
1279 :
1280 4 : if (block21.is_used()) {
1281 : compiler::TNode<Smi> tmp42;
1282 : ca_.Bind(&block21, &tmp42);
1283 : ca_.Goto(&block3);
1284 : }
1285 :
1286 4 : if (block20.is_used()) {
1287 : compiler::TNode<Smi> tmp43;
1288 : compiler::TNode<Object> tmp44;
1289 : ca_.Bind(&block20, &tmp43, &tmp44);
1290 : compiler::TNode<Oddball> tmp45;
1291 : USE(tmp45);
1292 12 : tmp45 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1293 : compiler::TNode<BoolT> tmp46;
1294 : USE(tmp46);
1295 8 : tmp46 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp44}, compiler::TNode<HeapObject>{tmp45}));
1296 4 : ca_.Branch(tmp46, &block18, &block19, tmp43);
1297 : }
1298 :
1299 4 : if (block19.is_used()) {
1300 : compiler::TNode<Smi> tmp47;
1301 : ca_.Bind(&block19, &tmp47);
1302 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'(GenericMacroTestWithLabels<Smi>(0) otherwise Fail) == Undefined\' failed", "../../test/torque/test-torque.tq", 158);
1303 : }
1304 :
1305 4 : if (block18.is_used()) {
1306 : compiler::TNode<Smi> tmp48;
1307 : ca_.Bind(&block18, &tmp48);
1308 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 160);
1309 : compiler::TNode<Oddball> tmp49;
1310 : USE(tmp49);
1311 12 : tmp49 = BaseBuiltinsFromDSLAssembler(state_).False();
1312 : compiler::TNode<Object> tmp50;
1313 : USE(tmp50);
1314 4 : compiler::CodeAssemblerLabel label0(&ca_);
1315 12 : tmp50 = TestBuiltinsFromDSLAssembler(state_).GenericMacroTestWithLabels20UT5ATSmi10HeapObject(compiler::TNode<Object>{tmp49}, &label0);
1316 : ca_.Goto(&block24, tmp48, tmp49, tmp50);
1317 4 : if (label0.is_used()) {
1318 4 : ca_.Bind(&label0);
1319 : ca_.Goto(&block25, tmp48, tmp49);
1320 : }
1321 : }
1322 :
1323 4 : if (block25.is_used()) {
1324 : compiler::TNode<Smi> tmp51;
1325 : compiler::TNode<Oddball> tmp52;
1326 : ca_.Bind(&block25, &tmp51, &tmp52);
1327 : ca_.Goto(&block23, tmp51);
1328 : }
1329 :
1330 4 : if (block24.is_used()) {
1331 : compiler::TNode<Smi> tmp53;
1332 : compiler::TNode<Oddball> tmp54;
1333 : compiler::TNode<Object> tmp55;
1334 : ca_.Bind(&block24, &tmp53, &tmp54, &tmp55);
1335 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 162);
1336 : ca_.Goto(&block22, tmp53);
1337 : }
1338 :
1339 4 : if (block23.is_used()) {
1340 : compiler::TNode<Smi> tmp56;
1341 : ca_.Bind(&block23, &tmp56);
1342 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 159);
1343 : ca_.Goto(&block22, tmp56);
1344 : }
1345 :
1346 4 : if (block22.is_used()) {
1347 : compiler::TNode<Smi> tmp57;
1348 : ca_.Bind(&block22, &tmp57);
1349 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 150);
1350 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 164);
1351 : ca_.Goto(&block2);
1352 : }
1353 :
1354 4 : if (block3.is_used()) {
1355 : ca_.Bind(&block3);
1356 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 165);
1357 0 : CodeStubAssembler(state_).Unreachable();
1358 : }
1359 :
1360 4 : if (block2.is_used()) {
1361 : ca_.Bind(&block2);
1362 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 149);
1363 : ca_.Goto(&block1);
1364 : }
1365 :
1366 4 : if (block1.is_used()) {
1367 : ca_.Bind(&block1);
1368 : ca_.Goto(&block26);
1369 : }
1370 :
1371 : ca_.Bind(&block26);
1372 4 : }
1373 :
1374 224 : TF_BUILTIN(TestHelperPlus1, CodeStubAssembler) {
1375 56 : compiler::CodeAssemblerState* state_ = state(); compiler::CodeAssembler ca_(state());
1376 : TNode<Context> parameter0 = UncheckedCast<Context>(Parameter(Descriptor::kContext));
1377 : USE(parameter0);
1378 : compiler::TNode<Smi> parameter1 = UncheckedCast<Smi>(Parameter(Descriptor::kX));
1379 : USE(parameter1);
1380 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1381 : ca_.Goto(&block0, parameter0, parameter1);
1382 :
1383 56 : if (block0.is_used()) {
1384 : compiler::TNode<Context> tmp0;
1385 : compiler::TNode<Smi> tmp1;
1386 : ca_.Bind(&block0, &tmp0, &tmp1);
1387 56 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 170);
1388 : compiler::TNode<Smi> tmp2;
1389 : USE(tmp2);
1390 112 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
1391 : compiler::TNode<Smi> tmp3;
1392 : USE(tmp3);
1393 112 : tmp3 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp1}, compiler::TNode<Smi>{tmp2}));
1394 112 : CodeStubAssembler(state_).Return(tmp3);
1395 : }
1396 56 : }
1397 :
1398 224 : TF_BUILTIN(TestHelperPlus2, CodeStubAssembler) {
1399 56 : compiler::CodeAssemblerState* state_ = state(); compiler::CodeAssembler ca_(state());
1400 : TNode<Context> parameter0 = UncheckedCast<Context>(Parameter(Descriptor::kContext));
1401 : USE(parameter0);
1402 : compiler::TNode<Smi> parameter1 = UncheckedCast<Smi>(Parameter(Descriptor::kX));
1403 : USE(parameter1);
1404 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1405 : ca_.Goto(&block0, parameter0, parameter1);
1406 :
1407 56 : if (block0.is_used()) {
1408 : compiler::TNode<Context> tmp0;
1409 : compiler::TNode<Smi> tmp1;
1410 : ca_.Bind(&block0, &tmp0, &tmp1);
1411 56 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 173);
1412 : compiler::TNode<Smi> tmp2;
1413 : USE(tmp2);
1414 112 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(2));
1415 : compiler::TNode<Smi> tmp3;
1416 : USE(tmp3);
1417 112 : tmp3 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp1}, compiler::TNode<Smi>{tmp2}));
1418 112 : CodeStubAssembler(state_).Return(tmp3);
1419 : }
1420 56 : }
1421 :
1422 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestFunctionPointers(compiler::TNode<Context> p_context) {
1423 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1424 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1425 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1426 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1427 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1428 : compiler::CodeAssemblerParameterizedLabel<Context, Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1429 : compiler::CodeAssemblerParameterizedLabel<Context, Oddball> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1430 : ca_.Goto(&block0, p_context);
1431 :
1432 4 : if (block0.is_used()) {
1433 : compiler::TNode<Context> tmp0;
1434 : ca_.Bind(&block0, &tmp0);
1435 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 177);
1436 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 178);
1437 : compiler::TNode<Smi> tmp1;
1438 : USE(tmp1);
1439 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(42));
1440 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));
1441 : USE(tmp2);
1442 : compiler::TNode<Smi> tmp3;
1443 : USE(tmp3);
1444 12 : tmp3 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(43));
1445 : compiler::TNode<BoolT> tmp4;
1446 : USE(tmp4);
1447 8 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp2}, compiler::TNode<Smi>{tmp3}));
1448 4 : ca_.Branch(tmp4, &block2, &block3, tmp0, ca_.UncheckedCast<BuiltinPtr>(ca_.SmiConstant(Builtins::kTestHelperPlus1)));
1449 : }
1450 :
1451 4 : if (block3.is_used()) {
1452 : compiler::TNode<Context> tmp5;
1453 : compiler::TNode<BuiltinPtr> tmp6;
1454 : ca_.Bind(&block3, &tmp5, &tmp6);
1455 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr(context, 42) == 43\' failed", "../../test/torque/test-torque.tq", 178);
1456 : }
1457 :
1458 4 : if (block2.is_used()) {
1459 : compiler::TNode<Context> tmp7;
1460 : compiler::TNode<BuiltinPtr> tmp8;
1461 : ca_.Bind(&block2, &tmp7, &tmp8);
1462 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 179);
1463 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 180);
1464 : compiler::TNode<Smi> tmp9;
1465 : USE(tmp9);
1466 12 : tmp9 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(42));
1467 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));
1468 : USE(tmp10);
1469 : compiler::TNode<Smi> tmp11;
1470 : USE(tmp11);
1471 12 : tmp11 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(44));
1472 : compiler::TNode<BoolT> tmp12;
1473 : USE(tmp12);
1474 8 : tmp12 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp10}, compiler::TNode<Smi>{tmp11}));
1475 4 : ca_.Branch(tmp12, &block4, &block5, tmp7, ca_.UncheckedCast<BuiltinPtr>(ca_.SmiConstant(Builtins::kTestHelperPlus2)));
1476 : }
1477 :
1478 4 : if (block5.is_used()) {
1479 : compiler::TNode<Context> tmp13;
1480 : compiler::TNode<BuiltinPtr> tmp14;
1481 : ca_.Bind(&block5, &tmp13, &tmp14);
1482 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr(context, 42) == 44\' failed", "../../test/torque/test-torque.tq", 180);
1483 : }
1484 :
1485 4 : if (block4.is_used()) {
1486 : compiler::TNode<Context> tmp15;
1487 : compiler::TNode<BuiltinPtr> tmp16;
1488 : ca_.Bind(&block4, &tmp15, &tmp16);
1489 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 181);
1490 : compiler::TNode<Oddball> tmp17;
1491 : USE(tmp17);
1492 12 : tmp17 = BaseBuiltinsFromDSLAssembler(state_).True();
1493 : ca_.Goto(&block1, tmp15, tmp17);
1494 : }
1495 :
1496 4 : if (block1.is_used()) {
1497 : compiler::TNode<Context> tmp18;
1498 : compiler::TNode<Oddball> tmp19;
1499 : ca_.Bind(&block1, &tmp18, &tmp19);
1500 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 176);
1501 : ca_.Goto(&block6, tmp18, tmp19);
1502 : }
1503 :
1504 : compiler::TNode<Context> tmp20;
1505 : compiler::TNode<Oddball> tmp21;
1506 : ca_.Bind(&block6, &tmp20, &tmp21);
1507 8 : return compiler::TNode<Oddball>{tmp21};
1508 : }
1509 :
1510 0 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestVariableRedeclaration(compiler::TNode<Context> p_context) {
1511 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1512 : compiler::CodeAssemblerParameterizedLabel<Context> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1513 : compiler::CodeAssemblerParameterizedLabel<Context> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1514 : compiler::CodeAssemblerParameterizedLabel<Context> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1515 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1516 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1517 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1518 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1519 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T, Int32T> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1520 : compiler::CodeAssemblerParameterizedLabel<Context, Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1521 : compiler::CodeAssemblerParameterizedLabel<Context, Oddball> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1522 : ca_.Goto(&block0, p_context);
1523 :
1524 0 : if (block0.is_used()) {
1525 : compiler::TNode<Context> tmp0;
1526 : ca_.Bind(&block0, &tmp0);
1527 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 185);
1528 : compiler::TNode<BoolT> tmp1;
1529 : USE(tmp1);
1530 0 : tmp1 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((CodeStubAssembler(state_).ConstexprInt31Equal(42, 0))));
1531 0 : ca_.Branch(tmp1, &block2, &block3, tmp0);
1532 : }
1533 :
1534 0 : if (block2.is_used()) {
1535 : compiler::TNode<Context> tmp2;
1536 : ca_.Bind(&block2, &tmp2);
1537 : ca_.Goto(&block5, tmp2);
1538 : }
1539 :
1540 0 : if (block3.is_used()) {
1541 : compiler::TNode<Context> tmp3;
1542 : ca_.Bind(&block3, &tmp3);
1543 : compiler::TNode<Int32T> tmp4;
1544 : USE(tmp4);
1545 0 : tmp4 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3117ATconstexpr_int31(1));
1546 : ca_.Goto(&block4, tmp3, tmp4);
1547 : }
1548 :
1549 0 : if (block5.is_used()) {
1550 : compiler::TNode<Context> tmp5;
1551 : ca_.Bind(&block5, &tmp5);
1552 : compiler::TNode<Int32T> tmp6;
1553 : USE(tmp6);
1554 0 : tmp6 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3117ATconstexpr_int31(0));
1555 : ca_.Goto(&block4, tmp5, tmp6);
1556 : }
1557 :
1558 0 : if (block4.is_used()) {
1559 : compiler::TNode<Context> tmp7;
1560 : compiler::TNode<Int32T> tmp8;
1561 : ca_.Bind(&block4, &tmp7, &tmp8);
1562 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 186);
1563 : compiler::TNode<BoolT> tmp9;
1564 : USE(tmp9);
1565 0 : tmp9 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((CodeStubAssembler(state_).ConstexprInt31Equal(42, 0))));
1566 0 : ca_.Branch(tmp9, &block6, &block7, tmp7, tmp8);
1567 : }
1568 :
1569 0 : if (block6.is_used()) {
1570 : compiler::TNode<Context> tmp10;
1571 : compiler::TNode<Int32T> tmp11;
1572 : ca_.Bind(&block6, &tmp10, &tmp11);
1573 : ca_.Goto(&block9, tmp10, tmp11);
1574 : }
1575 :
1576 0 : if (block7.is_used()) {
1577 : compiler::TNode<Context> tmp12;
1578 : compiler::TNode<Int32T> tmp13;
1579 : ca_.Bind(&block7, &tmp12, &tmp13);
1580 : compiler::TNode<Int32T> tmp14;
1581 : USE(tmp14);
1582 0 : tmp14 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3117ATconstexpr_int31(0));
1583 : ca_.Goto(&block8, tmp12, tmp13, tmp14);
1584 : }
1585 :
1586 0 : if (block9.is_used()) {
1587 : compiler::TNode<Context> tmp15;
1588 : compiler::TNode<Int32T> tmp16;
1589 : ca_.Bind(&block9, &tmp15, &tmp16);
1590 : compiler::TNode<Int32T> tmp17;
1591 : USE(tmp17);
1592 0 : tmp17 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3117ATconstexpr_int31(1));
1593 : ca_.Goto(&block8, tmp15, tmp16, tmp17);
1594 : }
1595 :
1596 0 : if (block8.is_used()) {
1597 : compiler::TNode<Context> tmp18;
1598 : compiler::TNode<Int32T> tmp19;
1599 : compiler::TNode<Int32T> tmp20;
1600 : ca_.Bind(&block8, &tmp18, &tmp19, &tmp20);
1601 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 187);
1602 : compiler::TNode<Oddball> tmp21;
1603 : USE(tmp21);
1604 0 : tmp21 = BaseBuiltinsFromDSLAssembler(state_).True();
1605 : ca_.Goto(&block1, tmp18, tmp21);
1606 : }
1607 :
1608 0 : if (block1.is_used()) {
1609 : compiler::TNode<Context> tmp22;
1610 : compiler::TNode<Oddball> tmp23;
1611 : ca_.Bind(&block1, &tmp22, &tmp23);
1612 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 184);
1613 : ca_.Goto(&block10, tmp22, tmp23);
1614 : }
1615 :
1616 : compiler::TNode<Context> tmp24;
1617 : compiler::TNode<Oddball> tmp25;
1618 : ca_.Bind(&block10, &tmp24, &tmp25);
1619 0 : return compiler::TNode<Oddball>{tmp25};
1620 : }
1621 :
1622 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestTernaryOperator(compiler::TNode<Smi> p_x) {
1623 4 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1624 : compiler::CodeAssemblerParameterizedLabel<Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1625 : compiler::CodeAssemblerParameterizedLabel<Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1626 : compiler::CodeAssemblerParameterizedLabel<Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1627 : compiler::CodeAssemblerParameterizedLabel<Smi, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1628 : compiler::CodeAssemblerParameterizedLabel<Smi, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1629 : compiler::CodeAssemblerParameterizedLabel<Smi, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1630 : compiler::CodeAssemblerParameterizedLabel<Smi, BoolT, Smi> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1631 : compiler::CodeAssemblerParameterizedLabel<Smi, BoolT, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1632 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1633 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1634 : ca_.Goto(&block0, p_x);
1635 :
1636 4 : if (block0.is_used()) {
1637 : compiler::TNode<Smi> tmp0;
1638 : ca_.Bind(&block0, &tmp0);
1639 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 191);
1640 : compiler::TNode<Smi> tmp1;
1641 : USE(tmp1);
1642 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1643 : compiler::TNode<BoolT> tmp2;
1644 : USE(tmp2);
1645 8 : tmp2 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp0}, compiler::TNode<Smi>{tmp1}));
1646 4 : ca_.Branch(tmp2, &block2, &block3, tmp0);
1647 : }
1648 :
1649 4 : if (block2.is_used()) {
1650 : compiler::TNode<Smi> tmp3;
1651 : ca_.Bind(&block2, &tmp3);
1652 : ca_.Goto(&block5, tmp3);
1653 : }
1654 :
1655 4 : if (block3.is_used()) {
1656 : compiler::TNode<Smi> tmp4;
1657 : ca_.Bind(&block3, &tmp4);
1658 : compiler::TNode<BoolT> tmp5;
1659 : USE(tmp5);
1660 12 : tmp5 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
1661 : ca_.Goto(&block4, tmp4, tmp5);
1662 : }
1663 :
1664 4 : if (block5.is_used()) {
1665 : compiler::TNode<Smi> tmp6;
1666 : ca_.Bind(&block5, &tmp6);
1667 : compiler::TNode<BoolT> tmp7;
1668 : USE(tmp7);
1669 12 : tmp7 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
1670 : ca_.Goto(&block4, tmp6, tmp7);
1671 : }
1672 :
1673 4 : if (block4.is_used()) {
1674 : compiler::TNode<Smi> tmp8;
1675 : compiler::TNode<BoolT> tmp9;
1676 : ca_.Bind(&block4, &tmp8, &tmp9);
1677 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 192);
1678 4 : ca_.Branch(tmp9, &block6, &block7, tmp8, tmp9);
1679 : }
1680 :
1681 4 : if (block6.is_used()) {
1682 : compiler::TNode<Smi> tmp10;
1683 : compiler::TNode<BoolT> tmp11;
1684 : ca_.Bind(&block6, &tmp10, &tmp11);
1685 : compiler::TNode<Smi> tmp12;
1686 : USE(tmp12);
1687 12 : tmp12 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
1688 : compiler::TNode<Smi> tmp13;
1689 : USE(tmp13);
1690 8 : tmp13 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiSub(compiler::TNode<Smi>{tmp10}, compiler::TNode<Smi>{tmp12}));
1691 : ca_.Goto(&block9, tmp10, tmp11, tmp13);
1692 : }
1693 :
1694 4 : if (block7.is_used()) {
1695 : compiler::TNode<Smi> tmp14;
1696 : compiler::TNode<BoolT> tmp15;
1697 : ca_.Bind(&block7, &tmp14, &tmp15);
1698 : compiler::TNode<Smi> tmp16;
1699 : USE(tmp16);
1700 12 : tmp16 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(100));
1701 : compiler::TNode<Smi> tmp17;
1702 : USE(tmp17);
1703 8 : tmp17 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp14}, compiler::TNode<Smi>{tmp16}));
1704 : ca_.Goto(&block8, tmp14, tmp15, tmp17);
1705 : }
1706 :
1707 4 : if (block9.is_used()) {
1708 : compiler::TNode<Smi> tmp18;
1709 : compiler::TNode<BoolT> tmp19;
1710 : compiler::TNode<Smi> tmp20;
1711 : ca_.Bind(&block9, &tmp18, &tmp19, &tmp20);
1712 : ca_.Goto(&block8, tmp18, tmp19, tmp20);
1713 : }
1714 :
1715 4 : if (block8.is_used()) {
1716 : compiler::TNode<Smi> tmp21;
1717 : compiler::TNode<BoolT> tmp22;
1718 : compiler::TNode<Smi> tmp23;
1719 : ca_.Bind(&block8, &tmp21, &tmp22, &tmp23);
1720 : ca_.Goto(&block1, tmp21, tmp23);
1721 : }
1722 :
1723 4 : if (block1.is_used()) {
1724 : compiler::TNode<Smi> tmp24;
1725 : compiler::TNode<Smi> tmp25;
1726 : ca_.Bind(&block1, &tmp24, &tmp25);
1727 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 190);
1728 : ca_.Goto(&block10, tmp24, tmp25);
1729 : }
1730 :
1731 : compiler::TNode<Smi> tmp26;
1732 : compiler::TNode<Smi> tmp27;
1733 : ca_.Bind(&block10, &tmp26, &tmp27);
1734 8 : return compiler::TNode<Smi>{tmp27};
1735 : }
1736 :
1737 4 : void TestBuiltinsFromDSLAssembler::TestFunctionPointerToGeneric(compiler::TNode<Context> p_c) {
1738 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1739 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1740 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1741 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1742 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1743 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1744 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1745 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1746 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1747 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1748 : compiler::CodeAssemblerParameterizedLabel<Context> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1749 : ca_.Goto(&block0, p_c);
1750 :
1751 4 : if (block0.is_used()) {
1752 : compiler::TNode<Context> tmp0;
1753 : ca_.Bind(&block0, &tmp0);
1754 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 196);
1755 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 197);
1756 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 199);
1757 : compiler::TNode<Smi> tmp1;
1758 : USE(tmp1);
1759 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1760 20 : compiler::TNode<Object> tmp2 = CodeStubAssembler(state_).CallBuiltinPointer(Builtins::CallableFor(ca_.isolate(),ExampleBuiltinForTorqueFunctionPointerType(9)).descriptor(), ca_.UncheckedCast<BuiltinPtr>(ca_.SmiConstant(Builtins::kGenericBuiltinTest5ATSmi)), tmp0, tmp1);
1761 : USE(tmp2);
1762 : compiler::TNode<Oddball> tmp3;
1763 : USE(tmp3);
1764 12 : tmp3 = BaseBuiltinsFromDSLAssembler(state_).Null();
1765 : compiler::TNode<BoolT> tmp4;
1766 : USE(tmp4);
1767 8 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp2}, compiler::TNode<HeapObject>{tmp3}));
1768 4 : ca_.Branch(tmp4, &block2, &block3, tmp0, ca_.UncheckedCast<BuiltinPtr>(ca_.SmiConstant(Builtins::kGenericBuiltinTest5ATSmi)), ca_.UncheckedCast<BuiltinPtr>(ca_.SmiConstant(Builtins::kGenericBuiltinTest20UT5ATSmi10HeapObject)));
1769 : }
1770 :
1771 4 : if (block3.is_used()) {
1772 : compiler::TNode<Context> tmp5;
1773 : compiler::TNode<BuiltinPtr> tmp6;
1774 : compiler::TNode<BuiltinPtr> tmp7;
1775 : ca_.Bind(&block3, &tmp5, &tmp6, &tmp7);
1776 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr1(c, 0) == Null\' failed", "../../test/torque/test-torque.tq", 199);
1777 : }
1778 :
1779 4 : if (block2.is_used()) {
1780 : compiler::TNode<Context> tmp8;
1781 : compiler::TNode<BuiltinPtr> tmp9;
1782 : compiler::TNode<BuiltinPtr> tmp10;
1783 : ca_.Bind(&block2, &tmp8, &tmp9, &tmp10);
1784 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 200);
1785 : compiler::TNode<Smi> tmp11;
1786 : USE(tmp11);
1787 12 : tmp11 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
1788 20 : compiler::TNode<Object> tmp12 = CodeStubAssembler(state_).CallBuiltinPointer(Builtins::CallableFor(ca_.isolate(),ExampleBuiltinForTorqueFunctionPointerType(9)).descriptor(), tmp9, tmp8, tmp11);
1789 : USE(tmp12);
1790 : compiler::TNode<Oddball> tmp13;
1791 : USE(tmp13);
1792 12 : tmp13 = BaseBuiltinsFromDSLAssembler(state_).Null();
1793 : compiler::TNode<BoolT> tmp14;
1794 : USE(tmp14);
1795 8 : tmp14 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp12}, compiler::TNode<HeapObject>{tmp13}));
1796 4 : ca_.Branch(tmp14, &block4, &block5, tmp8, tmp9, tmp10);
1797 : }
1798 :
1799 4 : if (block5.is_used()) {
1800 : compiler::TNode<Context> tmp15;
1801 : compiler::TNode<BuiltinPtr> tmp16;
1802 : compiler::TNode<BuiltinPtr> tmp17;
1803 : ca_.Bind(&block5, &tmp15, &tmp16, &tmp17);
1804 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr1(c, 1) == Null\' failed", "../../test/torque/test-torque.tq", 200);
1805 : }
1806 :
1807 4 : if (block4.is_used()) {
1808 : compiler::TNode<Context> tmp18;
1809 : compiler::TNode<BuiltinPtr> tmp19;
1810 : compiler::TNode<BuiltinPtr> tmp20;
1811 : ca_.Bind(&block4, &tmp18, &tmp19, &tmp20);
1812 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 201);
1813 : compiler::TNode<Oddball> tmp21;
1814 : USE(tmp21);
1815 12 : tmp21 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1816 20 : compiler::TNode<Object> tmp22 = CodeStubAssembler(state_).CallBuiltinPointer(Builtins::CallableFor(ca_.isolate(),ExampleBuiltinForTorqueFunctionPointerType(3)).descriptor(), tmp20, tmp18, tmp21);
1817 : USE(tmp22);
1818 : compiler::TNode<Oddball> tmp23;
1819 : USE(tmp23);
1820 12 : tmp23 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1821 : compiler::TNode<BoolT> tmp24;
1822 : USE(tmp24);
1823 8 : tmp24 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp22}, compiler::TNode<HeapObject>{tmp23}));
1824 4 : ca_.Branch(tmp24, &block6, &block7, tmp18, tmp19, tmp20);
1825 : }
1826 :
1827 4 : if (block7.is_used()) {
1828 : compiler::TNode<Context> tmp25;
1829 : compiler::TNode<BuiltinPtr> tmp26;
1830 : compiler::TNode<BuiltinPtr> tmp27;
1831 : ca_.Bind(&block7, &tmp25, &tmp26, &tmp27);
1832 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr2(c, Undefined) == Undefined\' failed", "../../test/torque/test-torque.tq", 201);
1833 : }
1834 :
1835 4 : if (block6.is_used()) {
1836 : compiler::TNode<Context> tmp28;
1837 : compiler::TNode<BuiltinPtr> tmp29;
1838 : compiler::TNode<BuiltinPtr> tmp30;
1839 : ca_.Bind(&block6, &tmp28, &tmp29, &tmp30);
1840 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 202);
1841 : compiler::TNode<Oddball> tmp31;
1842 : USE(tmp31);
1843 12 : tmp31 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1844 20 : compiler::TNode<Object> tmp32 = CodeStubAssembler(state_).CallBuiltinPointer(Builtins::CallableFor(ca_.isolate(),ExampleBuiltinForTorqueFunctionPointerType(3)).descriptor(), tmp30, tmp28, tmp31);
1845 : USE(tmp32);
1846 : compiler::TNode<Oddball> tmp33;
1847 : USE(tmp33);
1848 12 : tmp33 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1849 : compiler::TNode<BoolT> tmp34;
1850 : USE(tmp34);
1851 8 : tmp34 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp32}, compiler::TNode<HeapObject>{tmp33}));
1852 4 : ca_.Branch(tmp34, &block8, &block9, tmp28, tmp29, tmp30);
1853 : }
1854 :
1855 4 : if (block9.is_used()) {
1856 : compiler::TNode<Context> tmp35;
1857 : compiler::TNode<BuiltinPtr> tmp36;
1858 : compiler::TNode<BuiltinPtr> tmp37;
1859 : ca_.Bind(&block9, &tmp35, &tmp36, &tmp37);
1860 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr2(c, Undefined) == Undefined\' failed", "../../test/torque/test-torque.tq", 202);
1861 : }
1862 :
1863 4 : if (block8.is_used()) {
1864 : compiler::TNode<Context> tmp38;
1865 : compiler::TNode<BuiltinPtr> tmp39;
1866 : compiler::TNode<BuiltinPtr> tmp40;
1867 : ca_.Bind(&block8, &tmp38, &tmp39, &tmp40);
1868 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 195);
1869 : ca_.Goto(&block1, tmp38);
1870 : }
1871 :
1872 4 : if (block1.is_used()) {
1873 : compiler::TNode<Context> tmp41;
1874 : ca_.Bind(&block1, &tmp41);
1875 : ca_.Goto(&block10, tmp41);
1876 : }
1877 :
1878 : compiler::TNode<Context> tmp42;
1879 : ca_.Bind(&block10, &tmp42);
1880 4 : }
1881 :
1882 0 : compiler::TNode<BuiltinPtr> TestBuiltinsFromDSLAssembler::TestTypeAlias(compiler::TNode<BuiltinPtr> p_x) {
1883 0 : compiler::CodeAssemblerParameterizedLabel<BuiltinPtr> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1884 : compiler::CodeAssemblerParameterizedLabel<BuiltinPtr, BuiltinPtr> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1885 : compiler::CodeAssemblerParameterizedLabel<BuiltinPtr, BuiltinPtr> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1886 : ca_.Goto(&block0, p_x);
1887 :
1888 0 : if (block0.is_used()) {
1889 : compiler::TNode<BuiltinPtr> tmp0;
1890 : ca_.Bind(&block0, &tmp0);
1891 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 207);
1892 : ca_.Goto(&block1, tmp0, tmp0);
1893 : }
1894 :
1895 0 : if (block1.is_used()) {
1896 : compiler::TNode<BuiltinPtr> tmp1;
1897 : compiler::TNode<BuiltinPtr> tmp2;
1898 : ca_.Bind(&block1, &tmp1, &tmp2);
1899 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 206);
1900 : ca_.Goto(&block2, tmp1, tmp2);
1901 : }
1902 :
1903 : compiler::TNode<BuiltinPtr> tmp3;
1904 : compiler::TNode<BuiltinPtr> tmp4;
1905 : ca_.Bind(&block2, &tmp3, &tmp4);
1906 0 : return compiler::TNode<BuiltinPtr>{tmp4};
1907 : }
1908 :
1909 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestUnsafeCast(compiler::TNode<Context> p_context, compiler::TNode<Number> p_n) {
1910 4 : compiler::CodeAssemblerParameterizedLabel<Context, Number> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1911 : compiler::CodeAssemblerParameterizedLabel<Context, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1912 : compiler::CodeAssemblerParameterizedLabel<Context, Number, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1913 : compiler::CodeAssemblerParameterizedLabel<Context, Number, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1914 : compiler::CodeAssemblerParameterizedLabel<Context, Number> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1915 : compiler::CodeAssemblerParameterizedLabel<Context, Number, Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1916 : compiler::CodeAssemblerParameterizedLabel<Context, Number, Oddball> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1917 : ca_.Goto(&block0, p_context, p_n);
1918 :
1919 4 : if (block0.is_used()) {
1920 : compiler::TNode<Context> tmp0;
1921 : compiler::TNode<Number> tmp1;
1922 : ca_.Bind(&block0, &tmp0, &tmp1);
1923 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 211);
1924 : compiler::TNode<BoolT> tmp2;
1925 : USE(tmp2);
1926 8 : tmp2 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).TaggedIsSmi(compiler::TNode<Object>{tmp1}));
1927 4 : ca_.Branch(tmp2, &block2, &block3, tmp0, tmp1);
1928 : }
1929 :
1930 4 : if (block2.is_used()) {
1931 : compiler::TNode<Context> tmp3;
1932 : compiler::TNode<Number> tmp4;
1933 : ca_.Bind(&block2, &tmp3, &tmp4);
1934 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 212);
1935 : compiler::TNode<Smi> tmp5;
1936 : USE(tmp5);
1937 12 : tmp5 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).UnsafeCast5ATSmi(compiler::TNode<Context>{tmp3}, compiler::TNode<Object>{tmp4}));
1938 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 214);
1939 : compiler::TNode<Smi> tmp6;
1940 8 : tmp6 = TORQUE_CAST(CodeStubAssembler(state_).CallBuiltin(Builtins::kTestHelperPlus1, tmp3, tmp5));
1941 : USE(tmp6);
1942 : compiler::TNode<Smi> tmp7;
1943 : USE(tmp7);
1944 12 : tmp7 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(11));
1945 : compiler::TNode<BoolT> tmp8;
1946 : USE(tmp8);
1947 8 : tmp8 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp6}, compiler::TNode<Smi>{tmp7}));
1948 4 : ca_.Branch(tmp8, &block4, &block5, tmp3, tmp4, tmp5);
1949 : }
1950 :
1951 4 : if (block5.is_used()) {
1952 : compiler::TNode<Context> tmp9;
1953 : compiler::TNode<Number> tmp10;
1954 : compiler::TNode<Smi> tmp11;
1955 : ca_.Bind(&block5, &tmp9, &tmp10, &tmp11);
1956 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestHelperPlus1(context, m) == 11\' failed", "../../test/torque/test-torque.tq", 214);
1957 : }
1958 :
1959 4 : if (block4.is_used()) {
1960 : compiler::TNode<Context> tmp12;
1961 : compiler::TNode<Number> tmp13;
1962 : compiler::TNode<Smi> tmp14;
1963 : ca_.Bind(&block4, &tmp12, &tmp13, &tmp14);
1964 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 215);
1965 : compiler::TNode<Oddball> tmp15;
1966 : USE(tmp15);
1967 12 : tmp15 = BaseBuiltinsFromDSLAssembler(state_).True();
1968 : ca_.Goto(&block1, tmp12, tmp13, tmp15);
1969 : }
1970 :
1971 4 : if (block3.is_used()) {
1972 : compiler::TNode<Context> tmp16;
1973 : compiler::TNode<Number> tmp17;
1974 : ca_.Bind(&block3, &tmp16, &tmp17);
1975 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 217);
1976 : compiler::TNode<Oddball> tmp18;
1977 : USE(tmp18);
1978 12 : tmp18 = BaseBuiltinsFromDSLAssembler(state_).False();
1979 : ca_.Goto(&block1, tmp16, tmp17, tmp18);
1980 : }
1981 :
1982 4 : if (block1.is_used()) {
1983 : compiler::TNode<Context> tmp19;
1984 : compiler::TNode<Number> tmp20;
1985 : compiler::TNode<Oddball> tmp21;
1986 : ca_.Bind(&block1, &tmp19, &tmp20, &tmp21);
1987 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 210);
1988 : ca_.Goto(&block6, tmp19, tmp20, tmp21);
1989 : }
1990 :
1991 : compiler::TNode<Context> tmp22;
1992 : compiler::TNode<Number> tmp23;
1993 : compiler::TNode<Oddball> tmp24;
1994 : ca_.Bind(&block6, &tmp22, &tmp23, &tmp24);
1995 8 : return compiler::TNode<Oddball>{tmp24};
1996 : }
1997 :
1998 4 : void TestBuiltinsFromDSLAssembler::TestHexLiteral() {
1999 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2000 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2001 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2002 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2003 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2004 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2005 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2006 : ca_.Goto(&block0);
2007 :
2008 4 : if (block0.is_used()) {
2009 : ca_.Bind(&block0);
2010 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 221);
2011 : compiler::TNode<IntPtrT> tmp0;
2012 : USE(tmp0);
2013 12 : tmp0 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).Convert8ATintptr17ATconstexpr_int31(0xffff));
2014 : compiler::TNode<IntPtrT> tmp1;
2015 : USE(tmp1);
2016 12 : tmp1 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(1));
2017 : compiler::TNode<IntPtrT> tmp2;
2018 : USE(tmp2);
2019 8 : tmp2 = ca_.UncheckedCast<IntPtrT>(CodeStubAssembler(state_).IntPtrAdd(compiler::TNode<IntPtrT>{tmp0}, compiler::TNode<IntPtrT>{tmp1}));
2020 : compiler::TNode<IntPtrT> tmp3;
2021 : USE(tmp3);
2022 12 : tmp3 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(0x10000));
2023 : compiler::TNode<BoolT> tmp4;
2024 : USE(tmp4);
2025 8 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<IntPtrT>{tmp2}, compiler::TNode<IntPtrT>{tmp3}));
2026 4 : ca_.Branch(tmp4, &block2, &block3);
2027 : }
2028 :
2029 4 : if (block3.is_used()) {
2030 : ca_.Bind(&block3);
2031 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'Convert<intptr>(0xffff) + 1 == 0x10000\' failed", "../../test/torque/test-torque.tq", 221);
2032 : }
2033 :
2034 4 : if (block2.is_used()) {
2035 : ca_.Bind(&block2);
2036 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 222);
2037 : compiler::TNode<IntPtrT> tmp5;
2038 : USE(tmp5);
2039 12 : tmp5 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).Convert8ATintptr17ATconstexpr_int31(-0xffff));
2040 : compiler::TNode<IntPtrT> tmp6;
2041 : USE(tmp6);
2042 12 : tmp6 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(-65535));
2043 : compiler::TNode<BoolT> tmp7;
2044 : USE(tmp7);
2045 8 : tmp7 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<IntPtrT>{tmp5}, compiler::TNode<IntPtrT>{tmp6}));
2046 4 : ca_.Branch(tmp7, &block4, &block5);
2047 : }
2048 :
2049 4 : if (block5.is_used()) {
2050 : ca_.Bind(&block5);
2051 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'Convert<intptr>(-0xffff) == -65535\' failed", "../../test/torque/test-torque.tq", 222);
2052 : }
2053 :
2054 4 : if (block4.is_used()) {
2055 : ca_.Bind(&block4);
2056 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 220);
2057 : ca_.Goto(&block1);
2058 : }
2059 :
2060 4 : if (block1.is_used()) {
2061 : ca_.Bind(&block1);
2062 : ca_.Goto(&block6);
2063 : }
2064 :
2065 : ca_.Bind(&block6);
2066 4 : }
2067 :
2068 0 : void TestBuiltinsFromDSLAssembler::TestLargeIntegerLiterals(compiler::TNode<Context> p_c) {
2069 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2070 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2071 : compiler::CodeAssemblerParameterizedLabel<Context> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2072 : ca_.Goto(&block0, p_c);
2073 :
2074 0 : if (block0.is_used()) {
2075 : compiler::TNode<Context> tmp0;
2076 : ca_.Bind(&block0, &tmp0);
2077 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 226);
2078 : compiler::TNode<Int32T> tmp1;
2079 : USE(tmp1);
2080 0 : tmp1 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int32(0x40000000));
2081 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 227);
2082 : compiler::TNode<Int32T> tmp2;
2083 : USE(tmp2);
2084 0 : tmp2 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int32(0x7fffffff));
2085 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 225);
2086 : ca_.Goto(&block1, tmp0);
2087 : }
2088 :
2089 0 : if (block1.is_used()) {
2090 : compiler::TNode<Context> tmp3;
2091 : ca_.Bind(&block1, &tmp3);
2092 : ca_.Goto(&block2, tmp3);
2093 : }
2094 :
2095 : compiler::TNode<Context> tmp4;
2096 : ca_.Bind(&block2, &tmp4);
2097 0 : }
2098 :
2099 0 : void TestBuiltinsFromDSLAssembler::TestMultilineAssert() {
2100 0 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2101 : compiler::CodeAssemblerParameterizedLabel<Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2102 : compiler::CodeAssemblerParameterizedLabel<Smi> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2103 : compiler::CodeAssemblerParameterizedLabel<Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2104 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2105 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2106 : ca_.Goto(&block0);
2107 :
2108 0 : if (block0.is_used()) {
2109 : ca_.Bind(&block0);
2110 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 231);
2111 : compiler::TNode<Smi> tmp0;
2112 : USE(tmp0);
2113 0 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
2114 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 233);
2115 : compiler::TNode<Smi> tmp1;
2116 : USE(tmp1);
2117 0 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2118 : compiler::TNode<BoolT> tmp2;
2119 : USE(tmp2);
2120 0 : tmp2 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiGreaterThan(compiler::TNode<Smi>{tmp0}, compiler::TNode<Smi>{tmp1}));
2121 0 : ca_.Branch(tmp2, &block4, &block3, tmp0);
2122 : }
2123 :
2124 0 : if (block4.is_used()) {
2125 : compiler::TNode<Smi> tmp3;
2126 : ca_.Bind(&block4, &tmp3);
2127 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 234);
2128 : compiler::TNode<Smi> tmp4;
2129 : USE(tmp4);
2130 0 : tmp4 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
2131 : compiler::TNode<BoolT> tmp5;
2132 : USE(tmp5);
2133 0 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp3}, compiler::TNode<Smi>{tmp4}));
2134 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 233);
2135 0 : ca_.Branch(tmp5, &block2, &block3, tmp3);
2136 : }
2137 :
2138 0 : if (block3.is_used()) {
2139 : compiler::TNode<Smi> tmp6;
2140 : ca_.Bind(&block3, &tmp6);
2141 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 232);
2142 0 : CodeStubAssembler(state_).FailAssert("Torque assert \'someVeryLongVariableNameThatWillCauseLineBreaks > 0 && someVeryLongVariableNameThatWillCauseLineBreaks < 10\' failed", "../../test/torque/test-torque.tq", 232);
2143 : }
2144 :
2145 0 : if (block2.is_used()) {
2146 : compiler::TNode<Smi> tmp7;
2147 : ca_.Bind(&block2, &tmp7);
2148 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 230);
2149 : ca_.Goto(&block1);
2150 : }
2151 :
2152 0 : if (block1.is_used()) {
2153 : ca_.Bind(&block1);
2154 : ca_.Goto(&block5);
2155 : }
2156 :
2157 : ca_.Bind(&block5);
2158 0 : }
2159 :
2160 0 : void TestBuiltinsFromDSLAssembler::TestNewlineInString() {
2161 0 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2162 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2163 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2164 : ca_.Goto(&block0);
2165 :
2166 0 : if (block0.is_used()) {
2167 : ca_.Bind(&block0);
2168 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 238);
2169 0 : CodeStubAssembler(state_).Print("Hello, World!\n");
2170 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 237);
2171 : ca_.Goto(&block1);
2172 : }
2173 :
2174 0 : if (block1.is_used()) {
2175 : ca_.Bind(&block1);
2176 : ca_.Goto(&block2);
2177 : }
2178 :
2179 : ca_.Bind(&block2);
2180 0 : }
2181 :
2182 4 : int31_t TestBuiltinsFromDSLAssembler::kConstexprConst() {
2183 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2184 : ca_.Goto(&block0);
2185 :
2186 : ca_.Bind(&block0);
2187 8 : return 5;
2188 : }
2189 :
2190 4 : compiler::TNode<IntPtrT> TestBuiltinsFromDSLAssembler::kIntptrConst() {
2191 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2192 : ca_.Goto(&block0);
2193 :
2194 : ca_.Bind(&block0);
2195 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 242);
2196 : compiler::TNode<IntPtrT> tmp0;
2197 : USE(tmp0);
2198 12 : tmp0 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(4));
2199 8 : return compiler::TNode<IntPtrT>{tmp0};
2200 : }
2201 :
2202 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::kSmiConst() {
2203 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2204 : ca_.Goto(&block0);
2205 :
2206 : ca_.Bind(&block0);
2207 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 243);
2208 : compiler::TNode<Smi> tmp0;
2209 : USE(tmp0);
2210 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2211 8 : return compiler::TNode<Smi>{tmp0};
2212 : }
2213 :
2214 4 : void TestBuiltinsFromDSLAssembler::TestModuleConstBindings() {
2215 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2216 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2217 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2218 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2219 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2220 : compiler::CodeAssemblerParameterizedLabel<> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2221 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2222 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2223 : compiler::CodeAssemblerParameterizedLabel<> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2224 : ca_.Goto(&block0);
2225 :
2226 4 : if (block0.is_used()) {
2227 : ca_.Bind(&block0);
2228 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 246);
2229 : compiler::TNode<Int32T> tmp0;
2230 : USE(tmp0);
2231 8 : tmp0 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Constant(5));
2232 : compiler::TNode<Int32T> tmp1;
2233 : USE(tmp1);
2234 20 : tmp1 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(TestBuiltinsFromDSLAssembler(state_).kConstexprConst()));
2235 : compiler::TNode<BoolT> tmp2;
2236 : USE(tmp2);
2237 8 : tmp2 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32Equal(compiler::TNode<Int32T>{tmp1}, compiler::TNode<Int32T>{tmp0}));
2238 4 : ca_.Branch(tmp2, &block2, &block3);
2239 : }
2240 :
2241 4 : if (block3.is_used()) {
2242 : ca_.Bind(&block3);
2243 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'kConstexprConst == Int32Constant(5)\' failed", "../../test/torque/test-torque.tq", 246);
2244 : }
2245 :
2246 4 : if (block2.is_used()) {
2247 : ca_.Bind(&block2);
2248 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 247);
2249 : compiler::TNode<IntPtrT> tmp3;
2250 : USE(tmp3);
2251 12 : tmp3 = TestBuiltinsFromDSLAssembler(state_).kIntptrConst();
2252 : compiler::TNode<IntPtrT> tmp4;
2253 : USE(tmp4);
2254 12 : tmp4 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(4));
2255 : compiler::TNode<BoolT> tmp5;
2256 : USE(tmp5);
2257 8 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<IntPtrT>{tmp3}, compiler::TNode<IntPtrT>{tmp4}));
2258 4 : ca_.Branch(tmp5, &block4, &block5);
2259 : }
2260 :
2261 4 : if (block5.is_used()) {
2262 : ca_.Bind(&block5);
2263 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'kIntptrConst == 4\' failed", "../../test/torque/test-torque.tq", 247);
2264 : }
2265 :
2266 4 : if (block4.is_used()) {
2267 : ca_.Bind(&block4);
2268 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 248);
2269 : compiler::TNode<Smi> tmp6;
2270 : USE(tmp6);
2271 12 : tmp6 = TestBuiltinsFromDSLAssembler(state_).kSmiConst();
2272 : compiler::TNode<Smi> tmp7;
2273 : USE(tmp7);
2274 12 : tmp7 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2275 : compiler::TNode<BoolT> tmp8;
2276 : USE(tmp8);
2277 8 : tmp8 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp6}, compiler::TNode<Smi>{tmp7}));
2278 4 : ca_.Branch(tmp8, &block6, &block7);
2279 : }
2280 :
2281 4 : if (block7.is_used()) {
2282 : ca_.Bind(&block7);
2283 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'kSmiConst == 3\' failed", "../../test/torque/test-torque.tq", 248);
2284 : }
2285 :
2286 4 : if (block6.is_used()) {
2287 : ca_.Bind(&block6);
2288 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 245);
2289 : ca_.Goto(&block1);
2290 : }
2291 :
2292 4 : if (block1.is_used()) {
2293 : ca_.Bind(&block1);
2294 : ca_.Goto(&block8);
2295 : }
2296 :
2297 : ca_.Bind(&block8);
2298 4 : }
2299 :
2300 4 : void TestBuiltinsFromDSLAssembler::TestLocalConstBindings() {
2301 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2302 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2303 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2304 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2305 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2306 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2307 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2308 : compiler::CodeAssemblerParameterizedLabel<Smi> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2309 : compiler::CodeAssemblerParameterizedLabel<Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2310 : compiler::CodeAssemblerParameterizedLabel<Smi> block11(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2311 : compiler::CodeAssemblerParameterizedLabel<Smi> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2312 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2313 : compiler::CodeAssemblerParameterizedLabel<> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2314 : ca_.Goto(&block0);
2315 :
2316 4 : if (block0.is_used()) {
2317 : ca_.Bind(&block0);
2318 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 253);
2319 : compiler::TNode<Smi> tmp0;
2320 : USE(tmp0);
2321 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2322 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 255);
2323 : compiler::TNode<Smi> tmp1;
2324 : USE(tmp1);
2325 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
2326 : compiler::TNode<Smi> tmp2;
2327 : USE(tmp2);
2328 12 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2329 : compiler::TNode<Smi> tmp3;
2330 : USE(tmp3);
2331 8 : tmp3 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp2}, compiler::TNode<Smi>{tmp1}));
2332 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 256);
2333 : compiler::TNode<Smi> tmp4;
2334 : USE(tmp4);
2335 12 : tmp4 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
2336 : compiler::TNode<Smi> tmp5;
2337 : USE(tmp5);
2338 8 : tmp5 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp0}, compiler::TNode<Smi>{tmp4}));
2339 : compiler::TNode<BoolT> tmp6;
2340 : USE(tmp6);
2341 8 : tmp6 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp3}, compiler::TNode<Smi>{tmp5}));
2342 4 : ca_.Branch(tmp6, &block2, &block3, tmp0, tmp3);
2343 : }
2344 :
2345 4 : if (block3.is_used()) {
2346 : compiler::TNode<Smi> tmp7;
2347 : compiler::TNode<Smi> tmp8;
2348 : ca_.Bind(&block3, &tmp7, &tmp8);
2349 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'x == xSmi + 1\' failed", "../../test/torque/test-torque.tq", 256);
2350 : }
2351 :
2352 4 : if (block2.is_used()) {
2353 : compiler::TNode<Smi> tmp9;
2354 : compiler::TNode<Smi> tmp10;
2355 : ca_.Bind(&block2, &tmp9, &tmp10);
2356 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 257);
2357 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 258);
2358 : compiler::TNode<BoolT> tmp11;
2359 : USE(tmp11);
2360 8 : tmp11 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp10}, compiler::TNode<Smi>{tmp10}));
2361 4 : ca_.Branch(tmp11, &block4, &block5, tmp9, tmp10, tmp10);
2362 : }
2363 :
2364 4 : if (block5.is_used()) {
2365 : compiler::TNode<Smi> tmp12;
2366 : compiler::TNode<Smi> tmp13;
2367 : compiler::TNode<Smi> tmp14;
2368 : ca_.Bind(&block5, &tmp12, &tmp13, &tmp14);
2369 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'x == xSmi\' failed", "../../test/torque/test-torque.tq", 258);
2370 : }
2371 :
2372 4 : if (block4.is_used()) {
2373 : compiler::TNode<Smi> tmp15;
2374 : compiler::TNode<Smi> tmp16;
2375 : compiler::TNode<Smi> tmp17;
2376 : ca_.Bind(&block4, &tmp15, &tmp16, &tmp17);
2377 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 259);
2378 : compiler::TNode<Smi> tmp18;
2379 : USE(tmp18);
2380 12 : tmp18 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(4));
2381 : compiler::TNode<BoolT> tmp19;
2382 : USE(tmp19);
2383 8 : tmp19 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp16}, compiler::TNode<Smi>{tmp18}));
2384 4 : ca_.Branch(tmp19, &block6, &block7, tmp15, tmp16, tmp17);
2385 : }
2386 :
2387 4 : if (block7.is_used()) {
2388 : compiler::TNode<Smi> tmp20;
2389 : compiler::TNode<Smi> tmp21;
2390 : compiler::TNode<Smi> tmp22;
2391 : ca_.Bind(&block7, &tmp20, &tmp21, &tmp22);
2392 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'x == 4\' failed", "../../test/torque/test-torque.tq", 259);
2393 : }
2394 :
2395 4 : if (block6.is_used()) {
2396 : compiler::TNode<Smi> tmp23;
2397 : compiler::TNode<Smi> tmp24;
2398 : compiler::TNode<Smi> tmp25;
2399 : ca_.Bind(&block6, &tmp23, &tmp24, &tmp25);
2400 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 254);
2401 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 261);
2402 : compiler::TNode<Smi> tmp26;
2403 : USE(tmp26);
2404 12 : tmp26 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2405 : compiler::TNode<BoolT> tmp27;
2406 : USE(tmp27);
2407 8 : tmp27 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp23}, compiler::TNode<Smi>{tmp26}));
2408 4 : ca_.Branch(tmp27, &block8, &block9, tmp23);
2409 : }
2410 :
2411 4 : if (block9.is_used()) {
2412 : compiler::TNode<Smi> tmp28;
2413 : ca_.Bind(&block9, &tmp28);
2414 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'xSmi == 3\' failed", "../../test/torque/test-torque.tq", 261);
2415 : }
2416 :
2417 4 : if (block8.is_used()) {
2418 : compiler::TNode<Smi> tmp29;
2419 : ca_.Bind(&block8, &tmp29);
2420 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 262);
2421 : compiler::TNode<Smi> tmp30;
2422 : USE(tmp30);
2423 12 : tmp30 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2424 : compiler::TNode<BoolT> tmp31;
2425 : USE(tmp31);
2426 8 : tmp31 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp30}, compiler::TNode<Smi>{tmp29}));
2427 4 : ca_.Branch(tmp31, &block10, &block11, tmp29);
2428 : }
2429 :
2430 4 : if (block11.is_used()) {
2431 : compiler::TNode<Smi> tmp32;
2432 : ca_.Bind(&block11, &tmp32);
2433 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'x == xSmi\' failed", "../../test/torque/test-torque.tq", 262);
2434 : }
2435 :
2436 4 : if (block10.is_used()) {
2437 : compiler::TNode<Smi> tmp33;
2438 : ca_.Bind(&block10, &tmp33);
2439 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 251);
2440 : ca_.Goto(&block1);
2441 : }
2442 :
2443 4 : if (block1.is_used()) {
2444 : ca_.Bind(&block1);
2445 : ca_.Goto(&block12);
2446 : }
2447 :
2448 : ca_.Bind(&block12);
2449 4 : }
2450 :
2451 0 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestStruct1(TestBuiltinsFromDSLAssembler::TestStructA p_i) {
2452 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi, Number> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2453 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi, Number, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2454 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi, Number, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2455 : ca_.Goto(&block0, p_i.indexes, p_i.i, p_i.k);
2456 :
2457 0 : if (block0.is_used()) {
2458 : compiler::TNode<FixedArray> tmp0;
2459 : compiler::TNode<Smi> tmp1;
2460 : compiler::TNode<Number> tmp2;
2461 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
2462 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 277);
2463 : ca_.Goto(&block1, tmp0, tmp1, tmp2, tmp1);
2464 : }
2465 :
2466 0 : if (block1.is_used()) {
2467 : compiler::TNode<FixedArray> tmp3;
2468 : compiler::TNode<Smi> tmp4;
2469 : compiler::TNode<Number> tmp5;
2470 : compiler::TNode<Smi> tmp6;
2471 : ca_.Bind(&block1, &tmp3, &tmp4, &tmp5, &tmp6);
2472 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 276);
2473 : ca_.Goto(&block2, tmp3, tmp4, tmp5, tmp6);
2474 : }
2475 :
2476 : compiler::TNode<FixedArray> tmp7;
2477 : compiler::TNode<Smi> tmp8;
2478 : compiler::TNode<Number> tmp9;
2479 : compiler::TNode<Smi> tmp10;
2480 : ca_.Bind(&block2, &tmp7, &tmp8, &tmp9, &tmp10);
2481 0 : return compiler::TNode<Smi>{tmp10};
2482 : }
2483 :
2484 0 : TestBuiltinsFromDSLAssembler::TestStructA TestBuiltinsFromDSLAssembler::TestStruct2(compiler::TNode<Context> p_context) {
2485 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2486 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2487 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2488 : ca_.Goto(&block0, p_context);
2489 :
2490 0 : if (block0.is_used()) {
2491 : compiler::TNode<Context> tmp0;
2492 : ca_.Bind(&block0, &tmp0);
2493 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 282);
2494 : compiler::TNode<FixedArray> tmp1;
2495 : USE(tmp1);
2496 0 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).kEmptyFixedArray();
2497 : compiler::TNode<FixedArray> tmp2;
2498 : USE(tmp2);
2499 0 : tmp2 = ca_.UncheckedCast<FixedArray>(BaseBuiltinsFromDSLAssembler(state_).UnsafeCast10FixedArray(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}));
2500 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 281);
2501 : compiler::TNode<Smi> tmp3;
2502 : USE(tmp3);
2503 0 : tmp3 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(27));
2504 : compiler::TNode<Number> tmp4;
2505 : USE(tmp4);
2506 0 : tmp4 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr20UT5ATSmi10HeapNumber17ATconstexpr_int31(31));
2507 : ca_.Goto(&block1, tmp0, tmp2, tmp3, tmp4);
2508 : }
2509 :
2510 0 : if (block1.is_used()) {
2511 : compiler::TNode<Context> tmp5;
2512 : compiler::TNode<FixedArray> tmp6;
2513 : compiler::TNode<Smi> tmp7;
2514 : compiler::TNode<Number> tmp8;
2515 : ca_.Bind(&block1, &tmp5, &tmp6, &tmp7, &tmp8);
2516 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 280);
2517 : ca_.Goto(&block2, tmp5, tmp6, tmp7, tmp8);
2518 : }
2519 :
2520 : compiler::TNode<Context> tmp9;
2521 : compiler::TNode<FixedArray> tmp10;
2522 : compiler::TNode<Smi> tmp11;
2523 : compiler::TNode<Number> tmp12;
2524 : ca_.Bind(&block2, &tmp9, &tmp10, &tmp11, &tmp12);
2525 0 : return TestBuiltinsFromDSLAssembler::TestStructA{compiler::TNode<FixedArray>{tmp10}, compiler::TNode<Smi>{tmp11}, compiler::TNode<Number>{tmp12}};
2526 : }
2527 :
2528 0 : TestBuiltinsFromDSLAssembler::TestStructA TestBuiltinsFromDSLAssembler::TestStruct3(compiler::TNode<Context> p_context) {
2529 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2530 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2531 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2532 : ca_.Goto(&block0, p_context);
2533 :
2534 0 : if (block0.is_used()) {
2535 : compiler::TNode<Context> tmp0;
2536 : ca_.Bind(&block0, &tmp0);
2537 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 290);
2538 : compiler::TNode<FixedArray> tmp1;
2539 : USE(tmp1);
2540 0 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).kEmptyFixedArray();
2541 : compiler::TNode<FixedArray> tmp2;
2542 : USE(tmp2);
2543 0 : tmp2 = ca_.UncheckedCast<FixedArray>(BaseBuiltinsFromDSLAssembler(state_).UnsafeCast10FixedArray(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}));
2544 : compiler::TNode<Smi> tmp3;
2545 : USE(tmp3);
2546 0 : tmp3 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(13));
2547 : compiler::TNode<Number> tmp4;
2548 : USE(tmp4);
2549 0 : tmp4 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr20UT5ATSmi10HeapNumber17ATconstexpr_int31(5));
2550 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 289);
2551 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 291);
2552 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 292);
2553 : compiler::TNode<FixedArray> tmp5;
2554 : USE(tmp5);
2555 : compiler::TNode<Smi> tmp6;
2556 : USE(tmp6);
2557 : compiler::TNode<Number> tmp7;
2558 : USE(tmp7);
2559 0 : std::tie(tmp5, tmp6, tmp7) = TestBuiltinsFromDSLAssembler(state_).TestStruct2(compiler::TNode<Context>{tmp0}).Flatten();
2560 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 293);
2561 : compiler::TNode<Smi> tmp8;
2562 : USE(tmp8);
2563 0 : tmp8 = ca_.UncheckedCast<Smi>(TestBuiltinsFromDSLAssembler(state_).TestStruct1(TestBuiltinsFromDSLAssembler::TestStructA{compiler::TNode<FixedArray>{tmp5}, compiler::TNode<Smi>{tmp6}, compiler::TNode<Number>{tmp7}}));
2564 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 294);
2565 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 295);
2566 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 296);
2567 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 297);
2568 : compiler::TNode<Smi> tmp9;
2569 : USE(tmp9);
2570 0 : tmp9 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
2571 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 298);
2572 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 300);
2573 : compiler::TNode<FixedArray> tmp10;
2574 : USE(tmp10);
2575 0 : tmp10 = BaseBuiltinsFromDSLAssembler(state_).kEmptyFixedArray();
2576 : compiler::TNode<FixedArray> tmp11;
2577 : USE(tmp11);
2578 0 : tmp11 = ca_.UncheckedCast<FixedArray>(BaseBuiltinsFromDSLAssembler(state_).UnsafeCast10FixedArray(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp10}));
2579 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 299);
2580 : compiler::TNode<Smi> tmp12;
2581 : USE(tmp12);
2582 0 : tmp12 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(27));
2583 : compiler::TNode<Number> tmp13;
2584 : USE(tmp13);
2585 0 : tmp13 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr20UT5ATSmi10HeapNumber17ATconstexpr_int31(31));
2586 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 304);
2587 : compiler::TNode<FixedArray> tmp14;
2588 : USE(tmp14);
2589 : compiler::TNode<Smi> tmp15;
2590 : USE(tmp15);
2591 : compiler::TNode<Number> tmp16;
2592 : USE(tmp16);
2593 0 : std::tie(tmp14, tmp15, tmp16) = TestBuiltinsFromDSLAssembler(state_).TestStruct2(compiler::TNode<Context>{tmp0}).Flatten();
2594 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 305);
2595 : ca_.Goto(&block1, tmp0, tmp2, tmp8, tmp8);
2596 : }
2597 :
2598 0 : if (block1.is_used()) {
2599 : compiler::TNode<Context> tmp17;
2600 : compiler::TNode<FixedArray> tmp18;
2601 : compiler::TNode<Smi> tmp19;
2602 : compiler::TNode<Number> tmp20;
2603 : ca_.Bind(&block1, &tmp17, &tmp18, &tmp19, &tmp20);
2604 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 288);
2605 : ca_.Goto(&block2, tmp17, tmp18, tmp19, tmp20);
2606 : }
2607 :
2608 : compiler::TNode<Context> tmp21;
2609 : compiler::TNode<FixedArray> tmp22;
2610 : compiler::TNode<Smi> tmp23;
2611 : compiler::TNode<Number> tmp24;
2612 : ca_.Bind(&block2, &tmp21, &tmp22, &tmp23, &tmp24);
2613 0 : return TestBuiltinsFromDSLAssembler::TestStructA{compiler::TNode<FixedArray>{tmp22}, compiler::TNode<Smi>{tmp23}, compiler::TNode<Number>{tmp24}};
2614 : }
2615 :
2616 0 : TestBuiltinsFromDSLAssembler::TestStructC TestBuiltinsFromDSLAssembler::TestStruct4(compiler::TNode<Context> p_context) {
2617 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2618 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number, FixedArray, Smi, Number> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2619 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number, FixedArray, Smi, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2620 : ca_.Goto(&block0, p_context);
2621 :
2622 0 : if (block0.is_used()) {
2623 : compiler::TNode<Context> tmp0;
2624 : ca_.Bind(&block0, &tmp0);
2625 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 314);
2626 : compiler::TNode<FixedArray> tmp1;
2627 : USE(tmp1);
2628 : compiler::TNode<Smi> tmp2;
2629 : USE(tmp2);
2630 : compiler::TNode<Number> tmp3;
2631 : USE(tmp3);
2632 0 : std::tie(tmp1, tmp2, tmp3) = TestBuiltinsFromDSLAssembler(state_).TestStruct2(compiler::TNode<Context>{tmp0}).Flatten();
2633 : compiler::TNode<FixedArray> tmp4;
2634 : USE(tmp4);
2635 : compiler::TNode<Smi> tmp5;
2636 : USE(tmp5);
2637 : compiler::TNode<Number> tmp6;
2638 : USE(tmp6);
2639 0 : std::tie(tmp4, tmp5, tmp6) = TestBuiltinsFromDSLAssembler(state_).TestStruct2(compiler::TNode<Context>{tmp0}).Flatten();
2640 : ca_.Goto(&block1, tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6);
2641 : }
2642 :
2643 0 : if (block1.is_used()) {
2644 : compiler::TNode<Context> tmp7;
2645 : compiler::TNode<FixedArray> tmp8;
2646 : compiler::TNode<Smi> tmp9;
2647 : compiler::TNode<Number> tmp10;
2648 : compiler::TNode<FixedArray> tmp11;
2649 : compiler::TNode<Smi> tmp12;
2650 : compiler::TNode<Number> tmp13;
2651 : ca_.Bind(&block1, &tmp7, &tmp8, &tmp9, &tmp10, &tmp11, &tmp12, &tmp13);
2652 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 313);
2653 : ca_.Goto(&block2, tmp7, tmp8, tmp9, tmp10, tmp11, tmp12, tmp13);
2654 : }
2655 :
2656 : compiler::TNode<Context> tmp14;
2657 : compiler::TNode<FixedArray> tmp15;
2658 : compiler::TNode<Smi> tmp16;
2659 : compiler::TNode<Number> tmp17;
2660 : compiler::TNode<FixedArray> tmp18;
2661 : compiler::TNode<Smi> tmp19;
2662 : compiler::TNode<Number> tmp20;
2663 : ca_.Bind(&block2, &tmp14, &tmp15, &tmp16, &tmp17, &tmp18, &tmp19, &tmp20);
2664 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}}};
2665 : }
2666 :
2667 0 : void TestBuiltinsFromDSLAssembler::CallTestStructInLabel(compiler::TNode<Context> p_context) {
2668 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2669 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2670 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2671 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2672 : compiler::CodeAssemblerParameterizedLabel<Context> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2673 : ca_.Goto(&block0, p_context);
2674 :
2675 0 : if (block0.is_used()) {
2676 : compiler::TNode<Context> tmp0;
2677 : ca_.Bind(&block0, &tmp0);
2678 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 323);
2679 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 319);
2680 : compiler::TNode<FixedArray> tmp1;
2681 : USE(tmp1);
2682 : compiler::TNode<Smi> tmp2;
2683 : USE(tmp2);
2684 : compiler::TNode<Number> tmp3;
2685 : USE(tmp3);
2686 0 : std::tie(tmp1, tmp2, tmp3) = TestBuiltinsFromDSLAssembler(state_).TestStruct2(compiler::TNode<Context>{tmp0}).Flatten();
2687 : ca_.Goto(&block3, tmp0, tmp1, tmp2, tmp3);
2688 : }
2689 :
2690 0 : if (block3.is_used()) {
2691 : compiler::TNode<Context> tmp4;
2692 : compiler::TNode<FixedArray> tmp5;
2693 : compiler::TNode<Smi> tmp6;
2694 : compiler::TNode<Number> tmp7;
2695 : ca_.Bind(&block3, &tmp4, &tmp5, &tmp6, &tmp7);
2696 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 322);
2697 : ca_.Goto(&block2, tmp4, tmp5, tmp6, tmp7);
2698 : }
2699 :
2700 0 : if (block2.is_used()) {
2701 : compiler::TNode<Context> tmp8;
2702 : compiler::TNode<FixedArray> tmp9;
2703 : compiler::TNode<Smi> tmp10;
2704 : compiler::TNode<Number> tmp11;
2705 : ca_.Bind(&block2, &tmp8, &tmp9, &tmp10, &tmp11);
2706 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 321);
2707 : ca_.Goto(&block1, tmp8);
2708 : }
2709 :
2710 0 : if (block1.is_used()) {
2711 : compiler::TNode<Context> tmp12;
2712 : ca_.Bind(&block1, &tmp12);
2713 : ca_.Goto(&block4, tmp12);
2714 : }
2715 :
2716 : compiler::TNode<Context> tmp13;
2717 : ca_.Bind(&block4, &tmp13);
2718 0 : }
2719 :
2720 4 : void TestBuiltinsFromDSLAssembler::TestForLoop() {
2721 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2722 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2723 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2724 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2725 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2726 : compiler::CodeAssemblerParameterizedLabel<Smi> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2727 : compiler::CodeAssemblerParameterizedLabel<Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2728 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2729 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2730 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block11(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2731 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2732 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block13(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2733 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2734 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block16(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2735 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2736 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block15(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2737 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block18(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2738 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block17(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2739 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block21(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2740 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block19(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2741 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block23(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2742 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block24(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2743 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block22(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2744 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block20(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2745 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block26(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2746 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block25(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2747 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block29(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2748 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block27(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2749 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block30(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2750 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block31(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2751 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block28(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2752 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block33(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2753 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block32(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2754 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block36(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2755 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block34(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2756 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block38(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2757 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block39(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2758 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block37(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2759 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block35(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2760 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block41(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2761 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block40(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2762 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block44(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2763 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block42(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2764 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block46(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2765 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block47(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2766 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block45(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2767 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block43(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2768 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block49(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2769 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block48(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2770 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block52(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2771 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block50(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2772 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block53(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2773 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block54(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2774 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block51(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2775 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block56(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2776 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block55(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2777 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block59(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2778 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block57(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2779 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block61(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2780 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block62(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2781 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block63(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2782 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block64(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2783 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block60(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2784 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block58(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2785 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block66(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2786 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block65(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2787 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block69(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2788 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block67(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2789 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block70(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2790 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block71(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2791 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block72(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2792 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block73(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2793 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block68(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2794 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block75(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2795 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block74(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2796 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block80(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2797 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block78(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2798 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block81(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2799 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block82(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2800 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block79(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2801 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block77(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2802 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block84(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2803 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block83(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2804 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block76(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2805 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block87(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2806 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block85(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2807 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block88(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2808 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block86(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2809 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2810 : compiler::CodeAssemblerParameterizedLabel<> block89(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2811 : ca_.Goto(&block0);
2812 :
2813 4 : if (block0.is_used()) {
2814 : ca_.Bind(&block0);
2815 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 331);
2816 : compiler::TNode<Smi> tmp0;
2817 : USE(tmp0);
2818 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2819 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 332);
2820 : compiler::TNode<Smi> tmp1;
2821 : USE(tmp1);
2822 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2823 : ca_.Goto(&block4, tmp0, tmp1);
2824 : }
2825 :
2826 4 : if (block4.is_used()) {
2827 : compiler::TNode<Smi> tmp2;
2828 : compiler::TNode<Smi> tmp3;
2829 : ca_.Bind(&block4, &tmp2, &tmp3);
2830 : compiler::TNode<Smi> tmp4;
2831 : USE(tmp4);
2832 12 : tmp4 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
2833 : compiler::TNode<BoolT> tmp5;
2834 : USE(tmp5);
2835 8 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp3}, compiler::TNode<Smi>{tmp4}));
2836 4 : ca_.Branch(tmp5, &block2, &block3, tmp2, tmp3);
2837 : }
2838 :
2839 4 : if (block2.is_used()) {
2840 : compiler::TNode<Smi> tmp6;
2841 : compiler::TNode<Smi> tmp7;
2842 : ca_.Bind(&block2, &tmp6, &tmp7);
2843 : compiler::TNode<Smi> tmp8;
2844 : USE(tmp8);
2845 8 : tmp8 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp6}, compiler::TNode<Smi>{tmp7}));
2846 : ca_.Goto(&block5, tmp8, tmp7);
2847 : }
2848 :
2849 4 : if (block5.is_used()) {
2850 : compiler::TNode<Smi> tmp9;
2851 : compiler::TNode<Smi> tmp10;
2852 : ca_.Bind(&block5, &tmp9, &tmp10);
2853 : compiler::TNode<Smi> tmp11;
2854 : USE(tmp11);
2855 12 : tmp11 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
2856 : compiler::TNode<Smi> tmp12;
2857 : USE(tmp12);
2858 8 : tmp12 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp10}, compiler::TNode<Smi>{tmp11}));
2859 : ca_.Goto(&block4, tmp9, tmp12);
2860 : }
2861 :
2862 4 : if (block3.is_used()) {
2863 : compiler::TNode<Smi> tmp13;
2864 : compiler::TNode<Smi> tmp14;
2865 : ca_.Bind(&block3, &tmp13, &tmp14);
2866 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 333);
2867 : compiler::TNode<Smi> tmp15;
2868 : USE(tmp15);
2869 12 : tmp15 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
2870 : compiler::TNode<BoolT> tmp16;
2871 : USE(tmp16);
2872 8 : tmp16 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp13}, compiler::TNode<Smi>{tmp15}));
2873 4 : ca_.Branch(tmp16, &block6, &block7, tmp13);
2874 : }
2875 :
2876 4 : if (block7.is_used()) {
2877 : compiler::TNode<Smi> tmp17;
2878 : ca_.Bind(&block7, &tmp17);
2879 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 10\' failed", "../../test/torque/test-torque.tq", 333);
2880 : }
2881 :
2882 4 : if (block6.is_used()) {
2883 : compiler::TNode<Smi> tmp18;
2884 : ca_.Bind(&block6, &tmp18);
2885 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 335);
2886 : compiler::TNode<Smi> tmp19;
2887 : USE(tmp19);
2888 12 : tmp19 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2889 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 336);
2890 : compiler::TNode<Smi> tmp20;
2891 : USE(tmp20);
2892 12 : tmp20 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2893 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 337);
2894 : ca_.Goto(&block10, tmp19, tmp20);
2895 : }
2896 :
2897 4 : if (block10.is_used()) {
2898 : compiler::TNode<Smi> tmp21;
2899 : compiler::TNode<Smi> tmp22;
2900 : ca_.Bind(&block10, &tmp21, &tmp22);
2901 : compiler::TNode<Smi> tmp23;
2902 : USE(tmp23);
2903 12 : tmp23 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
2904 : compiler::TNode<BoolT> tmp24;
2905 : USE(tmp24);
2906 8 : tmp24 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp22}, compiler::TNode<Smi>{tmp23}));
2907 4 : ca_.Branch(tmp24, &block8, &block9, tmp21, tmp22);
2908 : }
2909 :
2910 4 : if (block8.is_used()) {
2911 : compiler::TNode<Smi> tmp25;
2912 : compiler::TNode<Smi> tmp26;
2913 : ca_.Bind(&block8, &tmp25, &tmp26);
2914 : compiler::TNode<Smi> tmp27;
2915 : USE(tmp27);
2916 8 : tmp27 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp25}, compiler::TNode<Smi>{tmp26}));
2917 : ca_.Goto(&block11, tmp27, tmp26);
2918 : }
2919 :
2920 4 : if (block11.is_used()) {
2921 : compiler::TNode<Smi> tmp28;
2922 : compiler::TNode<Smi> tmp29;
2923 : ca_.Bind(&block11, &tmp28, &tmp29);
2924 : compiler::TNode<Smi> tmp30;
2925 : USE(tmp30);
2926 12 : tmp30 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
2927 : compiler::TNode<Smi> tmp31;
2928 : USE(tmp31);
2929 8 : tmp31 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp29}, compiler::TNode<Smi>{tmp30}));
2930 : ca_.Goto(&block10, tmp28, tmp31);
2931 : }
2932 :
2933 4 : if (block9.is_used()) {
2934 : compiler::TNode<Smi> tmp32;
2935 : compiler::TNode<Smi> tmp33;
2936 : ca_.Bind(&block9, &tmp32, &tmp33);
2937 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 338);
2938 : compiler::TNode<Smi> tmp34;
2939 : USE(tmp34);
2940 12 : tmp34 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
2941 : compiler::TNode<BoolT> tmp35;
2942 : USE(tmp35);
2943 8 : tmp35 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp32}, compiler::TNode<Smi>{tmp34}));
2944 4 : ca_.Branch(tmp35, &block12, &block13, tmp32, tmp33);
2945 : }
2946 :
2947 4 : if (block13.is_used()) {
2948 : compiler::TNode<Smi> tmp36;
2949 : compiler::TNode<Smi> tmp37;
2950 : ca_.Bind(&block13, &tmp36, &tmp37);
2951 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 10\' failed", "../../test/torque/test-torque.tq", 338);
2952 : }
2953 :
2954 4 : if (block12.is_used()) {
2955 : compiler::TNode<Smi> tmp38;
2956 : compiler::TNode<Smi> tmp39;
2957 : ca_.Bind(&block12, &tmp38, &tmp39);
2958 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 340);
2959 : compiler::TNode<Smi> tmp40;
2960 : USE(tmp40);
2961 12 : tmp40 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2962 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 341);
2963 : compiler::TNode<Smi> tmp41;
2964 : USE(tmp41);
2965 12 : tmp41 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2966 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 342);
2967 : ca_.Goto(&block16, tmp40, tmp41);
2968 : }
2969 :
2970 4 : if (block16.is_used()) {
2971 : compiler::TNode<Smi> tmp42;
2972 : compiler::TNode<Smi> tmp43;
2973 : ca_.Bind(&block16, &tmp42, &tmp43);
2974 : compiler::TNode<Smi> tmp44;
2975 : USE(tmp44);
2976 12 : tmp44 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
2977 : compiler::TNode<BoolT> tmp45;
2978 : USE(tmp45);
2979 8 : tmp45 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp43}, compiler::TNode<Smi>{tmp44}));
2980 4 : ca_.Branch(tmp45, &block14, &block15, tmp42, tmp43);
2981 : }
2982 :
2983 4 : if (block14.is_used()) {
2984 : compiler::TNode<Smi> tmp46;
2985 : compiler::TNode<Smi> tmp47;
2986 : ca_.Bind(&block14, &tmp46, &tmp47);
2987 : compiler::TNode<Smi> tmp48;
2988 : USE(tmp48);
2989 12 : tmp48 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
2990 : compiler::TNode<Smi> tmp49;
2991 : USE(tmp49);
2992 8 : tmp49 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp47}, compiler::TNode<Smi>{tmp48}));
2993 : compiler::TNode<Smi> tmp50;
2994 : USE(tmp50);
2995 8 : tmp50 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp46}, compiler::TNode<Smi>{tmp47}));
2996 : ca_.Goto(&block16, tmp50, tmp49);
2997 : }
2998 :
2999 4 : if (block15.is_used()) {
3000 : compiler::TNode<Smi> tmp51;
3001 : compiler::TNode<Smi> tmp52;
3002 : ca_.Bind(&block15, &tmp51, &tmp52);
3003 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 343);
3004 : compiler::TNode<Smi> tmp53;
3005 : USE(tmp53);
3006 12 : tmp53 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3007 : compiler::TNode<BoolT> tmp54;
3008 : USE(tmp54);
3009 8 : tmp54 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp51}, compiler::TNode<Smi>{tmp53}));
3010 4 : ca_.Branch(tmp54, &block17, &block18, tmp51, tmp52);
3011 : }
3012 :
3013 4 : if (block18.is_used()) {
3014 : compiler::TNode<Smi> tmp55;
3015 : compiler::TNode<Smi> tmp56;
3016 : ca_.Bind(&block18, &tmp55, &tmp56);
3017 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 10\' failed", "../../test/torque/test-torque.tq", 343);
3018 : }
3019 :
3020 4 : if (block17.is_used()) {
3021 : compiler::TNode<Smi> tmp57;
3022 : compiler::TNode<Smi> tmp58;
3023 : ca_.Bind(&block17, &tmp57, &tmp58);
3024 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 346);
3025 : compiler::TNode<Smi> tmp59;
3026 : USE(tmp59);
3027 12 : tmp59 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3028 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 347);
3029 : compiler::TNode<Smi> tmp60;
3030 : USE(tmp60);
3031 12 : tmp60 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3032 : ca_.Goto(&block21, tmp59, tmp58, tmp60);
3033 : }
3034 :
3035 4 : if (block21.is_used()) {
3036 : compiler::TNode<Smi> tmp61;
3037 : compiler::TNode<Smi> tmp62;
3038 : compiler::TNode<Smi> tmp63;
3039 : ca_.Bind(&block21, &tmp61, &tmp62, &tmp63);
3040 : ca_.Goto(&block19, tmp61, tmp62, tmp63);
3041 : }
3042 :
3043 4 : if (block19.is_used()) {
3044 : compiler::TNode<Smi> tmp64;
3045 : compiler::TNode<Smi> tmp65;
3046 : compiler::TNode<Smi> tmp66;
3047 : ca_.Bind(&block19, &tmp64, &tmp65, &tmp66);
3048 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 348);
3049 : compiler::TNode<Smi> tmp67;
3050 : USE(tmp67);
3051 12 : tmp67 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3052 : compiler::TNode<BoolT> tmp68;
3053 : USE(tmp68);
3054 8 : tmp68 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp66}, compiler::TNode<Smi>{tmp67}));
3055 4 : ca_.Branch(tmp68, &block23, &block24, tmp64, tmp65, tmp66);
3056 : }
3057 :
3058 4 : if (block23.is_used()) {
3059 : compiler::TNode<Smi> tmp69;
3060 : compiler::TNode<Smi> tmp70;
3061 : compiler::TNode<Smi> tmp71;
3062 : ca_.Bind(&block23, &tmp69, &tmp70, &tmp71);
3063 : ca_.Goto(&block20, tmp69, tmp70, tmp71);
3064 : }
3065 :
3066 4 : if (block24.is_used()) {
3067 : compiler::TNode<Smi> tmp72;
3068 : compiler::TNode<Smi> tmp73;
3069 : compiler::TNode<Smi> tmp74;
3070 : ca_.Bind(&block24, &tmp72, &tmp73, &tmp74);
3071 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 349);
3072 : compiler::TNode<Smi> tmp75;
3073 : USE(tmp75);
3074 8 : tmp75 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp72}, compiler::TNode<Smi>{tmp74}));
3075 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 347);
3076 : ca_.Goto(&block22, tmp75, tmp73, tmp74);
3077 : }
3078 :
3079 4 : if (block22.is_used()) {
3080 : compiler::TNode<Smi> tmp76;
3081 : compiler::TNode<Smi> tmp77;
3082 : compiler::TNode<Smi> tmp78;
3083 : ca_.Bind(&block22, &tmp76, &tmp77, &tmp78);
3084 : compiler::TNode<Smi> tmp79;
3085 : USE(tmp79);
3086 12 : tmp79 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3087 : compiler::TNode<Smi> tmp80;
3088 : USE(tmp80);
3089 8 : tmp80 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp78}, compiler::TNode<Smi>{tmp79}));
3090 : ca_.Goto(&block21, tmp76, tmp77, tmp80);
3091 : }
3092 :
3093 4 : if (block20.is_used()) {
3094 : compiler::TNode<Smi> tmp81;
3095 : compiler::TNode<Smi> tmp82;
3096 : compiler::TNode<Smi> tmp83;
3097 : ca_.Bind(&block20, &tmp81, &tmp82, &tmp83);
3098 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 351);
3099 : compiler::TNode<Smi> tmp84;
3100 : USE(tmp84);
3101 12 : tmp84 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3102 : compiler::TNode<BoolT> tmp85;
3103 : USE(tmp85);
3104 8 : tmp85 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp81}, compiler::TNode<Smi>{tmp84}));
3105 4 : ca_.Branch(tmp85, &block25, &block26, tmp81, tmp82);
3106 : }
3107 :
3108 4 : if (block26.is_used()) {
3109 : compiler::TNode<Smi> tmp86;
3110 : compiler::TNode<Smi> tmp87;
3111 : ca_.Bind(&block26, &tmp86, &tmp87);
3112 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 10\' failed", "../../test/torque/test-torque.tq", 351);
3113 : }
3114 :
3115 4 : if (block25.is_used()) {
3116 : compiler::TNode<Smi> tmp88;
3117 : compiler::TNode<Smi> tmp89;
3118 : ca_.Bind(&block25, &tmp88, &tmp89);
3119 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 353);
3120 : compiler::TNode<Smi> tmp90;
3121 : USE(tmp90);
3122 12 : tmp90 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3123 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 354);
3124 : compiler::TNode<Smi> tmp91;
3125 : USE(tmp91);
3126 12 : tmp91 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3127 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 355);
3128 : ca_.Goto(&block29, tmp90, tmp91);
3129 : }
3130 :
3131 4 : if (block29.is_used()) {
3132 : compiler::TNode<Smi> tmp92;
3133 : compiler::TNode<Smi> tmp93;
3134 : ca_.Bind(&block29, &tmp92, &tmp93);
3135 : ca_.Goto(&block27, tmp92, tmp93);
3136 : }
3137 :
3138 4 : if (block27.is_used()) {
3139 : compiler::TNode<Smi> tmp94;
3140 : compiler::TNode<Smi> tmp95;
3141 : ca_.Bind(&block27, &tmp94, &tmp95);
3142 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 356);
3143 : compiler::TNode<Smi> tmp96;
3144 : USE(tmp96);
3145 12 : tmp96 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3146 : compiler::TNode<BoolT> tmp97;
3147 : USE(tmp97);
3148 8 : tmp97 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp95}, compiler::TNode<Smi>{tmp96}));
3149 4 : ca_.Branch(tmp97, &block30, &block31, tmp94, tmp95);
3150 : }
3151 :
3152 4 : if (block30.is_used()) {
3153 : compiler::TNode<Smi> tmp98;
3154 : compiler::TNode<Smi> tmp99;
3155 : ca_.Bind(&block30, &tmp98, &tmp99);
3156 : ca_.Goto(&block28, tmp98, tmp99);
3157 : }
3158 :
3159 4 : if (block31.is_used()) {
3160 : compiler::TNode<Smi> tmp100;
3161 : compiler::TNode<Smi> tmp101;
3162 : ca_.Bind(&block31, &tmp100, &tmp101);
3163 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 357);
3164 : compiler::TNode<Smi> tmp102;
3165 : USE(tmp102);
3166 8 : tmp102 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp100}, compiler::TNode<Smi>{tmp101}));
3167 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 358);
3168 : compiler::TNode<Smi> tmp103;
3169 : USE(tmp103);
3170 12 : tmp103 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3171 : compiler::TNode<Smi> tmp104;
3172 : USE(tmp104);
3173 8 : tmp104 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp101}, compiler::TNode<Smi>{tmp103}));
3174 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 355);
3175 : ca_.Goto(&block29, tmp102, tmp104);
3176 : }
3177 :
3178 4 : if (block28.is_used()) {
3179 : compiler::TNode<Smi> tmp105;
3180 : compiler::TNode<Smi> tmp106;
3181 : ca_.Bind(&block28, &tmp105, &tmp106);
3182 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 360);
3183 : compiler::TNode<Smi> tmp107;
3184 : USE(tmp107);
3185 12 : tmp107 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3186 : compiler::TNode<BoolT> tmp108;
3187 : USE(tmp108);
3188 8 : tmp108 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp105}, compiler::TNode<Smi>{tmp107}));
3189 4 : ca_.Branch(tmp108, &block32, &block33, tmp105, tmp106);
3190 : }
3191 :
3192 4 : if (block33.is_used()) {
3193 : compiler::TNode<Smi> tmp109;
3194 : compiler::TNode<Smi> tmp110;
3195 : ca_.Bind(&block33, &tmp109, &tmp110);
3196 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 10\' failed", "../../test/torque/test-torque.tq", 360);
3197 : }
3198 :
3199 4 : if (block32.is_used()) {
3200 : compiler::TNode<Smi> tmp111;
3201 : compiler::TNode<Smi> tmp112;
3202 : ca_.Bind(&block32, &tmp111, &tmp112);
3203 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 364);
3204 : compiler::TNode<Smi> tmp113;
3205 : USE(tmp113);
3206 12 : tmp113 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3207 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 365);
3208 : compiler::TNode<Smi> tmp114;
3209 : USE(tmp114);
3210 12 : tmp114 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3211 : ca_.Goto(&block36, tmp113, tmp112, tmp114);
3212 : }
3213 :
3214 4 : if (block36.is_used()) {
3215 : compiler::TNode<Smi> tmp115;
3216 : compiler::TNode<Smi> tmp116;
3217 : compiler::TNode<Smi> tmp117;
3218 : ca_.Bind(&block36, &tmp115, &tmp116, &tmp117);
3219 : compiler::TNode<Smi> tmp118;
3220 : USE(tmp118);
3221 12 : tmp118 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3222 : compiler::TNode<BoolT> tmp119;
3223 : USE(tmp119);
3224 8 : tmp119 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp117}, compiler::TNode<Smi>{tmp118}));
3225 4 : ca_.Branch(tmp119, &block34, &block35, tmp115, tmp116, tmp117);
3226 : }
3227 :
3228 4 : if (block34.is_used()) {
3229 : compiler::TNode<Smi> tmp120;
3230 : compiler::TNode<Smi> tmp121;
3231 : compiler::TNode<Smi> tmp122;
3232 : ca_.Bind(&block34, &tmp120, &tmp121, &tmp122);
3233 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 366);
3234 : compiler::TNode<Smi> tmp123;
3235 : USE(tmp123);
3236 12 : tmp123 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
3237 : compiler::TNode<BoolT> tmp124;
3238 : USE(tmp124);
3239 8 : tmp124 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp122}, compiler::TNode<Smi>{tmp123}));
3240 4 : ca_.Branch(tmp124, &block38, &block39, tmp120, tmp121, tmp122);
3241 : }
3242 :
3243 4 : if (block38.is_used()) {
3244 : compiler::TNode<Smi> tmp125;
3245 : compiler::TNode<Smi> tmp126;
3246 : compiler::TNode<Smi> tmp127;
3247 : ca_.Bind(&block38, &tmp125, &tmp126, &tmp127);
3248 : ca_.Goto(&block37, tmp125, tmp126, tmp127);
3249 : }
3250 :
3251 4 : if (block39.is_used()) {
3252 : compiler::TNode<Smi> tmp128;
3253 : compiler::TNode<Smi> tmp129;
3254 : compiler::TNode<Smi> tmp130;
3255 : ca_.Bind(&block39, &tmp128, &tmp129, &tmp130);
3256 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 367);
3257 : compiler::TNode<Smi> tmp131;
3258 : USE(tmp131);
3259 8 : tmp131 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp128}, compiler::TNode<Smi>{tmp130}));
3260 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 365);
3261 : ca_.Goto(&block37, tmp131, tmp129, tmp130);
3262 : }
3263 :
3264 4 : if (block37.is_used()) {
3265 : compiler::TNode<Smi> tmp132;
3266 : compiler::TNode<Smi> tmp133;
3267 : compiler::TNode<Smi> tmp134;
3268 : ca_.Bind(&block37, &tmp132, &tmp133, &tmp134);
3269 : compiler::TNode<Smi> tmp135;
3270 : USE(tmp135);
3271 12 : tmp135 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3272 : compiler::TNode<Smi> tmp136;
3273 : USE(tmp136);
3274 8 : tmp136 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp134}, compiler::TNode<Smi>{tmp135}));
3275 : ca_.Goto(&block36, tmp132, tmp133, tmp136);
3276 : }
3277 :
3278 4 : if (block35.is_used()) {
3279 : compiler::TNode<Smi> tmp137;
3280 : compiler::TNode<Smi> tmp138;
3281 : compiler::TNode<Smi> tmp139;
3282 : ca_.Bind(&block35, &tmp137, &tmp138, &tmp139);
3283 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 369);
3284 : compiler::TNode<Smi> tmp140;
3285 : USE(tmp140);
3286 12 : tmp140 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
3287 : compiler::TNode<BoolT> tmp141;
3288 : USE(tmp141);
3289 8 : tmp141 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp137}, compiler::TNode<Smi>{tmp140}));
3290 4 : ca_.Branch(tmp141, &block40, &block41, tmp137, tmp138);
3291 : }
3292 :
3293 4 : if (block41.is_used()) {
3294 : compiler::TNode<Smi> tmp142;
3295 : compiler::TNode<Smi> tmp143;
3296 : ca_.Bind(&block41, &tmp142, &tmp143);
3297 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 7\' failed", "../../test/torque/test-torque.tq", 369);
3298 : }
3299 :
3300 4 : if (block40.is_used()) {
3301 : compiler::TNode<Smi> tmp144;
3302 : compiler::TNode<Smi> tmp145;
3303 : ca_.Bind(&block40, &tmp144, &tmp145);
3304 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 371);
3305 : compiler::TNode<Smi> tmp146;
3306 : USE(tmp146);
3307 12 : tmp146 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3308 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 372);
3309 : compiler::TNode<Smi> tmp147;
3310 : USE(tmp147);
3311 12 : tmp147 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3312 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 373);
3313 : ca_.Goto(&block44, tmp146, tmp147);
3314 : }
3315 :
3316 4 : if (block44.is_used()) {
3317 : compiler::TNode<Smi> tmp148;
3318 : compiler::TNode<Smi> tmp149;
3319 : ca_.Bind(&block44, &tmp148, &tmp149);
3320 : compiler::TNode<Smi> tmp150;
3321 : USE(tmp150);
3322 12 : tmp150 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3323 : compiler::TNode<BoolT> tmp151;
3324 : USE(tmp151);
3325 8 : tmp151 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp149}, compiler::TNode<Smi>{tmp150}));
3326 4 : ca_.Branch(tmp151, &block42, &block43, tmp148, tmp149);
3327 : }
3328 :
3329 4 : if (block42.is_used()) {
3330 : compiler::TNode<Smi> tmp152;
3331 : compiler::TNode<Smi> tmp153;
3332 : ca_.Bind(&block42, &tmp152, &tmp153);
3333 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 374);
3334 : compiler::TNode<Smi> tmp154;
3335 : USE(tmp154);
3336 12 : tmp154 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
3337 : compiler::TNode<BoolT> tmp155;
3338 : USE(tmp155);
3339 8 : tmp155 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp153}, compiler::TNode<Smi>{tmp154}));
3340 4 : ca_.Branch(tmp155, &block46, &block47, tmp152, tmp153);
3341 : }
3342 :
3343 4 : if (block46.is_used()) {
3344 : compiler::TNode<Smi> tmp156;
3345 : compiler::TNode<Smi> tmp157;
3346 : ca_.Bind(&block46, &tmp156, &tmp157);
3347 : ca_.Goto(&block45, tmp156, tmp157);
3348 : }
3349 :
3350 4 : if (block47.is_used()) {
3351 : compiler::TNode<Smi> tmp158;
3352 : compiler::TNode<Smi> tmp159;
3353 : ca_.Bind(&block47, &tmp158, &tmp159);
3354 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 375);
3355 : compiler::TNode<Smi> tmp160;
3356 : USE(tmp160);
3357 8 : tmp160 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp158}, compiler::TNode<Smi>{tmp159}));
3358 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 373);
3359 : ca_.Goto(&block45, tmp160, tmp159);
3360 : }
3361 :
3362 4 : if (block45.is_used()) {
3363 : compiler::TNode<Smi> tmp161;
3364 : compiler::TNode<Smi> tmp162;
3365 : ca_.Bind(&block45, &tmp161, &tmp162);
3366 : compiler::TNode<Smi> tmp163;
3367 : USE(tmp163);
3368 12 : tmp163 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3369 : compiler::TNode<Smi> tmp164;
3370 : USE(tmp164);
3371 8 : tmp164 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp162}, compiler::TNode<Smi>{tmp163}));
3372 : ca_.Goto(&block44, tmp161, tmp164);
3373 : }
3374 :
3375 4 : if (block43.is_used()) {
3376 : compiler::TNode<Smi> tmp165;
3377 : compiler::TNode<Smi> tmp166;
3378 : ca_.Bind(&block43, &tmp165, &tmp166);
3379 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 377);
3380 : compiler::TNode<Smi> tmp167;
3381 : USE(tmp167);
3382 12 : tmp167 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
3383 : compiler::TNode<BoolT> tmp168;
3384 : USE(tmp168);
3385 8 : tmp168 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp165}, compiler::TNode<Smi>{tmp167}));
3386 4 : ca_.Branch(tmp168, &block48, &block49, tmp165, tmp166);
3387 : }
3388 :
3389 4 : if (block49.is_used()) {
3390 : compiler::TNode<Smi> tmp169;
3391 : compiler::TNode<Smi> tmp170;
3392 : ca_.Bind(&block49, &tmp169, &tmp170);
3393 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 7\' failed", "../../test/torque/test-torque.tq", 377);
3394 : }
3395 :
3396 4 : if (block48.is_used()) {
3397 : compiler::TNode<Smi> tmp171;
3398 : compiler::TNode<Smi> tmp172;
3399 : ca_.Bind(&block48, &tmp171, &tmp172);
3400 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 379);
3401 : compiler::TNode<Smi> tmp173;
3402 : USE(tmp173);
3403 12 : tmp173 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3404 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 380);
3405 : compiler::TNode<Smi> tmp174;
3406 : USE(tmp174);
3407 12 : tmp174 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3408 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 381);
3409 : ca_.Goto(&block52, tmp173, tmp174);
3410 : }
3411 :
3412 4 : if (block52.is_used()) {
3413 : compiler::TNode<Smi> tmp175;
3414 : compiler::TNode<Smi> tmp176;
3415 : ca_.Bind(&block52, &tmp175, &tmp176);
3416 : compiler::TNode<Smi> tmp177;
3417 : USE(tmp177);
3418 12 : tmp177 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3419 : compiler::TNode<BoolT> tmp178;
3420 : USE(tmp178);
3421 8 : tmp178 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp176}, compiler::TNode<Smi>{tmp177}));
3422 4 : ca_.Branch(tmp178, &block50, &block51, tmp175, tmp176);
3423 : }
3424 :
3425 4 : if (block50.is_used()) {
3426 : compiler::TNode<Smi> tmp179;
3427 : compiler::TNode<Smi> tmp180;
3428 : ca_.Bind(&block50, &tmp179, &tmp180);
3429 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 382);
3430 : compiler::TNode<Smi> tmp181;
3431 : USE(tmp181);
3432 12 : tmp181 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
3433 : compiler::TNode<BoolT> tmp182;
3434 : USE(tmp182);
3435 8 : tmp182 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp180}, compiler::TNode<Smi>{tmp181}));
3436 4 : ca_.Branch(tmp182, &block53, &block54, tmp179, tmp180);
3437 : }
3438 :
3439 4 : if (block53.is_used()) {
3440 : compiler::TNode<Smi> tmp183;
3441 : compiler::TNode<Smi> tmp184;
3442 : ca_.Bind(&block53, &tmp183, &tmp184);
3443 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 383);
3444 : compiler::TNode<Smi> tmp185;
3445 : USE(tmp185);
3446 12 : tmp185 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3447 : compiler::TNode<Smi> tmp186;
3448 : USE(tmp186);
3449 8 : tmp186 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp184}, compiler::TNode<Smi>{tmp185}));
3450 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 384);
3451 : ca_.Goto(&block52, tmp183, tmp186);
3452 : }
3453 :
3454 4 : if (block54.is_used()) {
3455 : compiler::TNode<Smi> tmp187;
3456 : compiler::TNode<Smi> tmp188;
3457 : ca_.Bind(&block54, &tmp187, &tmp188);
3458 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 386);
3459 : compiler::TNode<Smi> tmp189;
3460 : USE(tmp189);
3461 8 : tmp189 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp187}, compiler::TNode<Smi>{tmp188}));
3462 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 387);
3463 : compiler::TNode<Smi> tmp190;
3464 : USE(tmp190);
3465 12 : tmp190 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3466 : compiler::TNode<Smi> tmp191;
3467 : USE(tmp191);
3468 8 : tmp191 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp188}, compiler::TNode<Smi>{tmp190}));
3469 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 381);
3470 : ca_.Goto(&block52, tmp189, tmp191);
3471 : }
3472 :
3473 4 : if (block51.is_used()) {
3474 : compiler::TNode<Smi> tmp192;
3475 : compiler::TNode<Smi> tmp193;
3476 : ca_.Bind(&block51, &tmp192, &tmp193);
3477 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 389);
3478 : compiler::TNode<Smi> tmp194;
3479 : USE(tmp194);
3480 12 : tmp194 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
3481 : compiler::TNode<BoolT> tmp195;
3482 : USE(tmp195);
3483 8 : tmp195 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp192}, compiler::TNode<Smi>{tmp194}));
3484 4 : ca_.Branch(tmp195, &block55, &block56, tmp192, tmp193);
3485 : }
3486 :
3487 4 : if (block56.is_used()) {
3488 : compiler::TNode<Smi> tmp196;
3489 : compiler::TNode<Smi> tmp197;
3490 : ca_.Bind(&block56, &tmp196, &tmp197);
3491 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 7\' failed", "../../test/torque/test-torque.tq", 389);
3492 : }
3493 :
3494 4 : if (block55.is_used()) {
3495 : compiler::TNode<Smi> tmp198;
3496 : compiler::TNode<Smi> tmp199;
3497 : ca_.Bind(&block55, &tmp198, &tmp199);
3498 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 391);
3499 : compiler::TNode<Smi> tmp200;
3500 : USE(tmp200);
3501 12 : tmp200 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3502 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 392);
3503 : compiler::TNode<Smi> tmp201;
3504 : USE(tmp201);
3505 12 : tmp201 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3506 : ca_.Goto(&block59, tmp200, tmp199, tmp201);
3507 : }
3508 :
3509 4 : if (block59.is_used()) {
3510 : compiler::TNode<Smi> tmp202;
3511 : compiler::TNode<Smi> tmp203;
3512 : compiler::TNode<Smi> tmp204;
3513 : ca_.Bind(&block59, &tmp202, &tmp203, &tmp204);
3514 : ca_.Goto(&block57, tmp202, tmp203, tmp204);
3515 : }
3516 :
3517 4 : if (block57.is_used()) {
3518 : compiler::TNode<Smi> tmp205;
3519 : compiler::TNode<Smi> tmp206;
3520 : compiler::TNode<Smi> tmp207;
3521 : ca_.Bind(&block57, &tmp205, &tmp206, &tmp207);
3522 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 393);
3523 : compiler::TNode<Smi> tmp208;
3524 : USE(tmp208);
3525 12 : tmp208 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
3526 : compiler::TNode<BoolT> tmp209;
3527 : USE(tmp209);
3528 8 : tmp209 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp207}, compiler::TNode<Smi>{tmp208}));
3529 4 : ca_.Branch(tmp209, &block61, &block62, tmp205, tmp206, tmp207);
3530 : }
3531 :
3532 4 : if (block61.is_used()) {
3533 : compiler::TNode<Smi> tmp210;
3534 : compiler::TNode<Smi> tmp211;
3535 : compiler::TNode<Smi> tmp212;
3536 : ca_.Bind(&block61, &tmp210, &tmp211, &tmp212);
3537 : ca_.Goto(&block60, tmp210, tmp211, tmp212);
3538 : }
3539 :
3540 4 : if (block62.is_used()) {
3541 : compiler::TNode<Smi> tmp213;
3542 : compiler::TNode<Smi> tmp214;
3543 : compiler::TNode<Smi> tmp215;
3544 : ca_.Bind(&block62, &tmp213, &tmp214, &tmp215);
3545 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 394);
3546 : compiler::TNode<Smi> tmp216;
3547 : USE(tmp216);
3548 12 : tmp216 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3549 : compiler::TNode<BoolT> tmp217;
3550 : USE(tmp217);
3551 8 : tmp217 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp215}, compiler::TNode<Smi>{tmp216}));
3552 4 : ca_.Branch(tmp217, &block63, &block64, tmp213, tmp214, tmp215);
3553 : }
3554 :
3555 4 : if (block63.is_used()) {
3556 : compiler::TNode<Smi> tmp218;
3557 : compiler::TNode<Smi> tmp219;
3558 : compiler::TNode<Smi> tmp220;
3559 : ca_.Bind(&block63, &tmp218, &tmp219, &tmp220);
3560 : ca_.Goto(&block58, tmp218, tmp219, tmp220);
3561 : }
3562 :
3563 4 : if (block64.is_used()) {
3564 : compiler::TNode<Smi> tmp221;
3565 : compiler::TNode<Smi> tmp222;
3566 : compiler::TNode<Smi> tmp223;
3567 : ca_.Bind(&block64, &tmp221, &tmp222, &tmp223);
3568 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 395);
3569 : compiler::TNode<Smi> tmp224;
3570 : USE(tmp224);
3571 8 : tmp224 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp221}, compiler::TNode<Smi>{tmp223}));
3572 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 392);
3573 : ca_.Goto(&block60, tmp224, tmp222, tmp223);
3574 : }
3575 :
3576 4 : if (block60.is_used()) {
3577 : compiler::TNode<Smi> tmp225;
3578 : compiler::TNode<Smi> tmp226;
3579 : compiler::TNode<Smi> tmp227;
3580 : ca_.Bind(&block60, &tmp225, &tmp226, &tmp227);
3581 : compiler::TNode<Smi> tmp228;
3582 : USE(tmp228);
3583 12 : tmp228 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3584 : compiler::TNode<Smi> tmp229;
3585 : USE(tmp229);
3586 8 : tmp229 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp227}, compiler::TNode<Smi>{tmp228}));
3587 : ca_.Goto(&block59, tmp225, tmp226, tmp229);
3588 : }
3589 :
3590 4 : if (block58.is_used()) {
3591 : compiler::TNode<Smi> tmp230;
3592 : compiler::TNode<Smi> tmp231;
3593 : compiler::TNode<Smi> tmp232;
3594 : ca_.Bind(&block58, &tmp230, &tmp231, &tmp232);
3595 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 397);
3596 : compiler::TNode<Smi> tmp233;
3597 : USE(tmp233);
3598 12 : tmp233 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
3599 : compiler::TNode<BoolT> tmp234;
3600 : USE(tmp234);
3601 8 : tmp234 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp230}, compiler::TNode<Smi>{tmp233}));
3602 4 : ca_.Branch(tmp234, &block65, &block66, tmp230, tmp231);
3603 : }
3604 :
3605 4 : if (block66.is_used()) {
3606 : compiler::TNode<Smi> tmp235;
3607 : compiler::TNode<Smi> tmp236;
3608 : ca_.Bind(&block66, &tmp235, &tmp236);
3609 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 7\' failed", "../../test/torque/test-torque.tq", 397);
3610 : }
3611 :
3612 4 : if (block65.is_used()) {
3613 : compiler::TNode<Smi> tmp237;
3614 : compiler::TNode<Smi> tmp238;
3615 : ca_.Bind(&block65, &tmp237, &tmp238);
3616 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 399);
3617 : compiler::TNode<Smi> tmp239;
3618 : USE(tmp239);
3619 12 : tmp239 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3620 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 400);
3621 : compiler::TNode<Smi> tmp240;
3622 : USE(tmp240);
3623 12 : tmp240 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3624 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 401);
3625 : ca_.Goto(&block69, tmp239, tmp240);
3626 : }
3627 :
3628 4 : if (block69.is_used()) {
3629 : compiler::TNode<Smi> tmp241;
3630 : compiler::TNode<Smi> tmp242;
3631 : ca_.Bind(&block69, &tmp241, &tmp242);
3632 : ca_.Goto(&block67, tmp241, tmp242);
3633 : }
3634 :
3635 4 : if (block67.is_used()) {
3636 : compiler::TNode<Smi> tmp243;
3637 : compiler::TNode<Smi> tmp244;
3638 : ca_.Bind(&block67, &tmp243, &tmp244);
3639 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 402);
3640 : compiler::TNode<Smi> tmp245;
3641 : USE(tmp245);
3642 12 : tmp245 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
3643 : compiler::TNode<BoolT> tmp246;
3644 : USE(tmp246);
3645 8 : tmp246 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp244}, compiler::TNode<Smi>{tmp245}));
3646 4 : ca_.Branch(tmp246, &block70, &block71, tmp243, tmp244);
3647 : }
3648 :
3649 4 : if (block70.is_used()) {
3650 : compiler::TNode<Smi> tmp247;
3651 : compiler::TNode<Smi> tmp248;
3652 : ca_.Bind(&block70, &tmp247, &tmp248);
3653 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 403);
3654 : compiler::TNode<Smi> tmp249;
3655 : USE(tmp249);
3656 12 : tmp249 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3657 : compiler::TNode<Smi> tmp250;
3658 : USE(tmp250);
3659 8 : tmp250 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp248}, compiler::TNode<Smi>{tmp249}));
3660 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 404);
3661 : ca_.Goto(&block69, tmp247, tmp250);
3662 : }
3663 :
3664 4 : if (block71.is_used()) {
3665 : compiler::TNode<Smi> tmp251;
3666 : compiler::TNode<Smi> tmp252;
3667 : ca_.Bind(&block71, &tmp251, &tmp252);
3668 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 407);
3669 : compiler::TNode<Smi> tmp253;
3670 : USE(tmp253);
3671 12 : tmp253 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3672 : compiler::TNode<BoolT> tmp254;
3673 : USE(tmp254);
3674 8 : tmp254 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp252}, compiler::TNode<Smi>{tmp253}));
3675 4 : ca_.Branch(tmp254, &block72, &block73, tmp251, tmp252);
3676 : }
3677 :
3678 4 : if (block72.is_used()) {
3679 : compiler::TNode<Smi> tmp255;
3680 : compiler::TNode<Smi> tmp256;
3681 : ca_.Bind(&block72, &tmp255, &tmp256);
3682 : ca_.Goto(&block68, tmp255, tmp256);
3683 : }
3684 :
3685 4 : if (block73.is_used()) {
3686 : compiler::TNode<Smi> tmp257;
3687 : compiler::TNode<Smi> tmp258;
3688 : ca_.Bind(&block73, &tmp257, &tmp258);
3689 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 408);
3690 : compiler::TNode<Smi> tmp259;
3691 : USE(tmp259);
3692 8 : tmp259 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp257}, compiler::TNode<Smi>{tmp258}));
3693 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 409);
3694 : compiler::TNode<Smi> tmp260;
3695 : USE(tmp260);
3696 12 : tmp260 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3697 : compiler::TNode<Smi> tmp261;
3698 : USE(tmp261);
3699 8 : tmp261 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp258}, compiler::TNode<Smi>{tmp260}));
3700 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 401);
3701 : ca_.Goto(&block69, tmp259, tmp261);
3702 : }
3703 :
3704 4 : if (block68.is_used()) {
3705 : compiler::TNode<Smi> tmp262;
3706 : compiler::TNode<Smi> tmp263;
3707 : ca_.Bind(&block68, &tmp262, &tmp263);
3708 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 411);
3709 : compiler::TNode<Smi> tmp264;
3710 : USE(tmp264);
3711 12 : tmp264 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
3712 : compiler::TNode<BoolT> tmp265;
3713 : USE(tmp265);
3714 8 : tmp265 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp262}, compiler::TNode<Smi>{tmp264}));
3715 4 : ca_.Branch(tmp265, &block74, &block75, tmp262, tmp263);
3716 : }
3717 :
3718 4 : if (block75.is_used()) {
3719 : compiler::TNode<Smi> tmp266;
3720 : compiler::TNode<Smi> tmp267;
3721 : ca_.Bind(&block75, &tmp266, &tmp267);
3722 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 7\' failed", "../../test/torque/test-torque.tq", 411);
3723 : }
3724 :
3725 4 : if (block74.is_used()) {
3726 : compiler::TNode<Smi> tmp268;
3727 : compiler::TNode<Smi> tmp269;
3728 : ca_.Bind(&block74, &tmp268, &tmp269);
3729 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 413);
3730 : compiler::TNode<Smi> tmp270;
3731 : USE(tmp270);
3732 12 : tmp270 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3733 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 415);
3734 : ca_.Goto(&block80, tmp268, tmp270);
3735 : }
3736 :
3737 4 : if (block80.is_used()) {
3738 : compiler::TNode<Smi> tmp271;
3739 : compiler::TNode<Smi> tmp272;
3740 : ca_.Bind(&block80, &tmp271, &tmp272);
3741 : ca_.Goto(&block78, tmp271, tmp272);
3742 : }
3743 :
3744 4 : if (block78.is_used()) {
3745 : compiler::TNode<Smi> tmp273;
3746 : compiler::TNode<Smi> tmp274;
3747 : ca_.Bind(&block78, &tmp273, &tmp274);
3748 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 416);
3749 : compiler::TNode<Smi> tmp275;
3750 : USE(tmp275);
3751 12 : tmp275 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3752 : compiler::TNode<Smi> tmp276;
3753 : USE(tmp276);
3754 8 : tmp276 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp274}, compiler::TNode<Smi>{tmp275}));
3755 : compiler::TNode<Smi> tmp277;
3756 : USE(tmp277);
3757 12 : tmp277 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3758 : compiler::TNode<BoolT> tmp278;
3759 : USE(tmp278);
3760 8 : tmp278 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp276}, compiler::TNode<Smi>{tmp277}));
3761 4 : ca_.Branch(tmp278, &block81, &block82, tmp273, tmp276);
3762 : }
3763 :
3764 4 : if (block81.is_used()) {
3765 : compiler::TNode<Smi> tmp279;
3766 : compiler::TNode<Smi> tmp280;
3767 : ca_.Bind(&block81, &tmp279, &tmp280);
3768 : ca_.Goto(&block77, tmp279, tmp280);
3769 : }
3770 :
3771 4 : if (block82.is_used()) {
3772 : compiler::TNode<Smi> tmp281;
3773 : compiler::TNode<Smi> tmp282;
3774 : ca_.Bind(&block82, &tmp281, &tmp282);
3775 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 415);
3776 : ca_.Goto(&block80, tmp281, tmp282);
3777 : }
3778 :
3779 4 : if (block79.is_used()) {
3780 : compiler::TNode<Smi> tmp283;
3781 : compiler::TNode<Smi> tmp284;
3782 : ca_.Bind(&block79, &tmp283, &tmp284);
3783 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 419);
3784 : ca_.Goto(&block76, tmp283, tmp284);
3785 : }
3786 :
3787 4 : if (block77.is_used()) {
3788 : compiler::TNode<Smi> tmp285;
3789 : compiler::TNode<Smi> tmp286;
3790 : ca_.Bind(&block77, &tmp285, &tmp286);
3791 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 420);
3792 : compiler::TNode<Smi> tmp287;
3793 : USE(tmp287);
3794 12 : tmp287 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3795 : compiler::TNode<BoolT> tmp288;
3796 : USE(tmp288);
3797 8 : tmp288 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp286}, compiler::TNode<Smi>{tmp287}));
3798 4 : ca_.Branch(tmp288, &block83, &block84, tmp285, tmp286);
3799 : }
3800 :
3801 4 : if (block84.is_used()) {
3802 : compiler::TNode<Smi> tmp289;
3803 : compiler::TNode<Smi> tmp290;
3804 : ca_.Bind(&block84, &tmp289, &tmp290);
3805 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'j == 10\' failed", "../../test/torque/test-torque.tq", 420);
3806 : }
3807 :
3808 4 : if (block83.is_used()) {
3809 : compiler::TNode<Smi> tmp291;
3810 : compiler::TNode<Smi> tmp292;
3811 : ca_.Bind(&block83, &tmp291, &tmp292);
3812 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 414);
3813 : ca_.Goto(&block76, tmp291, tmp292);
3814 : }
3815 :
3816 4 : if (block76.is_used()) {
3817 : compiler::TNode<Smi> tmp293;
3818 : compiler::TNode<Smi> tmp294;
3819 : ca_.Bind(&block76, &tmp293, &tmp294);
3820 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 424);
3821 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 425);
3822 : compiler::TNode<Smi> tmp295;
3823 : USE(tmp295);
3824 12 : tmp295 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3825 : ca_.Goto(&block87, tmp293, tmp294, ca_.Uninitialized<Smi>(), tmp295);
3826 : }
3827 :
3828 4 : if (block87.is_used()) {
3829 : compiler::TNode<Smi> tmp296;
3830 : compiler::TNode<Smi> tmp297;
3831 : compiler::TNode<Smi> tmp298;
3832 : compiler::TNode<Smi> tmp299;
3833 : ca_.Bind(&block87, &tmp296, &tmp297, &tmp298, &tmp299);
3834 : compiler::TNode<Smi> tmp300;
3835 : USE(tmp300);
3836 12 : tmp300 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3837 : compiler::TNode<BoolT> tmp301;
3838 : USE(tmp301);
3839 8 : tmp301 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp299}, compiler::TNode<Smi>{tmp300}));
3840 4 : ca_.Branch(tmp301, &block85, &block86, tmp296, tmp297, tmp298, tmp299);
3841 : }
3842 :
3843 4 : if (block85.is_used()) {
3844 : compiler::TNode<Smi> tmp302;
3845 : compiler::TNode<Smi> tmp303;
3846 : compiler::TNode<Smi> tmp304;
3847 : compiler::TNode<Smi> tmp305;
3848 : ca_.Bind(&block85, &tmp302, &tmp303, &tmp304, &tmp305);
3849 : ca_.Goto(&block88, tmp302, tmp303, tmp304, tmp305);
3850 : }
3851 :
3852 4 : if (block88.is_used()) {
3853 : compiler::TNode<Smi> tmp306;
3854 : compiler::TNode<Smi> tmp307;
3855 : compiler::TNode<Smi> tmp308;
3856 : compiler::TNode<Smi> tmp309;
3857 : ca_.Bind(&block88, &tmp306, &tmp307, &tmp308, &tmp309);
3858 : compiler::TNode<Smi> tmp310;
3859 : USE(tmp310);
3860 12 : tmp310 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3861 : compiler::TNode<Smi> tmp311;
3862 : USE(tmp311);
3863 8 : tmp311 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp309}, compiler::TNode<Smi>{tmp310}));
3864 : ca_.Goto(&block87, tmp306, tmp307, tmp308, tmp311);
3865 : }
3866 :
3867 4 : if (block86.is_used()) {
3868 : compiler::TNode<Smi> tmp312;
3869 : compiler::TNode<Smi> tmp313;
3870 : compiler::TNode<Smi> tmp314;
3871 : compiler::TNode<Smi> tmp315;
3872 : ca_.Bind(&block86, &tmp312, &tmp313, &tmp314, &tmp315);
3873 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 330);
3874 : ca_.Goto(&block1);
3875 : }
3876 :
3877 4 : if (block1.is_used()) {
3878 : ca_.Bind(&block1);
3879 : ca_.Goto(&block89);
3880 : }
3881 :
3882 : ca_.Bind(&block89);
3883 4 : }
3884 :
3885 0 : void TestBuiltinsFromDSLAssembler::TestSubtyping(compiler::TNode<Smi> p_x) {
3886 0 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3887 : compiler::CodeAssemblerParameterizedLabel<Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3888 : compiler::CodeAssemblerParameterizedLabel<Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3889 : ca_.Goto(&block0, p_x);
3890 :
3891 0 : if (block0.is_used()) {
3892 : compiler::TNode<Smi> tmp0;
3893 : ca_.Bind(&block0, &tmp0);
3894 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 430);
3895 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 429);
3896 : ca_.Goto(&block1, tmp0);
3897 : }
3898 :
3899 0 : if (block1.is_used()) {
3900 : compiler::TNode<Smi> tmp1;
3901 : ca_.Bind(&block1, &tmp1);
3902 : ca_.Goto(&block2, tmp1);
3903 : }
3904 :
3905 : compiler::TNode<Smi> tmp2;
3906 : ca_.Bind(&block2, &tmp2);
3907 0 : }
3908 :
3909 12 : compiler::TNode<Int32T> TestBuiltinsFromDSLAssembler::TypeswitchExample(compiler::TNode<Context> p_context, compiler::TNode<Object> p_x) {
3910 12 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3911 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3912 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, Object, FixedArray> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3913 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3914 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3915 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, Object> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3916 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, Object, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3917 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3918 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, HeapObject> block13(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3919 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, HeapObject, FixedArray> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3920 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block11(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3921 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3922 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3923 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3924 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3925 : ca_.Goto(&block0, p_context, p_x);
3926 :
3927 12 : if (block0.is_used()) {
3928 : compiler::TNode<Context> tmp0;
3929 : compiler::TNode<Object> tmp1;
3930 : ca_.Bind(&block0, &tmp0, &tmp1);
3931 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 447);
3932 : compiler::TNode<Int32T> tmp2;
3933 : USE(tmp2);
3934 36 : tmp2 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(0));
3935 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 448);
3936 : compiler::TNode<Object> tmp3;
3937 : USE(tmp3);
3938 36 : tmp3 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).IncrementIfSmi32UT5ATSmi10FixedArray10HeapNumber(compiler::TNode<Object>{tmp1}));
3939 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 449);
3940 : compiler::TNode<FixedArray> tmp4;
3941 : USE(tmp4);
3942 12 : compiler::CodeAssemblerLabel label0(&ca_);
3943 36 : tmp4 = BaseBuiltinsFromDSLAssembler(state_).Cast10FixedArray(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp3}, &label0);
3944 : ca_.Goto(&block4, tmp0, tmp1, tmp2, tmp3, tmp3, tmp4);
3945 12 : if (label0.is_used()) {
3946 12 : ca_.Bind(&label0);
3947 : ca_.Goto(&block5, tmp0, tmp1, tmp2, tmp3, tmp3);
3948 : }
3949 : }
3950 :
3951 12 : if (block5.is_used()) {
3952 : compiler::TNode<Context> tmp5;
3953 : compiler::TNode<Object> tmp6;
3954 : compiler::TNode<Int32T> tmp7;
3955 : compiler::TNode<Object> tmp8;
3956 : compiler::TNode<Object> tmp9;
3957 : ca_.Bind(&block5, &tmp5, &tmp6, &tmp7, &tmp8, &tmp9);
3958 : ca_.Goto(&block3, tmp5, tmp6, tmp7, tmp8);
3959 : }
3960 :
3961 12 : if (block4.is_used()) {
3962 : compiler::TNode<Context> tmp10;
3963 : compiler::TNode<Object> tmp11;
3964 : compiler::TNode<Int32T> tmp12;
3965 : compiler::TNode<Object> tmp13;
3966 : compiler::TNode<Object> tmp14;
3967 : compiler::TNode<FixedArray> tmp15;
3968 : ca_.Bind(&block4, &tmp10, &tmp11, &tmp12, &tmp13, &tmp14, &tmp15);
3969 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 450);
3970 : compiler::TNode<Int32T> tmp16;
3971 : USE(tmp16);
3972 36 : tmp16 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(1));
3973 : compiler::TNode<Int32T> tmp17;
3974 : USE(tmp17);
3975 24 : tmp17 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Add(compiler::TNode<Int32T>{tmp12}, compiler::TNode<Int32T>{tmp16}));
3976 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 449);
3977 : ca_.Goto(&block2, tmp10, tmp11, tmp17, tmp13);
3978 : }
3979 :
3980 12 : if (block3.is_used()) {
3981 : compiler::TNode<Context> tmp18;
3982 : compiler::TNode<Object> tmp19;
3983 : compiler::TNode<Int32T> tmp20;
3984 : compiler::TNode<Object> tmp21;
3985 : ca_.Bind(&block3, &tmp18, &tmp19, &tmp20, &tmp21);
3986 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 452);
3987 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 453);
3988 : compiler::TNode<Int32T> tmp22;
3989 : USE(tmp22);
3990 36 : tmp22 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(2));
3991 : compiler::TNode<Int32T> tmp23;
3992 : USE(tmp23);
3993 24 : tmp23 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Add(compiler::TNode<Int32T>{tmp20}, compiler::TNode<Int32T>{tmp22}));
3994 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 449);
3995 : ca_.Goto(&block2, tmp18, tmp19, tmp23, tmp21);
3996 : }
3997 :
3998 12 : if (block2.is_used()) {
3999 : compiler::TNode<Context> tmp24;
4000 : compiler::TNode<Object> tmp25;
4001 : compiler::TNode<Int32T> tmp26;
4002 : compiler::TNode<Object> tmp27;
4003 : ca_.Bind(&block2, &tmp24, &tmp25, &tmp26, &tmp27);
4004 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 448);
4005 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 457);
4006 : compiler::TNode<Int32T> tmp28;
4007 : USE(tmp28);
4008 36 : tmp28 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(10));
4009 : compiler::TNode<Int32T> tmp29;
4010 : USE(tmp29);
4011 36 : tmp29 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Mul(compiler::TNode<Int32T>{tmp26}, compiler::TNode<Int32T>{tmp28}));
4012 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 459);
4013 : compiler::TNode<Object> tmp30;
4014 : USE(tmp30);
4015 36 : tmp30 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).IncrementIfSmi32UT5ATSmi10FixedArray10HeapNumber(compiler::TNode<Object>{tmp25}));
4016 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 460);
4017 : compiler::TNode<Smi> tmp31;
4018 : USE(tmp31);
4019 12 : compiler::CodeAssemblerLabel label0(&ca_);
4020 36 : tmp31 = BaseBuiltinsFromDSLAssembler(state_).Cast5ATSmi(compiler::TNode<Object>{tmp30}, &label0);
4021 : ca_.Goto(&block8, tmp24, tmp25, tmp29, tmp30, tmp30, tmp31);
4022 12 : if (label0.is_used()) {
4023 12 : ca_.Bind(&label0);
4024 : ca_.Goto(&block9, tmp24, tmp25, tmp29, tmp30, tmp30);
4025 : }
4026 : }
4027 :
4028 12 : if (block9.is_used()) {
4029 : compiler::TNode<Context> tmp32;
4030 : compiler::TNode<Object> tmp33;
4031 : compiler::TNode<Int32T> tmp34;
4032 : compiler::TNode<Object> tmp35;
4033 : compiler::TNode<Object> tmp36;
4034 : ca_.Bind(&block9, &tmp32, &tmp33, &tmp34, &tmp35, &tmp36);
4035 : ca_.Goto(&block7, tmp32, tmp33, tmp34, tmp35);
4036 : }
4037 :
4038 12 : if (block8.is_used()) {
4039 : compiler::TNode<Context> tmp37;
4040 : compiler::TNode<Object> tmp38;
4041 : compiler::TNode<Int32T> tmp39;
4042 : compiler::TNode<Object> tmp40;
4043 : compiler::TNode<Object> tmp41;
4044 : compiler::TNode<Smi> tmp42;
4045 : ca_.Bind(&block8, &tmp37, &tmp38, &tmp39, &tmp40, &tmp41, &tmp42);
4046 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 461);
4047 : compiler::TNode<Int32T> tmp43;
4048 : USE(tmp43);
4049 36 : tmp43 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).Convert7ATint325ATSmi(compiler::TNode<Smi>{tmp42}));
4050 : compiler::TNode<Int32T> tmp44;
4051 : USE(tmp44);
4052 24 : tmp44 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Add(compiler::TNode<Int32T>{tmp39}, compiler::TNode<Int32T>{tmp43}));
4053 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 460);
4054 : ca_.Goto(&block6, tmp37, tmp38, tmp44, tmp40);
4055 : }
4056 :
4057 12 : if (block7.is_used()) {
4058 : compiler::TNode<Context> tmp45;
4059 : compiler::TNode<Object> tmp46;
4060 : compiler::TNode<Int32T> tmp47;
4061 : compiler::TNode<Object> tmp48;
4062 : ca_.Bind(&block7, &tmp45, &tmp46, &tmp47, &tmp48);
4063 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 463);
4064 : compiler::TNode<FixedArray> tmp49;
4065 : USE(tmp49);
4066 12 : compiler::CodeAssemblerLabel label0(&ca_);
4067 36 : tmp49 = BaseBuiltinsFromDSLAssembler(state_).Cast10FixedArray(compiler::TNode<HeapObject>{ca_.UncheckedCast<HeapObject>(tmp48)}, &label0);
4068 : ca_.Goto(&block12, tmp45, tmp46, tmp47, tmp48, ca_.UncheckedCast<HeapObject>(tmp48), tmp49);
4069 12 : if (label0.is_used()) {
4070 12 : ca_.Bind(&label0);
4071 : ca_.Goto(&block13, tmp45, tmp46, tmp47, tmp48, ca_.UncheckedCast<HeapObject>(tmp48));
4072 : }
4073 : }
4074 :
4075 12 : if (block13.is_used()) {
4076 : compiler::TNode<Context> tmp50;
4077 : compiler::TNode<Object> tmp51;
4078 : compiler::TNode<Int32T> tmp52;
4079 : compiler::TNode<Object> tmp53;
4080 : compiler::TNode<HeapObject> tmp54;
4081 : ca_.Bind(&block13, &tmp50, &tmp51, &tmp52, &tmp53, &tmp54);
4082 : ca_.Goto(&block11, tmp50, tmp51, tmp52, tmp53);
4083 : }
4084 :
4085 12 : if (block12.is_used()) {
4086 : compiler::TNode<Context> tmp55;
4087 : compiler::TNode<Object> tmp56;
4088 : compiler::TNode<Int32T> tmp57;
4089 : compiler::TNode<Object> tmp58;
4090 : compiler::TNode<HeapObject> tmp59;
4091 : compiler::TNode<FixedArray> tmp60;
4092 : ca_.Bind(&block12, &tmp55, &tmp56, &tmp57, &tmp58, &tmp59, &tmp60);
4093 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 464);
4094 12 : compiler::TNode<IntPtrT> tmp61 = ca_.IntPtrConstant(FixedArrayBase::kLengthOffset);
4095 : USE(tmp61);
4096 36 : compiler::TNode<Smi>tmp62 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp60, tmp61});
4097 : compiler::TNode<Int32T> tmp63;
4098 : USE(tmp63);
4099 36 : tmp63 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).Convert7ATint325ATSmi(compiler::TNode<Smi>{tmp62}));
4100 : compiler::TNode<Int32T> tmp64;
4101 : USE(tmp64);
4102 24 : tmp64 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Add(compiler::TNode<Int32T>{tmp57}, compiler::TNode<Int32T>{tmp63}));
4103 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 463);
4104 : ca_.Goto(&block10, tmp55, tmp56, tmp64, tmp58);
4105 : }
4106 :
4107 12 : if (block11.is_used()) {
4108 : compiler::TNode<Context> tmp65;
4109 : compiler::TNode<Object> tmp66;
4110 : compiler::TNode<Int32T> tmp67;
4111 : compiler::TNode<Object> tmp68;
4112 : ca_.Bind(&block11, &tmp65, &tmp66, &tmp67, &tmp68);
4113 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 466);
4114 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 467);
4115 : compiler::TNode<Int32T> tmp69;
4116 : USE(tmp69);
4117 36 : tmp69 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(7));
4118 : compiler::TNode<Int32T> tmp70;
4119 : USE(tmp70);
4120 24 : tmp70 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Add(compiler::TNode<Int32T>{tmp67}, compiler::TNode<Int32T>{tmp69}));
4121 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 463);
4122 : ca_.Goto(&block10, tmp65, tmp66, tmp70, tmp68);
4123 : }
4124 :
4125 12 : if (block10.is_used()) {
4126 : compiler::TNode<Context> tmp71;
4127 : compiler::TNode<Object> tmp72;
4128 : compiler::TNode<Int32T> tmp73;
4129 : compiler::TNode<Object> tmp74;
4130 : ca_.Bind(&block10, &tmp71, &tmp72, &tmp73, &tmp74);
4131 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 460);
4132 : ca_.Goto(&block6, tmp71, tmp72, tmp73, tmp74);
4133 : }
4134 :
4135 12 : if (block6.is_used()) {
4136 : compiler::TNode<Context> tmp75;
4137 : compiler::TNode<Object> tmp76;
4138 : compiler::TNode<Int32T> tmp77;
4139 : compiler::TNode<Object> tmp78;
4140 : ca_.Bind(&block6, &tmp75, &tmp76, &tmp77, &tmp78);
4141 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 459);
4142 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 471);
4143 : ca_.Goto(&block1, tmp75, tmp76, tmp77);
4144 : }
4145 :
4146 12 : if (block1.is_used()) {
4147 : compiler::TNode<Context> tmp79;
4148 : compiler::TNode<Object> tmp80;
4149 : compiler::TNode<Int32T> tmp81;
4150 : ca_.Bind(&block1, &tmp79, &tmp80, &tmp81);
4151 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 445);
4152 : ca_.Goto(&block14, tmp79, tmp80, tmp81);
4153 : }
4154 :
4155 : compiler::TNode<Context> tmp82;
4156 : compiler::TNode<Object> tmp83;
4157 : compiler::TNode<Int32T> tmp84;
4158 : ca_.Bind(&block14, &tmp82, &tmp83, &tmp84);
4159 24 : return compiler::TNode<Int32T>{tmp84};
4160 : }
4161 :
4162 4 : void TestBuiltinsFromDSLAssembler::TestTypeswitch(compiler::TNode<Context> p_context) {
4163 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4164 : compiler::CodeAssemblerParameterizedLabel<Context> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4165 : compiler::CodeAssemblerParameterizedLabel<Context> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4166 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4167 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4168 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4169 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4170 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4171 : compiler::CodeAssemblerParameterizedLabel<Context> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4172 : ca_.Goto(&block0, p_context);
4173 :
4174 4 : if (block0.is_used()) {
4175 : compiler::TNode<Context> tmp0;
4176 : ca_.Bind(&block0, &tmp0);
4177 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 475);
4178 : compiler::TNode<Smi> tmp1;
4179 : USE(tmp1);
4180 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
4181 : compiler::TNode<Int32T> tmp2;
4182 : USE(tmp2);
4183 12 : tmp2 = ca_.UncheckedCast<Int32T>(TestBuiltinsFromDSLAssembler(state_).TypeswitchExample(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}));
4184 : compiler::TNode<Int32T> tmp3;
4185 : USE(tmp3);
4186 12 : tmp3 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(26));
4187 : compiler::TNode<BoolT> tmp4;
4188 : USE(tmp4);
4189 8 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32Equal(compiler::TNode<Int32T>{tmp2}, compiler::TNode<Int32T>{tmp3}));
4190 4 : ca_.Branch(tmp4, &block2, &block3, tmp0);
4191 : }
4192 :
4193 4 : if (block3.is_used()) {
4194 : compiler::TNode<Context> tmp5;
4195 : ca_.Bind(&block3, &tmp5);
4196 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TypeswitchExample(FromConstexpr<Smi>(5)) == 26\' failed", "../../test/torque/test-torque.tq", 475);
4197 : }
4198 :
4199 4 : if (block2.is_used()) {
4200 : compiler::TNode<Context> tmp6;
4201 : ca_.Bind(&block2, &tmp6);
4202 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 476);
4203 : compiler::TNode<IntPtrT> tmp7;
4204 : USE(tmp7);
4205 12 : tmp7 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(3));
4206 : compiler::TNode<FixedArray> tmp8;
4207 : USE(tmp8);
4208 8 : tmp8 = ca_.UncheckedCast<FixedArray>(CodeStubAssembler(state_).AllocateZeroedFixedArray(compiler::TNode<IntPtrT>{tmp7}));
4209 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 477);
4210 : compiler::TNode<Int32T> tmp9;
4211 : USE(tmp9);
4212 12 : tmp9 = ca_.UncheckedCast<Int32T>(TestBuiltinsFromDSLAssembler(state_).TypeswitchExample(compiler::TNode<Context>{tmp6}, compiler::TNode<Object>{tmp8}));
4213 : compiler::TNode<Int32T> tmp10;
4214 : USE(tmp10);
4215 12 : tmp10 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(13));
4216 : compiler::TNode<BoolT> tmp11;
4217 : USE(tmp11);
4218 8 : tmp11 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32Equal(compiler::TNode<Int32T>{tmp9}, compiler::TNode<Int32T>{tmp10}));
4219 4 : ca_.Branch(tmp11, &block4, &block5, tmp6, tmp8);
4220 : }
4221 :
4222 4 : if (block5.is_used()) {
4223 : compiler::TNode<Context> tmp12;
4224 : compiler::TNode<FixedArray> tmp13;
4225 : ca_.Bind(&block5, &tmp12, &tmp13);
4226 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TypeswitchExample(a) == 13\' failed", "../../test/torque/test-torque.tq", 477);
4227 : }
4228 :
4229 4 : if (block4.is_used()) {
4230 : compiler::TNode<Context> tmp14;
4231 : compiler::TNode<FixedArray> tmp15;
4232 : ca_.Bind(&block4, &tmp14, &tmp15);
4233 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 478);
4234 : compiler::TNode<Number> tmp16;
4235 : USE(tmp16);
4236 12 : tmp16 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr20UT5ATSmi10HeapNumber19ATconstexpr_float64(0.5));
4237 : compiler::TNode<Int32T> tmp17;
4238 : USE(tmp17);
4239 12 : tmp17 = ca_.UncheckedCast<Int32T>(TestBuiltinsFromDSLAssembler(state_).TypeswitchExample(compiler::TNode<Context>{tmp14}, compiler::TNode<Object>{tmp16}));
4240 : compiler::TNode<Int32T> tmp18;
4241 : USE(tmp18);
4242 12 : tmp18 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(27));
4243 : compiler::TNode<BoolT> tmp19;
4244 : USE(tmp19);
4245 8 : tmp19 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32Equal(compiler::TNode<Int32T>{tmp17}, compiler::TNode<Int32T>{tmp18}));
4246 4 : ca_.Branch(tmp19, &block6, &block7, tmp14, tmp15);
4247 : }
4248 :
4249 4 : if (block7.is_used()) {
4250 : compiler::TNode<Context> tmp20;
4251 : compiler::TNode<FixedArray> tmp21;
4252 : ca_.Bind(&block7, &tmp20, &tmp21);
4253 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TypeswitchExample(FromConstexpr<Number>(0.5)) == 27\' failed", "../../test/torque/test-torque.tq", 478);
4254 : }
4255 :
4256 4 : if (block6.is_used()) {
4257 : compiler::TNode<Context> tmp22;
4258 : compiler::TNode<FixedArray> tmp23;
4259 : ca_.Bind(&block6, &tmp22, &tmp23);
4260 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 474);
4261 : ca_.Goto(&block1, tmp22);
4262 : }
4263 :
4264 4 : if (block1.is_used()) {
4265 : compiler::TNode<Context> tmp24;
4266 : ca_.Bind(&block1, &tmp24);
4267 : ca_.Goto(&block8, tmp24);
4268 : }
4269 :
4270 : compiler::TNode<Context> tmp25;
4271 : ca_.Bind(&block8, &tmp25);
4272 4 : }
4273 :
4274 0 : void TestBuiltinsFromDSLAssembler::TestTypeswitchAsanLsanFailure(compiler::TNode<Context> p_context, compiler::TNode<Object> p_obj) {
4275 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4276 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4277 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, Object, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4278 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4279 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, HeapObject> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4280 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, HeapObject, JSTypedArray> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4281 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4282 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, HeapObject> block13(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4283 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, HeapObject, JSReceiver> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4284 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block11(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4285 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4286 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4287 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4288 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4289 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4290 : ca_.Goto(&block0, p_context, p_obj);
4291 :
4292 0 : if (block0.is_used()) {
4293 : compiler::TNode<Context> tmp0;
4294 : compiler::TNode<Object> tmp1;
4295 : ca_.Bind(&block0, &tmp0, &tmp1);
4296 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 482);
4297 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 483);
4298 : compiler::TNode<Smi> tmp2;
4299 : USE(tmp2);
4300 0 : compiler::CodeAssemblerLabel label0(&ca_);
4301 0 : tmp2 = BaseBuiltinsFromDSLAssembler(state_).Cast5ATSmi(compiler::TNode<Object>{tmp1}, &label0);
4302 : ca_.Goto(&block4, tmp0, tmp1, tmp1, tmp1, tmp2);
4303 0 : if (label0.is_used()) {
4304 0 : ca_.Bind(&label0);
4305 : ca_.Goto(&block5, tmp0, tmp1, tmp1, tmp1);
4306 : }
4307 : }
4308 :
4309 0 : if (block5.is_used()) {
4310 : compiler::TNode<Context> tmp3;
4311 : compiler::TNode<Object> tmp4;
4312 : compiler::TNode<Object> tmp5;
4313 : compiler::TNode<Object> tmp6;
4314 : ca_.Bind(&block5, &tmp3, &tmp4, &tmp5, &tmp6);
4315 : ca_.Goto(&block3, tmp3, tmp4, tmp5);
4316 : }
4317 :
4318 0 : if (block4.is_used()) {
4319 : compiler::TNode<Context> tmp7;
4320 : compiler::TNode<Object> tmp8;
4321 : compiler::TNode<Object> tmp9;
4322 : compiler::TNode<Object> tmp10;
4323 : compiler::TNode<Smi> tmp11;
4324 : ca_.Bind(&block4, &tmp7, &tmp8, &tmp9, &tmp10, &tmp11);
4325 : ca_.Goto(&block2, tmp7, tmp8, tmp9);
4326 : }
4327 :
4328 0 : if (block3.is_used()) {
4329 : compiler::TNode<Context> tmp12;
4330 : compiler::TNode<Object> tmp13;
4331 : compiler::TNode<Object> tmp14;
4332 : ca_.Bind(&block3, &tmp12, &tmp13, &tmp14);
4333 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 485);
4334 : compiler::TNode<JSTypedArray> tmp15;
4335 : USE(tmp15);
4336 0 : compiler::CodeAssemblerLabel label0(&ca_);
4337 0 : tmp15 = BaseBuiltinsFromDSLAssembler(state_).Cast12JSTypedArray(compiler::TNode<HeapObject>{ca_.UncheckedCast<HeapObject>(tmp14)}, &label0);
4338 : ca_.Goto(&block8, tmp12, tmp13, tmp14, ca_.UncheckedCast<HeapObject>(tmp14), tmp15);
4339 0 : if (label0.is_used()) {
4340 0 : ca_.Bind(&label0);
4341 : ca_.Goto(&block9, tmp12, tmp13, tmp14, ca_.UncheckedCast<HeapObject>(tmp14));
4342 : }
4343 : }
4344 :
4345 0 : if (block9.is_used()) {
4346 : compiler::TNode<Context> tmp16;
4347 : compiler::TNode<Object> tmp17;
4348 : compiler::TNode<Object> tmp18;
4349 : compiler::TNode<HeapObject> tmp19;
4350 : ca_.Bind(&block9, &tmp16, &tmp17, &tmp18, &tmp19);
4351 : ca_.Goto(&block7, tmp16, tmp17, tmp18);
4352 : }
4353 :
4354 0 : if (block8.is_used()) {
4355 : compiler::TNode<Context> tmp20;
4356 : compiler::TNode<Object> tmp21;
4357 : compiler::TNode<Object> tmp22;
4358 : compiler::TNode<HeapObject> tmp23;
4359 : compiler::TNode<JSTypedArray> tmp24;
4360 : ca_.Bind(&block8, &tmp20, &tmp21, &tmp22, &tmp23, &tmp24);
4361 : ca_.Goto(&block6, tmp20, tmp21, tmp22);
4362 : }
4363 :
4364 0 : if (block7.is_used()) {
4365 : compiler::TNode<Context> tmp25;
4366 : compiler::TNode<Object> tmp26;
4367 : compiler::TNode<Object> tmp27;
4368 : ca_.Bind(&block7, &tmp25, &tmp26, &tmp27);
4369 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 487);
4370 : compiler::TNode<JSReceiver> tmp28;
4371 : USE(tmp28);
4372 0 : compiler::CodeAssemblerLabel label0(&ca_);
4373 0 : tmp28 = BaseBuiltinsFromDSLAssembler(state_).Cast10JSReceiver(compiler::TNode<Context>{tmp25}, compiler::TNode<HeapObject>{ca_.UncheckedCast<HeapObject>(tmp27)}, &label0);
4374 : ca_.Goto(&block12, tmp25, tmp26, tmp27, ca_.UncheckedCast<HeapObject>(tmp27), tmp28);
4375 0 : if (label0.is_used()) {
4376 0 : ca_.Bind(&label0);
4377 : ca_.Goto(&block13, tmp25, tmp26, tmp27, ca_.UncheckedCast<HeapObject>(tmp27));
4378 : }
4379 : }
4380 :
4381 0 : if (block13.is_used()) {
4382 : compiler::TNode<Context> tmp29;
4383 : compiler::TNode<Object> tmp30;
4384 : compiler::TNode<Object> tmp31;
4385 : compiler::TNode<HeapObject> tmp32;
4386 : ca_.Bind(&block13, &tmp29, &tmp30, &tmp31, &tmp32);
4387 : ca_.Goto(&block11, tmp29, tmp30, tmp31);
4388 : }
4389 :
4390 0 : if (block12.is_used()) {
4391 : compiler::TNode<Context> tmp33;
4392 : compiler::TNode<Object> tmp34;
4393 : compiler::TNode<Object> tmp35;
4394 : compiler::TNode<HeapObject> tmp36;
4395 : compiler::TNode<JSReceiver> tmp37;
4396 : ca_.Bind(&block12, &tmp33, &tmp34, &tmp35, &tmp36, &tmp37);
4397 : ca_.Goto(&block10, tmp33, tmp34, tmp35);
4398 : }
4399 :
4400 0 : if (block11.is_used()) {
4401 : compiler::TNode<Context> tmp38;
4402 : compiler::TNode<Object> tmp39;
4403 : compiler::TNode<Object> tmp40;
4404 : ca_.Bind(&block11, &tmp38, &tmp39, &tmp40);
4405 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 489);
4406 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 487);
4407 : ca_.Goto(&block10, tmp38, tmp39, tmp40);
4408 : }
4409 :
4410 0 : if (block10.is_used()) {
4411 : compiler::TNode<Context> tmp41;
4412 : compiler::TNode<Object> tmp42;
4413 : compiler::TNode<Object> tmp43;
4414 : ca_.Bind(&block10, &tmp41, &tmp42, &tmp43);
4415 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 485);
4416 : ca_.Goto(&block6, tmp41, tmp42, tmp43);
4417 : }
4418 :
4419 0 : if (block6.is_used()) {
4420 : compiler::TNode<Context> tmp44;
4421 : compiler::TNode<Object> tmp45;
4422 : compiler::TNode<Object> tmp46;
4423 : ca_.Bind(&block6, &tmp44, &tmp45, &tmp46);
4424 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 483);
4425 : ca_.Goto(&block2, tmp44, tmp45, tmp46);
4426 : }
4427 :
4428 0 : if (block2.is_used()) {
4429 : compiler::TNode<Context> tmp47;
4430 : compiler::TNode<Object> tmp48;
4431 : compiler::TNode<Object> tmp49;
4432 : ca_.Bind(&block2, &tmp47, &tmp48, &tmp49);
4433 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 482);
4434 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 481);
4435 : ca_.Goto(&block1, tmp47, tmp48);
4436 : }
4437 :
4438 0 : if (block1.is_used()) {
4439 : compiler::TNode<Context> tmp50;
4440 : compiler::TNode<Object> tmp51;
4441 : ca_.Bind(&block1, &tmp50, &tmp51);
4442 : ca_.Goto(&block14, tmp50, tmp51);
4443 : }
4444 :
4445 : compiler::TNode<Context> tmp52;
4446 : compiler::TNode<Object> tmp53;
4447 : ca_.Bind(&block14, &tmp52, &tmp53);
4448 0 : }
4449 :
4450 4 : void TestBuiltinsFromDSLAssembler::TestGenericOverload(compiler::TNode<Context> p_context) {
4451 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4452 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4453 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4454 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4455 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4456 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4457 : compiler::CodeAssemblerParameterizedLabel<Context> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4458 : ca_.Goto(&block0, p_context);
4459 :
4460 4 : if (block0.is_used()) {
4461 : compiler::TNode<Context> tmp0;
4462 : ca_.Bind(&block0, &tmp0);
4463 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 502);
4464 : compiler::TNode<Smi> tmp1;
4465 : USE(tmp1);
4466 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
4467 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 503);
4468 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 504);
4469 : compiler::TNode<Smi> tmp2;
4470 : USE(tmp2);
4471 12 : tmp2 = ca_.UncheckedCast<Smi>(TestBuiltinsFromDSLAssembler(state_).ExampleGenericOverload5ATSmi(compiler::TNode<Smi>{tmp1}));
4472 : compiler::TNode<Smi> tmp3;
4473 : USE(tmp3);
4474 12 : tmp3 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(6));
4475 : compiler::TNode<BoolT> tmp4;
4476 : USE(tmp4);
4477 8 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp2}, compiler::TNode<Smi>{tmp3}));
4478 4 : ca_.Branch(tmp4, &block2, &block3, tmp0, tmp1, tmp1);
4479 : }
4480 :
4481 4 : if (block3.is_used()) {
4482 : compiler::TNode<Context> tmp5;
4483 : compiler::TNode<Smi> tmp6;
4484 : compiler::TNode<Object> tmp7;
4485 : ca_.Bind(&block3, &tmp5, &tmp6, &tmp7);
4486 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'ExampleGenericOverload<Smi>(xSmi) == 6\' failed", "../../test/torque/test-torque.tq", 504);
4487 : }
4488 :
4489 4 : if (block2.is_used()) {
4490 : compiler::TNode<Context> tmp8;
4491 : compiler::TNode<Smi> tmp9;
4492 : compiler::TNode<Object> tmp10;
4493 : ca_.Bind(&block2, &tmp8, &tmp9, &tmp10);
4494 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 505);
4495 : compiler::TNode<Object> tmp11;
4496 : USE(tmp11);
4497 12 : tmp11 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).ExampleGenericOverload20UT5ATSmi10HeapObject(compiler::TNode<Object>{tmp10}));
4498 : compiler::TNode<Smi> tmp12;
4499 : USE(tmp12);
4500 12 : tmp12 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).UnsafeCast5ATSmi(compiler::TNode<Context>{tmp8}, compiler::TNode<Object>{tmp11}));
4501 : compiler::TNode<Smi> tmp13;
4502 : USE(tmp13);
4503 12 : tmp13 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
4504 : compiler::TNode<BoolT> tmp14;
4505 : USE(tmp14);
4506 8 : tmp14 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp12}, compiler::TNode<Smi>{tmp13}));
4507 4 : ca_.Branch(tmp14, &block4, &block5, tmp8, tmp9, tmp10);
4508 : }
4509 :
4510 4 : if (block5.is_used()) {
4511 : compiler::TNode<Context> tmp15;
4512 : compiler::TNode<Smi> tmp16;
4513 : compiler::TNode<Object> tmp17;
4514 : ca_.Bind(&block5, &tmp15, &tmp16, &tmp17);
4515 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'UnsafeCast<Smi>(ExampleGenericOverload<Object>(xObject)) == 5\' failed", "../../test/torque/test-torque.tq", 505);
4516 : }
4517 :
4518 4 : if (block4.is_used()) {
4519 : compiler::TNode<Context> tmp18;
4520 : compiler::TNode<Smi> tmp19;
4521 : compiler::TNode<Object> tmp20;
4522 : ca_.Bind(&block4, &tmp18, &tmp19, &tmp20);
4523 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 501);
4524 : ca_.Goto(&block1, tmp18);
4525 : }
4526 :
4527 4 : if (block1.is_used()) {
4528 : compiler::TNode<Context> tmp21;
4529 : ca_.Bind(&block1, &tmp21);
4530 : ca_.Goto(&block6, tmp21);
4531 : }
4532 :
4533 : compiler::TNode<Context> tmp22;
4534 : ca_.Bind(&block6, &tmp22);
4535 4 : }
4536 :
4537 4 : void TestBuiltinsFromDSLAssembler::TestEquality(compiler::TNode<Context> p_context) {
4538 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4539 : compiler::CodeAssemblerParameterizedLabel<Context, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4540 : compiler::CodeAssemblerParameterizedLabel<Context, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4541 : compiler::CodeAssemblerParameterizedLabel<Context, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4542 : compiler::CodeAssemblerParameterizedLabel<Context, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4543 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4544 : compiler::CodeAssemblerParameterizedLabel<Context> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4545 : ca_.Goto(&block0, p_context);
4546 :
4547 4 : if (block0.is_used()) {
4548 : compiler::TNode<Context> tmp0;
4549 : ca_.Bind(&block0, &tmp0);
4550 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 510);
4551 : compiler::TNode<Float64T> tmp1;
4552 : USE(tmp1);
4553 12 : tmp1 = ca_.UncheckedCast<Float64T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr9ATfloat6419ATconstexpr_float64(0.5));
4554 : compiler::TNode<HeapNumber> tmp2;
4555 : USE(tmp2);
4556 8 : tmp2 = ca_.UncheckedCast<HeapNumber>(CodeStubAssembler(state_).AllocateHeapNumberWithValue(compiler::TNode<Float64T>{tmp1}));
4557 : compiler::TNode<Float64T> tmp3;
4558 : USE(tmp3);
4559 12 : tmp3 = ca_.UncheckedCast<Float64T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr9ATfloat6419ATconstexpr_float64(0.5));
4560 : compiler::TNode<HeapNumber> tmp4;
4561 : USE(tmp4);
4562 8 : tmp4 = ca_.UncheckedCast<HeapNumber>(CodeStubAssembler(state_).AllocateHeapNumberWithValue(compiler::TNode<Float64T>{tmp3}));
4563 : compiler::TNode<BoolT> tmp5;
4564 : USE(tmp5);
4565 12 : tmp5 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).IsNumberNotEqual(compiler::TNode<Number>{tmp2}, compiler::TNode<Number>{tmp4}));
4566 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 509);
4567 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 511);
4568 : compiler::TNode<BoolT> tmp6;
4569 : USE(tmp6);
4570 8 : tmp6 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp5}));
4571 4 : ca_.Branch(tmp6, &block2, &block3, tmp0, tmp5);
4572 : }
4573 :
4574 4 : if (block3.is_used()) {
4575 : compiler::TNode<Context> tmp7;
4576 : compiler::TNode<BoolT> tmp8;
4577 : ca_.Bind(&block3, &tmp7, &tmp8);
4578 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!notEqual\' failed", "../../test/torque/test-torque.tq", 511);
4579 : }
4580 :
4581 4 : if (block2.is_used()) {
4582 : compiler::TNode<Context> tmp9;
4583 : compiler::TNode<BoolT> tmp10;
4584 : ca_.Bind(&block2, &tmp9, &tmp10);
4585 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 513);
4586 : compiler::TNode<Float64T> tmp11;
4587 : USE(tmp11);
4588 12 : tmp11 = ca_.UncheckedCast<Float64T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr9ATfloat6419ATconstexpr_float64(0.5));
4589 : compiler::TNode<HeapNumber> tmp12;
4590 : USE(tmp12);
4591 8 : tmp12 = ca_.UncheckedCast<HeapNumber>(CodeStubAssembler(state_).AllocateHeapNumberWithValue(compiler::TNode<Float64T>{tmp11}));
4592 : compiler::TNode<Float64T> tmp13;
4593 : USE(tmp13);
4594 12 : tmp13 = ca_.UncheckedCast<Float64T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr9ATfloat6419ATconstexpr_float64(0.5));
4595 : compiler::TNode<HeapNumber> tmp14;
4596 : USE(tmp14);
4597 8 : tmp14 = ca_.UncheckedCast<HeapNumber>(CodeStubAssembler(state_).AllocateHeapNumberWithValue(compiler::TNode<Float64T>{tmp13}));
4598 : compiler::TNode<BoolT> tmp15;
4599 : USE(tmp15);
4600 12 : tmp15 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).IsNumberEqual(compiler::TNode<Number>{tmp12}, compiler::TNode<Number>{tmp14}));
4601 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 512);
4602 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 514);
4603 4 : ca_.Branch(tmp15, &block4, &block5, tmp9, tmp10, tmp15);
4604 : }
4605 :
4606 4 : if (block5.is_used()) {
4607 : compiler::TNode<Context> tmp16;
4608 : compiler::TNode<BoolT> tmp17;
4609 : compiler::TNode<BoolT> tmp18;
4610 : ca_.Bind(&block5, &tmp16, &tmp17, &tmp18);
4611 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'equal\' failed", "../../test/torque/test-torque.tq", 514);
4612 : }
4613 :
4614 4 : if (block4.is_used()) {
4615 : compiler::TNode<Context> tmp19;
4616 : compiler::TNode<BoolT> tmp20;
4617 : compiler::TNode<BoolT> tmp21;
4618 : ca_.Bind(&block4, &tmp19, &tmp20, &tmp21);
4619 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 508);
4620 : ca_.Goto(&block1, tmp19);
4621 : }
4622 :
4623 4 : if (block1.is_used()) {
4624 : compiler::TNode<Context> tmp22;
4625 : ca_.Bind(&block1, &tmp22);
4626 : ca_.Goto(&block6, tmp22);
4627 : }
4628 :
4629 : compiler::TNode<Context> tmp23;
4630 : ca_.Bind(&block6, &tmp23);
4631 4 : }
4632 :
4633 192 : void TestBuiltinsFromDSLAssembler::BoolToBranch(compiler::TNode<BoolT> p_x, compiler::CodeAssemblerLabel* label_Taken, compiler::CodeAssemblerLabel* label_NotTaken) {
4634 192 : compiler::CodeAssemblerParameterizedLabel<BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4635 : compiler::CodeAssemblerParameterizedLabel<BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4636 : compiler::CodeAssemblerParameterizedLabel<BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4637 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4638 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4639 : ca_.Goto(&block0, p_x);
4640 :
4641 192 : if (block0.is_used()) {
4642 : compiler::TNode<BoolT> tmp0;
4643 : ca_.Bind(&block0, &tmp0);
4644 192 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 519);
4645 192 : ca_.Branch(tmp0, &block3, &block4, tmp0);
4646 : }
4647 :
4648 192 : if (block3.is_used()) {
4649 : compiler::TNode<BoolT> tmp1;
4650 : ca_.Bind(&block3, &tmp1);
4651 192 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 520);
4652 : ca_.Goto(&block1);
4653 : }
4654 :
4655 192 : if (block4.is_used()) {
4656 : compiler::TNode<BoolT> tmp2;
4657 : ca_.Bind(&block4, &tmp2);
4658 192 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 522);
4659 : ca_.Goto(&block2);
4660 : }
4661 :
4662 192 : if (block1.is_used()) {
4663 : ca_.Bind(&block1);
4664 192 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 517);
4665 192 : ca_.Goto(label_Taken);
4666 : }
4667 :
4668 192 : if (block2.is_used()) {
4669 : ca_.Bind(&block2);
4670 192 : ca_.Goto(label_NotTaken);
4671 : }
4672 192 : }
4673 :
4674 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestOrAnd1(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
4675 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4676 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4677 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4678 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4679 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4680 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4681 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4682 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4683 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4684 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4685 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4686 : ca_.Goto(&block0, p_x, p_y, p_z);
4687 :
4688 32 : if (block0.is_used()) {
4689 : compiler::TNode<BoolT> tmp0;
4690 : compiler::TNode<BoolT> tmp1;
4691 : compiler::TNode<BoolT> tmp2;
4692 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
4693 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 527);
4694 32 : compiler::CodeAssemblerLabel label0(&ca_);
4695 32 : compiler::CodeAssemblerLabel label1(&ca_);
4696 96 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp0}, &label0, &label1);
4697 32 : if (label0.is_used()) {
4698 32 : ca_.Bind(&label0);
4699 : ca_.Goto(&block7, tmp0, tmp1, tmp2, tmp0);
4700 : }
4701 32 : if (label1.is_used()) {
4702 32 : ca_.Bind(&label1);
4703 : ca_.Goto(&block8, tmp0, tmp1, tmp2, tmp0);
4704 : }
4705 : }
4706 :
4707 32 : if (block7.is_used()) {
4708 : compiler::TNode<BoolT> tmp3;
4709 : compiler::TNode<BoolT> tmp4;
4710 : compiler::TNode<BoolT> tmp5;
4711 : compiler::TNode<BoolT> tmp6;
4712 : ca_.Bind(&block7, &tmp3, &tmp4, &tmp5, &tmp6);
4713 : ca_.Goto(&block2, tmp3, tmp4, tmp5);
4714 : }
4715 :
4716 32 : if (block8.is_used()) {
4717 : compiler::TNode<BoolT> tmp7;
4718 : compiler::TNode<BoolT> tmp8;
4719 : compiler::TNode<BoolT> tmp9;
4720 : compiler::TNode<BoolT> tmp10;
4721 : ca_.Bind(&block8, &tmp7, &tmp8, &tmp9, &tmp10);
4722 : ca_.Goto(&block6, tmp7, tmp8, tmp9);
4723 : }
4724 :
4725 32 : if (block6.is_used()) {
4726 : compiler::TNode<BoolT> tmp11;
4727 : compiler::TNode<BoolT> tmp12;
4728 : compiler::TNode<BoolT> tmp13;
4729 : ca_.Bind(&block6, &tmp11, &tmp12, &tmp13);
4730 32 : ca_.Branch(tmp12, &block9, &block3, tmp11, tmp12, tmp13);
4731 : }
4732 :
4733 32 : if (block9.is_used()) {
4734 : compiler::TNode<BoolT> tmp14;
4735 : compiler::TNode<BoolT> tmp15;
4736 : compiler::TNode<BoolT> tmp16;
4737 : ca_.Bind(&block9, &tmp14, &tmp15, &tmp16);
4738 32 : ca_.Branch(tmp16, &block2, &block3, tmp14, tmp15, tmp16);
4739 : }
4740 :
4741 32 : if (block2.is_used()) {
4742 : compiler::TNode<BoolT> tmp17;
4743 : compiler::TNode<BoolT> tmp18;
4744 : compiler::TNode<BoolT> tmp19;
4745 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
4746 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
4747 : }
4748 :
4749 32 : if (block3.is_used()) {
4750 : compiler::TNode<BoolT> tmp20;
4751 : compiler::TNode<BoolT> tmp21;
4752 : compiler::TNode<BoolT> tmp22;
4753 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
4754 : compiler::TNode<BoolT> tmp23;
4755 : USE(tmp23);
4756 96 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
4757 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
4758 : }
4759 :
4760 32 : if (block5.is_used()) {
4761 : compiler::TNode<BoolT> tmp24;
4762 : compiler::TNode<BoolT> tmp25;
4763 : compiler::TNode<BoolT> tmp26;
4764 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
4765 : compiler::TNode<BoolT> tmp27;
4766 : USE(tmp27);
4767 96 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
4768 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
4769 : }
4770 :
4771 32 : if (block4.is_used()) {
4772 : compiler::TNode<BoolT> tmp28;
4773 : compiler::TNode<BoolT> tmp29;
4774 : compiler::TNode<BoolT> tmp30;
4775 : compiler::TNode<BoolT> tmp31;
4776 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
4777 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
4778 : }
4779 :
4780 32 : if (block1.is_used()) {
4781 : compiler::TNode<BoolT> tmp32;
4782 : compiler::TNode<BoolT> tmp33;
4783 : compiler::TNode<BoolT> tmp34;
4784 : compiler::TNode<BoolT> tmp35;
4785 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
4786 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 526);
4787 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
4788 : }
4789 :
4790 : compiler::TNode<BoolT> tmp36;
4791 : compiler::TNode<BoolT> tmp37;
4792 : compiler::TNode<BoolT> tmp38;
4793 : compiler::TNode<BoolT> tmp39;
4794 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
4795 64 : return compiler::TNode<BoolT>{tmp39};
4796 : }
4797 :
4798 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestOrAnd2(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
4799 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4800 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4801 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4802 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4803 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4804 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4805 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4806 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4807 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4808 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4809 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4810 : ca_.Goto(&block0, p_x, p_y, p_z);
4811 :
4812 32 : if (block0.is_used()) {
4813 : compiler::TNode<BoolT> tmp0;
4814 : compiler::TNode<BoolT> tmp1;
4815 : compiler::TNode<BoolT> tmp2;
4816 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
4817 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 531);
4818 32 : ca_.Branch(tmp0, &block2, &block6, tmp0, tmp1, tmp2);
4819 : }
4820 :
4821 32 : if (block6.is_used()) {
4822 : compiler::TNode<BoolT> tmp3;
4823 : compiler::TNode<BoolT> tmp4;
4824 : compiler::TNode<BoolT> tmp5;
4825 : ca_.Bind(&block6, &tmp3, &tmp4, &tmp5);
4826 32 : compiler::CodeAssemblerLabel label0(&ca_);
4827 32 : compiler::CodeAssemblerLabel label1(&ca_);
4828 96 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp4}, &label0, &label1);
4829 32 : if (label0.is_used()) {
4830 32 : ca_.Bind(&label0);
4831 : ca_.Goto(&block8, tmp3, tmp4, tmp5, tmp4);
4832 : }
4833 32 : if (label1.is_used()) {
4834 32 : ca_.Bind(&label1);
4835 : ca_.Goto(&block9, tmp3, tmp4, tmp5, tmp4);
4836 : }
4837 : }
4838 :
4839 32 : if (block8.is_used()) {
4840 : compiler::TNode<BoolT> tmp6;
4841 : compiler::TNode<BoolT> tmp7;
4842 : compiler::TNode<BoolT> tmp8;
4843 : compiler::TNode<BoolT> tmp9;
4844 : ca_.Bind(&block8, &tmp6, &tmp7, &tmp8, &tmp9);
4845 : ca_.Goto(&block7, tmp6, tmp7, tmp8);
4846 : }
4847 :
4848 32 : if (block9.is_used()) {
4849 : compiler::TNode<BoolT> tmp10;
4850 : compiler::TNode<BoolT> tmp11;
4851 : compiler::TNode<BoolT> tmp12;
4852 : compiler::TNode<BoolT> tmp13;
4853 : ca_.Bind(&block9, &tmp10, &tmp11, &tmp12, &tmp13);
4854 : ca_.Goto(&block3, tmp10, tmp11, tmp12);
4855 : }
4856 :
4857 32 : if (block7.is_used()) {
4858 : compiler::TNode<BoolT> tmp14;
4859 : compiler::TNode<BoolT> tmp15;
4860 : compiler::TNode<BoolT> tmp16;
4861 : ca_.Bind(&block7, &tmp14, &tmp15, &tmp16);
4862 32 : ca_.Branch(tmp16, &block2, &block3, tmp14, tmp15, tmp16);
4863 : }
4864 :
4865 32 : if (block2.is_used()) {
4866 : compiler::TNode<BoolT> tmp17;
4867 : compiler::TNode<BoolT> tmp18;
4868 : compiler::TNode<BoolT> tmp19;
4869 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
4870 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
4871 : }
4872 :
4873 32 : if (block3.is_used()) {
4874 : compiler::TNode<BoolT> tmp20;
4875 : compiler::TNode<BoolT> tmp21;
4876 : compiler::TNode<BoolT> tmp22;
4877 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
4878 : compiler::TNode<BoolT> tmp23;
4879 : USE(tmp23);
4880 96 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
4881 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
4882 : }
4883 :
4884 32 : if (block5.is_used()) {
4885 : compiler::TNode<BoolT> tmp24;
4886 : compiler::TNode<BoolT> tmp25;
4887 : compiler::TNode<BoolT> tmp26;
4888 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
4889 : compiler::TNode<BoolT> tmp27;
4890 : USE(tmp27);
4891 96 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
4892 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
4893 : }
4894 :
4895 32 : if (block4.is_used()) {
4896 : compiler::TNode<BoolT> tmp28;
4897 : compiler::TNode<BoolT> tmp29;
4898 : compiler::TNode<BoolT> tmp30;
4899 : compiler::TNode<BoolT> tmp31;
4900 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
4901 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
4902 : }
4903 :
4904 32 : if (block1.is_used()) {
4905 : compiler::TNode<BoolT> tmp32;
4906 : compiler::TNode<BoolT> tmp33;
4907 : compiler::TNode<BoolT> tmp34;
4908 : compiler::TNode<BoolT> tmp35;
4909 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
4910 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 530);
4911 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
4912 : }
4913 :
4914 : compiler::TNode<BoolT> tmp36;
4915 : compiler::TNode<BoolT> tmp37;
4916 : compiler::TNode<BoolT> tmp38;
4917 : compiler::TNode<BoolT> tmp39;
4918 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
4919 64 : return compiler::TNode<BoolT>{tmp39};
4920 : }
4921 :
4922 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestOrAnd3(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
4923 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4924 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4925 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4926 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4927 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4928 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4929 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4930 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4931 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4932 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4933 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4934 : ca_.Goto(&block0, p_x, p_y, p_z);
4935 :
4936 32 : if (block0.is_used()) {
4937 : compiler::TNode<BoolT> tmp0;
4938 : compiler::TNode<BoolT> tmp1;
4939 : compiler::TNode<BoolT> tmp2;
4940 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
4941 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 535);
4942 32 : ca_.Branch(tmp0, &block2, &block6, tmp0, tmp1, tmp2);
4943 : }
4944 :
4945 32 : if (block6.is_used()) {
4946 : compiler::TNode<BoolT> tmp3;
4947 : compiler::TNode<BoolT> tmp4;
4948 : compiler::TNode<BoolT> tmp5;
4949 : ca_.Bind(&block6, &tmp3, &tmp4, &tmp5);
4950 32 : ca_.Branch(tmp4, &block7, &block3, tmp3, tmp4, tmp5);
4951 : }
4952 :
4953 32 : if (block7.is_used()) {
4954 : compiler::TNode<BoolT> tmp6;
4955 : compiler::TNode<BoolT> tmp7;
4956 : compiler::TNode<BoolT> tmp8;
4957 : ca_.Bind(&block7, &tmp6, &tmp7, &tmp8);
4958 32 : compiler::CodeAssemblerLabel label0(&ca_);
4959 32 : compiler::CodeAssemblerLabel label1(&ca_);
4960 96 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp8}, &label0, &label1);
4961 32 : if (label0.is_used()) {
4962 32 : ca_.Bind(&label0);
4963 : ca_.Goto(&block8, tmp6, tmp7, tmp8, tmp8);
4964 : }
4965 32 : if (label1.is_used()) {
4966 32 : ca_.Bind(&label1);
4967 : ca_.Goto(&block9, tmp6, tmp7, tmp8, tmp8);
4968 : }
4969 : }
4970 :
4971 32 : if (block8.is_used()) {
4972 : compiler::TNode<BoolT> tmp9;
4973 : compiler::TNode<BoolT> tmp10;
4974 : compiler::TNode<BoolT> tmp11;
4975 : compiler::TNode<BoolT> tmp12;
4976 : ca_.Bind(&block8, &tmp9, &tmp10, &tmp11, &tmp12);
4977 : ca_.Goto(&block2, tmp9, tmp10, tmp11);
4978 : }
4979 :
4980 32 : if (block9.is_used()) {
4981 : compiler::TNode<BoolT> tmp13;
4982 : compiler::TNode<BoolT> tmp14;
4983 : compiler::TNode<BoolT> tmp15;
4984 : compiler::TNode<BoolT> tmp16;
4985 : ca_.Bind(&block9, &tmp13, &tmp14, &tmp15, &tmp16);
4986 : ca_.Goto(&block3, tmp13, tmp14, tmp15);
4987 : }
4988 :
4989 32 : if (block2.is_used()) {
4990 : compiler::TNode<BoolT> tmp17;
4991 : compiler::TNode<BoolT> tmp18;
4992 : compiler::TNode<BoolT> tmp19;
4993 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
4994 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
4995 : }
4996 :
4997 32 : if (block3.is_used()) {
4998 : compiler::TNode<BoolT> tmp20;
4999 : compiler::TNode<BoolT> tmp21;
5000 : compiler::TNode<BoolT> tmp22;
5001 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
5002 : compiler::TNode<BoolT> tmp23;
5003 : USE(tmp23);
5004 96 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5005 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
5006 : }
5007 :
5008 32 : if (block5.is_used()) {
5009 : compiler::TNode<BoolT> tmp24;
5010 : compiler::TNode<BoolT> tmp25;
5011 : compiler::TNode<BoolT> tmp26;
5012 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
5013 : compiler::TNode<BoolT> tmp27;
5014 : USE(tmp27);
5015 96 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5016 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
5017 : }
5018 :
5019 32 : if (block4.is_used()) {
5020 : compiler::TNode<BoolT> tmp28;
5021 : compiler::TNode<BoolT> tmp29;
5022 : compiler::TNode<BoolT> tmp30;
5023 : compiler::TNode<BoolT> tmp31;
5024 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
5025 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
5026 : }
5027 :
5028 32 : if (block1.is_used()) {
5029 : compiler::TNode<BoolT> tmp32;
5030 : compiler::TNode<BoolT> tmp33;
5031 : compiler::TNode<BoolT> tmp34;
5032 : compiler::TNode<BoolT> tmp35;
5033 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
5034 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 534);
5035 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
5036 : }
5037 :
5038 : compiler::TNode<BoolT> tmp36;
5039 : compiler::TNode<BoolT> tmp37;
5040 : compiler::TNode<BoolT> tmp38;
5041 : compiler::TNode<BoolT> tmp39;
5042 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
5043 64 : return compiler::TNode<BoolT>{tmp39};
5044 : }
5045 :
5046 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestAndOr1(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
5047 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5048 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5049 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5050 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5051 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5052 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5053 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5054 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5055 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5056 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5057 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5058 : ca_.Goto(&block0, p_x, p_y, p_z);
5059 :
5060 32 : if (block0.is_used()) {
5061 : compiler::TNode<BoolT> tmp0;
5062 : compiler::TNode<BoolT> tmp1;
5063 : compiler::TNode<BoolT> tmp2;
5064 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
5065 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 539);
5066 32 : compiler::CodeAssemblerLabel label0(&ca_);
5067 32 : compiler::CodeAssemblerLabel label1(&ca_);
5068 96 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp0}, &label0, &label1);
5069 32 : if (label0.is_used()) {
5070 32 : ca_.Bind(&label0);
5071 : ca_.Goto(&block8, tmp0, tmp1, tmp2, tmp0);
5072 : }
5073 32 : if (label1.is_used()) {
5074 32 : ca_.Bind(&label1);
5075 : ca_.Goto(&block9, tmp0, tmp1, tmp2, tmp0);
5076 : }
5077 : }
5078 :
5079 32 : if (block8.is_used()) {
5080 : compiler::TNode<BoolT> tmp3;
5081 : compiler::TNode<BoolT> tmp4;
5082 : compiler::TNode<BoolT> tmp5;
5083 : compiler::TNode<BoolT> tmp6;
5084 : ca_.Bind(&block8, &tmp3, &tmp4, &tmp5, &tmp6);
5085 : ca_.Goto(&block7, tmp3, tmp4, tmp5);
5086 : }
5087 :
5088 32 : if (block9.is_used()) {
5089 : compiler::TNode<BoolT> tmp7;
5090 : compiler::TNode<BoolT> tmp8;
5091 : compiler::TNode<BoolT> tmp9;
5092 : compiler::TNode<BoolT> tmp10;
5093 : ca_.Bind(&block9, &tmp7, &tmp8, &tmp9, &tmp10);
5094 : ca_.Goto(&block6, tmp7, tmp8, tmp9);
5095 : }
5096 :
5097 32 : if (block7.is_used()) {
5098 : compiler::TNode<BoolT> tmp11;
5099 : compiler::TNode<BoolT> tmp12;
5100 : compiler::TNode<BoolT> tmp13;
5101 : ca_.Bind(&block7, &tmp11, &tmp12, &tmp13);
5102 32 : ca_.Branch(tmp12, &block2, &block6, tmp11, tmp12, tmp13);
5103 : }
5104 :
5105 32 : if (block6.is_used()) {
5106 : compiler::TNode<BoolT> tmp14;
5107 : compiler::TNode<BoolT> tmp15;
5108 : compiler::TNode<BoolT> tmp16;
5109 : ca_.Bind(&block6, &tmp14, &tmp15, &tmp16);
5110 32 : ca_.Branch(tmp16, &block2, &block3, tmp14, tmp15, tmp16);
5111 : }
5112 :
5113 32 : if (block2.is_used()) {
5114 : compiler::TNode<BoolT> tmp17;
5115 : compiler::TNode<BoolT> tmp18;
5116 : compiler::TNode<BoolT> tmp19;
5117 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
5118 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
5119 : }
5120 :
5121 32 : if (block3.is_used()) {
5122 : compiler::TNode<BoolT> tmp20;
5123 : compiler::TNode<BoolT> tmp21;
5124 : compiler::TNode<BoolT> tmp22;
5125 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
5126 : compiler::TNode<BoolT> tmp23;
5127 : USE(tmp23);
5128 96 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5129 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
5130 : }
5131 :
5132 32 : if (block5.is_used()) {
5133 : compiler::TNode<BoolT> tmp24;
5134 : compiler::TNode<BoolT> tmp25;
5135 : compiler::TNode<BoolT> tmp26;
5136 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
5137 : compiler::TNode<BoolT> tmp27;
5138 : USE(tmp27);
5139 96 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5140 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
5141 : }
5142 :
5143 32 : if (block4.is_used()) {
5144 : compiler::TNode<BoolT> tmp28;
5145 : compiler::TNode<BoolT> tmp29;
5146 : compiler::TNode<BoolT> tmp30;
5147 : compiler::TNode<BoolT> tmp31;
5148 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
5149 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
5150 : }
5151 :
5152 32 : if (block1.is_used()) {
5153 : compiler::TNode<BoolT> tmp32;
5154 : compiler::TNode<BoolT> tmp33;
5155 : compiler::TNode<BoolT> tmp34;
5156 : compiler::TNode<BoolT> tmp35;
5157 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
5158 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 538);
5159 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
5160 : }
5161 :
5162 : compiler::TNode<BoolT> tmp36;
5163 : compiler::TNode<BoolT> tmp37;
5164 : compiler::TNode<BoolT> tmp38;
5165 : compiler::TNode<BoolT> tmp39;
5166 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
5167 64 : return compiler::TNode<BoolT>{tmp39};
5168 : }
5169 :
5170 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestAndOr2(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
5171 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5172 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5173 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5174 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5175 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5176 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5177 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5178 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5179 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5180 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5181 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5182 : ca_.Goto(&block0, p_x, p_y, p_z);
5183 :
5184 32 : if (block0.is_used()) {
5185 : compiler::TNode<BoolT> tmp0;
5186 : compiler::TNode<BoolT> tmp1;
5187 : compiler::TNode<BoolT> tmp2;
5188 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
5189 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 543);
5190 32 : ca_.Branch(tmp0, &block7, &block6, tmp0, tmp1, tmp2);
5191 : }
5192 :
5193 32 : if (block7.is_used()) {
5194 : compiler::TNode<BoolT> tmp3;
5195 : compiler::TNode<BoolT> tmp4;
5196 : compiler::TNode<BoolT> tmp5;
5197 : ca_.Bind(&block7, &tmp3, &tmp4, &tmp5);
5198 32 : compiler::CodeAssemblerLabel label0(&ca_);
5199 32 : compiler::CodeAssemblerLabel label1(&ca_);
5200 96 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp4}, &label0, &label1);
5201 32 : if (label0.is_used()) {
5202 32 : ca_.Bind(&label0);
5203 : ca_.Goto(&block8, tmp3, tmp4, tmp5, tmp4);
5204 : }
5205 32 : if (label1.is_used()) {
5206 32 : ca_.Bind(&label1);
5207 : ca_.Goto(&block9, tmp3, tmp4, tmp5, tmp4);
5208 : }
5209 : }
5210 :
5211 32 : if (block8.is_used()) {
5212 : compiler::TNode<BoolT> tmp6;
5213 : compiler::TNode<BoolT> tmp7;
5214 : compiler::TNode<BoolT> tmp8;
5215 : compiler::TNode<BoolT> tmp9;
5216 : ca_.Bind(&block8, &tmp6, &tmp7, &tmp8, &tmp9);
5217 : ca_.Goto(&block2, tmp6, tmp7, tmp8);
5218 : }
5219 :
5220 32 : if (block9.is_used()) {
5221 : compiler::TNode<BoolT> tmp10;
5222 : compiler::TNode<BoolT> tmp11;
5223 : compiler::TNode<BoolT> tmp12;
5224 : compiler::TNode<BoolT> tmp13;
5225 : ca_.Bind(&block9, &tmp10, &tmp11, &tmp12, &tmp13);
5226 : ca_.Goto(&block6, tmp10, tmp11, tmp12);
5227 : }
5228 :
5229 32 : if (block6.is_used()) {
5230 : compiler::TNode<BoolT> tmp14;
5231 : compiler::TNode<BoolT> tmp15;
5232 : compiler::TNode<BoolT> tmp16;
5233 : ca_.Bind(&block6, &tmp14, &tmp15, &tmp16);
5234 32 : ca_.Branch(tmp16, &block2, &block3, tmp14, tmp15, tmp16);
5235 : }
5236 :
5237 32 : if (block2.is_used()) {
5238 : compiler::TNode<BoolT> tmp17;
5239 : compiler::TNode<BoolT> tmp18;
5240 : compiler::TNode<BoolT> tmp19;
5241 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
5242 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
5243 : }
5244 :
5245 32 : if (block3.is_used()) {
5246 : compiler::TNode<BoolT> tmp20;
5247 : compiler::TNode<BoolT> tmp21;
5248 : compiler::TNode<BoolT> tmp22;
5249 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
5250 : compiler::TNode<BoolT> tmp23;
5251 : USE(tmp23);
5252 96 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5253 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
5254 : }
5255 :
5256 32 : if (block5.is_used()) {
5257 : compiler::TNode<BoolT> tmp24;
5258 : compiler::TNode<BoolT> tmp25;
5259 : compiler::TNode<BoolT> tmp26;
5260 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
5261 : compiler::TNode<BoolT> tmp27;
5262 : USE(tmp27);
5263 96 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5264 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
5265 : }
5266 :
5267 32 : if (block4.is_used()) {
5268 : compiler::TNode<BoolT> tmp28;
5269 : compiler::TNode<BoolT> tmp29;
5270 : compiler::TNode<BoolT> tmp30;
5271 : compiler::TNode<BoolT> tmp31;
5272 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
5273 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
5274 : }
5275 :
5276 32 : if (block1.is_used()) {
5277 : compiler::TNode<BoolT> tmp32;
5278 : compiler::TNode<BoolT> tmp33;
5279 : compiler::TNode<BoolT> tmp34;
5280 : compiler::TNode<BoolT> tmp35;
5281 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
5282 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 542);
5283 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
5284 : }
5285 :
5286 : compiler::TNode<BoolT> tmp36;
5287 : compiler::TNode<BoolT> tmp37;
5288 : compiler::TNode<BoolT> tmp38;
5289 : compiler::TNode<BoolT> tmp39;
5290 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
5291 64 : return compiler::TNode<BoolT>{tmp39};
5292 : }
5293 :
5294 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestAndOr3(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
5295 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5296 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5297 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5298 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5299 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5300 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5301 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5302 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5303 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5304 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5305 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5306 : ca_.Goto(&block0, p_x, p_y, p_z);
5307 :
5308 32 : if (block0.is_used()) {
5309 : compiler::TNode<BoolT> tmp0;
5310 : compiler::TNode<BoolT> tmp1;
5311 : compiler::TNode<BoolT> tmp2;
5312 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
5313 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 547);
5314 32 : ca_.Branch(tmp0, &block7, &block6, tmp0, tmp1, tmp2);
5315 : }
5316 :
5317 32 : if (block7.is_used()) {
5318 : compiler::TNode<BoolT> tmp3;
5319 : compiler::TNode<BoolT> tmp4;
5320 : compiler::TNode<BoolT> tmp5;
5321 : ca_.Bind(&block7, &tmp3, &tmp4, &tmp5);
5322 32 : ca_.Branch(tmp4, &block2, &block6, tmp3, tmp4, tmp5);
5323 : }
5324 :
5325 32 : if (block6.is_used()) {
5326 : compiler::TNode<BoolT> tmp6;
5327 : compiler::TNode<BoolT> tmp7;
5328 : compiler::TNode<BoolT> tmp8;
5329 : ca_.Bind(&block6, &tmp6, &tmp7, &tmp8);
5330 32 : compiler::CodeAssemblerLabel label0(&ca_);
5331 32 : compiler::CodeAssemblerLabel label1(&ca_);
5332 96 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp8}, &label0, &label1);
5333 32 : if (label0.is_used()) {
5334 32 : ca_.Bind(&label0);
5335 : ca_.Goto(&block8, tmp6, tmp7, tmp8, tmp8);
5336 : }
5337 32 : if (label1.is_used()) {
5338 32 : ca_.Bind(&label1);
5339 : ca_.Goto(&block9, tmp6, tmp7, tmp8, tmp8);
5340 : }
5341 : }
5342 :
5343 32 : if (block8.is_used()) {
5344 : compiler::TNode<BoolT> tmp9;
5345 : compiler::TNode<BoolT> tmp10;
5346 : compiler::TNode<BoolT> tmp11;
5347 : compiler::TNode<BoolT> tmp12;
5348 : ca_.Bind(&block8, &tmp9, &tmp10, &tmp11, &tmp12);
5349 : ca_.Goto(&block2, tmp9, tmp10, tmp11);
5350 : }
5351 :
5352 32 : if (block9.is_used()) {
5353 : compiler::TNode<BoolT> tmp13;
5354 : compiler::TNode<BoolT> tmp14;
5355 : compiler::TNode<BoolT> tmp15;
5356 : compiler::TNode<BoolT> tmp16;
5357 : ca_.Bind(&block9, &tmp13, &tmp14, &tmp15, &tmp16);
5358 : ca_.Goto(&block3, tmp13, tmp14, tmp15);
5359 : }
5360 :
5361 32 : if (block2.is_used()) {
5362 : compiler::TNode<BoolT> tmp17;
5363 : compiler::TNode<BoolT> tmp18;
5364 : compiler::TNode<BoolT> tmp19;
5365 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
5366 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
5367 : }
5368 :
5369 32 : if (block3.is_used()) {
5370 : compiler::TNode<BoolT> tmp20;
5371 : compiler::TNode<BoolT> tmp21;
5372 : compiler::TNode<BoolT> tmp22;
5373 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
5374 : compiler::TNode<BoolT> tmp23;
5375 : USE(tmp23);
5376 96 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5377 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
5378 : }
5379 :
5380 32 : if (block5.is_used()) {
5381 : compiler::TNode<BoolT> tmp24;
5382 : compiler::TNode<BoolT> tmp25;
5383 : compiler::TNode<BoolT> tmp26;
5384 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
5385 : compiler::TNode<BoolT> tmp27;
5386 : USE(tmp27);
5387 96 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5388 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
5389 : }
5390 :
5391 32 : if (block4.is_used()) {
5392 : compiler::TNode<BoolT> tmp28;
5393 : compiler::TNode<BoolT> tmp29;
5394 : compiler::TNode<BoolT> tmp30;
5395 : compiler::TNode<BoolT> tmp31;
5396 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
5397 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
5398 : }
5399 :
5400 32 : if (block1.is_used()) {
5401 : compiler::TNode<BoolT> tmp32;
5402 : compiler::TNode<BoolT> tmp33;
5403 : compiler::TNode<BoolT> tmp34;
5404 : compiler::TNode<BoolT> tmp35;
5405 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
5406 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 546);
5407 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
5408 : }
5409 :
5410 : compiler::TNode<BoolT> tmp36;
5411 : compiler::TNode<BoolT> tmp37;
5412 : compiler::TNode<BoolT> tmp38;
5413 : compiler::TNode<BoolT> tmp39;
5414 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
5415 64 : return compiler::TNode<BoolT>{tmp39};
5416 : }
5417 :
5418 4 : void TestBuiltinsFromDSLAssembler::TestLogicalOperators() {
5419 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5420 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5421 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5422 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5423 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5424 : compiler::CodeAssemblerParameterizedLabel<> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5425 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5426 : compiler::CodeAssemblerParameterizedLabel<> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5427 : compiler::CodeAssemblerParameterizedLabel<> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5428 : compiler::CodeAssemblerParameterizedLabel<> block11(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5429 : compiler::CodeAssemblerParameterizedLabel<> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5430 : compiler::CodeAssemblerParameterizedLabel<> block13(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5431 : compiler::CodeAssemblerParameterizedLabel<> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5432 : compiler::CodeAssemblerParameterizedLabel<> block15(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5433 : compiler::CodeAssemblerParameterizedLabel<> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5434 : compiler::CodeAssemblerParameterizedLabel<> block17(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5435 : compiler::CodeAssemblerParameterizedLabel<> block16(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5436 : compiler::CodeAssemblerParameterizedLabel<> block19(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5437 : compiler::CodeAssemblerParameterizedLabel<> block18(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5438 : compiler::CodeAssemblerParameterizedLabel<> block21(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5439 : compiler::CodeAssemblerParameterizedLabel<> block20(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5440 : compiler::CodeAssemblerParameterizedLabel<> block23(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5441 : compiler::CodeAssemblerParameterizedLabel<> block22(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5442 : compiler::CodeAssemblerParameterizedLabel<> block25(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5443 : compiler::CodeAssemblerParameterizedLabel<> block24(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5444 : compiler::CodeAssemblerParameterizedLabel<> block27(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5445 : compiler::CodeAssemblerParameterizedLabel<> block26(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5446 : compiler::CodeAssemblerParameterizedLabel<> block29(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5447 : compiler::CodeAssemblerParameterizedLabel<> block28(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5448 : compiler::CodeAssemblerParameterizedLabel<> block31(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5449 : compiler::CodeAssemblerParameterizedLabel<> block30(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5450 : compiler::CodeAssemblerParameterizedLabel<> block33(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5451 : compiler::CodeAssemblerParameterizedLabel<> block32(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5452 : compiler::CodeAssemblerParameterizedLabel<> block35(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5453 : compiler::CodeAssemblerParameterizedLabel<> block34(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5454 : compiler::CodeAssemblerParameterizedLabel<> block37(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5455 : compiler::CodeAssemblerParameterizedLabel<> block36(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5456 : compiler::CodeAssemblerParameterizedLabel<> block39(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5457 : compiler::CodeAssemblerParameterizedLabel<> block38(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5458 : compiler::CodeAssemblerParameterizedLabel<> block41(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5459 : compiler::CodeAssemblerParameterizedLabel<> block40(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5460 : compiler::CodeAssemblerParameterizedLabel<> block43(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5461 : compiler::CodeAssemblerParameterizedLabel<> block42(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5462 : compiler::CodeAssemblerParameterizedLabel<> block45(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5463 : compiler::CodeAssemblerParameterizedLabel<> block44(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5464 : compiler::CodeAssemblerParameterizedLabel<> block47(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5465 : compiler::CodeAssemblerParameterizedLabel<> block46(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5466 : compiler::CodeAssemblerParameterizedLabel<> block49(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5467 : compiler::CodeAssemblerParameterizedLabel<> block48(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5468 : compiler::CodeAssemblerParameterizedLabel<> block51(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5469 : compiler::CodeAssemblerParameterizedLabel<> block50(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5470 : compiler::CodeAssemblerParameterizedLabel<> block53(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5471 : compiler::CodeAssemblerParameterizedLabel<> block52(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5472 : compiler::CodeAssemblerParameterizedLabel<> block55(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5473 : compiler::CodeAssemblerParameterizedLabel<> block54(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5474 : compiler::CodeAssemblerParameterizedLabel<> block57(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5475 : compiler::CodeAssemblerParameterizedLabel<> block56(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5476 : compiler::CodeAssemblerParameterizedLabel<> block59(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5477 : compiler::CodeAssemblerParameterizedLabel<> block58(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5478 : compiler::CodeAssemblerParameterizedLabel<> block61(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5479 : compiler::CodeAssemblerParameterizedLabel<> block60(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5480 : compiler::CodeAssemblerParameterizedLabel<> block63(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5481 : compiler::CodeAssemblerParameterizedLabel<> block62(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5482 : compiler::CodeAssemblerParameterizedLabel<> block65(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5483 : compiler::CodeAssemblerParameterizedLabel<> block64(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5484 : compiler::CodeAssemblerParameterizedLabel<> block67(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5485 : compiler::CodeAssemblerParameterizedLabel<> block66(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5486 : compiler::CodeAssemblerParameterizedLabel<> block69(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5487 : compiler::CodeAssemblerParameterizedLabel<> block68(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5488 : compiler::CodeAssemblerParameterizedLabel<> block71(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5489 : compiler::CodeAssemblerParameterizedLabel<> block70(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5490 : compiler::CodeAssemblerParameterizedLabel<> block73(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5491 : compiler::CodeAssemblerParameterizedLabel<> block72(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5492 : compiler::CodeAssemblerParameterizedLabel<> block75(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5493 : compiler::CodeAssemblerParameterizedLabel<> block74(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5494 : compiler::CodeAssemblerParameterizedLabel<> block77(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5495 : compiler::CodeAssemblerParameterizedLabel<> block76(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5496 : compiler::CodeAssemblerParameterizedLabel<> block79(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5497 : compiler::CodeAssemblerParameterizedLabel<> block78(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5498 : compiler::CodeAssemblerParameterizedLabel<> block81(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5499 : compiler::CodeAssemblerParameterizedLabel<> block80(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5500 : compiler::CodeAssemblerParameterizedLabel<> block83(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5501 : compiler::CodeAssemblerParameterizedLabel<> block82(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5502 : compiler::CodeAssemblerParameterizedLabel<> block85(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5503 : compiler::CodeAssemblerParameterizedLabel<> block84(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5504 : compiler::CodeAssemblerParameterizedLabel<> block87(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5505 : compiler::CodeAssemblerParameterizedLabel<> block86(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5506 : compiler::CodeAssemblerParameterizedLabel<> block89(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5507 : compiler::CodeAssemblerParameterizedLabel<> block88(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5508 : compiler::CodeAssemblerParameterizedLabel<> block91(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5509 : compiler::CodeAssemblerParameterizedLabel<> block90(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5510 : compiler::CodeAssemblerParameterizedLabel<> block93(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5511 : compiler::CodeAssemblerParameterizedLabel<> block92(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5512 : compiler::CodeAssemblerParameterizedLabel<> block95(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5513 : compiler::CodeAssemblerParameterizedLabel<> block94(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5514 : compiler::CodeAssemblerParameterizedLabel<> block97(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5515 : compiler::CodeAssemblerParameterizedLabel<> block96(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5516 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5517 : compiler::CodeAssemblerParameterizedLabel<> block98(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5518 : ca_.Goto(&block0);
5519 :
5520 4 : if (block0.is_used()) {
5521 : ca_.Bind(&block0);
5522 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 551);
5523 : compiler::TNode<BoolT> tmp0;
5524 : USE(tmp0);
5525 12 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5526 : compiler::TNode<BoolT> tmp1;
5527 : USE(tmp1);
5528 12 : tmp1 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5529 : compiler::TNode<BoolT> tmp2;
5530 : USE(tmp2);
5531 12 : tmp2 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5532 : compiler::TNode<BoolT> tmp3;
5533 : USE(tmp3);
5534 12 : tmp3 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp0}, compiler::TNode<BoolT>{tmp1}, compiler::TNode<BoolT>{tmp2}));
5535 4 : ca_.Branch(tmp3, &block2, &block3);
5536 : }
5537 :
5538 4 : if (block3.is_used()) {
5539 : ca_.Bind(&block3);
5540 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr1(true, true, true)\' failed", "../../test/torque/test-torque.tq", 551);
5541 : }
5542 :
5543 4 : if (block2.is_used()) {
5544 : ca_.Bind(&block2);
5545 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 552);
5546 : compiler::TNode<BoolT> tmp4;
5547 : USE(tmp4);
5548 12 : tmp4 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5549 : compiler::TNode<BoolT> tmp5;
5550 : USE(tmp5);
5551 12 : tmp5 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5552 : compiler::TNode<BoolT> tmp6;
5553 : USE(tmp6);
5554 12 : tmp6 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5555 : compiler::TNode<BoolT> tmp7;
5556 : USE(tmp7);
5557 12 : tmp7 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp4}, compiler::TNode<BoolT>{tmp5}, compiler::TNode<BoolT>{tmp6}));
5558 4 : ca_.Branch(tmp7, &block4, &block5);
5559 : }
5560 :
5561 4 : if (block5.is_used()) {
5562 : ca_.Bind(&block5);
5563 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr2(true, true, true)\' failed", "../../test/torque/test-torque.tq", 552);
5564 : }
5565 :
5566 4 : if (block4.is_used()) {
5567 : ca_.Bind(&block4);
5568 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 553);
5569 : compiler::TNode<BoolT> tmp8;
5570 : USE(tmp8);
5571 12 : tmp8 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5572 : compiler::TNode<BoolT> tmp9;
5573 : USE(tmp9);
5574 12 : tmp9 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5575 : compiler::TNode<BoolT> tmp10;
5576 : USE(tmp10);
5577 12 : tmp10 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5578 : compiler::TNode<BoolT> tmp11;
5579 : USE(tmp11);
5580 12 : tmp11 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp8}, compiler::TNode<BoolT>{tmp9}, compiler::TNode<BoolT>{tmp10}));
5581 4 : ca_.Branch(tmp11, &block6, &block7);
5582 : }
5583 :
5584 4 : if (block7.is_used()) {
5585 : ca_.Bind(&block7);
5586 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr3(true, true, true)\' failed", "../../test/torque/test-torque.tq", 553);
5587 : }
5588 :
5589 4 : if (block6.is_used()) {
5590 : ca_.Bind(&block6);
5591 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 554);
5592 : compiler::TNode<BoolT> tmp12;
5593 : USE(tmp12);
5594 12 : tmp12 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5595 : compiler::TNode<BoolT> tmp13;
5596 : USE(tmp13);
5597 12 : tmp13 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5598 : compiler::TNode<BoolT> tmp14;
5599 : USE(tmp14);
5600 12 : tmp14 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5601 : compiler::TNode<BoolT> tmp15;
5602 : USE(tmp15);
5603 12 : tmp15 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp12}, compiler::TNode<BoolT>{tmp13}, compiler::TNode<BoolT>{tmp14}));
5604 4 : ca_.Branch(tmp15, &block8, &block9);
5605 : }
5606 :
5607 4 : if (block9.is_used()) {
5608 : ca_.Bind(&block9);
5609 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr1(true, true, false)\' failed", "../../test/torque/test-torque.tq", 554);
5610 : }
5611 :
5612 4 : if (block8.is_used()) {
5613 : ca_.Bind(&block8);
5614 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 555);
5615 : compiler::TNode<BoolT> tmp16;
5616 : USE(tmp16);
5617 12 : tmp16 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5618 : compiler::TNode<BoolT> tmp17;
5619 : USE(tmp17);
5620 12 : tmp17 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5621 : compiler::TNode<BoolT> tmp18;
5622 : USE(tmp18);
5623 12 : tmp18 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5624 : compiler::TNode<BoolT> tmp19;
5625 : USE(tmp19);
5626 12 : tmp19 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp16}, compiler::TNode<BoolT>{tmp17}, compiler::TNode<BoolT>{tmp18}));
5627 4 : ca_.Branch(tmp19, &block10, &block11);
5628 : }
5629 :
5630 4 : if (block11.is_used()) {
5631 : ca_.Bind(&block11);
5632 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr2(true, true, false)\' failed", "../../test/torque/test-torque.tq", 555);
5633 : }
5634 :
5635 4 : if (block10.is_used()) {
5636 : ca_.Bind(&block10);
5637 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 556);
5638 : compiler::TNode<BoolT> tmp20;
5639 : USE(tmp20);
5640 12 : tmp20 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5641 : compiler::TNode<BoolT> tmp21;
5642 : USE(tmp21);
5643 12 : tmp21 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5644 : compiler::TNode<BoolT> tmp22;
5645 : USE(tmp22);
5646 12 : tmp22 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5647 : compiler::TNode<BoolT> tmp23;
5648 : USE(tmp23);
5649 12 : tmp23 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp20}, compiler::TNode<BoolT>{tmp21}, compiler::TNode<BoolT>{tmp22}));
5650 4 : ca_.Branch(tmp23, &block12, &block13);
5651 : }
5652 :
5653 4 : if (block13.is_used()) {
5654 : ca_.Bind(&block13);
5655 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr3(true, true, false)\' failed", "../../test/torque/test-torque.tq", 556);
5656 : }
5657 :
5658 4 : if (block12.is_used()) {
5659 : ca_.Bind(&block12);
5660 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 557);
5661 : compiler::TNode<BoolT> tmp24;
5662 : USE(tmp24);
5663 12 : tmp24 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5664 : compiler::TNode<BoolT> tmp25;
5665 : USE(tmp25);
5666 12 : tmp25 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5667 : compiler::TNode<BoolT> tmp26;
5668 : USE(tmp26);
5669 12 : tmp26 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5670 : compiler::TNode<BoolT> tmp27;
5671 : USE(tmp27);
5672 12 : tmp27 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp24}, compiler::TNode<BoolT>{tmp25}, compiler::TNode<BoolT>{tmp26}));
5673 4 : ca_.Branch(tmp27, &block14, &block15);
5674 : }
5675 :
5676 4 : if (block15.is_used()) {
5677 : ca_.Bind(&block15);
5678 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr1(true, false, true)\' failed", "../../test/torque/test-torque.tq", 557);
5679 : }
5680 :
5681 4 : if (block14.is_used()) {
5682 : ca_.Bind(&block14);
5683 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 558);
5684 : compiler::TNode<BoolT> tmp28;
5685 : USE(tmp28);
5686 12 : tmp28 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5687 : compiler::TNode<BoolT> tmp29;
5688 : USE(tmp29);
5689 12 : tmp29 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5690 : compiler::TNode<BoolT> tmp30;
5691 : USE(tmp30);
5692 12 : tmp30 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5693 : compiler::TNode<BoolT> tmp31;
5694 : USE(tmp31);
5695 12 : tmp31 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp28}, compiler::TNode<BoolT>{tmp29}, compiler::TNode<BoolT>{tmp30}));
5696 4 : ca_.Branch(tmp31, &block16, &block17);
5697 : }
5698 :
5699 4 : if (block17.is_used()) {
5700 : ca_.Bind(&block17);
5701 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr2(true, false, true)\' failed", "../../test/torque/test-torque.tq", 558);
5702 : }
5703 :
5704 4 : if (block16.is_used()) {
5705 : ca_.Bind(&block16);
5706 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 559);
5707 : compiler::TNode<BoolT> tmp32;
5708 : USE(tmp32);
5709 12 : tmp32 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5710 : compiler::TNode<BoolT> tmp33;
5711 : USE(tmp33);
5712 12 : tmp33 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5713 : compiler::TNode<BoolT> tmp34;
5714 : USE(tmp34);
5715 12 : tmp34 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5716 : compiler::TNode<BoolT> tmp35;
5717 : USE(tmp35);
5718 12 : tmp35 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp32}, compiler::TNode<BoolT>{tmp33}, compiler::TNode<BoolT>{tmp34}));
5719 4 : ca_.Branch(tmp35, &block18, &block19);
5720 : }
5721 :
5722 4 : if (block19.is_used()) {
5723 : ca_.Bind(&block19);
5724 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr3(true, false, true)\' failed", "../../test/torque/test-torque.tq", 559);
5725 : }
5726 :
5727 4 : if (block18.is_used()) {
5728 : ca_.Bind(&block18);
5729 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 560);
5730 : compiler::TNode<BoolT> tmp36;
5731 : USE(tmp36);
5732 12 : tmp36 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5733 : compiler::TNode<BoolT> tmp37;
5734 : USE(tmp37);
5735 12 : tmp37 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5736 : compiler::TNode<BoolT> tmp38;
5737 : USE(tmp38);
5738 12 : tmp38 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5739 : compiler::TNode<BoolT> tmp39;
5740 : USE(tmp39);
5741 12 : tmp39 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp36}, compiler::TNode<BoolT>{tmp37}, compiler::TNode<BoolT>{tmp38}));
5742 : compiler::TNode<BoolT> tmp40;
5743 : USE(tmp40);
5744 8 : tmp40 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp39}));
5745 4 : ca_.Branch(tmp40, &block20, &block21);
5746 : }
5747 :
5748 4 : if (block21.is_used()) {
5749 : ca_.Bind(&block21);
5750 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr1(true, false, false)\' failed", "../../test/torque/test-torque.tq", 560);
5751 : }
5752 :
5753 4 : if (block20.is_used()) {
5754 : ca_.Bind(&block20);
5755 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 561);
5756 : compiler::TNode<BoolT> tmp41;
5757 : USE(tmp41);
5758 12 : tmp41 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5759 : compiler::TNode<BoolT> tmp42;
5760 : USE(tmp42);
5761 12 : tmp42 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5762 : compiler::TNode<BoolT> tmp43;
5763 : USE(tmp43);
5764 12 : tmp43 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5765 : compiler::TNode<BoolT> tmp44;
5766 : USE(tmp44);
5767 12 : tmp44 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp41}, compiler::TNode<BoolT>{tmp42}, compiler::TNode<BoolT>{tmp43}));
5768 : compiler::TNode<BoolT> tmp45;
5769 : USE(tmp45);
5770 8 : tmp45 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp44}));
5771 4 : ca_.Branch(tmp45, &block22, &block23);
5772 : }
5773 :
5774 4 : if (block23.is_used()) {
5775 : ca_.Bind(&block23);
5776 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr2(true, false, false)\' failed", "../../test/torque/test-torque.tq", 561);
5777 : }
5778 :
5779 4 : if (block22.is_used()) {
5780 : ca_.Bind(&block22);
5781 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 562);
5782 : compiler::TNode<BoolT> tmp46;
5783 : USE(tmp46);
5784 12 : tmp46 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5785 : compiler::TNode<BoolT> tmp47;
5786 : USE(tmp47);
5787 12 : tmp47 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5788 : compiler::TNode<BoolT> tmp48;
5789 : USE(tmp48);
5790 12 : tmp48 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5791 : compiler::TNode<BoolT> tmp49;
5792 : USE(tmp49);
5793 12 : tmp49 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp46}, compiler::TNode<BoolT>{tmp47}, compiler::TNode<BoolT>{tmp48}));
5794 : compiler::TNode<BoolT> tmp50;
5795 : USE(tmp50);
5796 8 : tmp50 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp49}));
5797 4 : ca_.Branch(tmp50, &block24, &block25);
5798 : }
5799 :
5800 4 : if (block25.is_used()) {
5801 : ca_.Bind(&block25);
5802 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr3(true, false, false)\' failed", "../../test/torque/test-torque.tq", 562);
5803 : }
5804 :
5805 4 : if (block24.is_used()) {
5806 : ca_.Bind(&block24);
5807 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 563);
5808 : compiler::TNode<BoolT> tmp51;
5809 : USE(tmp51);
5810 12 : tmp51 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5811 : compiler::TNode<BoolT> tmp52;
5812 : USE(tmp52);
5813 12 : tmp52 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5814 : compiler::TNode<BoolT> tmp53;
5815 : USE(tmp53);
5816 12 : tmp53 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5817 : compiler::TNode<BoolT> tmp54;
5818 : USE(tmp54);
5819 12 : tmp54 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp51}, compiler::TNode<BoolT>{tmp52}, compiler::TNode<BoolT>{tmp53}));
5820 4 : ca_.Branch(tmp54, &block26, &block27);
5821 : }
5822 :
5823 4 : if (block27.is_used()) {
5824 : ca_.Bind(&block27);
5825 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr1(false, true, true)\' failed", "../../test/torque/test-torque.tq", 563);
5826 : }
5827 :
5828 4 : if (block26.is_used()) {
5829 : ca_.Bind(&block26);
5830 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 564);
5831 : compiler::TNode<BoolT> tmp55;
5832 : USE(tmp55);
5833 12 : tmp55 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5834 : compiler::TNode<BoolT> tmp56;
5835 : USE(tmp56);
5836 12 : tmp56 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5837 : compiler::TNode<BoolT> tmp57;
5838 : USE(tmp57);
5839 12 : tmp57 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5840 : compiler::TNode<BoolT> tmp58;
5841 : USE(tmp58);
5842 12 : tmp58 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp55}, compiler::TNode<BoolT>{tmp56}, compiler::TNode<BoolT>{tmp57}));
5843 4 : ca_.Branch(tmp58, &block28, &block29);
5844 : }
5845 :
5846 4 : if (block29.is_used()) {
5847 : ca_.Bind(&block29);
5848 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr2(false, true, true)\' failed", "../../test/torque/test-torque.tq", 564);
5849 : }
5850 :
5851 4 : if (block28.is_used()) {
5852 : ca_.Bind(&block28);
5853 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 565);
5854 : compiler::TNode<BoolT> tmp59;
5855 : USE(tmp59);
5856 12 : tmp59 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5857 : compiler::TNode<BoolT> tmp60;
5858 : USE(tmp60);
5859 12 : tmp60 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5860 : compiler::TNode<BoolT> tmp61;
5861 : USE(tmp61);
5862 12 : tmp61 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5863 : compiler::TNode<BoolT> tmp62;
5864 : USE(tmp62);
5865 12 : tmp62 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp59}, compiler::TNode<BoolT>{tmp60}, compiler::TNode<BoolT>{tmp61}));
5866 4 : ca_.Branch(tmp62, &block30, &block31);
5867 : }
5868 :
5869 4 : if (block31.is_used()) {
5870 : ca_.Bind(&block31);
5871 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr3(false, true, true)\' failed", "../../test/torque/test-torque.tq", 565);
5872 : }
5873 :
5874 4 : if (block30.is_used()) {
5875 : ca_.Bind(&block30);
5876 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 566);
5877 : compiler::TNode<BoolT> tmp63;
5878 : USE(tmp63);
5879 12 : tmp63 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5880 : compiler::TNode<BoolT> tmp64;
5881 : USE(tmp64);
5882 12 : tmp64 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5883 : compiler::TNode<BoolT> tmp65;
5884 : USE(tmp65);
5885 12 : tmp65 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5886 : compiler::TNode<BoolT> tmp66;
5887 : USE(tmp66);
5888 12 : tmp66 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp63}, compiler::TNode<BoolT>{tmp64}, compiler::TNode<BoolT>{tmp65}));
5889 : compiler::TNode<BoolT> tmp67;
5890 : USE(tmp67);
5891 8 : tmp67 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp66}));
5892 4 : ca_.Branch(tmp67, &block32, &block33);
5893 : }
5894 :
5895 4 : if (block33.is_used()) {
5896 : ca_.Bind(&block33);
5897 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr1(false, true, false)\' failed", "../../test/torque/test-torque.tq", 566);
5898 : }
5899 :
5900 4 : if (block32.is_used()) {
5901 : ca_.Bind(&block32);
5902 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 567);
5903 : compiler::TNode<BoolT> tmp68;
5904 : USE(tmp68);
5905 12 : tmp68 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5906 : compiler::TNode<BoolT> tmp69;
5907 : USE(tmp69);
5908 12 : tmp69 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5909 : compiler::TNode<BoolT> tmp70;
5910 : USE(tmp70);
5911 12 : tmp70 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5912 : compiler::TNode<BoolT> tmp71;
5913 : USE(tmp71);
5914 12 : tmp71 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp68}, compiler::TNode<BoolT>{tmp69}, compiler::TNode<BoolT>{tmp70}));
5915 : compiler::TNode<BoolT> tmp72;
5916 : USE(tmp72);
5917 8 : tmp72 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp71}));
5918 4 : ca_.Branch(tmp72, &block34, &block35);
5919 : }
5920 :
5921 4 : if (block35.is_used()) {
5922 : ca_.Bind(&block35);
5923 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr2(false, true, false)\' failed", "../../test/torque/test-torque.tq", 567);
5924 : }
5925 :
5926 4 : if (block34.is_used()) {
5927 : ca_.Bind(&block34);
5928 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 568);
5929 : compiler::TNode<BoolT> tmp73;
5930 : USE(tmp73);
5931 12 : tmp73 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5932 : compiler::TNode<BoolT> tmp74;
5933 : USE(tmp74);
5934 12 : tmp74 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5935 : compiler::TNode<BoolT> tmp75;
5936 : USE(tmp75);
5937 12 : tmp75 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5938 : compiler::TNode<BoolT> tmp76;
5939 : USE(tmp76);
5940 12 : tmp76 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp73}, compiler::TNode<BoolT>{tmp74}, compiler::TNode<BoolT>{tmp75}));
5941 : compiler::TNode<BoolT> tmp77;
5942 : USE(tmp77);
5943 8 : tmp77 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp76}));
5944 4 : ca_.Branch(tmp77, &block36, &block37);
5945 : }
5946 :
5947 4 : if (block37.is_used()) {
5948 : ca_.Bind(&block37);
5949 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr3(false, true, false)\' failed", "../../test/torque/test-torque.tq", 568);
5950 : }
5951 :
5952 4 : if (block36.is_used()) {
5953 : ca_.Bind(&block36);
5954 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 569);
5955 : compiler::TNode<BoolT> tmp78;
5956 : USE(tmp78);
5957 12 : tmp78 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5958 : compiler::TNode<BoolT> tmp79;
5959 : USE(tmp79);
5960 12 : tmp79 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5961 : compiler::TNode<BoolT> tmp80;
5962 : USE(tmp80);
5963 12 : tmp80 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5964 : compiler::TNode<BoolT> tmp81;
5965 : USE(tmp81);
5966 12 : tmp81 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp78}, compiler::TNode<BoolT>{tmp79}, compiler::TNode<BoolT>{tmp80}));
5967 4 : ca_.Branch(tmp81, &block38, &block39);
5968 : }
5969 :
5970 4 : if (block39.is_used()) {
5971 : ca_.Bind(&block39);
5972 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr1(false, false, true)\' failed", "../../test/torque/test-torque.tq", 569);
5973 : }
5974 :
5975 4 : if (block38.is_used()) {
5976 : ca_.Bind(&block38);
5977 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 570);
5978 : compiler::TNode<BoolT> tmp82;
5979 : USE(tmp82);
5980 12 : tmp82 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5981 : compiler::TNode<BoolT> tmp83;
5982 : USE(tmp83);
5983 12 : tmp83 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5984 : compiler::TNode<BoolT> tmp84;
5985 : USE(tmp84);
5986 12 : tmp84 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5987 : compiler::TNode<BoolT> tmp85;
5988 : USE(tmp85);
5989 12 : tmp85 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp82}, compiler::TNode<BoolT>{tmp83}, compiler::TNode<BoolT>{tmp84}));
5990 4 : ca_.Branch(tmp85, &block40, &block41);
5991 : }
5992 :
5993 4 : if (block41.is_used()) {
5994 : ca_.Bind(&block41);
5995 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr2(false, false, true)\' failed", "../../test/torque/test-torque.tq", 570);
5996 : }
5997 :
5998 4 : if (block40.is_used()) {
5999 : ca_.Bind(&block40);
6000 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 571);
6001 : compiler::TNode<BoolT> tmp86;
6002 : USE(tmp86);
6003 12 : tmp86 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6004 : compiler::TNode<BoolT> tmp87;
6005 : USE(tmp87);
6006 12 : tmp87 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6007 : compiler::TNode<BoolT> tmp88;
6008 : USE(tmp88);
6009 12 : tmp88 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6010 : compiler::TNode<BoolT> tmp89;
6011 : USE(tmp89);
6012 12 : tmp89 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp86}, compiler::TNode<BoolT>{tmp87}, compiler::TNode<BoolT>{tmp88}));
6013 4 : ca_.Branch(tmp89, &block42, &block43);
6014 : }
6015 :
6016 4 : if (block43.is_used()) {
6017 : ca_.Bind(&block43);
6018 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr3(false, false, true)\' failed", "../../test/torque/test-torque.tq", 571);
6019 : }
6020 :
6021 4 : if (block42.is_used()) {
6022 : ca_.Bind(&block42);
6023 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 572);
6024 : compiler::TNode<BoolT> tmp90;
6025 : USE(tmp90);
6026 12 : tmp90 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6027 : compiler::TNode<BoolT> tmp91;
6028 : USE(tmp91);
6029 12 : tmp91 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6030 : compiler::TNode<BoolT> tmp92;
6031 : USE(tmp92);
6032 12 : tmp92 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6033 : compiler::TNode<BoolT> tmp93;
6034 : USE(tmp93);
6035 12 : tmp93 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp90}, compiler::TNode<BoolT>{tmp91}, compiler::TNode<BoolT>{tmp92}));
6036 : compiler::TNode<BoolT> tmp94;
6037 : USE(tmp94);
6038 8 : tmp94 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp93}));
6039 4 : ca_.Branch(tmp94, &block44, &block45);
6040 : }
6041 :
6042 4 : if (block45.is_used()) {
6043 : ca_.Bind(&block45);
6044 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr1(false, false, false)\' failed", "../../test/torque/test-torque.tq", 572);
6045 : }
6046 :
6047 4 : if (block44.is_used()) {
6048 : ca_.Bind(&block44);
6049 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 573);
6050 : compiler::TNode<BoolT> tmp95;
6051 : USE(tmp95);
6052 12 : tmp95 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6053 : compiler::TNode<BoolT> tmp96;
6054 : USE(tmp96);
6055 12 : tmp96 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6056 : compiler::TNode<BoolT> tmp97;
6057 : USE(tmp97);
6058 12 : tmp97 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6059 : compiler::TNode<BoolT> tmp98;
6060 : USE(tmp98);
6061 12 : tmp98 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp95}, compiler::TNode<BoolT>{tmp96}, compiler::TNode<BoolT>{tmp97}));
6062 : compiler::TNode<BoolT> tmp99;
6063 : USE(tmp99);
6064 8 : tmp99 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp98}));
6065 4 : ca_.Branch(tmp99, &block46, &block47);
6066 : }
6067 :
6068 4 : if (block47.is_used()) {
6069 : ca_.Bind(&block47);
6070 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr2(false, false, false)\' failed", "../../test/torque/test-torque.tq", 573);
6071 : }
6072 :
6073 4 : if (block46.is_used()) {
6074 : ca_.Bind(&block46);
6075 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 574);
6076 : compiler::TNode<BoolT> tmp100;
6077 : USE(tmp100);
6078 12 : tmp100 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6079 : compiler::TNode<BoolT> tmp101;
6080 : USE(tmp101);
6081 12 : tmp101 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6082 : compiler::TNode<BoolT> tmp102;
6083 : USE(tmp102);
6084 12 : tmp102 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6085 : compiler::TNode<BoolT> tmp103;
6086 : USE(tmp103);
6087 12 : tmp103 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp100}, compiler::TNode<BoolT>{tmp101}, compiler::TNode<BoolT>{tmp102}));
6088 : compiler::TNode<BoolT> tmp104;
6089 : USE(tmp104);
6090 8 : tmp104 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp103}));
6091 4 : ca_.Branch(tmp104, &block48, &block49);
6092 : }
6093 :
6094 4 : if (block49.is_used()) {
6095 : ca_.Bind(&block49);
6096 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr3(false, false, false)\' failed", "../../test/torque/test-torque.tq", 574);
6097 : }
6098 :
6099 4 : if (block48.is_used()) {
6100 : ca_.Bind(&block48);
6101 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 575);
6102 : compiler::TNode<BoolT> tmp105;
6103 : USE(tmp105);
6104 12 : tmp105 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6105 : compiler::TNode<BoolT> tmp106;
6106 : USE(tmp106);
6107 12 : tmp106 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6108 : compiler::TNode<BoolT> tmp107;
6109 : USE(tmp107);
6110 12 : tmp107 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6111 : compiler::TNode<BoolT> tmp108;
6112 : USE(tmp108);
6113 12 : tmp108 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp105}, compiler::TNode<BoolT>{tmp106}, compiler::TNode<BoolT>{tmp107}));
6114 4 : ca_.Branch(tmp108, &block50, &block51);
6115 : }
6116 :
6117 4 : if (block51.is_used()) {
6118 : ca_.Bind(&block51);
6119 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd1(true, true, true)\' failed", "../../test/torque/test-torque.tq", 575);
6120 : }
6121 :
6122 4 : if (block50.is_used()) {
6123 : ca_.Bind(&block50);
6124 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 576);
6125 : compiler::TNode<BoolT> tmp109;
6126 : USE(tmp109);
6127 12 : tmp109 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6128 : compiler::TNode<BoolT> tmp110;
6129 : USE(tmp110);
6130 12 : tmp110 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6131 : compiler::TNode<BoolT> tmp111;
6132 : USE(tmp111);
6133 12 : tmp111 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6134 : compiler::TNode<BoolT> tmp112;
6135 : USE(tmp112);
6136 12 : tmp112 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp109}, compiler::TNode<BoolT>{tmp110}, compiler::TNode<BoolT>{tmp111}));
6137 4 : ca_.Branch(tmp112, &block52, &block53);
6138 : }
6139 :
6140 4 : if (block53.is_used()) {
6141 : ca_.Bind(&block53);
6142 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd2(true, true, true)\' failed", "../../test/torque/test-torque.tq", 576);
6143 : }
6144 :
6145 4 : if (block52.is_used()) {
6146 : ca_.Bind(&block52);
6147 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 577);
6148 : compiler::TNode<BoolT> tmp113;
6149 : USE(tmp113);
6150 12 : tmp113 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6151 : compiler::TNode<BoolT> tmp114;
6152 : USE(tmp114);
6153 12 : tmp114 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6154 : compiler::TNode<BoolT> tmp115;
6155 : USE(tmp115);
6156 12 : tmp115 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6157 : compiler::TNode<BoolT> tmp116;
6158 : USE(tmp116);
6159 12 : tmp116 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp113}, compiler::TNode<BoolT>{tmp114}, compiler::TNode<BoolT>{tmp115}));
6160 4 : ca_.Branch(tmp116, &block54, &block55);
6161 : }
6162 :
6163 4 : if (block55.is_used()) {
6164 : ca_.Bind(&block55);
6165 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd3(true, true, true)\' failed", "../../test/torque/test-torque.tq", 577);
6166 : }
6167 :
6168 4 : if (block54.is_used()) {
6169 : ca_.Bind(&block54);
6170 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 578);
6171 : compiler::TNode<BoolT> tmp117;
6172 : USE(tmp117);
6173 12 : tmp117 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6174 : compiler::TNode<BoolT> tmp118;
6175 : USE(tmp118);
6176 12 : tmp118 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6177 : compiler::TNode<BoolT> tmp119;
6178 : USE(tmp119);
6179 12 : tmp119 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6180 : compiler::TNode<BoolT> tmp120;
6181 : USE(tmp120);
6182 12 : tmp120 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp117}, compiler::TNode<BoolT>{tmp118}, compiler::TNode<BoolT>{tmp119}));
6183 4 : ca_.Branch(tmp120, &block56, &block57);
6184 : }
6185 :
6186 4 : if (block57.is_used()) {
6187 : ca_.Bind(&block57);
6188 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd1(true, true, false)\' failed", "../../test/torque/test-torque.tq", 578);
6189 : }
6190 :
6191 4 : if (block56.is_used()) {
6192 : ca_.Bind(&block56);
6193 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 579);
6194 : compiler::TNode<BoolT> tmp121;
6195 : USE(tmp121);
6196 12 : tmp121 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6197 : compiler::TNode<BoolT> tmp122;
6198 : USE(tmp122);
6199 12 : tmp122 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6200 : compiler::TNode<BoolT> tmp123;
6201 : USE(tmp123);
6202 12 : tmp123 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6203 : compiler::TNode<BoolT> tmp124;
6204 : USE(tmp124);
6205 12 : tmp124 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp121}, compiler::TNode<BoolT>{tmp122}, compiler::TNode<BoolT>{tmp123}));
6206 4 : ca_.Branch(tmp124, &block58, &block59);
6207 : }
6208 :
6209 4 : if (block59.is_used()) {
6210 : ca_.Bind(&block59);
6211 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd2(true, true, false)\' failed", "../../test/torque/test-torque.tq", 579);
6212 : }
6213 :
6214 4 : if (block58.is_used()) {
6215 : ca_.Bind(&block58);
6216 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 580);
6217 : compiler::TNode<BoolT> tmp125;
6218 : USE(tmp125);
6219 12 : tmp125 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6220 : compiler::TNode<BoolT> tmp126;
6221 : USE(tmp126);
6222 12 : tmp126 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6223 : compiler::TNode<BoolT> tmp127;
6224 : USE(tmp127);
6225 12 : tmp127 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6226 : compiler::TNode<BoolT> tmp128;
6227 : USE(tmp128);
6228 12 : tmp128 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp125}, compiler::TNode<BoolT>{tmp126}, compiler::TNode<BoolT>{tmp127}));
6229 4 : ca_.Branch(tmp128, &block60, &block61);
6230 : }
6231 :
6232 4 : if (block61.is_used()) {
6233 : ca_.Bind(&block61);
6234 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd3(true, true, false)\' failed", "../../test/torque/test-torque.tq", 580);
6235 : }
6236 :
6237 4 : if (block60.is_used()) {
6238 : ca_.Bind(&block60);
6239 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 581);
6240 : compiler::TNode<BoolT> tmp129;
6241 : USE(tmp129);
6242 12 : tmp129 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6243 : compiler::TNode<BoolT> tmp130;
6244 : USE(tmp130);
6245 12 : tmp130 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6246 : compiler::TNode<BoolT> tmp131;
6247 : USE(tmp131);
6248 12 : tmp131 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6249 : compiler::TNode<BoolT> tmp132;
6250 : USE(tmp132);
6251 12 : tmp132 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp129}, compiler::TNode<BoolT>{tmp130}, compiler::TNode<BoolT>{tmp131}));
6252 4 : ca_.Branch(tmp132, &block62, &block63);
6253 : }
6254 :
6255 4 : if (block63.is_used()) {
6256 : ca_.Bind(&block63);
6257 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd1(true, false, true)\' failed", "../../test/torque/test-torque.tq", 581);
6258 : }
6259 :
6260 4 : if (block62.is_used()) {
6261 : ca_.Bind(&block62);
6262 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 582);
6263 : compiler::TNode<BoolT> tmp133;
6264 : USE(tmp133);
6265 12 : tmp133 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6266 : compiler::TNode<BoolT> tmp134;
6267 : USE(tmp134);
6268 12 : tmp134 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6269 : compiler::TNode<BoolT> tmp135;
6270 : USE(tmp135);
6271 12 : tmp135 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6272 : compiler::TNode<BoolT> tmp136;
6273 : USE(tmp136);
6274 12 : tmp136 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp133}, compiler::TNode<BoolT>{tmp134}, compiler::TNode<BoolT>{tmp135}));
6275 4 : ca_.Branch(tmp136, &block64, &block65);
6276 : }
6277 :
6278 4 : if (block65.is_used()) {
6279 : ca_.Bind(&block65);
6280 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd2(true, false, true)\' failed", "../../test/torque/test-torque.tq", 582);
6281 : }
6282 :
6283 4 : if (block64.is_used()) {
6284 : ca_.Bind(&block64);
6285 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 583);
6286 : compiler::TNode<BoolT> tmp137;
6287 : USE(tmp137);
6288 12 : tmp137 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6289 : compiler::TNode<BoolT> tmp138;
6290 : USE(tmp138);
6291 12 : tmp138 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6292 : compiler::TNode<BoolT> tmp139;
6293 : USE(tmp139);
6294 12 : tmp139 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6295 : compiler::TNode<BoolT> tmp140;
6296 : USE(tmp140);
6297 12 : tmp140 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp137}, compiler::TNode<BoolT>{tmp138}, compiler::TNode<BoolT>{tmp139}));
6298 4 : ca_.Branch(tmp140, &block66, &block67);
6299 : }
6300 :
6301 4 : if (block67.is_used()) {
6302 : ca_.Bind(&block67);
6303 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd3(true, false, true)\' failed", "../../test/torque/test-torque.tq", 583);
6304 : }
6305 :
6306 4 : if (block66.is_used()) {
6307 : ca_.Bind(&block66);
6308 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 584);
6309 : compiler::TNode<BoolT> tmp141;
6310 : USE(tmp141);
6311 12 : tmp141 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6312 : compiler::TNode<BoolT> tmp142;
6313 : USE(tmp142);
6314 12 : tmp142 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6315 : compiler::TNode<BoolT> tmp143;
6316 : USE(tmp143);
6317 12 : tmp143 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6318 : compiler::TNode<BoolT> tmp144;
6319 : USE(tmp144);
6320 12 : tmp144 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp141}, compiler::TNode<BoolT>{tmp142}, compiler::TNode<BoolT>{tmp143}));
6321 4 : ca_.Branch(tmp144, &block68, &block69);
6322 : }
6323 :
6324 4 : if (block69.is_used()) {
6325 : ca_.Bind(&block69);
6326 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd1(true, false, false)\' failed", "../../test/torque/test-torque.tq", 584);
6327 : }
6328 :
6329 4 : if (block68.is_used()) {
6330 : ca_.Bind(&block68);
6331 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 585);
6332 : compiler::TNode<BoolT> tmp145;
6333 : USE(tmp145);
6334 12 : tmp145 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6335 : compiler::TNode<BoolT> tmp146;
6336 : USE(tmp146);
6337 12 : tmp146 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6338 : compiler::TNode<BoolT> tmp147;
6339 : USE(tmp147);
6340 12 : tmp147 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6341 : compiler::TNode<BoolT> tmp148;
6342 : USE(tmp148);
6343 12 : tmp148 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp145}, compiler::TNode<BoolT>{tmp146}, compiler::TNode<BoolT>{tmp147}));
6344 4 : ca_.Branch(tmp148, &block70, &block71);
6345 : }
6346 :
6347 4 : if (block71.is_used()) {
6348 : ca_.Bind(&block71);
6349 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd2(true, false, false)\' failed", "../../test/torque/test-torque.tq", 585);
6350 : }
6351 :
6352 4 : if (block70.is_used()) {
6353 : ca_.Bind(&block70);
6354 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 586);
6355 : compiler::TNode<BoolT> tmp149;
6356 : USE(tmp149);
6357 12 : tmp149 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6358 : compiler::TNode<BoolT> tmp150;
6359 : USE(tmp150);
6360 12 : tmp150 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6361 : compiler::TNode<BoolT> tmp151;
6362 : USE(tmp151);
6363 12 : tmp151 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6364 : compiler::TNode<BoolT> tmp152;
6365 : USE(tmp152);
6366 12 : tmp152 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp149}, compiler::TNode<BoolT>{tmp150}, compiler::TNode<BoolT>{tmp151}));
6367 4 : ca_.Branch(tmp152, &block72, &block73);
6368 : }
6369 :
6370 4 : if (block73.is_used()) {
6371 : ca_.Bind(&block73);
6372 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd3(true, false, false)\' failed", "../../test/torque/test-torque.tq", 586);
6373 : }
6374 :
6375 4 : if (block72.is_used()) {
6376 : ca_.Bind(&block72);
6377 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 587);
6378 : compiler::TNode<BoolT> tmp153;
6379 : USE(tmp153);
6380 12 : tmp153 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6381 : compiler::TNode<BoolT> tmp154;
6382 : USE(tmp154);
6383 12 : tmp154 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6384 : compiler::TNode<BoolT> tmp155;
6385 : USE(tmp155);
6386 12 : tmp155 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6387 : compiler::TNode<BoolT> tmp156;
6388 : USE(tmp156);
6389 12 : tmp156 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp153}, compiler::TNode<BoolT>{tmp154}, compiler::TNode<BoolT>{tmp155}));
6390 4 : ca_.Branch(tmp156, &block74, &block75);
6391 : }
6392 :
6393 4 : if (block75.is_used()) {
6394 : ca_.Bind(&block75);
6395 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd1(false, true, true)\' failed", "../../test/torque/test-torque.tq", 587);
6396 : }
6397 :
6398 4 : if (block74.is_used()) {
6399 : ca_.Bind(&block74);
6400 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 588);
6401 : compiler::TNode<BoolT> tmp157;
6402 : USE(tmp157);
6403 12 : tmp157 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6404 : compiler::TNode<BoolT> tmp158;
6405 : USE(tmp158);
6406 12 : tmp158 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6407 : compiler::TNode<BoolT> tmp159;
6408 : USE(tmp159);
6409 12 : tmp159 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6410 : compiler::TNode<BoolT> tmp160;
6411 : USE(tmp160);
6412 12 : tmp160 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp157}, compiler::TNode<BoolT>{tmp158}, compiler::TNode<BoolT>{tmp159}));
6413 4 : ca_.Branch(tmp160, &block76, &block77);
6414 : }
6415 :
6416 4 : if (block77.is_used()) {
6417 : ca_.Bind(&block77);
6418 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd2(false, true, true)\' failed", "../../test/torque/test-torque.tq", 588);
6419 : }
6420 :
6421 4 : if (block76.is_used()) {
6422 : ca_.Bind(&block76);
6423 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 589);
6424 : compiler::TNode<BoolT> tmp161;
6425 : USE(tmp161);
6426 12 : tmp161 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6427 : compiler::TNode<BoolT> tmp162;
6428 : USE(tmp162);
6429 12 : tmp162 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6430 : compiler::TNode<BoolT> tmp163;
6431 : USE(tmp163);
6432 12 : tmp163 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6433 : compiler::TNode<BoolT> tmp164;
6434 : USE(tmp164);
6435 12 : tmp164 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp161}, compiler::TNode<BoolT>{tmp162}, compiler::TNode<BoolT>{tmp163}));
6436 4 : ca_.Branch(tmp164, &block78, &block79);
6437 : }
6438 :
6439 4 : if (block79.is_used()) {
6440 : ca_.Bind(&block79);
6441 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd3(false, true, true)\' failed", "../../test/torque/test-torque.tq", 589);
6442 : }
6443 :
6444 4 : if (block78.is_used()) {
6445 : ca_.Bind(&block78);
6446 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 590);
6447 : compiler::TNode<BoolT> tmp165;
6448 : USE(tmp165);
6449 12 : tmp165 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6450 : compiler::TNode<BoolT> tmp166;
6451 : USE(tmp166);
6452 12 : tmp166 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6453 : compiler::TNode<BoolT> tmp167;
6454 : USE(tmp167);
6455 12 : tmp167 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6456 : compiler::TNode<BoolT> tmp168;
6457 : USE(tmp168);
6458 12 : tmp168 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp165}, compiler::TNode<BoolT>{tmp166}, compiler::TNode<BoolT>{tmp167}));
6459 : compiler::TNode<BoolT> tmp169;
6460 : USE(tmp169);
6461 8 : tmp169 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp168}));
6462 4 : ca_.Branch(tmp169, &block80, &block81);
6463 : }
6464 :
6465 4 : if (block81.is_used()) {
6466 : ca_.Bind(&block81);
6467 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd1(false, true, false)\' failed", "../../test/torque/test-torque.tq", 590);
6468 : }
6469 :
6470 4 : if (block80.is_used()) {
6471 : ca_.Bind(&block80);
6472 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 591);
6473 : compiler::TNode<BoolT> tmp170;
6474 : USE(tmp170);
6475 12 : tmp170 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6476 : compiler::TNode<BoolT> tmp171;
6477 : USE(tmp171);
6478 12 : tmp171 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6479 : compiler::TNode<BoolT> tmp172;
6480 : USE(tmp172);
6481 12 : tmp172 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6482 : compiler::TNode<BoolT> tmp173;
6483 : USE(tmp173);
6484 12 : tmp173 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp170}, compiler::TNode<BoolT>{tmp171}, compiler::TNode<BoolT>{tmp172}));
6485 : compiler::TNode<BoolT> tmp174;
6486 : USE(tmp174);
6487 8 : tmp174 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp173}));
6488 4 : ca_.Branch(tmp174, &block82, &block83);
6489 : }
6490 :
6491 4 : if (block83.is_used()) {
6492 : ca_.Bind(&block83);
6493 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd2(false, true, false)\' failed", "../../test/torque/test-torque.tq", 591);
6494 : }
6495 :
6496 4 : if (block82.is_used()) {
6497 : ca_.Bind(&block82);
6498 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 592);
6499 : compiler::TNode<BoolT> tmp175;
6500 : USE(tmp175);
6501 12 : tmp175 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6502 : compiler::TNode<BoolT> tmp176;
6503 : USE(tmp176);
6504 12 : tmp176 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6505 : compiler::TNode<BoolT> tmp177;
6506 : USE(tmp177);
6507 12 : tmp177 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6508 : compiler::TNode<BoolT> tmp178;
6509 : USE(tmp178);
6510 12 : tmp178 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp175}, compiler::TNode<BoolT>{tmp176}, compiler::TNode<BoolT>{tmp177}));
6511 : compiler::TNode<BoolT> tmp179;
6512 : USE(tmp179);
6513 8 : tmp179 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp178}));
6514 4 : ca_.Branch(tmp179, &block84, &block85);
6515 : }
6516 :
6517 4 : if (block85.is_used()) {
6518 : ca_.Bind(&block85);
6519 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd3(false, true, false)\' failed", "../../test/torque/test-torque.tq", 592);
6520 : }
6521 :
6522 4 : if (block84.is_used()) {
6523 : ca_.Bind(&block84);
6524 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 593);
6525 : compiler::TNode<BoolT> tmp180;
6526 : USE(tmp180);
6527 12 : tmp180 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6528 : compiler::TNode<BoolT> tmp181;
6529 : USE(tmp181);
6530 12 : tmp181 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6531 : compiler::TNode<BoolT> tmp182;
6532 : USE(tmp182);
6533 12 : tmp182 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6534 : compiler::TNode<BoolT> tmp183;
6535 : USE(tmp183);
6536 12 : tmp183 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp180}, compiler::TNode<BoolT>{tmp181}, compiler::TNode<BoolT>{tmp182}));
6537 : compiler::TNode<BoolT> tmp184;
6538 : USE(tmp184);
6539 8 : tmp184 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp183}));
6540 4 : ca_.Branch(tmp184, &block86, &block87);
6541 : }
6542 :
6543 4 : if (block87.is_used()) {
6544 : ca_.Bind(&block87);
6545 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd1(false, false, true)\' failed", "../../test/torque/test-torque.tq", 593);
6546 : }
6547 :
6548 4 : if (block86.is_used()) {
6549 : ca_.Bind(&block86);
6550 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 594);
6551 : compiler::TNode<BoolT> tmp185;
6552 : USE(tmp185);
6553 12 : tmp185 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6554 : compiler::TNode<BoolT> tmp186;
6555 : USE(tmp186);
6556 12 : tmp186 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6557 : compiler::TNode<BoolT> tmp187;
6558 : USE(tmp187);
6559 12 : tmp187 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6560 : compiler::TNode<BoolT> tmp188;
6561 : USE(tmp188);
6562 12 : tmp188 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp185}, compiler::TNode<BoolT>{tmp186}, compiler::TNode<BoolT>{tmp187}));
6563 : compiler::TNode<BoolT> tmp189;
6564 : USE(tmp189);
6565 8 : tmp189 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp188}));
6566 4 : ca_.Branch(tmp189, &block88, &block89);
6567 : }
6568 :
6569 4 : if (block89.is_used()) {
6570 : ca_.Bind(&block89);
6571 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd2(false, false, true)\' failed", "../../test/torque/test-torque.tq", 594);
6572 : }
6573 :
6574 4 : if (block88.is_used()) {
6575 : ca_.Bind(&block88);
6576 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 595);
6577 : compiler::TNode<BoolT> tmp190;
6578 : USE(tmp190);
6579 12 : tmp190 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6580 : compiler::TNode<BoolT> tmp191;
6581 : USE(tmp191);
6582 12 : tmp191 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6583 : compiler::TNode<BoolT> tmp192;
6584 : USE(tmp192);
6585 12 : tmp192 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6586 : compiler::TNode<BoolT> tmp193;
6587 : USE(tmp193);
6588 12 : tmp193 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp190}, compiler::TNode<BoolT>{tmp191}, compiler::TNode<BoolT>{tmp192}));
6589 : compiler::TNode<BoolT> tmp194;
6590 : USE(tmp194);
6591 8 : tmp194 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp193}));
6592 4 : ca_.Branch(tmp194, &block90, &block91);
6593 : }
6594 :
6595 4 : if (block91.is_used()) {
6596 : ca_.Bind(&block91);
6597 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd3(false, false, true)\' failed", "../../test/torque/test-torque.tq", 595);
6598 : }
6599 :
6600 4 : if (block90.is_used()) {
6601 : ca_.Bind(&block90);
6602 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 596);
6603 : compiler::TNode<BoolT> tmp195;
6604 : USE(tmp195);
6605 12 : tmp195 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6606 : compiler::TNode<BoolT> tmp196;
6607 : USE(tmp196);
6608 12 : tmp196 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6609 : compiler::TNode<BoolT> tmp197;
6610 : USE(tmp197);
6611 12 : tmp197 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6612 : compiler::TNode<BoolT> tmp198;
6613 : USE(tmp198);
6614 12 : tmp198 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp195}, compiler::TNode<BoolT>{tmp196}, compiler::TNode<BoolT>{tmp197}));
6615 : compiler::TNode<BoolT> tmp199;
6616 : USE(tmp199);
6617 8 : tmp199 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp198}));
6618 4 : ca_.Branch(tmp199, &block92, &block93);
6619 : }
6620 :
6621 4 : if (block93.is_used()) {
6622 : ca_.Bind(&block93);
6623 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd1(false, false, false)\' failed", "../../test/torque/test-torque.tq", 596);
6624 : }
6625 :
6626 4 : if (block92.is_used()) {
6627 : ca_.Bind(&block92);
6628 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 597);
6629 : compiler::TNode<BoolT> tmp200;
6630 : USE(tmp200);
6631 12 : tmp200 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6632 : compiler::TNode<BoolT> tmp201;
6633 : USE(tmp201);
6634 12 : tmp201 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6635 : compiler::TNode<BoolT> tmp202;
6636 : USE(tmp202);
6637 12 : tmp202 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6638 : compiler::TNode<BoolT> tmp203;
6639 : USE(tmp203);
6640 12 : tmp203 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp200}, compiler::TNode<BoolT>{tmp201}, compiler::TNode<BoolT>{tmp202}));
6641 : compiler::TNode<BoolT> tmp204;
6642 : USE(tmp204);
6643 8 : tmp204 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp203}));
6644 4 : ca_.Branch(tmp204, &block94, &block95);
6645 : }
6646 :
6647 4 : if (block95.is_used()) {
6648 : ca_.Bind(&block95);
6649 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd2(false, false, false)\' failed", "../../test/torque/test-torque.tq", 597);
6650 : }
6651 :
6652 4 : if (block94.is_used()) {
6653 : ca_.Bind(&block94);
6654 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 598);
6655 : compiler::TNode<BoolT> tmp205;
6656 : USE(tmp205);
6657 12 : tmp205 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6658 : compiler::TNode<BoolT> tmp206;
6659 : USE(tmp206);
6660 12 : tmp206 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6661 : compiler::TNode<BoolT> tmp207;
6662 : USE(tmp207);
6663 12 : tmp207 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6664 : compiler::TNode<BoolT> tmp208;
6665 : USE(tmp208);
6666 12 : tmp208 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp205}, compiler::TNode<BoolT>{tmp206}, compiler::TNode<BoolT>{tmp207}));
6667 : compiler::TNode<BoolT> tmp209;
6668 : USE(tmp209);
6669 8 : tmp209 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp208}));
6670 4 : ca_.Branch(tmp209, &block96, &block97);
6671 : }
6672 :
6673 4 : if (block97.is_used()) {
6674 : ca_.Bind(&block97);
6675 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd3(false, false, false)\' failed", "../../test/torque/test-torque.tq", 598);
6676 : }
6677 :
6678 4 : if (block96.is_used()) {
6679 : ca_.Bind(&block96);
6680 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 550);
6681 : ca_.Goto(&block1);
6682 : }
6683 :
6684 4 : if (block1.is_used()) {
6685 : ca_.Bind(&block1);
6686 : ca_.Goto(&block98);
6687 : }
6688 :
6689 : ca_.Bind(&block98);
6690 4 : }
6691 :
6692 12 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestCall(compiler::TNode<Smi> p_i, compiler::CodeAssemblerLabel* label_A) {
6693 12 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6694 : compiler::CodeAssemblerParameterizedLabel<Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6695 : compiler::CodeAssemblerParameterizedLabel<Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6696 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6697 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6698 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6699 : ca_.Goto(&block0, p_i);
6700 :
6701 12 : if (block0.is_used()) {
6702 : compiler::TNode<Smi> tmp0;
6703 : ca_.Bind(&block0, &tmp0);
6704 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 603);
6705 : compiler::TNode<Smi> tmp1;
6706 : USE(tmp1);
6707 36 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
6708 : compiler::TNode<BoolT> tmp2;
6709 : USE(tmp2);
6710 24 : tmp2 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp0}, compiler::TNode<Smi>{tmp1}));
6711 12 : ca_.Branch(tmp2, &block3, &block4, tmp0);
6712 : }
6713 :
6714 12 : if (block3.is_used()) {
6715 : compiler::TNode<Smi> tmp3;
6716 : ca_.Bind(&block3, &tmp3);
6717 : ca_.Goto(&block2, tmp3, tmp3);
6718 : }
6719 :
6720 12 : if (block4.is_used()) {
6721 : compiler::TNode<Smi> tmp4;
6722 : ca_.Bind(&block4, &tmp4);
6723 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 604);
6724 : ca_.Goto(&block1);
6725 : }
6726 :
6727 12 : if (block2.is_used()) {
6728 : compiler::TNode<Smi> tmp5;
6729 : compiler::TNode<Smi> tmp6;
6730 : ca_.Bind(&block2, &tmp5, &tmp6);
6731 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 601);
6732 : ca_.Goto(&block5, tmp5, tmp6);
6733 : }
6734 :
6735 12 : if (block1.is_used()) {
6736 : ca_.Bind(&block1);
6737 12 : ca_.Goto(label_A);
6738 : }
6739 :
6740 : compiler::TNode<Smi> tmp7;
6741 : compiler::TNode<Smi> tmp8;
6742 : ca_.Bind(&block5, &tmp7, &tmp8);
6743 24 : return compiler::TNode<Smi>{tmp8};
6744 : }
6745 :
6746 4 : void TestBuiltinsFromDSLAssembler::TestOtherwiseWithCode1() {
6747 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6748 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6749 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6750 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6751 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6752 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6753 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6754 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6755 : compiler::CodeAssemblerParameterizedLabel<> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6756 : ca_.Goto(&block0);
6757 :
6758 4 : if (block0.is_used()) {
6759 : ca_.Bind(&block0);
6760 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 608);
6761 : compiler::TNode<Smi> tmp0;
6762 : USE(tmp0);
6763 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
6764 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 609);
6765 : compiler::TNode<Smi> tmp1;
6766 : USE(tmp1);
6767 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
6768 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 611);
6769 : compiler::TNode<Smi> tmp2;
6770 : USE(tmp2);
6771 12 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
6772 : compiler::TNode<Smi> tmp3;
6773 : USE(tmp3);
6774 4 : compiler::CodeAssemblerLabel label0(&ca_);
6775 12 : tmp3 = TestBuiltinsFromDSLAssembler(state_).TestCall(compiler::TNode<Smi>{tmp2}, &label0);
6776 : ca_.Goto(&block6, tmp0, tmp1, tmp3);
6777 4 : if (label0.is_used()) {
6778 4 : ca_.Bind(&label0);
6779 : ca_.Goto(&block7, tmp0, tmp1);
6780 : }
6781 : }
6782 :
6783 4 : if (block7.is_used()) {
6784 : compiler::TNode<Smi> tmp4;
6785 : compiler::TNode<Smi> tmp5;
6786 : ca_.Bind(&block7, &tmp4, &tmp5);
6787 : ca_.Goto(&block5, tmp4, tmp5);
6788 : }
6789 :
6790 4 : if (block6.is_used()) {
6791 : compiler::TNode<Smi> tmp6;
6792 : compiler::TNode<Smi> tmp7;
6793 : compiler::TNode<Smi> tmp8;
6794 : ca_.Bind(&block6, &tmp6, &tmp7, &tmp8);
6795 : ca_.Goto(&block4, tmp6, tmp7, tmp8);
6796 : }
6797 :
6798 4 : if (block5.is_used()) {
6799 : compiler::TNode<Smi> tmp9;
6800 : compiler::TNode<Smi> tmp10;
6801 : ca_.Bind(&block5, &tmp9, &tmp10);
6802 : compiler::TNode<Smi> tmp11;
6803 : USE(tmp11);
6804 12 : tmp11 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
6805 : compiler::TNode<Smi> tmp12;
6806 : USE(tmp12);
6807 8 : tmp12 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp10}, compiler::TNode<Smi>{tmp11}));
6808 : ca_.Goto(&block3, tmp9, tmp12, tmp12);
6809 : }
6810 :
6811 4 : if (block4.is_used()) {
6812 : compiler::TNode<Smi> tmp13;
6813 : compiler::TNode<Smi> tmp14;
6814 : compiler::TNode<Smi> tmp15;
6815 : ca_.Bind(&block4, &tmp13, &tmp14, &tmp15);
6816 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 613);
6817 : ca_.Goto(&block2, tmp13, tmp14);
6818 : }
6819 :
6820 4 : if (block3.is_used()) {
6821 : compiler::TNode<Smi> tmp16;
6822 : compiler::TNode<Smi> tmp17;
6823 : compiler::TNode<Smi> tmp18;
6824 : ca_.Bind(&block3, &tmp16, &tmp17, &tmp18);
6825 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 614);
6826 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 610);
6827 : ca_.Goto(&block2, tmp18, tmp17);
6828 : }
6829 :
6830 4 : if (block2.is_used()) {
6831 : compiler::TNode<Smi> tmp19;
6832 : compiler::TNode<Smi> tmp20;
6833 : ca_.Bind(&block2, &tmp19, &tmp20);
6834 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 607);
6835 : ca_.Goto(&block1);
6836 : }
6837 :
6838 4 : if (block1.is_used()) {
6839 : ca_.Bind(&block1);
6840 : ca_.Goto(&block8);
6841 : }
6842 :
6843 : ca_.Bind(&block8);
6844 4 : }
6845 :
6846 4 : void TestBuiltinsFromDSLAssembler::TestOtherwiseWithCode2() {
6847 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6848 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6849 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6850 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6851 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6852 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6853 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6854 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6855 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6856 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6857 : compiler::CodeAssemblerParameterizedLabel<> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6858 : ca_.Goto(&block0);
6859 :
6860 4 : if (block0.is_used()) {
6861 : ca_.Bind(&block0);
6862 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 620);
6863 : compiler::TNode<Smi> tmp0;
6864 : USE(tmp0);
6865 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
6866 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 621);
6867 : compiler::TNode<Smi> tmp1;
6868 : USE(tmp1);
6869 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
6870 : ca_.Goto(&block4, tmp0, tmp1);
6871 : }
6872 :
6873 4 : if (block4.is_used()) {
6874 : compiler::TNode<Smi> tmp2;
6875 : compiler::TNode<Smi> tmp3;
6876 : ca_.Bind(&block4, &tmp2, &tmp3);
6877 : compiler::TNode<Smi> tmp4;
6878 : USE(tmp4);
6879 12 : tmp4 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
6880 : compiler::TNode<BoolT> tmp5;
6881 : USE(tmp5);
6882 8 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp3}, compiler::TNode<Smi>{tmp4}));
6883 4 : ca_.Branch(tmp5, &block2, &block3, tmp2, tmp3);
6884 : }
6885 :
6886 4 : if (block2.is_used()) {
6887 : compiler::TNode<Smi> tmp6;
6888 : compiler::TNode<Smi> tmp7;
6889 : ca_.Bind(&block2, &tmp6, &tmp7);
6890 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 622);
6891 : compiler::TNode<Smi> tmp8;
6892 : USE(tmp8);
6893 4 : compiler::CodeAssemblerLabel label0(&ca_);
6894 12 : tmp8 = TestBuiltinsFromDSLAssembler(state_).TestCall(compiler::TNode<Smi>{tmp7}, &label0);
6895 : ca_.Goto(&block8, tmp6, tmp7, tmp7, tmp8);
6896 4 : if (label0.is_used()) {
6897 4 : ca_.Bind(&label0);
6898 : ca_.Goto(&block9, tmp6, tmp7, tmp7);
6899 : }
6900 : }
6901 :
6902 4 : if (block9.is_used()) {
6903 : compiler::TNode<Smi> tmp9;
6904 : compiler::TNode<Smi> tmp10;
6905 : compiler::TNode<Smi> tmp11;
6906 : ca_.Bind(&block9, &tmp9, &tmp10, &tmp11);
6907 : ca_.Goto(&block7, tmp9, tmp10);
6908 : }
6909 :
6910 4 : if (block8.is_used()) {
6911 : compiler::TNode<Smi> tmp12;
6912 : compiler::TNode<Smi> tmp13;
6913 : compiler::TNode<Smi> tmp14;
6914 : compiler::TNode<Smi> tmp15;
6915 : ca_.Bind(&block8, &tmp12, &tmp13, &tmp14, &tmp15);
6916 : ca_.Goto(&block6, tmp12, tmp13, tmp15);
6917 : }
6918 :
6919 4 : if (block7.is_used()) {
6920 : compiler::TNode<Smi> tmp16;
6921 : compiler::TNode<Smi> tmp17;
6922 : ca_.Bind(&block7, &tmp16, &tmp17);
6923 : ca_.Goto(&block3, tmp16, tmp17);
6924 : }
6925 :
6926 4 : if (block6.is_used()) {
6927 : compiler::TNode<Smi> tmp18;
6928 : compiler::TNode<Smi> tmp19;
6929 : compiler::TNode<Smi> tmp20;
6930 : ca_.Bind(&block6, &tmp18, &tmp19, &tmp20);
6931 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 623);
6932 : compiler::TNode<Smi> tmp21;
6933 : USE(tmp21);
6934 12 : tmp21 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
6935 : compiler::TNode<Smi> tmp22;
6936 : USE(tmp22);
6937 8 : tmp22 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp18}, compiler::TNode<Smi>{tmp21}));
6938 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 621);
6939 : ca_.Goto(&block5, tmp22, tmp19);
6940 : }
6941 :
6942 4 : if (block5.is_used()) {
6943 : compiler::TNode<Smi> tmp23;
6944 : compiler::TNode<Smi> tmp24;
6945 : ca_.Bind(&block5, &tmp23, &tmp24);
6946 : compiler::TNode<Smi> tmp25;
6947 : USE(tmp25);
6948 12 : tmp25 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
6949 : compiler::TNode<Smi> tmp26;
6950 : USE(tmp26);
6951 8 : tmp26 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp24}, compiler::TNode<Smi>{tmp25}));
6952 : ca_.Goto(&block4, tmp23, tmp26);
6953 : }
6954 :
6955 4 : if (block3.is_used()) {
6956 : compiler::TNode<Smi> tmp27;
6957 : compiler::TNode<Smi> tmp28;
6958 : ca_.Bind(&block3, &tmp27, &tmp28);
6959 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 619);
6960 : ca_.Goto(&block1);
6961 : }
6962 :
6963 4 : if (block1.is_used()) {
6964 : ca_.Bind(&block1);
6965 : ca_.Goto(&block10);
6966 : }
6967 :
6968 : ca_.Bind(&block10);
6969 4 : }
6970 :
6971 4 : void TestBuiltinsFromDSLAssembler::TestOtherwiseWithCode3() {
6972 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6973 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6974 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6975 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6976 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6977 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6978 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6979 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6980 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6981 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6982 : compiler::CodeAssemblerParameterizedLabel<> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6983 : ca_.Goto(&block0);
6984 :
6985 4 : if (block0.is_used()) {
6986 : ca_.Bind(&block0);
6987 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 629);
6988 : compiler::TNode<Smi> tmp0;
6989 : USE(tmp0);
6990 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
6991 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 630);
6992 : compiler::TNode<Smi> tmp1;
6993 : USE(tmp1);
6994 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
6995 : ca_.Goto(&block4, tmp0, tmp1);
6996 : }
6997 :
6998 4 : if (block4.is_used()) {
6999 : compiler::TNode<Smi> tmp2;
7000 : compiler::TNode<Smi> tmp3;
7001 : ca_.Bind(&block4, &tmp2, &tmp3);
7002 : compiler::TNode<Smi> tmp4;
7003 : USE(tmp4);
7004 12 : tmp4 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
7005 : compiler::TNode<BoolT> tmp5;
7006 : USE(tmp5);
7007 8 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp3}, compiler::TNode<Smi>{tmp4}));
7008 4 : ca_.Branch(tmp5, &block2, &block3, tmp2, tmp3);
7009 : }
7010 :
7011 4 : if (block2.is_used()) {
7012 : compiler::TNode<Smi> tmp6;
7013 : compiler::TNode<Smi> tmp7;
7014 : ca_.Bind(&block2, &tmp6, &tmp7);
7015 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 631);
7016 : compiler::TNode<Smi> tmp8;
7017 : USE(tmp8);
7018 4 : compiler::CodeAssemblerLabel label0(&ca_);
7019 12 : tmp8 = TestBuiltinsFromDSLAssembler(state_).TestCall(compiler::TNode<Smi>{tmp7}, &label0);
7020 : ca_.Goto(&block8, tmp6, tmp7, tmp6, tmp7, tmp8);
7021 4 : if (label0.is_used()) {
7022 4 : ca_.Bind(&label0);
7023 : ca_.Goto(&block9, tmp6, tmp7, tmp6, tmp7);
7024 : }
7025 : }
7026 :
7027 4 : if (block9.is_used()) {
7028 : compiler::TNode<Smi> tmp9;
7029 : compiler::TNode<Smi> tmp10;
7030 : compiler::TNode<Smi> tmp11;
7031 : compiler::TNode<Smi> tmp12;
7032 : ca_.Bind(&block9, &tmp9, &tmp10, &tmp11, &tmp12);
7033 : ca_.Goto(&block7, tmp9, tmp10, tmp11);
7034 : }
7035 :
7036 4 : if (block8.is_used()) {
7037 : compiler::TNode<Smi> tmp13;
7038 : compiler::TNode<Smi> tmp14;
7039 : compiler::TNode<Smi> tmp15;
7040 : compiler::TNode<Smi> tmp16;
7041 : compiler::TNode<Smi> tmp17;
7042 : ca_.Bind(&block8, &tmp13, &tmp14, &tmp15, &tmp16, &tmp17);
7043 : ca_.Goto(&block6, tmp13, tmp14, tmp15, tmp17);
7044 : }
7045 :
7046 4 : if (block7.is_used()) {
7047 : compiler::TNode<Smi> tmp18;
7048 : compiler::TNode<Smi> tmp19;
7049 : compiler::TNode<Smi> tmp20;
7050 : ca_.Bind(&block7, &tmp18, &tmp19, &tmp20);
7051 : ca_.Goto(&block3, tmp18, tmp19);
7052 : }
7053 :
7054 4 : if (block6.is_used()) {
7055 : compiler::TNode<Smi> tmp21;
7056 : compiler::TNode<Smi> tmp22;
7057 : compiler::TNode<Smi> tmp23;
7058 : compiler::TNode<Smi> tmp24;
7059 : ca_.Bind(&block6, &tmp21, &tmp22, &tmp23, &tmp24);
7060 : compiler::TNode<Smi> tmp25;
7061 : USE(tmp25);
7062 8 : tmp25 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp23}, compiler::TNode<Smi>{tmp24}));
7063 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 630);
7064 : ca_.Goto(&block5, tmp25, tmp22);
7065 : }
7066 :
7067 4 : if (block5.is_used()) {
7068 : compiler::TNode<Smi> tmp26;
7069 : compiler::TNode<Smi> tmp27;
7070 : ca_.Bind(&block5, &tmp26, &tmp27);
7071 : compiler::TNode<Smi> tmp28;
7072 : USE(tmp28);
7073 12 : tmp28 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
7074 : compiler::TNode<Smi> tmp29;
7075 : USE(tmp29);
7076 8 : tmp29 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp27}, compiler::TNode<Smi>{tmp28}));
7077 : ca_.Goto(&block4, tmp26, tmp29);
7078 : }
7079 :
7080 4 : if (block3.is_used()) {
7081 : compiler::TNode<Smi> tmp30;
7082 : compiler::TNode<Smi> tmp31;
7083 : ca_.Bind(&block3, &tmp30, &tmp31);
7084 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 628);
7085 : ca_.Goto(&block1);
7086 : }
7087 :
7088 4 : if (block1.is_used()) {
7089 : ca_.Bind(&block1);
7090 : ca_.Goto(&block10);
7091 : }
7092 :
7093 : ca_.Bind(&block10);
7094 4 : }
7095 :
7096 4 : void TestBuiltinsFromDSLAssembler::TestForwardLabel() {
7097 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7098 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7099 : compiler::CodeAssemblerParameterizedLabel<Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7100 : compiler::CodeAssemblerParameterizedLabel<Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7101 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7102 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7103 : ca_.Goto(&block0);
7104 :
7105 4 : if (block0.is_used()) {
7106 : ca_.Bind(&block0);
7107 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 638);
7108 : ca_.Goto(&block5);
7109 : }
7110 :
7111 4 : if (block5.is_used()) {
7112 : ca_.Bind(&block5);
7113 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 641);
7114 : compiler::TNode<Smi> tmp0;
7115 : USE(tmp0);
7116 12 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
7117 : ca_.Goto(&block3, tmp0);
7118 : }
7119 :
7120 4 : if (block3.is_used()) {
7121 : compiler::TNode<Smi> tmp1;
7122 : ca_.Bind(&block3, &tmp1);
7123 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 637);
7124 : ca_.Goto(&block2, tmp1);
7125 : }
7126 :
7127 4 : if (block2.is_used()) {
7128 : compiler::TNode<Smi> tmp2;
7129 : ca_.Bind(&block2, &tmp2);
7130 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 636);
7131 : ca_.Goto(&block1);
7132 : }
7133 :
7134 4 : if (block1.is_used()) {
7135 : ca_.Bind(&block1);
7136 : ca_.Goto(&block6);
7137 : }
7138 :
7139 : ca_.Bind(&block6);
7140 4 : }
7141 :
7142 4 : void TestBuiltinsFromDSLAssembler::TestQualifiedAccess(compiler::TNode<Context> p_context) {
7143 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7144 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7145 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7146 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7147 : compiler::CodeAssemblerParameterizedLabel<Context> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7148 : ca_.Goto(&block0, p_context);
7149 :
7150 4 : if (block0.is_used()) {
7151 : compiler::TNode<Context> tmp0;
7152 : ca_.Bind(&block0, &tmp0);
7153 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 649);
7154 : compiler::TNode<Smi> tmp1;
7155 : USE(tmp1);
7156 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
7157 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 650);
7158 : compiler::TNode<BoolT> tmp2;
7159 : USE(tmp2);
7160 12 : tmp2 = ca_.UncheckedCast<BoolT>(ArrayBuiltinsFromDSLAssembler(state_).IsJSArray(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}));
7161 : compiler::TNode<BoolT> tmp3;
7162 : USE(tmp3);
7163 8 : tmp3 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp2}));
7164 4 : ca_.Branch(tmp3, &block2, &block3, tmp0, tmp1);
7165 : }
7166 :
7167 4 : if (block3.is_used()) {
7168 : compiler::TNode<Context> tmp4;
7169 : compiler::TNode<Smi> tmp5;
7170 : ca_.Bind(&block3, &tmp4, &tmp5);
7171 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'!array::IsJSArray(s)\' failed", "../../test/torque/test-torque.tq", 650);
7172 : }
7173 :
7174 4 : if (block2.is_used()) {
7175 : compiler::TNode<Context> tmp6;
7176 : compiler::TNode<Smi> tmp7;
7177 : ca_.Bind(&block2, &tmp6, &tmp7);
7178 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 648);
7179 : ca_.Goto(&block1, tmp6);
7180 : }
7181 :
7182 4 : if (block1.is_used()) {
7183 : compiler::TNode<Context> tmp8;
7184 : ca_.Bind(&block1, &tmp8);
7185 : ca_.Goto(&block4, tmp8);
7186 : }
7187 :
7188 : compiler::TNode<Context> tmp9;
7189 : ca_.Bind(&block4, &tmp9);
7190 4 : }
7191 :
7192 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestCatch1(compiler::TNode<Context> p_context) {
7193 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7194 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block4(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7195 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7196 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7197 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7198 : ca_.Goto(&block0, p_context);
7199 :
7200 4 : if (block0.is_used()) {
7201 : compiler::TNode<Context> tmp0;
7202 : ca_.Bind(&block0, &tmp0);
7203 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 654);
7204 : compiler::TNode<Smi> tmp1;
7205 : USE(tmp1);
7206 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
7207 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 656);
7208 : compiler::CodeAssemblerExceptionHandlerLabel catch2_label(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7209 8 : { compiler::CodeAssemblerScopedExceptionHandler s(&ca_, &catch2_label);
7210 8 : CodeStubAssembler(state_).ThrowTypeError(compiler::TNode<Context>{tmp0}, MessageTemplate::kInvalidArrayLength);
7211 : }
7212 4 : if (catch2_label.is_used()) {
7213 4 : compiler::CodeAssemblerLabel catch2_skip(&ca_);
7214 : compiler::TNode<Object> catch2_exception_object;
7215 : ca_.Bind(&catch2_label, &catch2_exception_object);
7216 : ca_.Goto(&block4, tmp0, tmp1, catch2_exception_object);
7217 : }
7218 : }
7219 :
7220 4 : if (block4.is_used()) {
7221 : compiler::TNode<Context> tmp3;
7222 : compiler::TNode<Smi> tmp4;
7223 : compiler::TNode<Object> tmp5;
7224 : ca_.Bind(&block4, &tmp3, &tmp4, &tmp5);
7225 : ca_.Goto(&block3, tmp3, tmp4, tmp5);
7226 : }
7227 :
7228 4 : if (block3.is_used()) {
7229 : compiler::TNode<Context> tmp6;
7230 : compiler::TNode<Smi> tmp7;
7231 : compiler::TNode<Object> tmp8;
7232 : ca_.Bind(&block3, &tmp6, &tmp7, &tmp8);
7233 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 658);
7234 : compiler::TNode<Smi> tmp9;
7235 : USE(tmp9);
7236 12 : tmp9 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
7237 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 659);
7238 : ca_.Goto(&block1, tmp6, tmp9);
7239 : }
7240 :
7241 4 : if (block1.is_used()) {
7242 : compiler::TNode<Context> tmp10;
7243 : compiler::TNode<Smi> tmp11;
7244 : ca_.Bind(&block1, &tmp10, &tmp11);
7245 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 653);
7246 : ca_.Goto(&block5, tmp10, tmp11);
7247 : }
7248 :
7249 : compiler::TNode<Context> tmp12;
7250 : compiler::TNode<Smi> tmp13;
7251 : ca_.Bind(&block5, &tmp12, &tmp13);
7252 8 : return compiler::TNode<Smi>{tmp13};
7253 : }
7254 :
7255 4 : void TestBuiltinsFromDSLAssembler::TestCatch2Wrapper(compiler::TNode<Context> p_context) {
7256 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7257 : ca_.Goto(&block0, p_context);
7258 :
7259 4 : if (block0.is_used()) {
7260 : compiler::TNode<Context> tmp0;
7261 : ca_.Bind(&block0, &tmp0);
7262 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 664);
7263 8 : CodeStubAssembler(state_).ThrowTypeError(compiler::TNode<Context>{tmp0}, MessageTemplate::kInvalidArrayLength);
7264 : }
7265 4 : }
7266 :
7267 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestCatch2(compiler::TNode<Context> p_context) {
7268 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7269 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block4(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7270 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7271 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7272 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7273 : ca_.Goto(&block0, p_context);
7274 :
7275 4 : if (block0.is_used()) {
7276 : compiler::TNode<Context> tmp0;
7277 : ca_.Bind(&block0, &tmp0);
7278 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 668);
7279 : compiler::TNode<Smi> tmp1;
7280 : USE(tmp1);
7281 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
7282 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 670);
7283 : compiler::CodeAssemblerExceptionHandlerLabel catch2_label(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7284 8 : { compiler::CodeAssemblerScopedExceptionHandler s(&ca_, &catch2_label);
7285 12 : TestBuiltinsFromDSLAssembler(state_).TestCatch2Wrapper(compiler::TNode<Context>{tmp0});
7286 : }
7287 4 : if (catch2_label.is_used()) {
7288 4 : compiler::CodeAssemblerLabel catch2_skip(&ca_);
7289 : compiler::TNode<Object> catch2_exception_object;
7290 : ca_.Bind(&catch2_label, &catch2_exception_object);
7291 : ca_.Goto(&block4, tmp0, tmp1, catch2_exception_object);
7292 : }
7293 : }
7294 :
7295 4 : if (block4.is_used()) {
7296 : compiler::TNode<Context> tmp3;
7297 : compiler::TNode<Smi> tmp4;
7298 : compiler::TNode<Object> tmp5;
7299 : ca_.Bind(&block4, &tmp3, &tmp4, &tmp5);
7300 : ca_.Goto(&block3, tmp3, tmp4, tmp5);
7301 : }
7302 :
7303 4 : if (block3.is_used()) {
7304 : compiler::TNode<Context> tmp6;
7305 : compiler::TNode<Smi> tmp7;
7306 : compiler::TNode<Object> tmp8;
7307 : ca_.Bind(&block3, &tmp6, &tmp7, &tmp8);
7308 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 672);
7309 : compiler::TNode<Smi> tmp9;
7310 : USE(tmp9);
7311 12 : tmp9 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(2));
7312 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 673);
7313 : ca_.Goto(&block1, tmp6, tmp9);
7314 : }
7315 :
7316 4 : if (block1.is_used()) {
7317 : compiler::TNode<Context> tmp10;
7318 : compiler::TNode<Smi> tmp11;
7319 : ca_.Bind(&block1, &tmp10, &tmp11);
7320 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 667);
7321 : ca_.Goto(&block5, tmp10, tmp11);
7322 : }
7323 :
7324 : compiler::TNode<Context> tmp12;
7325 : compiler::TNode<Smi> tmp13;
7326 : ca_.Bind(&block5, &tmp12, &tmp13);
7327 8 : return compiler::TNode<Smi>{tmp13};
7328 : }
7329 :
7330 4 : void TestBuiltinsFromDSLAssembler::TestCatch3WrapperWithLabel(compiler::TNode<Context> p_context, compiler::CodeAssemblerLabel* label_Abort) {
7331 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7332 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7333 : ca_.Goto(&block0, p_context);
7334 :
7335 4 : if (block0.is_used()) {
7336 : compiler::TNode<Context> tmp0;
7337 : ca_.Bind(&block0, &tmp0);
7338 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 679);
7339 8 : CodeStubAssembler(state_).ThrowTypeError(compiler::TNode<Context>{tmp0}, MessageTemplate::kInvalidArrayLength);
7340 : }
7341 :
7342 4 : if (block1.is_used()) {
7343 : ca_.Bind(&block1);
7344 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 677);
7345 0 : ca_.Goto(label_Abort);
7346 : }
7347 4 : }
7348 :
7349 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestCatch3(compiler::TNode<Context> p_context) {
7350 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7351 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7352 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7353 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7354 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block8(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7355 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7356 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7357 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7358 : ca_.Goto(&block0, p_context);
7359 :
7360 4 : if (block0.is_used()) {
7361 : compiler::TNode<Context> tmp0;
7362 : ca_.Bind(&block0, &tmp0);
7363 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 683);
7364 : compiler::TNode<Smi> tmp1;
7365 : USE(tmp1);
7366 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
7367 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 685);
7368 4 : compiler::CodeAssemblerLabel label0(&ca_);
7369 : compiler::CodeAssemblerExceptionHandlerLabel catch2_label(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7370 8 : { compiler::CodeAssemblerScopedExceptionHandler s(&ca_, &catch2_label);
7371 12 : TestBuiltinsFromDSLAssembler(state_).TestCatch3WrapperWithLabel(compiler::TNode<Context>{tmp0}, &label0);
7372 : }
7373 4 : if (catch2_label.is_used()) {
7374 4 : compiler::CodeAssemblerLabel catch2_skip(&ca_);
7375 : compiler::TNode<Object> catch2_exception_object;
7376 : ca_.Bind(&catch2_label, &catch2_exception_object);
7377 : ca_.Goto(&block7, tmp0, tmp1, catch2_exception_object);
7378 : }
7379 4 : if (label0.is_used()) {
7380 0 : ca_.Bind(&label0);
7381 : ca_.Goto(&block6, tmp0, tmp1);
7382 : }
7383 : }
7384 :
7385 4 : if (block7.is_used()) {
7386 : compiler::TNode<Context> tmp3;
7387 : compiler::TNode<Smi> tmp4;
7388 : compiler::TNode<Object> tmp5;
7389 : ca_.Bind(&block7, &tmp3, &tmp4, &tmp5);
7390 : ca_.Goto(&block3, tmp3, tmp4, tmp5);
7391 : }
7392 :
7393 4 : if (block6.is_used()) {
7394 : compiler::TNode<Context> tmp6;
7395 : compiler::TNode<Smi> tmp7;
7396 : ca_.Bind(&block6, &tmp6, &tmp7);
7397 : ca_.Goto(&block5, tmp6, tmp7);
7398 : }
7399 :
7400 4 : if (block5.is_used()) {
7401 : compiler::TNode<Context> tmp8;
7402 : compiler::TNode<Smi> tmp9;
7403 : ca_.Bind(&block5, &tmp8, &tmp9);
7404 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 688);
7405 : compiler::TNode<Smi> tmp10;
7406 : USE(tmp10);
7407 : compiler::CodeAssemblerExceptionHandlerLabel catch11_label(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7408 0 : { compiler::CodeAssemblerScopedExceptionHandler s(&ca_, &catch11_label);
7409 0 : tmp10 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(-1));
7410 : }
7411 0 : if (catch11_label.is_used()) {
7412 0 : compiler::CodeAssemblerLabel catch11_skip(&ca_);
7413 0 : ca_.Goto(&catch11_skip);
7414 : compiler::TNode<Object> catch11_exception_object;
7415 : ca_.Bind(&catch11_label, &catch11_exception_object);
7416 : ca_.Goto(&block8, tmp8, tmp9, catch11_exception_object);
7417 0 : ca_.Bind(&catch11_skip);
7418 : }
7419 : ca_.Goto(&block1, tmp8, tmp10);
7420 : }
7421 :
7422 4 : if (block8.is_used()) {
7423 : compiler::TNode<Context> tmp12;
7424 : compiler::TNode<Smi> tmp13;
7425 : compiler::TNode<Object> tmp14;
7426 : ca_.Bind(&block8, &tmp12, &tmp13, &tmp14);
7427 : ca_.Goto(&block3, tmp12, tmp13, tmp14);
7428 : }
7429 :
7430 4 : if (block3.is_used()) {
7431 : compiler::TNode<Context> tmp15;
7432 : compiler::TNode<Smi> tmp16;
7433 : compiler::TNode<Object> tmp17;
7434 : ca_.Bind(&block3, &tmp15, &tmp16, &tmp17);
7435 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 691);
7436 : compiler::TNode<Smi> tmp18;
7437 : USE(tmp18);
7438 12 : tmp18 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(2));
7439 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 692);
7440 : ca_.Goto(&block1, tmp15, tmp18);
7441 : }
7442 :
7443 4 : if (block1.is_used()) {
7444 : compiler::TNode<Context> tmp19;
7445 : compiler::TNode<Smi> tmp20;
7446 : ca_.Bind(&block1, &tmp19, &tmp20);
7447 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 682);
7448 : ca_.Goto(&block9, tmp19, tmp20);
7449 : }
7450 :
7451 : compiler::TNode<Context> tmp21;
7452 : compiler::TNode<Smi> tmp22;
7453 : ca_.Bind(&block9, &tmp21, &tmp22);
7454 8 : return compiler::TNode<Smi>{tmp22};
7455 : }
7456 :
7457 0 : void TestBuiltinsFromDSLAssembler::TestIterator(compiler::TNode<Context> p_context, compiler::TNode<Object> p_o, compiler::TNode<Map> p_map) {
7458 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7459 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map, Object, JSReceiver, Object, JSReceiver, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7460 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map, Object, JSReceiver, Object, JSReceiver, Object, Object> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7461 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map, Object, JSReceiver, Object, Object, JSReceiver, Object, Map> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7462 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map, Object, JSReceiver, Object, Object, JSReceiver, Object, Map, Object> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7463 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7464 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7465 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7466 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7467 : ca_.Goto(&block0, p_context, p_o, p_map);
7468 :
7469 0 : if (block0.is_used()) {
7470 : compiler::TNode<Context> tmp0;
7471 : compiler::TNode<Object> tmp1;
7472 : compiler::TNode<Map> tmp2;
7473 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
7474 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 702);
7475 : compiler::TNode<Object> tmp3;
7476 : USE(tmp3);
7477 0 : tmp3 = ca_.UncheckedCast<Object>(IteratorBuiltinsAssembler(state_).GetIteratorMethod(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}));
7478 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 703);
7479 : compiler::TNode<JSReceiver> tmp4;
7480 : USE(tmp4);
7481 : compiler::TNode<Object> tmp5;
7482 : USE(tmp5);
7483 0 : std::tie(tmp4, tmp5) = IteratorBuiltinsAssembler(state_).GetIterator(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}).Flatten();
7484 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 705);
7485 : compiler::TNode<Object> tmp6;
7486 : USE(tmp6);
7487 0 : compiler::CodeAssemblerLabel label0(&ca_);
7488 0 : tmp6 = IteratorBuiltinsAssembler(state_).IteratorStep(compiler::TNode<Context>{tmp0}, IteratorBuiltinsFromDSLAssembler::IteratorRecord{compiler::TNode<JSReceiver>{tmp4}, compiler::TNode<Object>{tmp5}}, &label0);
7489 : ca_.Goto(&block4, tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp4, tmp5, tmp6);
7490 0 : if (label0.is_used()) {
7491 0 : ca_.Bind(&label0);
7492 : ca_.Goto(&block5, tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp4, tmp5);
7493 : }
7494 : }
7495 :
7496 0 : if (block5.is_used()) {
7497 : compiler::TNode<Context> tmp7;
7498 : compiler::TNode<Object> tmp8;
7499 : compiler::TNode<Map> tmp9;
7500 : compiler::TNode<Object> tmp10;
7501 : compiler::TNode<JSReceiver> tmp11;
7502 : compiler::TNode<Object> tmp12;
7503 : compiler::TNode<JSReceiver> tmp13;
7504 : compiler::TNode<Object> tmp14;
7505 : ca_.Bind(&block5, &tmp7, &tmp8, &tmp9, &tmp10, &tmp11, &tmp12, &tmp13, &tmp14);
7506 : ca_.Goto(&block3, tmp7, tmp8, tmp9);
7507 : }
7508 :
7509 0 : if (block4.is_used()) {
7510 : compiler::TNode<Context> tmp15;
7511 : compiler::TNode<Object> tmp16;
7512 : compiler::TNode<Map> tmp17;
7513 : compiler::TNode<Object> tmp18;
7514 : compiler::TNode<JSReceiver> tmp19;
7515 : compiler::TNode<Object> tmp20;
7516 : compiler::TNode<JSReceiver> tmp21;
7517 : compiler::TNode<Object> tmp22;
7518 : compiler::TNode<Object> tmp23;
7519 : ca_.Bind(&block4, &tmp15, &tmp16, &tmp17, &tmp18, &tmp19, &tmp20, &tmp21, &tmp22, &tmp23);
7520 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 706);
7521 : compiler::TNode<Object> tmp24;
7522 : USE(tmp24);
7523 0 : compiler::CodeAssemblerLabel label0(&ca_);
7524 0 : tmp24 = IteratorBuiltinsAssembler(state_).IteratorStep(compiler::TNode<Context>{tmp15}, IteratorBuiltinsFromDSLAssembler::IteratorRecord{compiler::TNode<JSReceiver>{tmp19}, compiler::TNode<Object>{tmp20}}, compiler::TNode<Map>{tmp17}, &label0);
7525 : ca_.Goto(&block6, tmp15, tmp16, tmp17, tmp18, tmp19, tmp20, tmp23, tmp19, tmp20, tmp17, tmp24);
7526 0 : if (label0.is_used()) {
7527 0 : ca_.Bind(&label0);
7528 : ca_.Goto(&block7, tmp15, tmp16, tmp17, tmp18, tmp19, tmp20, tmp23, tmp19, tmp20, tmp17);
7529 : }
7530 : }
7531 :
7532 0 : if (block7.is_used()) {
7533 : compiler::TNode<Context> tmp25;
7534 : compiler::TNode<Object> tmp26;
7535 : compiler::TNode<Map> tmp27;
7536 : compiler::TNode<Object> tmp28;
7537 : compiler::TNode<JSReceiver> tmp29;
7538 : compiler::TNode<Object> tmp30;
7539 : compiler::TNode<Object> tmp31;
7540 : compiler::TNode<JSReceiver> tmp32;
7541 : compiler::TNode<Object> tmp33;
7542 : compiler::TNode<Map> tmp34;
7543 : ca_.Bind(&block7, &tmp25, &tmp26, &tmp27, &tmp28, &tmp29, &tmp30, &tmp31, &tmp32, &tmp33, &tmp34);
7544 : ca_.Goto(&block3, tmp25, tmp26, tmp27);
7545 : }
7546 :
7547 0 : if (block6.is_used()) {
7548 : compiler::TNode<Context> tmp35;
7549 : compiler::TNode<Object> tmp36;
7550 : compiler::TNode<Map> tmp37;
7551 : compiler::TNode<Object> tmp38;
7552 : compiler::TNode<JSReceiver> tmp39;
7553 : compiler::TNode<Object> tmp40;
7554 : compiler::TNode<Object> tmp41;
7555 : compiler::TNode<JSReceiver> tmp42;
7556 : compiler::TNode<Object> tmp43;
7557 : compiler::TNode<Map> tmp44;
7558 : compiler::TNode<Object> tmp45;
7559 : ca_.Bind(&block6, &tmp35, &tmp36, &tmp37, &tmp38, &tmp39, &tmp40, &tmp41, &tmp42, &tmp43, &tmp44, &tmp45);
7560 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 708);
7561 : compiler::TNode<Object> tmp46;
7562 : USE(tmp46);
7563 0 : tmp46 = ca_.UncheckedCast<Object>(IteratorBuiltinsAssembler(state_).IteratorValue(compiler::TNode<Context>{tmp35}, compiler::TNode<Object>{tmp45}));
7564 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 709);
7565 : compiler::TNode<Object> tmp47;
7566 : USE(tmp47);
7567 0 : tmp47 = ca_.UncheckedCast<Object>(IteratorBuiltinsAssembler(state_).IteratorValue(compiler::TNode<Context>{tmp35}, compiler::TNode<Object>{tmp45}, compiler::TNode<Map>{tmp37}));
7568 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 711);
7569 : compiler::TNode<JSArray> tmp48;
7570 : USE(tmp48);
7571 0 : tmp48 = ca_.UncheckedCast<JSArray>(IteratorBuiltinsAssembler(state_).IterableToList(compiler::TNode<Context>{tmp35}, compiler::TNode<Object>{tmp38}, compiler::TNode<Object>{tmp38}));
7572 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 713);
7573 0 : IteratorBuiltinsAssembler(state_).IteratorCloseOnException(compiler::TNode<Context>{tmp35}, IteratorBuiltinsFromDSLAssembler::IteratorRecord{compiler::TNode<JSReceiver>{tmp39}, compiler::TNode<Object>{tmp40}}, compiler::TNode<Object>{tmp46});
7574 : }
7575 :
7576 0 : if (block3.is_used()) {
7577 : compiler::TNode<Context> tmp49;
7578 : compiler::TNode<Object> tmp50;
7579 : compiler::TNode<Map> tmp51;
7580 : ca_.Bind(&block3, &tmp49, &tmp50, &tmp51);
7581 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 701);
7582 : ca_.Goto(&block2, tmp49, tmp50, tmp51);
7583 : }
7584 :
7585 0 : if (block2.is_used()) {
7586 : compiler::TNode<Context> tmp52;
7587 : compiler::TNode<Object> tmp53;
7588 : compiler::TNode<Map> tmp54;
7589 : ca_.Bind(&block2, &tmp52, &tmp53, &tmp54);
7590 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 700);
7591 : ca_.Goto(&block1, tmp52, tmp53, tmp54);
7592 : }
7593 :
7594 0 : if (block1.is_used()) {
7595 : compiler::TNode<Context> tmp55;
7596 : compiler::TNode<Object> tmp56;
7597 : compiler::TNode<Map> tmp57;
7598 : ca_.Bind(&block1, &tmp55, &tmp56, &tmp57);
7599 : ca_.Goto(&block8, tmp55, tmp56, tmp57);
7600 : }
7601 :
7602 : compiler::TNode<Context> tmp58;
7603 : compiler::TNode<Object> tmp59;
7604 : compiler::TNode<Map> tmp60;
7605 : ca_.Bind(&block8, &tmp58, &tmp59, &tmp60);
7606 0 : }
7607 :
7608 4 : void TestBuiltinsFromDSLAssembler::TestFrame1(compiler::TNode<Context> p_context) {
7609 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7610 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7611 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Object, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7612 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7613 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7614 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT, RawPtrT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7615 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT, RawPtrT, RawPtrT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7616 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7617 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT, RawPtrT> block13(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7618 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT, RawPtrT, RawPtrT> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7619 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT> block11(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7620 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7621 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7622 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7623 : compiler::CodeAssemblerParameterizedLabel<Context> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7624 : ca_.Goto(&block0, p_context);
7625 :
7626 4 : if (block0.is_used()) {
7627 : compiler::TNode<Context> tmp0;
7628 : ca_.Bind(&block0, &tmp0);
7629 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 719);
7630 : compiler::TNode<RawPtrT> tmp1;
7631 : USE(tmp1);
7632 8 : tmp1 = ca_.UncheckedCast<RawPtrT>(CodeStubAssembler(state_).LoadFramePointer());
7633 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 721);
7634 : compiler::TNode<Object> tmp2;
7635 : USE(tmp2);
7636 12 : tmp2 = ca_.UncheckedCast<Object>(BaseBuiltinsFromDSLAssembler(state_).LoadContextOrFrameTypeFromFrame(compiler::TNode<Context>{tmp0}, compiler::TNode<RawPtrT>{tmp1}));
7637 : compiler::TNode<Smi> tmp3;
7638 : USE(tmp3);
7639 4 : compiler::CodeAssemblerLabel label0(&ca_);
7640 12 : tmp3 = BaseBuiltinsFromDSLAssembler(state_).Cast11ATFrameType(compiler::TNode<Object>{tmp2}, &label0);
7641 : ca_.Goto(&block4, tmp0, tmp1, tmp2, tmp3);
7642 4 : if (label0.is_used()) {
7643 4 : ca_.Bind(&label0);
7644 : ca_.Goto(&block5, tmp0, tmp1, tmp2);
7645 : }
7646 : }
7647 :
7648 4 : if (block5.is_used()) {
7649 : compiler::TNode<Context> tmp4;
7650 : compiler::TNode<RawPtrT> tmp5;
7651 : compiler::TNode<Object> tmp6;
7652 : ca_.Bind(&block5, &tmp4, &tmp5, &tmp6);
7653 : ca_.Goto(&block3, tmp4, tmp5);
7654 : }
7655 :
7656 4 : if (block4.is_used()) {
7657 : compiler::TNode<Context> tmp7;
7658 : compiler::TNode<RawPtrT> tmp8;
7659 : compiler::TNode<Object> tmp9;
7660 : compiler::TNode<Smi> tmp10;
7661 : ca_.Bind(&block4, &tmp7, &tmp8, &tmp9, &tmp10);
7662 : ca_.Goto(&block2, tmp7, tmp8, tmp10);
7663 : }
7664 :
7665 4 : if (block3.is_used()) {
7666 : compiler::TNode<Context> tmp11;
7667 : compiler::TNode<RawPtrT> tmp12;
7668 : ca_.Bind(&block3, &tmp11, &tmp12);
7669 8 : CodeStubAssembler(state_).Unreachable();
7670 : }
7671 :
7672 4 : if (block2.is_used()) {
7673 : compiler::TNode<Context> tmp13;
7674 : compiler::TNode<RawPtrT> tmp14;
7675 : compiler::TNode<Smi> tmp15;
7676 : ca_.Bind(&block2, &tmp13, &tmp14, &tmp15);
7677 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 720);
7678 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 724);
7679 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 725);
7680 : compiler::TNode<RawPtrT> tmp16;
7681 : USE(tmp16);
7682 4 : compiler::CodeAssemblerLabel label0(&ca_);
7683 12 : tmp16 = BaseBuiltinsFromDSLAssembler(state_).Cast15ATStandardFrame(compiler::TNode<Context>{tmp13}, compiler::TNode<RawPtrT>{tmp14}, &label0);
7684 : ca_.Goto(&block8, tmp13, tmp14, tmp15, tmp14, tmp14, tmp16);
7685 4 : if (label0.is_used()) {
7686 4 : ca_.Bind(&label0);
7687 : ca_.Goto(&block9, tmp13, tmp14, tmp15, tmp14, tmp14);
7688 : }
7689 : }
7690 :
7691 4 : if (block9.is_used()) {
7692 : compiler::TNode<Context> tmp17;
7693 : compiler::TNode<RawPtrT> tmp18;
7694 : compiler::TNode<Smi> tmp19;
7695 : compiler::TNode<RawPtrT> tmp20;
7696 : compiler::TNode<RawPtrT> tmp21;
7697 : ca_.Bind(&block9, &tmp17, &tmp18, &tmp19, &tmp20, &tmp21);
7698 : ca_.Goto(&block7, tmp17, tmp18, tmp19, tmp20);
7699 : }
7700 :
7701 4 : if (block8.is_used()) {
7702 : compiler::TNode<Context> tmp22;
7703 : compiler::TNode<RawPtrT> tmp23;
7704 : compiler::TNode<Smi> tmp24;
7705 : compiler::TNode<RawPtrT> tmp25;
7706 : compiler::TNode<RawPtrT> tmp26;
7707 : compiler::TNode<RawPtrT> tmp27;
7708 : ca_.Bind(&block8, &tmp22, &tmp23, &tmp24, &tmp25, &tmp26, &tmp27);
7709 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 726);
7710 8 : CodeStubAssembler(state_).Unreachable();
7711 : }
7712 :
7713 4 : if (block7.is_used()) {
7714 : compiler::TNode<Context> tmp28;
7715 : compiler::TNode<RawPtrT> tmp29;
7716 : compiler::TNode<Smi> tmp30;
7717 : compiler::TNode<RawPtrT> tmp31;
7718 : ca_.Bind(&block7, &tmp28, &tmp29, &tmp30, &tmp31);
7719 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 728);
7720 : compiler::TNode<RawPtrT> tmp32;
7721 : USE(tmp32);
7722 4 : compiler::CodeAssemblerLabel label0(&ca_);
7723 12 : tmp32 = BaseBuiltinsFromDSLAssembler(state_).Cast23ATArgumentsAdaptorFrame(compiler::TNode<Context>{tmp28}, compiler::TNode<RawPtrT>{ca_.UncheckedCast<RawPtrT>(tmp31)}, &label0);
7724 : ca_.Goto(&block12, tmp28, tmp29, tmp30, tmp31, ca_.UncheckedCast<RawPtrT>(tmp31), tmp32);
7725 4 : if (label0.is_used()) {
7726 4 : ca_.Bind(&label0);
7727 : ca_.Goto(&block13, tmp28, tmp29, tmp30, tmp31, ca_.UncheckedCast<RawPtrT>(tmp31));
7728 : }
7729 : }
7730 :
7731 4 : if (block13.is_used()) {
7732 : compiler::TNode<Context> tmp33;
7733 : compiler::TNode<RawPtrT> tmp34;
7734 : compiler::TNode<Smi> tmp35;
7735 : compiler::TNode<RawPtrT> tmp36;
7736 : compiler::TNode<RawPtrT> tmp37;
7737 : ca_.Bind(&block13, &tmp33, &tmp34, &tmp35, &tmp36, &tmp37);
7738 : ca_.Goto(&block11, tmp33, tmp34, tmp35, tmp36);
7739 : }
7740 :
7741 4 : if (block12.is_used()) {
7742 : compiler::TNode<Context> tmp38;
7743 : compiler::TNode<RawPtrT> tmp39;
7744 : compiler::TNode<Smi> tmp40;
7745 : compiler::TNode<RawPtrT> tmp41;
7746 : compiler::TNode<RawPtrT> tmp42;
7747 : compiler::TNode<RawPtrT> tmp43;
7748 : ca_.Bind(&block12, &tmp38, &tmp39, &tmp40, &tmp41, &tmp42, &tmp43);
7749 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 729);
7750 8 : CodeStubAssembler(state_).Unreachable();
7751 : }
7752 :
7753 4 : if (block11.is_used()) {
7754 : compiler::TNode<Context> tmp44;
7755 : compiler::TNode<RawPtrT> tmp45;
7756 : compiler::TNode<Smi> tmp46;
7757 : compiler::TNode<RawPtrT> tmp47;
7758 : ca_.Bind(&block11, &tmp44, &tmp45, &tmp46, &tmp47);
7759 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 731);
7760 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 728);
7761 : ca_.Goto(&block10, tmp44, tmp45, tmp46, tmp47);
7762 : }
7763 :
7764 4 : if (block10.is_used()) {
7765 : compiler::TNode<Context> tmp48;
7766 : compiler::TNode<RawPtrT> tmp49;
7767 : compiler::TNode<Smi> tmp50;
7768 : compiler::TNode<RawPtrT> tmp51;
7769 : ca_.Bind(&block10, &tmp48, &tmp49, &tmp50, &tmp51);
7770 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 725);
7771 : ca_.Goto(&block6, tmp48, tmp49, tmp50, tmp51);
7772 : }
7773 :
7774 4 : if (block6.is_used()) {
7775 : compiler::TNode<Context> tmp52;
7776 : compiler::TNode<RawPtrT> tmp53;
7777 : compiler::TNode<Smi> tmp54;
7778 : compiler::TNode<RawPtrT> tmp55;
7779 : ca_.Bind(&block6, &tmp52, &tmp53, &tmp54, &tmp55);
7780 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 724);
7781 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 718);
7782 : ca_.Goto(&block1, tmp52);
7783 : }
7784 :
7785 4 : if (block1.is_used()) {
7786 : compiler::TNode<Context> tmp56;
7787 : ca_.Bind(&block1, &tmp56);
7788 : ca_.Goto(&block14, tmp56);
7789 : }
7790 :
7791 : compiler::TNode<Context> tmp57;
7792 : ca_.Bind(&block14, &tmp57);
7793 4 : }
7794 :
7795 4 : void TestBuiltinsFromDSLAssembler::TestNew(compiler::TNode<Context> p_context) {
7796 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7797 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7798 : compiler::CodeAssemblerParameterizedLabel<Context> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7799 : ca_.Goto(&block0, p_context);
7800 :
7801 4 : if (block0.is_used()) {
7802 : compiler::TNode<Context> tmp0;
7803 : ca_.Bind(&block0, &tmp0);
7804 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 737);
7805 : compiler::TNode<JSArray> tmp1;
7806 : USE(tmp1);
7807 12 : tmp1 = ca_.UncheckedCast<JSArray>(BaseBuiltinsFromDSLAssembler(state_).NewJSArray(compiler::TNode<Context>{tmp0}));
7808 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 739);
7809 4 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(JSArray::kLengthOffset);
7810 : USE(tmp2);
7811 : compiler::TNode<Number> tmp3;
7812 : USE(tmp3);
7813 12 : tmp3 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr20UT5ATSmi10HeapNumber17ATconstexpr_int31(0));
7814 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp1, tmp2}, tmp3);
7815 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 736);
7816 : ca_.Goto(&block1, tmp0);
7817 : }
7818 :
7819 4 : if (block1.is_used()) {
7820 : compiler::TNode<Context> tmp4;
7821 : ca_.Bind(&block1, &tmp4);
7822 : ca_.Goto(&block2, tmp4);
7823 : }
7824 :
7825 : compiler::TNode<Context> tmp5;
7826 : ca_.Bind(&block2, &tmp5);
7827 4 : }
7828 :
7829 4 : void TestBuiltinsFromDSLAssembler::TestStructConstructor(compiler::TNode<Context> p_context) {
7830 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7831 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T, Int32T, Int32T, Int32T, Int32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7832 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7833 : compiler::CodeAssemblerParameterizedLabel<Context> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7834 : ca_.Goto(&block0, p_context);
7835 :
7836 4 : if (block0.is_used()) {
7837 : compiler::TNode<Context> tmp0;
7838 : ca_.Bind(&block0, &tmp0);
7839 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 761);
7840 : compiler::TNode<Int32T> tmp1;
7841 : USE(tmp1);
7842 12 : tmp1 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(6));
7843 : compiler::TNode<Int32T> tmp2;
7844 : USE(tmp2);
7845 12 : tmp2 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(7));
7846 : compiler::TNode<Int32T> tmp3;
7847 : USE(tmp3);
7848 12 : tmp3 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(5));
7849 : compiler::TNode<Int32T> tmp4;
7850 : USE(tmp4);
7851 12 : tmp4 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(8));
7852 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 766);
7853 : compiler::TNode<Int32T> tmp5;
7854 : USE(tmp5);
7855 12 : tmp5 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(1));
7856 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 768);
7857 : compiler::TNode<Int32T> tmp6;
7858 : USE(tmp6);
7859 12 : tmp6 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(2));
7860 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 744);
7861 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 768);
7862 : ca_.Goto(&block2, tmp0, tmp3, tmp6, tmp2, tmp4, tmp6);
7863 : }
7864 :
7865 4 : if (block2.is_used()) {
7866 : compiler::TNode<Context> tmp7;
7867 : compiler::TNode<Int32T> tmp8;
7868 : compiler::TNode<Int32T> tmp9;
7869 : compiler::TNode<Int32T> tmp10;
7870 : compiler::TNode<Int32T> tmp11;
7871 : compiler::TNode<Int32T> tmp12;
7872 : ca_.Bind(&block2, &tmp7, &tmp8, &tmp9, &tmp10, &tmp11, &tmp12);
7873 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 759);
7874 : ca_.Goto(&block1, tmp7);
7875 : }
7876 :
7877 4 : if (block1.is_used()) {
7878 : compiler::TNode<Context> tmp13;
7879 : ca_.Bind(&block1, &tmp13);
7880 : ca_.Goto(&block3, tmp13);
7881 : }
7882 :
7883 : compiler::TNode<Context> tmp14;
7884 : ca_.Bind(&block3, &tmp14);
7885 4 : }
7886 :
7887 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) {
7888 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT, Int8T, Uint8T, Int16T, Uint16T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7889 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT, Int8T, Uint8T, Int16T, Uint16T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7890 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT, Int8T, Uint8T, Int16T, Uint16T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7891 : ca_.Goto(&block0, p_t, p_r, p_v1, p_v2, p_v3, p_v4);
7892 :
7893 0 : if (block0.is_used()) {
7894 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
7895 : compiler::TNode<RawPtrT> tmp1;
7896 : compiler::TNode<Int8T> tmp2;
7897 : compiler::TNode<Uint8T> tmp3;
7898 : compiler::TNode<Int16T> tmp4;
7899 : compiler::TNode<Uint16T> tmp5;
7900 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2, &tmp3, &tmp4, &tmp5);
7901 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 790);
7902 0 : compiler::TNode<IntPtrT> tmp6 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kAOffset);
7903 : USE(tmp6);
7904 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp6}, tmp2);
7905 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 791);
7906 0 : compiler::TNode<IntPtrT> tmp7 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kBOffset);
7907 : USE(tmp7);
7908 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp7}, tmp3);
7909 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 792);
7910 0 : compiler::TNode<IntPtrT> tmp8 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kCOffset);
7911 : USE(tmp8);
7912 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp8}, tmp4);
7913 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 793);
7914 0 : compiler::TNode<IntPtrT> tmp9 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kDOffset);
7915 : USE(tmp9);
7916 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp9}, tmp5);
7917 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 794);
7918 0 : compiler::TNode<IntPtrT> tmp10 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kEOffset);
7919 : USE(tmp10);
7920 : compiler::TNode<Int32T> tmp11;
7921 : USE(tmp11);
7922 0 : tmp11 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(0));
7923 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp10}, tmp11);
7924 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 795);
7925 0 : compiler::TNode<IntPtrT> tmp12 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kFOffset);
7926 : USE(tmp12);
7927 : compiler::TNode<Uint32T> tmp13;
7928 : USE(tmp13);
7929 0 : tmp13 = ca_.UncheckedCast<Uint32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATuint3217ATconstexpr_int31(0));
7930 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp12}, tmp13);
7931 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 796);
7932 0 : compiler::TNode<IntPtrT> tmp14 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kGOffset);
7933 : USE(tmp14);
7934 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp14}, tmp1);
7935 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 797);
7936 0 : compiler::TNode<IntPtrT> tmp15 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kHOffset);
7937 : USE(tmp15);
7938 : compiler::TNode<IntPtrT> tmp16;
7939 : USE(tmp16);
7940 0 : tmp16 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(0));
7941 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp15}, tmp16);
7942 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 798);
7943 0 : compiler::TNode<IntPtrT> tmp17 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kIOffset);
7944 : USE(tmp17);
7945 : compiler::TNode<UintPtrT> tmp18;
7946 : USE(tmp18);
7947 0 : tmp18 = ca_.UncheckedCast<UintPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr9ATuintptr17ATconstexpr_int31(0));
7948 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp17}, tmp18);
7949 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 799);
7950 0 : compiler::TNode<IntPtrT> tmp19 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kAOffset);
7951 : USE(tmp19);
7952 0 : compiler::TNode<IntPtrT> tmp20 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kAOffset);
7953 : USE(tmp20);
7954 0 : compiler::TNode<Int8T>tmp21 = CodeStubAssembler(state_).LoadReference<Int8T>(CodeStubAssembler::Reference{tmp0, tmp20});
7955 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp19}, tmp21);
7956 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 800);
7957 0 : compiler::TNode<IntPtrT> tmp22 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kBOffset);
7958 : USE(tmp22);
7959 0 : compiler::TNode<IntPtrT> tmp23 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kBOffset);
7960 : USE(tmp23);
7961 0 : compiler::TNode<Uint8T>tmp24 = CodeStubAssembler(state_).LoadReference<Uint8T>(CodeStubAssembler::Reference{tmp0, tmp23});
7962 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp22}, tmp24);
7963 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 801);
7964 0 : compiler::TNode<IntPtrT> tmp25 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kCOffset);
7965 : USE(tmp25);
7966 0 : compiler::TNode<IntPtrT> tmp26 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kCOffset);
7967 : USE(tmp26);
7968 0 : compiler::TNode<Int16T>tmp27 = CodeStubAssembler(state_).LoadReference<Int16T>(CodeStubAssembler::Reference{tmp0, tmp26});
7969 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp25}, tmp27);
7970 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 802);
7971 0 : compiler::TNode<IntPtrT> tmp28 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kDOffset);
7972 : USE(tmp28);
7973 0 : compiler::TNode<IntPtrT> tmp29 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kDOffset);
7974 : USE(tmp29);
7975 0 : compiler::TNode<Uint16T>tmp30 = CodeStubAssembler(state_).LoadReference<Uint16T>(CodeStubAssembler::Reference{tmp0, tmp29});
7976 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp28}, tmp30);
7977 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 803);
7978 0 : compiler::TNode<IntPtrT> tmp31 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kEOffset);
7979 : USE(tmp31);
7980 0 : compiler::TNode<IntPtrT> tmp32 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kEOffset);
7981 : USE(tmp32);
7982 0 : compiler::TNode<Int32T>tmp33 = CodeStubAssembler(state_).LoadReference<Int32T>(CodeStubAssembler::Reference{tmp0, tmp32});
7983 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp31}, tmp33);
7984 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 804);
7985 0 : compiler::TNode<IntPtrT> tmp34 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kFOffset);
7986 : USE(tmp34);
7987 0 : compiler::TNode<IntPtrT> tmp35 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kFOffset);
7988 : USE(tmp35);
7989 0 : compiler::TNode<Uint32T>tmp36 = CodeStubAssembler(state_).LoadReference<Uint32T>(CodeStubAssembler::Reference{tmp0, tmp35});
7990 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp34}, tmp36);
7991 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 805);
7992 0 : compiler::TNode<IntPtrT> tmp37 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kGOffset);
7993 : USE(tmp37);
7994 0 : compiler::TNode<IntPtrT> tmp38 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kGOffset);
7995 : USE(tmp38);
7996 0 : compiler::TNode<RawPtrT>tmp39 = CodeStubAssembler(state_).LoadReference<RawPtrT>(CodeStubAssembler::Reference{tmp0, tmp38});
7997 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp37}, tmp39);
7998 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 806);
7999 0 : compiler::TNode<IntPtrT> tmp40 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kHOffset);
8000 : USE(tmp40);
8001 0 : compiler::TNode<IntPtrT> tmp41 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kHOffset);
8002 : USE(tmp41);
8003 0 : compiler::TNode<IntPtrT>tmp42 = CodeStubAssembler(state_).LoadReference<IntPtrT>(CodeStubAssembler::Reference{tmp0, tmp41});
8004 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp40}, tmp42);
8005 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 807);
8006 0 : compiler::TNode<IntPtrT> tmp43 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kIOffset);
8007 : USE(tmp43);
8008 0 : compiler::TNode<IntPtrT> tmp44 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kIOffset);
8009 : USE(tmp44);
8010 0 : compiler::TNode<UintPtrT>tmp45 = CodeStubAssembler(state_).LoadReference<UintPtrT>(CodeStubAssembler::Reference{tmp0, tmp44});
8011 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp43}, tmp45);
8012 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 787);
8013 : ca_.Goto(&block1, tmp0, tmp1, tmp2, tmp3, tmp4, tmp5);
8014 : }
8015 :
8016 0 : if (block1.is_used()) {
8017 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp46;
8018 : compiler::TNode<RawPtrT> tmp47;
8019 : compiler::TNode<Int8T> tmp48;
8020 : compiler::TNode<Uint8T> tmp49;
8021 : compiler::TNode<Int16T> tmp50;
8022 : compiler::TNode<Uint16T> tmp51;
8023 : ca_.Bind(&block1, &tmp46, &tmp47, &tmp48, &tmp49, &tmp50, &tmp51);
8024 : ca_.Goto(&block2, tmp46, tmp47, tmp48, tmp49, tmp50, tmp51);
8025 : }
8026 :
8027 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp52;
8028 : compiler::TNode<RawPtrT> tmp53;
8029 : compiler::TNode<Int8T> tmp54;
8030 : compiler::TNode<Uint8T> tmp55;
8031 : compiler::TNode<Int16T> tmp56;
8032 : compiler::TNode<Uint16T> tmp57;
8033 : ca_.Bind(&block2, &tmp52, &tmp53, &tmp54, &tmp55, &tmp56, &tmp57);
8034 0 : }
8035 :
8036 4 : compiler::TNode<FixedArray> TestBuiltinsFromDSLAssembler::NewInternalClass(compiler::TNode<Smi> p_x) {
8037 4 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8038 : compiler::CodeAssemblerParameterizedLabel<Smi, FixedArray> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8039 : compiler::CodeAssemblerParameterizedLabel<Smi, FixedArray> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8040 : ca_.Goto(&block0, p_x);
8041 :
8042 4 : if (block0.is_used()) {
8043 : compiler::TNode<Smi> tmp0;
8044 : ca_.Bind(&block0, &tmp0);
8045 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 821);
8046 : compiler::TNode<Smi> tmp1;
8047 : USE(tmp1);
8048 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
8049 : compiler::TNode<Smi> tmp2;
8050 : USE(tmp2);
8051 8 : tmp2 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp0}, compiler::TNode<Smi>{tmp1}));
8052 : compiler::TNode<FixedArray> tmp3;
8053 : USE(tmp3);
8054 8 : tmp3 = CodeStubAssembler(state_).AllocateUninitializedFixedArray(2);
8055 4 : compiler::TNode<IntPtrT> tmp4 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
8056 : USE(tmp4);
8057 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp3, tmp4}, tmp0);
8058 4 : compiler::TNode<IntPtrT> tmp5 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
8059 : USE(tmp5);
8060 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp3, tmp5}, tmp2);
8061 : ca_.Goto(&block1, tmp0, tmp3);
8062 : }
8063 :
8064 4 : if (block1.is_used()) {
8065 : compiler::TNode<Smi> tmp6;
8066 : compiler::TNode<FixedArray> tmp7;
8067 : ca_.Bind(&block1, &tmp6, &tmp7);
8068 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 820);
8069 : ca_.Goto(&block2, tmp6, tmp7);
8070 : }
8071 :
8072 : compiler::TNode<Smi> tmp8;
8073 : compiler::TNode<FixedArray> tmp9;
8074 : ca_.Bind(&block2, &tmp8, &tmp9);
8075 8 : return compiler::TNode<FixedArray>{tmp9};
8076 : }
8077 :
8078 4 : void TestBuiltinsFromDSLAssembler::TestInternalClass(compiler::TNode<Context> p_context) {
8079 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8080 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, FixedArray> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8081 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, FixedArray> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8082 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8083 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8084 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
8085 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8086 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
8087 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8088 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8089 : compiler::CodeAssemblerParameterizedLabel<Context> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8090 : ca_.Goto(&block0, p_context);
8091 :
8092 4 : if (block0.is_used()) {
8093 : compiler::TNode<Context> tmp0;
8094 : ca_.Bind(&block0, &tmp0);
8095 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 825);
8096 : compiler::TNode<Smi> tmp1;
8097 : USE(tmp1);
8098 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
8099 : compiler::TNode<FixedArray> tmp2;
8100 : USE(tmp2);
8101 12 : tmp2 = ca_.UncheckedCast<FixedArray>(TestBuiltinsFromDSLAssembler(state_).NewInternalClass(compiler::TNode<Smi>{tmp1}));
8102 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 826);
8103 4 : compiler::CodeAssemblerLabel label0(&ca_);
8104 12 : TestBuiltinsFromDSLAssembler(state_)._method_InternalClass_Flip(compiler::TNode<FixedArray>{tmp2}, &label0);
8105 : ca_.Goto(&block4, tmp0, tmp2, tmp2);
8106 4 : if (label0.is_used()) {
8107 4 : ca_.Bind(&label0);
8108 : ca_.Goto(&block5, tmp0, tmp2, tmp2);
8109 : }
8110 : }
8111 :
8112 4 : if (block5.is_used()) {
8113 : compiler::TNode<Context> tmp3;
8114 : compiler::TNode<FixedArray> tmp4;
8115 : compiler::TNode<FixedArray> tmp5;
8116 : ca_.Bind(&block5, &tmp3, &tmp4, &tmp5);
8117 : ca_.Goto(&block3, tmp3, tmp4);
8118 : }
8119 :
8120 4 : if (block4.is_used()) {
8121 : compiler::TNode<Context> tmp6;
8122 : compiler::TNode<FixedArray> tmp7;
8123 : compiler::TNode<FixedArray> tmp8;
8124 : ca_.Bind(&block4, &tmp6, &tmp7, &tmp8);
8125 : ca_.Goto(&block2, tmp6, tmp7);
8126 : }
8127 :
8128 4 : if (block3.is_used()) {
8129 : compiler::TNode<Context> tmp9;
8130 : compiler::TNode<FixedArray> tmp10;
8131 : ca_.Bind(&block3, &tmp9, &tmp10);
8132 8 : CodeStubAssembler(state_).Unreachable();
8133 : }
8134 :
8135 4 : if (block2.is_used()) {
8136 : compiler::TNode<Context> tmp11;
8137 : compiler::TNode<FixedArray> tmp12;
8138 : ca_.Bind(&block2, &tmp11, &tmp12);
8139 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 827);
8140 4 : compiler::TNode<IntPtrT> tmp13 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
8141 : USE(tmp13);
8142 12 : compiler::TNode<Smi>tmp14 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp12, tmp13});
8143 : compiler::TNode<Smi> tmp15;
8144 : USE(tmp15);
8145 12 : tmp15 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(6));
8146 : compiler::TNode<BoolT> tmp16;
8147 : USE(tmp16);
8148 8 : tmp16 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp14}, compiler::TNode<Smi>{tmp15}));
8149 4 : ca_.Branch(tmp16, &block6, &block7, tmp11, tmp12);
8150 : }
8151 :
8152 4 : if (block7.is_used()) {
8153 : compiler::TNode<Context> tmp17;
8154 : compiler::TNode<FixedArray> tmp18;
8155 : ca_.Bind(&block7, &tmp17, &tmp18);
8156 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'o.a == 6\' failed", "../../test/torque/test-torque.tq", 827);
8157 : }
8158 :
8159 4 : if (block6.is_used()) {
8160 : compiler::TNode<Context> tmp19;
8161 : compiler::TNode<FixedArray> tmp20;
8162 : ca_.Bind(&block6, &tmp19, &tmp20);
8163 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 828);
8164 4 : compiler::TNode<IntPtrT> tmp21 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
8165 : USE(tmp21);
8166 12 : compiler::TNode<Number>tmp22 = CodeStubAssembler(state_).LoadReference<Number>(CodeStubAssembler::Reference{tmp20, tmp21});
8167 : compiler::TNode<Number> tmp23;
8168 : USE(tmp23);
8169 12 : tmp23 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr20UT5ATSmi10HeapNumber17ATconstexpr_int31(5));
8170 : compiler::TNode<BoolT> tmp24;
8171 : USE(tmp24);
8172 12 : tmp24 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).IsNumberEqual(compiler::TNode<Number>{tmp22}, compiler::TNode<Number>{tmp23}));
8173 4 : ca_.Branch(tmp24, &block8, &block9, tmp19, tmp20);
8174 : }
8175 :
8176 4 : if (block9.is_used()) {
8177 : compiler::TNode<Context> tmp25;
8178 : compiler::TNode<FixedArray> tmp26;
8179 : ca_.Bind(&block9, &tmp25, &tmp26);
8180 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'o.b == 5\' failed", "../../test/torque/test-torque.tq", 828);
8181 : }
8182 :
8183 4 : if (block8.is_used()) {
8184 : compiler::TNode<Context> tmp27;
8185 : compiler::TNode<FixedArray> tmp28;
8186 : ca_.Bind(&block8, &tmp27, &tmp28);
8187 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 824);
8188 : ca_.Goto(&block1, tmp27);
8189 : }
8190 :
8191 4 : if (block1.is_used()) {
8192 : compiler::TNode<Context> tmp29;
8193 : ca_.Bind(&block1, &tmp29);
8194 : ca_.Goto(&block10, tmp29);
8195 : }
8196 :
8197 : compiler::TNode<Context> tmp30;
8198 : ca_.Bind(&block10, &tmp30);
8199 4 : }
8200 :
8201 0 : void TestBuiltinsFromDSLAssembler::TestConstInStructs() {
8202 0 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8203 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8204 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8205 : ca_.Goto(&block0);
8206 :
8207 0 : if (block0.is_used()) {
8208 : ca_.Bind(&block0);
8209 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 843);
8210 : compiler::TNode<Oddball> tmp0;
8211 : USE(tmp0);
8212 0 : tmp0 = BaseBuiltinsFromDSLAssembler(state_).Null();
8213 : compiler::TNode<Int32T> tmp1;
8214 : USE(tmp1);
8215 0 : tmp1 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(1));
8216 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 844);
8217 : compiler::TNode<Oddball> tmp2;
8218 : USE(tmp2);
8219 0 : tmp2 = BaseBuiltinsFromDSLAssembler(state_).Null();
8220 : compiler::TNode<Int32T> tmp3;
8221 : USE(tmp3);
8222 0 : tmp3 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(1));
8223 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 845);
8224 : compiler::TNode<Oddball> tmp4;
8225 : USE(tmp4);
8226 0 : tmp4 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
8227 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 846);
8228 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 842);
8229 : ca_.Goto(&block1);
8230 : }
8231 :
8232 0 : if (block1.is_used()) {
8233 : ca_.Bind(&block1);
8234 : ca_.Goto(&block2);
8235 : }
8236 :
8237 : ca_.Bind(&block2);
8238 0 : }
8239 :
8240 4 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::TestNewFixedArrayFromSpread(compiler::TNode<Context> p_context) {
8241 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8242 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Map, Smi, IntPtrT, IntPtrT, IntPtrT, IntPtrT, FixedArray, HeapObject, IntPtrT, HeapObject, IntPtrT, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8243 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Map, Smi, IntPtrT, IntPtrT, IntPtrT, IntPtrT, FixedArray, HeapObject, IntPtrT, HeapObject, IntPtrT, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8244 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Map, Smi, IntPtrT, IntPtrT, IntPtrT, IntPtrT, FixedArray, HeapObject, IntPtrT, HeapObject, IntPtrT, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8245 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Map, Smi, IntPtrT, IntPtrT, IntPtrT, IntPtrT, FixedArray, HeapObject, IntPtrT, HeapObject, IntPtrT, Smi> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8246 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Map, Smi, IntPtrT, IntPtrT, IntPtrT, IntPtrT, FixedArray, HeapObject, IntPtrT, HeapObject, IntPtrT, Smi, Object> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8247 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Map, Smi, IntPtrT, IntPtrT, IntPtrT, IntPtrT, FixedArray, HeapObject, IntPtrT, HeapObject, IntPtrT, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
8248 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Map, Smi, IntPtrT, IntPtrT, IntPtrT, IntPtrT, FixedArray, HeapObject, IntPtrT, HeapObject, IntPtrT, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8249 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Map, Smi, IntPtrT, IntPtrT, IntPtrT, IntPtrT, FixedArray, HeapObject, IntPtrT, HeapObject, IntPtrT, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8250 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8251 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8252 : ca_.Goto(&block0, p_context);
8253 :
8254 4 : if (block0.is_used()) {
8255 : compiler::TNode<Context> tmp0;
8256 : ca_.Bind(&block0, &tmp0);
8257 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 858);
8258 : compiler::TNode<Smi> tmp1;
8259 : USE(tmp1);
8260 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
8261 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 859);
8262 : compiler::TNode<Map> tmp2;
8263 : USE(tmp2);
8264 12 : tmp2 = BaseBuiltinsFromDSLAssembler(state_).kFixedArrayMap();
8265 : compiler::TNode<IntPtrT> tmp3;
8266 : USE(tmp3);
8267 8 : tmp3 = CodeStubAssembler(state_).IntPtrConstant(((16)));
8268 : compiler::TNode<IntPtrT> tmp4;
8269 : USE(tmp4);
8270 12 : tmp4 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).Convert8ATintptr17ATconstexpr_int31(5));
8271 : compiler::TNode<IntPtrT> tmp5;
8272 : USE(tmp5);
8273 12 : tmp5 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(kTaggedSize));
8274 : compiler::TNode<IntPtrT> tmp6;
8275 : USE(tmp6);
8276 8 : tmp6 = ca_.UncheckedCast<IntPtrT>(CodeStubAssembler(state_).IntPtrMul(compiler::TNode<IntPtrT>{tmp4}, compiler::TNode<IntPtrT>{tmp5}));
8277 : compiler::TNode<IntPtrT> tmp7;
8278 : USE(tmp7);
8279 8 : tmp7 = ca_.UncheckedCast<IntPtrT>(CodeStubAssembler(state_).IntPtrAdd(compiler::TNode<IntPtrT>{tmp3}, compiler::TNode<IntPtrT>{tmp6}));
8280 : compiler::TNode<FixedArray> tmp8;
8281 : USE(tmp8);
8282 8 : tmp8 = ca_.UncheckedCast<FixedArray>(CodeStubAssembler(state_).Allocate(compiler::TNode<IntPtrT>{tmp7}));
8283 16 : CodeStubAssembler(state_).InitializeFieldsWithRoot(tmp8, CodeStubAssembler(state_).IntPtrConstant(16), compiler::TNode<IntPtrT>{tmp7}, RootIndex::kUndefinedValue);
8284 4 : compiler::TNode<IntPtrT> tmp9 = ca_.IntPtrConstant(HeapObject::kMapOffset);
8285 : USE(tmp9);
8286 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp8, tmp9}, tmp2);
8287 4 : compiler::TNode<IntPtrT> tmp10 = ca_.IntPtrConstant(FixedArrayBase::kLengthOffset);
8288 : USE(tmp10);
8289 : compiler::TNode<Smi> tmp11;
8290 : USE(tmp11);
8291 12 : tmp11 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
8292 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp8, tmp10}, tmp11);
8293 : compiler::TNode<Smi> tmp12;
8294 : USE(tmp12);
8295 12 : tmp12 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
8296 : ca_.Goto(&block6, tmp0, tmp1, tmp2, tmp1, tmp3, tmp4, tmp6, tmp7, tmp8, tmp8, tmp9, tmp8, tmp10, tmp12);
8297 : }
8298 :
8299 4 : if (block6.is_used()) {
8300 : compiler::TNode<Context> tmp13;
8301 : compiler::TNode<Smi> tmp14;
8302 : compiler::TNode<Map> tmp15;
8303 : compiler::TNode<Smi> tmp16;
8304 : compiler::TNode<IntPtrT> tmp17;
8305 : compiler::TNode<IntPtrT> tmp18;
8306 : compiler::TNode<IntPtrT> tmp19;
8307 : compiler::TNode<IntPtrT> tmp20;
8308 : compiler::TNode<FixedArray> tmp21;
8309 : compiler::TNode<HeapObject> tmp22;
8310 : compiler::TNode<IntPtrT> tmp23;
8311 : compiler::TNode<HeapObject> tmp24;
8312 : compiler::TNode<IntPtrT> tmp25;
8313 : compiler::TNode<Smi> tmp26;
8314 : ca_.Bind(&block6, &tmp13, &tmp14, &tmp15, &tmp16, &tmp17, &tmp18, &tmp19, &tmp20, &tmp21, &tmp22, &tmp23, &tmp24, &tmp25, &tmp26);
8315 : compiler::TNode<Smi> tmp27;
8316 : USE(tmp27);
8317 12 : tmp27 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
8318 : compiler::TNode<BoolT> tmp28;
8319 : USE(tmp28);
8320 8 : tmp28 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp26}, compiler::TNode<Smi>{tmp27}));
8321 4 : ca_.Branch(tmp28, &block4, &block3, tmp13, tmp14, tmp15, tmp16, tmp17, tmp18, tmp19, tmp20, tmp21, tmp22, tmp23, tmp24, tmp25, tmp26);
8322 : }
8323 :
8324 4 : if (block4.is_used()) {
8325 : compiler::TNode<Context> tmp29;
8326 : compiler::TNode<Smi> tmp30;
8327 : compiler::TNode<Map> tmp31;
8328 : compiler::TNode<Smi> tmp32;
8329 : compiler::TNode<IntPtrT> tmp33;
8330 : compiler::TNode<IntPtrT> tmp34;
8331 : compiler::TNode<IntPtrT> tmp35;
8332 : compiler::TNode<IntPtrT> tmp36;
8333 : compiler::TNode<FixedArray> tmp37;
8334 : compiler::TNode<HeapObject> tmp38;
8335 : compiler::TNode<IntPtrT> tmp39;
8336 : compiler::TNode<HeapObject> tmp40;
8337 : compiler::TNode<IntPtrT> tmp41;
8338 : compiler::TNode<Smi> tmp42;
8339 : ca_.Bind(&block4, &tmp29, &tmp30, &tmp31, &tmp32, &tmp33, &tmp34, &tmp35, &tmp36, &tmp37, &tmp38, &tmp39, &tmp40, &tmp41, &tmp42);
8340 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 851);
8341 : compiler::TNode<Smi> tmp43;
8342 : USE(tmp43);
8343 12 : tmp43 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
8344 : compiler::TNode<Smi> tmp44;
8345 : USE(tmp44);
8346 8 : tmp44 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiSub(compiler::TNode<Smi>{tmp32}, compiler::TNode<Smi>{tmp43}));
8347 : compiler::TNode<Smi> tmp45;
8348 : USE(tmp45);
8349 12 : tmp45 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
8350 : compiler::TNode<BoolT> tmp46;
8351 : USE(tmp46);
8352 8 : tmp46 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp32}, compiler::TNode<Smi>{tmp45}));
8353 4 : ca_.Branch(tmp46, &block8, &block9, tmp29, tmp30, tmp31, tmp44, tmp33, tmp34, tmp35, tmp36, tmp37, tmp38, tmp39, tmp40, tmp41, tmp42);
8354 : }
8355 :
8356 4 : if (block8.is_used()) {
8357 : compiler::TNode<Context> tmp47;
8358 : compiler::TNode<Smi> tmp48;
8359 : compiler::TNode<Map> tmp49;
8360 : compiler::TNode<Smi> tmp50;
8361 : compiler::TNode<IntPtrT> tmp51;
8362 : compiler::TNode<IntPtrT> tmp52;
8363 : compiler::TNode<IntPtrT> tmp53;
8364 : compiler::TNode<IntPtrT> tmp54;
8365 : compiler::TNode<FixedArray> tmp55;
8366 : compiler::TNode<HeapObject> tmp56;
8367 : compiler::TNode<IntPtrT> tmp57;
8368 : compiler::TNode<HeapObject> tmp58;
8369 : compiler::TNode<IntPtrT> tmp59;
8370 : compiler::TNode<Smi> tmp60;
8371 : ca_.Bind(&block8, &tmp47, &tmp48, &tmp49, &tmp50, &tmp51, &tmp52, &tmp53, &tmp54, &tmp55, &tmp56, &tmp57, &tmp58, &tmp59, &tmp60);
8372 : ca_.Goto(&block5, tmp47, tmp48, tmp49, tmp50, tmp51, tmp52, tmp53, tmp54, tmp55, tmp56, tmp57, tmp58, tmp59, tmp60);
8373 : }
8374 :
8375 4 : if (block9.is_used()) {
8376 : compiler::TNode<Context> tmp61;
8377 : compiler::TNode<Smi> tmp62;
8378 : compiler::TNode<Map> tmp63;
8379 : compiler::TNode<Smi> tmp64;
8380 : compiler::TNode<IntPtrT> tmp65;
8381 : compiler::TNode<IntPtrT> tmp66;
8382 : compiler::TNode<IntPtrT> tmp67;
8383 : compiler::TNode<IntPtrT> tmp68;
8384 : compiler::TNode<FixedArray> tmp69;
8385 : compiler::TNode<HeapObject> tmp70;
8386 : compiler::TNode<IntPtrT> tmp71;
8387 : compiler::TNode<HeapObject> tmp72;
8388 : compiler::TNode<IntPtrT> tmp73;
8389 : compiler::TNode<Smi> tmp74;
8390 : ca_.Bind(&block9, &tmp61, &tmp62, &tmp63, &tmp64, &tmp65, &tmp66, &tmp67, &tmp68, &tmp69, &tmp70, &tmp71, &tmp72, &tmp73, &tmp74);
8391 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 852);
8392 : compiler::TNode<Oddball> tmp75;
8393 : USE(tmp75);
8394 12 : tmp75 = BaseBuiltinsFromDSLAssembler(state_).Hole();
8395 : ca_.Goto(&block7, tmp61, tmp62, tmp63, tmp64, tmp65, tmp66, tmp67, tmp68, tmp69, tmp70, tmp71, tmp72, tmp73, tmp74, tmp75);
8396 : }
8397 :
8398 4 : if (block7.is_used()) {
8399 : compiler::TNode<Context> tmp76;
8400 : compiler::TNode<Smi> tmp77;
8401 : compiler::TNode<Map> tmp78;
8402 : compiler::TNode<Smi> tmp79;
8403 : compiler::TNode<IntPtrT> tmp80;
8404 : compiler::TNode<IntPtrT> tmp81;
8405 : compiler::TNode<IntPtrT> tmp82;
8406 : compiler::TNode<IntPtrT> tmp83;
8407 : compiler::TNode<FixedArray> tmp84;
8408 : compiler::TNode<HeapObject> tmp85;
8409 : compiler::TNode<IntPtrT> tmp86;
8410 : compiler::TNode<HeapObject> tmp87;
8411 : compiler::TNode<IntPtrT> tmp88;
8412 : compiler::TNode<Smi> tmp89;
8413 : compiler::TNode<Object> tmp90;
8414 : ca_.Bind(&block7, &tmp76, &tmp77, &tmp78, &tmp79, &tmp80, &tmp81, &tmp82, &tmp83, &tmp84, &tmp85, &tmp86, &tmp87, &tmp88, &tmp89, &tmp90);
8415 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 859);
8416 12 : BaseBuiltinsFromDSLAssembler(state_).StoreFixedArrayDirect(compiler::TNode<FixedArray>{tmp84}, compiler::TNode<Smi>{tmp89}, compiler::TNode<Object>{tmp90});
8417 : compiler::TNode<Smi> tmp91;
8418 : USE(tmp91);
8419 12 : tmp91 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
8420 : compiler::TNode<Smi> tmp92;
8421 : USE(tmp92);
8422 8 : tmp92 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp89}, compiler::TNode<Smi>{tmp91}));
8423 : ca_.Goto(&block6, tmp76, tmp77, tmp78, tmp79, tmp80, tmp81, tmp82, tmp83, tmp84, tmp85, tmp86, tmp87, tmp88, tmp92);
8424 : }
8425 :
8426 4 : if (block5.is_used()) {
8427 : compiler::TNode<Context> tmp93;
8428 : compiler::TNode<Smi> tmp94;
8429 : compiler::TNode<Map> tmp95;
8430 : compiler::TNode<Smi> tmp96;
8431 : compiler::TNode<IntPtrT> tmp97;
8432 : compiler::TNode<IntPtrT> tmp98;
8433 : compiler::TNode<IntPtrT> tmp99;
8434 : compiler::TNode<IntPtrT> tmp100;
8435 : compiler::TNode<FixedArray> tmp101;
8436 : compiler::TNode<HeapObject> tmp102;
8437 : compiler::TNode<IntPtrT> tmp103;
8438 : compiler::TNode<HeapObject> tmp104;
8439 : compiler::TNode<IntPtrT> tmp105;
8440 : compiler::TNode<Smi> tmp106;
8441 : ca_.Bind(&block5, &tmp93, &tmp94, &tmp95, &tmp96, &tmp97, &tmp98, &tmp99, &tmp100, &tmp101, &tmp102, &tmp103, &tmp104, &tmp105, &tmp106);
8442 8 : CodeStubAssembler(state_).Unreachable();
8443 : }
8444 :
8445 4 : if (block3.is_used()) {
8446 : compiler::TNode<Context> tmp107;
8447 : compiler::TNode<Smi> tmp108;
8448 : compiler::TNode<Map> tmp109;
8449 : compiler::TNode<Smi> tmp110;
8450 : compiler::TNode<IntPtrT> tmp111;
8451 : compiler::TNode<IntPtrT> tmp112;
8452 : compiler::TNode<IntPtrT> tmp113;
8453 : compiler::TNode<IntPtrT> tmp114;
8454 : compiler::TNode<FixedArray> tmp115;
8455 : compiler::TNode<HeapObject> tmp116;
8456 : compiler::TNode<IntPtrT> tmp117;
8457 : compiler::TNode<HeapObject> tmp118;
8458 : compiler::TNode<IntPtrT> tmp119;
8459 : compiler::TNode<Smi> tmp120;
8460 : ca_.Bind(&block3, &tmp107, &tmp108, &tmp109, &tmp110, &tmp111, &tmp112, &tmp113, &tmp114, &tmp115, &tmp116, &tmp117, &tmp118, &tmp119, &tmp120);
8461 : ca_.Goto(&block2, tmp107, tmp108, tmp109, tmp110, tmp111, tmp112, tmp113, tmp114, tmp115, tmp116, tmp117, tmp118, tmp119, tmp120);
8462 : }
8463 :
8464 4 : if (block2.is_used()) {
8465 : compiler::TNode<Context> tmp121;
8466 : compiler::TNode<Smi> tmp122;
8467 : compiler::TNode<Map> tmp123;
8468 : compiler::TNode<Smi> tmp124;
8469 : compiler::TNode<IntPtrT> tmp125;
8470 : compiler::TNode<IntPtrT> tmp126;
8471 : compiler::TNode<IntPtrT> tmp127;
8472 : compiler::TNode<IntPtrT> tmp128;
8473 : compiler::TNode<FixedArray> tmp129;
8474 : compiler::TNode<HeapObject> tmp130;
8475 : compiler::TNode<IntPtrT> tmp131;
8476 : compiler::TNode<HeapObject> tmp132;
8477 : compiler::TNode<IntPtrT> tmp133;
8478 : compiler::TNode<Smi> tmp134;
8479 : ca_.Bind(&block2, &tmp121, &tmp122, &tmp123, &tmp124, &tmp125, &tmp126, &tmp127, &tmp128, &tmp129, &tmp130, &tmp131, &tmp132, &tmp133, &tmp134);
8480 : ca_.Goto(&block1, tmp121, tmp129);
8481 : }
8482 :
8483 4 : if (block1.is_used()) {
8484 : compiler::TNode<Context> tmp135;
8485 : compiler::TNode<Object> tmp136;
8486 : ca_.Bind(&block1, &tmp135, &tmp136);
8487 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 857);
8488 : ca_.Goto(&block10, tmp135, tmp136);
8489 : }
8490 :
8491 : compiler::TNode<Context> tmp137;
8492 : compiler::TNode<Object> tmp138;
8493 : ca_.Bind(&block10, &tmp137, &tmp138);
8494 8 : return compiler::TNode<Object>{tmp138};
8495 : }
8496 :
8497 4 : void TestBuiltinsFromDSLAssembler::TestReferences() {
8498 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8499 : compiler::CodeAssemblerParameterizedLabel<FixedArray, HeapObject, IntPtrT> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
8500 : compiler::CodeAssemblerParameterizedLabel<FixedArray, HeapObject, IntPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8501 : compiler::CodeAssemblerParameterizedLabel<FixedArray, HeapObject, IntPtrT> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
8502 : compiler::CodeAssemblerParameterizedLabel<FixedArray, HeapObject, IntPtrT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8503 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8504 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8505 : ca_.Goto(&block0);
8506 :
8507 4 : if (block0.is_used()) {
8508 : ca_.Bind(&block0);
8509 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 877);
8510 : compiler::TNode<FixedArray> tmp0;
8511 : USE(tmp0);
8512 8 : tmp0 = CodeStubAssembler(state_).AllocateUninitializedFixedArray(2);
8513 4 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
8514 : USE(tmp1);
8515 : compiler::TNode<Smi> tmp2;
8516 : USE(tmp2);
8517 12 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
8518 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp1}, tmp2);
8519 4 : compiler::TNode<IntPtrT> tmp3 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
8520 : USE(tmp3);
8521 : compiler::TNode<Smi> tmp4;
8522 : USE(tmp4);
8523 12 : tmp4 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(2));
8524 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp3}, tmp4);
8525 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 878);
8526 4 : compiler::TNode<IntPtrT> tmp5 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
8527 : USE(tmp5);
8528 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 879);
8529 12 : compiler::TNode<Smi>tmp6 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp0, tmp5});
8530 : compiler::TNode<Smi> tmp7;
8531 : USE(tmp7);
8532 12 : tmp7 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
8533 : compiler::TNode<Smi> tmp8;
8534 : USE(tmp8);
8535 8 : tmp8 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp7}, compiler::TNode<Smi>{tmp6}));
8536 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp5}, tmp8);
8537 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 880);
8538 12 : compiler::TNode<Smi>tmp9 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp0, tmp5});
8539 : compiler::TNode<Smi> tmp10;
8540 : USE(tmp10);
8541 12 : tmp10 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
8542 : compiler::TNode<Smi> tmp11;
8543 : USE(tmp11);
8544 8 : tmp11 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiSub(compiler::TNode<Smi>{tmp9}, compiler::TNode<Smi>{tmp10}));
8545 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp5}, tmp11);
8546 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 881);
8547 4 : compiler::TNode<IntPtrT> tmp12 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
8548 : USE(tmp12);
8549 : compiler::TNode<HeapObject> tmp13;
8550 : USE(tmp13);
8551 : compiler::TNode<IntPtrT> tmp14;
8552 : USE(tmp14);
8553 16 : std::tie(tmp13, tmp14) = TestBuiltinsFromDSLAssembler(state_)._method_SmiPair_GetA(compiler::TNode<FixedArray>{tmp0}).Flatten();
8554 16 : TestBuiltinsFromDSLAssembler(state_).Swap5ATSmi(CodeStubAssembler::Reference{tmp0, tmp12}, CodeStubAssembler::Reference{tmp13, tmp14});
8555 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 882);
8556 4 : compiler::TNode<IntPtrT> tmp15 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
8557 : USE(tmp15);
8558 12 : compiler::TNode<Smi>tmp16 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp0, tmp15});
8559 : compiler::TNode<Smi> tmp17;
8560 : USE(tmp17);
8561 12 : tmp17 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(2));
8562 : compiler::TNode<BoolT> tmp18;
8563 : USE(tmp18);
8564 8 : tmp18 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp16}, compiler::TNode<Smi>{tmp17}));
8565 4 : ca_.Branch(tmp18, &block2, &block3, tmp0, tmp0, tmp5);
8566 : }
8567 :
8568 4 : if (block3.is_used()) {
8569 : compiler::TNode<FixedArray> tmp19;
8570 : compiler::TNode<HeapObject> tmp20;
8571 : compiler::TNode<IntPtrT> tmp21;
8572 : ca_.Bind(&block3, &tmp19, &tmp20, &tmp21);
8573 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'array.a == 2\' failed", "../../test/torque/test-torque.tq", 882);
8574 : }
8575 :
8576 4 : if (block2.is_used()) {
8577 : compiler::TNode<FixedArray> tmp22;
8578 : compiler::TNode<HeapObject> tmp23;
8579 : compiler::TNode<IntPtrT> tmp24;
8580 : ca_.Bind(&block2, &tmp22, &tmp23, &tmp24);
8581 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 883);
8582 4 : compiler::TNode<IntPtrT> tmp25 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
8583 : USE(tmp25);
8584 12 : compiler::TNode<Smi>tmp26 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp22, tmp25});
8585 : compiler::TNode<Smi> tmp27;
8586 : USE(tmp27);
8587 12 : tmp27 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(9));
8588 : compiler::TNode<BoolT> tmp28;
8589 : USE(tmp28);
8590 8 : tmp28 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp26}, compiler::TNode<Smi>{tmp27}));
8591 4 : ca_.Branch(tmp28, &block4, &block5, tmp22, tmp23, tmp24);
8592 : }
8593 :
8594 4 : if (block5.is_used()) {
8595 : compiler::TNode<FixedArray> tmp29;
8596 : compiler::TNode<HeapObject> tmp30;
8597 : compiler::TNode<IntPtrT> tmp31;
8598 : ca_.Bind(&block5, &tmp29, &tmp30, &tmp31);
8599 8 : CodeStubAssembler(state_).FailAssert("Torque assert \'array.b == 9\' failed", "../../test/torque/test-torque.tq", 883);
8600 : }
8601 :
8602 4 : if (block4.is_used()) {
8603 : compiler::TNode<FixedArray> tmp32;
8604 : compiler::TNode<HeapObject> tmp33;
8605 : compiler::TNode<IntPtrT> tmp34;
8606 : ca_.Bind(&block4, &tmp32, &tmp33, &tmp34);
8607 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 876);
8608 : ca_.Goto(&block1);
8609 : }
8610 :
8611 4 : if (block1.is_used()) {
8612 : ca_.Bind(&block1);
8613 : ca_.Goto(&block6);
8614 : }
8615 :
8616 : ca_.Bind(&block6);
8617 4 : }
8618 :
8619 0 : compiler::TNode<Int8T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesA(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8620 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8621 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int8T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8622 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int8T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8623 : ca_.Goto(&block0, p_o);
8624 :
8625 0 : if (block0.is_used()) {
8626 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8627 : ca_.Bind(&block0, &tmp0);
8628 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 774);
8629 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kAOffset);
8630 : USE(tmp1);
8631 0 : compiler::TNode<Int8T>tmp2 = CodeStubAssembler(state_).LoadReference<Int8T>(CodeStubAssembler::Reference{tmp0, tmp1});
8632 : ca_.Goto(&block1, tmp0, tmp2);
8633 : }
8634 :
8635 0 : if (block1.is_used()) {
8636 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8637 : compiler::TNode<Int8T> tmp4;
8638 : ca_.Bind(&block1, &tmp3, &tmp4);
8639 : ca_.Goto(&block2, tmp3, tmp4);
8640 : }
8641 :
8642 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8643 : compiler::TNode<Int8T> tmp6;
8644 : ca_.Bind(&block2, &tmp5, &tmp6);
8645 0 : return compiler::TNode<Int8T>{tmp6};
8646 : }
8647 :
8648 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesA(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Int8T> p_v) {
8649 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int8T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8650 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int8T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8651 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int8T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8652 : ca_.Goto(&block0, p_o, p_v);
8653 :
8654 0 : if (block0.is_used()) {
8655 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8656 : compiler::TNode<Int8T> tmp1;
8657 : ca_.Bind(&block0, &tmp0, &tmp1);
8658 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 774);
8659 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kAOffset);
8660 : USE(tmp2);
8661 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
8662 : ca_.Goto(&block1, tmp0, tmp1);
8663 : }
8664 :
8665 0 : if (block1.is_used()) {
8666 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8667 : compiler::TNode<Int8T> tmp4;
8668 : ca_.Bind(&block1, &tmp3, &tmp4);
8669 : ca_.Goto(&block2, tmp3, tmp4);
8670 : }
8671 :
8672 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8673 : compiler::TNode<Int8T> tmp6;
8674 : ca_.Bind(&block2, &tmp5, &tmp6);
8675 0 : }
8676 :
8677 0 : compiler::TNode<Uint8T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesB(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8678 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8679 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8680 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8681 : ca_.Goto(&block0, p_o);
8682 :
8683 0 : if (block0.is_used()) {
8684 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8685 : ca_.Bind(&block0, &tmp0);
8686 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 775);
8687 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kBOffset);
8688 : USE(tmp1);
8689 0 : compiler::TNode<Uint8T>tmp2 = CodeStubAssembler(state_).LoadReference<Uint8T>(CodeStubAssembler::Reference{tmp0, tmp1});
8690 : ca_.Goto(&block1, tmp0, tmp2);
8691 : }
8692 :
8693 0 : if (block1.is_used()) {
8694 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8695 : compiler::TNode<Uint8T> tmp4;
8696 : ca_.Bind(&block1, &tmp3, &tmp4);
8697 : ca_.Goto(&block2, tmp3, tmp4);
8698 : }
8699 :
8700 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8701 : compiler::TNode<Uint8T> tmp6;
8702 : ca_.Bind(&block2, &tmp5, &tmp6);
8703 0 : return compiler::TNode<Uint8T>{tmp6};
8704 : }
8705 :
8706 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesB(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Uint8T> p_v) {
8707 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8708 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8709 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8710 : ca_.Goto(&block0, p_o, p_v);
8711 :
8712 0 : if (block0.is_used()) {
8713 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8714 : compiler::TNode<Uint8T> tmp1;
8715 : ca_.Bind(&block0, &tmp0, &tmp1);
8716 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 775);
8717 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kBOffset);
8718 : USE(tmp2);
8719 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
8720 : ca_.Goto(&block1, tmp0, tmp1);
8721 : }
8722 :
8723 0 : if (block1.is_used()) {
8724 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8725 : compiler::TNode<Uint8T> tmp4;
8726 : ca_.Bind(&block1, &tmp3, &tmp4);
8727 : ca_.Goto(&block2, tmp3, tmp4);
8728 : }
8729 :
8730 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8731 : compiler::TNode<Uint8T> tmp6;
8732 : ca_.Bind(&block2, &tmp5, &tmp6);
8733 0 : }
8734 :
8735 0 : compiler::TNode<Uint8T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesB2(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8736 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8737 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8738 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8739 : ca_.Goto(&block0, p_o);
8740 :
8741 0 : if (block0.is_used()) {
8742 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8743 : ca_.Bind(&block0, &tmp0);
8744 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 776);
8745 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kB2Offset);
8746 : USE(tmp1);
8747 0 : compiler::TNode<Uint8T>tmp2 = CodeStubAssembler(state_).LoadReference<Uint8T>(CodeStubAssembler::Reference{tmp0, tmp1});
8748 : ca_.Goto(&block1, tmp0, tmp2);
8749 : }
8750 :
8751 0 : if (block1.is_used()) {
8752 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8753 : compiler::TNode<Uint8T> tmp4;
8754 : ca_.Bind(&block1, &tmp3, &tmp4);
8755 : ca_.Goto(&block2, tmp3, tmp4);
8756 : }
8757 :
8758 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8759 : compiler::TNode<Uint8T> tmp6;
8760 : ca_.Bind(&block2, &tmp5, &tmp6);
8761 0 : return compiler::TNode<Uint8T>{tmp6};
8762 : }
8763 :
8764 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesB2(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Uint8T> p_v) {
8765 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8766 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8767 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8768 : ca_.Goto(&block0, p_o, p_v);
8769 :
8770 0 : if (block0.is_used()) {
8771 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8772 : compiler::TNode<Uint8T> tmp1;
8773 : ca_.Bind(&block0, &tmp0, &tmp1);
8774 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 776);
8775 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kB2Offset);
8776 : USE(tmp2);
8777 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
8778 : ca_.Goto(&block1, tmp0, tmp1);
8779 : }
8780 :
8781 0 : if (block1.is_used()) {
8782 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8783 : compiler::TNode<Uint8T> tmp4;
8784 : ca_.Bind(&block1, &tmp3, &tmp4);
8785 : ca_.Goto(&block2, tmp3, tmp4);
8786 : }
8787 :
8788 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8789 : compiler::TNode<Uint8T> tmp6;
8790 : ca_.Bind(&block2, &tmp5, &tmp6);
8791 0 : }
8792 :
8793 0 : compiler::TNode<Uint8T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesB3(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8794 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8795 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8796 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8797 : ca_.Goto(&block0, p_o);
8798 :
8799 0 : if (block0.is_used()) {
8800 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8801 : ca_.Bind(&block0, &tmp0);
8802 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 777);
8803 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kB3Offset);
8804 : USE(tmp1);
8805 0 : compiler::TNode<Uint8T>tmp2 = CodeStubAssembler(state_).LoadReference<Uint8T>(CodeStubAssembler::Reference{tmp0, tmp1});
8806 : ca_.Goto(&block1, tmp0, tmp2);
8807 : }
8808 :
8809 0 : if (block1.is_used()) {
8810 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8811 : compiler::TNode<Uint8T> tmp4;
8812 : ca_.Bind(&block1, &tmp3, &tmp4);
8813 : ca_.Goto(&block2, tmp3, tmp4);
8814 : }
8815 :
8816 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8817 : compiler::TNode<Uint8T> tmp6;
8818 : ca_.Bind(&block2, &tmp5, &tmp6);
8819 0 : return compiler::TNode<Uint8T>{tmp6};
8820 : }
8821 :
8822 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesB3(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Uint8T> p_v) {
8823 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8824 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8825 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint8T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8826 : ca_.Goto(&block0, p_o, p_v);
8827 :
8828 0 : if (block0.is_used()) {
8829 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8830 : compiler::TNode<Uint8T> tmp1;
8831 : ca_.Bind(&block0, &tmp0, &tmp1);
8832 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 777);
8833 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kB3Offset);
8834 : USE(tmp2);
8835 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
8836 : ca_.Goto(&block1, tmp0, tmp1);
8837 : }
8838 :
8839 0 : if (block1.is_used()) {
8840 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8841 : compiler::TNode<Uint8T> tmp4;
8842 : ca_.Bind(&block1, &tmp3, &tmp4);
8843 : ca_.Goto(&block2, tmp3, tmp4);
8844 : }
8845 :
8846 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8847 : compiler::TNode<Uint8T> tmp6;
8848 : ca_.Bind(&block2, &tmp5, &tmp6);
8849 0 : }
8850 :
8851 0 : compiler::TNode<Int16T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesC(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8852 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8853 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int16T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8854 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int16T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8855 : ca_.Goto(&block0, p_o);
8856 :
8857 0 : if (block0.is_used()) {
8858 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8859 : ca_.Bind(&block0, &tmp0);
8860 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 778);
8861 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kCOffset);
8862 : USE(tmp1);
8863 0 : compiler::TNode<Int16T>tmp2 = CodeStubAssembler(state_).LoadReference<Int16T>(CodeStubAssembler::Reference{tmp0, tmp1});
8864 : ca_.Goto(&block1, tmp0, tmp2);
8865 : }
8866 :
8867 0 : if (block1.is_used()) {
8868 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8869 : compiler::TNode<Int16T> tmp4;
8870 : ca_.Bind(&block1, &tmp3, &tmp4);
8871 : ca_.Goto(&block2, tmp3, tmp4);
8872 : }
8873 :
8874 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8875 : compiler::TNode<Int16T> tmp6;
8876 : ca_.Bind(&block2, &tmp5, &tmp6);
8877 0 : return compiler::TNode<Int16T>{tmp6};
8878 : }
8879 :
8880 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesC(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Int16T> p_v) {
8881 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int16T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8882 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int16T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8883 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int16T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8884 : ca_.Goto(&block0, p_o, p_v);
8885 :
8886 0 : if (block0.is_used()) {
8887 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8888 : compiler::TNode<Int16T> tmp1;
8889 : ca_.Bind(&block0, &tmp0, &tmp1);
8890 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 778);
8891 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kCOffset);
8892 : USE(tmp2);
8893 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
8894 : ca_.Goto(&block1, tmp0, tmp1);
8895 : }
8896 :
8897 0 : if (block1.is_used()) {
8898 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8899 : compiler::TNode<Int16T> tmp4;
8900 : ca_.Bind(&block1, &tmp3, &tmp4);
8901 : ca_.Goto(&block2, tmp3, tmp4);
8902 : }
8903 :
8904 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8905 : compiler::TNode<Int16T> tmp6;
8906 : ca_.Bind(&block2, &tmp5, &tmp6);
8907 0 : }
8908 :
8909 0 : compiler::TNode<Uint16T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesD(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8910 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8911 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint16T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8912 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint16T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8913 : ca_.Goto(&block0, p_o);
8914 :
8915 0 : if (block0.is_used()) {
8916 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8917 : ca_.Bind(&block0, &tmp0);
8918 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 779);
8919 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kDOffset);
8920 : USE(tmp1);
8921 0 : compiler::TNode<Uint16T>tmp2 = CodeStubAssembler(state_).LoadReference<Uint16T>(CodeStubAssembler::Reference{tmp0, tmp1});
8922 : ca_.Goto(&block1, tmp0, tmp2);
8923 : }
8924 :
8925 0 : if (block1.is_used()) {
8926 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8927 : compiler::TNode<Uint16T> tmp4;
8928 : ca_.Bind(&block1, &tmp3, &tmp4);
8929 : ca_.Goto(&block2, tmp3, tmp4);
8930 : }
8931 :
8932 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8933 : compiler::TNode<Uint16T> tmp6;
8934 : ca_.Bind(&block2, &tmp5, &tmp6);
8935 0 : return compiler::TNode<Uint16T>{tmp6};
8936 : }
8937 :
8938 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesD(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Uint16T> p_v) {
8939 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint16T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8940 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint16T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8941 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint16T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8942 : ca_.Goto(&block0, p_o, p_v);
8943 :
8944 0 : if (block0.is_used()) {
8945 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8946 : compiler::TNode<Uint16T> tmp1;
8947 : ca_.Bind(&block0, &tmp0, &tmp1);
8948 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 779);
8949 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kDOffset);
8950 : USE(tmp2);
8951 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
8952 : ca_.Goto(&block1, tmp0, tmp1);
8953 : }
8954 :
8955 0 : if (block1.is_used()) {
8956 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8957 : compiler::TNode<Uint16T> tmp4;
8958 : ca_.Bind(&block1, &tmp3, &tmp4);
8959 : ca_.Goto(&block2, tmp3, tmp4);
8960 : }
8961 :
8962 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8963 : compiler::TNode<Uint16T> tmp6;
8964 : ca_.Bind(&block2, &tmp5, &tmp6);
8965 0 : }
8966 :
8967 0 : compiler::TNode<Int32T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesE(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8968 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8969 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8970 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8971 : ca_.Goto(&block0, p_o);
8972 :
8973 0 : if (block0.is_used()) {
8974 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8975 : ca_.Bind(&block0, &tmp0);
8976 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 780);
8977 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kEOffset);
8978 : USE(tmp1);
8979 0 : compiler::TNode<Int32T>tmp2 = CodeStubAssembler(state_).LoadReference<Int32T>(CodeStubAssembler::Reference{tmp0, tmp1});
8980 : ca_.Goto(&block1, tmp0, tmp2);
8981 : }
8982 :
8983 0 : if (block1.is_used()) {
8984 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
8985 : compiler::TNode<Int32T> tmp4;
8986 : ca_.Bind(&block1, &tmp3, &tmp4);
8987 : ca_.Goto(&block2, tmp3, tmp4);
8988 : }
8989 :
8990 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
8991 : compiler::TNode<Int32T> tmp6;
8992 : ca_.Bind(&block2, &tmp5, &tmp6);
8993 0 : return compiler::TNode<Int32T>{tmp6};
8994 : }
8995 :
8996 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesE(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Int32T> p_v) {
8997 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8998 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8999 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9000 : ca_.Goto(&block0, p_o, p_v);
9001 :
9002 0 : if (block0.is_used()) {
9003 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9004 : compiler::TNode<Int32T> tmp1;
9005 : ca_.Bind(&block0, &tmp0, &tmp1);
9006 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 780);
9007 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kEOffset);
9008 : USE(tmp2);
9009 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9010 : ca_.Goto(&block1, tmp0, tmp1);
9011 : }
9012 :
9013 0 : if (block1.is_used()) {
9014 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9015 : compiler::TNode<Int32T> tmp4;
9016 : ca_.Bind(&block1, &tmp3, &tmp4);
9017 : ca_.Goto(&block2, tmp3, tmp4);
9018 : }
9019 :
9020 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9021 : compiler::TNode<Int32T> tmp6;
9022 : ca_.Bind(&block2, &tmp5, &tmp6);
9023 0 : }
9024 :
9025 0 : compiler::TNode<Uint32T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesF(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
9026 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9027 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9028 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9029 : ca_.Goto(&block0, p_o);
9030 :
9031 0 : if (block0.is_used()) {
9032 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9033 : ca_.Bind(&block0, &tmp0);
9034 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 781);
9035 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kFOffset);
9036 : USE(tmp1);
9037 0 : compiler::TNode<Uint32T>tmp2 = CodeStubAssembler(state_).LoadReference<Uint32T>(CodeStubAssembler::Reference{tmp0, tmp1});
9038 : ca_.Goto(&block1, tmp0, tmp2);
9039 : }
9040 :
9041 0 : if (block1.is_used()) {
9042 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9043 : compiler::TNode<Uint32T> tmp4;
9044 : ca_.Bind(&block1, &tmp3, &tmp4);
9045 : ca_.Goto(&block2, tmp3, tmp4);
9046 : }
9047 :
9048 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9049 : compiler::TNode<Uint32T> tmp6;
9050 : ca_.Bind(&block2, &tmp5, &tmp6);
9051 0 : return compiler::TNode<Uint32T>{tmp6};
9052 : }
9053 :
9054 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesF(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Uint32T> p_v) {
9055 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9056 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9057 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9058 : ca_.Goto(&block0, p_o, p_v);
9059 :
9060 0 : if (block0.is_used()) {
9061 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9062 : compiler::TNode<Uint32T> tmp1;
9063 : ca_.Bind(&block0, &tmp0, &tmp1);
9064 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 781);
9065 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kFOffset);
9066 : USE(tmp2);
9067 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9068 : ca_.Goto(&block1, tmp0, tmp1);
9069 : }
9070 :
9071 0 : if (block1.is_used()) {
9072 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9073 : compiler::TNode<Uint32T> tmp4;
9074 : ca_.Bind(&block1, &tmp3, &tmp4);
9075 : ca_.Goto(&block2, tmp3, tmp4);
9076 : }
9077 :
9078 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9079 : compiler::TNode<Uint32T> tmp6;
9080 : ca_.Bind(&block2, &tmp5, &tmp6);
9081 0 : }
9082 :
9083 0 : compiler::TNode<RawPtrT> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesG(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
9084 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9085 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9086 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9087 : ca_.Goto(&block0, p_o);
9088 :
9089 0 : if (block0.is_used()) {
9090 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9091 : ca_.Bind(&block0, &tmp0);
9092 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 782);
9093 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kGOffset);
9094 : USE(tmp1);
9095 0 : compiler::TNode<RawPtrT>tmp2 = CodeStubAssembler(state_).LoadReference<RawPtrT>(CodeStubAssembler::Reference{tmp0, tmp1});
9096 : ca_.Goto(&block1, tmp0, tmp2);
9097 : }
9098 :
9099 0 : if (block1.is_used()) {
9100 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9101 : compiler::TNode<RawPtrT> tmp4;
9102 : ca_.Bind(&block1, &tmp3, &tmp4);
9103 : ca_.Goto(&block2, tmp3, tmp4);
9104 : }
9105 :
9106 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9107 : compiler::TNode<RawPtrT> tmp6;
9108 : ca_.Bind(&block2, &tmp5, &tmp6);
9109 0 : return compiler::TNode<RawPtrT>{tmp6};
9110 : }
9111 :
9112 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesG(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<RawPtrT> p_v) {
9113 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9114 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9115 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9116 : ca_.Goto(&block0, p_o, p_v);
9117 :
9118 0 : if (block0.is_used()) {
9119 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9120 : compiler::TNode<RawPtrT> tmp1;
9121 : ca_.Bind(&block0, &tmp0, &tmp1);
9122 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 782);
9123 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kGOffset);
9124 : USE(tmp2);
9125 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9126 : ca_.Goto(&block1, tmp0, tmp1);
9127 : }
9128 :
9129 0 : if (block1.is_used()) {
9130 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9131 : compiler::TNode<RawPtrT> tmp4;
9132 : ca_.Bind(&block1, &tmp3, &tmp4);
9133 : ca_.Goto(&block2, tmp3, tmp4);
9134 : }
9135 :
9136 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9137 : compiler::TNode<RawPtrT> tmp6;
9138 : ca_.Bind(&block2, &tmp5, &tmp6);
9139 0 : }
9140 :
9141 0 : compiler::TNode<IntPtrT> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesH(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
9142 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9143 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, IntPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9144 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, IntPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9145 : ca_.Goto(&block0, p_o);
9146 :
9147 0 : if (block0.is_used()) {
9148 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9149 : ca_.Bind(&block0, &tmp0);
9150 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 783);
9151 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kHOffset);
9152 : USE(tmp1);
9153 0 : compiler::TNode<IntPtrT>tmp2 = CodeStubAssembler(state_).LoadReference<IntPtrT>(CodeStubAssembler::Reference{tmp0, tmp1});
9154 : ca_.Goto(&block1, tmp0, tmp2);
9155 : }
9156 :
9157 0 : if (block1.is_used()) {
9158 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9159 : compiler::TNode<IntPtrT> tmp4;
9160 : ca_.Bind(&block1, &tmp3, &tmp4);
9161 : ca_.Goto(&block2, tmp3, tmp4);
9162 : }
9163 :
9164 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9165 : compiler::TNode<IntPtrT> tmp6;
9166 : ca_.Bind(&block2, &tmp5, &tmp6);
9167 0 : return compiler::TNode<IntPtrT>{tmp6};
9168 : }
9169 :
9170 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesH(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<IntPtrT> p_v) {
9171 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, IntPtrT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9172 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, IntPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9173 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, IntPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9174 : ca_.Goto(&block0, p_o, p_v);
9175 :
9176 0 : if (block0.is_used()) {
9177 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9178 : compiler::TNode<IntPtrT> tmp1;
9179 : ca_.Bind(&block0, &tmp0, &tmp1);
9180 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 783);
9181 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kHOffset);
9182 : USE(tmp2);
9183 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9184 : ca_.Goto(&block1, tmp0, tmp1);
9185 : }
9186 :
9187 0 : if (block1.is_used()) {
9188 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9189 : compiler::TNode<IntPtrT> tmp4;
9190 : ca_.Bind(&block1, &tmp3, &tmp4);
9191 : ca_.Goto(&block2, tmp3, tmp4);
9192 : }
9193 :
9194 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9195 : compiler::TNode<IntPtrT> tmp6;
9196 : ca_.Bind(&block2, &tmp5, &tmp6);
9197 0 : }
9198 :
9199 0 : compiler::TNode<UintPtrT> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesI(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
9200 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9201 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, UintPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9202 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, UintPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9203 : ca_.Goto(&block0, p_o);
9204 :
9205 0 : if (block0.is_used()) {
9206 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9207 : ca_.Bind(&block0, &tmp0);
9208 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 784);
9209 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kIOffset);
9210 : USE(tmp1);
9211 0 : compiler::TNode<UintPtrT>tmp2 = CodeStubAssembler(state_).LoadReference<UintPtrT>(CodeStubAssembler::Reference{tmp0, tmp1});
9212 : ca_.Goto(&block1, tmp0, tmp2);
9213 : }
9214 :
9215 0 : if (block1.is_used()) {
9216 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9217 : compiler::TNode<UintPtrT> tmp4;
9218 : ca_.Bind(&block1, &tmp3, &tmp4);
9219 : ca_.Goto(&block2, tmp3, tmp4);
9220 : }
9221 :
9222 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9223 : compiler::TNode<UintPtrT> tmp6;
9224 : ca_.Bind(&block2, &tmp5, &tmp6);
9225 0 : return compiler::TNode<UintPtrT>{tmp6};
9226 : }
9227 :
9228 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesI(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<UintPtrT> p_v) {
9229 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, UintPtrT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9230 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, UintPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9231 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, UintPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9232 : ca_.Goto(&block0, p_o, p_v);
9233 :
9234 0 : if (block0.is_used()) {
9235 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
9236 : compiler::TNode<UintPtrT> tmp1;
9237 : ca_.Bind(&block0, &tmp0, &tmp1);
9238 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 784);
9239 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kIOffset);
9240 : USE(tmp2);
9241 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9242 : ca_.Goto(&block1, tmp0, tmp1);
9243 : }
9244 :
9245 0 : if (block1.is_used()) {
9246 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp3;
9247 : compiler::TNode<UintPtrT> tmp4;
9248 : ca_.Bind(&block1, &tmp3, &tmp4);
9249 : ca_.Goto(&block2, tmp3, tmp4);
9250 : }
9251 :
9252 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp5;
9253 : compiler::TNode<UintPtrT> tmp6;
9254 : ca_.Bind(&block2, &tmp5, &tmp6);
9255 0 : }
9256 :
9257 0 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::LoadInternalClassA(compiler::TNode<FixedArray> p_o) {
9258 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9259 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9260 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9261 : ca_.Goto(&block0, p_o);
9262 :
9263 0 : if (block0.is_used()) {
9264 : compiler::TNode<FixedArray> tmp0;
9265 : ca_.Bind(&block0, &tmp0);
9266 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 816);
9267 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
9268 : USE(tmp1);
9269 0 : compiler::TNode<Smi>tmp2 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp0, tmp1});
9270 : ca_.Goto(&block1, tmp0, tmp2);
9271 : }
9272 :
9273 0 : if (block1.is_used()) {
9274 : compiler::TNode<FixedArray> tmp3;
9275 : compiler::TNode<Smi> tmp4;
9276 : ca_.Bind(&block1, &tmp3, &tmp4);
9277 : ca_.Goto(&block2, tmp3, tmp4);
9278 : }
9279 :
9280 : compiler::TNode<FixedArray> tmp5;
9281 : compiler::TNode<Smi> tmp6;
9282 : ca_.Bind(&block2, &tmp5, &tmp6);
9283 0 : return compiler::TNode<Smi>{tmp6};
9284 : }
9285 :
9286 0 : void TestBuiltinsFromDSLAssembler::StoreInternalClassA(compiler::TNode<FixedArray> p_o, compiler::TNode<Smi> p_v) {
9287 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9288 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9289 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9290 : ca_.Goto(&block0, p_o, p_v);
9291 :
9292 0 : if (block0.is_used()) {
9293 : compiler::TNode<FixedArray> tmp0;
9294 : compiler::TNode<Smi> tmp1;
9295 : ca_.Bind(&block0, &tmp0, &tmp1);
9296 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 816);
9297 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
9298 : USE(tmp2);
9299 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9300 : ca_.Goto(&block1, tmp0, tmp1);
9301 : }
9302 :
9303 0 : if (block1.is_used()) {
9304 : compiler::TNode<FixedArray> tmp3;
9305 : compiler::TNode<Smi> tmp4;
9306 : ca_.Bind(&block1, &tmp3, &tmp4);
9307 : ca_.Goto(&block2, tmp3, tmp4);
9308 : }
9309 :
9310 : compiler::TNode<FixedArray> tmp5;
9311 : compiler::TNode<Smi> tmp6;
9312 : ca_.Bind(&block2, &tmp5, &tmp6);
9313 0 : }
9314 :
9315 0 : compiler::TNode<Number> TestBuiltinsFromDSLAssembler::LoadInternalClassB(compiler::TNode<FixedArray> p_o) {
9316 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9317 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9318 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9319 : ca_.Goto(&block0, p_o);
9320 :
9321 0 : if (block0.is_used()) {
9322 : compiler::TNode<FixedArray> tmp0;
9323 : ca_.Bind(&block0, &tmp0);
9324 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 817);
9325 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
9326 : USE(tmp1);
9327 0 : compiler::TNode<Number>tmp2 = CodeStubAssembler(state_).LoadReference<Number>(CodeStubAssembler::Reference{tmp0, tmp1});
9328 : ca_.Goto(&block1, tmp0, tmp2);
9329 : }
9330 :
9331 0 : if (block1.is_used()) {
9332 : compiler::TNode<FixedArray> tmp3;
9333 : compiler::TNode<Number> tmp4;
9334 : ca_.Bind(&block1, &tmp3, &tmp4);
9335 : ca_.Goto(&block2, tmp3, tmp4);
9336 : }
9337 :
9338 : compiler::TNode<FixedArray> tmp5;
9339 : compiler::TNode<Number> tmp6;
9340 : ca_.Bind(&block2, &tmp5, &tmp6);
9341 0 : return compiler::TNode<Number>{tmp6};
9342 : }
9343 :
9344 0 : void TestBuiltinsFromDSLAssembler::StoreInternalClassB(compiler::TNode<FixedArray> p_o, compiler::TNode<Number> p_v) {
9345 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9346 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9347 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9348 : ca_.Goto(&block0, p_o, p_v);
9349 :
9350 0 : if (block0.is_used()) {
9351 : compiler::TNode<FixedArray> tmp0;
9352 : compiler::TNode<Number> tmp1;
9353 : ca_.Bind(&block0, &tmp0, &tmp1);
9354 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 817);
9355 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
9356 : USE(tmp2);
9357 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9358 : ca_.Goto(&block1, tmp0, tmp1);
9359 : }
9360 :
9361 0 : if (block1.is_used()) {
9362 : compiler::TNode<FixedArray> tmp3;
9363 : compiler::TNode<Number> tmp4;
9364 : ca_.Bind(&block1, &tmp3, &tmp4);
9365 : ca_.Goto(&block2, tmp3, tmp4);
9366 : }
9367 :
9368 : compiler::TNode<FixedArray> tmp5;
9369 : compiler::TNode<Number> tmp6;
9370 : ca_.Bind(&block2, &tmp5, &tmp6);
9371 0 : }
9372 :
9373 4 : void TestBuiltinsFromDSLAssembler::_method_InternalClass_Flip(compiler::TNode<FixedArray> p_this, compiler::CodeAssemblerLabel* label_NotASmi) {
9374 4 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9375 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9376 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9377 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9378 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9379 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9380 : ca_.Goto(&block0, p_this);
9381 :
9382 4 : if (block0.is_used()) {
9383 : compiler::TNode<FixedArray> tmp0;
9384 : ca_.Bind(&block0, &tmp0);
9385 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 812);
9386 4 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
9387 : USE(tmp1);
9388 8 : compiler::TNode<Number>tmp2 = CodeStubAssembler(state_).LoadReference<Number>(CodeStubAssembler::Reference{tmp0, tmp1});
9389 : compiler::TNode<Smi> tmp3;
9390 : USE(tmp3);
9391 4 : compiler::CodeAssemblerLabel label0(&ca_);
9392 12 : tmp3 = BaseBuiltinsFromDSLAssembler(state_).Cast5ATSmi(compiler::TNode<Object>{tmp2}, &label0);
9393 : ca_.Goto(&block3, tmp0, tmp2, tmp3);
9394 4 : if (label0.is_used()) {
9395 4 : ca_.Bind(&label0);
9396 : ca_.Goto(&block4, tmp0, tmp2);
9397 : }
9398 : }
9399 :
9400 4 : if (block4.is_used()) {
9401 : compiler::TNode<FixedArray> tmp4;
9402 : compiler::TNode<Number> tmp5;
9403 : ca_.Bind(&block4, &tmp4, &tmp5);
9404 : ca_.Goto(&block1);
9405 : }
9406 :
9407 4 : if (block3.is_used()) {
9408 : compiler::TNode<FixedArray> tmp6;
9409 : compiler::TNode<Number> tmp7;
9410 : compiler::TNode<Smi> tmp8;
9411 : ca_.Bind(&block3, &tmp6, &tmp7, &tmp8);
9412 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 813);
9413 4 : compiler::TNode<IntPtrT> tmp9 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
9414 : USE(tmp9);
9415 4 : compiler::TNode<IntPtrT> tmp10 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
9416 : USE(tmp10);
9417 8 : compiler::TNode<Smi>tmp11 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp6, tmp10});
9418 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp6, tmp9}, tmp11);
9419 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 814);
9420 4 : compiler::TNode<IntPtrT> tmp12 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
9421 : USE(tmp12);
9422 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp6, tmp12}, tmp8);
9423 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 811);
9424 : ca_.Goto(&block2, tmp6);
9425 : }
9426 :
9427 4 : if (block2.is_used()) {
9428 : compiler::TNode<FixedArray> tmp13;
9429 : ca_.Bind(&block2, &tmp13);
9430 : ca_.Goto(&block5, tmp13);
9431 : }
9432 :
9433 4 : if (block1.is_used()) {
9434 : ca_.Bind(&block1);
9435 4 : ca_.Goto(label_NotASmi);
9436 : }
9437 :
9438 : compiler::TNode<FixedArray> tmp14;
9439 : ca_.Bind(&block5, &tmp14);
9440 4 : }
9441 :
9442 0 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::LoadSmiPairA(compiler::TNode<FixedArray> p_o) {
9443 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9444 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9445 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9446 : ca_.Goto(&block0, p_o);
9447 :
9448 0 : if (block0.is_used()) {
9449 : compiler::TNode<FixedArray> tmp0;
9450 : ca_.Bind(&block0, &tmp0);
9451 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 866);
9452 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
9453 : USE(tmp1);
9454 0 : compiler::TNode<Smi>tmp2 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp0, tmp1});
9455 : ca_.Goto(&block1, tmp0, tmp2);
9456 : }
9457 :
9458 0 : if (block1.is_used()) {
9459 : compiler::TNode<FixedArray> tmp3;
9460 : compiler::TNode<Smi> tmp4;
9461 : ca_.Bind(&block1, &tmp3, &tmp4);
9462 : ca_.Goto(&block2, tmp3, tmp4);
9463 : }
9464 :
9465 : compiler::TNode<FixedArray> tmp5;
9466 : compiler::TNode<Smi> tmp6;
9467 : ca_.Bind(&block2, &tmp5, &tmp6);
9468 0 : return compiler::TNode<Smi>{tmp6};
9469 : }
9470 :
9471 0 : void TestBuiltinsFromDSLAssembler::StoreSmiPairA(compiler::TNode<FixedArray> p_o, compiler::TNode<Smi> p_v) {
9472 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9473 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9474 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9475 : ca_.Goto(&block0, p_o, p_v);
9476 :
9477 0 : if (block0.is_used()) {
9478 : compiler::TNode<FixedArray> tmp0;
9479 : compiler::TNode<Smi> tmp1;
9480 : ca_.Bind(&block0, &tmp0, &tmp1);
9481 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 866);
9482 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
9483 : USE(tmp2);
9484 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9485 : ca_.Goto(&block1, tmp0, tmp1);
9486 : }
9487 :
9488 0 : if (block1.is_used()) {
9489 : compiler::TNode<FixedArray> tmp3;
9490 : compiler::TNode<Smi> tmp4;
9491 : ca_.Bind(&block1, &tmp3, &tmp4);
9492 : ca_.Goto(&block2, tmp3, tmp4);
9493 : }
9494 :
9495 : compiler::TNode<FixedArray> tmp5;
9496 : compiler::TNode<Smi> tmp6;
9497 : ca_.Bind(&block2, &tmp5, &tmp6);
9498 0 : }
9499 :
9500 0 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::LoadSmiPairB(compiler::TNode<FixedArray> p_o) {
9501 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9502 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9503 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9504 : ca_.Goto(&block0, p_o);
9505 :
9506 0 : if (block0.is_used()) {
9507 : compiler::TNode<FixedArray> tmp0;
9508 : ca_.Bind(&block0, &tmp0);
9509 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 867);
9510 0 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
9511 : USE(tmp1);
9512 0 : compiler::TNode<Smi>tmp2 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp0, tmp1});
9513 : ca_.Goto(&block1, tmp0, tmp2);
9514 : }
9515 :
9516 0 : if (block1.is_used()) {
9517 : compiler::TNode<FixedArray> tmp3;
9518 : compiler::TNode<Smi> tmp4;
9519 : ca_.Bind(&block1, &tmp3, &tmp4);
9520 : ca_.Goto(&block2, tmp3, tmp4);
9521 : }
9522 :
9523 : compiler::TNode<FixedArray> tmp5;
9524 : compiler::TNode<Smi> tmp6;
9525 : ca_.Bind(&block2, &tmp5, &tmp6);
9526 0 : return compiler::TNode<Smi>{tmp6};
9527 : }
9528 :
9529 0 : void TestBuiltinsFromDSLAssembler::StoreSmiPairB(compiler::TNode<FixedArray> p_o, compiler::TNode<Smi> p_v) {
9530 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9531 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9532 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9533 : ca_.Goto(&block0, p_o, p_v);
9534 :
9535 0 : if (block0.is_used()) {
9536 : compiler::TNode<FixedArray> tmp0;
9537 : compiler::TNode<Smi> tmp1;
9538 : ca_.Bind(&block0, &tmp0, &tmp1);
9539 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 867);
9540 0 : compiler::TNode<IntPtrT> tmp2 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 8);
9541 : USE(tmp2);
9542 0 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp2}, tmp1);
9543 : ca_.Goto(&block1, tmp0, tmp1);
9544 : }
9545 :
9546 0 : if (block1.is_used()) {
9547 : compiler::TNode<FixedArray> tmp3;
9548 : compiler::TNode<Smi> tmp4;
9549 : ca_.Bind(&block1, &tmp3, &tmp4);
9550 : ca_.Goto(&block2, tmp3, tmp4);
9551 : }
9552 :
9553 : compiler::TNode<FixedArray> tmp5;
9554 : compiler::TNode<Smi> tmp6;
9555 : ca_.Bind(&block2, &tmp5, &tmp6);
9556 0 : }
9557 :
9558 4 : CodeStubAssembler::Reference TestBuiltinsFromDSLAssembler::_method_SmiPair_GetA(compiler::TNode<FixedArray> p_this) {
9559 4 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9560 : compiler::CodeAssemblerParameterizedLabel<FixedArray, HeapObject, IntPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9561 : compiler::CodeAssemblerParameterizedLabel<FixedArray, HeapObject, IntPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9562 : ca_.Goto(&block0, p_this);
9563 :
9564 4 : if (block0.is_used()) {
9565 : compiler::TNode<FixedArray> tmp0;
9566 : ca_.Bind(&block0, &tmp0);
9567 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 864);
9568 4 : compiler::TNode<IntPtrT> tmp1 = ca_.IntPtrConstant(FixedArray::kHeaderSize + 0);
9569 : USE(tmp1);
9570 : ca_.Goto(&block1, tmp0, tmp0, tmp1);
9571 : }
9572 :
9573 4 : if (block1.is_used()) {
9574 : compiler::TNode<FixedArray> tmp2;
9575 : compiler::TNode<HeapObject> tmp3;
9576 : compiler::TNode<IntPtrT> tmp4;
9577 : ca_.Bind(&block1, &tmp2, &tmp3, &tmp4);
9578 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 863);
9579 : ca_.Goto(&block2, tmp2, tmp3, tmp4);
9580 : }
9581 :
9582 : compiler::TNode<FixedArray> tmp5;
9583 : compiler::TNode<HeapObject> tmp6;
9584 : compiler::TNode<IntPtrT> tmp7;
9585 : ca_.Bind(&block2, &tmp5, &tmp6, &tmp7);
9586 8 : return CodeStubAssembler::Reference{tmp6, tmp7};
9587 : }
9588 :
9589 224 : TF_BUILTIN(GenericBuiltinTest5ATSmi, CodeStubAssembler) {
9590 56 : compiler::CodeAssemblerState* state_ = state(); compiler::CodeAssembler ca_(state());
9591 : TNode<Context> parameter0 = UncheckedCast<Context>(Parameter(Descriptor::kContext));
9592 : USE(parameter0);
9593 : compiler::TNode<Smi> parameter1 = UncheckedCast<Smi>(Parameter(Descriptor::kParam));
9594 : USE(parameter1);
9595 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9596 : ca_.Goto(&block0, parameter0, parameter1);
9597 :
9598 56 : if (block0.is_used()) {
9599 : compiler::TNode<Context> tmp0;
9600 : compiler::TNode<Smi> tmp1;
9601 : ca_.Bind(&block0, &tmp0, &tmp1);
9602 56 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 85);
9603 : compiler::TNode<Oddball> tmp2;
9604 : USE(tmp2);
9605 112 : tmp2 = BaseBuiltinsFromDSLAssembler(state_).Null();
9606 112 : CodeStubAssembler(state_).Return(tmp2);
9607 : }
9608 56 : }
9609 :
9610 8 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::GenericMacroTest5ATSmi(compiler::TNode<Smi> p_param) {
9611 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9612 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9613 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9614 : ca_.Goto(&block0, p_param);
9615 :
9616 8 : if (block0.is_used()) {
9617 : compiler::TNode<Smi> tmp0;
9618 : ca_.Bind(&block0, &tmp0);
9619 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 132);
9620 : compiler::TNode<Oddball> tmp1;
9621 : USE(tmp1);
9622 24 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
9623 : ca_.Goto(&block1, tmp0, tmp1);
9624 : }
9625 :
9626 8 : if (block1.is_used()) {
9627 : compiler::TNode<Smi> tmp2;
9628 : compiler::TNode<Object> tmp3;
9629 : ca_.Bind(&block1, &tmp2, &tmp3);
9630 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 131);
9631 : ca_.Goto(&block2, tmp2, tmp3);
9632 : }
9633 :
9634 : compiler::TNode<Smi> tmp4;
9635 : compiler::TNode<Object> tmp5;
9636 : ca_.Bind(&block2, &tmp4, &tmp5);
9637 16 : return compiler::TNode<Object>{tmp5};
9638 : }
9639 :
9640 8 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::GenericMacroTestWithLabels5ATSmi(compiler::TNode<Smi> p_param, compiler::CodeAssemblerLabel* label_X) {
9641 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9642 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9643 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9644 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9645 : ca_.Goto(&block0, p_param);
9646 :
9647 8 : if (block0.is_used()) {
9648 : compiler::TNode<Smi> tmp0;
9649 : ca_.Bind(&block0, &tmp0);
9650 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 141);
9651 : compiler::TNode<Oddball> tmp1;
9652 : USE(tmp1);
9653 24 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
9654 : ca_.Goto(&block2, tmp0, tmp1);
9655 : }
9656 :
9657 8 : if (block2.is_used()) {
9658 : compiler::TNode<Smi> tmp2;
9659 : compiler::TNode<Object> tmp3;
9660 : ca_.Bind(&block2, &tmp2, &tmp3);
9661 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 139);
9662 : ca_.Goto(&block3, tmp2, tmp3);
9663 : }
9664 :
9665 8 : if (block1.is_used()) {
9666 : ca_.Bind(&block1);
9667 0 : ca_.Goto(label_X);
9668 : }
9669 :
9670 : compiler::TNode<Smi> tmp4;
9671 : compiler::TNode<Object> tmp5;
9672 : ca_.Bind(&block3, &tmp4, &tmp5);
9673 16 : return compiler::TNode<Object>{tmp5};
9674 : }
9675 :
9676 24 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::IncrementIfSmi32UT5ATSmi10FixedArray10HeapNumber(compiler::TNode<Object> p_x) {
9677 24 : compiler::CodeAssemblerParameterizedLabel<Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9678 : compiler::CodeAssemblerParameterizedLabel<Object, Object, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9679 : compiler::CodeAssemblerParameterizedLabel<Object, Object, Object, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9680 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9681 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9682 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9683 : ca_.Goto(&block0, p_x);
9684 :
9685 24 : if (block0.is_used()) {
9686 : compiler::TNode<Object> tmp0;
9687 : ca_.Bind(&block0, &tmp0);
9688 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 434);
9689 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 435);
9690 : compiler::TNode<Smi> tmp1;
9691 : USE(tmp1);
9692 24 : compiler::CodeAssemblerLabel label0(&ca_);
9693 72 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).Cast5ATSmi(compiler::TNode<Object>{tmp0}, &label0);
9694 : ca_.Goto(&block4, tmp0, tmp0, tmp0, tmp1);
9695 24 : if (label0.is_used()) {
9696 24 : ca_.Bind(&label0);
9697 : ca_.Goto(&block5, tmp0, tmp0, tmp0);
9698 : }
9699 : }
9700 :
9701 24 : if (block5.is_used()) {
9702 : compiler::TNode<Object> tmp2;
9703 : compiler::TNode<Object> tmp3;
9704 : compiler::TNode<Object> tmp4;
9705 : ca_.Bind(&block5, &tmp2, &tmp3, &tmp4);
9706 : ca_.Goto(&block3, tmp2, tmp3);
9707 : }
9708 :
9709 24 : if (block4.is_used()) {
9710 : compiler::TNode<Object> tmp5;
9711 : compiler::TNode<Object> tmp6;
9712 : compiler::TNode<Object> tmp7;
9713 : compiler::TNode<Smi> tmp8;
9714 : ca_.Bind(&block4, &tmp5, &tmp6, &tmp7, &tmp8);
9715 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 436);
9716 : compiler::TNode<Smi> tmp9;
9717 : USE(tmp9);
9718 72 : tmp9 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
9719 : compiler::TNode<Smi> tmp10;
9720 : USE(tmp10);
9721 48 : tmp10 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp8}, compiler::TNode<Smi>{tmp9}));
9722 : ca_.Goto(&block1, tmp5, tmp10);
9723 : }
9724 :
9725 24 : if (block3.is_used()) {
9726 : compiler::TNode<Object> tmp11;
9727 : compiler::TNode<Object> tmp12;
9728 : ca_.Bind(&block3, &tmp11, &tmp12);
9729 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 438);
9730 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 439);
9731 : ca_.Goto(&block1, tmp11, ca_.UncheckedCast<HeapObject>(tmp12));
9732 : }
9733 :
9734 24 : if (block1.is_used()) {
9735 : compiler::TNode<Object> tmp13;
9736 : compiler::TNode<Object> tmp14;
9737 : ca_.Bind(&block1, &tmp13, &tmp14);
9738 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 433);
9739 : ca_.Goto(&block6, tmp13, tmp14);
9740 : }
9741 :
9742 : compiler::TNode<Object> tmp15;
9743 : compiler::TNode<Object> tmp16;
9744 : ca_.Bind(&block6, &tmp15, &tmp16);
9745 48 : return compiler::TNode<Object>{tmp16};
9746 : }
9747 :
9748 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::ExampleGenericOverload5ATSmi(compiler::TNode<Smi> p_o) {
9749 4 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9750 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9751 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9752 : ca_.Goto(&block0, p_o);
9753 :
9754 4 : if (block0.is_used()) {
9755 : compiler::TNode<Smi> tmp0;
9756 : ca_.Bind(&block0, &tmp0);
9757 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 498);
9758 : compiler::TNode<Smi> tmp1;
9759 : USE(tmp1);
9760 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
9761 : compiler::TNode<Smi> tmp2;
9762 : USE(tmp2);
9763 8 : tmp2 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp0}, compiler::TNode<Smi>{tmp1}));
9764 : ca_.Goto(&block1, tmp0, tmp2);
9765 : }
9766 :
9767 4 : if (block1.is_used()) {
9768 : compiler::TNode<Smi> tmp3;
9769 : compiler::TNode<Smi> tmp4;
9770 : ca_.Bind(&block1, &tmp3, &tmp4);
9771 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 497);
9772 : ca_.Goto(&block2, tmp3, tmp4);
9773 : }
9774 :
9775 : compiler::TNode<Smi> tmp5;
9776 : compiler::TNode<Smi> tmp6;
9777 : ca_.Bind(&block2, &tmp5, &tmp6);
9778 8 : return compiler::TNode<Smi>{tmp6};
9779 : }
9780 :
9781 4 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::ExampleGenericOverload20UT5ATSmi10HeapObject(compiler::TNode<Object> p_o) {
9782 4 : compiler::CodeAssemblerParameterizedLabel<Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9783 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9784 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9785 : ca_.Goto(&block0, p_o);
9786 :
9787 4 : if (block0.is_used()) {
9788 : compiler::TNode<Object> tmp0;
9789 : ca_.Bind(&block0, &tmp0);
9790 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 495);
9791 : ca_.Goto(&block1, tmp0, tmp0);
9792 : }
9793 :
9794 4 : if (block1.is_used()) {
9795 : compiler::TNode<Object> tmp1;
9796 : compiler::TNode<Object> tmp2;
9797 : ca_.Bind(&block1, &tmp1, &tmp2);
9798 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 494);
9799 : ca_.Goto(&block2, tmp1, tmp2);
9800 : }
9801 :
9802 : compiler::TNode<Object> tmp3;
9803 : compiler::TNode<Object> tmp4;
9804 : ca_.Bind(&block2, &tmp3, &tmp4);
9805 8 : return compiler::TNode<Object>{tmp4};
9806 : }
9807 :
9808 4 : void TestBuiltinsFromDSLAssembler::Swap5ATSmi(CodeStubAssembler::Reference p_a, CodeStubAssembler::Reference p_b) {
9809 4 : compiler::CodeAssemblerParameterizedLabel<HeapObject, IntPtrT, HeapObject, IntPtrT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9810 : compiler::CodeAssemblerParameterizedLabel<HeapObject, IntPtrT, HeapObject, IntPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9811 : compiler::CodeAssemblerParameterizedLabel<HeapObject, IntPtrT, HeapObject, IntPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9812 : ca_.Goto(&block0, p_a.object, p_a.offset, p_b.object, p_b.offset);
9813 :
9814 4 : if (block0.is_used()) {
9815 : compiler::TNode<HeapObject> tmp0;
9816 : compiler::TNode<IntPtrT> tmp1;
9817 : compiler::TNode<HeapObject> tmp2;
9818 : compiler::TNode<IntPtrT> tmp3;
9819 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2, &tmp3);
9820 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 871);
9821 8 : compiler::TNode<Smi>tmp4 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp0, tmp1});
9822 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 872);
9823 8 : compiler::TNode<Smi>tmp5 = CodeStubAssembler(state_).LoadReference<Smi>(CodeStubAssembler::Reference{tmp2, tmp3});
9824 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp0, tmp1}, tmp5);
9825 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 873);
9826 8 : CodeStubAssembler(state_).StoreReference(CodeStubAssembler::Reference{tmp2, tmp3}, tmp4);
9827 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 870);
9828 : ca_.Goto(&block1, tmp0, tmp1, tmp2, tmp3);
9829 : }
9830 :
9831 4 : if (block1.is_used()) {
9832 : compiler::TNode<HeapObject> tmp6;
9833 : compiler::TNode<IntPtrT> tmp7;
9834 : compiler::TNode<HeapObject> tmp8;
9835 : compiler::TNode<IntPtrT> tmp9;
9836 : ca_.Bind(&block1, &tmp6, &tmp7, &tmp8, &tmp9);
9837 : ca_.Goto(&block2, tmp6, tmp7, tmp8, tmp9);
9838 : }
9839 :
9840 : compiler::TNode<HeapObject> tmp10;
9841 : compiler::TNode<IntPtrT> tmp11;
9842 : compiler::TNode<HeapObject> tmp12;
9843 : compiler::TNode<IntPtrT> tmp13;
9844 : ca_.Bind(&block2, &tmp10, &tmp11, &tmp12, &tmp13);
9845 4 : }
9846 :
9847 : } // namespace internal
9848 59456 : } // namespace v8
9849 :
|