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/builtins/builtins-array-gen.h"
10 : #include "src/builtins/builtins-collections-gen.h"
11 : #include "src/builtins/builtins-data-view-gen.h"
12 : #include "src/builtins/builtins-iterator-gen.h"
13 : #include "src/builtins/builtins-regexp-gen.h"
14 : #include "src/builtins/builtins-typed-array-gen.h"
15 : #include "src/builtins/builtins-constructor-gen.h"
16 : #include "torque-generated/builtins-base-from-dsl-gen.h"
17 : #include "torque-generated/builtins-arguments-from-dsl-gen.h"
18 : #include "torque-generated/builtins-array-from-dsl-gen.h"
19 : #include "torque-generated/builtins-array-copywithin-from-dsl-gen.h"
20 : #include "torque-generated/builtins-array-filter-from-dsl-gen.h"
21 : #include "torque-generated/builtins-array-foreach-from-dsl-gen.h"
22 : #include "torque-generated/builtins-array-join-from-dsl-gen.h"
23 : #include "torque-generated/builtins-array-lastindexof-from-dsl-gen.h"
24 : #include "torque-generated/builtins-array-of-from-dsl-gen.h"
25 : #include "torque-generated/builtins-array-map-from-dsl-gen.h"
26 : #include "torque-generated/builtins-array-reverse-from-dsl-gen.h"
27 : #include "torque-generated/builtins-array-slice-from-dsl-gen.h"
28 : #include "torque-generated/builtins-array-splice-from-dsl-gen.h"
29 : #include "torque-generated/builtins-array-unshift-from-dsl-gen.h"
30 : #include "torque-generated/builtins-collections-from-dsl-gen.h"
31 : #include "torque-generated/builtins-data-view-from-dsl-gen.h"
32 : #include "torque-generated/builtins-extras-utils-from-dsl-gen.h"
33 : #include "torque-generated/builtins-object-from-dsl-gen.h"
34 : #include "torque-generated/builtins-iterator-from-dsl-gen.h"
35 : #include "torque-generated/builtins-string-from-dsl-gen.h"
36 : #include "torque-generated/builtins-typed-array-from-dsl-gen.h"
37 : #include "torque-generated/builtins-typed-array-createtypedarray-from-dsl-gen.h"
38 : #include "torque-generated/builtins-test-from-dsl-gen.h"
39 :
40 : namespace v8 {
41 : namespace internal {
42 :
43 12 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::ElementsKindTestHelper1(ElementsKind p_kind) {
44 12 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
45 24 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
46 24 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
47 24 : compiler::CodeAssemblerParameterizedLabel<BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
48 24 : compiler::CodeAssemblerParameterizedLabel<BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
49 12 : ca_.Goto(&block0);
50 :
51 12 : if (block0.is_used()) {
52 12 : ca_.Bind(&block0);
53 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 7);
54 12 : if ((((CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT8_ELEMENTS)) || (CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT16_ELEMENTS))))) {
55 8 : ca_.Goto(&block3);
56 : } else {
57 4 : ca_.Goto(&block4);
58 : }
59 : }
60 :
61 12 : if (block3.is_used()) {
62 8 : ca_.Bind(&block3);
63 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 8);
64 8 : compiler::TNode<BoolT> tmp0;
65 8 : USE(tmp0);
66 8 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
67 8 : ca_.Goto(&block1, tmp0);
68 : }
69 :
70 12 : if (block4.is_used()) {
71 4 : ca_.Bind(&block4);
72 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 10);
73 4 : compiler::TNode<BoolT> tmp1;
74 4 : USE(tmp1);
75 4 : tmp1 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
76 4 : ca_.Goto(&block1, tmp1);
77 : }
78 :
79 12 : if (block1.is_used()) {
80 12 : compiler::TNode<BoolT> tmp2;
81 12 : ca_.Bind(&block1, &tmp2);
82 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 6);
83 12 : ca_.Goto(&block6, tmp2);
84 : }
85 :
86 12 : compiler::TNode<BoolT> tmp3;
87 12 : ca_.Bind(&block6, &tmp3);
88 24 : return compiler::TNode<BoolT>{tmp3};
89 : }
90 :
91 0 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::ElementsKindTestHelper2(ElementsKind p_kind) {
92 0 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
93 0 : compiler::CodeAssemblerParameterizedLabel<BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
94 0 : compiler::CodeAssemblerParameterizedLabel<BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
95 0 : ca_.Goto(&block0);
96 :
97 0 : if (block0.is_used()) {
98 0 : ca_.Bind(&block0);
99 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 15);
100 0 : compiler::TNode<BoolT> tmp0;
101 0 : USE(tmp0);
102 0 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(((CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT8_ELEMENTS)) || (CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT16_ELEMENTS)))));
103 0 : ca_.Goto(&block1, tmp0);
104 : }
105 :
106 0 : if (block1.is_used()) {
107 0 : compiler::TNode<BoolT> tmp1;
108 0 : ca_.Bind(&block1, &tmp1);
109 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 14);
110 0 : ca_.Goto(&block3, tmp1);
111 : }
112 :
113 0 : compiler::TNode<BoolT> tmp2;
114 0 : ca_.Bind(&block3, &tmp2);
115 0 : return compiler::TNode<BoolT>{tmp2};
116 : }
117 :
118 16 : bool TestBuiltinsFromDSLAssembler::ElementsKindTestHelper3(ElementsKind p_kind) {
119 16 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
120 32 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
121 32 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
122 16 : ca_.Goto(&block0);
123 :
124 16 : if (block0.is_used()) {
125 16 : ca_.Bind(&block0);
126 16 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 19);
127 16 : ca_.Goto(&block1);
128 : }
129 :
130 16 : if (block1.is_used()) {
131 16 : ca_.Bind(&block1);
132 16 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 18);
133 16 : ca_.Goto(&block3);
134 : }
135 :
136 16 : ca_.Bind(&block3);
137 32 : return ((CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT8_ELEMENTS)) || (CodeStubAssembler(state_).ElementsKindEqual(p_kind, UINT16_ELEMENTS)));
138 : }
139 :
140 4 : void TestBuiltinsFromDSLAssembler::LabelTestHelper1(compiler::CodeAssemblerLabel* label_Label1) {
141 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
142 8 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
143 4 : ca_.Goto(&block0);
144 :
145 4 : if (block0.is_used()) {
146 4 : ca_.Bind(&block0);
147 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 24);
148 4 : ca_.Goto(&block1);
149 : }
150 :
151 4 : if (block1.is_used()) {
152 4 : ca_.Bind(&block1);
153 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 22);
154 4 : ca_.Goto(label_Label1);
155 4 : }
156 4 : }
157 :
158 4 : void TestBuiltinsFromDSLAssembler::LabelTestHelper2(compiler::CodeAssemblerLabel* label_Label2, compiler::TypedCodeAssemblerVariable<Smi>* label_Label2_parameter_0) {
159 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
160 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
161 4 : ca_.Goto(&block0);
162 :
163 4 : if (block0.is_used()) {
164 4 : ca_.Bind(&block0);
165 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 29);
166 4 : compiler::TNode<Smi> tmp0;
167 4 : USE(tmp0);
168 4 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(42));
169 4 : ca_.Goto(&block1, tmp0);
170 : }
171 :
172 4 : if (block1.is_used()) {
173 4 : compiler::TNode<Smi> tmp1;
174 4 : ca_.Bind(&block1, &tmp1);
175 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 27);
176 4 : *label_Label2_parameter_0 = tmp1;
177 4 : ca_.Goto(label_Label2);
178 4 : }
179 4 : }
180 :
181 4 : void TestBuiltinsFromDSLAssembler::LabelTestHelper3(compiler::CodeAssemblerLabel* label_Label3, compiler::TypedCodeAssemblerVariable<Oddball>* label_Label3_parameter_0, compiler::TypedCodeAssemblerVariable<Smi>* label_Label3_parameter_1) {
182 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
183 8 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
184 4 : ca_.Goto(&block0);
185 :
186 4 : if (block0.is_used()) {
187 4 : ca_.Bind(&block0);
188 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 34);
189 4 : compiler::TNode<Oddball> tmp0;
190 4 : USE(tmp0);
191 4 : tmp0 = BaseBuiltinsFromDSLAssembler(state_).Null();
192 4 : compiler::TNode<Smi> tmp1;
193 4 : USE(tmp1);
194 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
195 4 : ca_.Goto(&block1, tmp0, tmp1);
196 : }
197 :
198 4 : if (block1.is_used()) {
199 4 : compiler::TNode<Oddball> tmp2;
200 4 : compiler::TNode<Smi> tmp3;
201 4 : ca_.Bind(&block1, &tmp2, &tmp3);
202 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 32);
203 4 : *label_Label3_parameter_1 = tmp3;
204 4 : *label_Label3_parameter_0 = tmp2;
205 4 : ca_.Goto(label_Label3);
206 4 : }
207 4 : }
208 :
209 4 : void TestBuiltinsFromDSLAssembler::TestConstexpr1() {
210 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
211 8 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
212 8 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
213 8 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
214 8 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
215 4 : ca_.Goto(&block0);
216 :
217 4 : if (block0.is_used()) {
218 4 : ca_.Bind(&block0);
219 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 38);
220 4 : compiler::TNode<BoolT> tmp0;
221 4 : USE(tmp0);
222 4 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((CodeStubAssembler(state_).IsFastElementsKind(PACKED_SMI_ELEMENTS))));
223 4 : ca_.Branch(tmp0, &block2, &block3);
224 : }
225 :
226 4 : if (block3.is_used()) {
227 4 : ca_.Bind(&block3);
228 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'FromConstexpr<bool>(IsFastElementsKind(PACKED_SMI_ELEMENTS))\' failed", "../../test/torque/test-torque.tq", 38);
229 : }
230 :
231 4 : if (block2.is_used()) {
232 4 : ca_.Bind(&block2);
233 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 37);
234 4 : ca_.Goto(&block1);
235 : }
236 :
237 4 : if (block1.is_used()) {
238 4 : ca_.Bind(&block1);
239 4 : ca_.Goto(&block4);
240 : }
241 :
242 8 : ca_.Bind(&block4);
243 4 : }
244 :
245 4 : void TestBuiltinsFromDSLAssembler::TestConstexprIf() {
246 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
247 8 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
248 8 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
249 8 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
250 8 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
251 8 : compiler::CodeAssemblerParameterizedLabel<> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
252 8 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
253 8 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
254 8 : compiler::CodeAssemblerParameterizedLabel<> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
255 4 : ca_.Goto(&block0);
256 :
257 4 : if (block0.is_used()) {
258 4 : ca_.Bind(&block0);
259 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 42);
260 4 : compiler::TNode<BoolT> tmp0;
261 4 : USE(tmp0);
262 4 : tmp0 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper1(UINT8_ELEMENTS));
263 4 : ca_.Branch(tmp0, &block2, &block3);
264 : }
265 :
266 4 : if (block3.is_used()) {
267 4 : ca_.Bind(&block3);
268 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'ElementsKindTestHelper1(UINT8_ELEMENTS)\' failed", "../../test/torque/test-torque.tq", 42);
269 : }
270 :
271 4 : if (block2.is_used()) {
272 4 : ca_.Bind(&block2);
273 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 43);
274 4 : compiler::TNode<BoolT> tmp1;
275 4 : USE(tmp1);
276 4 : tmp1 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper1(UINT16_ELEMENTS));
277 4 : ca_.Branch(tmp1, &block4, &block5);
278 : }
279 :
280 4 : if (block5.is_used()) {
281 4 : ca_.Bind(&block5);
282 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'ElementsKindTestHelper1(UINT16_ELEMENTS)\' failed", "../../test/torque/test-torque.tq", 43);
283 : }
284 :
285 4 : if (block4.is_used()) {
286 4 : ca_.Bind(&block4);
287 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 44);
288 4 : compiler::TNode<BoolT> tmp2;
289 4 : USE(tmp2);
290 4 : tmp2 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper1(UINT32_ELEMENTS));
291 4 : compiler::TNode<BoolT> tmp3;
292 4 : USE(tmp3);
293 4 : tmp3 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp2}));
294 4 : ca_.Branch(tmp3, &block6, &block7);
295 : }
296 :
297 4 : if (block7.is_used()) {
298 4 : ca_.Bind(&block7);
299 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!ElementsKindTestHelper1(UINT32_ELEMENTS)\' failed", "../../test/torque/test-torque.tq", 44);
300 : }
301 :
302 4 : if (block6.is_used()) {
303 4 : ca_.Bind(&block6);
304 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 41);
305 4 : ca_.Goto(&block1);
306 : }
307 :
308 4 : if (block1.is_used()) {
309 4 : ca_.Bind(&block1);
310 4 : ca_.Goto(&block8);
311 : }
312 :
313 8 : ca_.Bind(&block8);
314 4 : }
315 :
316 4 : void TestBuiltinsFromDSLAssembler::TestConstexprReturn() {
317 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
318 8 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
319 8 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
320 8 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
321 8 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
322 8 : compiler::CodeAssemblerParameterizedLabel<> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
323 8 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
324 8 : compiler::CodeAssemblerParameterizedLabel<> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
325 8 : compiler::CodeAssemblerParameterizedLabel<> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
326 8 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
327 8 : compiler::CodeAssemblerParameterizedLabel<> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
328 4 : ca_.Goto(&block0);
329 :
330 4 : if (block0.is_used()) {
331 4 : ca_.Bind(&block0);
332 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 48);
333 4 : compiler::TNode<BoolT> tmp0;
334 4 : USE(tmp0);
335 4 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper3(UINT8_ELEMENTS))));
336 4 : ca_.Branch(tmp0, &block2, &block3);
337 : }
338 :
339 4 : if (block3.is_used()) {
340 4 : ca_.Bind(&block3);
341 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'FromConstexpr<bool>(ElementsKindTestHelper3(UINT8_ELEMENTS))\' failed", "../../test/torque/test-torque.tq", 48);
342 : }
343 :
344 4 : if (block2.is_used()) {
345 4 : ca_.Bind(&block2);
346 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 49);
347 4 : compiler::TNode<BoolT> tmp1;
348 4 : USE(tmp1);
349 4 : tmp1 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper3(UINT16_ELEMENTS))));
350 4 : ca_.Branch(tmp1, &block4, &block5);
351 : }
352 :
353 4 : if (block5.is_used()) {
354 4 : ca_.Bind(&block5);
355 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'FromConstexpr<bool>(ElementsKindTestHelper3(UINT16_ELEMENTS))\' failed", "../../test/torque/test-torque.tq", 49);
356 : }
357 :
358 4 : if (block4.is_used()) {
359 4 : ca_.Bind(&block4);
360 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 50);
361 4 : compiler::TNode<BoolT> tmp2;
362 4 : USE(tmp2);
363 4 : tmp2 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper3(UINT32_ELEMENTS))));
364 4 : compiler::TNode<BoolT> tmp3;
365 4 : USE(tmp3);
366 4 : tmp3 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp2}));
367 4 : ca_.Branch(tmp3, &block6, &block7);
368 : }
369 :
370 4 : if (block7.is_used()) {
371 4 : ca_.Bind(&block7);
372 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!FromConstexpr<bool>(ElementsKindTestHelper3(UINT32_ELEMENTS))\' failed", "../../test/torque/test-torque.tq", 50);
373 : }
374 :
375 4 : if (block6.is_used()) {
376 4 : ca_.Bind(&block6);
377 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 51);
378 4 : compiler::TNode<BoolT> tmp4;
379 4 : USE(tmp4);
380 4 : tmp4 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((CodeStubAssembler(state_).ConstexprBoolNot((TestBuiltinsFromDSLAssembler(state_).ElementsKindTestHelper3(UINT32_ELEMENTS))))));
381 4 : ca_.Branch(tmp4, &block8, &block9);
382 : }
383 :
384 4 : if (block9.is_used()) {
385 4 : ca_.Bind(&block9);
386 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'FromConstexpr<bool>(!ElementsKindTestHelper3(UINT32_ELEMENTS))\' failed", "../../test/torque/test-torque.tq", 51);
387 : }
388 :
389 4 : if (block8.is_used()) {
390 4 : ca_.Bind(&block8);
391 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 47);
392 4 : ca_.Goto(&block1);
393 : }
394 :
395 4 : if (block1.is_used()) {
396 4 : ca_.Bind(&block1);
397 4 : ca_.Goto(&block10);
398 : }
399 :
400 8 : ca_.Bind(&block10);
401 4 : }
402 :
403 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestGotoLabel() {
404 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
405 8 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
406 8 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
407 8 : compiler::CodeAssemblerParameterizedLabel<Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
408 8 : compiler::CodeAssemblerParameterizedLabel<Oddball> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
409 4 : ca_.Goto(&block0);
410 :
411 4 : if (block0.is_used()) {
412 4 : ca_.Bind(&block0);
413 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 56);
414 4 : compiler::CodeAssemblerLabel label0(&ca_);
415 4 : TestBuiltinsFromDSLAssembler(state_).LabelTestHelper1(&label0);
416 4 : if (label0.is_used()) {
417 4 : ca_.Bind(&label0);
418 4 : ca_.Goto(&block4);
419 4 : }
420 : }
421 :
422 4 : if (block4.is_used()) {
423 4 : ca_.Bind(&block4);
424 4 : ca_.Goto(&block3);
425 : }
426 :
427 4 : if (block3.is_used()) {
428 4 : ca_.Bind(&block3);
429 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 59);
430 4 : compiler::TNode<Oddball> tmp0;
431 4 : USE(tmp0);
432 4 : tmp0 = BaseBuiltinsFromDSLAssembler(state_).True();
433 4 : ca_.Goto(&block1, tmp0);
434 : }
435 :
436 4 : if (block1.is_used()) {
437 4 : compiler::TNode<Oddball> tmp1;
438 4 : ca_.Bind(&block1, &tmp1);
439 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 54);
440 4 : ca_.Goto(&block5, tmp1);
441 : }
442 :
443 4 : compiler::TNode<Oddball> tmp2;
444 4 : ca_.Bind(&block5, &tmp2);
445 8 : return compiler::TNode<Oddball>{tmp2};
446 : }
447 :
448 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestGotoLabelWithOneParameter() {
449 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
450 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
451 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
452 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block6(&ca_, compiler::CodeAssemblerLabel::kDeferred);
453 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
454 8 : compiler::CodeAssemblerParameterizedLabel<Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
455 8 : compiler::CodeAssemblerParameterizedLabel<Oddball> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
456 4 : ca_.Goto(&block0);
457 :
458 4 : if (block0.is_used()) {
459 4 : ca_.Bind(&block0);
460 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 65);
461 4 : compiler::TypedCodeAssemblerVariable<Smi> result_0_0(&ca_);
462 8 : compiler::CodeAssemblerLabel label0(&ca_);
463 4 : TestBuiltinsFromDSLAssembler(state_).LabelTestHelper2(&label0, &result_0_0);
464 4 : if (label0.is_used()) {
465 4 : ca_.Bind(&label0);
466 4 : ca_.Goto(&block4, result_0_0.value());
467 4 : }
468 : }
469 :
470 4 : if (block4.is_used()) {
471 4 : compiler::TNode<Smi> tmp0;
472 4 : ca_.Bind(&block4, &tmp0);
473 4 : ca_.Goto(&block3, tmp0);
474 : }
475 :
476 4 : if (block3.is_used()) {
477 4 : compiler::TNode<Smi> tmp1;
478 4 : ca_.Bind(&block3, &tmp1);
479 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 68);
480 4 : compiler::TNode<Smi> tmp2;
481 4 : USE(tmp2);
482 4 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(42));
483 4 : compiler::TNode<BoolT> tmp3;
484 4 : USE(tmp3);
485 4 : tmp3 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp1}, compiler::TNode<Smi>{tmp2}));
486 4 : ca_.Branch(tmp3, &block5, &block6, tmp1);
487 : }
488 :
489 4 : if (block6.is_used()) {
490 4 : compiler::TNode<Smi> tmp4;
491 4 : ca_.Bind(&block6, &tmp4);
492 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'smi == 42\' failed", "../../test/torque/test-torque.tq", 68);
493 : }
494 :
495 4 : if (block5.is_used()) {
496 4 : compiler::TNode<Smi> tmp5;
497 4 : ca_.Bind(&block5, &tmp5);
498 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 69);
499 4 : compiler::TNode<Oddball> tmp6;
500 4 : USE(tmp6);
501 4 : tmp6 = BaseBuiltinsFromDSLAssembler(state_).True();
502 4 : ca_.Goto(&block1, tmp6);
503 : }
504 :
505 4 : if (block1.is_used()) {
506 4 : compiler::TNode<Oddball> tmp7;
507 4 : ca_.Bind(&block1, &tmp7);
508 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 63);
509 4 : ca_.Goto(&block7, tmp7);
510 : }
511 :
512 4 : compiler::TNode<Oddball> tmp8;
513 4 : ca_.Bind(&block7, &tmp8);
514 8 : return compiler::TNode<Oddball>{tmp8};
515 : }
516 :
517 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestGotoLabelWithTwoParameters() {
518 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
519 8 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
520 8 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
521 8 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kDeferred);
522 8 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
523 8 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kDeferred);
524 8 : compiler::CodeAssemblerParameterizedLabel<Oddball, Smi> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
525 8 : compiler::CodeAssemblerParameterizedLabel<Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
526 8 : compiler::CodeAssemblerParameterizedLabel<Oddball> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
527 4 : ca_.Goto(&block0);
528 :
529 4 : if (block0.is_used()) {
530 4 : ca_.Bind(&block0);
531 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 75);
532 4 : compiler::TypedCodeAssemblerVariable<Oddball> result_0_0(&ca_);
533 8 : compiler::TypedCodeAssemblerVariable<Smi> result_0_1(&ca_);
534 8 : compiler::CodeAssemblerLabel label0(&ca_);
535 4 : TestBuiltinsFromDSLAssembler(state_).LabelTestHelper3(&label0, &result_0_0, &result_0_1);
536 4 : if (label0.is_used()) {
537 4 : ca_.Bind(&label0);
538 4 : ca_.Goto(&block4, result_0_0.value(), result_0_1.value());
539 4 : }
540 : }
541 :
542 4 : if (block4.is_used()) {
543 4 : compiler::TNode<Oddball> tmp0;
544 4 : compiler::TNode<Smi> tmp1;
545 4 : ca_.Bind(&block4, &tmp0, &tmp1);
546 4 : ca_.Goto(&block3, tmp0, tmp1);
547 : }
548 :
549 4 : if (block3.is_used()) {
550 4 : compiler::TNode<Oddball> tmp2;
551 4 : compiler::TNode<Smi> tmp3;
552 4 : ca_.Bind(&block3, &tmp2, &tmp3);
553 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 78);
554 4 : compiler::TNode<Oddball> tmp4;
555 4 : USE(tmp4);
556 4 : tmp4 = BaseBuiltinsFromDSLAssembler(state_).Null();
557 4 : compiler::TNode<BoolT> tmp5;
558 4 : USE(tmp5);
559 4 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<HeapObject>{tmp2}, compiler::TNode<HeapObject>{tmp4}));
560 4 : ca_.Branch(tmp5, &block5, &block6, tmp2, tmp3);
561 : }
562 :
563 4 : if (block6.is_used()) {
564 4 : compiler::TNode<Oddball> tmp6;
565 4 : compiler::TNode<Smi> tmp7;
566 4 : ca_.Bind(&block6, &tmp6, &tmp7);
567 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'o == Null\' failed", "../../test/torque/test-torque.tq", 78);
568 : }
569 :
570 4 : if (block5.is_used()) {
571 4 : compiler::TNode<Oddball> tmp8;
572 4 : compiler::TNode<Smi> tmp9;
573 4 : ca_.Bind(&block5, &tmp8, &tmp9);
574 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 79);
575 4 : compiler::TNode<Smi> tmp10;
576 4 : USE(tmp10);
577 4 : tmp10 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
578 4 : compiler::TNode<BoolT> tmp11;
579 4 : USE(tmp11);
580 4 : tmp11 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp9}, compiler::TNode<Smi>{tmp10}));
581 4 : ca_.Branch(tmp11, &block7, &block8, tmp8, tmp9);
582 : }
583 :
584 4 : if (block8.is_used()) {
585 4 : compiler::TNode<Oddball> tmp12;
586 4 : compiler::TNode<Smi> tmp13;
587 4 : ca_.Bind(&block8, &tmp12, &tmp13);
588 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'smi == 7\' failed", "../../test/torque/test-torque.tq", 79);
589 : }
590 :
591 4 : if (block7.is_used()) {
592 4 : compiler::TNode<Oddball> tmp14;
593 4 : compiler::TNode<Smi> tmp15;
594 4 : ca_.Bind(&block7, &tmp14, &tmp15);
595 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 80);
596 4 : compiler::TNode<Oddball> tmp16;
597 4 : USE(tmp16);
598 4 : tmp16 = BaseBuiltinsFromDSLAssembler(state_).True();
599 4 : ca_.Goto(&block1, tmp16);
600 : }
601 :
602 4 : if (block1.is_used()) {
603 4 : compiler::TNode<Oddball> tmp17;
604 4 : ca_.Bind(&block1, &tmp17);
605 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 73);
606 4 : ca_.Goto(&block9, tmp17);
607 : }
608 :
609 4 : compiler::TNode<Oddball> tmp18;
610 4 : ca_.Bind(&block9, &tmp18);
611 8 : return compiler::TNode<Oddball>{tmp18};
612 : }
613 :
614 336 : TF_BUILTIN(GenericBuiltinTest20UT5ATSmi10HeapObject, CodeStubAssembler) {
615 56 : compiler::CodeAssemblerState* state_ = state(); compiler::CodeAssembler ca_(state());
616 56 : TNode<Context> parameter0 = UncheckedCast<Context>(Parameter(Descriptor::kContext));
617 56 : USE(parameter0);
618 56 : compiler::TNode<Object> parameter1 = UncheckedCast<Object>(Parameter(Descriptor::kParam));
619 56 : USE(parameter1);
620 112 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
621 56 : ca_.Goto(&block0, parameter0, parameter1);
622 :
623 56 : if (block0.is_used()) {
624 56 : compiler::TNode<Context> tmp0;
625 56 : compiler::TNode<Object> tmp1;
626 56 : ca_.Bind(&block0, &tmp0, &tmp1);
627 56 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 89);
628 56 : CodeStubAssembler(state_).Return(tmp1);
629 56 : }
630 56 : }
631 :
632 4 : void TestBuiltinsFromDSLAssembler::TestBuiltinSpecialization(compiler::TNode<Context> p_c) {
633 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
634 8 : compiler::CodeAssemblerParameterizedLabel<Context> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
635 8 : compiler::CodeAssemblerParameterizedLabel<Context> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
636 8 : compiler::CodeAssemblerParameterizedLabel<Context> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
637 8 : compiler::CodeAssemblerParameterizedLabel<Context> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
638 8 : compiler::CodeAssemblerParameterizedLabel<Context> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
639 8 : compiler::CodeAssemblerParameterizedLabel<Context> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
640 8 : compiler::CodeAssemblerParameterizedLabel<Context> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
641 8 : compiler::CodeAssemblerParameterizedLabel<Context> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
642 8 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
643 8 : compiler::CodeAssemblerParameterizedLabel<Context> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
644 4 : ca_.Goto(&block0, p_c);
645 :
646 4 : if (block0.is_used()) {
647 4 : compiler::TNode<Context> tmp0;
648 4 : ca_.Bind(&block0, &tmp0);
649 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 93);
650 4 : compiler::TNode<Smi> tmp1;
651 4 : USE(tmp1);
652 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
653 4 : compiler::TNode<Object> tmp2;
654 4 : tmp2 = CodeStubAssembler(state_).CallBuiltin(Builtins::kGenericBuiltinTest5ATSmi, tmp0, tmp1);
655 4 : USE(tmp2);
656 4 : compiler::TNode<Oddball> tmp3;
657 4 : USE(tmp3);
658 4 : tmp3 = BaseBuiltinsFromDSLAssembler(state_).Null();
659 4 : compiler::TNode<BoolT> tmp4;
660 4 : USE(tmp4);
661 4 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp2}, compiler::TNode<HeapObject>{tmp3}));
662 4 : ca_.Branch(tmp4, &block2, &block3, tmp0);
663 : }
664 :
665 4 : if (block3.is_used()) {
666 4 : compiler::TNode<Context> tmp5;
667 4 : ca_.Bind(&block3, &tmp5);
668 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericBuiltinTest<Smi>(c, 0) == Null\' failed", "../../test/torque/test-torque.tq", 93);
669 : }
670 :
671 4 : if (block2.is_used()) {
672 4 : compiler::TNode<Context> tmp6;
673 4 : ca_.Bind(&block2, &tmp6);
674 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 94);
675 4 : compiler::TNode<Smi> tmp7;
676 4 : USE(tmp7);
677 4 : tmp7 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
678 4 : compiler::TNode<Object> tmp8;
679 4 : tmp8 = CodeStubAssembler(state_).CallBuiltin(Builtins::kGenericBuiltinTest5ATSmi, tmp6, tmp7);
680 4 : USE(tmp8);
681 4 : compiler::TNode<Oddball> tmp9;
682 4 : USE(tmp9);
683 4 : tmp9 = BaseBuiltinsFromDSLAssembler(state_).Null();
684 4 : compiler::TNode<BoolT> tmp10;
685 4 : USE(tmp10);
686 4 : tmp10 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp8}, compiler::TNode<HeapObject>{tmp9}));
687 4 : ca_.Branch(tmp10, &block4, &block5, tmp6);
688 : }
689 :
690 4 : if (block5.is_used()) {
691 4 : compiler::TNode<Context> tmp11;
692 4 : ca_.Bind(&block5, &tmp11);
693 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericBuiltinTest<Smi>(c, 1) == Null\' failed", "../../test/torque/test-torque.tq", 94);
694 : }
695 :
696 4 : if (block4.is_used()) {
697 4 : compiler::TNode<Context> tmp12;
698 4 : ca_.Bind(&block4, &tmp12);
699 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 95);
700 4 : compiler::TNode<Oddball> tmp13;
701 4 : USE(tmp13);
702 4 : tmp13 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
703 4 : compiler::TNode<Object> tmp14;
704 4 : tmp14 = CodeStubAssembler(state_).CallBuiltin(Builtins::kGenericBuiltinTest20UT5ATSmi10HeapObject, tmp12, tmp13);
705 4 : USE(tmp14);
706 4 : compiler::TNode<Oddball> tmp15;
707 4 : USE(tmp15);
708 4 : tmp15 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
709 4 : compiler::TNode<BoolT> tmp16;
710 4 : USE(tmp16);
711 4 : tmp16 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp14}, compiler::TNode<HeapObject>{tmp15}));
712 4 : ca_.Branch(tmp16, &block6, &block7, tmp12);
713 : }
714 :
715 4 : if (block7.is_used()) {
716 4 : compiler::TNode<Context> tmp17;
717 4 : ca_.Bind(&block7, &tmp17);
718 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericBuiltinTest<Object>(c, Undefined) == Undefined\' failed", "../../test/torque/test-torque.tq", 95);
719 : }
720 :
721 4 : if (block6.is_used()) {
722 4 : compiler::TNode<Context> tmp18;
723 4 : ca_.Bind(&block6, &tmp18);
724 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 96);
725 4 : compiler::TNode<Oddball> tmp19;
726 4 : USE(tmp19);
727 4 : tmp19 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
728 4 : compiler::TNode<Object> tmp20;
729 4 : tmp20 = CodeStubAssembler(state_).CallBuiltin(Builtins::kGenericBuiltinTest20UT5ATSmi10HeapObject, tmp18, tmp19);
730 4 : USE(tmp20);
731 4 : compiler::TNode<Oddball> tmp21;
732 4 : USE(tmp21);
733 4 : tmp21 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
734 4 : compiler::TNode<BoolT> tmp22;
735 4 : USE(tmp22);
736 4 : tmp22 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp20}, compiler::TNode<HeapObject>{tmp21}));
737 4 : ca_.Branch(tmp22, &block8, &block9, tmp18);
738 : }
739 :
740 4 : if (block9.is_used()) {
741 4 : compiler::TNode<Context> tmp23;
742 4 : ca_.Bind(&block9, &tmp23);
743 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericBuiltinTest<Object>(c, Undefined) == Undefined\' failed", "../../test/torque/test-torque.tq", 96);
744 : }
745 :
746 4 : if (block8.is_used()) {
747 4 : compiler::TNode<Context> tmp24;
748 4 : ca_.Bind(&block8, &tmp24);
749 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 92);
750 4 : ca_.Goto(&block1, tmp24);
751 : }
752 :
753 4 : if (block1.is_used()) {
754 4 : compiler::TNode<Context> tmp25;
755 4 : ca_.Bind(&block1, &tmp25);
756 4 : ca_.Goto(&block10, tmp25);
757 : }
758 :
759 4 : compiler::TNode<Context> tmp26;
760 8 : ca_.Bind(&block10, &tmp26);
761 4 : }
762 :
763 8 : void TestBuiltinsFromDSLAssembler::LabelTestHelper4(bool p_flag, compiler::CodeAssemblerLabel* label_Label4, compiler::CodeAssemblerLabel* label_Label5) {
764 8 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
765 16 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
766 16 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
767 16 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
768 16 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
769 8 : ca_.Goto(&block0);
770 :
771 8 : if (block0.is_used()) {
772 8 : ca_.Bind(&block0);
773 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 101);
774 8 : if ((p_flag)) {
775 4 : ca_.Goto(&block3);
776 : } else {
777 4 : ca_.Goto(&block4);
778 : }
779 : }
780 :
781 8 : if (block3.is_used()) {
782 4 : ca_.Bind(&block3);
783 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 102);
784 4 : ca_.Goto(&block1);
785 : }
786 :
787 8 : if (block4.is_used()) {
788 4 : ca_.Bind(&block4);
789 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 104);
790 4 : ca_.Goto(&block2);
791 : }
792 :
793 8 : if (block1.is_used()) {
794 4 : ca_.Bind(&block1);
795 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 99);
796 4 : ca_.Goto(label_Label4);
797 : }
798 :
799 8 : if (block2.is_used()) {
800 4 : ca_.Bind(&block2);
801 4 : ca_.Goto(label_Label5);
802 8 : }
803 8 : }
804 :
805 8 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::CallLabelTestHelper4(bool p_flag) {
806 8 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
807 16 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
808 16 : compiler::CodeAssemblerParameterizedLabel<> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
809 16 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
810 16 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
811 16 : compiler::CodeAssemblerParameterizedLabel<BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
812 16 : compiler::CodeAssemblerParameterizedLabel<BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
813 8 : ca_.Goto(&block0);
814 :
815 8 : if (block0.is_used()) {
816 8 : ca_.Bind(&block0);
817 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 110);
818 8 : compiler::CodeAssemblerLabel label0(&ca_);
819 16 : compiler::CodeAssemblerLabel label1(&ca_);
820 8 : TestBuiltinsFromDSLAssembler(state_).LabelTestHelper4(p_flag, &label0, &label1);
821 8 : if (label0.is_used()) {
822 4 : ca_.Bind(&label0);
823 4 : ca_.Goto(&block6);
824 : }
825 8 : if (label1.is_used()) {
826 4 : ca_.Bind(&label1);
827 4 : ca_.Goto(&block7);
828 8 : }
829 : }
830 :
831 8 : if (block6.is_used()) {
832 4 : ca_.Bind(&block6);
833 4 : ca_.Goto(&block5);
834 : }
835 :
836 8 : if (block7.is_used()) {
837 4 : ca_.Bind(&block7);
838 4 : ca_.Goto(&block3);
839 : }
840 :
841 8 : if (block5.is_used()) {
842 4 : ca_.Bind(&block5);
843 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 113);
844 4 : compiler::TNode<BoolT> tmp0;
845 4 : USE(tmp0);
846 4 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
847 4 : ca_.Goto(&block1, tmp0);
848 : }
849 :
850 8 : if (block3.is_used()) {
851 4 : ca_.Bind(&block3);
852 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 116);
853 4 : compiler::TNode<BoolT> tmp1;
854 4 : USE(tmp1);
855 4 : tmp1 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
856 4 : ca_.Goto(&block1, tmp1);
857 : }
858 :
859 8 : if (block1.is_used()) {
860 8 : compiler::TNode<BoolT> tmp2;
861 8 : ca_.Bind(&block1, &tmp2);
862 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 108);
863 8 : ca_.Goto(&block8, tmp2);
864 : }
865 :
866 8 : compiler::TNode<BoolT> tmp3;
867 8 : ca_.Bind(&block8, &tmp3);
868 16 : return compiler::TNode<BoolT>{tmp3};
869 : }
870 :
871 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestPartiallyUnusedLabel() {
872 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
873 8 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
874 8 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
875 8 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
876 8 : compiler::CodeAssemblerParameterizedLabel<Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
877 8 : compiler::CodeAssemblerParameterizedLabel<Oddball> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
878 4 : ca_.Goto(&block0);
879 :
880 4 : if (block0.is_used()) {
881 4 : ca_.Bind(&block0);
882 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 121);
883 4 : compiler::TNode<BoolT> tmp0;
884 4 : USE(tmp0);
885 4 : tmp0 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).CallLabelTestHelper4(true));
886 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 122);
887 4 : compiler::TNode<BoolT> tmp1;
888 4 : USE(tmp1);
889 4 : tmp1 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).CallLabelTestHelper4(false));
890 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 124);
891 4 : ca_.Branch(tmp0, &block4, &block3, tmp0, tmp1);
892 : }
893 :
894 4 : if (block4.is_used()) {
895 4 : compiler::TNode<BoolT> tmp2;
896 4 : compiler::TNode<BoolT> tmp3;
897 4 : ca_.Bind(&block4, &tmp2, &tmp3);
898 4 : compiler::TNode<BoolT> tmp4;
899 4 : USE(tmp4);
900 4 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp3}));
901 4 : ca_.Branch(tmp4, &block2, &block3, tmp2, tmp3);
902 : }
903 :
904 4 : if (block2.is_used()) {
905 4 : compiler::TNode<BoolT> tmp5;
906 4 : compiler::TNode<BoolT> tmp6;
907 4 : ca_.Bind(&block2, &tmp5, &tmp6);
908 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 125);
909 4 : compiler::TNode<Oddball> tmp7;
910 4 : USE(tmp7);
911 4 : tmp7 = BaseBuiltinsFromDSLAssembler(state_).True();
912 4 : ca_.Goto(&block1, tmp7);
913 : }
914 :
915 4 : if (block3.is_used()) {
916 4 : compiler::TNode<BoolT> tmp8;
917 4 : compiler::TNode<BoolT> tmp9;
918 4 : ca_.Bind(&block3, &tmp8, &tmp9);
919 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 127);
920 4 : compiler::TNode<Oddball> tmp10;
921 4 : USE(tmp10);
922 4 : tmp10 = BaseBuiltinsFromDSLAssembler(state_).False();
923 4 : ca_.Goto(&block1, tmp10);
924 : }
925 :
926 4 : if (block1.is_used()) {
927 4 : compiler::TNode<Oddball> tmp11;
928 4 : ca_.Bind(&block1, &tmp11);
929 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 120);
930 4 : ca_.Goto(&block6, tmp11);
931 : }
932 :
933 4 : compiler::TNode<Oddball> tmp12;
934 4 : ca_.Bind(&block6, &tmp12);
935 8 : return compiler::TNode<Oddball>{tmp12};
936 : }
937 :
938 12 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::GenericMacroTest20UT5ATSmi10HeapObject(compiler::TNode<Object> p_param2) {
939 12 : compiler::CodeAssemblerParameterizedLabel<Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
940 24 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
941 24 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
942 12 : ca_.Goto(&block0, p_param2);
943 :
944 12 : if (block0.is_used()) {
945 12 : compiler::TNode<Object> tmp0;
946 12 : ca_.Bind(&block0, &tmp0);
947 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 136);
948 12 : ca_.Goto(&block1, tmp0, tmp0);
949 : }
950 :
951 12 : if (block1.is_used()) {
952 12 : compiler::TNode<Object> tmp1;
953 12 : compiler::TNode<Object> tmp2;
954 12 : ca_.Bind(&block1, &tmp1, &tmp2);
955 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 131);
956 12 : ca_.Goto(&block2, tmp1, tmp2);
957 : }
958 :
959 12 : compiler::TNode<Object> tmp3;
960 12 : compiler::TNode<Object> tmp4;
961 12 : ca_.Bind(&block2, &tmp3, &tmp4);
962 24 : return compiler::TNode<Object>{tmp4};
963 : }
964 :
965 4 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::GenericMacroTestWithLabels20UT5ATSmi10HeapObject(compiler::TNode<Object> p_param2, compiler::CodeAssemblerLabel* label_Y) {
966 4 : compiler::CodeAssemblerParameterizedLabel<Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
967 8 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
968 8 : compiler::CodeAssemblerParameterizedLabel<Object, Object, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
969 8 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
970 8 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
971 8 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
972 4 : ca_.Goto(&block0, p_param2);
973 :
974 4 : if (block0.is_used()) {
975 4 : compiler::TNode<Object> tmp0;
976 4 : ca_.Bind(&block0, &tmp0);
977 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 146);
978 4 : compiler::TNode<Smi> tmp1;
979 4 : USE(tmp1);
980 4 : compiler::CodeAssemblerLabel label0(&ca_);
981 4 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).Cast5ATSmi(compiler::TNode<Object>{tmp0}, &label0);
982 4 : ca_.Goto(&block3, tmp0, tmp0, tmp1);
983 4 : if (label0.is_used()) {
984 4 : ca_.Bind(&label0);
985 4 : ca_.Goto(&block4, tmp0, tmp0);
986 4 : }
987 : }
988 :
989 4 : if (block4.is_used()) {
990 4 : compiler::TNode<Object> tmp2;
991 4 : compiler::TNode<Object> tmp3;
992 4 : ca_.Bind(&block4, &tmp2, &tmp3);
993 4 : ca_.Goto(&block1);
994 : }
995 :
996 4 : if (block3.is_used()) {
997 4 : compiler::TNode<Object> tmp4;
998 4 : compiler::TNode<Object> tmp5;
999 4 : compiler::TNode<Smi> tmp6;
1000 4 : ca_.Bind(&block3, &tmp4, &tmp5, &tmp6);
1001 4 : ca_.Goto(&block2, tmp4, tmp6);
1002 : }
1003 :
1004 4 : if (block2.is_used()) {
1005 4 : compiler::TNode<Object> tmp7;
1006 4 : compiler::TNode<Object> tmp8;
1007 4 : ca_.Bind(&block2, &tmp7, &tmp8);
1008 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 139);
1009 4 : ca_.Goto(&block5, tmp7, tmp8);
1010 : }
1011 :
1012 4 : if (block1.is_used()) {
1013 4 : ca_.Bind(&block1);
1014 4 : ca_.Goto(label_Y);
1015 : }
1016 :
1017 4 : compiler::TNode<Object> tmp9;
1018 4 : compiler::TNode<Object> tmp10;
1019 4 : ca_.Bind(&block5, &tmp9, &tmp10);
1020 8 : return compiler::TNode<Object>{tmp10};
1021 : }
1022 :
1023 4 : void TestBuiltinsFromDSLAssembler::TestMacroSpecialization() {
1024 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1025 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1026 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1027 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1028 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1029 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1030 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1031 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block11(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1032 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1033 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block13(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1034 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1035 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block17(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1036 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block16(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1037 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block15(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1038 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1039 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block21(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1040 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block20(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1041 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block19(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1042 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block18(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1043 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Oddball> block25(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1044 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Oddball, Object> block24(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1045 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block23(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1046 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block22(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1047 8 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1048 8 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1049 8 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1050 8 : compiler::CodeAssemblerParameterizedLabel<> block26(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1051 4 : ca_.Goto(&block0);
1052 :
1053 4 : if (block0.is_used()) {
1054 4 : ca_.Bind(&block0);
1055 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 151);
1056 4 : compiler::TNode<Smi> tmp0;
1057 4 : USE(tmp0);
1058 4 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1059 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 152);
1060 4 : compiler::TNode<Smi> tmp1;
1061 4 : USE(tmp1);
1062 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1063 4 : compiler::TNode<Object> tmp2;
1064 4 : USE(tmp2);
1065 4 : tmp2 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).GenericMacroTest5ATSmi(compiler::TNode<Smi>{tmp1}));
1066 4 : compiler::TNode<Oddball> tmp3;
1067 4 : USE(tmp3);
1068 4 : tmp3 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1069 4 : compiler::TNode<BoolT> tmp4;
1070 4 : USE(tmp4);
1071 4 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp2}, compiler::TNode<HeapObject>{tmp3}));
1072 4 : ca_.Branch(tmp4, &block4, &block5, tmp0);
1073 : }
1074 :
1075 4 : if (block5.is_used()) {
1076 4 : compiler::TNode<Smi> tmp5;
1077 4 : ca_.Bind(&block5, &tmp5);
1078 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericMacroTest<Smi>(0) == Undefined\' failed", "../../test/torque/test-torque.tq", 152);
1079 : }
1080 :
1081 4 : if (block4.is_used()) {
1082 4 : compiler::TNode<Smi> tmp6;
1083 4 : ca_.Bind(&block4, &tmp6);
1084 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 153);
1085 4 : compiler::TNode<Smi> tmp7;
1086 4 : USE(tmp7);
1087 4 : tmp7 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
1088 4 : compiler::TNode<Object> tmp8;
1089 4 : USE(tmp8);
1090 4 : tmp8 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).GenericMacroTest5ATSmi(compiler::TNode<Smi>{tmp7}));
1091 4 : compiler::TNode<Oddball> tmp9;
1092 4 : USE(tmp9);
1093 4 : tmp9 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1094 4 : compiler::TNode<BoolT> tmp10;
1095 4 : USE(tmp10);
1096 4 : tmp10 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp8}, compiler::TNode<HeapObject>{tmp9}));
1097 4 : ca_.Branch(tmp10, &block6, &block7, tmp6);
1098 : }
1099 :
1100 4 : if (block7.is_used()) {
1101 4 : compiler::TNode<Smi> tmp11;
1102 4 : ca_.Bind(&block7, &tmp11);
1103 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericMacroTest<Smi>(1) == Undefined\' failed", "../../test/torque/test-torque.tq", 153);
1104 : }
1105 :
1106 4 : if (block6.is_used()) {
1107 4 : compiler::TNode<Smi> tmp12;
1108 4 : ca_.Bind(&block6, &tmp12);
1109 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 154);
1110 4 : compiler::TNode<Oddball> tmp13;
1111 4 : USE(tmp13);
1112 4 : tmp13 = BaseBuiltinsFromDSLAssembler(state_).Null();
1113 4 : compiler::TNode<Object> tmp14;
1114 4 : USE(tmp14);
1115 4 : tmp14 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).GenericMacroTest20UT5ATSmi10HeapObject(compiler::TNode<Object>{tmp13}));
1116 4 : compiler::TNode<Oddball> tmp15;
1117 4 : USE(tmp15);
1118 4 : tmp15 = BaseBuiltinsFromDSLAssembler(state_).Null();
1119 4 : compiler::TNode<BoolT> tmp16;
1120 4 : USE(tmp16);
1121 4 : tmp16 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp14}, compiler::TNode<HeapObject>{tmp15}));
1122 4 : ca_.Branch(tmp16, &block8, &block9, tmp12);
1123 : }
1124 :
1125 4 : if (block9.is_used()) {
1126 4 : compiler::TNode<Smi> tmp17;
1127 4 : ca_.Bind(&block9, &tmp17);
1128 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericMacroTest<Object>(Null) == Null\' failed", "../../test/torque/test-torque.tq", 154);
1129 : }
1130 :
1131 4 : if (block8.is_used()) {
1132 4 : compiler::TNode<Smi> tmp18;
1133 4 : ca_.Bind(&block8, &tmp18);
1134 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 155);
1135 4 : compiler::TNode<Oddball> tmp19;
1136 4 : USE(tmp19);
1137 4 : tmp19 = BaseBuiltinsFromDSLAssembler(state_).False();
1138 4 : compiler::TNode<Object> tmp20;
1139 4 : USE(tmp20);
1140 4 : tmp20 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).GenericMacroTest20UT5ATSmi10HeapObject(compiler::TNode<Object>{tmp19}));
1141 4 : compiler::TNode<Oddball> tmp21;
1142 4 : USE(tmp21);
1143 4 : tmp21 = BaseBuiltinsFromDSLAssembler(state_).False();
1144 4 : compiler::TNode<BoolT> tmp22;
1145 4 : USE(tmp22);
1146 4 : tmp22 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp20}, compiler::TNode<HeapObject>{tmp21}));
1147 4 : ca_.Branch(tmp22, &block10, &block11, tmp18);
1148 : }
1149 :
1150 4 : if (block11.is_used()) {
1151 4 : compiler::TNode<Smi> tmp23;
1152 4 : ca_.Bind(&block11, &tmp23);
1153 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericMacroTest<Object>(False) == False\' failed", "../../test/torque/test-torque.tq", 155);
1154 : }
1155 :
1156 4 : if (block10.is_used()) {
1157 4 : compiler::TNode<Smi> tmp24;
1158 4 : ca_.Bind(&block10, &tmp24);
1159 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 156);
1160 4 : compiler::TNode<Oddball> tmp25;
1161 4 : USE(tmp25);
1162 4 : tmp25 = BaseBuiltinsFromDSLAssembler(state_).True();
1163 4 : compiler::TNode<Object> tmp26;
1164 4 : USE(tmp26);
1165 4 : tmp26 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).GenericMacroTest20UT5ATSmi10HeapObject(compiler::TNode<Object>{tmp25}));
1166 4 : compiler::TNode<Oddball> tmp27;
1167 4 : USE(tmp27);
1168 4 : tmp27 = BaseBuiltinsFromDSLAssembler(state_).True();
1169 4 : compiler::TNode<BoolT> tmp28;
1170 4 : USE(tmp28);
1171 4 : tmp28 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp26}, compiler::TNode<HeapObject>{tmp27}));
1172 4 : ca_.Branch(tmp28, &block12, &block13, tmp24);
1173 : }
1174 :
1175 4 : if (block13.is_used()) {
1176 4 : compiler::TNode<Smi> tmp29;
1177 4 : ca_.Bind(&block13, &tmp29);
1178 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'GenericMacroTest<Object>(True) == True\' failed", "../../test/torque/test-torque.tq", 156);
1179 : }
1180 :
1181 4 : if (block12.is_used()) {
1182 4 : compiler::TNode<Smi> tmp30;
1183 4 : ca_.Bind(&block12, &tmp30);
1184 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 157);
1185 4 : compiler::TNode<Smi> tmp31;
1186 4 : USE(tmp31);
1187 4 : tmp31 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1188 4 : compiler::TNode<Object> tmp32;
1189 4 : USE(tmp32);
1190 4 : compiler::CodeAssemblerLabel label0(&ca_);
1191 4 : tmp32 = TestBuiltinsFromDSLAssembler(state_).GenericMacroTestWithLabels5ATSmi(compiler::TNode<Smi>{tmp31}, &label0);
1192 4 : ca_.Goto(&block16, tmp30, tmp32);
1193 4 : if (label0.is_used()) {
1194 0 : ca_.Bind(&label0);
1195 0 : ca_.Goto(&block17, tmp30);
1196 4 : }
1197 : }
1198 :
1199 4 : if (block17.is_used()) {
1200 0 : compiler::TNode<Smi> tmp33;
1201 0 : ca_.Bind(&block17, &tmp33);
1202 0 : ca_.Goto(&block3);
1203 : }
1204 :
1205 4 : if (block16.is_used()) {
1206 4 : compiler::TNode<Smi> tmp34;
1207 4 : compiler::TNode<Object> tmp35;
1208 4 : ca_.Bind(&block16, &tmp34, &tmp35);
1209 4 : compiler::TNode<Oddball> tmp36;
1210 4 : USE(tmp36);
1211 4 : tmp36 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1212 4 : compiler::TNode<BoolT> tmp37;
1213 4 : USE(tmp37);
1214 4 : tmp37 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp35}, compiler::TNode<HeapObject>{tmp36}));
1215 4 : ca_.Branch(tmp37, &block14, &block15, tmp34);
1216 : }
1217 :
1218 4 : if (block15.is_used()) {
1219 4 : compiler::TNode<Smi> tmp38;
1220 4 : ca_.Bind(&block15, &tmp38);
1221 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'(GenericMacroTestWithLabels<Smi>(0) otherwise Fail) == Undefined\' failed", "../../test/torque/test-torque.tq", 157);
1222 : }
1223 :
1224 4 : if (block14.is_used()) {
1225 4 : compiler::TNode<Smi> tmp39;
1226 4 : ca_.Bind(&block14, &tmp39);
1227 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 158);
1228 4 : compiler::TNode<Smi> tmp40;
1229 4 : USE(tmp40);
1230 4 : tmp40 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1231 4 : compiler::TNode<Object> tmp41;
1232 4 : USE(tmp41);
1233 4 : compiler::CodeAssemblerLabel label0(&ca_);
1234 4 : tmp41 = TestBuiltinsFromDSLAssembler(state_).GenericMacroTestWithLabels5ATSmi(compiler::TNode<Smi>{tmp40}, &label0);
1235 4 : ca_.Goto(&block20, tmp39, tmp41);
1236 4 : if (label0.is_used()) {
1237 0 : ca_.Bind(&label0);
1238 0 : ca_.Goto(&block21, tmp39);
1239 4 : }
1240 : }
1241 :
1242 4 : if (block21.is_used()) {
1243 0 : compiler::TNode<Smi> tmp42;
1244 0 : ca_.Bind(&block21, &tmp42);
1245 0 : ca_.Goto(&block3);
1246 : }
1247 :
1248 4 : if (block20.is_used()) {
1249 4 : compiler::TNode<Smi> tmp43;
1250 4 : compiler::TNode<Object> tmp44;
1251 4 : ca_.Bind(&block20, &tmp43, &tmp44);
1252 4 : compiler::TNode<Oddball> tmp45;
1253 4 : USE(tmp45);
1254 4 : tmp45 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1255 4 : compiler::TNode<BoolT> tmp46;
1256 4 : USE(tmp46);
1257 4 : tmp46 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp44}, compiler::TNode<HeapObject>{tmp45}));
1258 4 : ca_.Branch(tmp46, &block18, &block19, tmp43);
1259 : }
1260 :
1261 4 : if (block19.is_used()) {
1262 4 : compiler::TNode<Smi> tmp47;
1263 4 : ca_.Bind(&block19, &tmp47);
1264 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'(GenericMacroTestWithLabels<Smi>(0) otherwise Fail) == Undefined\' failed", "../../test/torque/test-torque.tq", 158);
1265 : }
1266 :
1267 4 : if (block18.is_used()) {
1268 4 : compiler::TNode<Smi> tmp48;
1269 4 : ca_.Bind(&block18, &tmp48);
1270 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 160);
1271 4 : compiler::TNode<Oddball> tmp49;
1272 4 : USE(tmp49);
1273 4 : tmp49 = BaseBuiltinsFromDSLAssembler(state_).False();
1274 4 : compiler::TNode<Object> tmp50;
1275 4 : USE(tmp50);
1276 4 : compiler::CodeAssemblerLabel label0(&ca_);
1277 4 : tmp50 = TestBuiltinsFromDSLAssembler(state_).GenericMacroTestWithLabels20UT5ATSmi10HeapObject(compiler::TNode<Object>{tmp49}, &label0);
1278 4 : ca_.Goto(&block24, tmp48, tmp49, tmp50);
1279 4 : if (label0.is_used()) {
1280 4 : ca_.Bind(&label0);
1281 4 : ca_.Goto(&block25, tmp48, tmp49);
1282 4 : }
1283 : }
1284 :
1285 4 : if (block25.is_used()) {
1286 4 : compiler::TNode<Smi> tmp51;
1287 4 : compiler::TNode<Oddball> tmp52;
1288 4 : ca_.Bind(&block25, &tmp51, &tmp52);
1289 4 : ca_.Goto(&block23, tmp51);
1290 : }
1291 :
1292 4 : if (block24.is_used()) {
1293 4 : compiler::TNode<Smi> tmp53;
1294 4 : compiler::TNode<Oddball> tmp54;
1295 4 : compiler::TNode<Object> tmp55;
1296 4 : ca_.Bind(&block24, &tmp53, &tmp54, &tmp55);
1297 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 162);
1298 4 : ca_.Goto(&block22, tmp53);
1299 : }
1300 :
1301 4 : if (block23.is_used()) {
1302 4 : compiler::TNode<Smi> tmp56;
1303 4 : ca_.Bind(&block23, &tmp56);
1304 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 159);
1305 4 : ca_.Goto(&block22, tmp56);
1306 : }
1307 :
1308 4 : if (block22.is_used()) {
1309 4 : compiler::TNode<Smi> tmp57;
1310 4 : ca_.Bind(&block22, &tmp57);
1311 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 150);
1312 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 164);
1313 4 : ca_.Goto(&block2);
1314 : }
1315 :
1316 4 : if (block3.is_used()) {
1317 0 : ca_.Bind(&block3);
1318 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 165);
1319 0 : CodeStubAssembler(state_).Unreachable();
1320 : }
1321 :
1322 4 : if (block2.is_used()) {
1323 4 : ca_.Bind(&block2);
1324 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 149);
1325 4 : ca_.Goto(&block1);
1326 : }
1327 :
1328 4 : if (block1.is_used()) {
1329 4 : ca_.Bind(&block1);
1330 4 : ca_.Goto(&block26);
1331 : }
1332 :
1333 8 : ca_.Bind(&block26);
1334 4 : }
1335 :
1336 336 : TF_BUILTIN(TestHelperPlus1, CodeStubAssembler) {
1337 56 : compiler::CodeAssemblerState* state_ = state(); compiler::CodeAssembler ca_(state());
1338 56 : TNode<Context> parameter0 = UncheckedCast<Context>(Parameter(Descriptor::kContext));
1339 56 : USE(parameter0);
1340 56 : compiler::TNode<Smi> parameter1 = UncheckedCast<Smi>(Parameter(Descriptor::kX));
1341 56 : USE(parameter1);
1342 112 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1343 56 : ca_.Goto(&block0, parameter0, parameter1);
1344 :
1345 56 : if (block0.is_used()) {
1346 56 : compiler::TNode<Context> tmp0;
1347 56 : compiler::TNode<Smi> tmp1;
1348 56 : ca_.Bind(&block0, &tmp0, &tmp1);
1349 56 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 170);
1350 56 : compiler::TNode<Smi> tmp2;
1351 56 : USE(tmp2);
1352 56 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
1353 56 : compiler::TNode<Smi> tmp3;
1354 56 : USE(tmp3);
1355 56 : tmp3 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp1}, compiler::TNode<Smi>{tmp2}));
1356 56 : CodeStubAssembler(state_).Return(tmp3);
1357 56 : }
1358 56 : }
1359 :
1360 336 : TF_BUILTIN(TestHelperPlus2, CodeStubAssembler) {
1361 56 : compiler::CodeAssemblerState* state_ = state(); compiler::CodeAssembler ca_(state());
1362 56 : TNode<Context> parameter0 = UncheckedCast<Context>(Parameter(Descriptor::kContext));
1363 56 : USE(parameter0);
1364 56 : compiler::TNode<Smi> parameter1 = UncheckedCast<Smi>(Parameter(Descriptor::kX));
1365 56 : USE(parameter1);
1366 112 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1367 56 : ca_.Goto(&block0, parameter0, parameter1);
1368 :
1369 56 : if (block0.is_used()) {
1370 56 : compiler::TNode<Context> tmp0;
1371 56 : compiler::TNode<Smi> tmp1;
1372 56 : ca_.Bind(&block0, &tmp0, &tmp1);
1373 56 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 173);
1374 56 : compiler::TNode<Smi> tmp2;
1375 56 : USE(tmp2);
1376 56 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(2));
1377 56 : compiler::TNode<Smi> tmp3;
1378 56 : USE(tmp3);
1379 56 : tmp3 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp1}, compiler::TNode<Smi>{tmp2}));
1380 56 : CodeStubAssembler(state_).Return(tmp3);
1381 56 : }
1382 56 : }
1383 :
1384 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestFunctionPointers(compiler::TNode<Context> p_context) {
1385 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1386 8 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1387 8 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1388 8 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1389 8 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1390 8 : compiler::CodeAssemblerParameterizedLabel<Context, Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1391 8 : compiler::CodeAssemblerParameterizedLabel<Context, Oddball> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1392 4 : ca_.Goto(&block0, p_context);
1393 :
1394 4 : if (block0.is_used()) {
1395 4 : compiler::TNode<Context> tmp0;
1396 4 : ca_.Bind(&block0, &tmp0);
1397 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 177);
1398 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 178);
1399 4 : compiler::TNode<Smi> tmp1;
1400 4 : USE(tmp1);
1401 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(42));
1402 4 : 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));
1403 4 : USE(tmp2);
1404 4 : compiler::TNode<Smi> tmp3;
1405 4 : USE(tmp3);
1406 4 : tmp3 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(43));
1407 4 : compiler::TNode<BoolT> tmp4;
1408 4 : USE(tmp4);
1409 4 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp2}, compiler::TNode<Smi>{tmp3}));
1410 4 : ca_.Branch(tmp4, &block2, &block3, tmp0, ca_.UncheckedCast<BuiltinPtr>(ca_.SmiConstant(Builtins::kTestHelperPlus1)));
1411 : }
1412 :
1413 4 : if (block3.is_used()) {
1414 4 : compiler::TNode<Context> tmp5;
1415 4 : compiler::TNode<BuiltinPtr> tmp6;
1416 4 : ca_.Bind(&block3, &tmp5, &tmp6);
1417 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr(context, 42) == 43\' failed", "../../test/torque/test-torque.tq", 178);
1418 : }
1419 :
1420 4 : if (block2.is_used()) {
1421 4 : compiler::TNode<Context> tmp7;
1422 4 : compiler::TNode<BuiltinPtr> tmp8;
1423 4 : ca_.Bind(&block2, &tmp7, &tmp8);
1424 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 179);
1425 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 180);
1426 4 : compiler::TNode<Smi> tmp9;
1427 4 : USE(tmp9);
1428 4 : tmp9 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(42));
1429 4 : 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));
1430 4 : USE(tmp10);
1431 4 : compiler::TNode<Smi> tmp11;
1432 4 : USE(tmp11);
1433 4 : tmp11 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(44));
1434 4 : compiler::TNode<BoolT> tmp12;
1435 4 : USE(tmp12);
1436 4 : tmp12 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp10}, compiler::TNode<Smi>{tmp11}));
1437 4 : ca_.Branch(tmp12, &block4, &block5, tmp7, ca_.UncheckedCast<BuiltinPtr>(ca_.SmiConstant(Builtins::kTestHelperPlus2)));
1438 : }
1439 :
1440 4 : if (block5.is_used()) {
1441 4 : compiler::TNode<Context> tmp13;
1442 4 : compiler::TNode<BuiltinPtr> tmp14;
1443 4 : ca_.Bind(&block5, &tmp13, &tmp14);
1444 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr(context, 42) == 44\' failed", "../../test/torque/test-torque.tq", 180);
1445 : }
1446 :
1447 4 : if (block4.is_used()) {
1448 4 : compiler::TNode<Context> tmp15;
1449 4 : compiler::TNode<BuiltinPtr> tmp16;
1450 4 : ca_.Bind(&block4, &tmp15, &tmp16);
1451 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 181);
1452 4 : compiler::TNode<Oddball> tmp17;
1453 4 : USE(tmp17);
1454 4 : tmp17 = BaseBuiltinsFromDSLAssembler(state_).True();
1455 4 : ca_.Goto(&block1, tmp15, tmp17);
1456 : }
1457 :
1458 4 : if (block1.is_used()) {
1459 4 : compiler::TNode<Context> tmp18;
1460 4 : compiler::TNode<Oddball> tmp19;
1461 4 : ca_.Bind(&block1, &tmp18, &tmp19);
1462 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 176);
1463 4 : ca_.Goto(&block6, tmp18, tmp19);
1464 : }
1465 :
1466 4 : compiler::TNode<Context> tmp20;
1467 4 : compiler::TNode<Oddball> tmp21;
1468 4 : ca_.Bind(&block6, &tmp20, &tmp21);
1469 8 : return compiler::TNode<Oddball>{tmp21};
1470 : }
1471 :
1472 0 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestVariableRedeclaration(compiler::TNode<Context> p_context) {
1473 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1474 0 : compiler::CodeAssemblerParameterizedLabel<Context> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1475 0 : compiler::CodeAssemblerParameterizedLabel<Context> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1476 0 : compiler::CodeAssemblerParameterizedLabel<Context> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1477 0 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1478 0 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1479 0 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1480 0 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1481 0 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T, Int32T> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1482 0 : compiler::CodeAssemblerParameterizedLabel<Context, Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1483 0 : compiler::CodeAssemblerParameterizedLabel<Context, Oddball> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1484 0 : ca_.Goto(&block0, p_context);
1485 :
1486 0 : if (block0.is_used()) {
1487 0 : compiler::TNode<Context> tmp0;
1488 0 : ca_.Bind(&block0, &tmp0);
1489 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 185);
1490 0 : compiler::TNode<BoolT> tmp1;
1491 0 : USE(tmp1);
1492 0 : tmp1 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((CodeStubAssembler(state_).ConstexprInt31Equal(42, 0))));
1493 0 : ca_.Branch(tmp1, &block2, &block3, tmp0);
1494 : }
1495 :
1496 0 : if (block2.is_used()) {
1497 0 : compiler::TNode<Context> tmp2;
1498 0 : ca_.Bind(&block2, &tmp2);
1499 0 : ca_.Goto(&block5, tmp2);
1500 : }
1501 :
1502 0 : if (block3.is_used()) {
1503 0 : compiler::TNode<Context> tmp3;
1504 0 : ca_.Bind(&block3, &tmp3);
1505 0 : compiler::TNode<Int32T> tmp4;
1506 0 : USE(tmp4);
1507 0 : tmp4 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3117ATconstexpr_int31(1));
1508 0 : ca_.Goto(&block4, tmp3, tmp4);
1509 : }
1510 :
1511 0 : if (block5.is_used()) {
1512 0 : compiler::TNode<Context> tmp5;
1513 0 : ca_.Bind(&block5, &tmp5);
1514 0 : compiler::TNode<Int32T> tmp6;
1515 0 : USE(tmp6);
1516 0 : tmp6 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3117ATconstexpr_int31(0));
1517 0 : ca_.Goto(&block4, tmp5, tmp6);
1518 : }
1519 :
1520 0 : if (block4.is_used()) {
1521 0 : compiler::TNode<Context> tmp7;
1522 0 : compiler::TNode<Int32T> tmp8;
1523 0 : ca_.Bind(&block4, &tmp7, &tmp8);
1524 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 186);
1525 0 : compiler::TNode<BoolT> tmp9;
1526 0 : USE(tmp9);
1527 0 : tmp9 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool((CodeStubAssembler(state_).ConstexprInt31Equal(42, 0))));
1528 0 : ca_.Branch(tmp9, &block6, &block7, tmp7, tmp8);
1529 : }
1530 :
1531 0 : if (block6.is_used()) {
1532 0 : compiler::TNode<Context> tmp10;
1533 0 : compiler::TNode<Int32T> tmp11;
1534 0 : ca_.Bind(&block6, &tmp10, &tmp11);
1535 0 : ca_.Goto(&block9, tmp10, tmp11);
1536 : }
1537 :
1538 0 : if (block7.is_used()) {
1539 0 : compiler::TNode<Context> tmp12;
1540 0 : compiler::TNode<Int32T> tmp13;
1541 0 : ca_.Bind(&block7, &tmp12, &tmp13);
1542 0 : compiler::TNode<Int32T> tmp14;
1543 0 : USE(tmp14);
1544 0 : tmp14 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3117ATconstexpr_int31(0));
1545 0 : ca_.Goto(&block8, tmp12, tmp13, tmp14);
1546 : }
1547 :
1548 0 : if (block9.is_used()) {
1549 0 : compiler::TNode<Context> tmp15;
1550 0 : compiler::TNode<Int32T> tmp16;
1551 0 : ca_.Bind(&block9, &tmp15, &tmp16);
1552 0 : compiler::TNode<Int32T> tmp17;
1553 0 : USE(tmp17);
1554 0 : tmp17 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3117ATconstexpr_int31(1));
1555 0 : ca_.Goto(&block8, tmp15, tmp16, tmp17);
1556 : }
1557 :
1558 0 : if (block8.is_used()) {
1559 0 : compiler::TNode<Context> tmp18;
1560 0 : compiler::TNode<Int32T> tmp19;
1561 0 : compiler::TNode<Int32T> tmp20;
1562 0 : ca_.Bind(&block8, &tmp18, &tmp19, &tmp20);
1563 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 187);
1564 0 : compiler::TNode<Oddball> tmp21;
1565 0 : USE(tmp21);
1566 0 : tmp21 = BaseBuiltinsFromDSLAssembler(state_).True();
1567 0 : ca_.Goto(&block1, tmp18, tmp21);
1568 : }
1569 :
1570 0 : if (block1.is_used()) {
1571 0 : compiler::TNode<Context> tmp22;
1572 0 : compiler::TNode<Oddball> tmp23;
1573 0 : ca_.Bind(&block1, &tmp22, &tmp23);
1574 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 184);
1575 0 : ca_.Goto(&block10, tmp22, tmp23);
1576 : }
1577 :
1578 0 : compiler::TNode<Context> tmp24;
1579 0 : compiler::TNode<Oddball> tmp25;
1580 0 : ca_.Bind(&block10, &tmp24, &tmp25);
1581 0 : return compiler::TNode<Oddball>{tmp25};
1582 : }
1583 :
1584 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestTernaryOperator(compiler::TNode<Smi> p_x) {
1585 4 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1586 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1587 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1588 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1589 8 : compiler::CodeAssemblerParameterizedLabel<Smi, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1590 8 : compiler::CodeAssemblerParameterizedLabel<Smi, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1591 8 : compiler::CodeAssemblerParameterizedLabel<Smi, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1592 8 : compiler::CodeAssemblerParameterizedLabel<Smi, BoolT, Smi> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1593 8 : compiler::CodeAssemblerParameterizedLabel<Smi, BoolT, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1594 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1595 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1596 4 : ca_.Goto(&block0, p_x);
1597 :
1598 4 : if (block0.is_used()) {
1599 4 : compiler::TNode<Smi> tmp0;
1600 4 : ca_.Bind(&block0, &tmp0);
1601 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 191);
1602 4 : compiler::TNode<Smi> tmp1;
1603 4 : USE(tmp1);
1604 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1605 4 : compiler::TNode<BoolT> tmp2;
1606 4 : USE(tmp2);
1607 4 : tmp2 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp0}, compiler::TNode<Smi>{tmp1}));
1608 4 : ca_.Branch(tmp2, &block2, &block3, tmp0);
1609 : }
1610 :
1611 4 : if (block2.is_used()) {
1612 4 : compiler::TNode<Smi> tmp3;
1613 4 : ca_.Bind(&block2, &tmp3);
1614 4 : ca_.Goto(&block5, tmp3);
1615 : }
1616 :
1617 4 : if (block3.is_used()) {
1618 4 : compiler::TNode<Smi> tmp4;
1619 4 : ca_.Bind(&block3, &tmp4);
1620 4 : compiler::TNode<BoolT> tmp5;
1621 4 : USE(tmp5);
1622 4 : tmp5 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
1623 4 : ca_.Goto(&block4, tmp4, tmp5);
1624 : }
1625 :
1626 4 : if (block5.is_used()) {
1627 4 : compiler::TNode<Smi> tmp6;
1628 4 : ca_.Bind(&block5, &tmp6);
1629 4 : compiler::TNode<BoolT> tmp7;
1630 4 : USE(tmp7);
1631 4 : tmp7 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
1632 4 : ca_.Goto(&block4, tmp6, tmp7);
1633 : }
1634 :
1635 4 : if (block4.is_used()) {
1636 4 : compiler::TNode<Smi> tmp8;
1637 4 : compiler::TNode<BoolT> tmp9;
1638 4 : ca_.Bind(&block4, &tmp8, &tmp9);
1639 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 192);
1640 4 : ca_.Branch(tmp9, &block6, &block7, tmp8, tmp9);
1641 : }
1642 :
1643 4 : if (block6.is_used()) {
1644 4 : compiler::TNode<Smi> tmp10;
1645 4 : compiler::TNode<BoolT> tmp11;
1646 4 : ca_.Bind(&block6, &tmp10, &tmp11);
1647 4 : compiler::TNode<Smi> tmp12;
1648 4 : USE(tmp12);
1649 4 : tmp12 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
1650 4 : compiler::TNode<Smi> tmp13;
1651 4 : USE(tmp13);
1652 4 : tmp13 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiSub(compiler::TNode<Smi>{tmp10}, compiler::TNode<Smi>{tmp12}));
1653 4 : ca_.Goto(&block9, tmp10, tmp11, tmp13);
1654 : }
1655 :
1656 4 : if (block7.is_used()) {
1657 4 : compiler::TNode<Smi> tmp14;
1658 4 : compiler::TNode<BoolT> tmp15;
1659 4 : ca_.Bind(&block7, &tmp14, &tmp15);
1660 4 : compiler::TNode<Smi> tmp16;
1661 4 : USE(tmp16);
1662 4 : tmp16 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(100));
1663 4 : compiler::TNode<Smi> tmp17;
1664 4 : USE(tmp17);
1665 4 : tmp17 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp14}, compiler::TNode<Smi>{tmp16}));
1666 4 : ca_.Goto(&block8, tmp14, tmp15, tmp17);
1667 : }
1668 :
1669 4 : if (block9.is_used()) {
1670 4 : compiler::TNode<Smi> tmp18;
1671 4 : compiler::TNode<BoolT> tmp19;
1672 4 : compiler::TNode<Smi> tmp20;
1673 4 : ca_.Bind(&block9, &tmp18, &tmp19, &tmp20);
1674 4 : ca_.Goto(&block8, tmp18, tmp19, tmp20);
1675 : }
1676 :
1677 4 : if (block8.is_used()) {
1678 4 : compiler::TNode<Smi> tmp21;
1679 4 : compiler::TNode<BoolT> tmp22;
1680 4 : compiler::TNode<Smi> tmp23;
1681 4 : ca_.Bind(&block8, &tmp21, &tmp22, &tmp23);
1682 4 : ca_.Goto(&block1, tmp21, tmp23);
1683 : }
1684 :
1685 4 : if (block1.is_used()) {
1686 4 : compiler::TNode<Smi> tmp24;
1687 4 : compiler::TNode<Smi> tmp25;
1688 4 : ca_.Bind(&block1, &tmp24, &tmp25);
1689 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 190);
1690 4 : ca_.Goto(&block10, tmp24, tmp25);
1691 : }
1692 :
1693 4 : compiler::TNode<Smi> tmp26;
1694 4 : compiler::TNode<Smi> tmp27;
1695 4 : ca_.Bind(&block10, &tmp26, &tmp27);
1696 8 : return compiler::TNode<Smi>{tmp27};
1697 : }
1698 :
1699 4 : void TestBuiltinsFromDSLAssembler::TestFunctionPointerToGeneric(compiler::TNode<Context> p_c) {
1700 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1701 8 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1702 8 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1703 8 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1704 8 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1705 8 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1706 8 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1707 8 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1708 8 : compiler::CodeAssemblerParameterizedLabel<Context, BuiltinPtr, BuiltinPtr> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1709 8 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1710 8 : compiler::CodeAssemblerParameterizedLabel<Context> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1711 4 : ca_.Goto(&block0, p_c);
1712 :
1713 4 : if (block0.is_used()) {
1714 4 : compiler::TNode<Context> tmp0;
1715 4 : ca_.Bind(&block0, &tmp0);
1716 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 196);
1717 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 197);
1718 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 199);
1719 4 : compiler::TNode<Smi> tmp1;
1720 4 : USE(tmp1);
1721 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
1722 4 : compiler::TNode<Object> tmp2 = CodeStubAssembler(state_).CallBuiltinPointer(Builtins::CallableFor(ca_.isolate(),ExampleBuiltinForTorqueFunctionPointerType(9)).descriptor(), ca_.UncheckedCast<BuiltinPtr>(ca_.SmiConstant(Builtins::kGenericBuiltinTest5ATSmi)), tmp0, tmp1);
1723 4 : USE(tmp2);
1724 4 : compiler::TNode<Oddball> tmp3;
1725 4 : USE(tmp3);
1726 4 : tmp3 = BaseBuiltinsFromDSLAssembler(state_).Null();
1727 4 : compiler::TNode<BoolT> tmp4;
1728 4 : USE(tmp4);
1729 4 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp2}, compiler::TNode<HeapObject>{tmp3}));
1730 4 : ca_.Branch(tmp4, &block2, &block3, tmp0, ca_.UncheckedCast<BuiltinPtr>(ca_.SmiConstant(Builtins::kGenericBuiltinTest5ATSmi)), ca_.UncheckedCast<BuiltinPtr>(ca_.SmiConstant(Builtins::kGenericBuiltinTest20UT5ATSmi10HeapObject)));
1731 : }
1732 :
1733 4 : if (block3.is_used()) {
1734 4 : compiler::TNode<Context> tmp5;
1735 4 : compiler::TNode<BuiltinPtr> tmp6;
1736 4 : compiler::TNode<BuiltinPtr> tmp7;
1737 4 : ca_.Bind(&block3, &tmp5, &tmp6, &tmp7);
1738 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr1(c, 0) == Null\' failed", "../../test/torque/test-torque.tq", 199);
1739 : }
1740 :
1741 4 : if (block2.is_used()) {
1742 4 : compiler::TNode<Context> tmp8;
1743 4 : compiler::TNode<BuiltinPtr> tmp9;
1744 4 : compiler::TNode<BuiltinPtr> tmp10;
1745 4 : ca_.Bind(&block2, &tmp8, &tmp9, &tmp10);
1746 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 200);
1747 4 : compiler::TNode<Smi> tmp11;
1748 4 : USE(tmp11);
1749 4 : tmp11 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
1750 4 : compiler::TNode<Object> tmp12 = CodeStubAssembler(state_).CallBuiltinPointer(Builtins::CallableFor(ca_.isolate(),ExampleBuiltinForTorqueFunctionPointerType(9)).descriptor(), tmp9, tmp8, tmp11);
1751 4 : USE(tmp12);
1752 4 : compiler::TNode<Oddball> tmp13;
1753 4 : USE(tmp13);
1754 4 : tmp13 = BaseBuiltinsFromDSLAssembler(state_).Null();
1755 4 : compiler::TNode<BoolT> tmp14;
1756 4 : USE(tmp14);
1757 4 : tmp14 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp12}, compiler::TNode<HeapObject>{tmp13}));
1758 4 : ca_.Branch(tmp14, &block4, &block5, tmp8, tmp9, tmp10);
1759 : }
1760 :
1761 4 : if (block5.is_used()) {
1762 4 : compiler::TNode<Context> tmp15;
1763 4 : compiler::TNode<BuiltinPtr> tmp16;
1764 4 : compiler::TNode<BuiltinPtr> tmp17;
1765 4 : ca_.Bind(&block5, &tmp15, &tmp16, &tmp17);
1766 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr1(c, 1) == Null\' failed", "../../test/torque/test-torque.tq", 200);
1767 : }
1768 :
1769 4 : if (block4.is_used()) {
1770 4 : compiler::TNode<Context> tmp18;
1771 4 : compiler::TNode<BuiltinPtr> tmp19;
1772 4 : compiler::TNode<BuiltinPtr> tmp20;
1773 4 : ca_.Bind(&block4, &tmp18, &tmp19, &tmp20);
1774 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 201);
1775 4 : compiler::TNode<Oddball> tmp21;
1776 4 : USE(tmp21);
1777 4 : tmp21 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1778 4 : compiler::TNode<Object> tmp22 = CodeStubAssembler(state_).CallBuiltinPointer(Builtins::CallableFor(ca_.isolate(),ExampleBuiltinForTorqueFunctionPointerType(3)).descriptor(), tmp20, tmp18, tmp21);
1779 4 : USE(tmp22);
1780 4 : compiler::TNode<Oddball> tmp23;
1781 4 : USE(tmp23);
1782 4 : tmp23 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1783 4 : compiler::TNode<BoolT> tmp24;
1784 4 : USE(tmp24);
1785 4 : tmp24 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp22}, compiler::TNode<HeapObject>{tmp23}));
1786 4 : ca_.Branch(tmp24, &block6, &block7, tmp18, tmp19, tmp20);
1787 : }
1788 :
1789 4 : if (block7.is_used()) {
1790 4 : compiler::TNode<Context> tmp25;
1791 4 : compiler::TNode<BuiltinPtr> tmp26;
1792 4 : compiler::TNode<BuiltinPtr> tmp27;
1793 4 : ca_.Bind(&block7, &tmp25, &tmp26, &tmp27);
1794 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr2(c, Undefined) == Undefined\' failed", "../../test/torque/test-torque.tq", 201);
1795 : }
1796 :
1797 4 : if (block6.is_used()) {
1798 4 : compiler::TNode<Context> tmp28;
1799 4 : compiler::TNode<BuiltinPtr> tmp29;
1800 4 : compiler::TNode<BuiltinPtr> tmp30;
1801 4 : ca_.Bind(&block6, &tmp28, &tmp29, &tmp30);
1802 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 202);
1803 4 : compiler::TNode<Oddball> tmp31;
1804 4 : USE(tmp31);
1805 4 : tmp31 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1806 4 : compiler::TNode<Object> tmp32 = CodeStubAssembler(state_).CallBuiltinPointer(Builtins::CallableFor(ca_.isolate(),ExampleBuiltinForTorqueFunctionPointerType(3)).descriptor(), tmp30, tmp28, tmp31);
1807 4 : USE(tmp32);
1808 4 : compiler::TNode<Oddball> tmp33;
1809 4 : USE(tmp33);
1810 4 : tmp33 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
1811 4 : compiler::TNode<BoolT> tmp34;
1812 4 : USE(tmp34);
1813 4 : tmp34 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<Object>{tmp32}, compiler::TNode<HeapObject>{tmp33}));
1814 4 : ca_.Branch(tmp34, &block8, &block9, tmp28, tmp29, tmp30);
1815 : }
1816 :
1817 4 : if (block9.is_used()) {
1818 4 : compiler::TNode<Context> tmp35;
1819 4 : compiler::TNode<BuiltinPtr> tmp36;
1820 4 : compiler::TNode<BuiltinPtr> tmp37;
1821 4 : ca_.Bind(&block9, &tmp35, &tmp36, &tmp37);
1822 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'fptr2(c, Undefined) == Undefined\' failed", "../../test/torque/test-torque.tq", 202);
1823 : }
1824 :
1825 4 : if (block8.is_used()) {
1826 4 : compiler::TNode<Context> tmp38;
1827 4 : compiler::TNode<BuiltinPtr> tmp39;
1828 4 : compiler::TNode<BuiltinPtr> tmp40;
1829 4 : ca_.Bind(&block8, &tmp38, &tmp39, &tmp40);
1830 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 195);
1831 4 : ca_.Goto(&block1, tmp38);
1832 : }
1833 :
1834 4 : if (block1.is_used()) {
1835 4 : compiler::TNode<Context> tmp41;
1836 4 : ca_.Bind(&block1, &tmp41);
1837 4 : ca_.Goto(&block10, tmp41);
1838 : }
1839 :
1840 4 : compiler::TNode<Context> tmp42;
1841 8 : ca_.Bind(&block10, &tmp42);
1842 4 : }
1843 :
1844 0 : compiler::TNode<BuiltinPtr> TestBuiltinsFromDSLAssembler::TestTypeAlias(compiler::TNode<BuiltinPtr> p_x) {
1845 0 : compiler::CodeAssemblerParameterizedLabel<BuiltinPtr> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1846 0 : compiler::CodeAssemblerParameterizedLabel<BuiltinPtr, BuiltinPtr> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1847 0 : compiler::CodeAssemblerParameterizedLabel<BuiltinPtr, BuiltinPtr> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1848 0 : ca_.Goto(&block0, p_x);
1849 :
1850 0 : if (block0.is_used()) {
1851 0 : compiler::TNode<BuiltinPtr> tmp0;
1852 0 : ca_.Bind(&block0, &tmp0);
1853 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 207);
1854 0 : ca_.Goto(&block1, tmp0, tmp0);
1855 : }
1856 :
1857 0 : if (block1.is_used()) {
1858 0 : compiler::TNode<BuiltinPtr> tmp1;
1859 0 : compiler::TNode<BuiltinPtr> tmp2;
1860 0 : ca_.Bind(&block1, &tmp1, &tmp2);
1861 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 206);
1862 0 : ca_.Goto(&block2, tmp1, tmp2);
1863 : }
1864 :
1865 0 : compiler::TNode<BuiltinPtr> tmp3;
1866 0 : compiler::TNode<BuiltinPtr> tmp4;
1867 0 : ca_.Bind(&block2, &tmp3, &tmp4);
1868 0 : return compiler::TNode<BuiltinPtr>{tmp4};
1869 : }
1870 :
1871 4 : compiler::TNode<Oddball> TestBuiltinsFromDSLAssembler::TestUnsafeCast(compiler::TNode<Context> p_context, compiler::TNode<Number> p_n) {
1872 4 : compiler::CodeAssemblerParameterizedLabel<Context, Number> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1873 8 : compiler::CodeAssemblerParameterizedLabel<Context, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1874 8 : compiler::CodeAssemblerParameterizedLabel<Context, Number, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1875 8 : compiler::CodeAssemblerParameterizedLabel<Context, Number, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1876 8 : compiler::CodeAssemblerParameterizedLabel<Context, Number> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1877 8 : compiler::CodeAssemblerParameterizedLabel<Context, Number, Oddball> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1878 8 : compiler::CodeAssemblerParameterizedLabel<Context, Number, Oddball> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1879 4 : ca_.Goto(&block0, p_context, p_n);
1880 :
1881 4 : if (block0.is_used()) {
1882 4 : compiler::TNode<Context> tmp0;
1883 4 : compiler::TNode<Number> tmp1;
1884 4 : ca_.Bind(&block0, &tmp0, &tmp1);
1885 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 211);
1886 4 : compiler::TNode<BoolT> tmp2;
1887 4 : USE(tmp2);
1888 4 : tmp2 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).TaggedIsSmi(compiler::TNode<Object>{tmp1}));
1889 4 : ca_.Branch(tmp2, &block2, &block3, tmp0, tmp1);
1890 : }
1891 :
1892 4 : if (block2.is_used()) {
1893 4 : compiler::TNode<Context> tmp3;
1894 4 : compiler::TNode<Number> tmp4;
1895 4 : ca_.Bind(&block2, &tmp3, &tmp4);
1896 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 212);
1897 4 : compiler::TNode<Smi> tmp5;
1898 4 : USE(tmp5);
1899 4 : tmp5 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).UnsafeCast5ATSmi(compiler::TNode<Context>{tmp3}, compiler::TNode<Object>{tmp4}));
1900 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 214);
1901 4 : compiler::TNode<Smi> tmp6;
1902 4 : tmp6 = TORQUE_CAST(CodeStubAssembler(state_).CallBuiltin(Builtins::kTestHelperPlus1, tmp3, tmp5));
1903 4 : USE(tmp6);
1904 4 : compiler::TNode<Smi> tmp7;
1905 4 : USE(tmp7);
1906 4 : tmp7 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(11));
1907 4 : compiler::TNode<BoolT> tmp8;
1908 4 : USE(tmp8);
1909 4 : tmp8 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp6}, compiler::TNode<Smi>{tmp7}));
1910 4 : ca_.Branch(tmp8, &block4, &block5, tmp3, tmp4, tmp5);
1911 : }
1912 :
1913 4 : if (block5.is_used()) {
1914 4 : compiler::TNode<Context> tmp9;
1915 4 : compiler::TNode<Number> tmp10;
1916 4 : compiler::TNode<Smi> tmp11;
1917 4 : ca_.Bind(&block5, &tmp9, &tmp10, &tmp11);
1918 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestHelperPlus1(context, m) == 11\' failed", "../../test/torque/test-torque.tq", 214);
1919 : }
1920 :
1921 4 : if (block4.is_used()) {
1922 4 : compiler::TNode<Context> tmp12;
1923 4 : compiler::TNode<Number> tmp13;
1924 4 : compiler::TNode<Smi> tmp14;
1925 4 : ca_.Bind(&block4, &tmp12, &tmp13, &tmp14);
1926 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 215);
1927 4 : compiler::TNode<Oddball> tmp15;
1928 4 : USE(tmp15);
1929 4 : tmp15 = BaseBuiltinsFromDSLAssembler(state_).True();
1930 4 : ca_.Goto(&block1, tmp12, tmp13, tmp15);
1931 : }
1932 :
1933 4 : if (block3.is_used()) {
1934 4 : compiler::TNode<Context> tmp16;
1935 4 : compiler::TNode<Number> tmp17;
1936 4 : ca_.Bind(&block3, &tmp16, &tmp17);
1937 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 217);
1938 4 : compiler::TNode<Oddball> tmp18;
1939 4 : USE(tmp18);
1940 4 : tmp18 = BaseBuiltinsFromDSLAssembler(state_).False();
1941 4 : ca_.Goto(&block1, tmp16, tmp17, tmp18);
1942 : }
1943 :
1944 4 : if (block1.is_used()) {
1945 4 : compiler::TNode<Context> tmp19;
1946 4 : compiler::TNode<Number> tmp20;
1947 4 : compiler::TNode<Oddball> tmp21;
1948 4 : ca_.Bind(&block1, &tmp19, &tmp20, &tmp21);
1949 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 210);
1950 4 : ca_.Goto(&block6, tmp19, tmp20, tmp21);
1951 : }
1952 :
1953 4 : compiler::TNode<Context> tmp22;
1954 4 : compiler::TNode<Number> tmp23;
1955 4 : compiler::TNode<Oddball> tmp24;
1956 4 : ca_.Bind(&block6, &tmp22, &tmp23, &tmp24);
1957 8 : return compiler::TNode<Oddball>{tmp24};
1958 : }
1959 :
1960 4 : void TestBuiltinsFromDSLAssembler::TestHexLiteral() {
1961 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1962 8 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1963 8 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1964 8 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
1965 8 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1966 8 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1967 8 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
1968 4 : ca_.Goto(&block0);
1969 :
1970 4 : if (block0.is_used()) {
1971 4 : ca_.Bind(&block0);
1972 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 221);
1973 4 : compiler::TNode<IntPtrT> tmp0;
1974 4 : USE(tmp0);
1975 4 : tmp0 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).Convert8ATintptr17ATconstexpr_int31(0xffff));
1976 4 : compiler::TNode<IntPtrT> tmp1;
1977 4 : USE(tmp1);
1978 4 : tmp1 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(1));
1979 4 : compiler::TNode<IntPtrT> tmp2;
1980 4 : USE(tmp2);
1981 4 : tmp2 = ca_.UncheckedCast<IntPtrT>(CodeStubAssembler(state_).IntPtrAdd(compiler::TNode<IntPtrT>{tmp0}, compiler::TNode<IntPtrT>{tmp1}));
1982 4 : compiler::TNode<IntPtrT> tmp3;
1983 4 : USE(tmp3);
1984 4 : tmp3 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(0x10000));
1985 4 : compiler::TNode<BoolT> tmp4;
1986 4 : USE(tmp4);
1987 4 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<IntPtrT>{tmp2}, compiler::TNode<IntPtrT>{tmp3}));
1988 4 : ca_.Branch(tmp4, &block2, &block3);
1989 : }
1990 :
1991 4 : if (block3.is_used()) {
1992 4 : ca_.Bind(&block3);
1993 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'Convert<intptr>(0xffff) + 1 == 0x10000\' failed", "../../test/torque/test-torque.tq", 221);
1994 : }
1995 :
1996 4 : if (block2.is_used()) {
1997 4 : ca_.Bind(&block2);
1998 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 222);
1999 4 : compiler::TNode<IntPtrT> tmp5;
2000 4 : USE(tmp5);
2001 4 : tmp5 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).Convert8ATintptr17ATconstexpr_int31(-0xffff));
2002 4 : compiler::TNode<IntPtrT> tmp6;
2003 4 : USE(tmp6);
2004 4 : tmp6 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(-65535));
2005 4 : compiler::TNode<BoolT> tmp7;
2006 4 : USE(tmp7);
2007 4 : tmp7 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<IntPtrT>{tmp5}, compiler::TNode<IntPtrT>{tmp6}));
2008 4 : ca_.Branch(tmp7, &block4, &block5);
2009 : }
2010 :
2011 4 : if (block5.is_used()) {
2012 4 : ca_.Bind(&block5);
2013 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'Convert<intptr>(-0xffff) == -65535\' failed", "../../test/torque/test-torque.tq", 222);
2014 : }
2015 :
2016 4 : if (block4.is_used()) {
2017 4 : ca_.Bind(&block4);
2018 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 220);
2019 4 : ca_.Goto(&block1);
2020 : }
2021 :
2022 4 : if (block1.is_used()) {
2023 4 : ca_.Bind(&block1);
2024 4 : ca_.Goto(&block6);
2025 : }
2026 :
2027 8 : ca_.Bind(&block6);
2028 4 : }
2029 :
2030 0 : void TestBuiltinsFromDSLAssembler::TestLargeIntegerLiterals(compiler::TNode<Context> p_c) {
2031 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2032 0 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2033 0 : compiler::CodeAssemblerParameterizedLabel<Context> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2034 0 : ca_.Goto(&block0, p_c);
2035 :
2036 0 : if (block0.is_used()) {
2037 0 : compiler::TNode<Context> tmp0;
2038 0 : ca_.Bind(&block0, &tmp0);
2039 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 226);
2040 0 : compiler::TNode<Int32T> tmp1;
2041 0 : USE(tmp1);
2042 0 : tmp1 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int32(0x40000000));
2043 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 227);
2044 0 : compiler::TNode<Int32T> tmp2;
2045 0 : USE(tmp2);
2046 0 : tmp2 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int32(0x7fffffff));
2047 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 225);
2048 0 : ca_.Goto(&block1, tmp0);
2049 : }
2050 :
2051 0 : if (block1.is_used()) {
2052 0 : compiler::TNode<Context> tmp3;
2053 0 : ca_.Bind(&block1, &tmp3);
2054 0 : ca_.Goto(&block2, tmp3);
2055 : }
2056 :
2057 0 : compiler::TNode<Context> tmp4;
2058 0 : ca_.Bind(&block2, &tmp4);
2059 0 : }
2060 :
2061 0 : void TestBuiltinsFromDSLAssembler::TestMultilineAssert() {
2062 0 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2063 0 : compiler::CodeAssemblerParameterizedLabel<Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2064 0 : compiler::CodeAssemblerParameterizedLabel<Smi> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2065 0 : compiler::CodeAssemblerParameterizedLabel<Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2066 0 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2067 0 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2068 0 : ca_.Goto(&block0);
2069 :
2070 0 : if (block0.is_used()) {
2071 0 : ca_.Bind(&block0);
2072 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 231);
2073 0 : compiler::TNode<Smi> tmp0;
2074 0 : USE(tmp0);
2075 0 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
2076 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 233);
2077 0 : compiler::TNode<Smi> tmp1;
2078 0 : USE(tmp1);
2079 0 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2080 0 : compiler::TNode<BoolT> tmp2;
2081 0 : USE(tmp2);
2082 0 : tmp2 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiGreaterThan(compiler::TNode<Smi>{tmp0}, compiler::TNode<Smi>{tmp1}));
2083 0 : ca_.Branch(tmp2, &block4, &block3, tmp0);
2084 : }
2085 :
2086 0 : if (block4.is_used()) {
2087 0 : compiler::TNode<Smi> tmp3;
2088 0 : ca_.Bind(&block4, &tmp3);
2089 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 234);
2090 0 : compiler::TNode<Smi> tmp4;
2091 0 : USE(tmp4);
2092 0 : tmp4 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
2093 0 : compiler::TNode<BoolT> tmp5;
2094 0 : USE(tmp5);
2095 0 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp3}, compiler::TNode<Smi>{tmp4}));
2096 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 233);
2097 0 : ca_.Branch(tmp5, &block2, &block3, tmp3);
2098 : }
2099 :
2100 0 : if (block3.is_used()) {
2101 0 : compiler::TNode<Smi> tmp6;
2102 0 : ca_.Bind(&block3, &tmp6);
2103 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 232);
2104 0 : CodeStubAssembler(state_).FailAssert("Torque assert \'someVeryLongVariableNameThatWillCauseLineBreaks > 0 && someVeryLongVariableNameThatWillCauseLineBreaks < 10\' failed", "../../test/torque/test-torque.tq", 232);
2105 : }
2106 :
2107 0 : if (block2.is_used()) {
2108 0 : compiler::TNode<Smi> tmp7;
2109 0 : ca_.Bind(&block2, &tmp7);
2110 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 230);
2111 0 : ca_.Goto(&block1);
2112 : }
2113 :
2114 0 : if (block1.is_used()) {
2115 0 : ca_.Bind(&block1);
2116 0 : ca_.Goto(&block5);
2117 : }
2118 :
2119 0 : ca_.Bind(&block5);
2120 0 : }
2121 :
2122 0 : void TestBuiltinsFromDSLAssembler::TestNewlineInString() {
2123 0 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2124 0 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2125 0 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2126 0 : ca_.Goto(&block0);
2127 :
2128 0 : if (block0.is_used()) {
2129 0 : ca_.Bind(&block0);
2130 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 238);
2131 0 : CodeStubAssembler(state_).Print("Hello, World!\n");
2132 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 237);
2133 0 : ca_.Goto(&block1);
2134 : }
2135 :
2136 0 : if (block1.is_used()) {
2137 0 : ca_.Bind(&block1);
2138 0 : ca_.Goto(&block2);
2139 : }
2140 :
2141 0 : ca_.Bind(&block2);
2142 0 : }
2143 :
2144 4 : int31_t TestBuiltinsFromDSLAssembler::kConstexprConst() {
2145 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2146 4 : ca_.Goto(&block0);
2147 :
2148 4 : ca_.Bind(&block0);
2149 4 : return 5;
2150 : }
2151 :
2152 4 : compiler::TNode<IntPtrT> TestBuiltinsFromDSLAssembler::kIntptrConst() {
2153 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2154 4 : ca_.Goto(&block0);
2155 :
2156 4 : ca_.Bind(&block0);
2157 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 242);
2158 4 : compiler::TNode<IntPtrT> tmp0;
2159 4 : USE(tmp0);
2160 4 : tmp0 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(4));
2161 4 : return compiler::TNode<IntPtrT>{tmp0};
2162 : }
2163 :
2164 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::kSmiConst() {
2165 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2166 4 : ca_.Goto(&block0);
2167 :
2168 4 : ca_.Bind(&block0);
2169 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 243);
2170 4 : compiler::TNode<Smi> tmp0;
2171 4 : USE(tmp0);
2172 4 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2173 4 : return compiler::TNode<Smi>{tmp0};
2174 : }
2175 :
2176 4 : void TestBuiltinsFromDSLAssembler::TestModuleConstBindings() {
2177 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2178 8 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2179 8 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2180 8 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2181 8 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2182 8 : compiler::CodeAssemblerParameterizedLabel<> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2183 8 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2184 8 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2185 8 : compiler::CodeAssemblerParameterizedLabel<> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2186 4 : ca_.Goto(&block0);
2187 :
2188 4 : if (block0.is_used()) {
2189 4 : ca_.Bind(&block0);
2190 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 246);
2191 4 : compiler::TNode<Int32T> tmp0;
2192 4 : USE(tmp0);
2193 4 : tmp0 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Constant(5));
2194 4 : compiler::TNode<Int32T> tmp1;
2195 4 : USE(tmp1);
2196 4 : tmp1 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(TestBuiltinsFromDSLAssembler(state_).kConstexprConst()));
2197 4 : compiler::TNode<BoolT> tmp2;
2198 4 : USE(tmp2);
2199 4 : tmp2 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32Equal(compiler::TNode<Int32T>{tmp1}, compiler::TNode<Int32T>{tmp0}));
2200 4 : ca_.Branch(tmp2, &block2, &block3);
2201 : }
2202 :
2203 4 : if (block3.is_used()) {
2204 4 : ca_.Bind(&block3);
2205 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'kConstexprConst == Int32Constant(5)\' failed", "../../test/torque/test-torque.tq", 246);
2206 : }
2207 :
2208 4 : if (block2.is_used()) {
2209 4 : ca_.Bind(&block2);
2210 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 247);
2211 4 : compiler::TNode<IntPtrT> tmp3;
2212 4 : USE(tmp3);
2213 4 : tmp3 = TestBuiltinsFromDSLAssembler(state_).kIntptrConst();
2214 4 : compiler::TNode<IntPtrT> tmp4;
2215 4 : USE(tmp4);
2216 4 : tmp4 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(4));
2217 4 : compiler::TNode<BoolT> tmp5;
2218 4 : USE(tmp5);
2219 4 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).WordEqual(compiler::TNode<IntPtrT>{tmp3}, compiler::TNode<IntPtrT>{tmp4}));
2220 4 : ca_.Branch(tmp5, &block4, &block5);
2221 : }
2222 :
2223 4 : if (block5.is_used()) {
2224 4 : ca_.Bind(&block5);
2225 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'kIntptrConst == 4\' failed", "../../test/torque/test-torque.tq", 247);
2226 : }
2227 :
2228 4 : if (block4.is_used()) {
2229 4 : ca_.Bind(&block4);
2230 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 248);
2231 4 : compiler::TNode<Smi> tmp6;
2232 4 : USE(tmp6);
2233 4 : tmp6 = TestBuiltinsFromDSLAssembler(state_).kSmiConst();
2234 4 : compiler::TNode<Smi> tmp7;
2235 4 : USE(tmp7);
2236 4 : tmp7 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2237 4 : compiler::TNode<BoolT> tmp8;
2238 4 : USE(tmp8);
2239 4 : tmp8 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp6}, compiler::TNode<Smi>{tmp7}));
2240 4 : ca_.Branch(tmp8, &block6, &block7);
2241 : }
2242 :
2243 4 : if (block7.is_used()) {
2244 4 : ca_.Bind(&block7);
2245 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'kSmiConst == 3\' failed", "../../test/torque/test-torque.tq", 248);
2246 : }
2247 :
2248 4 : if (block6.is_used()) {
2249 4 : ca_.Bind(&block6);
2250 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 245);
2251 4 : ca_.Goto(&block1);
2252 : }
2253 :
2254 4 : if (block1.is_used()) {
2255 4 : ca_.Bind(&block1);
2256 4 : ca_.Goto(&block8);
2257 : }
2258 :
2259 8 : ca_.Bind(&block8);
2260 4 : }
2261 :
2262 4 : void TestBuiltinsFromDSLAssembler::TestLocalConstBindings() {
2263 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2264 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2265 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2266 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2267 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2268 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2269 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2270 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2271 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2272 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block11(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2273 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2274 8 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2275 8 : compiler::CodeAssemblerParameterizedLabel<> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2276 4 : ca_.Goto(&block0);
2277 :
2278 4 : if (block0.is_used()) {
2279 4 : ca_.Bind(&block0);
2280 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 253);
2281 4 : compiler::TNode<Smi> tmp0;
2282 4 : USE(tmp0);
2283 4 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2284 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 255);
2285 4 : compiler::TNode<Smi> tmp1;
2286 4 : USE(tmp1);
2287 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
2288 4 : compiler::TNode<Smi> tmp2;
2289 4 : USE(tmp2);
2290 4 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2291 4 : compiler::TNode<Smi> tmp3;
2292 4 : USE(tmp3);
2293 4 : tmp3 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp2}, compiler::TNode<Smi>{tmp1}));
2294 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 256);
2295 4 : compiler::TNode<Smi> tmp4;
2296 4 : USE(tmp4);
2297 4 : tmp4 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
2298 4 : compiler::TNode<Smi> tmp5;
2299 4 : USE(tmp5);
2300 4 : tmp5 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp0}, compiler::TNode<Smi>{tmp4}));
2301 4 : compiler::TNode<BoolT> tmp6;
2302 4 : USE(tmp6);
2303 4 : tmp6 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp3}, compiler::TNode<Smi>{tmp5}));
2304 4 : ca_.Branch(tmp6, &block2, &block3, tmp0, tmp3);
2305 : }
2306 :
2307 4 : if (block3.is_used()) {
2308 4 : compiler::TNode<Smi> tmp7;
2309 4 : compiler::TNode<Smi> tmp8;
2310 4 : ca_.Bind(&block3, &tmp7, &tmp8);
2311 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'x == xSmi + 1\' failed", "../../test/torque/test-torque.tq", 256);
2312 : }
2313 :
2314 4 : if (block2.is_used()) {
2315 4 : compiler::TNode<Smi> tmp9;
2316 4 : compiler::TNode<Smi> tmp10;
2317 4 : ca_.Bind(&block2, &tmp9, &tmp10);
2318 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 257);
2319 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 258);
2320 4 : compiler::TNode<BoolT> tmp11;
2321 4 : USE(tmp11);
2322 4 : tmp11 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp10}, compiler::TNode<Smi>{tmp10}));
2323 4 : ca_.Branch(tmp11, &block4, &block5, tmp9, tmp10, tmp10);
2324 : }
2325 :
2326 4 : if (block5.is_used()) {
2327 4 : compiler::TNode<Smi> tmp12;
2328 4 : compiler::TNode<Smi> tmp13;
2329 4 : compiler::TNode<Smi> tmp14;
2330 4 : ca_.Bind(&block5, &tmp12, &tmp13, &tmp14);
2331 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'x == xSmi\' failed", "../../test/torque/test-torque.tq", 258);
2332 : }
2333 :
2334 4 : if (block4.is_used()) {
2335 4 : compiler::TNode<Smi> tmp15;
2336 4 : compiler::TNode<Smi> tmp16;
2337 4 : compiler::TNode<Smi> tmp17;
2338 4 : ca_.Bind(&block4, &tmp15, &tmp16, &tmp17);
2339 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 259);
2340 4 : compiler::TNode<Smi> tmp18;
2341 4 : USE(tmp18);
2342 4 : tmp18 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(4));
2343 4 : compiler::TNode<BoolT> tmp19;
2344 4 : USE(tmp19);
2345 4 : tmp19 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp16}, compiler::TNode<Smi>{tmp18}));
2346 4 : ca_.Branch(tmp19, &block6, &block7, tmp15, tmp16, tmp17);
2347 : }
2348 :
2349 4 : if (block7.is_used()) {
2350 4 : compiler::TNode<Smi> tmp20;
2351 4 : compiler::TNode<Smi> tmp21;
2352 4 : compiler::TNode<Smi> tmp22;
2353 4 : ca_.Bind(&block7, &tmp20, &tmp21, &tmp22);
2354 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'x == 4\' failed", "../../test/torque/test-torque.tq", 259);
2355 : }
2356 :
2357 4 : if (block6.is_used()) {
2358 4 : compiler::TNode<Smi> tmp23;
2359 4 : compiler::TNode<Smi> tmp24;
2360 4 : compiler::TNode<Smi> tmp25;
2361 4 : ca_.Bind(&block6, &tmp23, &tmp24, &tmp25);
2362 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 254);
2363 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 261);
2364 4 : compiler::TNode<Smi> tmp26;
2365 4 : USE(tmp26);
2366 4 : tmp26 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2367 4 : compiler::TNode<BoolT> tmp27;
2368 4 : USE(tmp27);
2369 4 : tmp27 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp23}, compiler::TNode<Smi>{tmp26}));
2370 4 : ca_.Branch(tmp27, &block8, &block9, tmp23);
2371 : }
2372 :
2373 4 : if (block9.is_used()) {
2374 4 : compiler::TNode<Smi> tmp28;
2375 4 : ca_.Bind(&block9, &tmp28);
2376 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'xSmi == 3\' failed", "../../test/torque/test-torque.tq", 261);
2377 : }
2378 :
2379 4 : if (block8.is_used()) {
2380 4 : compiler::TNode<Smi> tmp29;
2381 4 : ca_.Bind(&block8, &tmp29);
2382 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 262);
2383 4 : compiler::TNode<Smi> tmp30;
2384 4 : USE(tmp30);
2385 4 : tmp30 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
2386 4 : compiler::TNode<BoolT> tmp31;
2387 4 : USE(tmp31);
2388 4 : tmp31 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp30}, compiler::TNode<Smi>{tmp29}));
2389 4 : ca_.Branch(tmp31, &block10, &block11, tmp29);
2390 : }
2391 :
2392 4 : if (block11.is_used()) {
2393 4 : compiler::TNode<Smi> tmp32;
2394 4 : ca_.Bind(&block11, &tmp32);
2395 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'x == xSmi\' failed", "../../test/torque/test-torque.tq", 262);
2396 : }
2397 :
2398 4 : if (block10.is_used()) {
2399 4 : compiler::TNode<Smi> tmp33;
2400 4 : ca_.Bind(&block10, &tmp33);
2401 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 251);
2402 4 : ca_.Goto(&block1);
2403 : }
2404 :
2405 4 : if (block1.is_used()) {
2406 4 : ca_.Bind(&block1);
2407 4 : ca_.Goto(&block12);
2408 : }
2409 :
2410 8 : ca_.Bind(&block12);
2411 4 : }
2412 :
2413 0 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestStruct1(TestBuiltinsFromDSLAssembler::TestStructA p_i) {
2414 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi, Number> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2415 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi, Number, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2416 0 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi, Number, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2417 0 : ca_.Goto(&block0, p_i.indexes, p_i.i, p_i.k);
2418 :
2419 0 : if (block0.is_used()) {
2420 0 : compiler::TNode<FixedArray> tmp0;
2421 0 : compiler::TNode<Smi> tmp1;
2422 0 : compiler::TNode<Number> tmp2;
2423 0 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
2424 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 277);
2425 0 : ca_.Goto(&block1, tmp0, tmp1, tmp2, tmp1);
2426 : }
2427 :
2428 0 : if (block1.is_used()) {
2429 0 : compiler::TNode<FixedArray> tmp3;
2430 0 : compiler::TNode<Smi> tmp4;
2431 0 : compiler::TNode<Number> tmp5;
2432 0 : compiler::TNode<Smi> tmp6;
2433 0 : ca_.Bind(&block1, &tmp3, &tmp4, &tmp5, &tmp6);
2434 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 276);
2435 0 : ca_.Goto(&block2, tmp3, tmp4, tmp5, tmp6);
2436 : }
2437 :
2438 0 : compiler::TNode<FixedArray> tmp7;
2439 0 : compiler::TNode<Smi> tmp8;
2440 0 : compiler::TNode<Number> tmp9;
2441 0 : compiler::TNode<Smi> tmp10;
2442 0 : ca_.Bind(&block2, &tmp7, &tmp8, &tmp9, &tmp10);
2443 0 : return compiler::TNode<Smi>{tmp10};
2444 : }
2445 :
2446 0 : TestBuiltinsFromDSLAssembler::TestStructA TestBuiltinsFromDSLAssembler::TestStruct2(compiler::TNode<Context> p_context) {
2447 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2448 0 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number, FixedArray, FixedArray, Smi, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2449 0 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2450 0 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2451 0 : ca_.Goto(&block0, p_context);
2452 :
2453 0 : if (block0.is_used()) {
2454 0 : compiler::TNode<Context> tmp0;
2455 0 : ca_.Bind(&block0, &tmp0);
2456 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 281);
2457 0 : compiler::TNode<FixedArray> tmp1;
2458 0 : USE(tmp1);
2459 0 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).kEmptyFixedArray();
2460 0 : compiler::TNode<FixedArray> tmp2;
2461 0 : USE(tmp2);
2462 0 : tmp2 = ca_.UncheckedCast<FixedArray>(BaseBuiltinsFromDSLAssembler(state_).UnsafeCast10FixedArray(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}));
2463 0 : compiler::TNode<Smi> tmp3;
2464 0 : USE(tmp3);
2465 0 : tmp3 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(27));
2466 0 : compiler::TNode<Number> tmp4;
2467 0 : USE(tmp4);
2468 0 : tmp4 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr22UT12ATHeapNumber5ATSmi17ATconstexpr_int31(31));
2469 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 265);
2470 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 281);
2471 0 : ca_.Goto(&block2, tmp0, tmp2, tmp3, tmp4, tmp2, tmp2, tmp3, tmp4);
2472 : }
2473 :
2474 0 : if (block2.is_used()) {
2475 0 : compiler::TNode<Context> tmp5;
2476 0 : compiler::TNode<FixedArray> tmp6;
2477 0 : compiler::TNode<Smi> tmp7;
2478 0 : compiler::TNode<Number> tmp8;
2479 0 : compiler::TNode<FixedArray> tmp9;
2480 0 : compiler::TNode<FixedArray> tmp10;
2481 0 : compiler::TNode<Smi> tmp11;
2482 0 : compiler::TNode<Number> tmp12;
2483 0 : ca_.Bind(&block2, &tmp5, &tmp6, &tmp7, &tmp8, &tmp9, &tmp10, &tmp11, &tmp12);
2484 0 : ca_.Goto(&block1, tmp5, tmp6, tmp7, tmp8);
2485 : }
2486 :
2487 0 : if (block1.is_used()) {
2488 0 : compiler::TNode<Context> tmp13;
2489 0 : compiler::TNode<FixedArray> tmp14;
2490 0 : compiler::TNode<Smi> tmp15;
2491 0 : compiler::TNode<Number> tmp16;
2492 0 : ca_.Bind(&block1, &tmp13, &tmp14, &tmp15, &tmp16);
2493 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 280);
2494 0 : ca_.Goto(&block3, tmp13, tmp14, tmp15, tmp16);
2495 : }
2496 :
2497 0 : compiler::TNode<Context> tmp17;
2498 0 : compiler::TNode<FixedArray> tmp18;
2499 0 : compiler::TNode<Smi> tmp19;
2500 0 : compiler::TNode<Number> tmp20;
2501 0 : ca_.Bind(&block3, &tmp17, &tmp18, &tmp19, &tmp20);
2502 0 : return TestBuiltinsFromDSLAssembler::TestStructA{compiler::TNode<FixedArray>{tmp18}, compiler::TNode<Smi>{tmp19}, compiler::TNode<Number>{tmp20}};
2503 : }
2504 :
2505 0 : TestBuiltinsFromDSLAssembler::TestStructA TestBuiltinsFromDSLAssembler::TestStruct3(compiler::TNode<Context> p_context) {
2506 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2507 0 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number, FixedArray, FixedArray, Smi, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2508 0 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number, FixedArray, Smi, Number, FixedArray, Smi, Number, FixedArray, Smi, Number, Smi, FixedArray, Smi, Number, Smi, FixedArray, Smi, Number, FixedArray, Smi, Number, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2509 0 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number, FixedArray, Smi, Number, FixedArray, Smi, Number, FixedArray, Smi, Number, Smi, FixedArray, Smi, Number, FixedArray, Smi, Number, FixedArray, FixedArray, Smi, Number> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2510 0 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2511 0 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2512 0 : ca_.Goto(&block0, p_context);
2513 :
2514 0 : if (block0.is_used()) {
2515 0 : compiler::TNode<Context> tmp0;
2516 0 : ca_.Bind(&block0, &tmp0);
2517 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 286);
2518 0 : compiler::TNode<FixedArray> tmp1;
2519 0 : USE(tmp1);
2520 0 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).kEmptyFixedArray();
2521 0 : compiler::TNode<FixedArray> tmp2;
2522 0 : USE(tmp2);
2523 0 : tmp2 = ca_.UncheckedCast<FixedArray>(BaseBuiltinsFromDSLAssembler(state_).UnsafeCast10FixedArray(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}));
2524 0 : compiler::TNode<Smi> tmp3;
2525 0 : USE(tmp3);
2526 0 : tmp3 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(13));
2527 0 : compiler::TNode<Number> tmp4;
2528 0 : USE(tmp4);
2529 0 : tmp4 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr22UT12ATHeapNumber5ATSmi17ATconstexpr_int31(5));
2530 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 265);
2531 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 286);
2532 0 : ca_.Goto(&block2, tmp0, tmp2, tmp3, tmp4, tmp2, tmp2, tmp3, tmp4);
2533 : }
2534 :
2535 0 : if (block2.is_used()) {
2536 0 : compiler::TNode<Context> tmp5;
2537 0 : compiler::TNode<FixedArray> tmp6;
2538 0 : compiler::TNode<Smi> tmp7;
2539 0 : compiler::TNode<Number> tmp8;
2540 0 : compiler::TNode<FixedArray> tmp9;
2541 0 : compiler::TNode<FixedArray> tmp10;
2542 0 : compiler::TNode<Smi> tmp11;
2543 0 : compiler::TNode<Number> tmp12;
2544 0 : ca_.Bind(&block2, &tmp5, &tmp6, &tmp7, &tmp8, &tmp9, &tmp10, &tmp11, &tmp12);
2545 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 285);
2546 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 287);
2547 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 288);
2548 0 : compiler::TNode<FixedArray> tmp13;
2549 0 : USE(tmp13);
2550 0 : compiler::TNode<Smi> tmp14;
2551 0 : USE(tmp14);
2552 0 : compiler::TNode<Number> tmp15;
2553 0 : USE(tmp15);
2554 0 : std::tie(tmp13, tmp14, tmp15) = TestBuiltinsFromDSLAssembler(state_).TestStruct2(compiler::TNode<Context>{tmp5}).Flatten();
2555 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 289);
2556 0 : compiler::TNode<Smi> tmp16;
2557 0 : USE(tmp16);
2558 0 : tmp16 = ca_.UncheckedCast<Smi>(TestBuiltinsFromDSLAssembler(state_).TestStruct1(TestBuiltinsFromDSLAssembler::TestStructA{compiler::TNode<FixedArray>{tmp13}, compiler::TNode<Smi>{tmp14}, compiler::TNode<Number>{tmp15}}));
2559 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 290);
2560 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 291);
2561 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 292);
2562 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 293);
2563 0 : compiler::TNode<Smi> tmp17;
2564 0 : USE(tmp17);
2565 0 : tmp17 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
2566 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 271);
2567 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 293);
2568 0 : ca_.Goto(&block3, tmp5, tmp6, tmp16, tmp16, tmp6, tmp7, tmp8, tmp13, tmp14, tmp15, tmp6, tmp16, tmp16, ca_.Uninitialized<Smi>(), tmp6, tmp16, tmp16, tmp17, tmp6, tmp16, tmp16, tmp6, tmp16, tmp16, tmp17);
2569 : }
2570 :
2571 0 : if (block3.is_used()) {
2572 0 : compiler::TNode<Context> tmp18;
2573 0 : compiler::TNode<FixedArray> tmp19;
2574 0 : compiler::TNode<Smi> tmp20;
2575 0 : compiler::TNode<Number> tmp21;
2576 0 : compiler::TNode<FixedArray> tmp22;
2577 0 : compiler::TNode<Smi> tmp23;
2578 0 : compiler::TNode<Number> tmp24;
2579 0 : compiler::TNode<FixedArray> tmp25;
2580 0 : compiler::TNode<Smi> tmp26;
2581 0 : compiler::TNode<Number> tmp27;
2582 0 : compiler::TNode<FixedArray> tmp28;
2583 0 : compiler::TNode<Smi> tmp29;
2584 0 : compiler::TNode<Number> tmp30;
2585 0 : compiler::TNode<Smi> tmp31;
2586 0 : compiler::TNode<FixedArray> tmp32;
2587 0 : compiler::TNode<Smi> tmp33;
2588 0 : compiler::TNode<Number> tmp34;
2589 0 : compiler::TNode<Smi> tmp35;
2590 0 : compiler::TNode<FixedArray> tmp36;
2591 0 : compiler::TNode<Smi> tmp37;
2592 0 : compiler::TNode<Number> tmp38;
2593 0 : compiler::TNode<FixedArray> tmp39;
2594 0 : compiler::TNode<Smi> tmp40;
2595 0 : compiler::TNode<Number> tmp41;
2596 0 : compiler::TNode<Smi> tmp42;
2597 0 : ca_.Bind(&block3, &tmp18, &tmp19, &tmp20, &tmp21, &tmp22, &tmp23, &tmp24, &tmp25, &tmp26, &tmp27, &tmp28, &tmp29, &tmp30, &tmp31, &tmp32, &tmp33, &tmp34, &tmp35, &tmp36, &tmp37, &tmp38, &tmp39, &tmp40, &tmp41, &tmp42);
2598 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 294);
2599 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 296);
2600 0 : compiler::TNode<FixedArray> tmp43;
2601 0 : USE(tmp43);
2602 0 : tmp43 = BaseBuiltinsFromDSLAssembler(state_).kEmptyFixedArray();
2603 0 : compiler::TNode<FixedArray> tmp44;
2604 0 : USE(tmp44);
2605 0 : tmp44 = ca_.UncheckedCast<FixedArray>(BaseBuiltinsFromDSLAssembler(state_).UnsafeCast10FixedArray(compiler::TNode<Context>{tmp18}, compiler::TNode<Object>{tmp43}));
2606 0 : compiler::TNode<Smi> tmp45;
2607 0 : USE(tmp45);
2608 0 : tmp45 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(27));
2609 0 : compiler::TNode<Number> tmp46;
2610 0 : USE(tmp46);
2611 0 : tmp46 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr22UT12ATHeapNumber5ATSmi17ATconstexpr_int31(31));
2612 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 265);
2613 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 296);
2614 0 : ca_.Goto(&block4, tmp18, tmp19, tmp20, tmp21, tmp22, tmp23, tmp24, tmp25, tmp26, tmp27, tmp32, tmp33, tmp34, tmp35, tmp32, tmp33, tmp34, tmp44, tmp45, tmp46, tmp44, tmp44, tmp45, tmp46);
2615 : }
2616 :
2617 0 : if (block4.is_used()) {
2618 0 : compiler::TNode<Context> tmp47;
2619 0 : compiler::TNode<FixedArray> tmp48;
2620 0 : compiler::TNode<Smi> tmp49;
2621 0 : compiler::TNode<Number> tmp50;
2622 0 : compiler::TNode<FixedArray> tmp51;
2623 0 : compiler::TNode<Smi> tmp52;
2624 0 : compiler::TNode<Number> tmp53;
2625 0 : compiler::TNode<FixedArray> tmp54;
2626 0 : compiler::TNode<Smi> tmp55;
2627 0 : compiler::TNode<Number> tmp56;
2628 0 : compiler::TNode<FixedArray> tmp57;
2629 0 : compiler::TNode<Smi> tmp58;
2630 0 : compiler::TNode<Number> tmp59;
2631 0 : compiler::TNode<Smi> tmp60;
2632 0 : compiler::TNode<FixedArray> tmp61;
2633 0 : compiler::TNode<Smi> tmp62;
2634 0 : compiler::TNode<Number> tmp63;
2635 0 : compiler::TNode<FixedArray> tmp64;
2636 0 : compiler::TNode<Smi> tmp65;
2637 0 : compiler::TNode<Number> tmp66;
2638 0 : compiler::TNode<FixedArray> tmp67;
2639 0 : compiler::TNode<FixedArray> tmp68;
2640 0 : compiler::TNode<Smi> tmp69;
2641 0 : compiler::TNode<Number> tmp70;
2642 0 : ca_.Bind(&block4, &tmp47, &tmp48, &tmp49, &tmp50, &tmp51, &tmp52, &tmp53, &tmp54, &tmp55, &tmp56, &tmp57, &tmp58, &tmp59, &tmp60, &tmp61, &tmp62, &tmp63, &tmp64, &tmp65, &tmp66, &tmp67, &tmp68, &tmp69, &tmp70);
2643 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 295);
2644 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 297);
2645 0 : compiler::TNode<FixedArray> tmp71;
2646 0 : USE(tmp71);
2647 0 : compiler::TNode<Smi> tmp72;
2648 0 : USE(tmp72);
2649 0 : compiler::TNode<Number> tmp73;
2650 0 : USE(tmp73);
2651 0 : std::tie(tmp71, tmp72, tmp73) = TestBuiltinsFromDSLAssembler(state_).TestStruct2(compiler::TNode<Context>{tmp47}).Flatten();
2652 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 298);
2653 0 : ca_.Goto(&block1, tmp47, tmp48, tmp49, tmp50);
2654 : }
2655 :
2656 0 : if (block1.is_used()) {
2657 0 : compiler::TNode<Context> tmp74;
2658 0 : compiler::TNode<FixedArray> tmp75;
2659 0 : compiler::TNode<Smi> tmp76;
2660 0 : compiler::TNode<Number> tmp77;
2661 0 : ca_.Bind(&block1, &tmp74, &tmp75, &tmp76, &tmp77);
2662 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 284);
2663 0 : ca_.Goto(&block5, tmp74, tmp75, tmp76, tmp77);
2664 : }
2665 :
2666 0 : compiler::TNode<Context> tmp78;
2667 0 : compiler::TNode<FixedArray> tmp79;
2668 0 : compiler::TNode<Smi> tmp80;
2669 0 : compiler::TNode<Number> tmp81;
2670 0 : ca_.Bind(&block5, &tmp78, &tmp79, &tmp80, &tmp81);
2671 0 : return TestBuiltinsFromDSLAssembler::TestStructA{compiler::TNode<FixedArray>{tmp79}, compiler::TNode<Smi>{tmp80}, compiler::TNode<Number>{tmp81}};
2672 : }
2673 :
2674 0 : TestBuiltinsFromDSLAssembler::TestStructC TestBuiltinsFromDSLAssembler::TestStruct4(compiler::TNode<Context> p_context) {
2675 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2676 0 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number, FixedArray, Smi, Number, FixedArray, Smi, Number, FixedArray, Smi, Number, FixedArray, Smi, Number, FixedArray, Smi, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2677 0 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number, FixedArray, Smi, Number> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2678 0 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number, FixedArray, Smi, Number> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2679 0 : ca_.Goto(&block0, p_context);
2680 :
2681 0 : if (block0.is_used()) {
2682 0 : compiler::TNode<Context> tmp0;
2683 0 : ca_.Bind(&block0, &tmp0);
2684 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 307);
2685 0 : compiler::TNode<FixedArray> tmp1;
2686 0 : USE(tmp1);
2687 0 : compiler::TNode<Smi> tmp2;
2688 0 : USE(tmp2);
2689 0 : compiler::TNode<Number> tmp3;
2690 0 : USE(tmp3);
2691 0 : std::tie(tmp1, tmp2, tmp3) = TestBuiltinsFromDSLAssembler(state_).TestStruct2(compiler::TNode<Context>{tmp0}).Flatten();
2692 0 : compiler::TNode<FixedArray> tmp4;
2693 0 : USE(tmp4);
2694 0 : compiler::TNode<Smi> tmp5;
2695 0 : USE(tmp5);
2696 0 : compiler::TNode<Number> tmp6;
2697 0 : USE(tmp6);
2698 0 : std::tie(tmp4, tmp5, tmp6) = TestBuiltinsFromDSLAssembler(state_).TestStruct2(compiler::TNode<Context>{tmp0}).Flatten();
2699 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 301);
2700 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 307);
2701 0 : ca_.Goto(&block2, tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6);
2702 : }
2703 :
2704 0 : if (block2.is_used()) {
2705 0 : compiler::TNode<Context> tmp7;
2706 0 : compiler::TNode<FixedArray> tmp8;
2707 0 : compiler::TNode<Smi> tmp9;
2708 0 : compiler::TNode<Number> tmp10;
2709 0 : compiler::TNode<FixedArray> tmp11;
2710 0 : compiler::TNode<Smi> tmp12;
2711 0 : compiler::TNode<Number> tmp13;
2712 0 : compiler::TNode<FixedArray> tmp14;
2713 0 : compiler::TNode<Smi> tmp15;
2714 0 : compiler::TNode<Number> tmp16;
2715 0 : compiler::TNode<FixedArray> tmp17;
2716 0 : compiler::TNode<Smi> tmp18;
2717 0 : compiler::TNode<Number> tmp19;
2718 0 : compiler::TNode<FixedArray> tmp20;
2719 0 : compiler::TNode<Smi> tmp21;
2720 0 : compiler::TNode<Number> tmp22;
2721 0 : compiler::TNode<FixedArray> tmp23;
2722 0 : compiler::TNode<Smi> tmp24;
2723 0 : compiler::TNode<Number> tmp25;
2724 0 : ca_.Bind(&block2, &tmp7, &tmp8, &tmp9, &tmp10, &tmp11, &tmp12, &tmp13, &tmp14, &tmp15, &tmp16, &tmp17, &tmp18, &tmp19, &tmp20, &tmp21, &tmp22, &tmp23, &tmp24, &tmp25);
2725 0 : ca_.Goto(&block1, tmp7, tmp8, tmp9, tmp10, tmp11, tmp12, tmp13);
2726 : }
2727 :
2728 0 : if (block1.is_used()) {
2729 0 : compiler::TNode<Context> tmp26;
2730 0 : compiler::TNode<FixedArray> tmp27;
2731 0 : compiler::TNode<Smi> tmp28;
2732 0 : compiler::TNode<Number> tmp29;
2733 0 : compiler::TNode<FixedArray> tmp30;
2734 0 : compiler::TNode<Smi> tmp31;
2735 0 : compiler::TNode<Number> tmp32;
2736 0 : ca_.Bind(&block1, &tmp26, &tmp27, &tmp28, &tmp29, &tmp30, &tmp31, &tmp32);
2737 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 306);
2738 0 : ca_.Goto(&block3, tmp26, tmp27, tmp28, tmp29, tmp30, tmp31, tmp32);
2739 : }
2740 :
2741 0 : compiler::TNode<Context> tmp33;
2742 0 : compiler::TNode<FixedArray> tmp34;
2743 0 : compiler::TNode<Smi> tmp35;
2744 0 : compiler::TNode<Number> tmp36;
2745 0 : compiler::TNode<FixedArray> tmp37;
2746 0 : compiler::TNode<Smi> tmp38;
2747 0 : compiler::TNode<Number> tmp39;
2748 0 : ca_.Bind(&block3, &tmp33, &tmp34, &tmp35, &tmp36, &tmp37, &tmp38, &tmp39);
2749 0 : return TestBuiltinsFromDSLAssembler::TestStructC{TestBuiltinsFromDSLAssembler::TestStructA{compiler::TNode<FixedArray>{tmp34}, compiler::TNode<Smi>{tmp35}, compiler::TNode<Number>{tmp36}}, TestBuiltinsFromDSLAssembler::TestStructA{compiler::TNode<FixedArray>{tmp37}, compiler::TNode<Smi>{tmp38}, compiler::TNode<Number>{tmp39}}};
2750 : }
2751 :
2752 0 : void TestBuiltinsFromDSLAssembler::CallTestStructInLabel(compiler::TNode<Context> p_context) {
2753 0 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2754 0 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2755 0 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, Smi, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2756 0 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2757 0 : compiler::CodeAssemblerParameterizedLabel<Context> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2758 0 : ca_.Goto(&block0, p_context);
2759 :
2760 0 : if (block0.is_used()) {
2761 0 : compiler::TNode<Context> tmp0;
2762 0 : ca_.Bind(&block0, &tmp0);
2763 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 316);
2764 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 312);
2765 0 : compiler::TNode<FixedArray> tmp1;
2766 0 : USE(tmp1);
2767 0 : compiler::TNode<Smi> tmp2;
2768 0 : USE(tmp2);
2769 0 : compiler::TNode<Number> tmp3;
2770 0 : USE(tmp3);
2771 0 : std::tie(tmp1, tmp2, tmp3) = TestBuiltinsFromDSLAssembler(state_).TestStruct2(compiler::TNode<Context>{tmp0}).Flatten();
2772 0 : ca_.Goto(&block3, tmp0, tmp1, tmp2, tmp3);
2773 : }
2774 :
2775 0 : if (block3.is_used()) {
2776 0 : compiler::TNode<Context> tmp4;
2777 0 : compiler::TNode<FixedArray> tmp5;
2778 0 : compiler::TNode<Smi> tmp6;
2779 0 : compiler::TNode<Number> tmp7;
2780 0 : ca_.Bind(&block3, &tmp4, &tmp5, &tmp6, &tmp7);
2781 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 315);
2782 0 : ca_.Goto(&block2, tmp4, tmp5, tmp6, tmp7);
2783 : }
2784 :
2785 0 : if (block2.is_used()) {
2786 0 : compiler::TNode<Context> tmp8;
2787 0 : compiler::TNode<FixedArray> tmp9;
2788 0 : compiler::TNode<Smi> tmp10;
2789 0 : compiler::TNode<Number> tmp11;
2790 0 : ca_.Bind(&block2, &tmp8, &tmp9, &tmp10, &tmp11);
2791 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 314);
2792 0 : ca_.Goto(&block1, tmp8);
2793 : }
2794 :
2795 0 : if (block1.is_used()) {
2796 0 : compiler::TNode<Context> tmp12;
2797 0 : ca_.Bind(&block1, &tmp12);
2798 0 : ca_.Goto(&block4, tmp12);
2799 : }
2800 :
2801 0 : compiler::TNode<Context> tmp13;
2802 0 : ca_.Bind(&block4, &tmp13);
2803 0 : }
2804 :
2805 4 : void TestBuiltinsFromDSLAssembler::TestForLoop() {
2806 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2807 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2808 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2809 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2810 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2811 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2812 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2813 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2814 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2815 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block11(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2816 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2817 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block13(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2818 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2819 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block16(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2820 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2821 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block15(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2822 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block18(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2823 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block17(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2824 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block21(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2825 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block19(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2826 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block23(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2827 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block24(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2828 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block22(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2829 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block20(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2830 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block26(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2831 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block25(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2832 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block29(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2833 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block27(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2834 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block30(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2835 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block31(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2836 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block28(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2837 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block33(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2838 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block32(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2839 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block36(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2840 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block34(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2841 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block38(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2842 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block39(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2843 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block37(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2844 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block35(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2845 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block41(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2846 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block40(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2847 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block44(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2848 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block42(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2849 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block46(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2850 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block47(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2851 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block45(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2852 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block43(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2853 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block49(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2854 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block48(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2855 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block52(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2856 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block50(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2857 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block53(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2858 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block54(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2859 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block51(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2860 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block56(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2861 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block55(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2862 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block59(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2863 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block57(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2864 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block61(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2865 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block62(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2866 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block63(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2867 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block64(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2868 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block60(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2869 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block58(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2870 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block66(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2871 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block65(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2872 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block69(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2873 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block67(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2874 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block70(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2875 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block71(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2876 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block72(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2877 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block73(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2878 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block68(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2879 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block75(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2880 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block74(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2881 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block80(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2882 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block78(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2883 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block81(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2884 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block82(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2885 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block79(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2886 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block77(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2887 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block84(&ca_, compiler::CodeAssemblerLabel::kDeferred);
2888 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block83(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2889 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block76(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2890 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block87(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2891 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block85(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2892 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block88(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2893 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block86(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2894 8 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2895 8 : compiler::CodeAssemblerParameterizedLabel<> block89(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
2896 4 : ca_.Goto(&block0);
2897 :
2898 4 : if (block0.is_used()) {
2899 4 : ca_.Bind(&block0);
2900 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 324);
2901 4 : compiler::TNode<Smi> tmp0;
2902 4 : USE(tmp0);
2903 4 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2904 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 325);
2905 4 : compiler::TNode<Smi> tmp1;
2906 4 : USE(tmp1);
2907 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2908 4 : ca_.Goto(&block4, tmp0, tmp1);
2909 : }
2910 :
2911 4 : if (block4.is_used()) {
2912 4 : compiler::TNode<Smi> tmp2;
2913 4 : compiler::TNode<Smi> tmp3;
2914 4 : ca_.Bind(&block4, &tmp2, &tmp3);
2915 4 : compiler::TNode<Smi> tmp4;
2916 4 : USE(tmp4);
2917 4 : tmp4 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
2918 4 : compiler::TNode<BoolT> tmp5;
2919 4 : USE(tmp5);
2920 4 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp3}, compiler::TNode<Smi>{tmp4}));
2921 4 : ca_.Branch(tmp5, &block2, &block3, tmp2, tmp3);
2922 : }
2923 :
2924 4 : if (block2.is_used()) {
2925 4 : compiler::TNode<Smi> tmp6;
2926 4 : compiler::TNode<Smi> tmp7;
2927 4 : ca_.Bind(&block2, &tmp6, &tmp7);
2928 4 : compiler::TNode<Smi> tmp8;
2929 4 : USE(tmp8);
2930 4 : tmp8 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp6}, compiler::TNode<Smi>{tmp7}));
2931 4 : ca_.Goto(&block5, tmp8, tmp7);
2932 : }
2933 :
2934 4 : if (block5.is_used()) {
2935 4 : compiler::TNode<Smi> tmp9;
2936 4 : compiler::TNode<Smi> tmp10;
2937 4 : ca_.Bind(&block5, &tmp9, &tmp10);
2938 4 : compiler::TNode<Smi> tmp11;
2939 4 : USE(tmp11);
2940 4 : tmp11 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
2941 4 : compiler::TNode<Smi> tmp12;
2942 4 : USE(tmp12);
2943 4 : tmp12 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp10}, compiler::TNode<Smi>{tmp11}));
2944 4 : ca_.Goto(&block4, tmp9, tmp12);
2945 : }
2946 :
2947 4 : if (block3.is_used()) {
2948 4 : compiler::TNode<Smi> tmp13;
2949 4 : compiler::TNode<Smi> tmp14;
2950 4 : ca_.Bind(&block3, &tmp13, &tmp14);
2951 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 326);
2952 4 : compiler::TNode<Smi> tmp15;
2953 4 : USE(tmp15);
2954 4 : tmp15 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
2955 4 : compiler::TNode<BoolT> tmp16;
2956 4 : USE(tmp16);
2957 4 : tmp16 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp13}, compiler::TNode<Smi>{tmp15}));
2958 4 : ca_.Branch(tmp16, &block6, &block7, tmp13);
2959 : }
2960 :
2961 4 : if (block7.is_used()) {
2962 4 : compiler::TNode<Smi> tmp17;
2963 4 : ca_.Bind(&block7, &tmp17);
2964 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 10\' failed", "../../test/torque/test-torque.tq", 326);
2965 : }
2966 :
2967 4 : if (block6.is_used()) {
2968 4 : compiler::TNode<Smi> tmp18;
2969 4 : ca_.Bind(&block6, &tmp18);
2970 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 328);
2971 4 : compiler::TNode<Smi> tmp19;
2972 4 : USE(tmp19);
2973 4 : tmp19 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2974 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 329);
2975 4 : compiler::TNode<Smi> tmp20;
2976 4 : USE(tmp20);
2977 4 : tmp20 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
2978 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 330);
2979 4 : ca_.Goto(&block10, tmp19, tmp20);
2980 : }
2981 :
2982 4 : if (block10.is_used()) {
2983 4 : compiler::TNode<Smi> tmp21;
2984 4 : compiler::TNode<Smi> tmp22;
2985 4 : ca_.Bind(&block10, &tmp21, &tmp22);
2986 4 : compiler::TNode<Smi> tmp23;
2987 4 : USE(tmp23);
2988 4 : tmp23 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
2989 4 : compiler::TNode<BoolT> tmp24;
2990 4 : USE(tmp24);
2991 4 : tmp24 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp22}, compiler::TNode<Smi>{tmp23}));
2992 4 : ca_.Branch(tmp24, &block8, &block9, tmp21, tmp22);
2993 : }
2994 :
2995 4 : if (block8.is_used()) {
2996 4 : compiler::TNode<Smi> tmp25;
2997 4 : compiler::TNode<Smi> tmp26;
2998 4 : ca_.Bind(&block8, &tmp25, &tmp26);
2999 4 : compiler::TNode<Smi> tmp27;
3000 4 : USE(tmp27);
3001 4 : tmp27 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp25}, compiler::TNode<Smi>{tmp26}));
3002 4 : ca_.Goto(&block11, tmp27, tmp26);
3003 : }
3004 :
3005 4 : if (block11.is_used()) {
3006 4 : compiler::TNode<Smi> tmp28;
3007 4 : compiler::TNode<Smi> tmp29;
3008 4 : ca_.Bind(&block11, &tmp28, &tmp29);
3009 4 : compiler::TNode<Smi> tmp30;
3010 4 : USE(tmp30);
3011 4 : tmp30 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3012 4 : compiler::TNode<Smi> tmp31;
3013 4 : USE(tmp31);
3014 4 : tmp31 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp29}, compiler::TNode<Smi>{tmp30}));
3015 4 : ca_.Goto(&block10, tmp28, tmp31);
3016 : }
3017 :
3018 4 : if (block9.is_used()) {
3019 4 : compiler::TNode<Smi> tmp32;
3020 4 : compiler::TNode<Smi> tmp33;
3021 4 : ca_.Bind(&block9, &tmp32, &tmp33);
3022 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 331);
3023 4 : compiler::TNode<Smi> tmp34;
3024 4 : USE(tmp34);
3025 4 : tmp34 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3026 4 : compiler::TNode<BoolT> tmp35;
3027 4 : USE(tmp35);
3028 4 : tmp35 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp32}, compiler::TNode<Smi>{tmp34}));
3029 4 : ca_.Branch(tmp35, &block12, &block13, tmp32, tmp33);
3030 : }
3031 :
3032 4 : if (block13.is_used()) {
3033 4 : compiler::TNode<Smi> tmp36;
3034 4 : compiler::TNode<Smi> tmp37;
3035 4 : ca_.Bind(&block13, &tmp36, &tmp37);
3036 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 10\' failed", "../../test/torque/test-torque.tq", 331);
3037 : }
3038 :
3039 4 : if (block12.is_used()) {
3040 4 : compiler::TNode<Smi> tmp38;
3041 4 : compiler::TNode<Smi> tmp39;
3042 4 : ca_.Bind(&block12, &tmp38, &tmp39);
3043 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 333);
3044 4 : compiler::TNode<Smi> tmp40;
3045 4 : USE(tmp40);
3046 4 : tmp40 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3047 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 334);
3048 4 : compiler::TNode<Smi> tmp41;
3049 4 : USE(tmp41);
3050 4 : tmp41 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3051 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 335);
3052 4 : ca_.Goto(&block16, tmp40, tmp41);
3053 : }
3054 :
3055 4 : if (block16.is_used()) {
3056 4 : compiler::TNode<Smi> tmp42;
3057 4 : compiler::TNode<Smi> tmp43;
3058 4 : ca_.Bind(&block16, &tmp42, &tmp43);
3059 4 : compiler::TNode<Smi> tmp44;
3060 4 : USE(tmp44);
3061 4 : tmp44 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3062 4 : compiler::TNode<BoolT> tmp45;
3063 4 : USE(tmp45);
3064 4 : tmp45 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp43}, compiler::TNode<Smi>{tmp44}));
3065 4 : ca_.Branch(tmp45, &block14, &block15, tmp42, tmp43);
3066 : }
3067 :
3068 4 : if (block14.is_used()) {
3069 4 : compiler::TNode<Smi> tmp46;
3070 4 : compiler::TNode<Smi> tmp47;
3071 4 : ca_.Bind(&block14, &tmp46, &tmp47);
3072 4 : compiler::TNode<Smi> tmp48;
3073 4 : USE(tmp48);
3074 4 : tmp48 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3075 4 : compiler::TNode<Smi> tmp49;
3076 4 : USE(tmp49);
3077 4 : tmp49 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp47}, compiler::TNode<Smi>{tmp48}));
3078 4 : compiler::TNode<Smi> tmp50;
3079 4 : USE(tmp50);
3080 4 : tmp50 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp46}, compiler::TNode<Smi>{tmp47}));
3081 4 : ca_.Goto(&block16, tmp50, tmp49);
3082 : }
3083 :
3084 4 : if (block15.is_used()) {
3085 4 : compiler::TNode<Smi> tmp51;
3086 4 : compiler::TNode<Smi> tmp52;
3087 4 : ca_.Bind(&block15, &tmp51, &tmp52);
3088 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 336);
3089 4 : compiler::TNode<Smi> tmp53;
3090 4 : USE(tmp53);
3091 4 : tmp53 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3092 4 : compiler::TNode<BoolT> tmp54;
3093 4 : USE(tmp54);
3094 4 : tmp54 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp51}, compiler::TNode<Smi>{tmp53}));
3095 4 : ca_.Branch(tmp54, &block17, &block18, tmp51, tmp52);
3096 : }
3097 :
3098 4 : if (block18.is_used()) {
3099 4 : compiler::TNode<Smi> tmp55;
3100 4 : compiler::TNode<Smi> tmp56;
3101 4 : ca_.Bind(&block18, &tmp55, &tmp56);
3102 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 10\' failed", "../../test/torque/test-torque.tq", 336);
3103 : }
3104 :
3105 4 : if (block17.is_used()) {
3106 4 : compiler::TNode<Smi> tmp57;
3107 4 : compiler::TNode<Smi> tmp58;
3108 4 : ca_.Bind(&block17, &tmp57, &tmp58);
3109 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 339);
3110 4 : compiler::TNode<Smi> tmp59;
3111 4 : USE(tmp59);
3112 4 : tmp59 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3113 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 340);
3114 4 : compiler::TNode<Smi> tmp60;
3115 4 : USE(tmp60);
3116 4 : tmp60 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3117 4 : ca_.Goto(&block21, tmp59, tmp58, tmp60);
3118 : }
3119 :
3120 4 : if (block21.is_used()) {
3121 4 : compiler::TNode<Smi> tmp61;
3122 4 : compiler::TNode<Smi> tmp62;
3123 4 : compiler::TNode<Smi> tmp63;
3124 4 : ca_.Bind(&block21, &tmp61, &tmp62, &tmp63);
3125 4 : ca_.Goto(&block19, tmp61, tmp62, tmp63);
3126 : }
3127 :
3128 4 : if (block19.is_used()) {
3129 4 : compiler::TNode<Smi> tmp64;
3130 4 : compiler::TNode<Smi> tmp65;
3131 4 : compiler::TNode<Smi> tmp66;
3132 4 : ca_.Bind(&block19, &tmp64, &tmp65, &tmp66);
3133 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 341);
3134 4 : compiler::TNode<Smi> tmp67;
3135 4 : USE(tmp67);
3136 4 : tmp67 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3137 4 : compiler::TNode<BoolT> tmp68;
3138 4 : USE(tmp68);
3139 4 : tmp68 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp66}, compiler::TNode<Smi>{tmp67}));
3140 4 : ca_.Branch(tmp68, &block23, &block24, tmp64, tmp65, tmp66);
3141 : }
3142 :
3143 4 : if (block23.is_used()) {
3144 4 : compiler::TNode<Smi> tmp69;
3145 4 : compiler::TNode<Smi> tmp70;
3146 4 : compiler::TNode<Smi> tmp71;
3147 4 : ca_.Bind(&block23, &tmp69, &tmp70, &tmp71);
3148 4 : ca_.Goto(&block20, tmp69, tmp70, tmp71);
3149 : }
3150 :
3151 4 : if (block24.is_used()) {
3152 4 : compiler::TNode<Smi> tmp72;
3153 4 : compiler::TNode<Smi> tmp73;
3154 4 : compiler::TNode<Smi> tmp74;
3155 4 : ca_.Bind(&block24, &tmp72, &tmp73, &tmp74);
3156 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 342);
3157 4 : compiler::TNode<Smi> tmp75;
3158 4 : USE(tmp75);
3159 4 : tmp75 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp72}, compiler::TNode<Smi>{tmp74}));
3160 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 340);
3161 4 : ca_.Goto(&block22, tmp75, tmp73, tmp74);
3162 : }
3163 :
3164 4 : if (block22.is_used()) {
3165 4 : compiler::TNode<Smi> tmp76;
3166 4 : compiler::TNode<Smi> tmp77;
3167 4 : compiler::TNode<Smi> tmp78;
3168 4 : ca_.Bind(&block22, &tmp76, &tmp77, &tmp78);
3169 4 : compiler::TNode<Smi> tmp79;
3170 4 : USE(tmp79);
3171 4 : tmp79 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3172 4 : compiler::TNode<Smi> tmp80;
3173 4 : USE(tmp80);
3174 4 : tmp80 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp78}, compiler::TNode<Smi>{tmp79}));
3175 4 : ca_.Goto(&block21, tmp76, tmp77, tmp80);
3176 : }
3177 :
3178 4 : if (block20.is_used()) {
3179 4 : compiler::TNode<Smi> tmp81;
3180 4 : compiler::TNode<Smi> tmp82;
3181 4 : compiler::TNode<Smi> tmp83;
3182 4 : ca_.Bind(&block20, &tmp81, &tmp82, &tmp83);
3183 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 344);
3184 4 : compiler::TNode<Smi> tmp84;
3185 4 : USE(tmp84);
3186 4 : tmp84 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3187 4 : compiler::TNode<BoolT> tmp85;
3188 4 : USE(tmp85);
3189 4 : tmp85 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp81}, compiler::TNode<Smi>{tmp84}));
3190 4 : ca_.Branch(tmp85, &block25, &block26, tmp81, tmp82);
3191 : }
3192 :
3193 4 : if (block26.is_used()) {
3194 4 : compiler::TNode<Smi> tmp86;
3195 4 : compiler::TNode<Smi> tmp87;
3196 4 : ca_.Bind(&block26, &tmp86, &tmp87);
3197 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 10\' failed", "../../test/torque/test-torque.tq", 344);
3198 : }
3199 :
3200 4 : if (block25.is_used()) {
3201 4 : compiler::TNode<Smi> tmp88;
3202 4 : compiler::TNode<Smi> tmp89;
3203 4 : ca_.Bind(&block25, &tmp88, &tmp89);
3204 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 346);
3205 4 : compiler::TNode<Smi> tmp90;
3206 4 : USE(tmp90);
3207 4 : tmp90 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3208 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 347);
3209 4 : compiler::TNode<Smi> tmp91;
3210 4 : USE(tmp91);
3211 4 : tmp91 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3212 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 348);
3213 4 : ca_.Goto(&block29, tmp90, tmp91);
3214 : }
3215 :
3216 4 : if (block29.is_used()) {
3217 4 : compiler::TNode<Smi> tmp92;
3218 4 : compiler::TNode<Smi> tmp93;
3219 4 : ca_.Bind(&block29, &tmp92, &tmp93);
3220 4 : ca_.Goto(&block27, tmp92, tmp93);
3221 : }
3222 :
3223 4 : if (block27.is_used()) {
3224 4 : compiler::TNode<Smi> tmp94;
3225 4 : compiler::TNode<Smi> tmp95;
3226 4 : ca_.Bind(&block27, &tmp94, &tmp95);
3227 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 349);
3228 4 : compiler::TNode<Smi> tmp96;
3229 4 : USE(tmp96);
3230 4 : tmp96 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3231 4 : compiler::TNode<BoolT> tmp97;
3232 4 : USE(tmp97);
3233 4 : tmp97 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp95}, compiler::TNode<Smi>{tmp96}));
3234 4 : ca_.Branch(tmp97, &block30, &block31, tmp94, tmp95);
3235 : }
3236 :
3237 4 : if (block30.is_used()) {
3238 4 : compiler::TNode<Smi> tmp98;
3239 4 : compiler::TNode<Smi> tmp99;
3240 4 : ca_.Bind(&block30, &tmp98, &tmp99);
3241 4 : ca_.Goto(&block28, tmp98, tmp99);
3242 : }
3243 :
3244 4 : if (block31.is_used()) {
3245 4 : compiler::TNode<Smi> tmp100;
3246 4 : compiler::TNode<Smi> tmp101;
3247 4 : ca_.Bind(&block31, &tmp100, &tmp101);
3248 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 350);
3249 4 : compiler::TNode<Smi> tmp102;
3250 4 : USE(tmp102);
3251 4 : tmp102 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp100}, compiler::TNode<Smi>{tmp101}));
3252 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 351);
3253 4 : compiler::TNode<Smi> tmp103;
3254 4 : USE(tmp103);
3255 4 : tmp103 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3256 4 : compiler::TNode<Smi> tmp104;
3257 4 : USE(tmp104);
3258 4 : tmp104 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp101}, compiler::TNode<Smi>{tmp103}));
3259 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 348);
3260 4 : ca_.Goto(&block29, tmp102, tmp104);
3261 : }
3262 :
3263 4 : if (block28.is_used()) {
3264 4 : compiler::TNode<Smi> tmp105;
3265 4 : compiler::TNode<Smi> tmp106;
3266 4 : ca_.Bind(&block28, &tmp105, &tmp106);
3267 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 353);
3268 4 : compiler::TNode<Smi> tmp107;
3269 4 : USE(tmp107);
3270 4 : tmp107 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3271 4 : compiler::TNode<BoolT> tmp108;
3272 4 : USE(tmp108);
3273 4 : tmp108 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp105}, compiler::TNode<Smi>{tmp107}));
3274 4 : ca_.Branch(tmp108, &block32, &block33, tmp105, tmp106);
3275 : }
3276 :
3277 4 : if (block33.is_used()) {
3278 4 : compiler::TNode<Smi> tmp109;
3279 4 : compiler::TNode<Smi> tmp110;
3280 4 : ca_.Bind(&block33, &tmp109, &tmp110);
3281 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 10\' failed", "../../test/torque/test-torque.tq", 353);
3282 : }
3283 :
3284 4 : if (block32.is_used()) {
3285 4 : compiler::TNode<Smi> tmp111;
3286 4 : compiler::TNode<Smi> tmp112;
3287 4 : ca_.Bind(&block32, &tmp111, &tmp112);
3288 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 357);
3289 4 : compiler::TNode<Smi> tmp113;
3290 4 : USE(tmp113);
3291 4 : tmp113 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3292 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 358);
3293 4 : compiler::TNode<Smi> tmp114;
3294 4 : USE(tmp114);
3295 4 : tmp114 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3296 4 : ca_.Goto(&block36, tmp113, tmp112, tmp114);
3297 : }
3298 :
3299 4 : if (block36.is_used()) {
3300 4 : compiler::TNode<Smi> tmp115;
3301 4 : compiler::TNode<Smi> tmp116;
3302 4 : compiler::TNode<Smi> tmp117;
3303 4 : ca_.Bind(&block36, &tmp115, &tmp116, &tmp117);
3304 4 : compiler::TNode<Smi> tmp118;
3305 4 : USE(tmp118);
3306 4 : tmp118 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3307 4 : compiler::TNode<BoolT> tmp119;
3308 4 : USE(tmp119);
3309 4 : tmp119 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp117}, compiler::TNode<Smi>{tmp118}));
3310 4 : ca_.Branch(tmp119, &block34, &block35, tmp115, tmp116, tmp117);
3311 : }
3312 :
3313 4 : if (block34.is_used()) {
3314 4 : compiler::TNode<Smi> tmp120;
3315 4 : compiler::TNode<Smi> tmp121;
3316 4 : compiler::TNode<Smi> tmp122;
3317 4 : ca_.Bind(&block34, &tmp120, &tmp121, &tmp122);
3318 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 359);
3319 4 : compiler::TNode<Smi> tmp123;
3320 4 : USE(tmp123);
3321 4 : tmp123 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
3322 4 : compiler::TNode<BoolT> tmp124;
3323 4 : USE(tmp124);
3324 4 : tmp124 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp122}, compiler::TNode<Smi>{tmp123}));
3325 4 : ca_.Branch(tmp124, &block38, &block39, tmp120, tmp121, tmp122);
3326 : }
3327 :
3328 4 : if (block38.is_used()) {
3329 4 : compiler::TNode<Smi> tmp125;
3330 4 : compiler::TNode<Smi> tmp126;
3331 4 : compiler::TNode<Smi> tmp127;
3332 4 : ca_.Bind(&block38, &tmp125, &tmp126, &tmp127);
3333 4 : ca_.Goto(&block37, tmp125, tmp126, tmp127);
3334 : }
3335 :
3336 4 : if (block39.is_used()) {
3337 4 : compiler::TNode<Smi> tmp128;
3338 4 : compiler::TNode<Smi> tmp129;
3339 4 : compiler::TNode<Smi> tmp130;
3340 4 : ca_.Bind(&block39, &tmp128, &tmp129, &tmp130);
3341 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 360);
3342 4 : compiler::TNode<Smi> tmp131;
3343 4 : USE(tmp131);
3344 4 : tmp131 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp128}, compiler::TNode<Smi>{tmp130}));
3345 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 358);
3346 4 : ca_.Goto(&block37, tmp131, tmp129, tmp130);
3347 : }
3348 :
3349 4 : if (block37.is_used()) {
3350 4 : compiler::TNode<Smi> tmp132;
3351 4 : compiler::TNode<Smi> tmp133;
3352 4 : compiler::TNode<Smi> tmp134;
3353 4 : ca_.Bind(&block37, &tmp132, &tmp133, &tmp134);
3354 4 : compiler::TNode<Smi> tmp135;
3355 4 : USE(tmp135);
3356 4 : tmp135 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3357 4 : compiler::TNode<Smi> tmp136;
3358 4 : USE(tmp136);
3359 4 : tmp136 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp134}, compiler::TNode<Smi>{tmp135}));
3360 4 : ca_.Goto(&block36, tmp132, tmp133, tmp136);
3361 : }
3362 :
3363 4 : if (block35.is_used()) {
3364 4 : compiler::TNode<Smi> tmp137;
3365 4 : compiler::TNode<Smi> tmp138;
3366 4 : compiler::TNode<Smi> tmp139;
3367 4 : ca_.Bind(&block35, &tmp137, &tmp138, &tmp139);
3368 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 362);
3369 4 : compiler::TNode<Smi> tmp140;
3370 4 : USE(tmp140);
3371 4 : tmp140 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
3372 4 : compiler::TNode<BoolT> tmp141;
3373 4 : USE(tmp141);
3374 4 : tmp141 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp137}, compiler::TNode<Smi>{tmp140}));
3375 4 : ca_.Branch(tmp141, &block40, &block41, tmp137, tmp138);
3376 : }
3377 :
3378 4 : if (block41.is_used()) {
3379 4 : compiler::TNode<Smi> tmp142;
3380 4 : compiler::TNode<Smi> tmp143;
3381 4 : ca_.Bind(&block41, &tmp142, &tmp143);
3382 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 7\' failed", "../../test/torque/test-torque.tq", 362);
3383 : }
3384 :
3385 4 : if (block40.is_used()) {
3386 4 : compiler::TNode<Smi> tmp144;
3387 4 : compiler::TNode<Smi> tmp145;
3388 4 : ca_.Bind(&block40, &tmp144, &tmp145);
3389 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 364);
3390 4 : compiler::TNode<Smi> tmp146;
3391 4 : USE(tmp146);
3392 4 : tmp146 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3393 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 365);
3394 4 : compiler::TNode<Smi> tmp147;
3395 4 : USE(tmp147);
3396 4 : tmp147 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3397 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 366);
3398 4 : ca_.Goto(&block44, tmp146, tmp147);
3399 : }
3400 :
3401 4 : if (block44.is_used()) {
3402 4 : compiler::TNode<Smi> tmp148;
3403 4 : compiler::TNode<Smi> tmp149;
3404 4 : ca_.Bind(&block44, &tmp148, &tmp149);
3405 4 : compiler::TNode<Smi> tmp150;
3406 4 : USE(tmp150);
3407 4 : tmp150 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3408 4 : compiler::TNode<BoolT> tmp151;
3409 4 : USE(tmp151);
3410 4 : tmp151 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp149}, compiler::TNode<Smi>{tmp150}));
3411 4 : ca_.Branch(tmp151, &block42, &block43, tmp148, tmp149);
3412 : }
3413 :
3414 4 : if (block42.is_used()) {
3415 4 : compiler::TNode<Smi> tmp152;
3416 4 : compiler::TNode<Smi> tmp153;
3417 4 : ca_.Bind(&block42, &tmp152, &tmp153);
3418 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 367);
3419 4 : compiler::TNode<Smi> tmp154;
3420 4 : USE(tmp154);
3421 4 : tmp154 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
3422 4 : compiler::TNode<BoolT> tmp155;
3423 4 : USE(tmp155);
3424 4 : tmp155 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp153}, compiler::TNode<Smi>{tmp154}));
3425 4 : ca_.Branch(tmp155, &block46, &block47, tmp152, tmp153);
3426 : }
3427 :
3428 4 : if (block46.is_used()) {
3429 4 : compiler::TNode<Smi> tmp156;
3430 4 : compiler::TNode<Smi> tmp157;
3431 4 : ca_.Bind(&block46, &tmp156, &tmp157);
3432 4 : ca_.Goto(&block45, tmp156, tmp157);
3433 : }
3434 :
3435 4 : if (block47.is_used()) {
3436 4 : compiler::TNode<Smi> tmp158;
3437 4 : compiler::TNode<Smi> tmp159;
3438 4 : ca_.Bind(&block47, &tmp158, &tmp159);
3439 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 368);
3440 4 : compiler::TNode<Smi> tmp160;
3441 4 : USE(tmp160);
3442 4 : tmp160 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp158}, compiler::TNode<Smi>{tmp159}));
3443 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 366);
3444 4 : ca_.Goto(&block45, tmp160, tmp159);
3445 : }
3446 :
3447 4 : if (block45.is_used()) {
3448 4 : compiler::TNode<Smi> tmp161;
3449 4 : compiler::TNode<Smi> tmp162;
3450 4 : ca_.Bind(&block45, &tmp161, &tmp162);
3451 4 : compiler::TNode<Smi> tmp163;
3452 4 : USE(tmp163);
3453 4 : tmp163 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3454 4 : compiler::TNode<Smi> tmp164;
3455 4 : USE(tmp164);
3456 4 : tmp164 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp162}, compiler::TNode<Smi>{tmp163}));
3457 4 : ca_.Goto(&block44, tmp161, tmp164);
3458 : }
3459 :
3460 4 : if (block43.is_used()) {
3461 4 : compiler::TNode<Smi> tmp165;
3462 4 : compiler::TNode<Smi> tmp166;
3463 4 : ca_.Bind(&block43, &tmp165, &tmp166);
3464 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 370);
3465 4 : compiler::TNode<Smi> tmp167;
3466 4 : USE(tmp167);
3467 4 : tmp167 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
3468 4 : compiler::TNode<BoolT> tmp168;
3469 4 : USE(tmp168);
3470 4 : tmp168 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp165}, compiler::TNode<Smi>{tmp167}));
3471 4 : ca_.Branch(tmp168, &block48, &block49, tmp165, tmp166);
3472 : }
3473 :
3474 4 : if (block49.is_used()) {
3475 4 : compiler::TNode<Smi> tmp169;
3476 4 : compiler::TNode<Smi> tmp170;
3477 4 : ca_.Bind(&block49, &tmp169, &tmp170);
3478 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 7\' failed", "../../test/torque/test-torque.tq", 370);
3479 : }
3480 :
3481 4 : if (block48.is_used()) {
3482 4 : compiler::TNode<Smi> tmp171;
3483 4 : compiler::TNode<Smi> tmp172;
3484 4 : ca_.Bind(&block48, &tmp171, &tmp172);
3485 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 372);
3486 4 : compiler::TNode<Smi> tmp173;
3487 4 : USE(tmp173);
3488 4 : tmp173 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3489 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 373);
3490 4 : compiler::TNode<Smi> tmp174;
3491 4 : USE(tmp174);
3492 4 : tmp174 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3493 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 374);
3494 4 : ca_.Goto(&block52, tmp173, tmp174);
3495 : }
3496 :
3497 4 : if (block52.is_used()) {
3498 4 : compiler::TNode<Smi> tmp175;
3499 4 : compiler::TNode<Smi> tmp176;
3500 4 : ca_.Bind(&block52, &tmp175, &tmp176);
3501 4 : compiler::TNode<Smi> tmp177;
3502 4 : USE(tmp177);
3503 4 : tmp177 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3504 4 : compiler::TNode<BoolT> tmp178;
3505 4 : USE(tmp178);
3506 4 : tmp178 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp176}, compiler::TNode<Smi>{tmp177}));
3507 4 : ca_.Branch(tmp178, &block50, &block51, tmp175, tmp176);
3508 : }
3509 :
3510 4 : if (block50.is_used()) {
3511 4 : compiler::TNode<Smi> tmp179;
3512 4 : compiler::TNode<Smi> tmp180;
3513 4 : ca_.Bind(&block50, &tmp179, &tmp180);
3514 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 375);
3515 4 : compiler::TNode<Smi> tmp181;
3516 4 : USE(tmp181);
3517 4 : tmp181 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
3518 4 : compiler::TNode<BoolT> tmp182;
3519 4 : USE(tmp182);
3520 4 : tmp182 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp180}, compiler::TNode<Smi>{tmp181}));
3521 4 : ca_.Branch(tmp182, &block53, &block54, tmp179, tmp180);
3522 : }
3523 :
3524 4 : if (block53.is_used()) {
3525 4 : compiler::TNode<Smi> tmp183;
3526 4 : compiler::TNode<Smi> tmp184;
3527 4 : ca_.Bind(&block53, &tmp183, &tmp184);
3528 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 376);
3529 4 : compiler::TNode<Smi> tmp185;
3530 4 : USE(tmp185);
3531 4 : tmp185 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3532 4 : compiler::TNode<Smi> tmp186;
3533 4 : USE(tmp186);
3534 4 : tmp186 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp184}, compiler::TNode<Smi>{tmp185}));
3535 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 377);
3536 4 : ca_.Goto(&block52, tmp183, tmp186);
3537 : }
3538 :
3539 4 : if (block54.is_used()) {
3540 4 : compiler::TNode<Smi> tmp187;
3541 4 : compiler::TNode<Smi> tmp188;
3542 4 : ca_.Bind(&block54, &tmp187, &tmp188);
3543 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 379);
3544 4 : compiler::TNode<Smi> tmp189;
3545 4 : USE(tmp189);
3546 4 : tmp189 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp187}, compiler::TNode<Smi>{tmp188}));
3547 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 380);
3548 4 : compiler::TNode<Smi> tmp190;
3549 4 : USE(tmp190);
3550 4 : tmp190 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3551 4 : compiler::TNode<Smi> tmp191;
3552 4 : USE(tmp191);
3553 4 : tmp191 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp188}, compiler::TNode<Smi>{tmp190}));
3554 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 374);
3555 4 : ca_.Goto(&block52, tmp189, tmp191);
3556 : }
3557 :
3558 4 : if (block51.is_used()) {
3559 4 : compiler::TNode<Smi> tmp192;
3560 4 : compiler::TNode<Smi> tmp193;
3561 4 : ca_.Bind(&block51, &tmp192, &tmp193);
3562 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 382);
3563 4 : compiler::TNode<Smi> tmp194;
3564 4 : USE(tmp194);
3565 4 : tmp194 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
3566 4 : compiler::TNode<BoolT> tmp195;
3567 4 : USE(tmp195);
3568 4 : tmp195 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp192}, compiler::TNode<Smi>{tmp194}));
3569 4 : ca_.Branch(tmp195, &block55, &block56, tmp192, tmp193);
3570 : }
3571 :
3572 4 : if (block56.is_used()) {
3573 4 : compiler::TNode<Smi> tmp196;
3574 4 : compiler::TNode<Smi> tmp197;
3575 4 : ca_.Bind(&block56, &tmp196, &tmp197);
3576 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 7\' failed", "../../test/torque/test-torque.tq", 382);
3577 : }
3578 :
3579 4 : if (block55.is_used()) {
3580 4 : compiler::TNode<Smi> tmp198;
3581 4 : compiler::TNode<Smi> tmp199;
3582 4 : ca_.Bind(&block55, &tmp198, &tmp199);
3583 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 384);
3584 4 : compiler::TNode<Smi> tmp200;
3585 4 : USE(tmp200);
3586 4 : tmp200 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3587 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 385);
3588 4 : compiler::TNode<Smi> tmp201;
3589 4 : USE(tmp201);
3590 4 : tmp201 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3591 4 : ca_.Goto(&block59, tmp200, tmp199, tmp201);
3592 : }
3593 :
3594 4 : if (block59.is_used()) {
3595 4 : compiler::TNode<Smi> tmp202;
3596 4 : compiler::TNode<Smi> tmp203;
3597 4 : compiler::TNode<Smi> tmp204;
3598 4 : ca_.Bind(&block59, &tmp202, &tmp203, &tmp204);
3599 4 : ca_.Goto(&block57, tmp202, tmp203, tmp204);
3600 : }
3601 :
3602 4 : if (block57.is_used()) {
3603 4 : compiler::TNode<Smi> tmp205;
3604 4 : compiler::TNode<Smi> tmp206;
3605 4 : compiler::TNode<Smi> tmp207;
3606 4 : ca_.Bind(&block57, &tmp205, &tmp206, &tmp207);
3607 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 386);
3608 4 : compiler::TNode<Smi> tmp208;
3609 4 : USE(tmp208);
3610 4 : tmp208 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
3611 4 : compiler::TNode<BoolT> tmp209;
3612 4 : USE(tmp209);
3613 4 : tmp209 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp207}, compiler::TNode<Smi>{tmp208}));
3614 4 : ca_.Branch(tmp209, &block61, &block62, tmp205, tmp206, tmp207);
3615 : }
3616 :
3617 4 : if (block61.is_used()) {
3618 4 : compiler::TNode<Smi> tmp210;
3619 4 : compiler::TNode<Smi> tmp211;
3620 4 : compiler::TNode<Smi> tmp212;
3621 4 : ca_.Bind(&block61, &tmp210, &tmp211, &tmp212);
3622 4 : ca_.Goto(&block60, tmp210, tmp211, tmp212);
3623 : }
3624 :
3625 4 : if (block62.is_used()) {
3626 4 : compiler::TNode<Smi> tmp213;
3627 4 : compiler::TNode<Smi> tmp214;
3628 4 : compiler::TNode<Smi> tmp215;
3629 4 : ca_.Bind(&block62, &tmp213, &tmp214, &tmp215);
3630 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 387);
3631 4 : compiler::TNode<Smi> tmp216;
3632 4 : USE(tmp216);
3633 4 : tmp216 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3634 4 : compiler::TNode<BoolT> tmp217;
3635 4 : USE(tmp217);
3636 4 : tmp217 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp215}, compiler::TNode<Smi>{tmp216}));
3637 4 : ca_.Branch(tmp217, &block63, &block64, tmp213, tmp214, tmp215);
3638 : }
3639 :
3640 4 : if (block63.is_used()) {
3641 4 : compiler::TNode<Smi> tmp218;
3642 4 : compiler::TNode<Smi> tmp219;
3643 4 : compiler::TNode<Smi> tmp220;
3644 4 : ca_.Bind(&block63, &tmp218, &tmp219, &tmp220);
3645 4 : ca_.Goto(&block58, tmp218, tmp219, tmp220);
3646 : }
3647 :
3648 4 : if (block64.is_used()) {
3649 4 : compiler::TNode<Smi> tmp221;
3650 4 : compiler::TNode<Smi> tmp222;
3651 4 : compiler::TNode<Smi> tmp223;
3652 4 : ca_.Bind(&block64, &tmp221, &tmp222, &tmp223);
3653 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 388);
3654 4 : compiler::TNode<Smi> tmp224;
3655 4 : USE(tmp224);
3656 4 : tmp224 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp221}, compiler::TNode<Smi>{tmp223}));
3657 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 385);
3658 4 : ca_.Goto(&block60, tmp224, tmp222, tmp223);
3659 : }
3660 :
3661 4 : if (block60.is_used()) {
3662 4 : compiler::TNode<Smi> tmp225;
3663 4 : compiler::TNode<Smi> tmp226;
3664 4 : compiler::TNode<Smi> tmp227;
3665 4 : ca_.Bind(&block60, &tmp225, &tmp226, &tmp227);
3666 4 : compiler::TNode<Smi> tmp228;
3667 4 : USE(tmp228);
3668 4 : tmp228 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3669 4 : compiler::TNode<Smi> tmp229;
3670 4 : USE(tmp229);
3671 4 : tmp229 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp227}, compiler::TNode<Smi>{tmp228}));
3672 4 : ca_.Goto(&block59, tmp225, tmp226, tmp229);
3673 : }
3674 :
3675 4 : if (block58.is_used()) {
3676 4 : compiler::TNode<Smi> tmp230;
3677 4 : compiler::TNode<Smi> tmp231;
3678 4 : compiler::TNode<Smi> tmp232;
3679 4 : ca_.Bind(&block58, &tmp230, &tmp231, &tmp232);
3680 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 390);
3681 4 : compiler::TNode<Smi> tmp233;
3682 4 : USE(tmp233);
3683 4 : tmp233 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
3684 4 : compiler::TNode<BoolT> tmp234;
3685 4 : USE(tmp234);
3686 4 : tmp234 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp230}, compiler::TNode<Smi>{tmp233}));
3687 4 : ca_.Branch(tmp234, &block65, &block66, tmp230, tmp231);
3688 : }
3689 :
3690 4 : if (block66.is_used()) {
3691 4 : compiler::TNode<Smi> tmp235;
3692 4 : compiler::TNode<Smi> tmp236;
3693 4 : ca_.Bind(&block66, &tmp235, &tmp236);
3694 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 7\' failed", "../../test/torque/test-torque.tq", 390);
3695 : }
3696 :
3697 4 : if (block65.is_used()) {
3698 4 : compiler::TNode<Smi> tmp237;
3699 4 : compiler::TNode<Smi> tmp238;
3700 4 : ca_.Bind(&block65, &tmp237, &tmp238);
3701 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 392);
3702 4 : compiler::TNode<Smi> tmp239;
3703 4 : USE(tmp239);
3704 4 : tmp239 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3705 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 393);
3706 4 : compiler::TNode<Smi> tmp240;
3707 4 : USE(tmp240);
3708 4 : tmp240 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3709 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 394);
3710 4 : ca_.Goto(&block69, tmp239, tmp240);
3711 : }
3712 :
3713 4 : if (block69.is_used()) {
3714 4 : compiler::TNode<Smi> tmp241;
3715 4 : compiler::TNode<Smi> tmp242;
3716 4 : ca_.Bind(&block69, &tmp241, &tmp242);
3717 4 : ca_.Goto(&block67, tmp241, tmp242);
3718 : }
3719 :
3720 4 : if (block67.is_used()) {
3721 4 : compiler::TNode<Smi> tmp243;
3722 4 : compiler::TNode<Smi> tmp244;
3723 4 : ca_.Bind(&block67, &tmp243, &tmp244);
3724 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 395);
3725 4 : compiler::TNode<Smi> tmp245;
3726 4 : USE(tmp245);
3727 4 : tmp245 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(3));
3728 4 : compiler::TNode<BoolT> tmp246;
3729 4 : USE(tmp246);
3730 4 : tmp246 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp244}, compiler::TNode<Smi>{tmp245}));
3731 4 : ca_.Branch(tmp246, &block70, &block71, tmp243, tmp244);
3732 : }
3733 :
3734 4 : if (block70.is_used()) {
3735 4 : compiler::TNode<Smi> tmp247;
3736 4 : compiler::TNode<Smi> tmp248;
3737 4 : ca_.Bind(&block70, &tmp247, &tmp248);
3738 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 396);
3739 4 : compiler::TNode<Smi> tmp249;
3740 4 : USE(tmp249);
3741 4 : tmp249 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3742 4 : compiler::TNode<Smi> tmp250;
3743 4 : USE(tmp250);
3744 4 : tmp250 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp248}, compiler::TNode<Smi>{tmp249}));
3745 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 397);
3746 4 : ca_.Goto(&block69, tmp247, tmp250);
3747 : }
3748 :
3749 4 : if (block71.is_used()) {
3750 4 : compiler::TNode<Smi> tmp251;
3751 4 : compiler::TNode<Smi> tmp252;
3752 4 : ca_.Bind(&block71, &tmp251, &tmp252);
3753 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 400);
3754 4 : compiler::TNode<Smi> tmp253;
3755 4 : USE(tmp253);
3756 4 : tmp253 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
3757 4 : compiler::TNode<BoolT> tmp254;
3758 4 : USE(tmp254);
3759 4 : tmp254 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp252}, compiler::TNode<Smi>{tmp253}));
3760 4 : ca_.Branch(tmp254, &block72, &block73, tmp251, tmp252);
3761 : }
3762 :
3763 4 : if (block72.is_used()) {
3764 4 : compiler::TNode<Smi> tmp255;
3765 4 : compiler::TNode<Smi> tmp256;
3766 4 : ca_.Bind(&block72, &tmp255, &tmp256);
3767 4 : ca_.Goto(&block68, tmp255, tmp256);
3768 : }
3769 :
3770 4 : if (block73.is_used()) {
3771 4 : compiler::TNode<Smi> tmp257;
3772 4 : compiler::TNode<Smi> tmp258;
3773 4 : ca_.Bind(&block73, &tmp257, &tmp258);
3774 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 401);
3775 4 : compiler::TNode<Smi> tmp259;
3776 4 : USE(tmp259);
3777 4 : tmp259 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp257}, compiler::TNode<Smi>{tmp258}));
3778 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 402);
3779 4 : compiler::TNode<Smi> tmp260;
3780 4 : USE(tmp260);
3781 4 : tmp260 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3782 4 : compiler::TNode<Smi> tmp261;
3783 4 : USE(tmp261);
3784 4 : tmp261 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp258}, compiler::TNode<Smi>{tmp260}));
3785 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 394);
3786 4 : ca_.Goto(&block69, tmp259, tmp261);
3787 : }
3788 :
3789 4 : if (block68.is_used()) {
3790 4 : compiler::TNode<Smi> tmp262;
3791 4 : compiler::TNode<Smi> tmp263;
3792 4 : ca_.Bind(&block68, &tmp262, &tmp263);
3793 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 404);
3794 4 : compiler::TNode<Smi> tmp264;
3795 4 : USE(tmp264);
3796 4 : tmp264 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(7));
3797 4 : compiler::TNode<BoolT> tmp265;
3798 4 : USE(tmp265);
3799 4 : tmp265 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp262}, compiler::TNode<Smi>{tmp264}));
3800 4 : ca_.Branch(tmp265, &block74, &block75, tmp262, tmp263);
3801 : }
3802 :
3803 4 : if (block75.is_used()) {
3804 4 : compiler::TNode<Smi> tmp266;
3805 4 : compiler::TNode<Smi> tmp267;
3806 4 : ca_.Bind(&block75, &tmp266, &tmp267);
3807 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'sum == 7\' failed", "../../test/torque/test-torque.tq", 404);
3808 : }
3809 :
3810 4 : if (block74.is_used()) {
3811 4 : compiler::TNode<Smi> tmp268;
3812 4 : compiler::TNode<Smi> tmp269;
3813 4 : ca_.Bind(&block74, &tmp268, &tmp269);
3814 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 406);
3815 4 : compiler::TNode<Smi> tmp270;
3816 4 : USE(tmp270);
3817 4 : tmp270 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3818 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 408);
3819 4 : ca_.Goto(&block80, tmp268, tmp270);
3820 : }
3821 :
3822 4 : if (block80.is_used()) {
3823 4 : compiler::TNode<Smi> tmp271;
3824 4 : compiler::TNode<Smi> tmp272;
3825 4 : ca_.Bind(&block80, &tmp271, &tmp272);
3826 4 : ca_.Goto(&block78, tmp271, tmp272);
3827 : }
3828 :
3829 4 : if (block78.is_used()) {
3830 4 : compiler::TNode<Smi> tmp273;
3831 4 : compiler::TNode<Smi> tmp274;
3832 4 : ca_.Bind(&block78, &tmp273, &tmp274);
3833 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 409);
3834 4 : compiler::TNode<Smi> tmp275;
3835 4 : USE(tmp275);
3836 4 : tmp275 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3837 4 : compiler::TNode<Smi> tmp276;
3838 4 : USE(tmp276);
3839 4 : tmp276 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp274}, compiler::TNode<Smi>{tmp275}));
3840 4 : compiler::TNode<Smi> tmp277;
3841 4 : USE(tmp277);
3842 4 : tmp277 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3843 4 : compiler::TNode<BoolT> tmp278;
3844 4 : USE(tmp278);
3845 4 : tmp278 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp276}, compiler::TNode<Smi>{tmp277}));
3846 4 : ca_.Branch(tmp278, &block81, &block82, tmp273, tmp276);
3847 : }
3848 :
3849 4 : if (block81.is_used()) {
3850 4 : compiler::TNode<Smi> tmp279;
3851 4 : compiler::TNode<Smi> tmp280;
3852 4 : ca_.Bind(&block81, &tmp279, &tmp280);
3853 4 : ca_.Goto(&block77, tmp279, tmp280);
3854 : }
3855 :
3856 4 : if (block82.is_used()) {
3857 4 : compiler::TNode<Smi> tmp281;
3858 4 : compiler::TNode<Smi> tmp282;
3859 4 : ca_.Bind(&block82, &tmp281, &tmp282);
3860 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 408);
3861 4 : ca_.Goto(&block80, tmp281, tmp282);
3862 : }
3863 :
3864 4 : if (block79.is_used()) {
3865 0 : compiler::TNode<Smi> tmp283;
3866 0 : compiler::TNode<Smi> tmp284;
3867 0 : ca_.Bind(&block79, &tmp283, &tmp284);
3868 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 412);
3869 0 : ca_.Goto(&block76, tmp283, tmp284);
3870 : }
3871 :
3872 4 : if (block77.is_used()) {
3873 4 : compiler::TNode<Smi> tmp285;
3874 4 : compiler::TNode<Smi> tmp286;
3875 4 : ca_.Bind(&block77, &tmp285, &tmp286);
3876 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 413);
3877 4 : compiler::TNode<Smi> tmp287;
3878 4 : USE(tmp287);
3879 4 : tmp287 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3880 4 : compiler::TNode<BoolT> tmp288;
3881 4 : USE(tmp288);
3882 4 : tmp288 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp286}, compiler::TNode<Smi>{tmp287}));
3883 4 : ca_.Branch(tmp288, &block83, &block84, tmp285, tmp286);
3884 : }
3885 :
3886 4 : if (block84.is_used()) {
3887 4 : compiler::TNode<Smi> tmp289;
3888 4 : compiler::TNode<Smi> tmp290;
3889 4 : ca_.Bind(&block84, &tmp289, &tmp290);
3890 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'j == 10\' failed", "../../test/torque/test-torque.tq", 413);
3891 : }
3892 :
3893 4 : if (block83.is_used()) {
3894 4 : compiler::TNode<Smi> tmp291;
3895 4 : compiler::TNode<Smi> tmp292;
3896 4 : ca_.Bind(&block83, &tmp291, &tmp292);
3897 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 407);
3898 4 : ca_.Goto(&block76, tmp291, tmp292);
3899 : }
3900 :
3901 4 : if (block76.is_used()) {
3902 4 : compiler::TNode<Smi> tmp293;
3903 4 : compiler::TNode<Smi> tmp294;
3904 4 : ca_.Bind(&block76, &tmp293, &tmp294);
3905 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 417);
3906 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 418);
3907 4 : compiler::TNode<Smi> tmp295;
3908 4 : USE(tmp295);
3909 4 : tmp295 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
3910 4 : ca_.Goto(&block87, tmp293, tmp294, ca_.Uninitialized<Smi>(), tmp295);
3911 : }
3912 :
3913 4 : if (block87.is_used()) {
3914 4 : compiler::TNode<Smi> tmp296;
3915 4 : compiler::TNode<Smi> tmp297;
3916 4 : compiler::TNode<Smi> tmp298;
3917 4 : compiler::TNode<Smi> tmp299;
3918 4 : ca_.Bind(&block87, &tmp296, &tmp297, &tmp298, &tmp299);
3919 4 : compiler::TNode<Smi> tmp300;
3920 4 : USE(tmp300);
3921 4 : tmp300 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
3922 4 : compiler::TNode<BoolT> tmp301;
3923 4 : USE(tmp301);
3924 4 : tmp301 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp299}, compiler::TNode<Smi>{tmp300}));
3925 4 : ca_.Branch(tmp301, &block85, &block86, tmp296, tmp297, tmp298, tmp299);
3926 : }
3927 :
3928 4 : if (block85.is_used()) {
3929 4 : compiler::TNode<Smi> tmp302;
3930 4 : compiler::TNode<Smi> tmp303;
3931 4 : compiler::TNode<Smi> tmp304;
3932 4 : compiler::TNode<Smi> tmp305;
3933 4 : ca_.Bind(&block85, &tmp302, &tmp303, &tmp304, &tmp305);
3934 4 : ca_.Goto(&block88, tmp302, tmp303, tmp304, tmp305);
3935 : }
3936 :
3937 4 : if (block88.is_used()) {
3938 4 : compiler::TNode<Smi> tmp306;
3939 4 : compiler::TNode<Smi> tmp307;
3940 4 : compiler::TNode<Smi> tmp308;
3941 4 : compiler::TNode<Smi> tmp309;
3942 4 : ca_.Bind(&block88, &tmp306, &tmp307, &tmp308, &tmp309);
3943 4 : compiler::TNode<Smi> tmp310;
3944 4 : USE(tmp310);
3945 4 : tmp310 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
3946 4 : compiler::TNode<Smi> tmp311;
3947 4 : USE(tmp311);
3948 4 : tmp311 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp309}, compiler::TNode<Smi>{tmp310}));
3949 4 : ca_.Goto(&block87, tmp306, tmp307, tmp308, tmp311);
3950 : }
3951 :
3952 4 : if (block86.is_used()) {
3953 4 : compiler::TNode<Smi> tmp312;
3954 4 : compiler::TNode<Smi> tmp313;
3955 4 : compiler::TNode<Smi> tmp314;
3956 4 : compiler::TNode<Smi> tmp315;
3957 4 : ca_.Bind(&block86, &tmp312, &tmp313, &tmp314, &tmp315);
3958 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 323);
3959 4 : ca_.Goto(&block1);
3960 : }
3961 :
3962 4 : if (block1.is_used()) {
3963 4 : ca_.Bind(&block1);
3964 4 : ca_.Goto(&block89);
3965 : }
3966 :
3967 8 : ca_.Bind(&block89);
3968 4 : }
3969 :
3970 0 : void TestBuiltinsFromDSLAssembler::TestSubtyping(compiler::TNode<Smi> p_x) {
3971 0 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3972 0 : compiler::CodeAssemblerParameterizedLabel<Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3973 0 : compiler::CodeAssemblerParameterizedLabel<Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3974 0 : ca_.Goto(&block0, p_x);
3975 :
3976 0 : if (block0.is_used()) {
3977 0 : compiler::TNode<Smi> tmp0;
3978 0 : ca_.Bind(&block0, &tmp0);
3979 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 423);
3980 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 422);
3981 0 : ca_.Goto(&block1, tmp0);
3982 : }
3983 :
3984 0 : if (block1.is_used()) {
3985 0 : compiler::TNode<Smi> tmp1;
3986 0 : ca_.Bind(&block1, &tmp1);
3987 0 : ca_.Goto(&block2, tmp1);
3988 : }
3989 :
3990 0 : compiler::TNode<Smi> tmp2;
3991 0 : ca_.Bind(&block2, &tmp2);
3992 0 : }
3993 :
3994 12 : compiler::TNode<Int32T> TestBuiltinsFromDSLAssembler::TypeswitchExample(compiler::TNode<Context> p_context, compiler::TNode<Object> p_x) {
3995 12 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3996 24 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3997 24 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, Object, FixedArray> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3998 24 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
3999 24 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4000 24 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, Object> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4001 24 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, Object, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4002 24 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4003 24 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, HeapObject> block13(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4004 24 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object, HeapObject, FixedArray> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4005 24 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block11(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4006 24 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4007 24 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T, Object> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4008 24 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4009 24 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Int32T> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4010 12 : ca_.Goto(&block0, p_context, p_x);
4011 :
4012 12 : if (block0.is_used()) {
4013 12 : compiler::TNode<Context> tmp0;
4014 12 : compiler::TNode<Object> tmp1;
4015 12 : ca_.Bind(&block0, &tmp0, &tmp1);
4016 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 440);
4017 12 : compiler::TNode<Int32T> tmp2;
4018 12 : USE(tmp2);
4019 12 : tmp2 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(0));
4020 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 441);
4021 12 : compiler::TNode<Object> tmp3;
4022 12 : USE(tmp3);
4023 12 : tmp3 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).IncrementIfSmi34UT12ATHeapNumber5ATSmi10FixedArray(compiler::TNode<Object>{tmp1}));
4024 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 442);
4025 12 : compiler::TNode<FixedArray> tmp4;
4026 12 : USE(tmp4);
4027 12 : compiler::CodeAssemblerLabel label0(&ca_);
4028 12 : tmp4 = BaseBuiltinsFromDSLAssembler(state_).Cast10FixedArray(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp3}, &label0);
4029 12 : ca_.Goto(&block4, tmp0, tmp1, tmp2, tmp3, tmp3, tmp4);
4030 12 : if (label0.is_used()) {
4031 12 : ca_.Bind(&label0);
4032 12 : ca_.Goto(&block5, tmp0, tmp1, tmp2, tmp3, tmp3);
4033 12 : }
4034 : }
4035 :
4036 12 : if (block5.is_used()) {
4037 12 : compiler::TNode<Context> tmp5;
4038 12 : compiler::TNode<Object> tmp6;
4039 12 : compiler::TNode<Int32T> tmp7;
4040 12 : compiler::TNode<Object> tmp8;
4041 12 : compiler::TNode<Object> tmp9;
4042 12 : ca_.Bind(&block5, &tmp5, &tmp6, &tmp7, &tmp8, &tmp9);
4043 12 : ca_.Goto(&block3, tmp5, tmp6, tmp7, tmp8);
4044 : }
4045 :
4046 12 : if (block4.is_used()) {
4047 12 : compiler::TNode<Context> tmp10;
4048 12 : compiler::TNode<Object> tmp11;
4049 12 : compiler::TNode<Int32T> tmp12;
4050 12 : compiler::TNode<Object> tmp13;
4051 12 : compiler::TNode<Object> tmp14;
4052 12 : compiler::TNode<FixedArray> tmp15;
4053 12 : ca_.Bind(&block4, &tmp10, &tmp11, &tmp12, &tmp13, &tmp14, &tmp15);
4054 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 443);
4055 12 : compiler::TNode<Int32T> tmp16;
4056 12 : USE(tmp16);
4057 12 : tmp16 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(1));
4058 12 : compiler::TNode<Int32T> tmp17;
4059 12 : USE(tmp17);
4060 12 : tmp17 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Add(compiler::TNode<Int32T>{tmp12}, compiler::TNode<Int32T>{tmp16}));
4061 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 442);
4062 12 : ca_.Goto(&block2, tmp10, tmp11, tmp17, tmp13);
4063 : }
4064 :
4065 12 : if (block3.is_used()) {
4066 12 : compiler::TNode<Context> tmp18;
4067 12 : compiler::TNode<Object> tmp19;
4068 12 : compiler::TNode<Int32T> tmp20;
4069 12 : compiler::TNode<Object> tmp21;
4070 12 : ca_.Bind(&block3, &tmp18, &tmp19, &tmp20, &tmp21);
4071 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 445);
4072 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 446);
4073 12 : compiler::TNode<Int32T> tmp22;
4074 12 : USE(tmp22);
4075 12 : tmp22 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(2));
4076 12 : compiler::TNode<Int32T> tmp23;
4077 12 : USE(tmp23);
4078 12 : tmp23 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Add(compiler::TNode<Int32T>{tmp20}, compiler::TNode<Int32T>{tmp22}));
4079 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 442);
4080 12 : ca_.Goto(&block2, tmp18, tmp19, tmp23, tmp21);
4081 : }
4082 :
4083 12 : if (block2.is_used()) {
4084 12 : compiler::TNode<Context> tmp24;
4085 12 : compiler::TNode<Object> tmp25;
4086 12 : compiler::TNode<Int32T> tmp26;
4087 12 : compiler::TNode<Object> tmp27;
4088 12 : ca_.Bind(&block2, &tmp24, &tmp25, &tmp26, &tmp27);
4089 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 441);
4090 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 450);
4091 12 : compiler::TNode<Int32T> tmp28;
4092 12 : USE(tmp28);
4093 12 : tmp28 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(10));
4094 12 : compiler::TNode<Int32T> tmp29;
4095 12 : USE(tmp29);
4096 12 : tmp29 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Mul(compiler::TNode<Int32T>{tmp26}, compiler::TNode<Int32T>{tmp28}));
4097 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 452);
4098 12 : compiler::TNode<Object> tmp30;
4099 12 : USE(tmp30);
4100 12 : tmp30 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).IncrementIfSmi34UT12ATHeapNumber5ATSmi10FixedArray(compiler::TNode<Object>{tmp25}));
4101 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 453);
4102 12 : compiler::TNode<Smi> tmp31;
4103 12 : USE(tmp31);
4104 12 : compiler::CodeAssemblerLabel label0(&ca_);
4105 12 : tmp31 = BaseBuiltinsFromDSLAssembler(state_).Cast5ATSmi(compiler::TNode<Object>{tmp30}, &label0);
4106 12 : ca_.Goto(&block8, tmp24, tmp25, tmp29, tmp30, tmp30, tmp31);
4107 12 : if (label0.is_used()) {
4108 12 : ca_.Bind(&label0);
4109 12 : ca_.Goto(&block9, tmp24, tmp25, tmp29, tmp30, tmp30);
4110 12 : }
4111 : }
4112 :
4113 12 : if (block9.is_used()) {
4114 12 : compiler::TNode<Context> tmp32;
4115 12 : compiler::TNode<Object> tmp33;
4116 12 : compiler::TNode<Int32T> tmp34;
4117 12 : compiler::TNode<Object> tmp35;
4118 12 : compiler::TNode<Object> tmp36;
4119 12 : ca_.Bind(&block9, &tmp32, &tmp33, &tmp34, &tmp35, &tmp36);
4120 12 : ca_.Goto(&block7, tmp32, tmp33, tmp34, tmp35);
4121 : }
4122 :
4123 12 : if (block8.is_used()) {
4124 12 : compiler::TNode<Context> tmp37;
4125 12 : compiler::TNode<Object> tmp38;
4126 12 : compiler::TNode<Int32T> tmp39;
4127 12 : compiler::TNode<Object> tmp40;
4128 12 : compiler::TNode<Object> tmp41;
4129 12 : compiler::TNode<Smi> tmp42;
4130 12 : ca_.Bind(&block8, &tmp37, &tmp38, &tmp39, &tmp40, &tmp41, &tmp42);
4131 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 454);
4132 12 : compiler::TNode<Int32T> tmp43;
4133 12 : USE(tmp43);
4134 12 : tmp43 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).Convert7ATint325ATSmi(compiler::TNode<Smi>{tmp42}));
4135 12 : compiler::TNode<Int32T> tmp44;
4136 12 : USE(tmp44);
4137 12 : tmp44 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Add(compiler::TNode<Int32T>{tmp39}, compiler::TNode<Int32T>{tmp43}));
4138 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 453);
4139 12 : ca_.Goto(&block6, tmp37, tmp38, tmp44, tmp40);
4140 : }
4141 :
4142 12 : if (block7.is_used()) {
4143 12 : compiler::TNode<Context> tmp45;
4144 12 : compiler::TNode<Object> tmp46;
4145 12 : compiler::TNode<Int32T> tmp47;
4146 12 : compiler::TNode<Object> tmp48;
4147 12 : ca_.Bind(&block7, &tmp45, &tmp46, &tmp47, &tmp48);
4148 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 456);
4149 12 : compiler::TNode<FixedArray> tmp49;
4150 12 : USE(tmp49);
4151 12 : compiler::CodeAssemblerLabel label0(&ca_);
4152 12 : tmp49 = BaseBuiltinsFromDSLAssembler(state_).Cast10FixedArray(compiler::TNode<HeapObject>{ca_.UncheckedCast<HeapObject>(tmp48)}, &label0);
4153 12 : ca_.Goto(&block12, tmp45, tmp46, tmp47, tmp48, ca_.UncheckedCast<HeapObject>(tmp48), tmp49);
4154 12 : if (label0.is_used()) {
4155 12 : ca_.Bind(&label0);
4156 12 : ca_.Goto(&block13, tmp45, tmp46, tmp47, tmp48, ca_.UncheckedCast<HeapObject>(tmp48));
4157 12 : }
4158 : }
4159 :
4160 12 : if (block13.is_used()) {
4161 12 : compiler::TNode<Context> tmp50;
4162 12 : compiler::TNode<Object> tmp51;
4163 12 : compiler::TNode<Int32T> tmp52;
4164 12 : compiler::TNode<Object> tmp53;
4165 12 : compiler::TNode<HeapObject> tmp54;
4166 12 : ca_.Bind(&block13, &tmp50, &tmp51, &tmp52, &tmp53, &tmp54);
4167 12 : ca_.Goto(&block11, tmp50, tmp51, tmp52, tmp53);
4168 : }
4169 :
4170 12 : if (block12.is_used()) {
4171 12 : compiler::TNode<Context> tmp55;
4172 12 : compiler::TNode<Object> tmp56;
4173 12 : compiler::TNode<Int32T> tmp57;
4174 12 : compiler::TNode<Object> tmp58;
4175 12 : compiler::TNode<HeapObject> tmp59;
4176 12 : compiler::TNode<FixedArray> tmp60;
4177 12 : ca_.Bind(&block12, &tmp55, &tmp56, &tmp57, &tmp58, &tmp59, &tmp60);
4178 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 457);
4179 12 : compiler::TNode<Smi> tmp61;
4180 12 : USE(tmp61);
4181 12 : tmp61 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).LoadFixedArrayBaseLength(compiler::TNode<FixedArrayBase>{tmp60}));
4182 12 : compiler::TNode<Int32T> tmp62;
4183 12 : USE(tmp62);
4184 12 : tmp62 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).Convert7ATint325ATSmi(compiler::TNode<Smi>{tmp61}));
4185 12 : compiler::TNode<Int32T> tmp63;
4186 12 : USE(tmp63);
4187 12 : tmp63 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Add(compiler::TNode<Int32T>{tmp57}, compiler::TNode<Int32T>{tmp62}));
4188 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 456);
4189 12 : ca_.Goto(&block10, tmp55, tmp56, tmp63, tmp58);
4190 : }
4191 :
4192 12 : if (block11.is_used()) {
4193 12 : compiler::TNode<Context> tmp64;
4194 12 : compiler::TNode<Object> tmp65;
4195 12 : compiler::TNode<Int32T> tmp66;
4196 12 : compiler::TNode<Object> tmp67;
4197 12 : ca_.Bind(&block11, &tmp64, &tmp65, &tmp66, &tmp67);
4198 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 459);
4199 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 460);
4200 12 : compiler::TNode<Int32T> tmp68;
4201 12 : USE(tmp68);
4202 12 : tmp68 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(7));
4203 12 : compiler::TNode<Int32T> tmp69;
4204 12 : USE(tmp69);
4205 12 : tmp69 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).Int32Add(compiler::TNode<Int32T>{tmp66}, compiler::TNode<Int32T>{tmp68}));
4206 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 456);
4207 12 : ca_.Goto(&block10, tmp64, tmp65, tmp69, tmp67);
4208 : }
4209 :
4210 12 : if (block10.is_used()) {
4211 12 : compiler::TNode<Context> tmp70;
4212 12 : compiler::TNode<Object> tmp71;
4213 12 : compiler::TNode<Int32T> tmp72;
4214 12 : compiler::TNode<Object> tmp73;
4215 12 : ca_.Bind(&block10, &tmp70, &tmp71, &tmp72, &tmp73);
4216 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 453);
4217 12 : ca_.Goto(&block6, tmp70, tmp71, tmp72, tmp73);
4218 : }
4219 :
4220 12 : if (block6.is_used()) {
4221 12 : compiler::TNode<Context> tmp74;
4222 12 : compiler::TNode<Object> tmp75;
4223 12 : compiler::TNode<Int32T> tmp76;
4224 12 : compiler::TNode<Object> tmp77;
4225 12 : ca_.Bind(&block6, &tmp74, &tmp75, &tmp76, &tmp77);
4226 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 452);
4227 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 464);
4228 12 : ca_.Goto(&block1, tmp74, tmp75, tmp76);
4229 : }
4230 :
4231 12 : if (block1.is_used()) {
4232 12 : compiler::TNode<Context> tmp78;
4233 12 : compiler::TNode<Object> tmp79;
4234 12 : compiler::TNode<Int32T> tmp80;
4235 12 : ca_.Bind(&block1, &tmp78, &tmp79, &tmp80);
4236 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 438);
4237 12 : ca_.Goto(&block14, tmp78, tmp79, tmp80);
4238 : }
4239 :
4240 12 : compiler::TNode<Context> tmp81;
4241 12 : compiler::TNode<Object> tmp82;
4242 12 : compiler::TNode<Int32T> tmp83;
4243 12 : ca_.Bind(&block14, &tmp81, &tmp82, &tmp83);
4244 24 : return compiler::TNode<Int32T>{tmp83};
4245 : }
4246 :
4247 4 : void TestBuiltinsFromDSLAssembler::TestTypeswitch(compiler::TNode<Context> p_context) {
4248 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4249 8 : compiler::CodeAssemblerParameterizedLabel<Context> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4250 8 : compiler::CodeAssemblerParameterizedLabel<Context> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4251 8 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4252 8 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4253 8 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4254 8 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4255 8 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4256 8 : compiler::CodeAssemblerParameterizedLabel<Context> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4257 4 : ca_.Goto(&block0, p_context);
4258 :
4259 4 : if (block0.is_used()) {
4260 4 : compiler::TNode<Context> tmp0;
4261 4 : ca_.Bind(&block0, &tmp0);
4262 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 468);
4263 4 : compiler::TNode<Smi> tmp1;
4264 4 : USE(tmp1);
4265 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
4266 4 : compiler::TNode<Int32T> tmp2;
4267 4 : USE(tmp2);
4268 4 : tmp2 = ca_.UncheckedCast<Int32T>(TestBuiltinsFromDSLAssembler(state_).TypeswitchExample(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}));
4269 4 : compiler::TNode<Int32T> tmp3;
4270 4 : USE(tmp3);
4271 4 : tmp3 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(26));
4272 4 : compiler::TNode<BoolT> tmp4;
4273 4 : USE(tmp4);
4274 4 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32Equal(compiler::TNode<Int32T>{tmp2}, compiler::TNode<Int32T>{tmp3}));
4275 4 : ca_.Branch(tmp4, &block2, &block3, tmp0);
4276 : }
4277 :
4278 4 : if (block3.is_used()) {
4279 4 : compiler::TNode<Context> tmp5;
4280 4 : ca_.Bind(&block3, &tmp5);
4281 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TypeswitchExample(FromConstexpr<Smi>(5)) == 26\' failed", "../../test/torque/test-torque.tq", 468);
4282 : }
4283 :
4284 4 : if (block2.is_used()) {
4285 4 : compiler::TNode<Context> tmp6;
4286 4 : ca_.Bind(&block2, &tmp6);
4287 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 469);
4288 4 : compiler::TNode<IntPtrT> tmp7;
4289 4 : USE(tmp7);
4290 4 : tmp7 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(3));
4291 4 : compiler::TNode<FixedArray> tmp8;
4292 4 : USE(tmp8);
4293 4 : tmp8 = ca_.UncheckedCast<FixedArray>(CodeStubAssembler(state_).AllocateZeroedFixedArray(compiler::TNode<IntPtrT>{tmp7}));
4294 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 470);
4295 4 : compiler::TNode<Int32T> tmp9;
4296 4 : USE(tmp9);
4297 4 : tmp9 = ca_.UncheckedCast<Int32T>(TestBuiltinsFromDSLAssembler(state_).TypeswitchExample(compiler::TNode<Context>{tmp6}, compiler::TNode<Object>{tmp8}));
4298 4 : compiler::TNode<Int32T> tmp10;
4299 4 : USE(tmp10);
4300 4 : tmp10 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(13));
4301 4 : compiler::TNode<BoolT> tmp11;
4302 4 : USE(tmp11);
4303 4 : tmp11 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32Equal(compiler::TNode<Int32T>{tmp9}, compiler::TNode<Int32T>{tmp10}));
4304 4 : ca_.Branch(tmp11, &block4, &block5, tmp6, tmp8);
4305 : }
4306 :
4307 4 : if (block5.is_used()) {
4308 4 : compiler::TNode<Context> tmp12;
4309 4 : compiler::TNode<FixedArray> tmp13;
4310 4 : ca_.Bind(&block5, &tmp12, &tmp13);
4311 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TypeswitchExample(a) == 13\' failed", "../../test/torque/test-torque.tq", 470);
4312 : }
4313 :
4314 4 : if (block4.is_used()) {
4315 4 : compiler::TNode<Context> tmp14;
4316 4 : compiler::TNode<FixedArray> tmp15;
4317 4 : ca_.Bind(&block4, &tmp14, &tmp15);
4318 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 471);
4319 4 : compiler::TNode<Number> tmp16;
4320 4 : USE(tmp16);
4321 4 : tmp16 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr22UT12ATHeapNumber5ATSmi19ATconstexpr_float64(0.5));
4322 4 : compiler::TNode<Int32T> tmp17;
4323 4 : USE(tmp17);
4324 4 : tmp17 = ca_.UncheckedCast<Int32T>(TestBuiltinsFromDSLAssembler(state_).TypeswitchExample(compiler::TNode<Context>{tmp14}, compiler::TNode<Object>{tmp16}));
4325 4 : compiler::TNode<Int32T> tmp18;
4326 4 : USE(tmp18);
4327 4 : tmp18 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(27));
4328 4 : compiler::TNode<BoolT> tmp19;
4329 4 : USE(tmp19);
4330 4 : tmp19 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32Equal(compiler::TNode<Int32T>{tmp17}, compiler::TNode<Int32T>{tmp18}));
4331 4 : ca_.Branch(tmp19, &block6, &block7, tmp14, tmp15);
4332 : }
4333 :
4334 4 : if (block7.is_used()) {
4335 4 : compiler::TNode<Context> tmp20;
4336 4 : compiler::TNode<FixedArray> tmp21;
4337 4 : ca_.Bind(&block7, &tmp20, &tmp21);
4338 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TypeswitchExample(FromConstexpr<Number>(0.5)) == 27\' failed", "../../test/torque/test-torque.tq", 471);
4339 : }
4340 :
4341 4 : if (block6.is_used()) {
4342 4 : compiler::TNode<Context> tmp22;
4343 4 : compiler::TNode<FixedArray> tmp23;
4344 4 : ca_.Bind(&block6, &tmp22, &tmp23);
4345 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 467);
4346 4 : ca_.Goto(&block1, tmp22);
4347 : }
4348 :
4349 4 : if (block1.is_used()) {
4350 4 : compiler::TNode<Context> tmp24;
4351 4 : ca_.Bind(&block1, &tmp24);
4352 4 : ca_.Goto(&block8, tmp24);
4353 : }
4354 :
4355 4 : compiler::TNode<Context> tmp25;
4356 8 : ca_.Bind(&block8, &tmp25);
4357 4 : }
4358 :
4359 0 : void TestBuiltinsFromDSLAssembler::TestTypeswitchAsanLsanFailure(compiler::TNode<Context> p_context, compiler::TNode<Object> p_obj) {
4360 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4361 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4362 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, Object, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4363 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4364 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, HeapObject> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4365 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, HeapObject, JSTypedArray> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4366 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4367 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, HeapObject> block13(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4368 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object, HeapObject, JSReceiver> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4369 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block11(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4370 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4371 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4372 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4373 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4374 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4375 0 : ca_.Goto(&block0, p_context, p_obj);
4376 :
4377 0 : if (block0.is_used()) {
4378 0 : compiler::TNode<Context> tmp0;
4379 0 : compiler::TNode<Object> tmp1;
4380 0 : ca_.Bind(&block0, &tmp0, &tmp1);
4381 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 475);
4382 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 476);
4383 0 : compiler::TNode<Smi> tmp2;
4384 0 : USE(tmp2);
4385 0 : compiler::CodeAssemblerLabel label0(&ca_);
4386 0 : tmp2 = BaseBuiltinsFromDSLAssembler(state_).Cast5ATSmi(compiler::TNode<Object>{tmp1}, &label0);
4387 0 : ca_.Goto(&block4, tmp0, tmp1, tmp1, tmp1, tmp2);
4388 0 : if (label0.is_used()) {
4389 0 : ca_.Bind(&label0);
4390 0 : ca_.Goto(&block5, tmp0, tmp1, tmp1, tmp1);
4391 0 : }
4392 : }
4393 :
4394 0 : if (block5.is_used()) {
4395 0 : compiler::TNode<Context> tmp3;
4396 0 : compiler::TNode<Object> tmp4;
4397 0 : compiler::TNode<Object> tmp5;
4398 0 : compiler::TNode<Object> tmp6;
4399 0 : ca_.Bind(&block5, &tmp3, &tmp4, &tmp5, &tmp6);
4400 0 : ca_.Goto(&block3, tmp3, tmp4, tmp5);
4401 : }
4402 :
4403 0 : if (block4.is_used()) {
4404 0 : compiler::TNode<Context> tmp7;
4405 0 : compiler::TNode<Object> tmp8;
4406 0 : compiler::TNode<Object> tmp9;
4407 0 : compiler::TNode<Object> tmp10;
4408 0 : compiler::TNode<Smi> tmp11;
4409 0 : ca_.Bind(&block4, &tmp7, &tmp8, &tmp9, &tmp10, &tmp11);
4410 0 : ca_.Goto(&block2, tmp7, tmp8, tmp9);
4411 : }
4412 :
4413 0 : if (block3.is_used()) {
4414 0 : compiler::TNode<Context> tmp12;
4415 0 : compiler::TNode<Object> tmp13;
4416 0 : compiler::TNode<Object> tmp14;
4417 0 : ca_.Bind(&block3, &tmp12, &tmp13, &tmp14);
4418 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 478);
4419 0 : compiler::TNode<JSTypedArray> tmp15;
4420 0 : USE(tmp15);
4421 0 : compiler::CodeAssemblerLabel label0(&ca_);
4422 0 : tmp15 = BaseBuiltinsFromDSLAssembler(state_).Cast12JSTypedArray(compiler::TNode<HeapObject>{ca_.UncheckedCast<HeapObject>(tmp14)}, &label0);
4423 0 : ca_.Goto(&block8, tmp12, tmp13, tmp14, ca_.UncheckedCast<HeapObject>(tmp14), tmp15);
4424 0 : if (label0.is_used()) {
4425 0 : ca_.Bind(&label0);
4426 0 : ca_.Goto(&block9, tmp12, tmp13, tmp14, ca_.UncheckedCast<HeapObject>(tmp14));
4427 0 : }
4428 : }
4429 :
4430 0 : if (block9.is_used()) {
4431 0 : compiler::TNode<Context> tmp16;
4432 0 : compiler::TNode<Object> tmp17;
4433 0 : compiler::TNode<Object> tmp18;
4434 0 : compiler::TNode<HeapObject> tmp19;
4435 0 : ca_.Bind(&block9, &tmp16, &tmp17, &tmp18, &tmp19);
4436 0 : ca_.Goto(&block7, tmp16, tmp17, tmp18);
4437 : }
4438 :
4439 0 : if (block8.is_used()) {
4440 0 : compiler::TNode<Context> tmp20;
4441 0 : compiler::TNode<Object> tmp21;
4442 0 : compiler::TNode<Object> tmp22;
4443 0 : compiler::TNode<HeapObject> tmp23;
4444 0 : compiler::TNode<JSTypedArray> tmp24;
4445 0 : ca_.Bind(&block8, &tmp20, &tmp21, &tmp22, &tmp23, &tmp24);
4446 0 : ca_.Goto(&block6, tmp20, tmp21, tmp22);
4447 : }
4448 :
4449 0 : if (block7.is_used()) {
4450 0 : compiler::TNode<Context> tmp25;
4451 0 : compiler::TNode<Object> tmp26;
4452 0 : compiler::TNode<Object> tmp27;
4453 0 : ca_.Bind(&block7, &tmp25, &tmp26, &tmp27);
4454 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 480);
4455 0 : compiler::TNode<JSReceiver> tmp28;
4456 0 : USE(tmp28);
4457 0 : compiler::CodeAssemblerLabel label0(&ca_);
4458 0 : tmp28 = BaseBuiltinsFromDSLAssembler(state_).Cast10JSReceiver(compiler::TNode<Context>{tmp25}, compiler::TNode<HeapObject>{ca_.UncheckedCast<HeapObject>(tmp27)}, &label0);
4459 0 : ca_.Goto(&block12, tmp25, tmp26, tmp27, ca_.UncheckedCast<HeapObject>(tmp27), tmp28);
4460 0 : if (label0.is_used()) {
4461 0 : ca_.Bind(&label0);
4462 0 : ca_.Goto(&block13, tmp25, tmp26, tmp27, ca_.UncheckedCast<HeapObject>(tmp27));
4463 0 : }
4464 : }
4465 :
4466 0 : if (block13.is_used()) {
4467 0 : compiler::TNode<Context> tmp29;
4468 0 : compiler::TNode<Object> tmp30;
4469 0 : compiler::TNode<Object> tmp31;
4470 0 : compiler::TNode<HeapObject> tmp32;
4471 0 : ca_.Bind(&block13, &tmp29, &tmp30, &tmp31, &tmp32);
4472 0 : ca_.Goto(&block11, tmp29, tmp30, tmp31);
4473 : }
4474 :
4475 0 : if (block12.is_used()) {
4476 0 : compiler::TNode<Context> tmp33;
4477 0 : compiler::TNode<Object> tmp34;
4478 0 : compiler::TNode<Object> tmp35;
4479 0 : compiler::TNode<HeapObject> tmp36;
4480 0 : compiler::TNode<JSReceiver> tmp37;
4481 0 : ca_.Bind(&block12, &tmp33, &tmp34, &tmp35, &tmp36, &tmp37);
4482 0 : ca_.Goto(&block10, tmp33, tmp34, tmp35);
4483 : }
4484 :
4485 0 : if (block11.is_used()) {
4486 0 : compiler::TNode<Context> tmp38;
4487 0 : compiler::TNode<Object> tmp39;
4488 0 : compiler::TNode<Object> tmp40;
4489 0 : ca_.Bind(&block11, &tmp38, &tmp39, &tmp40);
4490 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 482);
4491 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 480);
4492 0 : ca_.Goto(&block10, tmp38, tmp39, tmp40);
4493 : }
4494 :
4495 0 : if (block10.is_used()) {
4496 0 : compiler::TNode<Context> tmp41;
4497 0 : compiler::TNode<Object> tmp42;
4498 0 : compiler::TNode<Object> tmp43;
4499 0 : ca_.Bind(&block10, &tmp41, &tmp42, &tmp43);
4500 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 478);
4501 0 : ca_.Goto(&block6, tmp41, tmp42, tmp43);
4502 : }
4503 :
4504 0 : if (block6.is_used()) {
4505 0 : compiler::TNode<Context> tmp44;
4506 0 : compiler::TNode<Object> tmp45;
4507 0 : compiler::TNode<Object> tmp46;
4508 0 : ca_.Bind(&block6, &tmp44, &tmp45, &tmp46);
4509 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 476);
4510 0 : ca_.Goto(&block2, tmp44, tmp45, tmp46);
4511 : }
4512 :
4513 0 : if (block2.is_used()) {
4514 0 : compiler::TNode<Context> tmp47;
4515 0 : compiler::TNode<Object> tmp48;
4516 0 : compiler::TNode<Object> tmp49;
4517 0 : ca_.Bind(&block2, &tmp47, &tmp48, &tmp49);
4518 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 475);
4519 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 474);
4520 0 : ca_.Goto(&block1, tmp47, tmp48);
4521 : }
4522 :
4523 0 : if (block1.is_used()) {
4524 0 : compiler::TNode<Context> tmp50;
4525 0 : compiler::TNode<Object> tmp51;
4526 0 : ca_.Bind(&block1, &tmp50, &tmp51);
4527 0 : ca_.Goto(&block14, tmp50, tmp51);
4528 : }
4529 :
4530 0 : compiler::TNode<Context> tmp52;
4531 0 : compiler::TNode<Object> tmp53;
4532 0 : ca_.Bind(&block14, &tmp52, &tmp53);
4533 0 : }
4534 :
4535 4 : void TestBuiltinsFromDSLAssembler::TestGenericOverload(compiler::TNode<Context> p_context) {
4536 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4537 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4538 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4539 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4540 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4541 8 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4542 8 : compiler::CodeAssemblerParameterizedLabel<Context> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4543 4 : ca_.Goto(&block0, p_context);
4544 :
4545 4 : if (block0.is_used()) {
4546 4 : compiler::TNode<Context> tmp0;
4547 4 : ca_.Bind(&block0, &tmp0);
4548 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 495);
4549 4 : compiler::TNode<Smi> tmp1;
4550 4 : USE(tmp1);
4551 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
4552 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 496);
4553 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 497);
4554 4 : compiler::TNode<Smi> tmp2;
4555 4 : USE(tmp2);
4556 4 : tmp2 = ca_.UncheckedCast<Smi>(TestBuiltinsFromDSLAssembler(state_).ExampleGenericOverload5ATSmi(compiler::TNode<Smi>{tmp1}));
4557 4 : compiler::TNode<Smi> tmp3;
4558 4 : USE(tmp3);
4559 4 : tmp3 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(6));
4560 4 : compiler::TNode<BoolT> tmp4;
4561 4 : USE(tmp4);
4562 4 : tmp4 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp2}, compiler::TNode<Smi>{tmp3}));
4563 4 : ca_.Branch(tmp4, &block2, &block3, tmp0, tmp1, tmp1);
4564 : }
4565 :
4566 4 : if (block3.is_used()) {
4567 4 : compiler::TNode<Context> tmp5;
4568 4 : compiler::TNode<Smi> tmp6;
4569 4 : compiler::TNode<Object> tmp7;
4570 4 : ca_.Bind(&block3, &tmp5, &tmp6, &tmp7);
4571 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'ExampleGenericOverload<Smi>(xSmi) == 6\' failed", "../../test/torque/test-torque.tq", 497);
4572 : }
4573 :
4574 4 : if (block2.is_used()) {
4575 4 : compiler::TNode<Context> tmp8;
4576 4 : compiler::TNode<Smi> tmp9;
4577 4 : compiler::TNode<Object> tmp10;
4578 4 : ca_.Bind(&block2, &tmp8, &tmp9, &tmp10);
4579 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 498);
4580 4 : compiler::TNode<Object> tmp11;
4581 4 : USE(tmp11);
4582 4 : tmp11 = ca_.UncheckedCast<Object>(TestBuiltinsFromDSLAssembler(state_).ExampleGenericOverload20UT5ATSmi10HeapObject(compiler::TNode<Object>{tmp10}));
4583 4 : compiler::TNode<Smi> tmp12;
4584 4 : USE(tmp12);
4585 4 : tmp12 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).UnsafeCast5ATSmi(compiler::TNode<Context>{tmp8}, compiler::TNode<Object>{tmp11}));
4586 4 : compiler::TNode<Smi> tmp13;
4587 4 : USE(tmp13);
4588 4 : tmp13 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
4589 4 : compiler::TNode<BoolT> tmp14;
4590 4 : USE(tmp14);
4591 4 : tmp14 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp12}, compiler::TNode<Smi>{tmp13}));
4592 4 : ca_.Branch(tmp14, &block4, &block5, tmp8, tmp9, tmp10);
4593 : }
4594 :
4595 4 : if (block5.is_used()) {
4596 4 : compiler::TNode<Context> tmp15;
4597 4 : compiler::TNode<Smi> tmp16;
4598 4 : compiler::TNode<Object> tmp17;
4599 4 : ca_.Bind(&block5, &tmp15, &tmp16, &tmp17);
4600 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'UnsafeCast<Smi>(ExampleGenericOverload<Object>(xObject)) == 5\' failed", "../../test/torque/test-torque.tq", 498);
4601 : }
4602 :
4603 4 : if (block4.is_used()) {
4604 4 : compiler::TNode<Context> tmp18;
4605 4 : compiler::TNode<Smi> tmp19;
4606 4 : compiler::TNode<Object> tmp20;
4607 4 : ca_.Bind(&block4, &tmp18, &tmp19, &tmp20);
4608 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 494);
4609 4 : ca_.Goto(&block1, tmp18);
4610 : }
4611 :
4612 4 : if (block1.is_used()) {
4613 4 : compiler::TNode<Context> tmp21;
4614 4 : ca_.Bind(&block1, &tmp21);
4615 4 : ca_.Goto(&block6, tmp21);
4616 : }
4617 :
4618 4 : compiler::TNode<Context> tmp22;
4619 8 : ca_.Bind(&block6, &tmp22);
4620 4 : }
4621 :
4622 4 : void TestBuiltinsFromDSLAssembler::TestEquality(compiler::TNode<Context> p_context) {
4623 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4624 8 : compiler::CodeAssemblerParameterizedLabel<Context, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4625 8 : compiler::CodeAssemblerParameterizedLabel<Context, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4626 8 : compiler::CodeAssemblerParameterizedLabel<Context, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
4627 8 : compiler::CodeAssemblerParameterizedLabel<Context, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4628 8 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4629 8 : compiler::CodeAssemblerParameterizedLabel<Context> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4630 4 : ca_.Goto(&block0, p_context);
4631 :
4632 4 : if (block0.is_used()) {
4633 4 : compiler::TNode<Context> tmp0;
4634 4 : ca_.Bind(&block0, &tmp0);
4635 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 503);
4636 4 : compiler::TNode<Float64T> tmp1;
4637 4 : USE(tmp1);
4638 4 : tmp1 = ca_.UncheckedCast<Float64T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr9ATfloat6419ATconstexpr_float64(0.5));
4639 4 : compiler::TNode<HeapNumber> tmp2;
4640 4 : USE(tmp2);
4641 4 : tmp2 = ca_.UncheckedCast<HeapNumber>(CodeStubAssembler(state_).AllocateHeapNumberWithValue(compiler::TNode<Float64T>{tmp1}));
4642 4 : compiler::TNode<Float64T> tmp3;
4643 4 : USE(tmp3);
4644 4 : tmp3 = ca_.UncheckedCast<Float64T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr9ATfloat6419ATconstexpr_float64(0.5));
4645 4 : compiler::TNode<HeapNumber> tmp4;
4646 4 : USE(tmp4);
4647 4 : tmp4 = ca_.UncheckedCast<HeapNumber>(CodeStubAssembler(state_).AllocateHeapNumberWithValue(compiler::TNode<Float64T>{tmp3}));
4648 4 : compiler::TNode<BoolT> tmp5;
4649 4 : USE(tmp5);
4650 4 : tmp5 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).IsNumberNotEqual(compiler::TNode<Number>{tmp2}, compiler::TNode<Number>{tmp4}));
4651 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 502);
4652 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 504);
4653 4 : compiler::TNode<BoolT> tmp6;
4654 4 : USE(tmp6);
4655 4 : tmp6 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp5}));
4656 4 : ca_.Branch(tmp6, &block2, &block3, tmp0, tmp5);
4657 : }
4658 :
4659 4 : if (block3.is_used()) {
4660 4 : compiler::TNode<Context> tmp7;
4661 4 : compiler::TNode<BoolT> tmp8;
4662 4 : ca_.Bind(&block3, &tmp7, &tmp8);
4663 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!notEqual\' failed", "../../test/torque/test-torque.tq", 504);
4664 : }
4665 :
4666 4 : if (block2.is_used()) {
4667 4 : compiler::TNode<Context> tmp9;
4668 4 : compiler::TNode<BoolT> tmp10;
4669 4 : ca_.Bind(&block2, &tmp9, &tmp10);
4670 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 506);
4671 4 : compiler::TNode<Float64T> tmp11;
4672 4 : USE(tmp11);
4673 4 : tmp11 = ca_.UncheckedCast<Float64T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr9ATfloat6419ATconstexpr_float64(0.5));
4674 4 : compiler::TNode<HeapNumber> tmp12;
4675 4 : USE(tmp12);
4676 4 : tmp12 = ca_.UncheckedCast<HeapNumber>(CodeStubAssembler(state_).AllocateHeapNumberWithValue(compiler::TNode<Float64T>{tmp11}));
4677 4 : compiler::TNode<Float64T> tmp13;
4678 4 : USE(tmp13);
4679 4 : tmp13 = ca_.UncheckedCast<Float64T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr9ATfloat6419ATconstexpr_float64(0.5));
4680 4 : compiler::TNode<HeapNumber> tmp14;
4681 4 : USE(tmp14);
4682 4 : tmp14 = ca_.UncheckedCast<HeapNumber>(CodeStubAssembler(state_).AllocateHeapNumberWithValue(compiler::TNode<Float64T>{tmp13}));
4683 4 : compiler::TNode<BoolT> tmp15;
4684 4 : USE(tmp15);
4685 4 : tmp15 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).IsNumberEqual(compiler::TNode<Number>{tmp12}, compiler::TNode<Number>{tmp14}));
4686 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 505);
4687 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 507);
4688 4 : ca_.Branch(tmp15, &block4, &block5, tmp9, tmp10, tmp15);
4689 : }
4690 :
4691 4 : if (block5.is_used()) {
4692 4 : compiler::TNode<Context> tmp16;
4693 4 : compiler::TNode<BoolT> tmp17;
4694 4 : compiler::TNode<BoolT> tmp18;
4695 4 : ca_.Bind(&block5, &tmp16, &tmp17, &tmp18);
4696 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'equal\' failed", "../../test/torque/test-torque.tq", 507);
4697 : }
4698 :
4699 4 : if (block4.is_used()) {
4700 4 : compiler::TNode<Context> tmp19;
4701 4 : compiler::TNode<BoolT> tmp20;
4702 4 : compiler::TNode<BoolT> tmp21;
4703 4 : ca_.Bind(&block4, &tmp19, &tmp20, &tmp21);
4704 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 501);
4705 4 : ca_.Goto(&block1, tmp19);
4706 : }
4707 :
4708 4 : if (block1.is_used()) {
4709 4 : compiler::TNode<Context> tmp22;
4710 4 : ca_.Bind(&block1, &tmp22);
4711 4 : ca_.Goto(&block6, tmp22);
4712 : }
4713 :
4714 4 : compiler::TNode<Context> tmp23;
4715 8 : ca_.Bind(&block6, &tmp23);
4716 4 : }
4717 :
4718 192 : void TestBuiltinsFromDSLAssembler::BoolToBranch(compiler::TNode<BoolT> p_x, compiler::CodeAssemblerLabel* label_Taken, compiler::CodeAssemblerLabel* label_NotTaken) {
4719 192 : compiler::CodeAssemblerParameterizedLabel<BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4720 384 : compiler::CodeAssemblerParameterizedLabel<BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4721 384 : compiler::CodeAssemblerParameterizedLabel<BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4722 384 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4723 384 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4724 192 : ca_.Goto(&block0, p_x);
4725 :
4726 192 : if (block0.is_used()) {
4727 192 : compiler::TNode<BoolT> tmp0;
4728 192 : ca_.Bind(&block0, &tmp0);
4729 192 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 512);
4730 192 : ca_.Branch(tmp0, &block3, &block4, tmp0);
4731 : }
4732 :
4733 192 : if (block3.is_used()) {
4734 192 : compiler::TNode<BoolT> tmp1;
4735 192 : ca_.Bind(&block3, &tmp1);
4736 192 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 513);
4737 192 : ca_.Goto(&block1);
4738 : }
4739 :
4740 192 : if (block4.is_used()) {
4741 192 : compiler::TNode<BoolT> tmp2;
4742 192 : ca_.Bind(&block4, &tmp2);
4743 192 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 515);
4744 192 : ca_.Goto(&block2);
4745 : }
4746 :
4747 192 : if (block1.is_used()) {
4748 192 : ca_.Bind(&block1);
4749 192 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 510);
4750 192 : ca_.Goto(label_Taken);
4751 : }
4752 :
4753 192 : if (block2.is_used()) {
4754 192 : ca_.Bind(&block2);
4755 192 : ca_.Goto(label_NotTaken);
4756 192 : }
4757 192 : }
4758 :
4759 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestOrAnd1(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
4760 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4761 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4762 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4763 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4764 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4765 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4766 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4767 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4768 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4769 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4770 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4771 32 : ca_.Goto(&block0, p_x, p_y, p_z);
4772 :
4773 32 : if (block0.is_used()) {
4774 32 : compiler::TNode<BoolT> tmp0;
4775 32 : compiler::TNode<BoolT> tmp1;
4776 32 : compiler::TNode<BoolT> tmp2;
4777 32 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
4778 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 520);
4779 32 : compiler::CodeAssemblerLabel label0(&ca_);
4780 64 : compiler::CodeAssemblerLabel label1(&ca_);
4781 32 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp0}, &label0, &label1);
4782 32 : if (label0.is_used()) {
4783 32 : ca_.Bind(&label0);
4784 32 : ca_.Goto(&block7, tmp0, tmp1, tmp2, tmp0);
4785 : }
4786 32 : if (label1.is_used()) {
4787 32 : ca_.Bind(&label1);
4788 32 : ca_.Goto(&block8, tmp0, tmp1, tmp2, tmp0);
4789 32 : }
4790 : }
4791 :
4792 32 : if (block7.is_used()) {
4793 32 : compiler::TNode<BoolT> tmp3;
4794 32 : compiler::TNode<BoolT> tmp4;
4795 32 : compiler::TNode<BoolT> tmp5;
4796 32 : compiler::TNode<BoolT> tmp6;
4797 32 : ca_.Bind(&block7, &tmp3, &tmp4, &tmp5, &tmp6);
4798 32 : ca_.Goto(&block2, tmp3, tmp4, tmp5);
4799 : }
4800 :
4801 32 : if (block8.is_used()) {
4802 32 : compiler::TNode<BoolT> tmp7;
4803 32 : compiler::TNode<BoolT> tmp8;
4804 32 : compiler::TNode<BoolT> tmp9;
4805 32 : compiler::TNode<BoolT> tmp10;
4806 32 : ca_.Bind(&block8, &tmp7, &tmp8, &tmp9, &tmp10);
4807 32 : ca_.Goto(&block6, tmp7, tmp8, tmp9);
4808 : }
4809 :
4810 32 : if (block6.is_used()) {
4811 32 : compiler::TNode<BoolT> tmp11;
4812 32 : compiler::TNode<BoolT> tmp12;
4813 32 : compiler::TNode<BoolT> tmp13;
4814 32 : ca_.Bind(&block6, &tmp11, &tmp12, &tmp13);
4815 32 : ca_.Branch(tmp12, &block9, &block3, tmp11, tmp12, tmp13);
4816 : }
4817 :
4818 32 : if (block9.is_used()) {
4819 32 : compiler::TNode<BoolT> tmp14;
4820 32 : compiler::TNode<BoolT> tmp15;
4821 32 : compiler::TNode<BoolT> tmp16;
4822 32 : ca_.Bind(&block9, &tmp14, &tmp15, &tmp16);
4823 32 : ca_.Branch(tmp16, &block2, &block3, tmp14, tmp15, tmp16);
4824 : }
4825 :
4826 32 : if (block2.is_used()) {
4827 32 : compiler::TNode<BoolT> tmp17;
4828 32 : compiler::TNode<BoolT> tmp18;
4829 32 : compiler::TNode<BoolT> tmp19;
4830 32 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
4831 32 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
4832 : }
4833 :
4834 32 : if (block3.is_used()) {
4835 32 : compiler::TNode<BoolT> tmp20;
4836 32 : compiler::TNode<BoolT> tmp21;
4837 32 : compiler::TNode<BoolT> tmp22;
4838 32 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
4839 32 : compiler::TNode<BoolT> tmp23;
4840 32 : USE(tmp23);
4841 32 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
4842 32 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
4843 : }
4844 :
4845 32 : if (block5.is_used()) {
4846 32 : compiler::TNode<BoolT> tmp24;
4847 32 : compiler::TNode<BoolT> tmp25;
4848 32 : compiler::TNode<BoolT> tmp26;
4849 32 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
4850 32 : compiler::TNode<BoolT> tmp27;
4851 32 : USE(tmp27);
4852 32 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
4853 32 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
4854 : }
4855 :
4856 32 : if (block4.is_used()) {
4857 32 : compiler::TNode<BoolT> tmp28;
4858 32 : compiler::TNode<BoolT> tmp29;
4859 32 : compiler::TNode<BoolT> tmp30;
4860 32 : compiler::TNode<BoolT> tmp31;
4861 32 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
4862 32 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
4863 : }
4864 :
4865 32 : if (block1.is_used()) {
4866 32 : compiler::TNode<BoolT> tmp32;
4867 32 : compiler::TNode<BoolT> tmp33;
4868 32 : compiler::TNode<BoolT> tmp34;
4869 32 : compiler::TNode<BoolT> tmp35;
4870 32 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
4871 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 519);
4872 32 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
4873 : }
4874 :
4875 32 : compiler::TNode<BoolT> tmp36;
4876 32 : compiler::TNode<BoolT> tmp37;
4877 32 : compiler::TNode<BoolT> tmp38;
4878 32 : compiler::TNode<BoolT> tmp39;
4879 32 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
4880 64 : return compiler::TNode<BoolT>{tmp39};
4881 : }
4882 :
4883 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestOrAnd2(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
4884 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4885 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4886 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4887 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4888 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4889 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4890 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4891 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4892 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4893 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4894 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
4895 32 : ca_.Goto(&block0, p_x, p_y, p_z);
4896 :
4897 32 : if (block0.is_used()) {
4898 32 : compiler::TNode<BoolT> tmp0;
4899 32 : compiler::TNode<BoolT> tmp1;
4900 32 : compiler::TNode<BoolT> tmp2;
4901 32 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
4902 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 524);
4903 32 : ca_.Branch(tmp0, &block2, &block6, tmp0, tmp1, tmp2);
4904 : }
4905 :
4906 32 : if (block6.is_used()) {
4907 32 : compiler::TNode<BoolT> tmp3;
4908 32 : compiler::TNode<BoolT> tmp4;
4909 32 : compiler::TNode<BoolT> tmp5;
4910 32 : ca_.Bind(&block6, &tmp3, &tmp4, &tmp5);
4911 32 : compiler::CodeAssemblerLabel label0(&ca_);
4912 64 : compiler::CodeAssemblerLabel label1(&ca_);
4913 32 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp4}, &label0, &label1);
4914 32 : if (label0.is_used()) {
4915 32 : ca_.Bind(&label0);
4916 32 : ca_.Goto(&block8, tmp3, tmp4, tmp5, tmp4);
4917 : }
4918 32 : if (label1.is_used()) {
4919 32 : ca_.Bind(&label1);
4920 32 : ca_.Goto(&block9, tmp3, tmp4, tmp5, tmp4);
4921 32 : }
4922 : }
4923 :
4924 32 : if (block8.is_used()) {
4925 32 : compiler::TNode<BoolT> tmp6;
4926 32 : compiler::TNode<BoolT> tmp7;
4927 32 : compiler::TNode<BoolT> tmp8;
4928 32 : compiler::TNode<BoolT> tmp9;
4929 32 : ca_.Bind(&block8, &tmp6, &tmp7, &tmp8, &tmp9);
4930 32 : ca_.Goto(&block7, tmp6, tmp7, tmp8);
4931 : }
4932 :
4933 32 : if (block9.is_used()) {
4934 32 : compiler::TNode<BoolT> tmp10;
4935 32 : compiler::TNode<BoolT> tmp11;
4936 32 : compiler::TNode<BoolT> tmp12;
4937 32 : compiler::TNode<BoolT> tmp13;
4938 32 : ca_.Bind(&block9, &tmp10, &tmp11, &tmp12, &tmp13);
4939 32 : ca_.Goto(&block3, tmp10, tmp11, tmp12);
4940 : }
4941 :
4942 32 : if (block7.is_used()) {
4943 32 : compiler::TNode<BoolT> tmp14;
4944 32 : compiler::TNode<BoolT> tmp15;
4945 32 : compiler::TNode<BoolT> tmp16;
4946 32 : ca_.Bind(&block7, &tmp14, &tmp15, &tmp16);
4947 32 : ca_.Branch(tmp16, &block2, &block3, tmp14, tmp15, tmp16);
4948 : }
4949 :
4950 32 : if (block2.is_used()) {
4951 32 : compiler::TNode<BoolT> tmp17;
4952 32 : compiler::TNode<BoolT> tmp18;
4953 32 : compiler::TNode<BoolT> tmp19;
4954 32 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
4955 32 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
4956 : }
4957 :
4958 32 : if (block3.is_used()) {
4959 32 : compiler::TNode<BoolT> tmp20;
4960 32 : compiler::TNode<BoolT> tmp21;
4961 32 : compiler::TNode<BoolT> tmp22;
4962 32 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
4963 32 : compiler::TNode<BoolT> tmp23;
4964 32 : USE(tmp23);
4965 32 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
4966 32 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
4967 : }
4968 :
4969 32 : if (block5.is_used()) {
4970 32 : compiler::TNode<BoolT> tmp24;
4971 32 : compiler::TNode<BoolT> tmp25;
4972 32 : compiler::TNode<BoolT> tmp26;
4973 32 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
4974 32 : compiler::TNode<BoolT> tmp27;
4975 32 : USE(tmp27);
4976 32 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
4977 32 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
4978 : }
4979 :
4980 32 : if (block4.is_used()) {
4981 32 : compiler::TNode<BoolT> tmp28;
4982 32 : compiler::TNode<BoolT> tmp29;
4983 32 : compiler::TNode<BoolT> tmp30;
4984 32 : compiler::TNode<BoolT> tmp31;
4985 32 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
4986 32 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
4987 : }
4988 :
4989 32 : if (block1.is_used()) {
4990 32 : compiler::TNode<BoolT> tmp32;
4991 32 : compiler::TNode<BoolT> tmp33;
4992 32 : compiler::TNode<BoolT> tmp34;
4993 32 : compiler::TNode<BoolT> tmp35;
4994 32 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
4995 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 523);
4996 32 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
4997 : }
4998 :
4999 32 : compiler::TNode<BoolT> tmp36;
5000 32 : compiler::TNode<BoolT> tmp37;
5001 32 : compiler::TNode<BoolT> tmp38;
5002 32 : compiler::TNode<BoolT> tmp39;
5003 32 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
5004 64 : return compiler::TNode<BoolT>{tmp39};
5005 : }
5006 :
5007 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestOrAnd3(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
5008 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5009 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5010 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5011 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5012 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5013 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5014 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5015 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5016 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5017 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5018 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5019 32 : ca_.Goto(&block0, p_x, p_y, p_z);
5020 :
5021 32 : if (block0.is_used()) {
5022 32 : compiler::TNode<BoolT> tmp0;
5023 32 : compiler::TNode<BoolT> tmp1;
5024 32 : compiler::TNode<BoolT> tmp2;
5025 32 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
5026 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 528);
5027 32 : ca_.Branch(tmp0, &block2, &block6, tmp0, tmp1, tmp2);
5028 : }
5029 :
5030 32 : if (block6.is_used()) {
5031 32 : compiler::TNode<BoolT> tmp3;
5032 32 : compiler::TNode<BoolT> tmp4;
5033 32 : compiler::TNode<BoolT> tmp5;
5034 32 : ca_.Bind(&block6, &tmp3, &tmp4, &tmp5);
5035 32 : ca_.Branch(tmp4, &block7, &block3, tmp3, tmp4, tmp5);
5036 : }
5037 :
5038 32 : if (block7.is_used()) {
5039 32 : compiler::TNode<BoolT> tmp6;
5040 32 : compiler::TNode<BoolT> tmp7;
5041 32 : compiler::TNode<BoolT> tmp8;
5042 32 : ca_.Bind(&block7, &tmp6, &tmp7, &tmp8);
5043 32 : compiler::CodeAssemblerLabel label0(&ca_);
5044 64 : compiler::CodeAssemblerLabel label1(&ca_);
5045 32 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp8}, &label0, &label1);
5046 32 : if (label0.is_used()) {
5047 32 : ca_.Bind(&label0);
5048 32 : ca_.Goto(&block8, tmp6, tmp7, tmp8, tmp8);
5049 : }
5050 32 : if (label1.is_used()) {
5051 32 : ca_.Bind(&label1);
5052 32 : ca_.Goto(&block9, tmp6, tmp7, tmp8, tmp8);
5053 32 : }
5054 : }
5055 :
5056 32 : if (block8.is_used()) {
5057 32 : compiler::TNode<BoolT> tmp9;
5058 32 : compiler::TNode<BoolT> tmp10;
5059 32 : compiler::TNode<BoolT> tmp11;
5060 32 : compiler::TNode<BoolT> tmp12;
5061 32 : ca_.Bind(&block8, &tmp9, &tmp10, &tmp11, &tmp12);
5062 32 : ca_.Goto(&block2, tmp9, tmp10, tmp11);
5063 : }
5064 :
5065 32 : if (block9.is_used()) {
5066 32 : compiler::TNode<BoolT> tmp13;
5067 32 : compiler::TNode<BoolT> tmp14;
5068 32 : compiler::TNode<BoolT> tmp15;
5069 32 : compiler::TNode<BoolT> tmp16;
5070 32 : ca_.Bind(&block9, &tmp13, &tmp14, &tmp15, &tmp16);
5071 32 : ca_.Goto(&block3, tmp13, tmp14, tmp15);
5072 : }
5073 :
5074 32 : if (block2.is_used()) {
5075 32 : compiler::TNode<BoolT> tmp17;
5076 32 : compiler::TNode<BoolT> tmp18;
5077 32 : compiler::TNode<BoolT> tmp19;
5078 32 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
5079 32 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
5080 : }
5081 :
5082 32 : if (block3.is_used()) {
5083 32 : compiler::TNode<BoolT> tmp20;
5084 32 : compiler::TNode<BoolT> tmp21;
5085 32 : compiler::TNode<BoolT> tmp22;
5086 32 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
5087 32 : compiler::TNode<BoolT> tmp23;
5088 32 : USE(tmp23);
5089 32 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5090 32 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
5091 : }
5092 :
5093 32 : if (block5.is_used()) {
5094 32 : compiler::TNode<BoolT> tmp24;
5095 32 : compiler::TNode<BoolT> tmp25;
5096 32 : compiler::TNode<BoolT> tmp26;
5097 32 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
5098 32 : compiler::TNode<BoolT> tmp27;
5099 32 : USE(tmp27);
5100 32 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5101 32 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
5102 : }
5103 :
5104 32 : if (block4.is_used()) {
5105 32 : compiler::TNode<BoolT> tmp28;
5106 32 : compiler::TNode<BoolT> tmp29;
5107 32 : compiler::TNode<BoolT> tmp30;
5108 32 : compiler::TNode<BoolT> tmp31;
5109 32 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
5110 32 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
5111 : }
5112 :
5113 32 : if (block1.is_used()) {
5114 32 : compiler::TNode<BoolT> tmp32;
5115 32 : compiler::TNode<BoolT> tmp33;
5116 32 : compiler::TNode<BoolT> tmp34;
5117 32 : compiler::TNode<BoolT> tmp35;
5118 32 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
5119 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 527);
5120 32 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
5121 : }
5122 :
5123 32 : compiler::TNode<BoolT> tmp36;
5124 32 : compiler::TNode<BoolT> tmp37;
5125 32 : compiler::TNode<BoolT> tmp38;
5126 32 : compiler::TNode<BoolT> tmp39;
5127 32 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
5128 64 : return compiler::TNode<BoolT>{tmp39};
5129 : }
5130 :
5131 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestAndOr1(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
5132 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5133 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5134 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5135 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5136 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5137 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5138 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5139 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5140 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5141 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5142 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5143 32 : ca_.Goto(&block0, p_x, p_y, p_z);
5144 :
5145 32 : if (block0.is_used()) {
5146 32 : compiler::TNode<BoolT> tmp0;
5147 32 : compiler::TNode<BoolT> tmp1;
5148 32 : compiler::TNode<BoolT> tmp2;
5149 32 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
5150 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 532);
5151 32 : compiler::CodeAssemblerLabel label0(&ca_);
5152 64 : compiler::CodeAssemblerLabel label1(&ca_);
5153 32 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp0}, &label0, &label1);
5154 32 : if (label0.is_used()) {
5155 32 : ca_.Bind(&label0);
5156 32 : ca_.Goto(&block8, tmp0, tmp1, tmp2, tmp0);
5157 : }
5158 32 : if (label1.is_used()) {
5159 32 : ca_.Bind(&label1);
5160 32 : ca_.Goto(&block9, tmp0, tmp1, tmp2, tmp0);
5161 32 : }
5162 : }
5163 :
5164 32 : if (block8.is_used()) {
5165 32 : compiler::TNode<BoolT> tmp3;
5166 32 : compiler::TNode<BoolT> tmp4;
5167 32 : compiler::TNode<BoolT> tmp5;
5168 32 : compiler::TNode<BoolT> tmp6;
5169 32 : ca_.Bind(&block8, &tmp3, &tmp4, &tmp5, &tmp6);
5170 32 : ca_.Goto(&block7, tmp3, tmp4, tmp5);
5171 : }
5172 :
5173 32 : if (block9.is_used()) {
5174 32 : compiler::TNode<BoolT> tmp7;
5175 32 : compiler::TNode<BoolT> tmp8;
5176 32 : compiler::TNode<BoolT> tmp9;
5177 32 : compiler::TNode<BoolT> tmp10;
5178 32 : ca_.Bind(&block9, &tmp7, &tmp8, &tmp9, &tmp10);
5179 32 : ca_.Goto(&block6, tmp7, tmp8, tmp9);
5180 : }
5181 :
5182 32 : if (block7.is_used()) {
5183 32 : compiler::TNode<BoolT> tmp11;
5184 32 : compiler::TNode<BoolT> tmp12;
5185 32 : compiler::TNode<BoolT> tmp13;
5186 32 : ca_.Bind(&block7, &tmp11, &tmp12, &tmp13);
5187 32 : ca_.Branch(tmp12, &block2, &block6, tmp11, tmp12, tmp13);
5188 : }
5189 :
5190 32 : if (block6.is_used()) {
5191 32 : compiler::TNode<BoolT> tmp14;
5192 32 : compiler::TNode<BoolT> tmp15;
5193 32 : compiler::TNode<BoolT> tmp16;
5194 32 : ca_.Bind(&block6, &tmp14, &tmp15, &tmp16);
5195 32 : ca_.Branch(tmp16, &block2, &block3, tmp14, tmp15, tmp16);
5196 : }
5197 :
5198 32 : if (block2.is_used()) {
5199 32 : compiler::TNode<BoolT> tmp17;
5200 32 : compiler::TNode<BoolT> tmp18;
5201 32 : compiler::TNode<BoolT> tmp19;
5202 32 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
5203 32 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
5204 : }
5205 :
5206 32 : if (block3.is_used()) {
5207 32 : compiler::TNode<BoolT> tmp20;
5208 32 : compiler::TNode<BoolT> tmp21;
5209 32 : compiler::TNode<BoolT> tmp22;
5210 32 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
5211 32 : compiler::TNode<BoolT> tmp23;
5212 32 : USE(tmp23);
5213 32 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5214 32 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
5215 : }
5216 :
5217 32 : if (block5.is_used()) {
5218 32 : compiler::TNode<BoolT> tmp24;
5219 32 : compiler::TNode<BoolT> tmp25;
5220 32 : compiler::TNode<BoolT> tmp26;
5221 32 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
5222 32 : compiler::TNode<BoolT> tmp27;
5223 32 : USE(tmp27);
5224 32 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5225 32 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
5226 : }
5227 :
5228 32 : if (block4.is_used()) {
5229 32 : compiler::TNode<BoolT> tmp28;
5230 32 : compiler::TNode<BoolT> tmp29;
5231 32 : compiler::TNode<BoolT> tmp30;
5232 32 : compiler::TNode<BoolT> tmp31;
5233 32 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
5234 32 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
5235 : }
5236 :
5237 32 : if (block1.is_used()) {
5238 32 : compiler::TNode<BoolT> tmp32;
5239 32 : compiler::TNode<BoolT> tmp33;
5240 32 : compiler::TNode<BoolT> tmp34;
5241 32 : compiler::TNode<BoolT> tmp35;
5242 32 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
5243 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 531);
5244 32 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
5245 : }
5246 :
5247 32 : compiler::TNode<BoolT> tmp36;
5248 32 : compiler::TNode<BoolT> tmp37;
5249 32 : compiler::TNode<BoolT> tmp38;
5250 32 : compiler::TNode<BoolT> tmp39;
5251 32 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
5252 64 : return compiler::TNode<BoolT>{tmp39};
5253 : }
5254 :
5255 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestAndOr2(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
5256 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5257 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5258 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5259 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5260 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5261 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5262 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5263 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5264 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5265 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5266 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5267 32 : ca_.Goto(&block0, p_x, p_y, p_z);
5268 :
5269 32 : if (block0.is_used()) {
5270 32 : compiler::TNode<BoolT> tmp0;
5271 32 : compiler::TNode<BoolT> tmp1;
5272 32 : compiler::TNode<BoolT> tmp2;
5273 32 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
5274 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 536);
5275 32 : ca_.Branch(tmp0, &block7, &block6, tmp0, tmp1, tmp2);
5276 : }
5277 :
5278 32 : if (block7.is_used()) {
5279 32 : compiler::TNode<BoolT> tmp3;
5280 32 : compiler::TNode<BoolT> tmp4;
5281 32 : compiler::TNode<BoolT> tmp5;
5282 32 : ca_.Bind(&block7, &tmp3, &tmp4, &tmp5);
5283 32 : compiler::CodeAssemblerLabel label0(&ca_);
5284 64 : compiler::CodeAssemblerLabel label1(&ca_);
5285 32 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp4}, &label0, &label1);
5286 32 : if (label0.is_used()) {
5287 32 : ca_.Bind(&label0);
5288 32 : ca_.Goto(&block8, tmp3, tmp4, tmp5, tmp4);
5289 : }
5290 32 : if (label1.is_used()) {
5291 32 : ca_.Bind(&label1);
5292 32 : ca_.Goto(&block9, tmp3, tmp4, tmp5, tmp4);
5293 32 : }
5294 : }
5295 :
5296 32 : if (block8.is_used()) {
5297 32 : compiler::TNode<BoolT> tmp6;
5298 32 : compiler::TNode<BoolT> tmp7;
5299 32 : compiler::TNode<BoolT> tmp8;
5300 32 : compiler::TNode<BoolT> tmp9;
5301 32 : ca_.Bind(&block8, &tmp6, &tmp7, &tmp8, &tmp9);
5302 32 : ca_.Goto(&block2, tmp6, tmp7, tmp8);
5303 : }
5304 :
5305 32 : if (block9.is_used()) {
5306 32 : compiler::TNode<BoolT> tmp10;
5307 32 : compiler::TNode<BoolT> tmp11;
5308 32 : compiler::TNode<BoolT> tmp12;
5309 32 : compiler::TNode<BoolT> tmp13;
5310 32 : ca_.Bind(&block9, &tmp10, &tmp11, &tmp12, &tmp13);
5311 32 : ca_.Goto(&block6, tmp10, tmp11, tmp12);
5312 : }
5313 :
5314 32 : if (block6.is_used()) {
5315 32 : compiler::TNode<BoolT> tmp14;
5316 32 : compiler::TNode<BoolT> tmp15;
5317 32 : compiler::TNode<BoolT> tmp16;
5318 32 : ca_.Bind(&block6, &tmp14, &tmp15, &tmp16);
5319 32 : ca_.Branch(tmp16, &block2, &block3, tmp14, tmp15, tmp16);
5320 : }
5321 :
5322 32 : if (block2.is_used()) {
5323 32 : compiler::TNode<BoolT> tmp17;
5324 32 : compiler::TNode<BoolT> tmp18;
5325 32 : compiler::TNode<BoolT> tmp19;
5326 32 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
5327 32 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
5328 : }
5329 :
5330 32 : if (block3.is_used()) {
5331 32 : compiler::TNode<BoolT> tmp20;
5332 32 : compiler::TNode<BoolT> tmp21;
5333 32 : compiler::TNode<BoolT> tmp22;
5334 32 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
5335 32 : compiler::TNode<BoolT> tmp23;
5336 32 : USE(tmp23);
5337 32 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5338 32 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
5339 : }
5340 :
5341 32 : if (block5.is_used()) {
5342 32 : compiler::TNode<BoolT> tmp24;
5343 32 : compiler::TNode<BoolT> tmp25;
5344 32 : compiler::TNode<BoolT> tmp26;
5345 32 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
5346 32 : compiler::TNode<BoolT> tmp27;
5347 32 : USE(tmp27);
5348 32 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5349 32 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
5350 : }
5351 :
5352 32 : if (block4.is_used()) {
5353 32 : compiler::TNode<BoolT> tmp28;
5354 32 : compiler::TNode<BoolT> tmp29;
5355 32 : compiler::TNode<BoolT> tmp30;
5356 32 : compiler::TNode<BoolT> tmp31;
5357 32 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
5358 32 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
5359 : }
5360 :
5361 32 : if (block1.is_used()) {
5362 32 : compiler::TNode<BoolT> tmp32;
5363 32 : compiler::TNode<BoolT> tmp33;
5364 32 : compiler::TNode<BoolT> tmp34;
5365 32 : compiler::TNode<BoolT> tmp35;
5366 32 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
5367 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 535);
5368 32 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
5369 : }
5370 :
5371 32 : compiler::TNode<BoolT> tmp36;
5372 32 : compiler::TNode<BoolT> tmp37;
5373 32 : compiler::TNode<BoolT> tmp38;
5374 32 : compiler::TNode<BoolT> tmp39;
5375 32 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
5376 64 : return compiler::TNode<BoolT>{tmp39};
5377 : }
5378 :
5379 32 : compiler::TNode<BoolT> TestBuiltinsFromDSLAssembler::TestAndOr3(compiler::TNode<BoolT> p_x, compiler::TNode<BoolT> p_y, compiler::TNode<BoolT> p_z) {
5380 32 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5381 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5382 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5383 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5384 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5385 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5386 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5387 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5388 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5389 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5390 64 : compiler::CodeAssemblerParameterizedLabel<BoolT, BoolT, BoolT, BoolT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5391 32 : ca_.Goto(&block0, p_x, p_y, p_z);
5392 :
5393 32 : if (block0.is_used()) {
5394 32 : compiler::TNode<BoolT> tmp0;
5395 32 : compiler::TNode<BoolT> tmp1;
5396 32 : compiler::TNode<BoolT> tmp2;
5397 32 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
5398 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 540);
5399 32 : ca_.Branch(tmp0, &block7, &block6, tmp0, tmp1, tmp2);
5400 : }
5401 :
5402 32 : if (block7.is_used()) {
5403 32 : compiler::TNode<BoolT> tmp3;
5404 32 : compiler::TNode<BoolT> tmp4;
5405 32 : compiler::TNode<BoolT> tmp5;
5406 32 : ca_.Bind(&block7, &tmp3, &tmp4, &tmp5);
5407 32 : ca_.Branch(tmp4, &block2, &block6, tmp3, tmp4, tmp5);
5408 : }
5409 :
5410 32 : if (block6.is_used()) {
5411 32 : compiler::TNode<BoolT> tmp6;
5412 32 : compiler::TNode<BoolT> tmp7;
5413 32 : compiler::TNode<BoolT> tmp8;
5414 32 : ca_.Bind(&block6, &tmp6, &tmp7, &tmp8);
5415 32 : compiler::CodeAssemblerLabel label0(&ca_);
5416 64 : compiler::CodeAssemblerLabel label1(&ca_);
5417 32 : TestBuiltinsFromDSLAssembler(state_).BoolToBranch(compiler::TNode<BoolT>{tmp8}, &label0, &label1);
5418 32 : if (label0.is_used()) {
5419 32 : ca_.Bind(&label0);
5420 32 : ca_.Goto(&block8, tmp6, tmp7, tmp8, tmp8);
5421 : }
5422 32 : if (label1.is_used()) {
5423 32 : ca_.Bind(&label1);
5424 32 : ca_.Goto(&block9, tmp6, tmp7, tmp8, tmp8);
5425 32 : }
5426 : }
5427 :
5428 32 : if (block8.is_used()) {
5429 32 : compiler::TNode<BoolT> tmp9;
5430 32 : compiler::TNode<BoolT> tmp10;
5431 32 : compiler::TNode<BoolT> tmp11;
5432 32 : compiler::TNode<BoolT> tmp12;
5433 32 : ca_.Bind(&block8, &tmp9, &tmp10, &tmp11, &tmp12);
5434 32 : ca_.Goto(&block2, tmp9, tmp10, tmp11);
5435 : }
5436 :
5437 32 : if (block9.is_used()) {
5438 32 : compiler::TNode<BoolT> tmp13;
5439 32 : compiler::TNode<BoolT> tmp14;
5440 32 : compiler::TNode<BoolT> tmp15;
5441 32 : compiler::TNode<BoolT> tmp16;
5442 32 : ca_.Bind(&block9, &tmp13, &tmp14, &tmp15, &tmp16);
5443 32 : ca_.Goto(&block3, tmp13, tmp14, tmp15);
5444 : }
5445 :
5446 32 : if (block2.is_used()) {
5447 32 : compiler::TNode<BoolT> tmp17;
5448 32 : compiler::TNode<BoolT> tmp18;
5449 32 : compiler::TNode<BoolT> tmp19;
5450 32 : ca_.Bind(&block2, &tmp17, &tmp18, &tmp19);
5451 32 : ca_.Goto(&block5, tmp17, tmp18, tmp19);
5452 : }
5453 :
5454 32 : if (block3.is_used()) {
5455 32 : compiler::TNode<BoolT> tmp20;
5456 32 : compiler::TNode<BoolT> tmp21;
5457 32 : compiler::TNode<BoolT> tmp22;
5458 32 : ca_.Bind(&block3, &tmp20, &tmp21, &tmp22);
5459 32 : compiler::TNode<BoolT> tmp23;
5460 32 : USE(tmp23);
5461 32 : tmp23 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5462 32 : ca_.Goto(&block4, tmp20, tmp21, tmp22, tmp23);
5463 : }
5464 :
5465 32 : if (block5.is_used()) {
5466 32 : compiler::TNode<BoolT> tmp24;
5467 32 : compiler::TNode<BoolT> tmp25;
5468 32 : compiler::TNode<BoolT> tmp26;
5469 32 : ca_.Bind(&block5, &tmp24, &tmp25, &tmp26);
5470 32 : compiler::TNode<BoolT> tmp27;
5471 32 : USE(tmp27);
5472 32 : tmp27 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5473 32 : ca_.Goto(&block4, tmp24, tmp25, tmp26, tmp27);
5474 : }
5475 :
5476 32 : if (block4.is_used()) {
5477 32 : compiler::TNode<BoolT> tmp28;
5478 32 : compiler::TNode<BoolT> tmp29;
5479 32 : compiler::TNode<BoolT> tmp30;
5480 32 : compiler::TNode<BoolT> tmp31;
5481 32 : ca_.Bind(&block4, &tmp28, &tmp29, &tmp30, &tmp31);
5482 32 : ca_.Goto(&block1, tmp28, tmp29, tmp30, tmp31);
5483 : }
5484 :
5485 32 : if (block1.is_used()) {
5486 32 : compiler::TNode<BoolT> tmp32;
5487 32 : compiler::TNode<BoolT> tmp33;
5488 32 : compiler::TNode<BoolT> tmp34;
5489 32 : compiler::TNode<BoolT> tmp35;
5490 32 : ca_.Bind(&block1, &tmp32, &tmp33, &tmp34, &tmp35);
5491 32 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 539);
5492 32 : ca_.Goto(&block10, tmp32, tmp33, tmp34, tmp35);
5493 : }
5494 :
5495 32 : compiler::TNode<BoolT> tmp36;
5496 32 : compiler::TNode<BoolT> tmp37;
5497 32 : compiler::TNode<BoolT> tmp38;
5498 32 : compiler::TNode<BoolT> tmp39;
5499 32 : ca_.Bind(&block10, &tmp36, &tmp37, &tmp38, &tmp39);
5500 64 : return compiler::TNode<BoolT>{tmp39};
5501 : }
5502 :
5503 4 : void TestBuiltinsFromDSLAssembler::TestLogicalOperators() {
5504 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5505 8 : compiler::CodeAssemblerParameterizedLabel<> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5506 8 : compiler::CodeAssemblerParameterizedLabel<> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5507 8 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5508 8 : compiler::CodeAssemblerParameterizedLabel<> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5509 8 : compiler::CodeAssemblerParameterizedLabel<> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5510 8 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5511 8 : compiler::CodeAssemblerParameterizedLabel<> block9(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5512 8 : compiler::CodeAssemblerParameterizedLabel<> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5513 8 : compiler::CodeAssemblerParameterizedLabel<> block11(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5514 8 : compiler::CodeAssemblerParameterizedLabel<> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5515 8 : compiler::CodeAssemblerParameterizedLabel<> block13(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5516 8 : compiler::CodeAssemblerParameterizedLabel<> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5517 8 : compiler::CodeAssemblerParameterizedLabel<> block15(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5518 8 : compiler::CodeAssemblerParameterizedLabel<> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5519 8 : compiler::CodeAssemblerParameterizedLabel<> block17(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5520 8 : compiler::CodeAssemblerParameterizedLabel<> block16(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5521 8 : compiler::CodeAssemblerParameterizedLabel<> block19(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5522 8 : compiler::CodeAssemblerParameterizedLabel<> block18(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5523 8 : compiler::CodeAssemblerParameterizedLabel<> block21(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5524 8 : compiler::CodeAssemblerParameterizedLabel<> block20(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5525 8 : compiler::CodeAssemblerParameterizedLabel<> block23(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5526 8 : compiler::CodeAssemblerParameterizedLabel<> block22(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5527 8 : compiler::CodeAssemblerParameterizedLabel<> block25(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5528 8 : compiler::CodeAssemblerParameterizedLabel<> block24(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5529 8 : compiler::CodeAssemblerParameterizedLabel<> block27(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5530 8 : compiler::CodeAssemblerParameterizedLabel<> block26(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5531 8 : compiler::CodeAssemblerParameterizedLabel<> block29(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5532 8 : compiler::CodeAssemblerParameterizedLabel<> block28(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5533 8 : compiler::CodeAssemblerParameterizedLabel<> block31(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5534 8 : compiler::CodeAssemblerParameterizedLabel<> block30(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5535 8 : compiler::CodeAssemblerParameterizedLabel<> block33(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5536 8 : compiler::CodeAssemblerParameterizedLabel<> block32(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5537 8 : compiler::CodeAssemblerParameterizedLabel<> block35(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5538 8 : compiler::CodeAssemblerParameterizedLabel<> block34(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5539 8 : compiler::CodeAssemblerParameterizedLabel<> block37(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5540 8 : compiler::CodeAssemblerParameterizedLabel<> block36(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5541 8 : compiler::CodeAssemblerParameterizedLabel<> block39(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5542 8 : compiler::CodeAssemblerParameterizedLabel<> block38(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5543 8 : compiler::CodeAssemblerParameterizedLabel<> block41(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5544 8 : compiler::CodeAssemblerParameterizedLabel<> block40(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5545 8 : compiler::CodeAssemblerParameterizedLabel<> block43(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5546 8 : compiler::CodeAssemblerParameterizedLabel<> block42(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5547 8 : compiler::CodeAssemblerParameterizedLabel<> block45(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5548 8 : compiler::CodeAssemblerParameterizedLabel<> block44(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5549 8 : compiler::CodeAssemblerParameterizedLabel<> block47(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5550 8 : compiler::CodeAssemblerParameterizedLabel<> block46(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5551 8 : compiler::CodeAssemblerParameterizedLabel<> block49(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5552 8 : compiler::CodeAssemblerParameterizedLabel<> block48(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5553 8 : compiler::CodeAssemblerParameterizedLabel<> block51(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5554 8 : compiler::CodeAssemblerParameterizedLabel<> block50(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5555 8 : compiler::CodeAssemblerParameterizedLabel<> block53(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5556 8 : compiler::CodeAssemblerParameterizedLabel<> block52(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5557 8 : compiler::CodeAssemblerParameterizedLabel<> block55(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5558 8 : compiler::CodeAssemblerParameterizedLabel<> block54(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5559 8 : compiler::CodeAssemblerParameterizedLabel<> block57(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5560 8 : compiler::CodeAssemblerParameterizedLabel<> block56(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5561 8 : compiler::CodeAssemblerParameterizedLabel<> block59(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5562 8 : compiler::CodeAssemblerParameterizedLabel<> block58(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5563 8 : compiler::CodeAssemblerParameterizedLabel<> block61(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5564 8 : compiler::CodeAssemblerParameterizedLabel<> block60(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5565 8 : compiler::CodeAssemblerParameterizedLabel<> block63(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5566 8 : compiler::CodeAssemblerParameterizedLabel<> block62(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5567 8 : compiler::CodeAssemblerParameterizedLabel<> block65(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5568 8 : compiler::CodeAssemblerParameterizedLabel<> block64(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5569 8 : compiler::CodeAssemblerParameterizedLabel<> block67(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5570 8 : compiler::CodeAssemblerParameterizedLabel<> block66(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5571 8 : compiler::CodeAssemblerParameterizedLabel<> block69(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5572 8 : compiler::CodeAssemblerParameterizedLabel<> block68(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5573 8 : compiler::CodeAssemblerParameterizedLabel<> block71(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5574 8 : compiler::CodeAssemblerParameterizedLabel<> block70(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5575 8 : compiler::CodeAssemblerParameterizedLabel<> block73(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5576 8 : compiler::CodeAssemblerParameterizedLabel<> block72(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5577 8 : compiler::CodeAssemblerParameterizedLabel<> block75(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5578 8 : compiler::CodeAssemblerParameterizedLabel<> block74(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5579 8 : compiler::CodeAssemblerParameterizedLabel<> block77(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5580 8 : compiler::CodeAssemblerParameterizedLabel<> block76(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5581 8 : compiler::CodeAssemblerParameterizedLabel<> block79(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5582 8 : compiler::CodeAssemblerParameterizedLabel<> block78(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5583 8 : compiler::CodeAssemblerParameterizedLabel<> block81(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5584 8 : compiler::CodeAssemblerParameterizedLabel<> block80(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5585 8 : compiler::CodeAssemblerParameterizedLabel<> block83(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5586 8 : compiler::CodeAssemblerParameterizedLabel<> block82(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5587 8 : compiler::CodeAssemblerParameterizedLabel<> block85(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5588 8 : compiler::CodeAssemblerParameterizedLabel<> block84(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5589 8 : compiler::CodeAssemblerParameterizedLabel<> block87(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5590 8 : compiler::CodeAssemblerParameterizedLabel<> block86(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5591 8 : compiler::CodeAssemblerParameterizedLabel<> block89(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5592 8 : compiler::CodeAssemblerParameterizedLabel<> block88(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5593 8 : compiler::CodeAssemblerParameterizedLabel<> block91(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5594 8 : compiler::CodeAssemblerParameterizedLabel<> block90(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5595 8 : compiler::CodeAssemblerParameterizedLabel<> block93(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5596 8 : compiler::CodeAssemblerParameterizedLabel<> block92(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5597 8 : compiler::CodeAssemblerParameterizedLabel<> block95(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5598 8 : compiler::CodeAssemblerParameterizedLabel<> block94(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5599 8 : compiler::CodeAssemblerParameterizedLabel<> block97(&ca_, compiler::CodeAssemblerLabel::kDeferred);
5600 8 : compiler::CodeAssemblerParameterizedLabel<> block96(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5601 8 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5602 8 : compiler::CodeAssemblerParameterizedLabel<> block98(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
5603 4 : ca_.Goto(&block0);
5604 :
5605 4 : if (block0.is_used()) {
5606 4 : ca_.Bind(&block0);
5607 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 544);
5608 4 : compiler::TNode<BoolT> tmp0;
5609 4 : USE(tmp0);
5610 4 : tmp0 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5611 4 : compiler::TNode<BoolT> tmp1;
5612 4 : USE(tmp1);
5613 4 : tmp1 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5614 4 : compiler::TNode<BoolT> tmp2;
5615 4 : USE(tmp2);
5616 4 : tmp2 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5617 4 : compiler::TNode<BoolT> tmp3;
5618 4 : USE(tmp3);
5619 4 : tmp3 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp0}, compiler::TNode<BoolT>{tmp1}, compiler::TNode<BoolT>{tmp2}));
5620 4 : ca_.Branch(tmp3, &block2, &block3);
5621 : }
5622 :
5623 4 : if (block3.is_used()) {
5624 4 : ca_.Bind(&block3);
5625 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr1(true, true, true)\' failed", "../../test/torque/test-torque.tq", 544);
5626 : }
5627 :
5628 4 : if (block2.is_used()) {
5629 4 : ca_.Bind(&block2);
5630 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 545);
5631 4 : compiler::TNode<BoolT> tmp4;
5632 4 : USE(tmp4);
5633 4 : tmp4 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5634 4 : compiler::TNode<BoolT> tmp5;
5635 4 : USE(tmp5);
5636 4 : tmp5 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5637 4 : compiler::TNode<BoolT> tmp6;
5638 4 : USE(tmp6);
5639 4 : tmp6 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5640 4 : compiler::TNode<BoolT> tmp7;
5641 4 : USE(tmp7);
5642 4 : tmp7 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp4}, compiler::TNode<BoolT>{tmp5}, compiler::TNode<BoolT>{tmp6}));
5643 4 : ca_.Branch(tmp7, &block4, &block5);
5644 : }
5645 :
5646 4 : if (block5.is_used()) {
5647 4 : ca_.Bind(&block5);
5648 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr2(true, true, true)\' failed", "../../test/torque/test-torque.tq", 545);
5649 : }
5650 :
5651 4 : if (block4.is_used()) {
5652 4 : ca_.Bind(&block4);
5653 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 546);
5654 4 : compiler::TNode<BoolT> tmp8;
5655 4 : USE(tmp8);
5656 4 : tmp8 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5657 4 : compiler::TNode<BoolT> tmp9;
5658 4 : USE(tmp9);
5659 4 : tmp9 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5660 4 : compiler::TNode<BoolT> tmp10;
5661 4 : USE(tmp10);
5662 4 : tmp10 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5663 4 : compiler::TNode<BoolT> tmp11;
5664 4 : USE(tmp11);
5665 4 : tmp11 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp8}, compiler::TNode<BoolT>{tmp9}, compiler::TNode<BoolT>{tmp10}));
5666 4 : ca_.Branch(tmp11, &block6, &block7);
5667 : }
5668 :
5669 4 : if (block7.is_used()) {
5670 4 : ca_.Bind(&block7);
5671 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr3(true, true, true)\' failed", "../../test/torque/test-torque.tq", 546);
5672 : }
5673 :
5674 4 : if (block6.is_used()) {
5675 4 : ca_.Bind(&block6);
5676 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 547);
5677 4 : compiler::TNode<BoolT> tmp12;
5678 4 : USE(tmp12);
5679 4 : tmp12 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5680 4 : compiler::TNode<BoolT> tmp13;
5681 4 : USE(tmp13);
5682 4 : tmp13 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5683 4 : compiler::TNode<BoolT> tmp14;
5684 4 : USE(tmp14);
5685 4 : tmp14 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5686 4 : compiler::TNode<BoolT> tmp15;
5687 4 : USE(tmp15);
5688 4 : tmp15 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp12}, compiler::TNode<BoolT>{tmp13}, compiler::TNode<BoolT>{tmp14}));
5689 4 : ca_.Branch(tmp15, &block8, &block9);
5690 : }
5691 :
5692 4 : if (block9.is_used()) {
5693 4 : ca_.Bind(&block9);
5694 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr1(true, true, false)\' failed", "../../test/torque/test-torque.tq", 547);
5695 : }
5696 :
5697 4 : if (block8.is_used()) {
5698 4 : ca_.Bind(&block8);
5699 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 548);
5700 4 : compiler::TNode<BoolT> tmp16;
5701 4 : USE(tmp16);
5702 4 : tmp16 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5703 4 : compiler::TNode<BoolT> tmp17;
5704 4 : USE(tmp17);
5705 4 : tmp17 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5706 4 : compiler::TNode<BoolT> tmp18;
5707 4 : USE(tmp18);
5708 4 : tmp18 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5709 4 : compiler::TNode<BoolT> tmp19;
5710 4 : USE(tmp19);
5711 4 : tmp19 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp16}, compiler::TNode<BoolT>{tmp17}, compiler::TNode<BoolT>{tmp18}));
5712 4 : ca_.Branch(tmp19, &block10, &block11);
5713 : }
5714 :
5715 4 : if (block11.is_used()) {
5716 4 : ca_.Bind(&block11);
5717 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr2(true, true, false)\' failed", "../../test/torque/test-torque.tq", 548);
5718 : }
5719 :
5720 4 : if (block10.is_used()) {
5721 4 : ca_.Bind(&block10);
5722 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 549);
5723 4 : compiler::TNode<BoolT> tmp20;
5724 4 : USE(tmp20);
5725 4 : tmp20 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5726 4 : compiler::TNode<BoolT> tmp21;
5727 4 : USE(tmp21);
5728 4 : tmp21 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5729 4 : compiler::TNode<BoolT> tmp22;
5730 4 : USE(tmp22);
5731 4 : tmp22 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5732 4 : compiler::TNode<BoolT> tmp23;
5733 4 : USE(tmp23);
5734 4 : tmp23 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp20}, compiler::TNode<BoolT>{tmp21}, compiler::TNode<BoolT>{tmp22}));
5735 4 : ca_.Branch(tmp23, &block12, &block13);
5736 : }
5737 :
5738 4 : if (block13.is_used()) {
5739 4 : ca_.Bind(&block13);
5740 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr3(true, true, false)\' failed", "../../test/torque/test-torque.tq", 549);
5741 : }
5742 :
5743 4 : if (block12.is_used()) {
5744 4 : ca_.Bind(&block12);
5745 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 550);
5746 4 : compiler::TNode<BoolT> tmp24;
5747 4 : USE(tmp24);
5748 4 : tmp24 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5749 4 : compiler::TNode<BoolT> tmp25;
5750 4 : USE(tmp25);
5751 4 : tmp25 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5752 4 : compiler::TNode<BoolT> tmp26;
5753 4 : USE(tmp26);
5754 4 : tmp26 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5755 4 : compiler::TNode<BoolT> tmp27;
5756 4 : USE(tmp27);
5757 4 : tmp27 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp24}, compiler::TNode<BoolT>{tmp25}, compiler::TNode<BoolT>{tmp26}));
5758 4 : ca_.Branch(tmp27, &block14, &block15);
5759 : }
5760 :
5761 4 : if (block15.is_used()) {
5762 4 : ca_.Bind(&block15);
5763 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr1(true, false, true)\' failed", "../../test/torque/test-torque.tq", 550);
5764 : }
5765 :
5766 4 : if (block14.is_used()) {
5767 4 : ca_.Bind(&block14);
5768 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 551);
5769 4 : compiler::TNode<BoolT> tmp28;
5770 4 : USE(tmp28);
5771 4 : tmp28 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5772 4 : compiler::TNode<BoolT> tmp29;
5773 4 : USE(tmp29);
5774 4 : tmp29 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5775 4 : compiler::TNode<BoolT> tmp30;
5776 4 : USE(tmp30);
5777 4 : tmp30 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5778 4 : compiler::TNode<BoolT> tmp31;
5779 4 : USE(tmp31);
5780 4 : tmp31 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp28}, compiler::TNode<BoolT>{tmp29}, compiler::TNode<BoolT>{tmp30}));
5781 4 : ca_.Branch(tmp31, &block16, &block17);
5782 : }
5783 :
5784 4 : if (block17.is_used()) {
5785 4 : ca_.Bind(&block17);
5786 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr2(true, false, true)\' failed", "../../test/torque/test-torque.tq", 551);
5787 : }
5788 :
5789 4 : if (block16.is_used()) {
5790 4 : ca_.Bind(&block16);
5791 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 552);
5792 4 : compiler::TNode<BoolT> tmp32;
5793 4 : USE(tmp32);
5794 4 : tmp32 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5795 4 : compiler::TNode<BoolT> tmp33;
5796 4 : USE(tmp33);
5797 4 : tmp33 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5798 4 : compiler::TNode<BoolT> tmp34;
5799 4 : USE(tmp34);
5800 4 : tmp34 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5801 4 : compiler::TNode<BoolT> tmp35;
5802 4 : USE(tmp35);
5803 4 : tmp35 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp32}, compiler::TNode<BoolT>{tmp33}, compiler::TNode<BoolT>{tmp34}));
5804 4 : ca_.Branch(tmp35, &block18, &block19);
5805 : }
5806 :
5807 4 : if (block19.is_used()) {
5808 4 : ca_.Bind(&block19);
5809 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr3(true, false, true)\' failed", "../../test/torque/test-torque.tq", 552);
5810 : }
5811 :
5812 4 : if (block18.is_used()) {
5813 4 : ca_.Bind(&block18);
5814 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 553);
5815 4 : compiler::TNode<BoolT> tmp36;
5816 4 : USE(tmp36);
5817 4 : tmp36 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5818 4 : compiler::TNode<BoolT> tmp37;
5819 4 : USE(tmp37);
5820 4 : tmp37 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5821 4 : compiler::TNode<BoolT> tmp38;
5822 4 : USE(tmp38);
5823 4 : tmp38 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5824 4 : compiler::TNode<BoolT> tmp39;
5825 4 : USE(tmp39);
5826 4 : tmp39 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp36}, compiler::TNode<BoolT>{tmp37}, compiler::TNode<BoolT>{tmp38}));
5827 4 : compiler::TNode<BoolT> tmp40;
5828 4 : USE(tmp40);
5829 4 : tmp40 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp39}));
5830 4 : ca_.Branch(tmp40, &block20, &block21);
5831 : }
5832 :
5833 4 : if (block21.is_used()) {
5834 4 : ca_.Bind(&block21);
5835 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr1(true, false, false)\' failed", "../../test/torque/test-torque.tq", 553);
5836 : }
5837 :
5838 4 : if (block20.is_used()) {
5839 4 : ca_.Bind(&block20);
5840 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 554);
5841 4 : compiler::TNode<BoolT> tmp41;
5842 4 : USE(tmp41);
5843 4 : tmp41 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5844 4 : compiler::TNode<BoolT> tmp42;
5845 4 : USE(tmp42);
5846 4 : tmp42 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5847 4 : compiler::TNode<BoolT> tmp43;
5848 4 : USE(tmp43);
5849 4 : tmp43 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5850 4 : compiler::TNode<BoolT> tmp44;
5851 4 : USE(tmp44);
5852 4 : tmp44 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp41}, compiler::TNode<BoolT>{tmp42}, compiler::TNode<BoolT>{tmp43}));
5853 4 : compiler::TNode<BoolT> tmp45;
5854 4 : USE(tmp45);
5855 4 : tmp45 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp44}));
5856 4 : ca_.Branch(tmp45, &block22, &block23);
5857 : }
5858 :
5859 4 : if (block23.is_used()) {
5860 4 : ca_.Bind(&block23);
5861 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr2(true, false, false)\' failed", "../../test/torque/test-torque.tq", 554);
5862 : }
5863 :
5864 4 : if (block22.is_used()) {
5865 4 : ca_.Bind(&block22);
5866 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 555);
5867 4 : compiler::TNode<BoolT> tmp46;
5868 4 : USE(tmp46);
5869 4 : tmp46 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5870 4 : compiler::TNode<BoolT> tmp47;
5871 4 : USE(tmp47);
5872 4 : tmp47 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5873 4 : compiler::TNode<BoolT> tmp48;
5874 4 : USE(tmp48);
5875 4 : tmp48 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5876 4 : compiler::TNode<BoolT> tmp49;
5877 4 : USE(tmp49);
5878 4 : tmp49 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp46}, compiler::TNode<BoolT>{tmp47}, compiler::TNode<BoolT>{tmp48}));
5879 4 : compiler::TNode<BoolT> tmp50;
5880 4 : USE(tmp50);
5881 4 : tmp50 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp49}));
5882 4 : ca_.Branch(tmp50, &block24, &block25);
5883 : }
5884 :
5885 4 : if (block25.is_used()) {
5886 4 : ca_.Bind(&block25);
5887 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr3(true, false, false)\' failed", "../../test/torque/test-torque.tq", 555);
5888 : }
5889 :
5890 4 : if (block24.is_used()) {
5891 4 : ca_.Bind(&block24);
5892 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 556);
5893 4 : compiler::TNode<BoolT> tmp51;
5894 4 : USE(tmp51);
5895 4 : tmp51 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5896 4 : compiler::TNode<BoolT> tmp52;
5897 4 : USE(tmp52);
5898 4 : tmp52 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5899 4 : compiler::TNode<BoolT> tmp53;
5900 4 : USE(tmp53);
5901 4 : tmp53 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5902 4 : compiler::TNode<BoolT> tmp54;
5903 4 : USE(tmp54);
5904 4 : tmp54 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp51}, compiler::TNode<BoolT>{tmp52}, compiler::TNode<BoolT>{tmp53}));
5905 4 : ca_.Branch(tmp54, &block26, &block27);
5906 : }
5907 :
5908 4 : if (block27.is_used()) {
5909 4 : ca_.Bind(&block27);
5910 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr1(false, true, true)\' failed", "../../test/torque/test-torque.tq", 556);
5911 : }
5912 :
5913 4 : if (block26.is_used()) {
5914 4 : ca_.Bind(&block26);
5915 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 557);
5916 4 : compiler::TNode<BoolT> tmp55;
5917 4 : USE(tmp55);
5918 4 : tmp55 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5919 4 : compiler::TNode<BoolT> tmp56;
5920 4 : USE(tmp56);
5921 4 : tmp56 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5922 4 : compiler::TNode<BoolT> tmp57;
5923 4 : USE(tmp57);
5924 4 : tmp57 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5925 4 : compiler::TNode<BoolT> tmp58;
5926 4 : USE(tmp58);
5927 4 : tmp58 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp55}, compiler::TNode<BoolT>{tmp56}, compiler::TNode<BoolT>{tmp57}));
5928 4 : ca_.Branch(tmp58, &block28, &block29);
5929 : }
5930 :
5931 4 : if (block29.is_used()) {
5932 4 : ca_.Bind(&block29);
5933 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr2(false, true, true)\' failed", "../../test/torque/test-torque.tq", 557);
5934 : }
5935 :
5936 4 : if (block28.is_used()) {
5937 4 : ca_.Bind(&block28);
5938 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 558);
5939 4 : compiler::TNode<BoolT> tmp59;
5940 4 : USE(tmp59);
5941 4 : tmp59 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5942 4 : compiler::TNode<BoolT> tmp60;
5943 4 : USE(tmp60);
5944 4 : tmp60 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5945 4 : compiler::TNode<BoolT> tmp61;
5946 4 : USE(tmp61);
5947 4 : tmp61 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5948 4 : compiler::TNode<BoolT> tmp62;
5949 4 : USE(tmp62);
5950 4 : tmp62 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp59}, compiler::TNode<BoolT>{tmp60}, compiler::TNode<BoolT>{tmp61}));
5951 4 : ca_.Branch(tmp62, &block30, &block31);
5952 : }
5953 :
5954 4 : if (block31.is_used()) {
5955 4 : ca_.Bind(&block31);
5956 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr3(false, true, true)\' failed", "../../test/torque/test-torque.tq", 558);
5957 : }
5958 :
5959 4 : if (block30.is_used()) {
5960 4 : ca_.Bind(&block30);
5961 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 559);
5962 4 : compiler::TNode<BoolT> tmp63;
5963 4 : USE(tmp63);
5964 4 : tmp63 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5965 4 : compiler::TNode<BoolT> tmp64;
5966 4 : USE(tmp64);
5967 4 : tmp64 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5968 4 : compiler::TNode<BoolT> tmp65;
5969 4 : USE(tmp65);
5970 4 : tmp65 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5971 4 : compiler::TNode<BoolT> tmp66;
5972 4 : USE(tmp66);
5973 4 : tmp66 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp63}, compiler::TNode<BoolT>{tmp64}, compiler::TNode<BoolT>{tmp65}));
5974 4 : compiler::TNode<BoolT> tmp67;
5975 4 : USE(tmp67);
5976 4 : tmp67 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp66}));
5977 4 : ca_.Branch(tmp67, &block32, &block33);
5978 : }
5979 :
5980 4 : if (block33.is_used()) {
5981 4 : ca_.Bind(&block33);
5982 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr1(false, true, false)\' failed", "../../test/torque/test-torque.tq", 559);
5983 : }
5984 :
5985 4 : if (block32.is_used()) {
5986 4 : ca_.Bind(&block32);
5987 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 560);
5988 4 : compiler::TNode<BoolT> tmp68;
5989 4 : USE(tmp68);
5990 4 : tmp68 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5991 4 : compiler::TNode<BoolT> tmp69;
5992 4 : USE(tmp69);
5993 4 : tmp69 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
5994 4 : compiler::TNode<BoolT> tmp70;
5995 4 : USE(tmp70);
5996 4 : tmp70 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
5997 4 : compiler::TNode<BoolT> tmp71;
5998 4 : USE(tmp71);
5999 4 : tmp71 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp68}, compiler::TNode<BoolT>{tmp69}, compiler::TNode<BoolT>{tmp70}));
6000 4 : compiler::TNode<BoolT> tmp72;
6001 4 : USE(tmp72);
6002 4 : tmp72 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp71}));
6003 4 : ca_.Branch(tmp72, &block34, &block35);
6004 : }
6005 :
6006 4 : if (block35.is_used()) {
6007 4 : ca_.Bind(&block35);
6008 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr2(false, true, false)\' failed", "../../test/torque/test-torque.tq", 560);
6009 : }
6010 :
6011 4 : if (block34.is_used()) {
6012 4 : ca_.Bind(&block34);
6013 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 561);
6014 4 : compiler::TNode<BoolT> tmp73;
6015 4 : USE(tmp73);
6016 4 : tmp73 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6017 4 : compiler::TNode<BoolT> tmp74;
6018 4 : USE(tmp74);
6019 4 : tmp74 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6020 4 : compiler::TNode<BoolT> tmp75;
6021 4 : USE(tmp75);
6022 4 : tmp75 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6023 4 : compiler::TNode<BoolT> tmp76;
6024 4 : USE(tmp76);
6025 4 : tmp76 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp73}, compiler::TNode<BoolT>{tmp74}, compiler::TNode<BoolT>{tmp75}));
6026 4 : compiler::TNode<BoolT> tmp77;
6027 4 : USE(tmp77);
6028 4 : tmp77 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp76}));
6029 4 : ca_.Branch(tmp77, &block36, &block37);
6030 : }
6031 :
6032 4 : if (block37.is_used()) {
6033 4 : ca_.Bind(&block37);
6034 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr3(false, true, false)\' failed", "../../test/torque/test-torque.tq", 561);
6035 : }
6036 :
6037 4 : if (block36.is_used()) {
6038 4 : ca_.Bind(&block36);
6039 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 562);
6040 4 : compiler::TNode<BoolT> tmp78;
6041 4 : USE(tmp78);
6042 4 : tmp78 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6043 4 : compiler::TNode<BoolT> tmp79;
6044 4 : USE(tmp79);
6045 4 : tmp79 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6046 4 : compiler::TNode<BoolT> tmp80;
6047 4 : USE(tmp80);
6048 4 : tmp80 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6049 4 : compiler::TNode<BoolT> tmp81;
6050 4 : USE(tmp81);
6051 4 : tmp81 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp78}, compiler::TNode<BoolT>{tmp79}, compiler::TNode<BoolT>{tmp80}));
6052 4 : ca_.Branch(tmp81, &block38, &block39);
6053 : }
6054 :
6055 4 : if (block39.is_used()) {
6056 4 : ca_.Bind(&block39);
6057 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr1(false, false, true)\' failed", "../../test/torque/test-torque.tq", 562);
6058 : }
6059 :
6060 4 : if (block38.is_used()) {
6061 4 : ca_.Bind(&block38);
6062 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 563);
6063 4 : compiler::TNode<BoolT> tmp82;
6064 4 : USE(tmp82);
6065 4 : tmp82 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6066 4 : compiler::TNode<BoolT> tmp83;
6067 4 : USE(tmp83);
6068 4 : tmp83 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6069 4 : compiler::TNode<BoolT> tmp84;
6070 4 : USE(tmp84);
6071 4 : tmp84 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6072 4 : compiler::TNode<BoolT> tmp85;
6073 4 : USE(tmp85);
6074 4 : tmp85 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp82}, compiler::TNode<BoolT>{tmp83}, compiler::TNode<BoolT>{tmp84}));
6075 4 : ca_.Branch(tmp85, &block40, &block41);
6076 : }
6077 :
6078 4 : if (block41.is_used()) {
6079 4 : ca_.Bind(&block41);
6080 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr2(false, false, true)\' failed", "../../test/torque/test-torque.tq", 563);
6081 : }
6082 :
6083 4 : if (block40.is_used()) {
6084 4 : ca_.Bind(&block40);
6085 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 564);
6086 4 : compiler::TNode<BoolT> tmp86;
6087 4 : USE(tmp86);
6088 4 : tmp86 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6089 4 : compiler::TNode<BoolT> tmp87;
6090 4 : USE(tmp87);
6091 4 : tmp87 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6092 4 : compiler::TNode<BoolT> tmp88;
6093 4 : USE(tmp88);
6094 4 : tmp88 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6095 4 : compiler::TNode<BoolT> tmp89;
6096 4 : USE(tmp89);
6097 4 : tmp89 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp86}, compiler::TNode<BoolT>{tmp87}, compiler::TNode<BoolT>{tmp88}));
6098 4 : ca_.Branch(tmp89, &block42, &block43);
6099 : }
6100 :
6101 4 : if (block43.is_used()) {
6102 4 : ca_.Bind(&block43);
6103 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestAndOr3(false, false, true)\' failed", "../../test/torque/test-torque.tq", 564);
6104 : }
6105 :
6106 4 : if (block42.is_used()) {
6107 4 : ca_.Bind(&block42);
6108 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 565);
6109 4 : compiler::TNode<BoolT> tmp90;
6110 4 : USE(tmp90);
6111 4 : tmp90 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6112 4 : compiler::TNode<BoolT> tmp91;
6113 4 : USE(tmp91);
6114 4 : tmp91 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6115 4 : compiler::TNode<BoolT> tmp92;
6116 4 : USE(tmp92);
6117 4 : tmp92 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6118 4 : compiler::TNode<BoolT> tmp93;
6119 4 : USE(tmp93);
6120 4 : tmp93 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr1(compiler::TNode<BoolT>{tmp90}, compiler::TNode<BoolT>{tmp91}, compiler::TNode<BoolT>{tmp92}));
6121 4 : compiler::TNode<BoolT> tmp94;
6122 4 : USE(tmp94);
6123 4 : tmp94 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp93}));
6124 4 : ca_.Branch(tmp94, &block44, &block45);
6125 : }
6126 :
6127 4 : if (block45.is_used()) {
6128 4 : ca_.Bind(&block45);
6129 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr1(false, false, false)\' failed", "../../test/torque/test-torque.tq", 565);
6130 : }
6131 :
6132 4 : if (block44.is_used()) {
6133 4 : ca_.Bind(&block44);
6134 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 566);
6135 4 : compiler::TNode<BoolT> tmp95;
6136 4 : USE(tmp95);
6137 4 : tmp95 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6138 4 : compiler::TNode<BoolT> tmp96;
6139 4 : USE(tmp96);
6140 4 : tmp96 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6141 4 : compiler::TNode<BoolT> tmp97;
6142 4 : USE(tmp97);
6143 4 : tmp97 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6144 4 : compiler::TNode<BoolT> tmp98;
6145 4 : USE(tmp98);
6146 4 : tmp98 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr2(compiler::TNode<BoolT>{tmp95}, compiler::TNode<BoolT>{tmp96}, compiler::TNode<BoolT>{tmp97}));
6147 4 : compiler::TNode<BoolT> tmp99;
6148 4 : USE(tmp99);
6149 4 : tmp99 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp98}));
6150 4 : ca_.Branch(tmp99, &block46, &block47);
6151 : }
6152 :
6153 4 : if (block47.is_used()) {
6154 4 : ca_.Bind(&block47);
6155 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr2(false, false, false)\' failed", "../../test/torque/test-torque.tq", 566);
6156 : }
6157 :
6158 4 : if (block46.is_used()) {
6159 4 : ca_.Bind(&block46);
6160 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 567);
6161 4 : compiler::TNode<BoolT> tmp100;
6162 4 : USE(tmp100);
6163 4 : tmp100 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6164 4 : compiler::TNode<BoolT> tmp101;
6165 4 : USE(tmp101);
6166 4 : tmp101 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6167 4 : compiler::TNode<BoolT> tmp102;
6168 4 : USE(tmp102);
6169 4 : tmp102 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6170 4 : compiler::TNode<BoolT> tmp103;
6171 4 : USE(tmp103);
6172 4 : tmp103 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestAndOr3(compiler::TNode<BoolT>{tmp100}, compiler::TNode<BoolT>{tmp101}, compiler::TNode<BoolT>{tmp102}));
6173 4 : compiler::TNode<BoolT> tmp104;
6174 4 : USE(tmp104);
6175 4 : tmp104 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp103}));
6176 4 : ca_.Branch(tmp104, &block48, &block49);
6177 : }
6178 :
6179 4 : if (block49.is_used()) {
6180 4 : ca_.Bind(&block49);
6181 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestAndOr3(false, false, false)\' failed", "../../test/torque/test-torque.tq", 567);
6182 : }
6183 :
6184 4 : if (block48.is_used()) {
6185 4 : ca_.Bind(&block48);
6186 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 568);
6187 4 : compiler::TNode<BoolT> tmp105;
6188 4 : USE(tmp105);
6189 4 : tmp105 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6190 4 : compiler::TNode<BoolT> tmp106;
6191 4 : USE(tmp106);
6192 4 : tmp106 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6193 4 : compiler::TNode<BoolT> tmp107;
6194 4 : USE(tmp107);
6195 4 : tmp107 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6196 4 : compiler::TNode<BoolT> tmp108;
6197 4 : USE(tmp108);
6198 4 : tmp108 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp105}, compiler::TNode<BoolT>{tmp106}, compiler::TNode<BoolT>{tmp107}));
6199 4 : ca_.Branch(tmp108, &block50, &block51);
6200 : }
6201 :
6202 4 : if (block51.is_used()) {
6203 4 : ca_.Bind(&block51);
6204 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd1(true, true, true)\' failed", "../../test/torque/test-torque.tq", 568);
6205 : }
6206 :
6207 4 : if (block50.is_used()) {
6208 4 : ca_.Bind(&block50);
6209 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 569);
6210 4 : compiler::TNode<BoolT> tmp109;
6211 4 : USE(tmp109);
6212 4 : tmp109 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6213 4 : compiler::TNode<BoolT> tmp110;
6214 4 : USE(tmp110);
6215 4 : tmp110 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6216 4 : compiler::TNode<BoolT> tmp111;
6217 4 : USE(tmp111);
6218 4 : tmp111 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6219 4 : compiler::TNode<BoolT> tmp112;
6220 4 : USE(tmp112);
6221 4 : tmp112 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp109}, compiler::TNode<BoolT>{tmp110}, compiler::TNode<BoolT>{tmp111}));
6222 4 : ca_.Branch(tmp112, &block52, &block53);
6223 : }
6224 :
6225 4 : if (block53.is_used()) {
6226 4 : ca_.Bind(&block53);
6227 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd2(true, true, true)\' failed", "../../test/torque/test-torque.tq", 569);
6228 : }
6229 :
6230 4 : if (block52.is_used()) {
6231 4 : ca_.Bind(&block52);
6232 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 570);
6233 4 : compiler::TNode<BoolT> tmp113;
6234 4 : USE(tmp113);
6235 4 : tmp113 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6236 4 : compiler::TNode<BoolT> tmp114;
6237 4 : USE(tmp114);
6238 4 : tmp114 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6239 4 : compiler::TNode<BoolT> tmp115;
6240 4 : USE(tmp115);
6241 4 : tmp115 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6242 4 : compiler::TNode<BoolT> tmp116;
6243 4 : USE(tmp116);
6244 4 : tmp116 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp113}, compiler::TNode<BoolT>{tmp114}, compiler::TNode<BoolT>{tmp115}));
6245 4 : ca_.Branch(tmp116, &block54, &block55);
6246 : }
6247 :
6248 4 : if (block55.is_used()) {
6249 4 : ca_.Bind(&block55);
6250 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd3(true, true, true)\' failed", "../../test/torque/test-torque.tq", 570);
6251 : }
6252 :
6253 4 : if (block54.is_used()) {
6254 4 : ca_.Bind(&block54);
6255 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 571);
6256 4 : compiler::TNode<BoolT> tmp117;
6257 4 : USE(tmp117);
6258 4 : tmp117 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6259 4 : compiler::TNode<BoolT> tmp118;
6260 4 : USE(tmp118);
6261 4 : tmp118 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6262 4 : compiler::TNode<BoolT> tmp119;
6263 4 : USE(tmp119);
6264 4 : tmp119 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6265 4 : compiler::TNode<BoolT> tmp120;
6266 4 : USE(tmp120);
6267 4 : tmp120 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp117}, compiler::TNode<BoolT>{tmp118}, compiler::TNode<BoolT>{tmp119}));
6268 4 : ca_.Branch(tmp120, &block56, &block57);
6269 : }
6270 :
6271 4 : if (block57.is_used()) {
6272 4 : ca_.Bind(&block57);
6273 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd1(true, true, false)\' failed", "../../test/torque/test-torque.tq", 571);
6274 : }
6275 :
6276 4 : if (block56.is_used()) {
6277 4 : ca_.Bind(&block56);
6278 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 572);
6279 4 : compiler::TNode<BoolT> tmp121;
6280 4 : USE(tmp121);
6281 4 : tmp121 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6282 4 : compiler::TNode<BoolT> tmp122;
6283 4 : USE(tmp122);
6284 4 : tmp122 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6285 4 : compiler::TNode<BoolT> tmp123;
6286 4 : USE(tmp123);
6287 4 : tmp123 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6288 4 : compiler::TNode<BoolT> tmp124;
6289 4 : USE(tmp124);
6290 4 : tmp124 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp121}, compiler::TNode<BoolT>{tmp122}, compiler::TNode<BoolT>{tmp123}));
6291 4 : ca_.Branch(tmp124, &block58, &block59);
6292 : }
6293 :
6294 4 : if (block59.is_used()) {
6295 4 : ca_.Bind(&block59);
6296 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd2(true, true, false)\' failed", "../../test/torque/test-torque.tq", 572);
6297 : }
6298 :
6299 4 : if (block58.is_used()) {
6300 4 : ca_.Bind(&block58);
6301 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 573);
6302 4 : compiler::TNode<BoolT> tmp125;
6303 4 : USE(tmp125);
6304 4 : tmp125 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6305 4 : compiler::TNode<BoolT> tmp126;
6306 4 : USE(tmp126);
6307 4 : tmp126 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6308 4 : compiler::TNode<BoolT> tmp127;
6309 4 : USE(tmp127);
6310 4 : tmp127 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6311 4 : compiler::TNode<BoolT> tmp128;
6312 4 : USE(tmp128);
6313 4 : tmp128 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp125}, compiler::TNode<BoolT>{tmp126}, compiler::TNode<BoolT>{tmp127}));
6314 4 : ca_.Branch(tmp128, &block60, &block61);
6315 : }
6316 :
6317 4 : if (block61.is_used()) {
6318 4 : ca_.Bind(&block61);
6319 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd3(true, true, false)\' failed", "../../test/torque/test-torque.tq", 573);
6320 : }
6321 :
6322 4 : if (block60.is_used()) {
6323 4 : ca_.Bind(&block60);
6324 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 574);
6325 4 : compiler::TNode<BoolT> tmp129;
6326 4 : USE(tmp129);
6327 4 : tmp129 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6328 4 : compiler::TNode<BoolT> tmp130;
6329 4 : USE(tmp130);
6330 4 : tmp130 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6331 4 : compiler::TNode<BoolT> tmp131;
6332 4 : USE(tmp131);
6333 4 : tmp131 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6334 4 : compiler::TNode<BoolT> tmp132;
6335 4 : USE(tmp132);
6336 4 : tmp132 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp129}, compiler::TNode<BoolT>{tmp130}, compiler::TNode<BoolT>{tmp131}));
6337 4 : ca_.Branch(tmp132, &block62, &block63);
6338 : }
6339 :
6340 4 : if (block63.is_used()) {
6341 4 : ca_.Bind(&block63);
6342 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd1(true, false, true)\' failed", "../../test/torque/test-torque.tq", 574);
6343 : }
6344 :
6345 4 : if (block62.is_used()) {
6346 4 : ca_.Bind(&block62);
6347 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 575);
6348 4 : compiler::TNode<BoolT> tmp133;
6349 4 : USE(tmp133);
6350 4 : tmp133 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6351 4 : compiler::TNode<BoolT> tmp134;
6352 4 : USE(tmp134);
6353 4 : tmp134 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6354 4 : compiler::TNode<BoolT> tmp135;
6355 4 : USE(tmp135);
6356 4 : tmp135 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6357 4 : compiler::TNode<BoolT> tmp136;
6358 4 : USE(tmp136);
6359 4 : tmp136 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp133}, compiler::TNode<BoolT>{tmp134}, compiler::TNode<BoolT>{tmp135}));
6360 4 : ca_.Branch(tmp136, &block64, &block65);
6361 : }
6362 :
6363 4 : if (block65.is_used()) {
6364 4 : ca_.Bind(&block65);
6365 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd2(true, false, true)\' failed", "../../test/torque/test-torque.tq", 575);
6366 : }
6367 :
6368 4 : if (block64.is_used()) {
6369 4 : ca_.Bind(&block64);
6370 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 576);
6371 4 : compiler::TNode<BoolT> tmp137;
6372 4 : USE(tmp137);
6373 4 : tmp137 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6374 4 : compiler::TNode<BoolT> tmp138;
6375 4 : USE(tmp138);
6376 4 : tmp138 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6377 4 : compiler::TNode<BoolT> tmp139;
6378 4 : USE(tmp139);
6379 4 : tmp139 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6380 4 : compiler::TNode<BoolT> tmp140;
6381 4 : USE(tmp140);
6382 4 : tmp140 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp137}, compiler::TNode<BoolT>{tmp138}, compiler::TNode<BoolT>{tmp139}));
6383 4 : ca_.Branch(tmp140, &block66, &block67);
6384 : }
6385 :
6386 4 : if (block67.is_used()) {
6387 4 : ca_.Bind(&block67);
6388 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd3(true, false, true)\' failed", "../../test/torque/test-torque.tq", 576);
6389 : }
6390 :
6391 4 : if (block66.is_used()) {
6392 4 : ca_.Bind(&block66);
6393 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 577);
6394 4 : compiler::TNode<BoolT> tmp141;
6395 4 : USE(tmp141);
6396 4 : tmp141 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6397 4 : compiler::TNode<BoolT> tmp142;
6398 4 : USE(tmp142);
6399 4 : tmp142 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6400 4 : compiler::TNode<BoolT> tmp143;
6401 4 : USE(tmp143);
6402 4 : tmp143 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6403 4 : compiler::TNode<BoolT> tmp144;
6404 4 : USE(tmp144);
6405 4 : tmp144 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp141}, compiler::TNode<BoolT>{tmp142}, compiler::TNode<BoolT>{tmp143}));
6406 4 : ca_.Branch(tmp144, &block68, &block69);
6407 : }
6408 :
6409 4 : if (block69.is_used()) {
6410 4 : ca_.Bind(&block69);
6411 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd1(true, false, false)\' failed", "../../test/torque/test-torque.tq", 577);
6412 : }
6413 :
6414 4 : if (block68.is_used()) {
6415 4 : ca_.Bind(&block68);
6416 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 578);
6417 4 : compiler::TNode<BoolT> tmp145;
6418 4 : USE(tmp145);
6419 4 : tmp145 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6420 4 : compiler::TNode<BoolT> tmp146;
6421 4 : USE(tmp146);
6422 4 : tmp146 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6423 4 : compiler::TNode<BoolT> tmp147;
6424 4 : USE(tmp147);
6425 4 : tmp147 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6426 4 : compiler::TNode<BoolT> tmp148;
6427 4 : USE(tmp148);
6428 4 : tmp148 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp145}, compiler::TNode<BoolT>{tmp146}, compiler::TNode<BoolT>{tmp147}));
6429 4 : ca_.Branch(tmp148, &block70, &block71);
6430 : }
6431 :
6432 4 : if (block71.is_used()) {
6433 4 : ca_.Bind(&block71);
6434 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd2(true, false, false)\' failed", "../../test/torque/test-torque.tq", 578);
6435 : }
6436 :
6437 4 : if (block70.is_used()) {
6438 4 : ca_.Bind(&block70);
6439 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 579);
6440 4 : compiler::TNode<BoolT> tmp149;
6441 4 : USE(tmp149);
6442 4 : tmp149 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6443 4 : compiler::TNode<BoolT> tmp150;
6444 4 : USE(tmp150);
6445 4 : tmp150 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6446 4 : compiler::TNode<BoolT> tmp151;
6447 4 : USE(tmp151);
6448 4 : tmp151 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6449 4 : compiler::TNode<BoolT> tmp152;
6450 4 : USE(tmp152);
6451 4 : tmp152 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp149}, compiler::TNode<BoolT>{tmp150}, compiler::TNode<BoolT>{tmp151}));
6452 4 : ca_.Branch(tmp152, &block72, &block73);
6453 : }
6454 :
6455 4 : if (block73.is_used()) {
6456 4 : ca_.Bind(&block73);
6457 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd3(true, false, false)\' failed", "../../test/torque/test-torque.tq", 579);
6458 : }
6459 :
6460 4 : if (block72.is_used()) {
6461 4 : ca_.Bind(&block72);
6462 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 580);
6463 4 : compiler::TNode<BoolT> tmp153;
6464 4 : USE(tmp153);
6465 4 : tmp153 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6466 4 : compiler::TNode<BoolT> tmp154;
6467 4 : USE(tmp154);
6468 4 : tmp154 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6469 4 : compiler::TNode<BoolT> tmp155;
6470 4 : USE(tmp155);
6471 4 : tmp155 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6472 4 : compiler::TNode<BoolT> tmp156;
6473 4 : USE(tmp156);
6474 4 : tmp156 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp153}, compiler::TNode<BoolT>{tmp154}, compiler::TNode<BoolT>{tmp155}));
6475 4 : ca_.Branch(tmp156, &block74, &block75);
6476 : }
6477 :
6478 4 : if (block75.is_used()) {
6479 4 : ca_.Bind(&block75);
6480 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd1(false, true, true)\' failed", "../../test/torque/test-torque.tq", 580);
6481 : }
6482 :
6483 4 : if (block74.is_used()) {
6484 4 : ca_.Bind(&block74);
6485 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 581);
6486 4 : compiler::TNode<BoolT> tmp157;
6487 4 : USE(tmp157);
6488 4 : tmp157 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6489 4 : compiler::TNode<BoolT> tmp158;
6490 4 : USE(tmp158);
6491 4 : tmp158 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6492 4 : compiler::TNode<BoolT> tmp159;
6493 4 : USE(tmp159);
6494 4 : tmp159 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6495 4 : compiler::TNode<BoolT> tmp160;
6496 4 : USE(tmp160);
6497 4 : tmp160 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp157}, compiler::TNode<BoolT>{tmp158}, compiler::TNode<BoolT>{tmp159}));
6498 4 : ca_.Branch(tmp160, &block76, &block77);
6499 : }
6500 :
6501 4 : if (block77.is_used()) {
6502 4 : ca_.Bind(&block77);
6503 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd2(false, true, true)\' failed", "../../test/torque/test-torque.tq", 581);
6504 : }
6505 :
6506 4 : if (block76.is_used()) {
6507 4 : ca_.Bind(&block76);
6508 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 582);
6509 4 : compiler::TNode<BoolT> tmp161;
6510 4 : USE(tmp161);
6511 4 : tmp161 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6512 4 : compiler::TNode<BoolT> tmp162;
6513 4 : USE(tmp162);
6514 4 : tmp162 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6515 4 : compiler::TNode<BoolT> tmp163;
6516 4 : USE(tmp163);
6517 4 : tmp163 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6518 4 : compiler::TNode<BoolT> tmp164;
6519 4 : USE(tmp164);
6520 4 : tmp164 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp161}, compiler::TNode<BoolT>{tmp162}, compiler::TNode<BoolT>{tmp163}));
6521 4 : ca_.Branch(tmp164, &block78, &block79);
6522 : }
6523 :
6524 4 : if (block79.is_used()) {
6525 4 : ca_.Bind(&block79);
6526 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'TestOrAnd3(false, true, true)\' failed", "../../test/torque/test-torque.tq", 582);
6527 : }
6528 :
6529 4 : if (block78.is_used()) {
6530 4 : ca_.Bind(&block78);
6531 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 583);
6532 4 : compiler::TNode<BoolT> tmp165;
6533 4 : USE(tmp165);
6534 4 : tmp165 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6535 4 : compiler::TNode<BoolT> tmp166;
6536 4 : USE(tmp166);
6537 4 : tmp166 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6538 4 : compiler::TNode<BoolT> tmp167;
6539 4 : USE(tmp167);
6540 4 : tmp167 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6541 4 : compiler::TNode<BoolT> tmp168;
6542 4 : USE(tmp168);
6543 4 : tmp168 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp165}, compiler::TNode<BoolT>{tmp166}, compiler::TNode<BoolT>{tmp167}));
6544 4 : compiler::TNode<BoolT> tmp169;
6545 4 : USE(tmp169);
6546 4 : tmp169 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp168}));
6547 4 : ca_.Branch(tmp169, &block80, &block81);
6548 : }
6549 :
6550 4 : if (block81.is_used()) {
6551 4 : ca_.Bind(&block81);
6552 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd1(false, true, false)\' failed", "../../test/torque/test-torque.tq", 583);
6553 : }
6554 :
6555 4 : if (block80.is_used()) {
6556 4 : ca_.Bind(&block80);
6557 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 584);
6558 4 : compiler::TNode<BoolT> tmp170;
6559 4 : USE(tmp170);
6560 4 : tmp170 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6561 4 : compiler::TNode<BoolT> tmp171;
6562 4 : USE(tmp171);
6563 4 : tmp171 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6564 4 : compiler::TNode<BoolT> tmp172;
6565 4 : USE(tmp172);
6566 4 : tmp172 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6567 4 : compiler::TNode<BoolT> tmp173;
6568 4 : USE(tmp173);
6569 4 : tmp173 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp170}, compiler::TNode<BoolT>{tmp171}, compiler::TNode<BoolT>{tmp172}));
6570 4 : compiler::TNode<BoolT> tmp174;
6571 4 : USE(tmp174);
6572 4 : tmp174 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp173}));
6573 4 : ca_.Branch(tmp174, &block82, &block83);
6574 : }
6575 :
6576 4 : if (block83.is_used()) {
6577 4 : ca_.Bind(&block83);
6578 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd2(false, true, false)\' failed", "../../test/torque/test-torque.tq", 584);
6579 : }
6580 :
6581 4 : if (block82.is_used()) {
6582 4 : ca_.Bind(&block82);
6583 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 585);
6584 4 : compiler::TNode<BoolT> tmp175;
6585 4 : USE(tmp175);
6586 4 : tmp175 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6587 4 : compiler::TNode<BoolT> tmp176;
6588 4 : USE(tmp176);
6589 4 : tmp176 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6590 4 : compiler::TNode<BoolT> tmp177;
6591 4 : USE(tmp177);
6592 4 : tmp177 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6593 4 : compiler::TNode<BoolT> tmp178;
6594 4 : USE(tmp178);
6595 4 : tmp178 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp175}, compiler::TNode<BoolT>{tmp176}, compiler::TNode<BoolT>{tmp177}));
6596 4 : compiler::TNode<BoolT> tmp179;
6597 4 : USE(tmp179);
6598 4 : tmp179 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp178}));
6599 4 : ca_.Branch(tmp179, &block84, &block85);
6600 : }
6601 :
6602 4 : if (block85.is_used()) {
6603 4 : ca_.Bind(&block85);
6604 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd3(false, true, false)\' failed", "../../test/torque/test-torque.tq", 585);
6605 : }
6606 :
6607 4 : if (block84.is_used()) {
6608 4 : ca_.Bind(&block84);
6609 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 586);
6610 4 : compiler::TNode<BoolT> tmp180;
6611 4 : USE(tmp180);
6612 4 : tmp180 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6613 4 : compiler::TNode<BoolT> tmp181;
6614 4 : USE(tmp181);
6615 4 : tmp181 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6616 4 : compiler::TNode<BoolT> tmp182;
6617 4 : USE(tmp182);
6618 4 : tmp182 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6619 4 : compiler::TNode<BoolT> tmp183;
6620 4 : USE(tmp183);
6621 4 : tmp183 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp180}, compiler::TNode<BoolT>{tmp181}, compiler::TNode<BoolT>{tmp182}));
6622 4 : compiler::TNode<BoolT> tmp184;
6623 4 : USE(tmp184);
6624 4 : tmp184 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp183}));
6625 4 : ca_.Branch(tmp184, &block86, &block87);
6626 : }
6627 :
6628 4 : if (block87.is_used()) {
6629 4 : ca_.Bind(&block87);
6630 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd1(false, false, true)\' failed", "../../test/torque/test-torque.tq", 586);
6631 : }
6632 :
6633 4 : if (block86.is_used()) {
6634 4 : ca_.Bind(&block86);
6635 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 587);
6636 4 : compiler::TNode<BoolT> tmp185;
6637 4 : USE(tmp185);
6638 4 : tmp185 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6639 4 : compiler::TNode<BoolT> tmp186;
6640 4 : USE(tmp186);
6641 4 : tmp186 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6642 4 : compiler::TNode<BoolT> tmp187;
6643 4 : USE(tmp187);
6644 4 : tmp187 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6645 4 : compiler::TNode<BoolT> tmp188;
6646 4 : USE(tmp188);
6647 4 : tmp188 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp185}, compiler::TNode<BoolT>{tmp186}, compiler::TNode<BoolT>{tmp187}));
6648 4 : compiler::TNode<BoolT> tmp189;
6649 4 : USE(tmp189);
6650 4 : tmp189 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp188}));
6651 4 : ca_.Branch(tmp189, &block88, &block89);
6652 : }
6653 :
6654 4 : if (block89.is_used()) {
6655 4 : ca_.Bind(&block89);
6656 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd2(false, false, true)\' failed", "../../test/torque/test-torque.tq", 587);
6657 : }
6658 :
6659 4 : if (block88.is_used()) {
6660 4 : ca_.Bind(&block88);
6661 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 588);
6662 4 : compiler::TNode<BoolT> tmp190;
6663 4 : USE(tmp190);
6664 4 : tmp190 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6665 4 : compiler::TNode<BoolT> tmp191;
6666 4 : USE(tmp191);
6667 4 : tmp191 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6668 4 : compiler::TNode<BoolT> tmp192;
6669 4 : USE(tmp192);
6670 4 : tmp192 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(true));
6671 4 : compiler::TNode<BoolT> tmp193;
6672 4 : USE(tmp193);
6673 4 : tmp193 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp190}, compiler::TNode<BoolT>{tmp191}, compiler::TNode<BoolT>{tmp192}));
6674 4 : compiler::TNode<BoolT> tmp194;
6675 4 : USE(tmp194);
6676 4 : tmp194 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp193}));
6677 4 : ca_.Branch(tmp194, &block90, &block91);
6678 : }
6679 :
6680 4 : if (block91.is_used()) {
6681 4 : ca_.Bind(&block91);
6682 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd3(false, false, true)\' failed", "../../test/torque/test-torque.tq", 588);
6683 : }
6684 :
6685 4 : if (block90.is_used()) {
6686 4 : ca_.Bind(&block90);
6687 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 589);
6688 4 : compiler::TNode<BoolT> tmp195;
6689 4 : USE(tmp195);
6690 4 : tmp195 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6691 4 : compiler::TNode<BoolT> tmp196;
6692 4 : USE(tmp196);
6693 4 : tmp196 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6694 4 : compiler::TNode<BoolT> tmp197;
6695 4 : USE(tmp197);
6696 4 : tmp197 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6697 4 : compiler::TNode<BoolT> tmp198;
6698 4 : USE(tmp198);
6699 4 : tmp198 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd1(compiler::TNode<BoolT>{tmp195}, compiler::TNode<BoolT>{tmp196}, compiler::TNode<BoolT>{tmp197}));
6700 4 : compiler::TNode<BoolT> tmp199;
6701 4 : USE(tmp199);
6702 4 : tmp199 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp198}));
6703 4 : ca_.Branch(tmp199, &block92, &block93);
6704 : }
6705 :
6706 4 : if (block93.is_used()) {
6707 4 : ca_.Bind(&block93);
6708 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd1(false, false, false)\' failed", "../../test/torque/test-torque.tq", 589);
6709 : }
6710 :
6711 4 : if (block92.is_used()) {
6712 4 : ca_.Bind(&block92);
6713 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 590);
6714 4 : compiler::TNode<BoolT> tmp200;
6715 4 : USE(tmp200);
6716 4 : tmp200 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6717 4 : compiler::TNode<BoolT> tmp201;
6718 4 : USE(tmp201);
6719 4 : tmp201 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6720 4 : compiler::TNode<BoolT> tmp202;
6721 4 : USE(tmp202);
6722 4 : tmp202 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6723 4 : compiler::TNode<BoolT> tmp203;
6724 4 : USE(tmp203);
6725 4 : tmp203 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd2(compiler::TNode<BoolT>{tmp200}, compiler::TNode<BoolT>{tmp201}, compiler::TNode<BoolT>{tmp202}));
6726 4 : compiler::TNode<BoolT> tmp204;
6727 4 : USE(tmp204);
6728 4 : tmp204 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp203}));
6729 4 : ca_.Branch(tmp204, &block94, &block95);
6730 : }
6731 :
6732 4 : if (block95.is_used()) {
6733 4 : ca_.Bind(&block95);
6734 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd2(false, false, false)\' failed", "../../test/torque/test-torque.tq", 590);
6735 : }
6736 :
6737 4 : if (block94.is_used()) {
6738 4 : ca_.Bind(&block94);
6739 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 591);
6740 4 : compiler::TNode<BoolT> tmp205;
6741 4 : USE(tmp205);
6742 4 : tmp205 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6743 4 : compiler::TNode<BoolT> tmp206;
6744 4 : USE(tmp206);
6745 4 : tmp206 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6746 4 : compiler::TNode<BoolT> tmp207;
6747 4 : USE(tmp207);
6748 4 : tmp207 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr6ATbool16ATconstexpr_bool(false));
6749 4 : compiler::TNode<BoolT> tmp208;
6750 4 : USE(tmp208);
6751 4 : tmp208 = ca_.UncheckedCast<BoolT>(TestBuiltinsFromDSLAssembler(state_).TestOrAnd3(compiler::TNode<BoolT>{tmp205}, compiler::TNode<BoolT>{tmp206}, compiler::TNode<BoolT>{tmp207}));
6752 4 : compiler::TNode<BoolT> tmp209;
6753 4 : USE(tmp209);
6754 4 : tmp209 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp208}));
6755 4 : ca_.Branch(tmp209, &block96, &block97);
6756 : }
6757 :
6758 4 : if (block97.is_used()) {
6759 4 : ca_.Bind(&block97);
6760 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!TestOrAnd3(false, false, false)\' failed", "../../test/torque/test-torque.tq", 591);
6761 : }
6762 :
6763 4 : if (block96.is_used()) {
6764 4 : ca_.Bind(&block96);
6765 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 543);
6766 4 : ca_.Goto(&block1);
6767 : }
6768 :
6769 4 : if (block1.is_used()) {
6770 4 : ca_.Bind(&block1);
6771 4 : ca_.Goto(&block98);
6772 : }
6773 :
6774 8 : ca_.Bind(&block98);
6775 4 : }
6776 :
6777 12 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestCall(compiler::TNode<Smi> p_i, compiler::CodeAssemblerLabel* label_A) {
6778 12 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6779 24 : compiler::CodeAssemblerParameterizedLabel<Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6780 24 : compiler::CodeAssemblerParameterizedLabel<Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6781 24 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6782 24 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6783 24 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6784 12 : ca_.Goto(&block0, p_i);
6785 :
6786 12 : if (block0.is_used()) {
6787 12 : compiler::TNode<Smi> tmp0;
6788 12 : ca_.Bind(&block0, &tmp0);
6789 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 596);
6790 12 : compiler::TNode<Smi> tmp1;
6791 12 : USE(tmp1);
6792 12 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
6793 12 : compiler::TNode<BoolT> tmp2;
6794 12 : USE(tmp2);
6795 12 : tmp2 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp0}, compiler::TNode<Smi>{tmp1}));
6796 12 : ca_.Branch(tmp2, &block3, &block4, tmp0);
6797 : }
6798 :
6799 12 : if (block3.is_used()) {
6800 12 : compiler::TNode<Smi> tmp3;
6801 12 : ca_.Bind(&block3, &tmp3);
6802 12 : ca_.Goto(&block2, tmp3, tmp3);
6803 : }
6804 :
6805 12 : if (block4.is_used()) {
6806 12 : compiler::TNode<Smi> tmp4;
6807 12 : ca_.Bind(&block4, &tmp4);
6808 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 597);
6809 12 : ca_.Goto(&block1);
6810 : }
6811 :
6812 12 : if (block2.is_used()) {
6813 12 : compiler::TNode<Smi> tmp5;
6814 12 : compiler::TNode<Smi> tmp6;
6815 12 : ca_.Bind(&block2, &tmp5, &tmp6);
6816 12 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 594);
6817 12 : ca_.Goto(&block5, tmp5, tmp6);
6818 : }
6819 :
6820 12 : if (block1.is_used()) {
6821 12 : ca_.Bind(&block1);
6822 12 : ca_.Goto(label_A);
6823 : }
6824 :
6825 12 : compiler::TNode<Smi> tmp7;
6826 12 : compiler::TNode<Smi> tmp8;
6827 12 : ca_.Bind(&block5, &tmp7, &tmp8);
6828 24 : return compiler::TNode<Smi>{tmp8};
6829 : }
6830 :
6831 4 : void TestBuiltinsFromDSLAssembler::TestOtherwiseWithCode1() {
6832 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6833 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6834 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6835 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6836 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6837 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6838 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6839 8 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6840 8 : compiler::CodeAssemblerParameterizedLabel<> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6841 4 : ca_.Goto(&block0);
6842 :
6843 4 : if (block0.is_used()) {
6844 4 : ca_.Bind(&block0);
6845 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 601);
6846 4 : compiler::TNode<Smi> tmp0;
6847 4 : USE(tmp0);
6848 4 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
6849 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 602);
6850 4 : compiler::TNode<Smi> tmp1;
6851 4 : USE(tmp1);
6852 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
6853 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 604);
6854 4 : compiler::TNode<Smi> tmp2;
6855 4 : USE(tmp2);
6856 4 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
6857 4 : compiler::TNode<Smi> tmp3;
6858 4 : USE(tmp3);
6859 4 : compiler::CodeAssemblerLabel label0(&ca_);
6860 4 : tmp3 = TestBuiltinsFromDSLAssembler(state_).TestCall(compiler::TNode<Smi>{tmp2}, &label0);
6861 4 : ca_.Goto(&block6, tmp0, tmp1, tmp3);
6862 4 : if (label0.is_used()) {
6863 4 : ca_.Bind(&label0);
6864 4 : ca_.Goto(&block7, tmp0, tmp1);
6865 4 : }
6866 : }
6867 :
6868 4 : if (block7.is_used()) {
6869 4 : compiler::TNode<Smi> tmp4;
6870 4 : compiler::TNode<Smi> tmp5;
6871 4 : ca_.Bind(&block7, &tmp4, &tmp5);
6872 4 : ca_.Goto(&block5, tmp4, tmp5);
6873 : }
6874 :
6875 4 : if (block6.is_used()) {
6876 4 : compiler::TNode<Smi> tmp6;
6877 4 : compiler::TNode<Smi> tmp7;
6878 4 : compiler::TNode<Smi> tmp8;
6879 4 : ca_.Bind(&block6, &tmp6, &tmp7, &tmp8);
6880 4 : ca_.Goto(&block4, tmp6, tmp7, tmp8);
6881 : }
6882 :
6883 4 : if (block5.is_used()) {
6884 4 : compiler::TNode<Smi> tmp9;
6885 4 : compiler::TNode<Smi> tmp10;
6886 4 : ca_.Bind(&block5, &tmp9, &tmp10);
6887 4 : compiler::TNode<Smi> tmp11;
6888 4 : USE(tmp11);
6889 4 : tmp11 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
6890 4 : compiler::TNode<Smi> tmp12;
6891 4 : USE(tmp12);
6892 4 : tmp12 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp10}, compiler::TNode<Smi>{tmp11}));
6893 4 : ca_.Goto(&block3, tmp9, tmp12, tmp12);
6894 : }
6895 :
6896 4 : if (block4.is_used()) {
6897 4 : compiler::TNode<Smi> tmp13;
6898 4 : compiler::TNode<Smi> tmp14;
6899 4 : compiler::TNode<Smi> tmp15;
6900 4 : ca_.Bind(&block4, &tmp13, &tmp14, &tmp15);
6901 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 606);
6902 4 : ca_.Goto(&block2, tmp13, tmp14);
6903 : }
6904 :
6905 4 : if (block3.is_used()) {
6906 4 : compiler::TNode<Smi> tmp16;
6907 4 : compiler::TNode<Smi> tmp17;
6908 4 : compiler::TNode<Smi> tmp18;
6909 4 : ca_.Bind(&block3, &tmp16, &tmp17, &tmp18);
6910 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 607);
6911 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 603);
6912 4 : ca_.Goto(&block2, tmp18, tmp17);
6913 : }
6914 :
6915 4 : if (block2.is_used()) {
6916 4 : compiler::TNode<Smi> tmp19;
6917 4 : compiler::TNode<Smi> tmp20;
6918 4 : ca_.Bind(&block2, &tmp19, &tmp20);
6919 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 600);
6920 4 : ca_.Goto(&block1);
6921 : }
6922 :
6923 4 : if (block1.is_used()) {
6924 4 : ca_.Bind(&block1);
6925 4 : ca_.Goto(&block8);
6926 : }
6927 :
6928 8 : ca_.Bind(&block8);
6929 4 : }
6930 :
6931 4 : void TestBuiltinsFromDSLAssembler::TestOtherwiseWithCode2() {
6932 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6933 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6934 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6935 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6936 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6937 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6938 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6939 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6940 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6941 8 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6942 8 : compiler::CodeAssemblerParameterizedLabel<> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
6943 4 : ca_.Goto(&block0);
6944 :
6945 4 : if (block0.is_used()) {
6946 4 : ca_.Bind(&block0);
6947 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 613);
6948 4 : compiler::TNode<Smi> tmp0;
6949 4 : USE(tmp0);
6950 4 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
6951 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 614);
6952 4 : compiler::TNode<Smi> tmp1;
6953 4 : USE(tmp1);
6954 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
6955 4 : ca_.Goto(&block4, tmp0, tmp1);
6956 : }
6957 :
6958 4 : if (block4.is_used()) {
6959 4 : compiler::TNode<Smi> tmp2;
6960 4 : compiler::TNode<Smi> tmp3;
6961 4 : ca_.Bind(&block4, &tmp2, &tmp3);
6962 4 : compiler::TNode<Smi> tmp4;
6963 4 : USE(tmp4);
6964 4 : tmp4 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
6965 4 : compiler::TNode<BoolT> tmp5;
6966 4 : USE(tmp5);
6967 4 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp3}, compiler::TNode<Smi>{tmp4}));
6968 4 : ca_.Branch(tmp5, &block2, &block3, tmp2, tmp3);
6969 : }
6970 :
6971 4 : if (block2.is_used()) {
6972 4 : compiler::TNode<Smi> tmp6;
6973 4 : compiler::TNode<Smi> tmp7;
6974 4 : ca_.Bind(&block2, &tmp6, &tmp7);
6975 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 615);
6976 4 : compiler::TNode<Smi> tmp8;
6977 4 : USE(tmp8);
6978 4 : compiler::CodeAssemblerLabel label0(&ca_);
6979 4 : tmp8 = TestBuiltinsFromDSLAssembler(state_).TestCall(compiler::TNode<Smi>{tmp7}, &label0);
6980 4 : ca_.Goto(&block8, tmp6, tmp7, tmp7, tmp8);
6981 4 : if (label0.is_used()) {
6982 4 : ca_.Bind(&label0);
6983 4 : ca_.Goto(&block9, tmp6, tmp7, tmp7);
6984 4 : }
6985 : }
6986 :
6987 4 : if (block9.is_used()) {
6988 4 : compiler::TNode<Smi> tmp9;
6989 4 : compiler::TNode<Smi> tmp10;
6990 4 : compiler::TNode<Smi> tmp11;
6991 4 : ca_.Bind(&block9, &tmp9, &tmp10, &tmp11);
6992 4 : ca_.Goto(&block7, tmp9, tmp10);
6993 : }
6994 :
6995 4 : if (block8.is_used()) {
6996 4 : compiler::TNode<Smi> tmp12;
6997 4 : compiler::TNode<Smi> tmp13;
6998 4 : compiler::TNode<Smi> tmp14;
6999 4 : compiler::TNode<Smi> tmp15;
7000 4 : ca_.Bind(&block8, &tmp12, &tmp13, &tmp14, &tmp15);
7001 4 : ca_.Goto(&block6, tmp12, tmp13, tmp15);
7002 : }
7003 :
7004 4 : if (block7.is_used()) {
7005 4 : compiler::TNode<Smi> tmp16;
7006 4 : compiler::TNode<Smi> tmp17;
7007 4 : ca_.Bind(&block7, &tmp16, &tmp17);
7008 4 : ca_.Goto(&block3, tmp16, tmp17);
7009 : }
7010 :
7011 4 : if (block6.is_used()) {
7012 4 : compiler::TNode<Smi> tmp18;
7013 4 : compiler::TNode<Smi> tmp19;
7014 4 : compiler::TNode<Smi> tmp20;
7015 4 : ca_.Bind(&block6, &tmp18, &tmp19, &tmp20);
7016 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 616);
7017 4 : compiler::TNode<Smi> tmp21;
7018 4 : USE(tmp21);
7019 4 : tmp21 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
7020 4 : compiler::TNode<Smi> tmp22;
7021 4 : USE(tmp22);
7022 4 : tmp22 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp18}, compiler::TNode<Smi>{tmp21}));
7023 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 614);
7024 4 : ca_.Goto(&block5, tmp22, tmp19);
7025 : }
7026 :
7027 4 : if (block5.is_used()) {
7028 4 : compiler::TNode<Smi> tmp23;
7029 4 : compiler::TNode<Smi> tmp24;
7030 4 : ca_.Bind(&block5, &tmp23, &tmp24);
7031 4 : compiler::TNode<Smi> tmp25;
7032 4 : USE(tmp25);
7033 4 : tmp25 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
7034 4 : compiler::TNode<Smi> tmp26;
7035 4 : USE(tmp26);
7036 4 : tmp26 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp24}, compiler::TNode<Smi>{tmp25}));
7037 4 : ca_.Goto(&block4, tmp23, tmp26);
7038 : }
7039 :
7040 4 : if (block3.is_used()) {
7041 4 : compiler::TNode<Smi> tmp27;
7042 4 : compiler::TNode<Smi> tmp28;
7043 4 : ca_.Bind(&block3, &tmp27, &tmp28);
7044 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 612);
7045 4 : ca_.Goto(&block1);
7046 : }
7047 :
7048 4 : if (block1.is_used()) {
7049 4 : ca_.Bind(&block1);
7050 4 : ca_.Goto(&block10);
7051 : }
7052 :
7053 8 : ca_.Bind(&block10);
7054 4 : }
7055 :
7056 4 : void TestBuiltinsFromDSLAssembler::TestOtherwiseWithCode3() {
7057 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7058 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7059 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7060 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7061 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi, Smi> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7062 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7063 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi, Smi, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7064 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7065 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7066 8 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7067 8 : compiler::CodeAssemblerParameterizedLabel<> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7068 4 : ca_.Goto(&block0);
7069 :
7070 4 : if (block0.is_used()) {
7071 4 : ca_.Bind(&block0);
7072 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 622);
7073 4 : compiler::TNode<Smi> tmp0;
7074 4 : USE(tmp0);
7075 4 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
7076 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 623);
7077 4 : compiler::TNode<Smi> tmp1;
7078 4 : USE(tmp1);
7079 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
7080 4 : ca_.Goto(&block4, tmp0, tmp1);
7081 : }
7082 :
7083 4 : if (block4.is_used()) {
7084 4 : compiler::TNode<Smi> tmp2;
7085 4 : compiler::TNode<Smi> tmp3;
7086 4 : ca_.Bind(&block4, &tmp2, &tmp3);
7087 4 : compiler::TNode<Smi> tmp4;
7088 4 : USE(tmp4);
7089 4 : tmp4 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(10));
7090 4 : compiler::TNode<BoolT> tmp5;
7091 4 : USE(tmp5);
7092 4 : tmp5 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiLessThan(compiler::TNode<Smi>{tmp3}, compiler::TNode<Smi>{tmp4}));
7093 4 : ca_.Branch(tmp5, &block2, &block3, tmp2, tmp3);
7094 : }
7095 :
7096 4 : if (block2.is_used()) {
7097 4 : compiler::TNode<Smi> tmp6;
7098 4 : compiler::TNode<Smi> tmp7;
7099 4 : ca_.Bind(&block2, &tmp6, &tmp7);
7100 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 624);
7101 4 : compiler::TNode<Smi> tmp8;
7102 4 : USE(tmp8);
7103 4 : compiler::CodeAssemblerLabel label0(&ca_);
7104 4 : tmp8 = TestBuiltinsFromDSLAssembler(state_).TestCall(compiler::TNode<Smi>{tmp7}, &label0);
7105 4 : ca_.Goto(&block8, tmp6, tmp7, tmp6, tmp7, tmp8);
7106 4 : if (label0.is_used()) {
7107 4 : ca_.Bind(&label0);
7108 4 : ca_.Goto(&block9, tmp6, tmp7, tmp6, tmp7);
7109 4 : }
7110 : }
7111 :
7112 4 : if (block9.is_used()) {
7113 4 : compiler::TNode<Smi> tmp9;
7114 4 : compiler::TNode<Smi> tmp10;
7115 4 : compiler::TNode<Smi> tmp11;
7116 4 : compiler::TNode<Smi> tmp12;
7117 4 : ca_.Bind(&block9, &tmp9, &tmp10, &tmp11, &tmp12);
7118 4 : ca_.Goto(&block7, tmp9, tmp10, tmp11);
7119 : }
7120 :
7121 4 : if (block8.is_used()) {
7122 4 : compiler::TNode<Smi> tmp13;
7123 4 : compiler::TNode<Smi> tmp14;
7124 4 : compiler::TNode<Smi> tmp15;
7125 4 : compiler::TNode<Smi> tmp16;
7126 4 : compiler::TNode<Smi> tmp17;
7127 4 : ca_.Bind(&block8, &tmp13, &tmp14, &tmp15, &tmp16, &tmp17);
7128 4 : ca_.Goto(&block6, tmp13, tmp14, tmp15, tmp17);
7129 : }
7130 :
7131 4 : if (block7.is_used()) {
7132 4 : compiler::TNode<Smi> tmp18;
7133 4 : compiler::TNode<Smi> tmp19;
7134 4 : compiler::TNode<Smi> tmp20;
7135 4 : ca_.Bind(&block7, &tmp18, &tmp19, &tmp20);
7136 4 : ca_.Goto(&block3, tmp18, tmp19);
7137 : }
7138 :
7139 4 : if (block6.is_used()) {
7140 4 : compiler::TNode<Smi> tmp21;
7141 4 : compiler::TNode<Smi> tmp22;
7142 4 : compiler::TNode<Smi> tmp23;
7143 4 : compiler::TNode<Smi> tmp24;
7144 4 : ca_.Bind(&block6, &tmp21, &tmp22, &tmp23, &tmp24);
7145 4 : compiler::TNode<Smi> tmp25;
7146 4 : USE(tmp25);
7147 4 : tmp25 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp23}, compiler::TNode<Smi>{tmp24}));
7148 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 623);
7149 4 : ca_.Goto(&block5, tmp25, tmp22);
7150 : }
7151 :
7152 4 : if (block5.is_used()) {
7153 4 : compiler::TNode<Smi> tmp26;
7154 4 : compiler::TNode<Smi> tmp27;
7155 4 : ca_.Bind(&block5, &tmp26, &tmp27);
7156 4 : compiler::TNode<Smi> tmp28;
7157 4 : USE(tmp28);
7158 4 : tmp28 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
7159 4 : compiler::TNode<Smi> tmp29;
7160 4 : USE(tmp29);
7161 4 : tmp29 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp27}, compiler::TNode<Smi>{tmp28}));
7162 4 : ca_.Goto(&block4, tmp26, tmp29);
7163 : }
7164 :
7165 4 : if (block3.is_used()) {
7166 4 : compiler::TNode<Smi> tmp30;
7167 4 : compiler::TNode<Smi> tmp31;
7168 4 : ca_.Bind(&block3, &tmp30, &tmp31);
7169 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 621);
7170 4 : ca_.Goto(&block1);
7171 : }
7172 :
7173 4 : if (block1.is_used()) {
7174 4 : ca_.Bind(&block1);
7175 4 : ca_.Goto(&block10);
7176 : }
7177 :
7178 8 : ca_.Bind(&block10);
7179 4 : }
7180 :
7181 4 : void TestBuiltinsFromDSLAssembler::TestForwardLabel() {
7182 4 : compiler::CodeAssemblerParameterizedLabel<> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7183 8 : compiler::CodeAssemblerParameterizedLabel<> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7184 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7185 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7186 8 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7187 8 : compiler::CodeAssemblerParameterizedLabel<> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7188 4 : ca_.Goto(&block0);
7189 :
7190 4 : if (block0.is_used()) {
7191 4 : ca_.Bind(&block0);
7192 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 631);
7193 4 : ca_.Goto(&block5);
7194 : }
7195 :
7196 4 : if (block5.is_used()) {
7197 4 : ca_.Bind(&block5);
7198 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 634);
7199 4 : compiler::TNode<Smi> tmp0;
7200 4 : USE(tmp0);
7201 4 : tmp0 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
7202 4 : ca_.Goto(&block3, tmp0);
7203 : }
7204 :
7205 4 : if (block3.is_used()) {
7206 4 : compiler::TNode<Smi> tmp1;
7207 4 : ca_.Bind(&block3, &tmp1);
7208 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 630);
7209 4 : ca_.Goto(&block2, tmp1);
7210 : }
7211 :
7212 4 : if (block2.is_used()) {
7213 4 : compiler::TNode<Smi> tmp2;
7214 4 : ca_.Bind(&block2, &tmp2);
7215 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 629);
7216 4 : ca_.Goto(&block1);
7217 : }
7218 :
7219 4 : if (block1.is_used()) {
7220 4 : ca_.Bind(&block1);
7221 4 : ca_.Goto(&block6);
7222 : }
7223 :
7224 8 : ca_.Bind(&block6);
7225 4 : }
7226 :
7227 4 : void TestBuiltinsFromDSLAssembler::TestQualifiedAccess(compiler::TNode<Context> p_context) {
7228 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7229 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7230 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7231 8 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7232 8 : compiler::CodeAssemblerParameterizedLabel<Context> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7233 4 : ca_.Goto(&block0, p_context);
7234 :
7235 4 : if (block0.is_used()) {
7236 4 : compiler::TNode<Context> tmp0;
7237 4 : ca_.Bind(&block0, &tmp0);
7238 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 642);
7239 4 : compiler::TNode<Smi> tmp1;
7240 4 : USE(tmp1);
7241 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
7242 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 643);
7243 4 : compiler::TNode<BoolT> tmp2;
7244 4 : USE(tmp2);
7245 4 : tmp2 = ca_.UncheckedCast<BoolT>(ArrayBuiltinsFromDSLAssembler(state_).IsJSArray(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}));
7246 4 : compiler::TNode<BoolT> tmp3;
7247 4 : USE(tmp3);
7248 4 : tmp3 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).Word32BinaryNot(compiler::TNode<BoolT>{tmp2}));
7249 4 : ca_.Branch(tmp3, &block2, &block3, tmp0, tmp1);
7250 : }
7251 :
7252 4 : if (block3.is_used()) {
7253 4 : compiler::TNode<Context> tmp4;
7254 4 : compiler::TNode<Smi> tmp5;
7255 4 : ca_.Bind(&block3, &tmp4, &tmp5);
7256 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'!array::IsJSArray(s)\' failed", "../../test/torque/test-torque.tq", 643);
7257 : }
7258 :
7259 4 : if (block2.is_used()) {
7260 4 : compiler::TNode<Context> tmp6;
7261 4 : compiler::TNode<Smi> tmp7;
7262 4 : ca_.Bind(&block2, &tmp6, &tmp7);
7263 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 641);
7264 4 : ca_.Goto(&block1, tmp6);
7265 : }
7266 :
7267 4 : if (block1.is_used()) {
7268 4 : compiler::TNode<Context> tmp8;
7269 4 : ca_.Bind(&block1, &tmp8);
7270 4 : ca_.Goto(&block4, tmp8);
7271 : }
7272 :
7273 4 : compiler::TNode<Context> tmp9;
7274 8 : ca_.Bind(&block4, &tmp9);
7275 4 : }
7276 :
7277 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestCatch1(compiler::TNode<Context> p_context) {
7278 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7279 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Context, Object> block4(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7280 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7281 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7282 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7283 4 : ca_.Goto(&block0, p_context);
7284 :
7285 4 : if (block0.is_used()) {
7286 4 : compiler::TNode<Context> tmp0;
7287 4 : ca_.Bind(&block0, &tmp0);
7288 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 647);
7289 4 : compiler::TNode<Smi> tmp1;
7290 4 : USE(tmp1);
7291 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
7292 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 649);
7293 4 : compiler::CodeAssemblerExceptionHandlerLabel catch2_label(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7294 4 : { compiler::CodeAssemblerScopedExceptionHandler s(&ca_, &catch2_label);
7295 4 : CodeStubAssembler(state_).ThrowTypeError(compiler::TNode<Context>{tmp0}, MessageTemplate::kInvalidArrayLength);
7296 : }
7297 4 : if (catch2_label.is_used()) {
7298 4 : compiler::CodeAssemblerLabel catch2_skip(&ca_);
7299 4 : compiler::TNode<Object> catch2_exception_object;
7300 4 : ca_.Bind(&catch2_label, &catch2_exception_object);
7301 4 : ca_.Goto(&block4, tmp0, tmp1, tmp0, catch2_exception_object);
7302 4 : }
7303 : }
7304 :
7305 4 : if (block4.is_used()) {
7306 4 : compiler::TNode<Context> tmp3;
7307 4 : compiler::TNode<Smi> tmp4;
7308 4 : compiler::TNode<Context> tmp5;
7309 4 : compiler::TNode<Object> tmp6;
7310 4 : ca_.Bind(&block4, &tmp3, &tmp4, &tmp5, &tmp6);
7311 4 : ca_.Goto(&block3, tmp3, tmp4, tmp6);
7312 : }
7313 :
7314 4 : if (block3.is_used()) {
7315 4 : compiler::TNode<Context> tmp7;
7316 4 : compiler::TNode<Smi> tmp8;
7317 4 : compiler::TNode<Object> tmp9;
7318 4 : ca_.Bind(&block3, &tmp7, &tmp8, &tmp9);
7319 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 651);
7320 4 : compiler::TNode<Smi> tmp10;
7321 4 : USE(tmp10);
7322 4 : tmp10 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
7323 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 652);
7324 4 : ca_.Goto(&block1, tmp7, tmp10);
7325 : }
7326 :
7327 4 : if (block1.is_used()) {
7328 4 : compiler::TNode<Context> tmp11;
7329 4 : compiler::TNode<Smi> tmp12;
7330 4 : ca_.Bind(&block1, &tmp11, &tmp12);
7331 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 646);
7332 4 : ca_.Goto(&block5, tmp11, tmp12);
7333 : }
7334 :
7335 4 : compiler::TNode<Context> tmp13;
7336 4 : compiler::TNode<Smi> tmp14;
7337 4 : ca_.Bind(&block5, &tmp13, &tmp14);
7338 8 : return compiler::TNode<Smi>{tmp14};
7339 : }
7340 :
7341 4 : void TestBuiltinsFromDSLAssembler::TestCatch2Wrapper(compiler::TNode<Context> p_context) {
7342 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7343 4 : ca_.Goto(&block0, p_context);
7344 :
7345 4 : if (block0.is_used()) {
7346 4 : compiler::TNode<Context> tmp0;
7347 4 : ca_.Bind(&block0, &tmp0);
7348 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 657);
7349 4 : CodeStubAssembler(state_).ThrowTypeError(compiler::TNode<Context>{tmp0}, MessageTemplate::kInvalidArrayLength);
7350 4 : }
7351 4 : }
7352 :
7353 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestCatch2(compiler::TNode<Context> p_context) {
7354 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7355 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block4(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7356 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7357 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7358 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7359 4 : ca_.Goto(&block0, p_context);
7360 :
7361 4 : if (block0.is_used()) {
7362 4 : compiler::TNode<Context> tmp0;
7363 4 : ca_.Bind(&block0, &tmp0);
7364 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 661);
7365 4 : compiler::TNode<Smi> tmp1;
7366 4 : USE(tmp1);
7367 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
7368 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 663);
7369 4 : compiler::CodeAssemblerExceptionHandlerLabel catch2_label(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7370 4 : { compiler::CodeAssemblerScopedExceptionHandler s(&ca_, &catch2_label);
7371 4 : TestBuiltinsFromDSLAssembler(state_).TestCatch2Wrapper(compiler::TNode<Context>{tmp0});
7372 : }
7373 4 : if (catch2_label.is_used()) {
7374 4 : compiler::CodeAssemblerLabel catch2_skip(&ca_);
7375 4 : compiler::TNode<Object> catch2_exception_object;
7376 4 : ca_.Bind(&catch2_label, &catch2_exception_object);
7377 4 : ca_.Goto(&block4, tmp0, tmp1, catch2_exception_object);
7378 4 : }
7379 : }
7380 :
7381 4 : if (block4.is_used()) {
7382 4 : compiler::TNode<Context> tmp3;
7383 4 : compiler::TNode<Smi> tmp4;
7384 4 : compiler::TNode<Object> tmp5;
7385 4 : ca_.Bind(&block4, &tmp3, &tmp4, &tmp5);
7386 4 : ca_.Goto(&block3, tmp3, tmp4, tmp5);
7387 : }
7388 :
7389 4 : if (block3.is_used()) {
7390 4 : compiler::TNode<Context> tmp6;
7391 4 : compiler::TNode<Smi> tmp7;
7392 4 : compiler::TNode<Object> tmp8;
7393 4 : ca_.Bind(&block3, &tmp6, &tmp7, &tmp8);
7394 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 665);
7395 4 : compiler::TNode<Smi> tmp9;
7396 4 : USE(tmp9);
7397 4 : tmp9 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(2));
7398 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 666);
7399 4 : ca_.Goto(&block1, tmp6, tmp9);
7400 : }
7401 :
7402 4 : if (block1.is_used()) {
7403 4 : compiler::TNode<Context> tmp10;
7404 4 : compiler::TNode<Smi> tmp11;
7405 4 : ca_.Bind(&block1, &tmp10, &tmp11);
7406 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 660);
7407 4 : ca_.Goto(&block5, tmp10, tmp11);
7408 : }
7409 :
7410 4 : compiler::TNode<Context> tmp12;
7411 4 : compiler::TNode<Smi> tmp13;
7412 4 : ca_.Bind(&block5, &tmp12, &tmp13);
7413 8 : return compiler::TNode<Smi>{tmp13};
7414 : }
7415 :
7416 4 : void TestBuiltinsFromDSLAssembler::TestCatch3WrapperWithLabel(compiler::TNode<Context> p_context, compiler::CodeAssemblerLabel* label_Abort) {
7417 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7418 8 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7419 4 : ca_.Goto(&block0, p_context);
7420 :
7421 4 : if (block0.is_used()) {
7422 4 : compiler::TNode<Context> tmp0;
7423 4 : ca_.Bind(&block0, &tmp0);
7424 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 672);
7425 4 : CodeStubAssembler(state_).ThrowTypeError(compiler::TNode<Context>{tmp0}, MessageTemplate::kInvalidArrayLength);
7426 : }
7427 :
7428 4 : if (block1.is_used()) {
7429 0 : ca_.Bind(&block1);
7430 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 670);
7431 0 : ca_.Goto(label_Abort);
7432 4 : }
7433 4 : }
7434 :
7435 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::TestCatch3(compiler::TNode<Context> p_context) {
7436 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7437 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block7(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7438 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7439 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7440 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block8(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7441 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7442 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7443 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7444 4 : ca_.Goto(&block0, p_context);
7445 :
7446 4 : if (block0.is_used()) {
7447 4 : compiler::TNode<Context> tmp0;
7448 4 : ca_.Bind(&block0, &tmp0);
7449 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 676);
7450 4 : compiler::TNode<Smi> tmp1;
7451 4 : USE(tmp1);
7452 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(0));
7453 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 678);
7454 4 : compiler::CodeAssemblerLabel label0(&ca_);
7455 8 : compiler::CodeAssemblerExceptionHandlerLabel catch2_label(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7456 4 : { compiler::CodeAssemblerScopedExceptionHandler s(&ca_, &catch2_label);
7457 4 : TestBuiltinsFromDSLAssembler(state_).TestCatch3WrapperWithLabel(compiler::TNode<Context>{tmp0}, &label0);
7458 : }
7459 4 : if (catch2_label.is_used()) {
7460 4 : compiler::CodeAssemblerLabel catch2_skip(&ca_);
7461 4 : compiler::TNode<Object> catch2_exception_object;
7462 4 : ca_.Bind(&catch2_label, &catch2_exception_object);
7463 4 : ca_.Goto(&block7, tmp0, tmp1, catch2_exception_object);
7464 : }
7465 4 : if (label0.is_used()) {
7466 0 : ca_.Bind(&label0);
7467 0 : ca_.Goto(&block6, tmp0, tmp1);
7468 4 : }
7469 : }
7470 :
7471 4 : if (block7.is_used()) {
7472 4 : compiler::TNode<Context> tmp3;
7473 4 : compiler::TNode<Smi> tmp4;
7474 4 : compiler::TNode<Object> tmp5;
7475 4 : ca_.Bind(&block7, &tmp3, &tmp4, &tmp5);
7476 4 : ca_.Goto(&block3, tmp3, tmp4, tmp5);
7477 : }
7478 :
7479 4 : if (block6.is_used()) {
7480 0 : compiler::TNode<Context> tmp6;
7481 0 : compiler::TNode<Smi> tmp7;
7482 0 : ca_.Bind(&block6, &tmp6, &tmp7);
7483 0 : ca_.Goto(&block5, tmp6, tmp7);
7484 : }
7485 :
7486 4 : if (block5.is_used()) {
7487 0 : compiler::TNode<Context> tmp8;
7488 0 : compiler::TNode<Smi> tmp9;
7489 0 : ca_.Bind(&block5, &tmp8, &tmp9);
7490 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 681);
7491 0 : compiler::TNode<Smi> tmp10;
7492 0 : USE(tmp10);
7493 0 : compiler::CodeAssemblerExceptionHandlerLabel catch11_label(&ca_, compiler::CodeAssemblerLabel::kDeferred);
7494 0 : { compiler::CodeAssemblerScopedExceptionHandler s(&ca_, &catch11_label);
7495 0 : tmp10 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(-1));
7496 : }
7497 0 : if (catch11_label.is_used()) {
7498 0 : compiler::CodeAssemblerLabel catch11_skip(&ca_);
7499 0 : ca_.Goto(&catch11_skip);
7500 0 : compiler::TNode<Object> catch11_exception_object;
7501 0 : ca_.Bind(&catch11_label, &catch11_exception_object);
7502 0 : ca_.Goto(&block8, tmp8, tmp9, catch11_exception_object);
7503 0 : ca_.Bind(&catch11_skip);
7504 : }
7505 0 : ca_.Goto(&block1, tmp8, tmp10);
7506 : }
7507 :
7508 4 : if (block8.is_used()) {
7509 0 : compiler::TNode<Context> tmp12;
7510 0 : compiler::TNode<Smi> tmp13;
7511 0 : compiler::TNode<Object> tmp14;
7512 0 : ca_.Bind(&block8, &tmp12, &tmp13, &tmp14);
7513 0 : ca_.Goto(&block3, tmp12, tmp13, tmp14);
7514 : }
7515 :
7516 4 : if (block3.is_used()) {
7517 4 : compiler::TNode<Context> tmp15;
7518 4 : compiler::TNode<Smi> tmp16;
7519 4 : compiler::TNode<Object> tmp17;
7520 4 : ca_.Bind(&block3, &tmp15, &tmp16, &tmp17);
7521 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 684);
7522 4 : compiler::TNode<Smi> tmp18;
7523 4 : USE(tmp18);
7524 4 : tmp18 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(2));
7525 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 685);
7526 4 : ca_.Goto(&block1, tmp15, tmp18);
7527 : }
7528 :
7529 4 : if (block1.is_used()) {
7530 4 : compiler::TNode<Context> tmp19;
7531 4 : compiler::TNode<Smi> tmp20;
7532 4 : ca_.Bind(&block1, &tmp19, &tmp20);
7533 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 675);
7534 4 : ca_.Goto(&block9, tmp19, tmp20);
7535 : }
7536 :
7537 4 : compiler::TNode<Context> tmp21;
7538 4 : compiler::TNode<Smi> tmp22;
7539 4 : ca_.Bind(&block9, &tmp21, &tmp22);
7540 8 : return compiler::TNode<Smi>{tmp22};
7541 : }
7542 :
7543 0 : void TestBuiltinsFromDSLAssembler::TestIterator(compiler::TNode<Context> p_context, compiler::TNode<Object> p_o, compiler::TNode<Map> p_map) {
7544 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7545 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map, Object, JSReceiver, Object, JSReceiver, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7546 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map, Object, JSReceiver, Object, JSReceiver, Object, Object> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7547 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map, Object, JSReceiver, Object, Object, JSReceiver, Object, Map> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7548 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map, Object, JSReceiver, Object, Object, JSReceiver, Object, Map, Object> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7549 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7550 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7551 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7552 0 : compiler::CodeAssemblerParameterizedLabel<Context, Object, Map> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7553 0 : ca_.Goto(&block0, p_context, p_o, p_map);
7554 :
7555 0 : if (block0.is_used()) {
7556 0 : compiler::TNode<Context> tmp0;
7557 0 : compiler::TNode<Object> tmp1;
7558 0 : compiler::TNode<Map> tmp2;
7559 0 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2);
7560 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 695);
7561 0 : compiler::TNode<Object> tmp3;
7562 0 : USE(tmp3);
7563 0 : tmp3 = ca_.UncheckedCast<Object>(IteratorBuiltinsAssembler(state_).GetIteratorMethod(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}));
7564 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 696);
7565 0 : compiler::TNode<JSReceiver> tmp4;
7566 0 : USE(tmp4);
7567 0 : compiler::TNode<Object> tmp5;
7568 0 : USE(tmp5);
7569 0 : std::tie(tmp4, tmp5) = IteratorBuiltinsAssembler(state_).GetIterator(compiler::TNode<Context>{tmp0}, compiler::TNode<Object>{tmp1}).Flatten();
7570 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 698);
7571 0 : compiler::TNode<Object> tmp6;
7572 0 : USE(tmp6);
7573 0 : compiler::CodeAssemblerLabel label0(&ca_);
7574 0 : tmp6 = IteratorBuiltinsAssembler(state_).IteratorStep(compiler::TNode<Context>{tmp0}, IteratorBuiltinsFromDSLAssembler::IteratorRecord{compiler::TNode<JSReceiver>{tmp4}, compiler::TNode<Object>{tmp5}}, &label0);
7575 0 : ca_.Goto(&block4, tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp4, tmp5, tmp6);
7576 0 : if (label0.is_used()) {
7577 0 : ca_.Bind(&label0);
7578 0 : ca_.Goto(&block5, tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp4, tmp5);
7579 0 : }
7580 : }
7581 :
7582 0 : if (block5.is_used()) {
7583 0 : compiler::TNode<Context> tmp7;
7584 0 : compiler::TNode<Object> tmp8;
7585 0 : compiler::TNode<Map> tmp9;
7586 0 : compiler::TNode<Object> tmp10;
7587 0 : compiler::TNode<JSReceiver> tmp11;
7588 0 : compiler::TNode<Object> tmp12;
7589 0 : compiler::TNode<JSReceiver> tmp13;
7590 0 : compiler::TNode<Object> tmp14;
7591 0 : ca_.Bind(&block5, &tmp7, &tmp8, &tmp9, &tmp10, &tmp11, &tmp12, &tmp13, &tmp14);
7592 0 : ca_.Goto(&block3, tmp7, tmp8, tmp9);
7593 : }
7594 :
7595 0 : if (block4.is_used()) {
7596 0 : compiler::TNode<Context> tmp15;
7597 0 : compiler::TNode<Object> tmp16;
7598 0 : compiler::TNode<Map> tmp17;
7599 0 : compiler::TNode<Object> tmp18;
7600 0 : compiler::TNode<JSReceiver> tmp19;
7601 0 : compiler::TNode<Object> tmp20;
7602 0 : compiler::TNode<JSReceiver> tmp21;
7603 0 : compiler::TNode<Object> tmp22;
7604 0 : compiler::TNode<Object> tmp23;
7605 0 : ca_.Bind(&block4, &tmp15, &tmp16, &tmp17, &tmp18, &tmp19, &tmp20, &tmp21, &tmp22, &tmp23);
7606 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 699);
7607 0 : compiler::TNode<Object> tmp24;
7608 0 : USE(tmp24);
7609 0 : compiler::CodeAssemblerLabel label0(&ca_);
7610 0 : tmp24 = IteratorBuiltinsAssembler(state_).IteratorStep(compiler::TNode<Context>{tmp15}, IteratorBuiltinsFromDSLAssembler::IteratorRecord{compiler::TNode<JSReceiver>{tmp19}, compiler::TNode<Object>{tmp20}}, compiler::TNode<Map>{tmp17}, &label0);
7611 0 : ca_.Goto(&block6, tmp15, tmp16, tmp17, tmp18, tmp19, tmp20, tmp23, tmp19, tmp20, tmp17, tmp24);
7612 0 : if (label0.is_used()) {
7613 0 : ca_.Bind(&label0);
7614 0 : ca_.Goto(&block7, tmp15, tmp16, tmp17, tmp18, tmp19, tmp20, tmp23, tmp19, tmp20, tmp17);
7615 0 : }
7616 : }
7617 :
7618 0 : if (block7.is_used()) {
7619 0 : compiler::TNode<Context> tmp25;
7620 0 : compiler::TNode<Object> tmp26;
7621 0 : compiler::TNode<Map> tmp27;
7622 0 : compiler::TNode<Object> tmp28;
7623 0 : compiler::TNode<JSReceiver> tmp29;
7624 0 : compiler::TNode<Object> tmp30;
7625 0 : compiler::TNode<Object> tmp31;
7626 0 : compiler::TNode<JSReceiver> tmp32;
7627 0 : compiler::TNode<Object> tmp33;
7628 0 : compiler::TNode<Map> tmp34;
7629 0 : ca_.Bind(&block7, &tmp25, &tmp26, &tmp27, &tmp28, &tmp29, &tmp30, &tmp31, &tmp32, &tmp33, &tmp34);
7630 0 : ca_.Goto(&block3, tmp25, tmp26, tmp27);
7631 : }
7632 :
7633 0 : if (block6.is_used()) {
7634 0 : compiler::TNode<Context> tmp35;
7635 0 : compiler::TNode<Object> tmp36;
7636 0 : compiler::TNode<Map> tmp37;
7637 0 : compiler::TNode<Object> tmp38;
7638 0 : compiler::TNode<JSReceiver> tmp39;
7639 0 : compiler::TNode<Object> tmp40;
7640 0 : compiler::TNode<Object> tmp41;
7641 0 : compiler::TNode<JSReceiver> tmp42;
7642 0 : compiler::TNode<Object> tmp43;
7643 0 : compiler::TNode<Map> tmp44;
7644 0 : compiler::TNode<Object> tmp45;
7645 0 : ca_.Bind(&block6, &tmp35, &tmp36, &tmp37, &tmp38, &tmp39, &tmp40, &tmp41, &tmp42, &tmp43, &tmp44, &tmp45);
7646 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 701);
7647 0 : compiler::TNode<Object> tmp46;
7648 0 : USE(tmp46);
7649 0 : tmp46 = ca_.UncheckedCast<Object>(IteratorBuiltinsAssembler(state_).IteratorValue(compiler::TNode<Context>{tmp35}, compiler::TNode<Object>{tmp45}));
7650 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 702);
7651 0 : compiler::TNode<Object> tmp47;
7652 0 : USE(tmp47);
7653 0 : tmp47 = ca_.UncheckedCast<Object>(IteratorBuiltinsAssembler(state_).IteratorValue(compiler::TNode<Context>{tmp35}, compiler::TNode<Object>{tmp45}, compiler::TNode<Map>{tmp37}));
7654 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 704);
7655 0 : compiler::TNode<JSArray> tmp48;
7656 0 : USE(tmp48);
7657 0 : tmp48 = ca_.UncheckedCast<JSArray>(IteratorBuiltinsAssembler(state_).IterableToList(compiler::TNode<Context>{tmp35}, compiler::TNode<Object>{tmp38}, compiler::TNode<Object>{tmp38}));
7658 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 706);
7659 0 : IteratorBuiltinsAssembler(state_).IteratorCloseOnException(compiler::TNode<Context>{tmp35}, IteratorBuiltinsFromDSLAssembler::IteratorRecord{compiler::TNode<JSReceiver>{tmp39}, compiler::TNode<Object>{tmp40}}, compiler::TNode<Object>{tmp46});
7660 : }
7661 :
7662 0 : if (block3.is_used()) {
7663 0 : compiler::TNode<Context> tmp49;
7664 0 : compiler::TNode<Object> tmp50;
7665 0 : compiler::TNode<Map> tmp51;
7666 0 : ca_.Bind(&block3, &tmp49, &tmp50, &tmp51);
7667 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 694);
7668 0 : ca_.Goto(&block2, tmp49, tmp50, tmp51);
7669 : }
7670 :
7671 0 : if (block2.is_used()) {
7672 0 : compiler::TNode<Context> tmp52;
7673 0 : compiler::TNode<Object> tmp53;
7674 0 : compiler::TNode<Map> tmp54;
7675 0 : ca_.Bind(&block2, &tmp52, &tmp53, &tmp54);
7676 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 693);
7677 0 : ca_.Goto(&block1, tmp52, tmp53, tmp54);
7678 : }
7679 :
7680 0 : if (block1.is_used()) {
7681 0 : compiler::TNode<Context> tmp55;
7682 0 : compiler::TNode<Object> tmp56;
7683 0 : compiler::TNode<Map> tmp57;
7684 0 : ca_.Bind(&block1, &tmp55, &tmp56, &tmp57);
7685 0 : ca_.Goto(&block8, tmp55, tmp56, tmp57);
7686 : }
7687 :
7688 0 : compiler::TNode<Context> tmp58;
7689 0 : compiler::TNode<Object> tmp59;
7690 0 : compiler::TNode<Map> tmp60;
7691 0 : ca_.Bind(&block8, &tmp58, &tmp59, &tmp60);
7692 0 : }
7693 :
7694 4 : void TestBuiltinsFromDSLAssembler::TestFrame1(compiler::TNode<Context> p_context) {
7695 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7696 8 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7697 8 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Object, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7698 8 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7699 8 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7700 8 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT, RawPtrT> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7701 8 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT, RawPtrT, RawPtrT> block8(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7702 8 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7703 8 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT, RawPtrT> block13(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7704 8 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT, RawPtrT, RawPtrT> block12(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7705 8 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT> block11(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7706 8 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT> block10(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7707 8 : compiler::CodeAssemblerParameterizedLabel<Context, RawPtrT, Smi, RawPtrT> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7708 8 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7709 8 : compiler::CodeAssemblerParameterizedLabel<Context> block14(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7710 4 : ca_.Goto(&block0, p_context);
7711 :
7712 4 : if (block0.is_used()) {
7713 4 : compiler::TNode<Context> tmp0;
7714 4 : ca_.Bind(&block0, &tmp0);
7715 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 712);
7716 4 : compiler::TNode<RawPtrT> tmp1;
7717 4 : USE(tmp1);
7718 4 : tmp1 = ca_.UncheckedCast<RawPtrT>(CodeStubAssembler(state_).LoadFramePointer());
7719 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 714);
7720 4 : compiler::TNode<Object> tmp2;
7721 4 : USE(tmp2);
7722 4 : tmp2 = ca_.UncheckedCast<Object>(BaseBuiltinsFromDSLAssembler(state_).LoadContextOrFrameTypeFromFrame(compiler::TNode<Context>{tmp0}, compiler::TNode<RawPtrT>{tmp1}));
7723 4 : compiler::TNode<Smi> tmp3;
7724 4 : USE(tmp3);
7725 4 : compiler::CodeAssemblerLabel label0(&ca_);
7726 4 : tmp3 = BaseBuiltinsFromDSLAssembler(state_).Cast11ATFrameType(compiler::TNode<Object>{tmp2}, &label0);
7727 4 : ca_.Goto(&block4, tmp0, tmp1, tmp2, tmp3);
7728 4 : if (label0.is_used()) {
7729 4 : ca_.Bind(&label0);
7730 4 : ca_.Goto(&block5, tmp0, tmp1, tmp2);
7731 4 : }
7732 : }
7733 :
7734 4 : if (block5.is_used()) {
7735 4 : compiler::TNode<Context> tmp4;
7736 4 : compiler::TNode<RawPtrT> tmp5;
7737 4 : compiler::TNode<Object> tmp6;
7738 4 : ca_.Bind(&block5, &tmp4, &tmp5, &tmp6);
7739 4 : ca_.Goto(&block3, tmp4, tmp5);
7740 : }
7741 :
7742 4 : if (block4.is_used()) {
7743 4 : compiler::TNode<Context> tmp7;
7744 4 : compiler::TNode<RawPtrT> tmp8;
7745 4 : compiler::TNode<Object> tmp9;
7746 4 : compiler::TNode<Smi> tmp10;
7747 4 : ca_.Bind(&block4, &tmp7, &tmp8, &tmp9, &tmp10);
7748 4 : ca_.Goto(&block2, tmp7, tmp8, tmp10);
7749 : }
7750 :
7751 4 : if (block3.is_used()) {
7752 4 : compiler::TNode<Context> tmp11;
7753 4 : compiler::TNode<RawPtrT> tmp12;
7754 4 : ca_.Bind(&block3, &tmp11, &tmp12);
7755 4 : CodeStubAssembler(state_).Unreachable();
7756 : }
7757 :
7758 4 : if (block2.is_used()) {
7759 4 : compiler::TNode<Context> tmp13;
7760 4 : compiler::TNode<RawPtrT> tmp14;
7761 4 : compiler::TNode<Smi> tmp15;
7762 4 : ca_.Bind(&block2, &tmp13, &tmp14, &tmp15);
7763 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 713);
7764 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 717);
7765 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 718);
7766 4 : compiler::TNode<RawPtrT> tmp16;
7767 4 : USE(tmp16);
7768 4 : compiler::CodeAssemblerLabel label0(&ca_);
7769 4 : tmp16 = BaseBuiltinsFromDSLAssembler(state_).Cast15ATStandardFrame(compiler::TNode<Context>{tmp13}, compiler::TNode<RawPtrT>{tmp14}, &label0);
7770 4 : ca_.Goto(&block8, tmp13, tmp14, tmp15, tmp14, tmp14, tmp16);
7771 4 : if (label0.is_used()) {
7772 4 : ca_.Bind(&label0);
7773 4 : ca_.Goto(&block9, tmp13, tmp14, tmp15, tmp14, tmp14);
7774 4 : }
7775 : }
7776 :
7777 4 : if (block9.is_used()) {
7778 4 : compiler::TNode<Context> tmp17;
7779 4 : compiler::TNode<RawPtrT> tmp18;
7780 4 : compiler::TNode<Smi> tmp19;
7781 4 : compiler::TNode<RawPtrT> tmp20;
7782 4 : compiler::TNode<RawPtrT> tmp21;
7783 4 : ca_.Bind(&block9, &tmp17, &tmp18, &tmp19, &tmp20, &tmp21);
7784 4 : ca_.Goto(&block7, tmp17, tmp18, tmp19, tmp20);
7785 : }
7786 :
7787 4 : if (block8.is_used()) {
7788 4 : compiler::TNode<Context> tmp22;
7789 4 : compiler::TNode<RawPtrT> tmp23;
7790 4 : compiler::TNode<Smi> tmp24;
7791 4 : compiler::TNode<RawPtrT> tmp25;
7792 4 : compiler::TNode<RawPtrT> tmp26;
7793 4 : compiler::TNode<RawPtrT> tmp27;
7794 4 : ca_.Bind(&block8, &tmp22, &tmp23, &tmp24, &tmp25, &tmp26, &tmp27);
7795 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 719);
7796 4 : CodeStubAssembler(state_).Unreachable();
7797 : }
7798 :
7799 4 : if (block7.is_used()) {
7800 4 : compiler::TNode<Context> tmp28;
7801 4 : compiler::TNode<RawPtrT> tmp29;
7802 4 : compiler::TNode<Smi> tmp30;
7803 4 : compiler::TNode<RawPtrT> tmp31;
7804 4 : ca_.Bind(&block7, &tmp28, &tmp29, &tmp30, &tmp31);
7805 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 721);
7806 4 : compiler::TNode<RawPtrT> tmp32;
7807 4 : USE(tmp32);
7808 4 : compiler::CodeAssemblerLabel label0(&ca_);
7809 4 : tmp32 = BaseBuiltinsFromDSLAssembler(state_).Cast23ATArgumentsAdaptorFrame(compiler::TNode<Context>{tmp28}, compiler::TNode<RawPtrT>{ca_.UncheckedCast<RawPtrT>(tmp31)}, &label0);
7810 4 : ca_.Goto(&block12, tmp28, tmp29, tmp30, tmp31, ca_.UncheckedCast<RawPtrT>(tmp31), tmp32);
7811 4 : if (label0.is_used()) {
7812 4 : ca_.Bind(&label0);
7813 4 : ca_.Goto(&block13, tmp28, tmp29, tmp30, tmp31, ca_.UncheckedCast<RawPtrT>(tmp31));
7814 4 : }
7815 : }
7816 :
7817 4 : if (block13.is_used()) {
7818 4 : compiler::TNode<Context> tmp33;
7819 4 : compiler::TNode<RawPtrT> tmp34;
7820 4 : compiler::TNode<Smi> tmp35;
7821 4 : compiler::TNode<RawPtrT> tmp36;
7822 4 : compiler::TNode<RawPtrT> tmp37;
7823 4 : ca_.Bind(&block13, &tmp33, &tmp34, &tmp35, &tmp36, &tmp37);
7824 4 : ca_.Goto(&block11, tmp33, tmp34, tmp35, tmp36);
7825 : }
7826 :
7827 4 : if (block12.is_used()) {
7828 4 : compiler::TNode<Context> tmp38;
7829 4 : compiler::TNode<RawPtrT> tmp39;
7830 4 : compiler::TNode<Smi> tmp40;
7831 4 : compiler::TNode<RawPtrT> tmp41;
7832 4 : compiler::TNode<RawPtrT> tmp42;
7833 4 : compiler::TNode<RawPtrT> tmp43;
7834 4 : ca_.Bind(&block12, &tmp38, &tmp39, &tmp40, &tmp41, &tmp42, &tmp43);
7835 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 722);
7836 4 : CodeStubAssembler(state_).Unreachable();
7837 : }
7838 :
7839 4 : if (block11.is_used()) {
7840 4 : compiler::TNode<Context> tmp44;
7841 4 : compiler::TNode<RawPtrT> tmp45;
7842 4 : compiler::TNode<Smi> tmp46;
7843 4 : compiler::TNode<RawPtrT> tmp47;
7844 4 : ca_.Bind(&block11, &tmp44, &tmp45, &tmp46, &tmp47);
7845 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 724);
7846 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 721);
7847 4 : ca_.Goto(&block10, tmp44, tmp45, tmp46, tmp47);
7848 : }
7849 :
7850 4 : if (block10.is_used()) {
7851 4 : compiler::TNode<Context> tmp48;
7852 4 : compiler::TNode<RawPtrT> tmp49;
7853 4 : compiler::TNode<Smi> tmp50;
7854 4 : compiler::TNode<RawPtrT> tmp51;
7855 4 : ca_.Bind(&block10, &tmp48, &tmp49, &tmp50, &tmp51);
7856 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 718);
7857 4 : ca_.Goto(&block6, tmp48, tmp49, tmp50, tmp51);
7858 : }
7859 :
7860 4 : if (block6.is_used()) {
7861 4 : compiler::TNode<Context> tmp52;
7862 4 : compiler::TNode<RawPtrT> tmp53;
7863 4 : compiler::TNode<Smi> tmp54;
7864 4 : compiler::TNode<RawPtrT> tmp55;
7865 4 : ca_.Bind(&block6, &tmp52, &tmp53, &tmp54, &tmp55);
7866 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 717);
7867 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 711);
7868 4 : ca_.Goto(&block1, tmp52);
7869 : }
7870 :
7871 4 : if (block1.is_used()) {
7872 4 : compiler::TNode<Context> tmp56;
7873 4 : ca_.Bind(&block1, &tmp56);
7874 4 : ca_.Goto(&block14, tmp56);
7875 : }
7876 :
7877 4 : compiler::TNode<Context> tmp57;
7878 8 : ca_.Bind(&block14, &tmp57);
7879 4 : }
7880 :
7881 4 : void TestBuiltinsFromDSLAssembler::TestNew(compiler::TNode<Context> p_context) {
7882 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7883 8 : compiler::CodeAssemblerParameterizedLabel<Context, Map, Object, FixedArrayBase, Number, Context, Map, FixedArray, FixedArray, Map, Object, FixedArrayBase, Map, Object, Map, Object, Map, Map> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7884 8 : compiler::CodeAssemblerParameterizedLabel<Context, Map, Object, FixedArrayBase, Number, Context, Map, FixedArray, FixedArray, Map, Object, FixedArrayBase, Map, Object, Map, Object> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7885 8 : compiler::CodeAssemblerParameterizedLabel<Context, Map, Object, FixedArrayBase, Number, Context, Map, FixedArray, FixedArray, Map, Object, FixedArrayBase> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7886 8 : compiler::CodeAssemblerParameterizedLabel<Context, Map, Object, FixedArrayBase, Number, Context> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7887 8 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7888 8 : compiler::CodeAssemblerParameterizedLabel<Context> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
7889 4 : ca_.Goto(&block0, p_context);
7890 :
7891 4 : if (block0.is_used()) {
7892 4 : compiler::TNode<Context> tmp0;
7893 4 : ca_.Bind(&block0, &tmp0);
7894 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 730);
7895 4 : ca_.SetSourcePosition("../../src/builtins/base.tq", 113);
7896 4 : compiler::TNode<Map> tmp1;
7897 4 : USE(tmp1);
7898 4 : tmp1 = ca_.UncheckedCast<Map>(BaseBuiltinsFromDSLAssembler(state_).GetFastPackedSmiElementsJSArrayMap(compiler::TNode<Context>{tmp0}));
7899 4 : compiler::TNode<FixedArray> tmp2;
7900 4 : USE(tmp2);
7901 4 : tmp2 = BaseBuiltinsFromDSLAssembler(state_).kEmptyFixedArray();
7902 4 : ca_.SetSourcePosition("../../src/builtins/base.tq", 114);
7903 4 : compiler::TNode<FixedArray> tmp3;
7904 4 : USE(tmp3);
7905 4 : tmp3 = BaseBuiltinsFromDSLAssembler(state_).kEmptyFixedArray();
7906 4 : ca_.SetSourcePosition("../../src/builtins/base.tq", 112);
7907 4 : ca_.SetSourcePosition("../../src/builtins/base.tq", 95);
7908 4 : ca_.SetSourcePosition("../../src/builtins/base.tq", 85);
7909 4 : ca_.SetSourcePosition("../../src/builtins/base.tq", 24);
7910 4 : ca_.SetSourcePosition("../../src/builtins/base.tq", 85);
7911 4 : ca_.Goto(&block5, tmp0, tmp1, ca_.Uninitialized<Object>(), ca_.Uninitialized<FixedArrayBase>(), ca_.Uninitialized<Number>(), tmp0, tmp1, tmp2, tmp3, tmp1, tmp2, tmp3, tmp1, tmp2, tmp1, tmp2, tmp1, tmp1);
7912 : }
7913 :
7914 4 : if (block5.is_used()) {
7915 4 : compiler::TNode<Context> tmp4;
7916 4 : compiler::TNode<Map> tmp5;
7917 4 : compiler::TNode<Object> tmp6;
7918 4 : compiler::TNode<FixedArrayBase> tmp7;
7919 4 : compiler::TNode<Number> tmp8;
7920 4 : compiler::TNode<Context> tmp9;
7921 4 : compiler::TNode<Map> tmp10;
7922 4 : compiler::TNode<FixedArray> tmp11;
7923 4 : compiler::TNode<FixedArray> tmp12;
7924 4 : compiler::TNode<Map> tmp13;
7925 4 : compiler::TNode<Object> tmp14;
7926 4 : compiler::TNode<FixedArrayBase> tmp15;
7927 4 : compiler::TNode<Map> tmp16;
7928 4 : compiler::TNode<Object> tmp17;
7929 4 : compiler::TNode<Map> tmp18;
7930 4 : compiler::TNode<Object> tmp19;
7931 4 : compiler::TNode<Map> tmp20;
7932 4 : compiler::TNode<Map> tmp21;
7933 4 : ca_.Bind(&block5, &tmp4, &tmp5, &tmp6, &tmp7, &tmp8, &tmp9, &tmp10, &tmp11, &tmp12, &tmp13, &tmp14, &tmp15, &tmp16, &tmp17, &tmp18, &tmp19, &tmp20, &tmp21);
7934 4 : ca_.SetSourcePosition("../../src/builtins/base.tq", 95);
7935 4 : ca_.Goto(&block4, tmp4, tmp5, tmp19, tmp7, tmp8, tmp9, tmp10, tmp11, tmp12, tmp13, tmp14, tmp15, tmp16, tmp17, tmp18, tmp19);
7936 : }
7937 :
7938 4 : if (block4.is_used()) {
7939 4 : compiler::TNode<Context> tmp22;
7940 4 : compiler::TNode<Map> tmp23;
7941 4 : compiler::TNode<Object> tmp24;
7942 4 : compiler::TNode<FixedArrayBase> tmp25;
7943 4 : compiler::TNode<Number> tmp26;
7944 4 : compiler::TNode<Context> tmp27;
7945 4 : compiler::TNode<Map> tmp28;
7946 4 : compiler::TNode<FixedArray> tmp29;
7947 4 : compiler::TNode<FixedArray> tmp30;
7948 4 : compiler::TNode<Map> tmp31;
7949 4 : compiler::TNode<Object> tmp32;
7950 4 : compiler::TNode<FixedArrayBase> tmp33;
7951 4 : compiler::TNode<Map> tmp34;
7952 4 : compiler::TNode<Object> tmp35;
7953 4 : compiler::TNode<Map> tmp36;
7954 4 : compiler::TNode<Object> tmp37;
7955 4 : ca_.Bind(&block4, &tmp22, &tmp23, &tmp24, &tmp25, &tmp26, &tmp27, &tmp28, &tmp29, &tmp30, &tmp31, &tmp32, &tmp33, &tmp34, &tmp35, &tmp36, &tmp37);
7956 4 : ca_.SetSourcePosition("../../src/builtins/base.tq", 96);
7957 4 : ca_.SetSourcePosition("../../src/builtins/base.tq", 112);
7958 4 : ca_.Goto(&block3, tmp22, tmp23, tmp24, tmp33, tmp26, tmp27, tmp28, tmp29, tmp30, tmp31, tmp32, tmp33);
7959 : }
7960 :
7961 4 : if (block3.is_used()) {
7962 4 : compiler::TNode<Context> tmp38;
7963 4 : compiler::TNode<Map> tmp39;
7964 4 : compiler::TNode<Object> tmp40;
7965 4 : compiler::TNode<FixedArrayBase> tmp41;
7966 4 : compiler::TNode<Number> tmp42;
7967 4 : compiler::TNode<Context> tmp43;
7968 4 : compiler::TNode<Map> tmp44;
7969 4 : compiler::TNode<FixedArray> tmp45;
7970 4 : compiler::TNode<FixedArray> tmp46;
7971 4 : compiler::TNode<Map> tmp47;
7972 4 : compiler::TNode<Object> tmp48;
7973 4 : compiler::TNode<FixedArrayBase> tmp49;
7974 4 : ca_.Bind(&block3, &tmp38, &tmp39, &tmp40, &tmp41, &tmp42, &tmp43, &tmp44, &tmp45, &tmp46, &tmp47, &tmp48, &tmp49);
7975 4 : ca_.SetSourcePosition("../../src/builtins/base.tq", 115);
7976 4 : compiler::TNode<Number> tmp50;
7977 4 : USE(tmp50);
7978 4 : tmp50 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr22UT12ATHeapNumber5ATSmi17ATconstexpr_int31(0));
7979 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 730);
7980 4 : ca_.Goto(&block2, tmp38, tmp39, tmp40, tmp41, tmp50, tmp43);
7981 : }
7982 :
7983 4 : if (block2.is_used()) {
7984 4 : compiler::TNode<Context> tmp51;
7985 4 : compiler::TNode<Map> tmp52;
7986 4 : compiler::TNode<Object> tmp53;
7987 4 : compiler::TNode<FixedArrayBase> tmp54;
7988 4 : compiler::TNode<Number> tmp55;
7989 4 : compiler::TNode<Context> tmp56;
7990 4 : ca_.Bind(&block2, &tmp51, &tmp52, &tmp53, &tmp54, &tmp55, &tmp56);
7991 4 : compiler::TNode<IntPtrT> tmp57;
7992 4 : USE(tmp57);
7993 4 : tmp57 = CodeStubAssembler(state_).IntPtrConstant(((32)));
7994 4 : compiler::TNode<JSArray> tmp58;
7995 4 : USE(tmp58);
7996 4 : tmp58 = ca_.UncheckedCast<JSArray>(CodeStubAssembler(state_).Allocate(compiler::TNode<IntPtrT>{tmp57}));
7997 4 : CodeStubAssembler(state_).InitializeFieldsWithRoot(tmp58, CodeStubAssembler(state_).IntPtrConstant(32), compiler::TNode<IntPtrT>{tmp57}, RootIndex::kUndefinedValue);
7998 4 : CodeStubAssembler(state_).StoreMap(tmp58, tmp52);
7999 4 : CodeStubAssembler(state_).StoreObjectField(tmp58, 8, tmp53);
8000 4 : CodeStubAssembler(state_).StoreObjectField(tmp58, 16, tmp54);
8001 4 : CodeStubAssembler(state_).StoreObjectField(tmp58, 24, tmp55);
8002 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 732);
8003 4 : compiler::TNode<Number> tmp59;
8004 4 : USE(tmp59);
8005 4 : tmp59 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr22UT12ATHeapNumber5ATSmi17ATconstexpr_int31(0));
8006 4 : BaseBuiltinsFromDSLAssembler(state_).StoreJSArrayLength(compiler::TNode<JSArray>{tmp58}, compiler::TNode<Number>{tmp59});
8007 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 729);
8008 4 : ca_.Goto(&block1, tmp51);
8009 : }
8010 :
8011 4 : if (block1.is_used()) {
8012 4 : compiler::TNode<Context> tmp60;
8013 4 : ca_.Bind(&block1, &tmp60);
8014 4 : ca_.Goto(&block6, tmp60);
8015 : }
8016 :
8017 4 : compiler::TNode<Context> tmp61;
8018 8 : ca_.Bind(&block6, &tmp61);
8019 4 : }
8020 :
8021 4 : void TestBuiltinsFromDSLAssembler::TestStructConstructor(compiler::TNode<Context> p_context) {
8022 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8023 8 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T, Int32T, Int32T, Int32T, Int32T, Int32T, Int32T, Int32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8024 8 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T, Int32T, Int32T, Int32T, Int32T, Int32T, Int32T, Int32T, Int32T, Int32T> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8025 8 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T, Int32T, Int32T, Int32T, Int32T> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8026 8 : compiler::CodeAssemblerParameterizedLabel<Context, Int32T, Int32T, Int32T, Int32T, Int32T, Smi, Int32T, Smi, Int32T, Smi> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8027 8 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8028 8 : compiler::CodeAssemblerParameterizedLabel<Context> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8029 4 : ca_.Goto(&block0, p_context);
8030 :
8031 4 : if (block0.is_used()) {
8032 4 : compiler::TNode<Context> tmp0;
8033 4 : ca_.Bind(&block0, &tmp0);
8034 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 767);
8035 4 : compiler::TNode<Int32T> tmp1;
8036 4 : USE(tmp1);
8037 4 : tmp1 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(6));
8038 4 : compiler::TNode<Int32T> tmp2;
8039 4 : USE(tmp2);
8040 4 : tmp2 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(7));
8041 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 735);
8042 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 767);
8043 4 : ca_.Goto(&block2, tmp0, ca_.Uninitialized<Int32T>(), ca_.Uninitialized<Int32T>(), ca_.Uninitialized<Int32T>(), ca_.Uninitialized<Int32T>(), tmp1, tmp2, tmp1, tmp2);
8044 : }
8045 :
8046 4 : if (block2.is_used()) {
8047 4 : compiler::TNode<Context> tmp3;
8048 4 : compiler::TNode<Int32T> tmp4;
8049 4 : compiler::TNode<Int32T> tmp5;
8050 4 : compiler::TNode<Int32T> tmp6;
8051 4 : compiler::TNode<Int32T> tmp7;
8052 4 : compiler::TNode<Int32T> tmp8;
8053 4 : compiler::TNode<Int32T> tmp9;
8054 4 : compiler::TNode<Int32T> tmp10;
8055 4 : compiler::TNode<Int32T> tmp11;
8056 4 : ca_.Bind(&block2, &tmp3, &tmp4, &tmp5, &tmp6, &tmp7, &tmp8, &tmp9, &tmp10, &tmp11);
8057 4 : compiler::TNode<Int32T> tmp12;
8058 4 : USE(tmp12);
8059 4 : tmp12 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(5));
8060 4 : compiler::TNode<Int32T> tmp13;
8061 4 : USE(tmp13);
8062 4 : tmp13 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(8));
8063 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 746);
8064 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 767);
8065 4 : ca_.Goto(&block3, tmp3, tmp12, tmp8, tmp9, tmp13, tmp8, tmp9, tmp12, tmp8, tmp9, tmp13);
8066 : }
8067 :
8068 4 : if (block3.is_used()) {
8069 4 : compiler::TNode<Context> tmp14;
8070 4 : compiler::TNode<Int32T> tmp15;
8071 4 : compiler::TNode<Int32T> tmp16;
8072 4 : compiler::TNode<Int32T> tmp17;
8073 4 : compiler::TNode<Int32T> tmp18;
8074 4 : compiler::TNode<Int32T> tmp19;
8075 4 : compiler::TNode<Int32T> tmp20;
8076 4 : compiler::TNode<Int32T> tmp21;
8077 4 : compiler::TNode<Int32T> tmp22;
8078 4 : compiler::TNode<Int32T> tmp23;
8079 4 : compiler::TNode<Int32T> tmp24;
8080 4 : ca_.Bind(&block3, &tmp14, &tmp15, &tmp16, &tmp17, &tmp18, &tmp19, &tmp20, &tmp21, &tmp22, &tmp23, &tmp24);
8081 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 772);
8082 4 : compiler::TNode<Int32T> tmp25;
8083 4 : USE(tmp25);
8084 4 : tmp25 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(1));
8085 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 774);
8086 4 : compiler::TNode<Int32T> tmp26;
8087 4 : USE(tmp26);
8088 4 : tmp26 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(2));
8089 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 737);
8090 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 774);
8091 4 : ca_.Goto(&block4, tmp14, tmp15, tmp26, tmp17, tmp18, tmp26);
8092 : }
8093 :
8094 4 : if (block4.is_used()) {
8095 4 : compiler::TNode<Context> tmp27;
8096 4 : compiler::TNode<Int32T> tmp28;
8097 4 : compiler::TNode<Int32T> tmp29;
8098 4 : compiler::TNode<Int32T> tmp30;
8099 4 : compiler::TNode<Int32T> tmp31;
8100 4 : compiler::TNode<Int32T> tmp32;
8101 4 : ca_.Bind(&block4, &tmp27, &tmp28, &tmp29, &tmp30, &tmp31, &tmp32);
8102 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 778);
8103 4 : compiler::TNode<Int32T> tmp33;
8104 4 : USE(tmp33);
8105 4 : tmp33 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(1));
8106 4 : compiler::TNode<Smi> tmp34;
8107 4 : USE(tmp34);
8108 4 : tmp34 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(2));
8109 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 754);
8110 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 755);
8111 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 756);
8112 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 757);
8113 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 778);
8114 4 : ca_.Goto(&block5, tmp27, tmp28, tmp29, tmp30, tmp31, tmp33, tmp34, tmp33, tmp34, tmp33, tmp34);
8115 : }
8116 :
8117 4 : if (block5.is_used()) {
8118 4 : compiler::TNode<Context> tmp35;
8119 4 : compiler::TNode<Int32T> tmp36;
8120 4 : compiler::TNode<Int32T> tmp37;
8121 4 : compiler::TNode<Int32T> tmp38;
8122 4 : compiler::TNode<Int32T> tmp39;
8123 4 : compiler::TNode<Int32T> tmp40;
8124 4 : compiler::TNode<Smi> tmp41;
8125 4 : compiler::TNode<Int32T> tmp42;
8126 4 : compiler::TNode<Smi> tmp43;
8127 4 : compiler::TNode<Int32T> tmp44;
8128 4 : compiler::TNode<Smi> tmp45;
8129 4 : ca_.Bind(&block5, &tmp35, &tmp36, &tmp37, &tmp38, &tmp39, &tmp40, &tmp41, &tmp42, &tmp43, &tmp44, &tmp45);
8130 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 765);
8131 4 : ca_.Goto(&block1, tmp35);
8132 : }
8133 :
8134 4 : if (block1.is_used()) {
8135 4 : compiler::TNode<Context> tmp46;
8136 4 : ca_.Bind(&block1, &tmp46);
8137 4 : ca_.Goto(&block6, tmp46);
8138 : }
8139 :
8140 4 : compiler::TNode<Context> tmp47;
8141 8 : ca_.Bind(&block6, &tmp47);
8142 4 : }
8143 :
8144 0 : void TestBuiltinsFromDSLAssembler::TestClassWithAllTypesLoadsAndStores(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_t, compiler::TNode<RawPtrT> p_r, compiler::TNode<Int32T> p_v1, compiler::TNode<Uint32T> p_v2, compiler::TNode<Int32T> p_v3, compiler::TNode<Uint32T> p_v4) {
8145 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT, Int32T, Uint32T, Int32T, Uint32T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8146 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT, Int32T, Uint32T, Int32T, Uint32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8147 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT, Int32T, Uint32T, Int32T, Uint32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8148 0 : ca_.Goto(&block0, p_t, p_r, p_v1, p_v2, p_v3, p_v4);
8149 :
8150 0 : if (block0.is_used()) {
8151 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8152 0 : compiler::TNode<RawPtrT> tmp1;
8153 0 : compiler::TNode<Int32T> tmp2;
8154 0 : compiler::TNode<Uint32T> tmp3;
8155 0 : compiler::TNode<Int32T> tmp4;
8156 0 : compiler::TNode<Uint32T> tmp5;
8157 0 : ca_.Bind(&block0, &tmp0, &tmp1, &tmp2, &tmp3, &tmp4, &tmp5);
8158 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 802);
8159 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesA(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<Int32T>{tmp2});
8160 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 803);
8161 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesB(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<Uint32T>{tmp3});
8162 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 804);
8163 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesC(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<Int32T>{tmp4});
8164 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 805);
8165 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesD(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<Uint32T>{tmp5});
8166 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 806);
8167 0 : compiler::TNode<Int32T> tmp6;
8168 0 : USE(tmp6);
8169 0 : tmp6 = ca_.UncheckedCast<Int32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr7ATint3217ATconstexpr_int31(0));
8170 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesE(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<Int32T>{tmp6});
8171 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 807);
8172 0 : compiler::TNode<Uint32T> tmp7;
8173 0 : USE(tmp7);
8174 0 : tmp7 = ca_.UncheckedCast<Uint32T>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATuint3217ATconstexpr_int31(0));
8175 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesF(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<Uint32T>{tmp7});
8176 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 808);
8177 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesG(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<RawPtrT>{tmp1});
8178 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 809);
8179 0 : compiler::TNode<IntPtrT> tmp8;
8180 0 : USE(tmp8);
8181 0 : tmp8 = ca_.UncheckedCast<IntPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr8ATintptr17ATconstexpr_int31(0));
8182 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesH(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<IntPtrT>{tmp8});
8183 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 810);
8184 0 : compiler::TNode<UintPtrT> tmp9;
8185 0 : USE(tmp9);
8186 0 : tmp9 = ca_.UncheckedCast<UintPtrT>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr9ATuintptr17ATconstexpr_int31(0));
8187 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesI(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<UintPtrT>{tmp9});
8188 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 811);
8189 0 : compiler::TNode<Int32T> tmp10;
8190 0 : USE(tmp10);
8191 0 : tmp10 = ca_.UncheckedCast<Int32T>(TestBuiltinsFromDSLAssembler(state_).LoadTestClassWithAllTypesA(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}));
8192 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesA(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<Int32T>{tmp10});
8193 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 812);
8194 0 : compiler::TNode<Uint32T> tmp11;
8195 0 : USE(tmp11);
8196 0 : tmp11 = ca_.UncheckedCast<Uint32T>(TestBuiltinsFromDSLAssembler(state_).LoadTestClassWithAllTypesB(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}));
8197 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesB(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<Uint32T>{tmp11});
8198 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 813);
8199 0 : compiler::TNode<Int32T> tmp12;
8200 0 : USE(tmp12);
8201 0 : tmp12 = ca_.UncheckedCast<Int32T>(TestBuiltinsFromDSLAssembler(state_).LoadTestClassWithAllTypesC(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}));
8202 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesC(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<Int32T>{tmp12});
8203 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 814);
8204 0 : compiler::TNode<Uint32T> tmp13;
8205 0 : USE(tmp13);
8206 0 : tmp13 = ca_.UncheckedCast<Uint32T>(TestBuiltinsFromDSLAssembler(state_).LoadTestClassWithAllTypesD(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}));
8207 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesD(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<Uint32T>{tmp13});
8208 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 815);
8209 0 : compiler::TNode<Int32T> tmp14;
8210 0 : USE(tmp14);
8211 0 : tmp14 = ca_.UncheckedCast<Int32T>(TestBuiltinsFromDSLAssembler(state_).LoadTestClassWithAllTypesE(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}));
8212 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesE(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<Int32T>{tmp14});
8213 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 816);
8214 0 : compiler::TNode<Uint32T> tmp15;
8215 0 : USE(tmp15);
8216 0 : tmp15 = ca_.UncheckedCast<Uint32T>(TestBuiltinsFromDSLAssembler(state_).LoadTestClassWithAllTypesF(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}));
8217 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesF(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<Uint32T>{tmp15});
8218 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 817);
8219 0 : compiler::TNode<RawPtrT> tmp16;
8220 0 : USE(tmp16);
8221 0 : tmp16 = ca_.UncheckedCast<RawPtrT>(TestBuiltinsFromDSLAssembler(state_).LoadTestClassWithAllTypesG(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}));
8222 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesG(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<RawPtrT>{tmp16});
8223 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 818);
8224 0 : compiler::TNode<IntPtrT> tmp17;
8225 0 : USE(tmp17);
8226 0 : tmp17 = ca_.UncheckedCast<IntPtrT>(TestBuiltinsFromDSLAssembler(state_).LoadTestClassWithAllTypesH(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}));
8227 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesH(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<IntPtrT>{tmp17});
8228 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 819);
8229 0 : compiler::TNode<UintPtrT> tmp18;
8230 0 : USE(tmp18);
8231 0 : tmp18 = ca_.UncheckedCast<UintPtrT>(TestBuiltinsFromDSLAssembler(state_).LoadTestClassWithAllTypesI(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}));
8232 0 : TestBuiltinsFromDSLAssembler(state_).StoreTestClassWithAllTypesI(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes>{tmp0}, compiler::TNode<UintPtrT>{tmp18});
8233 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 799);
8234 0 : ca_.Goto(&block1, tmp0, tmp1, tmp2, tmp3, tmp4, tmp5);
8235 : }
8236 :
8237 0 : if (block1.is_used()) {
8238 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp19;
8239 0 : compiler::TNode<RawPtrT> tmp20;
8240 0 : compiler::TNode<Int32T> tmp21;
8241 0 : compiler::TNode<Uint32T> tmp22;
8242 0 : compiler::TNode<Int32T> tmp23;
8243 0 : compiler::TNode<Uint32T> tmp24;
8244 0 : ca_.Bind(&block1, &tmp19, &tmp20, &tmp21, &tmp22, &tmp23, &tmp24);
8245 0 : ca_.Goto(&block2, tmp19, tmp20, tmp21, tmp22, tmp23, tmp24);
8246 : }
8247 :
8248 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp25;
8249 0 : compiler::TNode<RawPtrT> tmp26;
8250 0 : compiler::TNode<Int32T> tmp27;
8251 0 : compiler::TNode<Uint32T> tmp28;
8252 0 : compiler::TNode<Int32T> tmp29;
8253 0 : compiler::TNode<Uint32T> tmp30;
8254 0 : ca_.Bind(&block2, &tmp25, &tmp26, &tmp27, &tmp28, &tmp29, &tmp30);
8255 0 : }
8256 :
8257 4 : void TestBuiltinsFromDSLAssembler::TestInternalClass(compiler::TNode<Context> p_context) {
8258 4 : compiler::CodeAssemblerParameterizedLabel<Context> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8259 8 : compiler::CodeAssemblerParameterizedLabel<Context, Smi, Number, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8260 8 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, FixedArray> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8261 8 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray, FixedArray> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8262 8 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8263 8 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8264 8 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block8(&ca_, compiler::CodeAssemblerLabel::kDeferred);
8265 8 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block7(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8266 8 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block10(&ca_, compiler::CodeAssemblerLabel::kDeferred);
8267 8 : compiler::CodeAssemblerParameterizedLabel<Context, FixedArray> block9(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8268 8 : compiler::CodeAssemblerParameterizedLabel<Context> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8269 8 : compiler::CodeAssemblerParameterizedLabel<Context> block11(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8270 4 : ca_.Goto(&block0, p_context);
8271 :
8272 4 : if (block0.is_used()) {
8273 4 : compiler::TNode<Context> tmp0;
8274 4 : ca_.Bind(&block0, &tmp0);
8275 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 837);
8276 4 : compiler::TNode<Smi> tmp1;
8277 4 : USE(tmp1);
8278 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(5));
8279 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 824);
8280 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 825);
8281 4 : compiler::TNode<Smi> tmp2;
8282 4 : USE(tmp2);
8283 4 : tmp2 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
8284 4 : compiler::TNode<Smi> tmp3;
8285 4 : USE(tmp3);
8286 4 : tmp3 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp1}, compiler::TNode<Smi>{tmp2}));
8287 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 837);
8288 4 : ca_.Goto(&block2, tmp0, tmp1, tmp3, tmp1);
8289 : }
8290 :
8291 4 : if (block2.is_used()) {
8292 4 : compiler::TNode<Context> tmp4;
8293 4 : compiler::TNode<Smi> tmp5;
8294 4 : compiler::TNode<Number> tmp6;
8295 4 : compiler::TNode<Smi> tmp7;
8296 4 : ca_.Bind(&block2, &tmp4, &tmp5, &tmp6, &tmp7);
8297 4 : compiler::TNode<FixedArray> tmp8;
8298 4 : USE(tmp8);
8299 4 : tmp8 = CodeStubAssembler(state_).AllocateUninitializedFixedArray(2);
8300 4 : CodeStubAssembler(state_).UnsafeStoreFixedArrayElement(tmp8, 0, tmp5);
8301 4 : CodeStubAssembler(state_).UnsafeStoreFixedArrayElement(tmp8, 1, tmp6);
8302 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 838);
8303 4 : compiler::CodeAssemblerLabel label0(&ca_);
8304 4 : TestBuiltinsFromDSLAssembler(state_)._method_InternalClass_Flip(compiler::TNode<FixedArray>{tmp8}, &label0);
8305 4 : ca_.Goto(&block5, tmp4, tmp8, tmp8);
8306 4 : if (label0.is_used()) {
8307 4 : ca_.Bind(&label0);
8308 4 : ca_.Goto(&block6, tmp4, tmp8, tmp8);
8309 4 : }
8310 : }
8311 :
8312 4 : if (block6.is_used()) {
8313 4 : compiler::TNode<Context> tmp9;
8314 4 : compiler::TNode<FixedArray> tmp10;
8315 4 : compiler::TNode<FixedArray> tmp11;
8316 4 : ca_.Bind(&block6, &tmp9, &tmp10, &tmp11);
8317 4 : ca_.Goto(&block4, tmp9, tmp10);
8318 : }
8319 :
8320 4 : if (block5.is_used()) {
8321 4 : compiler::TNode<Context> tmp12;
8322 4 : compiler::TNode<FixedArray> tmp13;
8323 4 : compiler::TNode<FixedArray> tmp14;
8324 4 : ca_.Bind(&block5, &tmp12, &tmp13, &tmp14);
8325 4 : ca_.Goto(&block3, tmp12, tmp13);
8326 : }
8327 :
8328 4 : if (block4.is_used()) {
8329 4 : compiler::TNode<Context> tmp15;
8330 4 : compiler::TNode<FixedArray> tmp16;
8331 4 : ca_.Bind(&block4, &tmp15, &tmp16);
8332 4 : CodeStubAssembler(state_).Unreachable();
8333 : }
8334 :
8335 4 : if (block3.is_used()) {
8336 4 : compiler::TNode<Context> tmp17;
8337 4 : compiler::TNode<FixedArray> tmp18;
8338 4 : ca_.Bind(&block3, &tmp17, &tmp18);
8339 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 839);
8340 4 : compiler::TNode<Smi> tmp19;
8341 4 : USE(tmp19);
8342 4 : tmp19 = ca_.UncheckedCast<Smi>(TestBuiltinsFromDSLAssembler(state_).LoadInternalClassA(compiler::TNode<FixedArray>{tmp18}));
8343 4 : compiler::TNode<Smi> tmp20;
8344 4 : USE(tmp20);
8345 4 : tmp20 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(6));
8346 4 : compiler::TNode<BoolT> tmp21;
8347 4 : USE(tmp21);
8348 4 : tmp21 = ca_.UncheckedCast<BoolT>(CodeStubAssembler(state_).SmiEqual(compiler::TNode<Smi>{tmp19}, compiler::TNode<Smi>{tmp20}));
8349 4 : ca_.Branch(tmp21, &block7, &block8, tmp17, tmp18);
8350 : }
8351 :
8352 4 : if (block8.is_used()) {
8353 4 : compiler::TNode<Context> tmp22;
8354 4 : compiler::TNode<FixedArray> tmp23;
8355 4 : ca_.Bind(&block8, &tmp22, &tmp23);
8356 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'o.a == 6\' failed", "../../test/torque/test-torque.tq", 839);
8357 : }
8358 :
8359 4 : if (block7.is_used()) {
8360 4 : compiler::TNode<Context> tmp24;
8361 4 : compiler::TNode<FixedArray> tmp25;
8362 4 : ca_.Bind(&block7, &tmp24, &tmp25);
8363 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 840);
8364 4 : compiler::TNode<Number> tmp26;
8365 4 : USE(tmp26);
8366 4 : tmp26 = ca_.UncheckedCast<Number>(TestBuiltinsFromDSLAssembler(state_).LoadInternalClassB(compiler::TNode<FixedArray>{tmp25}));
8367 4 : compiler::TNode<Number> tmp27;
8368 4 : USE(tmp27);
8369 4 : tmp27 = ca_.UncheckedCast<Number>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr22UT12ATHeapNumber5ATSmi17ATconstexpr_int31(5));
8370 4 : compiler::TNode<BoolT> tmp28;
8371 4 : USE(tmp28);
8372 4 : tmp28 = ca_.UncheckedCast<BoolT>(BaseBuiltinsFromDSLAssembler(state_).IsNumberEqual(compiler::TNode<Number>{tmp26}, compiler::TNode<Number>{tmp27}));
8373 4 : ca_.Branch(tmp28, &block9, &block10, tmp24, tmp25);
8374 : }
8375 :
8376 4 : if (block10.is_used()) {
8377 4 : compiler::TNode<Context> tmp29;
8378 4 : compiler::TNode<FixedArray> tmp30;
8379 4 : ca_.Bind(&block10, &tmp29, &tmp30);
8380 4 : CodeStubAssembler(state_).FailAssert("Torque assert \'o.b == 5\' failed", "../../test/torque/test-torque.tq", 840);
8381 : }
8382 :
8383 4 : if (block9.is_used()) {
8384 4 : compiler::TNode<Context> tmp31;
8385 4 : compiler::TNode<FixedArray> tmp32;
8386 4 : ca_.Bind(&block9, &tmp31, &tmp32);
8387 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 836);
8388 4 : ca_.Goto(&block1, tmp31);
8389 : }
8390 :
8391 4 : if (block1.is_used()) {
8392 4 : compiler::TNode<Context> tmp33;
8393 4 : ca_.Bind(&block1, &tmp33);
8394 4 : ca_.Goto(&block11, tmp33);
8395 : }
8396 :
8397 4 : compiler::TNode<Context> tmp34;
8398 8 : ca_.Bind(&block11, &tmp34);
8399 4 : }
8400 :
8401 0 : compiler::TNode<Int32T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesA(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8402 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8403 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8404 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8405 0 : ca_.Goto(&block0, p_o);
8406 :
8407 0 : if (block0.is_used()) {
8408 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8409 0 : ca_.Bind(&block0, &tmp0);
8410 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 786);
8411 0 : compiler::TNode<Int32T> tmp1 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).LoadObjectField(tmp0, TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kAOffset, MachineType::Int8()));
8412 0 : ca_.Goto(&block1, tmp0, tmp1);
8413 : }
8414 :
8415 0 : if (block1.is_used()) {
8416 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8417 0 : compiler::TNode<Int32T> tmp3;
8418 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8419 0 : ca_.Goto(&block2, tmp2, tmp3);
8420 : }
8421 :
8422 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8423 0 : compiler::TNode<Int32T> tmp5;
8424 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8425 0 : return compiler::TNode<Int32T>{tmp5};
8426 : }
8427 :
8428 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesA(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Int32T> p_v) {
8429 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8430 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8431 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8432 0 : ca_.Goto(&block0, p_o, p_v);
8433 :
8434 0 : if (block0.is_used()) {
8435 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8436 0 : compiler::TNode<Int32T> tmp1;
8437 0 : ca_.Bind(&block0, &tmp0, &tmp1);
8438 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 786);
8439 0 : CodeStubAssembler(state_).StoreObjectFieldNoWriteBarrier(tmp0, 24, tmp1, MachineType::Int8().representation());
8440 0 : ca_.Goto(&block1, tmp0, tmp1);
8441 : }
8442 :
8443 0 : if (block1.is_used()) {
8444 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8445 0 : compiler::TNode<Int32T> tmp3;
8446 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8447 0 : ca_.Goto(&block2, tmp2, tmp3);
8448 : }
8449 :
8450 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8451 0 : compiler::TNode<Int32T> tmp5;
8452 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8453 0 : }
8454 :
8455 0 : compiler::TNode<Uint32T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesB(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8456 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8457 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8458 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8459 0 : ca_.Goto(&block0, p_o);
8460 :
8461 0 : if (block0.is_used()) {
8462 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8463 0 : ca_.Bind(&block0, &tmp0);
8464 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 787);
8465 0 : compiler::TNode<Uint32T> tmp1 = ca_.UncheckedCast<Uint32T>(CodeStubAssembler(state_).LoadObjectField(tmp0, TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kBOffset, MachineType::Uint8()));
8466 0 : ca_.Goto(&block1, tmp0, tmp1);
8467 : }
8468 :
8469 0 : if (block1.is_used()) {
8470 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8471 0 : compiler::TNode<Uint32T> tmp3;
8472 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8473 0 : ca_.Goto(&block2, tmp2, tmp3);
8474 : }
8475 :
8476 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8477 0 : compiler::TNode<Uint32T> tmp5;
8478 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8479 0 : return compiler::TNode<Uint32T>{tmp5};
8480 : }
8481 :
8482 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesB(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Uint32T> p_v) {
8483 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8484 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8485 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8486 0 : ca_.Goto(&block0, p_o, p_v);
8487 :
8488 0 : if (block0.is_used()) {
8489 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8490 0 : compiler::TNode<Uint32T> tmp1;
8491 0 : ca_.Bind(&block0, &tmp0, &tmp1);
8492 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 787);
8493 0 : CodeStubAssembler(state_).StoreObjectFieldNoWriteBarrier(tmp0, 25, tmp1, MachineType::Uint8().representation());
8494 0 : ca_.Goto(&block1, tmp0, tmp1);
8495 : }
8496 :
8497 0 : if (block1.is_used()) {
8498 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8499 0 : compiler::TNode<Uint32T> tmp3;
8500 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8501 0 : ca_.Goto(&block2, tmp2, tmp3);
8502 : }
8503 :
8504 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8505 0 : compiler::TNode<Uint32T> tmp5;
8506 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8507 0 : }
8508 :
8509 0 : compiler::TNode<Uint32T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesB2(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8510 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8511 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8512 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8513 0 : ca_.Goto(&block0, p_o);
8514 :
8515 0 : if (block0.is_used()) {
8516 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8517 0 : ca_.Bind(&block0, &tmp0);
8518 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 788);
8519 0 : compiler::TNode<Uint32T> tmp1 = ca_.UncheckedCast<Uint32T>(CodeStubAssembler(state_).LoadObjectField(tmp0, TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kB2Offset, MachineType::Uint8()));
8520 0 : ca_.Goto(&block1, tmp0, tmp1);
8521 : }
8522 :
8523 0 : if (block1.is_used()) {
8524 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8525 0 : compiler::TNode<Uint32T> tmp3;
8526 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8527 0 : ca_.Goto(&block2, tmp2, tmp3);
8528 : }
8529 :
8530 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8531 0 : compiler::TNode<Uint32T> tmp5;
8532 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8533 0 : return compiler::TNode<Uint32T>{tmp5};
8534 : }
8535 :
8536 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesB2(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Uint32T> p_v) {
8537 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8538 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8539 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8540 0 : ca_.Goto(&block0, p_o, p_v);
8541 :
8542 0 : if (block0.is_used()) {
8543 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8544 0 : compiler::TNode<Uint32T> tmp1;
8545 0 : ca_.Bind(&block0, &tmp0, &tmp1);
8546 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 788);
8547 0 : CodeStubAssembler(state_).StoreObjectFieldNoWriteBarrier(tmp0, 26, tmp1, MachineType::Uint8().representation());
8548 0 : ca_.Goto(&block1, tmp0, tmp1);
8549 : }
8550 :
8551 0 : if (block1.is_used()) {
8552 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8553 0 : compiler::TNode<Uint32T> tmp3;
8554 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8555 0 : ca_.Goto(&block2, tmp2, tmp3);
8556 : }
8557 :
8558 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8559 0 : compiler::TNode<Uint32T> tmp5;
8560 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8561 0 : }
8562 :
8563 0 : compiler::TNode<Uint32T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesB3(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8564 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8565 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8566 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8567 0 : ca_.Goto(&block0, p_o);
8568 :
8569 0 : if (block0.is_used()) {
8570 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8571 0 : ca_.Bind(&block0, &tmp0);
8572 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 789);
8573 0 : compiler::TNode<Uint32T> tmp1 = ca_.UncheckedCast<Uint32T>(CodeStubAssembler(state_).LoadObjectField(tmp0, TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kB3Offset, MachineType::Uint8()));
8574 0 : ca_.Goto(&block1, tmp0, tmp1);
8575 : }
8576 :
8577 0 : if (block1.is_used()) {
8578 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8579 0 : compiler::TNode<Uint32T> tmp3;
8580 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8581 0 : ca_.Goto(&block2, tmp2, tmp3);
8582 : }
8583 :
8584 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8585 0 : compiler::TNode<Uint32T> tmp5;
8586 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8587 0 : return compiler::TNode<Uint32T>{tmp5};
8588 : }
8589 :
8590 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesB3(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Uint32T> p_v) {
8591 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8592 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8593 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8594 0 : ca_.Goto(&block0, p_o, p_v);
8595 :
8596 0 : if (block0.is_used()) {
8597 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8598 0 : compiler::TNode<Uint32T> tmp1;
8599 0 : ca_.Bind(&block0, &tmp0, &tmp1);
8600 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 789);
8601 0 : CodeStubAssembler(state_).StoreObjectFieldNoWriteBarrier(tmp0, 27, tmp1, MachineType::Uint8().representation());
8602 0 : ca_.Goto(&block1, tmp0, tmp1);
8603 : }
8604 :
8605 0 : if (block1.is_used()) {
8606 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8607 0 : compiler::TNode<Uint32T> tmp3;
8608 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8609 0 : ca_.Goto(&block2, tmp2, tmp3);
8610 : }
8611 :
8612 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8613 0 : compiler::TNode<Uint32T> tmp5;
8614 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8615 0 : }
8616 :
8617 0 : compiler::TNode<Int32T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesC(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8618 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8619 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8620 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8621 0 : ca_.Goto(&block0, p_o);
8622 :
8623 0 : if (block0.is_used()) {
8624 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8625 0 : ca_.Bind(&block0, &tmp0);
8626 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 790);
8627 0 : compiler::TNode<Int32T> tmp1 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).LoadObjectField(tmp0, TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kCOffset, MachineType::Int16()));
8628 0 : ca_.Goto(&block1, tmp0, tmp1);
8629 : }
8630 :
8631 0 : if (block1.is_used()) {
8632 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8633 0 : compiler::TNode<Int32T> tmp3;
8634 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8635 0 : ca_.Goto(&block2, tmp2, tmp3);
8636 : }
8637 :
8638 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8639 0 : compiler::TNode<Int32T> tmp5;
8640 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8641 0 : return compiler::TNode<Int32T>{tmp5};
8642 : }
8643 :
8644 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesC(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Int32T> p_v) {
8645 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8646 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8647 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8648 0 : ca_.Goto(&block0, p_o, p_v);
8649 :
8650 0 : if (block0.is_used()) {
8651 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8652 0 : compiler::TNode<Int32T> tmp1;
8653 0 : ca_.Bind(&block0, &tmp0, &tmp1);
8654 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 790);
8655 0 : CodeStubAssembler(state_).StoreObjectFieldNoWriteBarrier(tmp0, 28, tmp1, MachineType::Int16().representation());
8656 0 : ca_.Goto(&block1, tmp0, tmp1);
8657 : }
8658 :
8659 0 : if (block1.is_used()) {
8660 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8661 0 : compiler::TNode<Int32T> tmp3;
8662 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8663 0 : ca_.Goto(&block2, tmp2, tmp3);
8664 : }
8665 :
8666 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8667 0 : compiler::TNode<Int32T> tmp5;
8668 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8669 0 : }
8670 :
8671 0 : compiler::TNode<Uint32T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesD(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8672 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8673 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8674 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8675 0 : ca_.Goto(&block0, p_o);
8676 :
8677 0 : if (block0.is_used()) {
8678 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8679 0 : ca_.Bind(&block0, &tmp0);
8680 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 791);
8681 0 : compiler::TNode<Uint32T> tmp1 = ca_.UncheckedCast<Uint32T>(CodeStubAssembler(state_).LoadObjectField(tmp0, TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kDOffset, MachineType::Uint16()));
8682 0 : ca_.Goto(&block1, tmp0, tmp1);
8683 : }
8684 :
8685 0 : if (block1.is_used()) {
8686 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8687 0 : compiler::TNode<Uint32T> tmp3;
8688 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8689 0 : ca_.Goto(&block2, tmp2, tmp3);
8690 : }
8691 :
8692 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8693 0 : compiler::TNode<Uint32T> tmp5;
8694 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8695 0 : return compiler::TNode<Uint32T>{tmp5};
8696 : }
8697 :
8698 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesD(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Uint32T> p_v) {
8699 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8700 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8701 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8702 0 : ca_.Goto(&block0, p_o, p_v);
8703 :
8704 0 : if (block0.is_used()) {
8705 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8706 0 : compiler::TNode<Uint32T> tmp1;
8707 0 : ca_.Bind(&block0, &tmp0, &tmp1);
8708 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 791);
8709 0 : CodeStubAssembler(state_).StoreObjectFieldNoWriteBarrier(tmp0, 30, tmp1, MachineType::Uint16().representation());
8710 0 : ca_.Goto(&block1, tmp0, tmp1);
8711 : }
8712 :
8713 0 : if (block1.is_used()) {
8714 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8715 0 : compiler::TNode<Uint32T> tmp3;
8716 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8717 0 : ca_.Goto(&block2, tmp2, tmp3);
8718 : }
8719 :
8720 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8721 0 : compiler::TNode<Uint32T> tmp5;
8722 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8723 0 : }
8724 :
8725 0 : compiler::TNode<Int32T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesE(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8726 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8727 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8728 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8729 0 : ca_.Goto(&block0, p_o);
8730 :
8731 0 : if (block0.is_used()) {
8732 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8733 0 : ca_.Bind(&block0, &tmp0);
8734 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 792);
8735 0 : compiler::TNode<Int32T> tmp1 = ca_.UncheckedCast<Int32T>(CodeStubAssembler(state_).LoadObjectField(tmp0, TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kEOffset, MachineType::Int32()));
8736 0 : ca_.Goto(&block1, tmp0, tmp1);
8737 : }
8738 :
8739 0 : if (block1.is_used()) {
8740 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8741 0 : compiler::TNode<Int32T> tmp3;
8742 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8743 0 : ca_.Goto(&block2, tmp2, tmp3);
8744 : }
8745 :
8746 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8747 0 : compiler::TNode<Int32T> tmp5;
8748 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8749 0 : return compiler::TNode<Int32T>{tmp5};
8750 : }
8751 :
8752 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesE(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Int32T> p_v) {
8753 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8754 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8755 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Int32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8756 0 : ca_.Goto(&block0, p_o, p_v);
8757 :
8758 0 : if (block0.is_used()) {
8759 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8760 0 : compiler::TNode<Int32T> tmp1;
8761 0 : ca_.Bind(&block0, &tmp0, &tmp1);
8762 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 792);
8763 0 : CodeStubAssembler(state_).StoreObjectFieldNoWriteBarrier(tmp0, 32, tmp1, MachineType::Int32().representation());
8764 0 : ca_.Goto(&block1, tmp0, tmp1);
8765 : }
8766 :
8767 0 : if (block1.is_used()) {
8768 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8769 0 : compiler::TNode<Int32T> tmp3;
8770 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8771 0 : ca_.Goto(&block2, tmp2, tmp3);
8772 : }
8773 :
8774 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8775 0 : compiler::TNode<Int32T> tmp5;
8776 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8777 0 : }
8778 :
8779 0 : compiler::TNode<Uint32T> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesF(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8780 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8781 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8782 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8783 0 : ca_.Goto(&block0, p_o);
8784 :
8785 0 : if (block0.is_used()) {
8786 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8787 0 : ca_.Bind(&block0, &tmp0);
8788 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 793);
8789 0 : compiler::TNode<Uint32T> tmp1 = ca_.UncheckedCast<Uint32T>(CodeStubAssembler(state_).LoadObjectField(tmp0, TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kFOffset, MachineType::Uint32()));
8790 0 : ca_.Goto(&block1, tmp0, tmp1);
8791 : }
8792 :
8793 0 : if (block1.is_used()) {
8794 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8795 0 : compiler::TNode<Uint32T> tmp3;
8796 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8797 0 : ca_.Goto(&block2, tmp2, tmp3);
8798 : }
8799 :
8800 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8801 0 : compiler::TNode<Uint32T> tmp5;
8802 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8803 0 : return compiler::TNode<Uint32T>{tmp5};
8804 : }
8805 :
8806 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesF(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<Uint32T> p_v) {
8807 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8808 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8809 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, Uint32T> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8810 0 : ca_.Goto(&block0, p_o, p_v);
8811 :
8812 0 : if (block0.is_used()) {
8813 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8814 0 : compiler::TNode<Uint32T> tmp1;
8815 0 : ca_.Bind(&block0, &tmp0, &tmp1);
8816 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 793);
8817 0 : CodeStubAssembler(state_).StoreObjectFieldNoWriteBarrier(tmp0, 36, tmp1, MachineType::Uint32().representation());
8818 0 : ca_.Goto(&block1, tmp0, tmp1);
8819 : }
8820 :
8821 0 : if (block1.is_used()) {
8822 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8823 0 : compiler::TNode<Uint32T> tmp3;
8824 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8825 0 : ca_.Goto(&block2, tmp2, tmp3);
8826 : }
8827 :
8828 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8829 0 : compiler::TNode<Uint32T> tmp5;
8830 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8831 0 : }
8832 :
8833 0 : compiler::TNode<RawPtrT> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesG(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8834 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8835 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8836 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8837 0 : ca_.Goto(&block0, p_o);
8838 :
8839 0 : if (block0.is_used()) {
8840 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8841 0 : ca_.Bind(&block0, &tmp0);
8842 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 794);
8843 0 : compiler::TNode<RawPtrT> tmp1 = ca_.UncheckedCast<RawPtrT>(CodeStubAssembler(state_).LoadObjectField(tmp0, TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kGOffset, MachineType::Pointer()));
8844 0 : ca_.Goto(&block1, tmp0, tmp1);
8845 : }
8846 :
8847 0 : if (block1.is_used()) {
8848 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8849 0 : compiler::TNode<RawPtrT> tmp3;
8850 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8851 0 : ca_.Goto(&block2, tmp2, tmp3);
8852 : }
8853 :
8854 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8855 0 : compiler::TNode<RawPtrT> tmp5;
8856 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8857 0 : return compiler::TNode<RawPtrT>{tmp5};
8858 : }
8859 :
8860 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesG(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<RawPtrT> p_v) {
8861 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8862 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8863 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, RawPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8864 0 : ca_.Goto(&block0, p_o, p_v);
8865 :
8866 0 : if (block0.is_used()) {
8867 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8868 0 : compiler::TNode<RawPtrT> tmp1;
8869 0 : ca_.Bind(&block0, &tmp0, &tmp1);
8870 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 794);
8871 0 : CodeStubAssembler(state_).StoreObjectFieldNoWriteBarrier(tmp0, 40, tmp1, MachineType::Pointer().representation());
8872 0 : ca_.Goto(&block1, tmp0, tmp1);
8873 : }
8874 :
8875 0 : if (block1.is_used()) {
8876 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8877 0 : compiler::TNode<RawPtrT> tmp3;
8878 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8879 0 : ca_.Goto(&block2, tmp2, tmp3);
8880 : }
8881 :
8882 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8883 0 : compiler::TNode<RawPtrT> tmp5;
8884 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8885 0 : }
8886 :
8887 0 : compiler::TNode<IntPtrT> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesH(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8888 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8889 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, IntPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8890 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, IntPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8891 0 : ca_.Goto(&block0, p_o);
8892 :
8893 0 : if (block0.is_used()) {
8894 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8895 0 : ca_.Bind(&block0, &tmp0);
8896 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 795);
8897 0 : compiler::TNode<IntPtrT> tmp1 = ca_.UncheckedCast<IntPtrT>(CodeStubAssembler(state_).LoadObjectField(tmp0, TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kHOffset, MachineType::IntPtr()));
8898 0 : ca_.Goto(&block1, tmp0, tmp1);
8899 : }
8900 :
8901 0 : if (block1.is_used()) {
8902 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8903 0 : compiler::TNode<IntPtrT> tmp3;
8904 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8905 0 : ca_.Goto(&block2, tmp2, tmp3);
8906 : }
8907 :
8908 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8909 0 : compiler::TNode<IntPtrT> tmp5;
8910 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8911 0 : return compiler::TNode<IntPtrT>{tmp5};
8912 : }
8913 :
8914 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesH(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<IntPtrT> p_v) {
8915 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, IntPtrT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8916 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, IntPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8917 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, IntPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8918 0 : ca_.Goto(&block0, p_o, p_v);
8919 :
8920 0 : if (block0.is_used()) {
8921 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8922 0 : compiler::TNode<IntPtrT> tmp1;
8923 0 : ca_.Bind(&block0, &tmp0, &tmp1);
8924 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 795);
8925 0 : CodeStubAssembler(state_).StoreObjectFieldNoWriteBarrier(tmp0, 48, tmp1, MachineType::IntPtr().representation());
8926 0 : ca_.Goto(&block1, tmp0, tmp1);
8927 : }
8928 :
8929 0 : if (block1.is_used()) {
8930 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8931 0 : compiler::TNode<IntPtrT> tmp3;
8932 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8933 0 : ca_.Goto(&block2, tmp2, tmp3);
8934 : }
8935 :
8936 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8937 0 : compiler::TNode<IntPtrT> tmp5;
8938 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8939 0 : }
8940 :
8941 0 : compiler::TNode<UintPtrT> TestBuiltinsFromDSLAssembler::LoadTestClassWithAllTypesI(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o) {
8942 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8943 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, UintPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8944 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, UintPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8945 0 : ca_.Goto(&block0, p_o);
8946 :
8947 0 : if (block0.is_used()) {
8948 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8949 0 : ca_.Bind(&block0, &tmp0);
8950 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 796);
8951 0 : compiler::TNode<UintPtrT> tmp1 = ca_.UncheckedCast<UintPtrT>(CodeStubAssembler(state_).LoadObjectField(tmp0, TestBuiltinsFromDSLAssembler::TestClassWithAllTypes::kIOffset, MachineType::IntPtr()));
8952 0 : ca_.Goto(&block1, tmp0, tmp1);
8953 : }
8954 :
8955 0 : if (block1.is_used()) {
8956 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8957 0 : compiler::TNode<UintPtrT> tmp3;
8958 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8959 0 : ca_.Goto(&block2, tmp2, tmp3);
8960 : }
8961 :
8962 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8963 0 : compiler::TNode<UintPtrT> tmp5;
8964 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8965 0 : return compiler::TNode<UintPtrT>{tmp5};
8966 : }
8967 :
8968 0 : void TestBuiltinsFromDSLAssembler::StoreTestClassWithAllTypesI(compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> p_o, compiler::TNode<UintPtrT> p_v) {
8969 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, UintPtrT> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8970 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, UintPtrT> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8971 0 : compiler::CodeAssemblerParameterizedLabel<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes, UintPtrT> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8972 0 : ca_.Goto(&block0, p_o, p_v);
8973 :
8974 0 : if (block0.is_used()) {
8975 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp0;
8976 0 : compiler::TNode<UintPtrT> tmp1;
8977 0 : ca_.Bind(&block0, &tmp0, &tmp1);
8978 0 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 796);
8979 0 : CodeStubAssembler(state_).StoreObjectFieldNoWriteBarrier(tmp0, 56, tmp1, MachineType::IntPtr().representation());
8980 0 : ca_.Goto(&block1, tmp0, tmp1);
8981 : }
8982 :
8983 0 : if (block1.is_used()) {
8984 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp2;
8985 0 : compiler::TNode<UintPtrT> tmp3;
8986 0 : ca_.Bind(&block1, &tmp2, &tmp3);
8987 0 : ca_.Goto(&block2, tmp2, tmp3);
8988 : }
8989 :
8990 0 : compiler::TNode<TestBuiltinsFromDSLAssembler::TestClassWithAllTypes> tmp4;
8991 0 : compiler::TNode<UintPtrT> tmp5;
8992 0 : ca_.Bind(&block2, &tmp4, &tmp5);
8993 0 : }
8994 :
8995 8 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::LoadInternalClassA(compiler::TNode<FixedArray> p_o) {
8996 8 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8997 16 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8998 16 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
8999 8 : ca_.Goto(&block0, p_o);
9000 :
9001 8 : if (block0.is_used()) {
9002 8 : compiler::TNode<FixedArray> tmp0;
9003 8 : ca_.Bind(&block0, &tmp0);
9004 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 832);
9005 8 : compiler::TNode<Smi> tmp1 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).UnsafeLoadFixedArrayElement(tmp0, 0));
9006 8 : ca_.Goto(&block1, tmp0, tmp1);
9007 : }
9008 :
9009 8 : if (block1.is_used()) {
9010 8 : compiler::TNode<FixedArray> tmp2;
9011 8 : compiler::TNode<Smi> tmp3;
9012 8 : ca_.Bind(&block1, &tmp2, &tmp3);
9013 8 : ca_.Goto(&block2, tmp2, tmp3);
9014 : }
9015 :
9016 8 : compiler::TNode<FixedArray> tmp4;
9017 8 : compiler::TNode<Smi> tmp5;
9018 8 : ca_.Bind(&block2, &tmp4, &tmp5);
9019 16 : return compiler::TNode<Smi>{tmp5};
9020 : }
9021 :
9022 4 : void TestBuiltinsFromDSLAssembler::StoreInternalClassA(compiler::TNode<FixedArray> p_o, compiler::TNode<Smi> p_v) {
9023 4 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9024 8 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9025 8 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9026 4 : ca_.Goto(&block0, p_o, p_v);
9027 :
9028 4 : if (block0.is_used()) {
9029 4 : compiler::TNode<FixedArray> tmp0;
9030 4 : compiler::TNode<Smi> tmp1;
9031 4 : ca_.Bind(&block0, &tmp0, &tmp1);
9032 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 832);
9033 4 : CodeStubAssembler(state_).UnsafeStoreFixedArrayElement(tmp0, 0, tmp1);
9034 4 : ca_.Goto(&block1, tmp0, tmp1);
9035 : }
9036 :
9037 4 : if (block1.is_used()) {
9038 4 : compiler::TNode<FixedArray> tmp2;
9039 4 : compiler::TNode<Smi> tmp3;
9040 4 : ca_.Bind(&block1, &tmp2, &tmp3);
9041 4 : ca_.Goto(&block2, tmp2, tmp3);
9042 : }
9043 :
9044 4 : compiler::TNode<FixedArray> tmp4;
9045 4 : compiler::TNode<Smi> tmp5;
9046 8 : ca_.Bind(&block2, &tmp4, &tmp5);
9047 4 : }
9048 :
9049 8 : compiler::TNode<Number> TestBuiltinsFromDSLAssembler::LoadInternalClassB(compiler::TNode<FixedArray> p_o) {
9050 8 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9051 16 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9052 16 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9053 8 : ca_.Goto(&block0, p_o);
9054 :
9055 8 : if (block0.is_used()) {
9056 8 : compiler::TNode<FixedArray> tmp0;
9057 8 : ca_.Bind(&block0, &tmp0);
9058 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 833);
9059 8 : compiler::TNode<Number> tmp1 = ca_.UncheckedCast<Number>(CodeStubAssembler(state_).UnsafeLoadFixedArrayElement(tmp0, 1));
9060 8 : ca_.Goto(&block1, tmp0, tmp1);
9061 : }
9062 :
9063 8 : if (block1.is_used()) {
9064 8 : compiler::TNode<FixedArray> tmp2;
9065 8 : compiler::TNode<Number> tmp3;
9066 8 : ca_.Bind(&block1, &tmp2, &tmp3);
9067 8 : ca_.Goto(&block2, tmp2, tmp3);
9068 : }
9069 :
9070 8 : compiler::TNode<FixedArray> tmp4;
9071 8 : compiler::TNode<Number> tmp5;
9072 8 : ca_.Bind(&block2, &tmp4, &tmp5);
9073 16 : return compiler::TNode<Number>{tmp5};
9074 : }
9075 :
9076 4 : void TestBuiltinsFromDSLAssembler::StoreInternalClassB(compiler::TNode<FixedArray> p_o, compiler::TNode<Number> p_v) {
9077 4 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9078 8 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9079 8 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9080 4 : ca_.Goto(&block0, p_o, p_v);
9081 :
9082 4 : if (block0.is_used()) {
9083 4 : compiler::TNode<FixedArray> tmp0;
9084 4 : compiler::TNode<Number> tmp1;
9085 4 : ca_.Bind(&block0, &tmp0, &tmp1);
9086 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 833);
9087 4 : CodeStubAssembler(state_).UnsafeStoreFixedArrayElement(tmp0, 1, tmp1);
9088 4 : ca_.Goto(&block1, tmp0, tmp1);
9089 : }
9090 :
9091 4 : if (block1.is_used()) {
9092 4 : compiler::TNode<FixedArray> tmp2;
9093 4 : compiler::TNode<Number> tmp3;
9094 4 : ca_.Bind(&block1, &tmp2, &tmp3);
9095 4 : ca_.Goto(&block2, tmp2, tmp3);
9096 : }
9097 :
9098 4 : compiler::TNode<FixedArray> tmp4;
9099 4 : compiler::TNode<Number> tmp5;
9100 8 : ca_.Bind(&block2, &tmp4, &tmp5);
9101 4 : }
9102 :
9103 4 : void TestBuiltinsFromDSLAssembler::_method_InternalClass_Flip(compiler::TNode<FixedArray> p_this, compiler::CodeAssemblerLabel* label_NotASmi) {
9104 4 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9105 8 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9106 8 : compiler::CodeAssemblerParameterizedLabel<FixedArray, Number, Smi> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9107 8 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9108 8 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9109 8 : compiler::CodeAssemblerParameterizedLabel<FixedArray> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9110 4 : ca_.Goto(&block0, p_this);
9111 :
9112 4 : if (block0.is_used()) {
9113 4 : compiler::TNode<FixedArray> tmp0;
9114 4 : ca_.Bind(&block0, &tmp0);
9115 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 828);
9116 4 : compiler::TNode<Number> tmp1;
9117 4 : USE(tmp1);
9118 4 : tmp1 = ca_.UncheckedCast<Number>(TestBuiltinsFromDSLAssembler(state_).LoadInternalClassB(compiler::TNode<FixedArray>{tmp0}));
9119 4 : compiler::TNode<Smi> tmp2;
9120 4 : USE(tmp2);
9121 4 : compiler::CodeAssemblerLabel label0(&ca_);
9122 4 : tmp2 = BaseBuiltinsFromDSLAssembler(state_).Cast5ATSmi(compiler::TNode<Object>{tmp1}, &label0);
9123 4 : ca_.Goto(&block3, tmp0, tmp1, tmp2);
9124 4 : if (label0.is_used()) {
9125 4 : ca_.Bind(&label0);
9126 4 : ca_.Goto(&block4, tmp0, tmp1);
9127 4 : }
9128 : }
9129 :
9130 4 : if (block4.is_used()) {
9131 4 : compiler::TNode<FixedArray> tmp3;
9132 4 : compiler::TNode<Number> tmp4;
9133 4 : ca_.Bind(&block4, &tmp3, &tmp4);
9134 4 : ca_.Goto(&block1);
9135 : }
9136 :
9137 4 : if (block3.is_used()) {
9138 4 : compiler::TNode<FixedArray> tmp5;
9139 4 : compiler::TNode<Number> tmp6;
9140 4 : compiler::TNode<Smi> tmp7;
9141 4 : ca_.Bind(&block3, &tmp5, &tmp6, &tmp7);
9142 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 829);
9143 4 : compiler::TNode<Smi> tmp8;
9144 4 : USE(tmp8);
9145 4 : tmp8 = ca_.UncheckedCast<Smi>(TestBuiltinsFromDSLAssembler(state_).LoadInternalClassA(compiler::TNode<FixedArray>{tmp5}));
9146 4 : TestBuiltinsFromDSLAssembler(state_).StoreInternalClassB(compiler::TNode<FixedArray>{tmp5}, compiler::TNode<Number>{tmp8});
9147 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 830);
9148 4 : TestBuiltinsFromDSLAssembler(state_).StoreInternalClassA(compiler::TNode<FixedArray>{tmp5}, compiler::TNode<Smi>{tmp7});
9149 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 827);
9150 4 : ca_.Goto(&block2, tmp5);
9151 : }
9152 :
9153 4 : if (block2.is_used()) {
9154 4 : compiler::TNode<FixedArray> tmp9;
9155 4 : ca_.Bind(&block2, &tmp9);
9156 4 : ca_.Goto(&block5, tmp9);
9157 : }
9158 :
9159 4 : if (block1.is_used()) {
9160 4 : ca_.Bind(&block1);
9161 4 : ca_.Goto(label_NotASmi);
9162 : }
9163 :
9164 4 : compiler::TNode<FixedArray> tmp10;
9165 8 : ca_.Bind(&block5, &tmp10);
9166 4 : }
9167 :
9168 336 : TF_BUILTIN(GenericBuiltinTest5ATSmi, CodeStubAssembler) {
9169 56 : compiler::CodeAssemblerState* state_ = state(); compiler::CodeAssembler ca_(state());
9170 56 : TNode<Context> parameter0 = UncheckedCast<Context>(Parameter(Descriptor::kContext));
9171 56 : USE(parameter0);
9172 56 : compiler::TNode<Smi> parameter1 = UncheckedCast<Smi>(Parameter(Descriptor::kParam));
9173 56 : USE(parameter1);
9174 112 : compiler::CodeAssemblerParameterizedLabel<Context, Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9175 56 : ca_.Goto(&block0, parameter0, parameter1);
9176 :
9177 56 : if (block0.is_used()) {
9178 56 : compiler::TNode<Context> tmp0;
9179 56 : compiler::TNode<Smi> tmp1;
9180 56 : ca_.Bind(&block0, &tmp0, &tmp1);
9181 56 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 85);
9182 56 : compiler::TNode<Oddball> tmp2;
9183 56 : USE(tmp2);
9184 56 : tmp2 = BaseBuiltinsFromDSLAssembler(state_).Null();
9185 56 : CodeStubAssembler(state_).Return(tmp2);
9186 56 : }
9187 56 : }
9188 :
9189 8 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::GenericMacroTest5ATSmi(compiler::TNode<Smi> p_param) {
9190 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9191 16 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9192 16 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9193 8 : ca_.Goto(&block0, p_param);
9194 :
9195 8 : if (block0.is_used()) {
9196 8 : compiler::TNode<Smi> tmp0;
9197 8 : ca_.Bind(&block0, &tmp0);
9198 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 132);
9199 8 : compiler::TNode<Oddball> tmp1;
9200 8 : USE(tmp1);
9201 8 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
9202 8 : ca_.Goto(&block1, tmp0, tmp1);
9203 : }
9204 :
9205 8 : if (block1.is_used()) {
9206 8 : compiler::TNode<Smi> tmp2;
9207 8 : compiler::TNode<Object> tmp3;
9208 8 : ca_.Bind(&block1, &tmp2, &tmp3);
9209 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 131);
9210 8 : ca_.Goto(&block2, tmp2, tmp3);
9211 : }
9212 :
9213 8 : compiler::TNode<Smi> tmp4;
9214 8 : compiler::TNode<Object> tmp5;
9215 8 : ca_.Bind(&block2, &tmp4, &tmp5);
9216 16 : return compiler::TNode<Object>{tmp5};
9217 : }
9218 :
9219 8 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::GenericMacroTestWithLabels5ATSmi(compiler::TNode<Smi> p_param, compiler::CodeAssemblerLabel* label_X) {
9220 8 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9221 16 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9222 16 : compiler::CodeAssemblerParameterizedLabel<> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9223 16 : compiler::CodeAssemblerParameterizedLabel<Smi, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9224 8 : ca_.Goto(&block0, p_param);
9225 :
9226 8 : if (block0.is_used()) {
9227 8 : compiler::TNode<Smi> tmp0;
9228 8 : ca_.Bind(&block0, &tmp0);
9229 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 141);
9230 8 : compiler::TNode<Oddball> tmp1;
9231 8 : USE(tmp1);
9232 8 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).Undefined();
9233 8 : ca_.Goto(&block2, tmp0, tmp1);
9234 : }
9235 :
9236 8 : if (block2.is_used()) {
9237 8 : compiler::TNode<Smi> tmp2;
9238 8 : compiler::TNode<Object> tmp3;
9239 8 : ca_.Bind(&block2, &tmp2, &tmp3);
9240 8 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 139);
9241 8 : ca_.Goto(&block3, tmp2, tmp3);
9242 : }
9243 :
9244 8 : if (block1.is_used()) {
9245 0 : ca_.Bind(&block1);
9246 0 : ca_.Goto(label_X);
9247 : }
9248 :
9249 8 : compiler::TNode<Smi> tmp4;
9250 8 : compiler::TNode<Object> tmp5;
9251 8 : ca_.Bind(&block3, &tmp4, &tmp5);
9252 16 : return compiler::TNode<Object>{tmp5};
9253 : }
9254 :
9255 24 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::IncrementIfSmi34UT12ATHeapNumber5ATSmi10FixedArray(compiler::TNode<Object> p_x) {
9256 24 : compiler::CodeAssemblerParameterizedLabel<Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9257 48 : compiler::CodeAssemblerParameterizedLabel<Object, Object, Object> block5(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9258 48 : compiler::CodeAssemblerParameterizedLabel<Object, Object, Object, Smi> block4(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9259 48 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block3(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9260 48 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9261 48 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block6(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9262 24 : ca_.Goto(&block0, p_x);
9263 :
9264 24 : if (block0.is_used()) {
9265 24 : compiler::TNode<Object> tmp0;
9266 24 : ca_.Bind(&block0, &tmp0);
9267 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 427);
9268 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 428);
9269 24 : compiler::TNode<Smi> tmp1;
9270 24 : USE(tmp1);
9271 24 : compiler::CodeAssemblerLabel label0(&ca_);
9272 24 : tmp1 = BaseBuiltinsFromDSLAssembler(state_).Cast5ATSmi(compiler::TNode<Object>{tmp0}, &label0);
9273 24 : ca_.Goto(&block4, tmp0, tmp0, tmp0, tmp1);
9274 24 : if (label0.is_used()) {
9275 24 : ca_.Bind(&label0);
9276 24 : ca_.Goto(&block5, tmp0, tmp0, tmp0);
9277 24 : }
9278 : }
9279 :
9280 24 : if (block5.is_used()) {
9281 24 : compiler::TNode<Object> tmp2;
9282 24 : compiler::TNode<Object> tmp3;
9283 24 : compiler::TNode<Object> tmp4;
9284 24 : ca_.Bind(&block5, &tmp2, &tmp3, &tmp4);
9285 24 : ca_.Goto(&block3, tmp2, tmp3);
9286 : }
9287 :
9288 24 : if (block4.is_used()) {
9289 24 : compiler::TNode<Object> tmp5;
9290 24 : compiler::TNode<Object> tmp6;
9291 24 : compiler::TNode<Object> tmp7;
9292 24 : compiler::TNode<Smi> tmp8;
9293 24 : ca_.Bind(&block4, &tmp5, &tmp6, &tmp7, &tmp8);
9294 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 429);
9295 24 : compiler::TNode<Smi> tmp9;
9296 24 : USE(tmp9);
9297 24 : tmp9 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
9298 24 : compiler::TNode<Smi> tmp10;
9299 24 : USE(tmp10);
9300 24 : tmp10 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp8}, compiler::TNode<Smi>{tmp9}));
9301 24 : ca_.Goto(&block1, tmp5, tmp10);
9302 : }
9303 :
9304 24 : if (block3.is_used()) {
9305 24 : compiler::TNode<Object> tmp11;
9306 24 : compiler::TNode<Object> tmp12;
9307 24 : ca_.Bind(&block3, &tmp11, &tmp12);
9308 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 431);
9309 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 432);
9310 24 : ca_.Goto(&block1, tmp11, ca_.UncheckedCast<HeapObject>(tmp12));
9311 : }
9312 :
9313 24 : if (block1.is_used()) {
9314 24 : compiler::TNode<Object> tmp13;
9315 24 : compiler::TNode<Object> tmp14;
9316 24 : ca_.Bind(&block1, &tmp13, &tmp14);
9317 24 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 426);
9318 24 : ca_.Goto(&block6, tmp13, tmp14);
9319 : }
9320 :
9321 24 : compiler::TNode<Object> tmp15;
9322 24 : compiler::TNode<Object> tmp16;
9323 24 : ca_.Bind(&block6, &tmp15, &tmp16);
9324 48 : return compiler::TNode<Object>{tmp16};
9325 : }
9326 :
9327 4 : compiler::TNode<Smi> TestBuiltinsFromDSLAssembler::ExampleGenericOverload5ATSmi(compiler::TNode<Smi> p_o) {
9328 4 : compiler::CodeAssemblerParameterizedLabel<Smi> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9329 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9330 8 : compiler::CodeAssemblerParameterizedLabel<Smi, Smi> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9331 4 : ca_.Goto(&block0, p_o);
9332 :
9333 4 : if (block0.is_used()) {
9334 4 : compiler::TNode<Smi> tmp0;
9335 4 : ca_.Bind(&block0, &tmp0);
9336 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 491);
9337 4 : compiler::TNode<Smi> tmp1;
9338 4 : USE(tmp1);
9339 4 : tmp1 = ca_.UncheckedCast<Smi>(BaseBuiltinsFromDSLAssembler(state_).FromConstexpr5ATSmi17ATconstexpr_int31(1));
9340 4 : compiler::TNode<Smi> tmp2;
9341 4 : USE(tmp2);
9342 4 : tmp2 = ca_.UncheckedCast<Smi>(CodeStubAssembler(state_).SmiAdd(compiler::TNode<Smi>{tmp0}, compiler::TNode<Smi>{tmp1}));
9343 4 : ca_.Goto(&block1, tmp0, tmp2);
9344 : }
9345 :
9346 4 : if (block1.is_used()) {
9347 4 : compiler::TNode<Smi> tmp3;
9348 4 : compiler::TNode<Smi> tmp4;
9349 4 : ca_.Bind(&block1, &tmp3, &tmp4);
9350 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 490);
9351 4 : ca_.Goto(&block2, tmp3, tmp4);
9352 : }
9353 :
9354 4 : compiler::TNode<Smi> tmp5;
9355 4 : compiler::TNode<Smi> tmp6;
9356 4 : ca_.Bind(&block2, &tmp5, &tmp6);
9357 8 : return compiler::TNode<Smi>{tmp6};
9358 : }
9359 :
9360 4 : compiler::TNode<Object> TestBuiltinsFromDSLAssembler::ExampleGenericOverload20UT5ATSmi10HeapObject(compiler::TNode<Object> p_o) {
9361 4 : compiler::CodeAssemblerParameterizedLabel<Object> block0(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9362 8 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block1(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9363 8 : compiler::CodeAssemblerParameterizedLabel<Object, Object> block2(&ca_, compiler::CodeAssemblerLabel::kNonDeferred);
9364 4 : ca_.Goto(&block0, p_o);
9365 :
9366 4 : if (block0.is_used()) {
9367 4 : compiler::TNode<Object> tmp0;
9368 4 : ca_.Bind(&block0, &tmp0);
9369 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 488);
9370 4 : ca_.Goto(&block1, tmp0, tmp0);
9371 : }
9372 :
9373 4 : if (block1.is_used()) {
9374 4 : compiler::TNode<Object> tmp1;
9375 4 : compiler::TNode<Object> tmp2;
9376 4 : ca_.Bind(&block1, &tmp1, &tmp2);
9377 4 : ca_.SetSourcePosition("../../test/torque/test-torque.tq", 487);
9378 4 : ca_.Goto(&block2, tmp1, tmp2);
9379 : }
9380 :
9381 4 : compiler::TNode<Object> tmp3;
9382 4 : compiler::TNode<Object> tmp4;
9383 4 : ca_.Bind(&block2, &tmp3, &tmp4);
9384 8 : return compiler::TNode<Object>{tmp4};
9385 : }
9386 :
9387 : } // namespace internal
9388 86739 : } // namespace v8
9389 :
|