Branch data Line data Source code
1 : : /* Generated automatically by the program `genmatch' from
2 : : a IL pattern matching and simplification description. */
3 : : #pragma GCC diagnostic push
4 : : #pragma GCC diagnostic ignored "-Wunused-variable"
5 : : #pragma GCC diagnostic ignored "-Wunused-function"
6 : :
7 : : #include "generic-match-auto.h"
8 : :
9 : : bool
10 : 96653636 : tree_bit_not_with_nop (tree t, tree *res_ops)
11 : : {
12 : 96653636 : const tree type = TREE_TYPE (t);
13 : 96653636 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
14 : 96653636 : if (TREE_SIDE_EFFECTS (t)) return false;
15 : 96653636 : switch (TREE_CODE (t))
16 : : {
17 : 105212 : case BIT_NOT_EXPR:
18 : 105212 : {
19 : 105212 : tree _p0 = TREE_OPERAND (t, 0);
20 : 105212 : {
21 : 105212 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
22 : 105212 : {
23 : 105212 : res_ops[0] = captures[0];
24 : 105212 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 2, __FILE__, __LINE__, false);
25 : : return true;
26 : : }
27 : : }
28 : 16414931 : break;
29 : : }
30 : 16414931 : CASE_CONVERT:
31 : 16414931 : {
32 : 16414931 : tree _p0 = TREE_OPERAND (t, 0);
33 : 16414931 : switch (TREE_CODE (_p0))
34 : : {
35 : 1132 : case BIT_NOT_EXPR:
36 : 1132 : {
37 : 1132 : tree _q20 = TREE_OPERAND (_p0, 0);
38 : 1132 : {
39 : 1132 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
40 : 1132 : if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
41 : : )
42 : : {
43 : 601 : {
44 : 601 : res_ops[0] = captures[0];
45 : 601 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 3, __FILE__, __LINE__, false);
46 : 601 : return true;
47 : : }
48 : : }
49 : : }
50 : : break;
51 : : }
52 : : default:;
53 : : }
54 : : break;
55 : : }
56 : : default:;
57 : : }
58 : : return false;
59 : : }
60 : :
61 : : bool
62 : 80168672 : tree_with_known_nonzero_bits_1 (tree t)
63 : : {
64 : 80168672 : const tree type = TREE_TYPE (t);
65 : 80168672 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
66 : 80168672 : if (TREE_SIDE_EFFECTS (t)) return false;
67 : 80168672 : switch (TREE_CODE (t))
68 : : {
69 : 20975867 : case INTEGER_CST:
70 : 20975867 : {
71 : 20975867 : {
72 : 20975867 : tree captures[1] ATTRIBUTE_UNUSED = { t };
73 : 20975867 : {
74 : 20975867 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 37, __FILE__, __LINE__, false);
75 : 20975867 : return true;
76 : : }
77 : : }
78 : 27915952 : break;
79 : : }
80 : 27915952 : case SSA_NAME:
81 : 27915952 : {
82 : 27915952 : {
83 : 27915952 : tree captures[1] ATTRIBUTE_UNUSED = { t };
84 : 27915952 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
85 : : )
86 : : {
87 : 19840160 : {
88 : 19840160 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 38, __FILE__, __LINE__, false);
89 : 19840160 : return true;
90 : : }
91 : : }
92 : : }
93 : : break;
94 : : }
95 : : default:;
96 : : }
97 : : return false;
98 : : }
99 : :
100 : : bool
101 : 0 : tree_usadd_overflow_mask (tree t, tree *res_ops)
102 : : {
103 : 0 : const tree type = TREE_TYPE (t);
104 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
105 : 0 : if (TREE_SIDE_EFFECTS (t)) return false;
106 : 0 : switch (TREE_CODE (t))
107 : : {
108 : 0 : case NEGATE_EXPR:
109 : 0 : {
110 : 0 : tree _p0 = TREE_OPERAND (t, 0);
111 : 0 : switch (TREE_CODE (_p0))
112 : : {
113 : 0 : CASE_CONVERT:
114 : 0 : {
115 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
116 : 0 : switch (TREE_CODE (_q20))
117 : : {
118 : 0 : case GT_EXPR:
119 : 0 : {
120 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
121 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
122 : 0 : switch (TREE_CODE (_q31))
123 : : {
124 : 0 : case PLUS_EXPR:
125 : 0 : {
126 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
127 : 0 : tree _q51 = TREE_OPERAND (_q31, 1);
128 : 0 : if ((_q50 == _q30 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q30, 0) && types_match (_q50, _q30)))
129 : : {
130 : 0 : {
131 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q51 };
132 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
133 : : )
134 : : {
135 : 0 : if (types_match (type, captures[0], captures[1])
136 : : )
137 : : {
138 : 0 : {
139 : 0 : res_ops[0] = captures[0];
140 : 0 : res_ops[1] = captures[1];
141 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 43, __FILE__, __LINE__, false);
142 : 0 : return true;
143 : : }
144 : : }
145 : : }
146 : : }
147 : : }
148 : 0 : if ((_q51 == _q30 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q30, 0) && types_match (_q51, _q30)))
149 : : {
150 : 0 : {
151 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q50 };
152 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
153 : : )
154 : : {
155 : 0 : if (types_match (type, captures[0], captures[1])
156 : : )
157 : : {
158 : 0 : {
159 : 0 : res_ops[0] = captures[0];
160 : 0 : res_ops[1] = captures[1];
161 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 43, __FILE__, __LINE__, false);
162 : 0 : return true;
163 : : }
164 : : }
165 : : }
166 : : }
167 : : }
168 : : break;
169 : : }
170 : : default:;
171 : : }
172 : : break;
173 : : }
174 : 0 : case LT_EXPR:
175 : 0 : {
176 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
177 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
178 : 0 : switch (TREE_CODE (_q30))
179 : : {
180 : 0 : case PLUS_EXPR:
181 : 0 : {
182 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
183 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
184 : 0 : if ((_q31 == _q40 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _q40, 0) && types_match (_q31, _q40)))
185 : : {
186 : 0 : {
187 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q41 };
188 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
189 : : )
190 : : {
191 : 0 : if (types_match (type, captures[0], captures[1])
192 : : )
193 : : {
194 : 0 : {
195 : 0 : res_ops[0] = captures[0];
196 : 0 : res_ops[1] = captures[1];
197 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 44, __FILE__, __LINE__, false);
198 : 0 : return true;
199 : : }
200 : : }
201 : : }
202 : : }
203 : : }
204 : 0 : if ((_q31 == _q41 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _q41, 0) && types_match (_q31, _q41)))
205 : : {
206 : 0 : {
207 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q41, _q40 };
208 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
209 : : )
210 : : {
211 : 0 : if (types_match (type, captures[0], captures[1])
212 : : )
213 : : {
214 : 0 : {
215 : 0 : res_ops[0] = captures[0];
216 : 0 : res_ops[1] = captures[1];
217 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 44, __FILE__, __LINE__, false);
218 : 0 : return true;
219 : : }
220 : : }
221 : : }
222 : : }
223 : : }
224 : : break;
225 : : }
226 : : default:;
227 : : }
228 : : break;
229 : : }
230 : : default:;
231 : : }
232 : : break;
233 : : }
234 : : default:;
235 : : }
236 : : break;
237 : : }
238 : : default:;
239 : : }
240 : : return false;
241 : : }
242 : :
243 : : bool
244 : 0 : tree_unsigned_integer_sat_mul (tree t, tree *res_ops)
245 : : {
246 : 0 : const tree type = TREE_TYPE (t);
247 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
248 : 0 : if (TREE_SIDE_EFFECTS (t)) return false;
249 : 0 : switch (TREE_CODE (t))
250 : : {
251 : 0 : CASE_CONVERT:
252 : 0 : {
253 : 0 : tree _p0 = TREE_OPERAND (t, 0);
254 : 0 : switch (TREE_CODE (_p0))
255 : : {
256 : 0 : case MIN_EXPR:
257 : 0 : {
258 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
259 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
260 : 0 : switch (TREE_CODE (_q20))
261 : : {
262 : 0 : case WIDEN_MULT_EXPR:
263 : 0 : {
264 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
265 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
266 : 0 : switch (TREE_CODE (_q30))
267 : : {
268 : 0 : CASE_CONVERT:
269 : 0 : {
270 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
271 : 0 : switch (TREE_CODE (_q31))
272 : : {
273 : 0 : CASE_CONVERT:
274 : 0 : {
275 : 0 : tree _q60 = TREE_OPERAND (_q31, 0);
276 : 0 : switch (TREE_CODE (_q21))
277 : : {
278 : 0 : case INTEGER_CST:
279 : 0 : {
280 : 0 : {
281 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q60, _q20, _q30, _q31, _q21 };
282 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
283 : : )
284 : : {
285 : 0 : if (types_match (type, captures[0], captures[1])
286 : : )
287 : : {
288 : 0 : {
289 : 0 : unsigned prec = TYPE_PRECISION (type);
290 : 0 : unsigned widen_prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
291 : 0 : unsigned cvt4_prec = TYPE_PRECISION (TREE_TYPE (captures[3]));
292 : 0 : unsigned cvt5_prec = TYPE_PRECISION (TREE_TYPE (captures[4]));
293 : 0 : wide_int c2 = wi::to_wide (captures[5]);
294 : 0 : wide_int max = wi::mask (prec, false, widen_prec);
295 : 0 : bool c2_is_max_p = wi::eq_p (c2, max);
296 : 0 : bool widen_mult_p = cvt4_prec == cvt5_prec && widen_prec == cvt5_prec * 2;
297 : 0 : if (widen_prec > prec && c2_is_max_p && widen_mult_p
298 : : )
299 : : {
300 : 0 : {
301 : 0 : res_ops[0] = captures[0];
302 : 0 : res_ops[1] = captures[1];
303 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 88, __FILE__, __LINE__, false);
304 : 0 : return true;
305 : : }
306 : : }
307 : 0 : }
308 : : }
309 : : }
310 : : }
311 : 0 : {
312 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q60, _q40, _q20, _q31, _q30, _q21 };
313 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
314 : : )
315 : : {
316 : 0 : if (types_match (type, captures[0], captures[1])
317 : : )
318 : : {
319 : 0 : {
320 : 0 : unsigned prec = TYPE_PRECISION (type);
321 : 0 : unsigned widen_prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
322 : 0 : unsigned cvt4_prec = TYPE_PRECISION (TREE_TYPE (captures[3]));
323 : 0 : unsigned cvt5_prec = TYPE_PRECISION (TREE_TYPE (captures[4]));
324 : 0 : wide_int c2 = wi::to_wide (captures[5]);
325 : 0 : wide_int max = wi::mask (prec, false, widen_prec);
326 : 0 : bool c2_is_max_p = wi::eq_p (c2, max);
327 : 0 : bool widen_mult_p = cvt4_prec == cvt5_prec && widen_prec == cvt5_prec * 2;
328 : 0 : if (widen_prec > prec && c2_is_max_p && widen_mult_p
329 : : )
330 : : {
331 : 0 : {
332 : 0 : res_ops[0] = captures[0];
333 : 0 : res_ops[1] = captures[1];
334 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 88, __FILE__, __LINE__, false);
335 : 0 : return true;
336 : : }
337 : : }
338 : 0 : }
339 : : }
340 : : }
341 : : }
342 : 0 : break;
343 : : }
344 : : default:;
345 : : }
346 : : break;
347 : : }
348 : : default:;
349 : : }
350 : : break;
351 : : }
352 : : default:;
353 : : }
354 : : break;
355 : : }
356 : 0 : case MULT_EXPR:
357 : 0 : {
358 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
359 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
360 : 0 : switch (TREE_CODE (_q30))
361 : : {
362 : 0 : CASE_CONVERT:
363 : 0 : {
364 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
365 : 0 : switch (TREE_CODE (_q31))
366 : : {
367 : 0 : CASE_CONVERT:
368 : 0 : {
369 : 0 : tree _q60 = TREE_OPERAND (_q31, 0);
370 : 0 : switch (TREE_CODE (_q21))
371 : : {
372 : 0 : case INTEGER_CST:
373 : 0 : {
374 : 0 : {
375 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q60, _q20, _q21 };
376 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
377 : : )
378 : : {
379 : 0 : if (types_match (type, captures[0], captures[1])
380 : : )
381 : : {
382 : 0 : {
383 : 0 : unsigned prec = TYPE_PRECISION (type);
384 : 0 : unsigned widen_prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
385 : 0 : wide_int c2 = wi::to_wide (captures[3]);
386 : 0 : wide_int max = wi::mask (prec, false, widen_prec);
387 : 0 : bool c2_is_max_p = wi::eq_p (c2, max);
388 : 0 : if (widen_prec > prec && c2_is_max_p
389 : : )
390 : : {
391 : 0 : {
392 : 0 : res_ops[0] = captures[0];
393 : 0 : res_ops[1] = captures[1];
394 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 89, __FILE__, __LINE__, false);
395 : 0 : return true;
396 : : }
397 : : }
398 : 0 : }
399 : : }
400 : : }
401 : : }
402 : 0 : {
403 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q60, _q40, _q20, _q21 };
404 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
405 : : )
406 : : {
407 : 0 : if (types_match (type, captures[0], captures[1])
408 : : )
409 : : {
410 : 0 : {
411 : 0 : unsigned prec = TYPE_PRECISION (type);
412 : 0 : unsigned widen_prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
413 : 0 : wide_int c2 = wi::to_wide (captures[3]);
414 : 0 : wide_int max = wi::mask (prec, false, widen_prec);
415 : 0 : bool c2_is_max_p = wi::eq_p (c2, max);
416 : 0 : if (widen_prec > prec && c2_is_max_p
417 : : )
418 : : {
419 : 0 : {
420 : 0 : res_ops[0] = captures[0];
421 : 0 : res_ops[1] = captures[1];
422 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 89, __FILE__, __LINE__, false);
423 : 0 : return true;
424 : : }
425 : : }
426 : 0 : }
427 : : }
428 : : }
429 : : }
430 : 0 : break;
431 : : }
432 : : default:;
433 : : }
434 : : break;
435 : : }
436 : : default:;
437 : : }
438 : : break;
439 : : }
440 : : default:;
441 : : }
442 : : break;
443 : : }
444 : : default:;
445 : : }
446 : : break;
447 : : }
448 : 0 : case COND_EXPR:
449 : 0 : {
450 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
451 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
452 : 0 : tree _q22 = TREE_OPERAND (_p0, 2);
453 : 0 : switch (TREE_CODE (_q20))
454 : : {
455 : 0 : case EQ_EXPR:
456 : 0 : {
457 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
458 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
459 : 0 : switch (TREE_CODE (_q30))
460 : : {
461 : 0 : case RSHIFT_EXPR:
462 : 0 : {
463 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
464 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
465 : 0 : switch (TREE_CODE (_q40))
466 : : {
467 : 0 : case MULT_EXPR:
468 : 0 : {
469 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
470 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
471 : 0 : switch (TREE_CODE (_q50))
472 : : {
473 : 0 : CASE_CONVERT:
474 : 0 : {
475 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
476 : 0 : switch (TREE_CODE (_q51))
477 : : {
478 : 0 : CASE_CONVERT:
479 : 0 : {
480 : 0 : tree _q80 = TREE_OPERAND (_q51, 0);
481 : 0 : switch (TREE_CODE (_q41))
482 : : {
483 : 0 : case INTEGER_CST:
484 : 0 : {
485 : 0 : if (integer_zerop (_q31))
486 : : {
487 : 0 : if ((_q21 == _q40 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q40, 0) && types_match (_q21, _q40)))
488 : : {
489 : 0 : switch (TREE_CODE (_q22))
490 : : {
491 : 0 : case INTEGER_CST:
492 : 0 : {
493 : 0 : {
494 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q60, _q80, _q40, _q41, _q22 };
495 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
496 : : )
497 : : {
498 : 0 : if (types_match (type, captures[0], captures[1])
499 : : )
500 : : {
501 : 0 : {
502 : 0 : unsigned prec = TYPE_PRECISION (type);
503 : 0 : unsigned widen_prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
504 : 0 : wide_int c4 = wi::to_wide (captures[4]);
505 : 0 : wide_int max = wi::mask (prec, false, widen_prec);
506 : 0 : bool c4_is_max_p = wi::eq_p (c4, max);
507 : 0 : unsigned c2 = tree_to_uhwi (captures[3]);
508 : 0 : bool c2_is_type_precision_p = c2 == prec;
509 : 0 : if (widen_prec > prec && c2_is_type_precision_p && c4_is_max_p
510 : : )
511 : : {
512 : 0 : {
513 : 0 : res_ops[0] = captures[0];
514 : 0 : res_ops[1] = captures[1];
515 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 90, __FILE__, __LINE__, false);
516 : 0 : return true;
517 : : }
518 : : }
519 : 0 : }
520 : : }
521 : : }
522 : : }
523 : 0 : {
524 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q80, _q60, _q40, _q41, _q22 };
525 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
526 : : )
527 : : {
528 : 0 : if (types_match (type, captures[0], captures[1])
529 : : )
530 : : {
531 : 0 : {
532 : 0 : unsigned prec = TYPE_PRECISION (type);
533 : 0 : unsigned widen_prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
534 : 0 : wide_int c4 = wi::to_wide (captures[4]);
535 : 0 : wide_int max = wi::mask (prec, false, widen_prec);
536 : 0 : bool c4_is_max_p = wi::eq_p (c4, max);
537 : 0 : unsigned c2 = tree_to_uhwi (captures[3]);
538 : 0 : bool c2_is_type_precision_p = c2 == prec;
539 : 0 : if (widen_prec > prec && c2_is_type_precision_p && c4_is_max_p
540 : : )
541 : : {
542 : 0 : {
543 : 0 : res_ops[0] = captures[0];
544 : 0 : res_ops[1] = captures[1];
545 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 90, __FILE__, __LINE__, false);
546 : 0 : return true;
547 : : }
548 : : }
549 : 0 : }
550 : : }
551 : : }
552 : : }
553 : 0 : break;
554 : : }
555 : : default:;
556 : : }
557 : : }
558 : : }
559 : : break;
560 : : }
561 : : default:;
562 : : }
563 : : break;
564 : : }
565 : : default:;
566 : : }
567 : : break;
568 : : }
569 : : default:;
570 : : }
571 : : break;
572 : : }
573 : : default:;
574 : : }
575 : : break;
576 : : }
577 : : default:;
578 : : }
579 : : break;
580 : : }
581 : : default:;
582 : : }
583 : : break;
584 : : }
585 : 0 : case BIT_IOR_EXPR:
586 : 0 : {
587 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
588 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
589 : 0 : switch (TREE_CODE (_q20))
590 : : {
591 : 0 : CASE_CONVERT:
592 : 0 : {
593 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
594 : 0 : switch (TREE_CODE (_q30))
595 : : {
596 : 0 : case NEGATE_EXPR:
597 : 0 : {
598 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
599 : 0 : switch (TREE_CODE (_q40))
600 : : {
601 : 0 : CASE_CONVERT:
602 : 0 : {
603 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
604 : 0 : switch (TREE_CODE (_q50))
605 : : {
606 : 0 : case NE_EXPR:
607 : 0 : {
608 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
609 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
610 : 0 : switch (TREE_CODE (_q60))
611 : : {
612 : 0 : CASE_CONVERT:
613 : 0 : {
614 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
615 : 0 : switch (TREE_CODE (_q70))
616 : : {
617 : 0 : case RSHIFT_EXPR:
618 : 0 : {
619 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
620 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
621 : 0 : switch (TREE_CODE (_q81))
622 : : {
623 : 0 : case INTEGER_CST:
624 : 0 : {
625 : 0 : if (integer_zerop (_q61))
626 : : {
627 : 0 : switch (TREE_CODE (_q21))
628 : : {
629 : 0 : CASE_CONVERT:
630 : 0 : {
631 : 0 : tree _q120 = TREE_OPERAND (_q21, 0);
632 : 0 : if ((_q120 == _q80 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q80, 0) && types_match (_q120, _q80)))
633 : : {
634 : 0 : switch (TREE_CODE (_q120))
635 : : {
636 : 0 : case WIDEN_MULT_EXPR:
637 : 0 : {
638 : 0 : tree _q140 = TREE_OPERAND (_q120, 0);
639 : 0 : tree _q141 = TREE_OPERAND (_q120, 1);
640 : 0 : switch (TREE_CODE (_q140))
641 : : {
642 : 0 : CASE_CONVERT:
643 : 0 : {
644 : 0 : tree _q150 = TREE_OPERAND (_q140, 0);
645 : 0 : switch (TREE_CODE (_q141))
646 : : {
647 : 0 : CASE_CONVERT:
648 : 0 : {
649 : 0 : tree _q170 = TREE_OPERAND (_q141, 0);
650 : 0 : {
651 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q150, _q170, _q80, _q81, _q140, _q141 };
652 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
653 : : )
654 : : {
655 : 0 : if (types_match (type, captures[0], captures[1])
656 : : )
657 : : {
658 : 0 : {
659 : 0 : unsigned widen_prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
660 : 0 : unsigned cvt4_prec = TYPE_PRECISION (TREE_TYPE (captures[4]));
661 : 0 : unsigned cvt5_prec = TYPE_PRECISION (TREE_TYPE (captures[5]));
662 : 0 : bool widen_mult_p = cvt4_prec == cvt5_prec && widen_prec == cvt5_prec * 2;
663 : 0 : unsigned c2 = tree_to_uhwi (captures[3]);
664 : 0 : unsigned prec = TYPE_PRECISION (type);
665 : 0 : bool c2_is_type_precision_p = c2 == prec;
666 : 0 : if (widen_mult_p && c2_is_type_precision_p
667 : : )
668 : : {
669 : 0 : {
670 : 0 : res_ops[0] = captures[0];
671 : 0 : res_ops[1] = captures[1];
672 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 91, __FILE__, __LINE__, false);
673 : 0 : return true;
674 : : }
675 : : }
676 : : }
677 : : }
678 : : }
679 : : }
680 : 0 : {
681 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q170, _q150, _q80, _q81, _q141, _q140 };
682 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
683 : : )
684 : : {
685 : 0 : if (types_match (type, captures[0], captures[1])
686 : : )
687 : : {
688 : 0 : {
689 : 0 : unsigned widen_prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
690 : 0 : unsigned cvt4_prec = TYPE_PRECISION (TREE_TYPE (captures[4]));
691 : 0 : unsigned cvt5_prec = TYPE_PRECISION (TREE_TYPE (captures[5]));
692 : 0 : bool widen_mult_p = cvt4_prec == cvt5_prec && widen_prec == cvt5_prec * 2;
693 : 0 : unsigned c2 = tree_to_uhwi (captures[3]);
694 : 0 : unsigned prec = TYPE_PRECISION (type);
695 : 0 : bool c2_is_type_precision_p = c2 == prec;
696 : 0 : if (widen_mult_p && c2_is_type_precision_p
697 : : )
698 : : {
699 : 0 : {
700 : 0 : res_ops[0] = captures[0];
701 : 0 : res_ops[1] = captures[1];
702 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 91, __FILE__, __LINE__, false);
703 : 0 : return true;
704 : : }
705 : : }
706 : : }
707 : : }
708 : : }
709 : : }
710 : : break;
711 : : }
712 : : default:;
713 : : }
714 : : break;
715 : : }
716 : : default:;
717 : : }
718 : : break;
719 : : }
720 : : default:;
721 : : }
722 : : }
723 : : break;
724 : : }
725 : : default:;
726 : : }
727 : : }
728 : : break;
729 : : }
730 : : default:;
731 : : }
732 : : break;
733 : : }
734 : : default:;
735 : : }
736 : : break;
737 : : }
738 : : default:;
739 : : }
740 : : break;
741 : : }
742 : : default:;
743 : : }
744 : : break;
745 : : }
746 : : default:;
747 : : }
748 : : break;
749 : : }
750 : : default:;
751 : : }
752 : : break;
753 : : }
754 : 0 : case NEGATE_EXPR:
755 : 0 : {
756 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
757 : 0 : switch (TREE_CODE (_q30))
758 : : {
759 : 0 : CASE_CONVERT:
760 : 0 : {
761 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
762 : 0 : switch (TREE_CODE (_q40))
763 : : {
764 : 0 : case NE_EXPR:
765 : 0 : {
766 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
767 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
768 : 0 : switch (TREE_CODE (_q50))
769 : : {
770 : 0 : CASE_CONVERT:
771 : 0 : {
772 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
773 : 0 : switch (TREE_CODE (_q60))
774 : : {
775 : 0 : case RSHIFT_EXPR:
776 : 0 : {
777 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
778 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
779 : 0 : switch (TREE_CODE (_q71))
780 : : {
781 : 0 : case INTEGER_CST:
782 : 0 : {
783 : 0 : if (integer_zerop (_q51))
784 : : {
785 : 0 : switch (TREE_CODE (_q21))
786 : : {
787 : 0 : CASE_CONVERT:
788 : 0 : {
789 : 0 : tree _q110 = TREE_OPERAND (_q21, 0);
790 : 0 : if ((_q110 == _q70 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q70, 0) && types_match (_q110, _q70)))
791 : : {
792 : 0 : switch (TREE_CODE (_q110))
793 : : {
794 : 0 : case WIDEN_MULT_EXPR:
795 : 0 : {
796 : 0 : tree _q130 = TREE_OPERAND (_q110, 0);
797 : 0 : tree _q131 = TREE_OPERAND (_q110, 1);
798 : 0 : switch (TREE_CODE (_q130))
799 : : {
800 : 0 : CASE_CONVERT:
801 : 0 : {
802 : 0 : tree _q140 = TREE_OPERAND (_q130, 0);
803 : 0 : switch (TREE_CODE (_q131))
804 : : {
805 : 0 : CASE_CONVERT:
806 : 0 : {
807 : 0 : tree _q160 = TREE_OPERAND (_q131, 0);
808 : 0 : {
809 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q140, _q160, _q70, _q71, _q130, _q131 };
810 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
811 : : )
812 : : {
813 : 0 : if (types_match (type, captures[0], captures[1])
814 : : )
815 : : {
816 : 0 : {
817 : 0 : unsigned widen_prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
818 : 0 : unsigned cvt4_prec = TYPE_PRECISION (TREE_TYPE (captures[4]));
819 : 0 : unsigned cvt5_prec = TYPE_PRECISION (TREE_TYPE (captures[5]));
820 : 0 : bool widen_mult_p = cvt4_prec == cvt5_prec && widen_prec == cvt5_prec * 2;
821 : 0 : unsigned c2 = tree_to_uhwi (captures[3]);
822 : 0 : unsigned prec = TYPE_PRECISION (type);
823 : 0 : bool c2_is_type_precision_p = c2 == prec;
824 : 0 : if (widen_mult_p && c2_is_type_precision_p
825 : : )
826 : : {
827 : 0 : {
828 : 0 : res_ops[0] = captures[0];
829 : 0 : res_ops[1] = captures[1];
830 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 91, __FILE__, __LINE__, false);
831 : 0 : return true;
832 : : }
833 : : }
834 : : }
835 : : }
836 : : }
837 : : }
838 : 0 : {
839 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q160, _q140, _q70, _q71, _q131, _q130 };
840 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
841 : : )
842 : : {
843 : 0 : if (types_match (type, captures[0], captures[1])
844 : : )
845 : : {
846 : 0 : {
847 : 0 : unsigned widen_prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
848 : 0 : unsigned cvt4_prec = TYPE_PRECISION (TREE_TYPE (captures[4]));
849 : 0 : unsigned cvt5_prec = TYPE_PRECISION (TREE_TYPE (captures[5]));
850 : 0 : bool widen_mult_p = cvt4_prec == cvt5_prec && widen_prec == cvt5_prec * 2;
851 : 0 : unsigned c2 = tree_to_uhwi (captures[3]);
852 : 0 : unsigned prec = TYPE_PRECISION (type);
853 : 0 : bool c2_is_type_precision_p = c2 == prec;
854 : 0 : if (widen_mult_p && c2_is_type_precision_p
855 : : )
856 : : {
857 : 0 : {
858 : 0 : res_ops[0] = captures[0];
859 : 0 : res_ops[1] = captures[1];
860 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 91, __FILE__, __LINE__, false);
861 : 0 : return true;
862 : : }
863 : : }
864 : : }
865 : : }
866 : : }
867 : : }
868 : : break;
869 : : }
870 : : default:;
871 : : }
872 : : break;
873 : : }
874 : : default:;
875 : : }
876 : : break;
877 : : }
878 : : default:;
879 : : }
880 : : }
881 : : break;
882 : : }
883 : : default:;
884 : : }
885 : : }
886 : : break;
887 : : }
888 : : default:;
889 : : }
890 : : break;
891 : : }
892 : : default:;
893 : : }
894 : : break;
895 : : }
896 : : default:;
897 : : }
898 : : break;
899 : : }
900 : : default:;
901 : : }
902 : : break;
903 : : }
904 : : default:;
905 : : }
906 : : break;
907 : : }
908 : : default:;
909 : : }
910 : : break;
911 : : }
912 : : default:;
913 : : }
914 : : break;
915 : : }
916 : 0 : case COND_EXPR:
917 : 0 : {
918 : 0 : tree _p0 = TREE_OPERAND (t, 0);
919 : 0 : tree _p1 = TREE_OPERAND (t, 1);
920 : 0 : tree _p2 = TREE_OPERAND (t, 2);
921 : 0 : switch (TREE_CODE (_p0))
922 : : {
923 : 0 : case NE_EXPR:
924 : 0 : {
925 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
926 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
927 : 0 : switch (TREE_CODE (_q20))
928 : : {
929 : 0 : case IMAGPART_EXPR:
930 : 0 : {
931 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
932 : 0 : switch (TREE_CODE (_q30))
933 : : {
934 : 0 : case CALL_EXPR:
935 : 0 : switch (get_call_combined_fn (_q30))
936 : : {
937 : 0 : case CFN_MUL_OVERFLOW:
938 : 0 : if (call_expr_nargs (_q30) == 2)
939 : : {
940 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
941 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
942 : 0 : if (integer_zerop (_q21))
943 : : {
944 : 0 : if (integer_minus_onep (_p1))
945 : : {
946 : 0 : switch (TREE_CODE (_p2))
947 : : {
948 : 0 : case REALPART_EXPR:
949 : 0 : {
950 : 0 : tree _q90 = TREE_OPERAND (_p2, 0);
951 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
952 : : {
953 : 0 : {
954 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q30 };
955 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
956 : : )
957 : : {
958 : 0 : if (types_match (type, captures[0], captures[1])
959 : : )
960 : : {
961 : 0 : {
962 : 0 : res_ops[0] = captures[0];
963 : 0 : res_ops[1] = captures[1];
964 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 92, __FILE__, __LINE__, false);
965 : 0 : return true;
966 : : }
967 : : }
968 : : }
969 : : }
970 : 0 : {
971 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q30 };
972 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
973 : : )
974 : : {
975 : 0 : if (types_match (type, captures[0], captures[1])
976 : : )
977 : : {
978 : 0 : {
979 : 0 : res_ops[0] = captures[0];
980 : 0 : res_ops[1] = captures[1];
981 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 92, __FILE__, __LINE__, false);
982 : 0 : return true;
983 : : }
984 : : }
985 : : }
986 : : }
987 : : }
988 : : break;
989 : : }
990 : : default:;
991 : : }
992 : : }
993 : : }
994 : : }
995 : : break;
996 : : default:;
997 : : }
998 : : break;
999 : : default:;
1000 : : }
1001 : : break;
1002 : : }
1003 : : default:;
1004 : : }
1005 : : break;
1006 : : }
1007 : : default:;
1008 : : }
1009 : : break;
1010 : : }
1011 : 0 : case BIT_IOR_EXPR:
1012 : 0 : {
1013 : 0 : tree _p0 = TREE_OPERAND (t, 0);
1014 : 0 : tree _p1 = TREE_OPERAND (t, 1);
1015 : 0 : switch (TREE_CODE (_p0))
1016 : : {
1017 : 0 : CASE_CONVERT:
1018 : 0 : {
1019 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
1020 : 0 : switch (TREE_CODE (_q20))
1021 : : {
1022 : 0 : case NEGATE_EXPR:
1023 : 0 : {
1024 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
1025 : 0 : switch (TREE_CODE (_q30))
1026 : : {
1027 : 0 : CASE_CONVERT:
1028 : 0 : {
1029 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
1030 : 0 : switch (TREE_CODE (_q40))
1031 : : {
1032 : 0 : case NE_EXPR:
1033 : 0 : {
1034 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
1035 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
1036 : 0 : switch (TREE_CODE (_q50))
1037 : : {
1038 : 0 : CASE_CONVERT:
1039 : 0 : {
1040 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
1041 : 0 : switch (TREE_CODE (_q60))
1042 : : {
1043 : 0 : case RSHIFT_EXPR:
1044 : 0 : {
1045 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
1046 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
1047 : 0 : switch (TREE_CODE (_q71))
1048 : : {
1049 : 0 : case INTEGER_CST:
1050 : 0 : {
1051 : 0 : if (integer_zerop (_q51))
1052 : : {
1053 : 0 : switch (TREE_CODE (_p1))
1054 : : {
1055 : 0 : CASE_CONVERT:
1056 : 0 : {
1057 : 0 : tree _q110 = TREE_OPERAND (_p1, 0);
1058 : 0 : if ((_q110 == _q70 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q70, 0) && types_match (_q110, _q70)))
1059 : : {
1060 : 0 : switch (TREE_CODE (_q110))
1061 : : {
1062 : 0 : case WIDEN_MULT_EXPR:
1063 : 0 : {
1064 : 0 : tree _q130 = TREE_OPERAND (_q110, 0);
1065 : 0 : tree _q131 = TREE_OPERAND (_q110, 1);
1066 : 0 : switch (TREE_CODE (_q130))
1067 : : {
1068 : 0 : CASE_CONVERT:
1069 : 0 : {
1070 : 0 : tree _q140 = TREE_OPERAND (_q130, 0);
1071 : 0 : switch (TREE_CODE (_q131))
1072 : : {
1073 : 0 : CASE_CONVERT:
1074 : 0 : {
1075 : 0 : tree _q160 = TREE_OPERAND (_q131, 0);
1076 : 0 : {
1077 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q140, _q160, _q70, _q71, _q130, _q131 };
1078 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
1079 : : )
1080 : : {
1081 : 0 : if (types_match (type, captures[0], captures[1])
1082 : : )
1083 : : {
1084 : 0 : {
1085 : 0 : unsigned widen_prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
1086 : 0 : unsigned cvt4_prec = TYPE_PRECISION (TREE_TYPE (captures[4]));
1087 : 0 : unsigned cvt5_prec = TYPE_PRECISION (TREE_TYPE (captures[5]));
1088 : 0 : bool widen_mult_p = cvt4_prec == cvt5_prec && widen_prec == cvt5_prec * 2;
1089 : 0 : unsigned c2 = tree_to_uhwi (captures[3]);
1090 : 0 : unsigned prec = TYPE_PRECISION (type);
1091 : 0 : bool c2_is_type_precision_p = c2 == prec;
1092 : 0 : if (widen_mult_p && c2_is_type_precision_p
1093 : : )
1094 : : {
1095 : 0 : {
1096 : 0 : res_ops[0] = captures[0];
1097 : 0 : res_ops[1] = captures[1];
1098 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 91, __FILE__, __LINE__, false);
1099 : 0 : return true;
1100 : : }
1101 : : }
1102 : : }
1103 : : }
1104 : : }
1105 : : }
1106 : 0 : {
1107 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q160, _q140, _q70, _q71, _q131, _q130 };
1108 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
1109 : : )
1110 : : {
1111 : 0 : if (types_match (type, captures[0], captures[1])
1112 : : )
1113 : : {
1114 : 0 : {
1115 : 0 : unsigned widen_prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
1116 : 0 : unsigned cvt4_prec = TYPE_PRECISION (TREE_TYPE (captures[4]));
1117 : 0 : unsigned cvt5_prec = TYPE_PRECISION (TREE_TYPE (captures[5]));
1118 : 0 : bool widen_mult_p = cvt4_prec == cvt5_prec && widen_prec == cvt5_prec * 2;
1119 : 0 : unsigned c2 = tree_to_uhwi (captures[3]);
1120 : 0 : unsigned prec = TYPE_PRECISION (type);
1121 : 0 : bool c2_is_type_precision_p = c2 == prec;
1122 : 0 : if (widen_mult_p && c2_is_type_precision_p
1123 : : )
1124 : : {
1125 : 0 : {
1126 : 0 : res_ops[0] = captures[0];
1127 : 0 : res_ops[1] = captures[1];
1128 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 91, __FILE__, __LINE__, false);
1129 : 0 : return true;
1130 : : }
1131 : : }
1132 : : }
1133 : : }
1134 : : }
1135 : : }
1136 : : break;
1137 : : }
1138 : : default:;
1139 : : }
1140 : : break;
1141 : : }
1142 : : default:;
1143 : : }
1144 : : break;
1145 : : }
1146 : : default:;
1147 : : }
1148 : : }
1149 : : break;
1150 : : }
1151 : : default:;
1152 : : }
1153 : : }
1154 : : break;
1155 : : }
1156 : : default:;
1157 : : }
1158 : : break;
1159 : : }
1160 : : default:;
1161 : : }
1162 : : break;
1163 : : }
1164 : : default:;
1165 : : }
1166 : : break;
1167 : : }
1168 : : default:;
1169 : : }
1170 : : break;
1171 : : }
1172 : : default:;
1173 : : }
1174 : : break;
1175 : : }
1176 : : default:;
1177 : : }
1178 : : break;
1179 : : }
1180 : 0 : case NEGATE_EXPR:
1181 : 0 : {
1182 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
1183 : 0 : switch (TREE_CODE (_q20))
1184 : : {
1185 : 0 : CASE_CONVERT:
1186 : 0 : {
1187 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
1188 : 0 : switch (TREE_CODE (_q30))
1189 : : {
1190 : 0 : case NE_EXPR:
1191 : 0 : {
1192 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
1193 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
1194 : 0 : switch (TREE_CODE (_q40))
1195 : : {
1196 : 0 : CASE_CONVERT:
1197 : 0 : {
1198 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
1199 : 0 : switch (TREE_CODE (_q50))
1200 : : {
1201 : 0 : case RSHIFT_EXPR:
1202 : 0 : {
1203 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
1204 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
1205 : 0 : switch (TREE_CODE (_q61))
1206 : : {
1207 : 0 : case INTEGER_CST:
1208 : 0 : {
1209 : 0 : if (integer_zerop (_q41))
1210 : : {
1211 : 0 : switch (TREE_CODE (_p1))
1212 : : {
1213 : 0 : CASE_CONVERT:
1214 : 0 : {
1215 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
1216 : 0 : if ((_q100 == _q60 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q60, 0) && types_match (_q100, _q60)))
1217 : : {
1218 : 0 : switch (TREE_CODE (_q100))
1219 : : {
1220 : 0 : case WIDEN_MULT_EXPR:
1221 : 0 : {
1222 : 0 : tree _q120 = TREE_OPERAND (_q100, 0);
1223 : 0 : tree _q121 = TREE_OPERAND (_q100, 1);
1224 : 0 : switch (TREE_CODE (_q120))
1225 : : {
1226 : 0 : CASE_CONVERT:
1227 : 0 : {
1228 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
1229 : 0 : switch (TREE_CODE (_q121))
1230 : : {
1231 : 0 : CASE_CONVERT:
1232 : 0 : {
1233 : 0 : tree _q150 = TREE_OPERAND (_q121, 0);
1234 : 0 : {
1235 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q130, _q150, _q60, _q61, _q120, _q121 };
1236 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
1237 : : )
1238 : : {
1239 : 0 : if (types_match (type, captures[0], captures[1])
1240 : : )
1241 : : {
1242 : 0 : {
1243 : 0 : unsigned widen_prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
1244 : 0 : unsigned cvt4_prec = TYPE_PRECISION (TREE_TYPE (captures[4]));
1245 : 0 : unsigned cvt5_prec = TYPE_PRECISION (TREE_TYPE (captures[5]));
1246 : 0 : bool widen_mult_p = cvt4_prec == cvt5_prec && widen_prec == cvt5_prec * 2;
1247 : 0 : unsigned c2 = tree_to_uhwi (captures[3]);
1248 : 0 : unsigned prec = TYPE_PRECISION (type);
1249 : 0 : bool c2_is_type_precision_p = c2 == prec;
1250 : 0 : if (widen_mult_p && c2_is_type_precision_p
1251 : : )
1252 : : {
1253 : 0 : {
1254 : 0 : res_ops[0] = captures[0];
1255 : 0 : res_ops[1] = captures[1];
1256 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 91, __FILE__, __LINE__, false);
1257 : 0 : return true;
1258 : : }
1259 : : }
1260 : : }
1261 : : }
1262 : : }
1263 : : }
1264 : 0 : {
1265 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q150, _q130, _q60, _q61, _q121, _q120 };
1266 : 0 : if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
1267 : : )
1268 : : {
1269 : 0 : if (types_match (type, captures[0], captures[1])
1270 : : )
1271 : : {
1272 : 0 : {
1273 : 0 : unsigned widen_prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
1274 : 0 : unsigned cvt4_prec = TYPE_PRECISION (TREE_TYPE (captures[4]));
1275 : 0 : unsigned cvt5_prec = TYPE_PRECISION (TREE_TYPE (captures[5]));
1276 : 0 : bool widen_mult_p = cvt4_prec == cvt5_prec && widen_prec == cvt5_prec * 2;
1277 : 0 : unsigned c2 = tree_to_uhwi (captures[3]);
1278 : 0 : unsigned prec = TYPE_PRECISION (type);
1279 : 0 : bool c2_is_type_precision_p = c2 == prec;
1280 : 0 : if (widen_mult_p && c2_is_type_precision_p
1281 : : )
1282 : : {
1283 : 0 : {
1284 : 0 : res_ops[0] = captures[0];
1285 : 0 : res_ops[1] = captures[1];
1286 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 91, __FILE__, __LINE__, false);
1287 : 0 : return true;
1288 : : }
1289 : : }
1290 : : }
1291 : : }
1292 : : }
1293 : : }
1294 : : break;
1295 : : }
1296 : : default:;
1297 : : }
1298 : : break;
1299 : : }
1300 : : default:;
1301 : : }
1302 : : break;
1303 : : }
1304 : : default:;
1305 : : }
1306 : : }
1307 : : break;
1308 : : }
1309 : : default:;
1310 : : }
1311 : : }
1312 : : break;
1313 : : }
1314 : : default:;
1315 : : }
1316 : : break;
1317 : : }
1318 : : default:;
1319 : : }
1320 : : break;
1321 : : }
1322 : : default:;
1323 : : }
1324 : : break;
1325 : : }
1326 : : default:;
1327 : : }
1328 : : break;
1329 : : }
1330 : : default:;
1331 : : }
1332 : : break;
1333 : : }
1334 : : default:;
1335 : : }
1336 : : break;
1337 : : }
1338 : : default:;
1339 : : }
1340 : : return false;
1341 : : }
1342 : :
1343 : : tree
1344 : 0 : generic_simplify_73 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1345 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
1346 : : {
1347 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1348 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail333;
1349 : 0 : {
1350 : 0 : tree res_op0;
1351 : 0 : res_op0 = captures[0];
1352 : 0 : tree res_op1;
1353 : 0 : {
1354 : 0 : tree _o1[1], _r1;
1355 : 0 : _o1[0] = captures[2];
1356 : 0 : _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
1357 : 0 : res_op1 = _r1;
1358 : : }
1359 : 0 : tree _r;
1360 : 0 : _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
1361 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 196, __FILE__, __LINE__, true);
1362 : : return _r;
1363 : : }
1364 : 0 : next_after_fail333:;
1365 : 0 : return NULL_TREE;
1366 : : }
1367 : :
1368 : : tree
1369 : 0 : generic_simplify_81 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1370 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1371 : : const enum tree_code ARG_UNUSED (op))
1372 : : {
1373 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1374 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail345;
1375 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail345;
1376 : 0 : {
1377 : 0 : tree _r;
1378 : 0 : _r = captures[0];
1379 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 202, __FILE__, __LINE__, true);
1380 : : return _r;
1381 : : }
1382 : : next_after_fail345:;
1383 : : return NULL_TREE;
1384 : : }
1385 : :
1386 : : tree
1387 : 251 : generic_simplify_89 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1388 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1389 : : const enum tree_code ARG_UNUSED (bitop))
1390 : : {
1391 : 251 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1392 : 251 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail353;
1393 : 251 : {
1394 : 251 : tree res_op0;
1395 : 251 : res_op0 = captures[0];
1396 : 251 : tree _r;
1397 : 251 : _r = non_lvalue_loc (loc, res_op0);
1398 : 251 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 208, __FILE__, __LINE__, true);
1399 : : return _r;
1400 : : }
1401 : 0 : next_after_fail353:;
1402 : 0 : return NULL_TREE;
1403 : : }
1404 : :
1405 : : tree
1406 : 390 : generic_simplify_96 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1407 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1408 : : const enum tree_code ARG_UNUSED (op),
1409 : : const enum tree_code ARG_UNUSED (rop))
1410 : : {
1411 : 390 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1412 : 390 : if (tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
1413 : 390 : && tree_nop_conversion_p (type, TREE_TYPE (captures[2]))
1414 : : )
1415 : : {
1416 : 390 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail360;
1417 : 390 : {
1418 : 390 : tree res_op0;
1419 : 390 : {
1420 : 390 : tree _o1[1], _r1;
1421 : 390 : _o1[0] = captures[0];
1422 : 390 : if (TREE_TYPE (_o1[0]) != type)
1423 : : {
1424 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
1425 : : }
1426 : : else
1427 : : _r1 = _o1[0];
1428 : 390 : res_op0 = _r1;
1429 : : }
1430 : 390 : tree res_op1;
1431 : 390 : {
1432 : 390 : tree _o1[2], _r1;
1433 : 390 : {
1434 : 390 : tree _o2[1], _r2;
1435 : 390 : _o2[0] = captures[1];
1436 : 390 : if (TREE_TYPE (_o2[0]) != type)
1437 : : {
1438 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, type, _o2[0]);
1439 : : }
1440 : : else
1441 : : _r2 = _o2[0];
1442 : 390 : _o1[0] = _r2;
1443 : : }
1444 : 390 : {
1445 : 390 : tree _o2[1], _r2;
1446 : 390 : _o2[0] = captures[2];
1447 : 390 : if (TREE_TYPE (_o2[0]) != type)
1448 : : {
1449 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, type, _o2[0]);
1450 : : }
1451 : : else
1452 : : _r2 = _o2[0];
1453 : 390 : _o1[1] = _r2;
1454 : : }
1455 : 390 : _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
1456 : 390 : res_op1 = _r1;
1457 : : }
1458 : 390 : tree _r;
1459 : 390 : _r = fold_build2_loc (loc, rop, type, res_op0, res_op1);
1460 : 390 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 214, __FILE__, __LINE__, true);
1461 : 390 : return _r;
1462 : : }
1463 : 0 : next_after_fail360:;
1464 : : }
1465 : : return NULL_TREE;
1466 : : }
1467 : :
1468 : : tree
1469 : 2 : generic_simplify_107 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1470 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1471 : : const enum tree_code ARG_UNUSED (bitop),
1472 : : const enum tree_code ARG_UNUSED (rbitop))
1473 : : {
1474 : 2 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1475 : 2 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail375;
1476 : 2 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail375;
1477 : 2 : {
1478 : 2 : tree _r;
1479 : 2 : _r = captures[2];
1480 : 2 : if (TREE_SIDE_EFFECTS (captures[1]))
1481 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1482 : 2 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 221, __FILE__, __LINE__, true);
1483 : : return _r;
1484 : : }
1485 : : next_after_fail375:;
1486 : : return NULL_TREE;
1487 : : }
1488 : :
1489 : : tree
1490 : 0 : generic_simplify_112 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1491 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1492 : : const enum tree_code ARG_UNUSED (bitop),
1493 : : const enum tree_code ARG_UNUSED (rbitop))
1494 : : {
1495 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1496 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail380;
1497 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail380;
1498 : 0 : {
1499 : 0 : tree res_op0;
1500 : 0 : res_op0 = captures[0];
1501 : 0 : tree res_op1;
1502 : 0 : res_op1 = captures[2];
1503 : 0 : tree _r;
1504 : 0 : _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
1505 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 222, __FILE__, __LINE__, true);
1506 : : return _r;
1507 : : }
1508 : : next_after_fail380:;
1509 : : return NULL_TREE;
1510 : : }
1511 : :
1512 : : tree
1513 : 599 : generic_simplify_119 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1514 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1515 : : const enum tree_code ARG_UNUSED (bitop))
1516 : : {
1517 : 599 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1518 : 599 : if (!CONSTANT_CLASS_P (captures[0])
1519 : : )
1520 : : {
1521 : 599 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail388;
1522 : 599 : {
1523 : 599 : tree res_op0;
1524 : 599 : res_op0 = captures[0];
1525 : 599 : tree res_op1;
1526 : 599 : {
1527 : 599 : tree _o1[2], _r1;
1528 : 599 : _o1[0] = captures[1];
1529 : 599 : _o1[1] = captures[2];
1530 : 599 : _r1 = fold_build2_loc (loc, bitop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
1531 : 599 : if (EXPR_P (_r1))
1532 : 0 : goto next_after_fail388;
1533 : 599 : res_op1 = _r1;
1534 : : }
1535 : 599 : tree _r;
1536 : 599 : _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
1537 : 599 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 229, __FILE__, __LINE__, true);
1538 : 599 : return _r;
1539 : : }
1540 : : next_after_fail388:;
1541 : : }
1542 : : else
1543 : : {
1544 : 0 : {
1545 : 0 : tree cst1 = const_binop (bitop, type, captures[0], captures[2]);
1546 : 0 : if (cst1
1547 : : )
1548 : : {
1549 : 0 : if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail389;
1550 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail389;
1551 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail389;
1552 : 0 : {
1553 : 0 : tree res_op0;
1554 : 0 : res_op0 = captures[1];
1555 : 0 : tree res_op1;
1556 : 0 : res_op1 = cst1;
1557 : 0 : tree _r;
1558 : 0 : _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
1559 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 230, __FILE__, __LINE__, true);
1560 : 0 : return _r;
1561 : : }
1562 : : next_after_fail389:;
1563 : : }
1564 : : else
1565 : : {
1566 : 0 : {
1567 : 0 : tree cst2 = const_binop (bitop, type, captures[1], captures[2]);
1568 : 0 : if (cst2
1569 : : )
1570 : : {
1571 : 0 : if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail390;
1572 : 0 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail390;
1573 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail390;
1574 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail390;
1575 : 0 : {
1576 : 0 : tree res_op0;
1577 : 0 : res_op0 = captures[0];
1578 : 0 : tree res_op1;
1579 : 0 : res_op1 = cst2;
1580 : 0 : tree _r;
1581 : 0 : _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
1582 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 231, __FILE__, __LINE__, true);
1583 : 0 : return _r;
1584 : : }
1585 : : next_after_fail390:;
1586 : : }
1587 : : }
1588 : : }
1589 : : }
1590 : : }
1591 : : return NULL_TREE;
1592 : : }
1593 : :
1594 : : tree
1595 : 0 : generic_simplify_134 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1596 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
1597 : : {
1598 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1599 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail427;
1600 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail427;
1601 : 0 : {
1602 : 0 : tree _r;
1603 : 0 : _r = constant_boolean_node (true, type);
1604 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
1605 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1606 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 260, __FILE__, __LINE__, true);
1607 : : return _r;
1608 : : }
1609 : : next_after_fail427:;
1610 : : return NULL_TREE;
1611 : : }
1612 : :
1613 : : tree
1614 : 148 : generic_simplify_138 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1615 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1616 : : const enum tree_code ARG_UNUSED (code2),
1617 : : const enum tree_code ARG_UNUSED (code1))
1618 : : {
1619 : 148 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1620 : 148 : if ((TREE_CODE (captures[2]) == INTEGER_CST
1621 : 124 : && TREE_CODE (captures[5]) == INTEGER_CST)
1622 : 148 : || ((INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
1623 : 1 : || (VECTOR_TYPE_P (TREE_TYPE (captures[2])))
1624 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[2])))
1625 : 24 : && bitwise_equal_p (captures[2], captures[5]))
1626 : : )
1627 : : {
1628 : 124 : {
1629 : 124 : bool one_before = false;
1630 : 124 : bool one_after = false;
1631 : 124 : int cmp = 0;
1632 : 124 : bool allbits = true;
1633 : 124 : if (TREE_CODE (captures[2]) == INTEGER_CST
1634 : 124 : && TREE_CODE (captures[5]) == INTEGER_CST)
1635 : : {
1636 : 124 : allbits = TYPE_PRECISION (TREE_TYPE (captures[2])) <= TYPE_PRECISION (TREE_TYPE (captures[5]));
1637 : 124 : auto t1 = wi::to_wide (fold_convert (TREE_TYPE (captures[5]), captures[2]));
1638 : 124 : auto t2 = wi::to_wide (captures[5]);
1639 : 124 : cmp = wi::cmp (t1, t2, TYPE_SIGN (TREE_TYPE (captures[5])));
1640 : 124 : if (cmp < 0
1641 : 124 : && t1 == t2 - 1)
1642 : : one_before = true;
1643 : 124 : if (cmp > 0
1644 : 124 : && t1 == t2 + 1)
1645 : : one_after = true;
1646 : : }
1647 : 124 : bool val;
1648 : 124 : switch (code2)
1649 : : {
1650 : 115 : case EQ_EXPR: val = (cmp == 0); break;
1651 : 0 : case NE_EXPR: val = (cmp != 0); break;
1652 : 0 : case LT_EXPR: val = (cmp < 0); break;
1653 : 9 : case GT_EXPR: val = (cmp > 0); break;
1654 : 0 : case LE_EXPR: val = (cmp <= 0); break;
1655 : 0 : case GE_EXPR: val = (cmp >= 0); break;
1656 : 0 : default: gcc_unreachable ();
1657 : : }
1658 : 124 : if (code1 == EQ_EXPR && val
1659 : : )
1660 : : {
1661 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail438;
1662 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail438;
1663 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail438;
1664 : 0 : {
1665 : 0 : tree _r;
1666 : 0 : _r = captures[3];
1667 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 244, __FILE__, __LINE__, true);
1668 : 0 : return _r;
1669 : : }
1670 : : next_after_fail438:;
1671 : : }
1672 : : else
1673 : : {
1674 : 124 : if (code1 == NE_EXPR && val && allbits
1675 : : )
1676 : : {
1677 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail439;
1678 : 0 : if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail439;
1679 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail439;
1680 : 0 : {
1681 : 0 : tree _r;
1682 : 0 : _r = constant_boolean_node (true, type);
1683 : 0 : if (TREE_SIDE_EFFECTS (captures[4]))
1684 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
1685 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 245, __FILE__, __LINE__, true);
1686 : 0 : return _r;
1687 : : }
1688 : : next_after_fail439:;
1689 : : }
1690 : : else
1691 : : {
1692 : 124 : if (code1 == NE_EXPR && !val && allbits
1693 : : )
1694 : : {
1695 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail440;
1696 : 0 : if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail440;
1697 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail440;
1698 : 0 : {
1699 : 0 : tree _r;
1700 : 0 : _r = captures[0];
1701 : 0 : if (TREE_SIDE_EFFECTS (captures[4]))
1702 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
1703 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 246, __FILE__, __LINE__, true);
1704 : 0 : return _r;
1705 : : }
1706 : : next_after_fail440:;
1707 : : }
1708 : : else
1709 : : {
1710 : 124 : if (code1 == EQ_EXPR
1711 : 124 : && code2 == GT_EXPR
1712 : 9 : && cmp == 0
1713 : 9 : && allbits
1714 : 124 : && ((VECTOR_BOOLEAN_TYPE_P (type)
1715 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, GE_EXPR))
1716 : 0 : || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
1717 : : )
1718 : : {
1719 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail441;
1720 : 0 : if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail441;
1721 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail441;
1722 : 0 : {
1723 : 0 : tree res_op0;
1724 : 0 : res_op0 = captures[4];
1725 : 0 : tree res_op1;
1726 : 0 : res_op1 = captures[5];
1727 : 0 : tree _r;
1728 : 0 : _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
1729 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 247, __FILE__, __LINE__, true);
1730 : 0 : return _r;
1731 : : }
1732 : : next_after_fail441:;
1733 : : }
1734 : : else
1735 : : {
1736 : 124 : if (code1 == EQ_EXPR
1737 : 124 : && code2 == LT_EXPR
1738 : 0 : && cmp == 0
1739 : 0 : && allbits
1740 : 124 : && ((VECTOR_BOOLEAN_TYPE_P (type)
1741 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, LE_EXPR))
1742 : 0 : || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
1743 : : )
1744 : : {
1745 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail442;
1746 : 0 : if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail442;
1747 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail442;
1748 : 0 : {
1749 : 0 : tree res_op0;
1750 : 0 : res_op0 = captures[4];
1751 : 0 : tree res_op1;
1752 : 0 : res_op1 = captures[5];
1753 : 0 : tree _r;
1754 : 0 : _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
1755 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 248, __FILE__, __LINE__, true);
1756 : 0 : return _r;
1757 : : }
1758 : : next_after_fail442:;
1759 : : }
1760 : : else
1761 : : {
1762 : 124 : if (code1 == EQ_EXPR
1763 : 124 : && code2 == GE_EXPR
1764 : : && one_before
1765 : 0 : && allbits
1766 : 124 : && ((VECTOR_BOOLEAN_TYPE_P (type)
1767 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, GE_EXPR))
1768 : 0 : || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
1769 : : )
1770 : : {
1771 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail443;
1772 : 0 : if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail443;
1773 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail443;
1774 : 0 : {
1775 : 0 : tree res_op0;
1776 : 0 : res_op0 = captures[4];
1777 : 0 : tree res_op1;
1778 : 0 : {
1779 : 0 : tree _o1[1], _r1;
1780 : 0 : _o1[0] = captures[2];
1781 : 0 : if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
1782 : : {
1783 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
1784 : : }
1785 : : else
1786 : : _r1 = _o1[0];
1787 : 0 : res_op1 = _r1;
1788 : : }
1789 : 0 : tree _r;
1790 : 0 : _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
1791 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 249, __FILE__, __LINE__, true);
1792 : 0 : return _r;
1793 : : }
1794 : : next_after_fail443:;
1795 : : }
1796 : : else
1797 : : {
1798 : 124 : if (code1 == EQ_EXPR
1799 : 124 : && code2 == LE_EXPR
1800 : : && one_after
1801 : 0 : && allbits
1802 : 124 : && ((VECTOR_BOOLEAN_TYPE_P (type)
1803 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, LE_EXPR))
1804 : 0 : || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
1805 : : )
1806 : : {
1807 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail444;
1808 : 0 : if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail444;
1809 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail444;
1810 : 0 : {
1811 : 0 : tree res_op0;
1812 : 0 : res_op0 = captures[4];
1813 : 0 : tree res_op1;
1814 : 0 : {
1815 : 0 : tree _o1[1], _r1;
1816 : 0 : _o1[0] = captures[2];
1817 : 0 : if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
1818 : : {
1819 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
1820 : : }
1821 : : else
1822 : : _r1 = _o1[0];
1823 : 0 : res_op1 = _r1;
1824 : : }
1825 : 0 : tree _r;
1826 : 0 : _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
1827 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 250, __FILE__, __LINE__, true);
1828 : 0 : return _r;
1829 : : }
1830 : : next_after_fail444:;
1831 : : }
1832 : : }
1833 : : }
1834 : : }
1835 : : }
1836 : : }
1837 : : }
1838 : : }
1839 : : }
1840 : : return NULL_TREE;
1841 : : }
1842 : :
1843 : : tree
1844 : 4 : generic_simplify_175 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1845 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1846 : : const combined_fn ARG_UNUSED (COPYSIGN_ALL))
1847 : : {
1848 : 4 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1849 : 4 : if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
1850 : : )
1851 : : {
1852 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail484;
1853 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail484;
1854 : 0 : {
1855 : 0 : tree res_op0;
1856 : 0 : res_op0 = captures[0];
1857 : 0 : tree _r;
1858 : 0 : _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
1859 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 292, __FILE__, __LINE__, true);
1860 : 0 : return _r;
1861 : : }
1862 : : next_after_fail484:;
1863 : : }
1864 : : return NULL_TREE;
1865 : : }
1866 : :
1867 : : tree
1868 : 0 : generic_simplify_182 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1869 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
1870 : : {
1871 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1872 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail491;
1873 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail491;
1874 : 0 : {
1875 : 0 : tree _r;
1876 : 0 : _r = build_zero_cst (type);
1877 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 297, __FILE__, __LINE__, true);
1878 : : return _r;
1879 : : }
1880 : : next_after_fail491:;
1881 : : return NULL_TREE;
1882 : : }
1883 : :
1884 : : tree
1885 : 11 : generic_simplify_188 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1886 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
1887 : : {
1888 : 11 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1889 : 11 : if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
1890 : 11 : && wi::ltu_p (wi::to_widest (captures[1]), TYPE_PRECISION (type))
1891 : : )
1892 : : {
1893 : 11 : {
1894 : 11 : unsigned int shift = tree_to_uhwi (captures[1]);
1895 : 11 : unsigned int prec = TYPE_PRECISION (type);
1896 : 11 : if ((prec <= TYPE_PRECISION (TREE_TYPE (captures[2])) + shift
1897 : 0 : || tree_int_cst_sgn (captures[2]) >= 0)
1898 : 22 : && wi::to_wide (captures[3]) == wi::set_bit_in_zero (shift, prec)
1899 : : )
1900 : : {
1901 : 3 : {
1902 : 3 : auto mask = wide_int::from (wi::to_wide (captures[2]), prec, UNSIGNED);
1903 : 3 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail499;
1904 : 3 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail499;
1905 : 3 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail499;
1906 : 3 : {
1907 : 3 : tree res_op0;
1908 : 3 : {
1909 : 3 : tree _o1[1], _r1;
1910 : 3 : _o1[0] = captures[0];
1911 : 3 : if (TREE_TYPE (_o1[0]) != type)
1912 : : {
1913 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
1914 : : }
1915 : : else
1916 : : _r1 = _o1[0];
1917 : 3 : res_op0 = _r1;
1918 : : }
1919 : 3 : tree res_op1;
1920 : 3 : res_op1 = wide_int_to_tree (type, mask << shift);
1921 : 3 : tree _r;
1922 : 3 : _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
1923 : 3 : if (TREE_SIDE_EFFECTS (captures[3]))
1924 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
1925 : 3 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 302, __FILE__, __LINE__, true);
1926 : 3 : return _r;
1927 : : }
1928 : 0 : next_after_fail499:;
1929 : 3 : }
1930 : : }
1931 : : }
1932 : : }
1933 : : return NULL_TREE;
1934 : : }
1935 : :
1936 : : tree
1937 : 6590 : generic_simplify_201 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1938 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1939 : : const enum tree_code ARG_UNUSED (cmp),
1940 : : const enum tree_code ARG_UNUSED (mod))
1941 : : {
1942 : 6590 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1943 : 6590 : if (!TYPE_UNSIGNED (TREE_TYPE (captures[0]))
1944 : : )
1945 : : {
1946 : 6590 : {
1947 : 6590 : tree utype = unsigned_type_for (TREE_TYPE (captures[0]));
1948 : 6590 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail513;
1949 : 6590 : {
1950 : 6590 : tree res_op0;
1951 : 6590 : {
1952 : 6590 : tree _o1[2], _r1;
1953 : 6590 : {
1954 : 6590 : tree _o2[1], _r2;
1955 : 6590 : _o2[0] = captures[0];
1956 : 6590 : if (TREE_TYPE (_o2[0]) != utype)
1957 : : {
1958 : 6590 : _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
1959 : : }
1960 : : else
1961 : : _r2 = _o2[0];
1962 : 6590 : _o1[0] = _r2;
1963 : : }
1964 : 6590 : {
1965 : 6590 : tree _o2[1], _r2;
1966 : 6590 : _o2[0] = captures[1];
1967 : 6590 : if (TREE_TYPE (_o2[0]) != utype)
1968 : : {
1969 : 6590 : _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
1970 : : }
1971 : : else
1972 : : _r2 = _o2[0];
1973 : 6590 : _o1[1] = _r2;
1974 : : }
1975 : 6590 : _r1 = fold_build2_loc (loc, mod, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
1976 : 6590 : res_op0 = _r1;
1977 : : }
1978 : 6590 : tree res_op1;
1979 : 6590 : {
1980 : 6590 : tree _o1[1], _r1;
1981 : 6590 : _o1[0] = captures[2];
1982 : 6590 : if (TREE_TYPE (_o1[0]) != utype)
1983 : : {
1984 : 6590 : _r1 = fold_build1_loc (loc, NOP_EXPR, utype, _o1[0]);
1985 : : }
1986 : : else
1987 : : _r1 = _o1[0];
1988 : 6590 : res_op1 = _r1;
1989 : : }
1990 : 6590 : tree _r;
1991 : 6590 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1992 : 6590 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 316, __FILE__, __LINE__, true);
1993 : 6590 : return _r;
1994 : : }
1995 : 0 : next_after_fail513:;
1996 : : }
1997 : : }
1998 : : return NULL_TREE;
1999 : : }
2000 : :
2001 : : tree
2002 : 43 : generic_simplify_213 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2003 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2004 : : const enum tree_code ARG_UNUSED (op))
2005 : : {
2006 : 43 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2007 : 43 : if (!TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[2]))
2008 : : )
2009 : : {
2010 : 43 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail541;
2011 : 43 : {
2012 : 43 : tree res_op0;
2013 : 43 : res_op0 = captures[1];
2014 : 43 : tree res_op1;
2015 : 43 : res_op1 = captures[3];
2016 : 43 : tree _r;
2017 : 43 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
2018 : 43 : if (TREE_SIDE_EFFECTS (captures[2]))
2019 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
2020 : 43 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 343, __FILE__, __LINE__, true);
2021 : 43 : return _r;
2022 : : }
2023 : 0 : next_after_fail541:;
2024 : : }
2025 : : return NULL_TREE;
2026 : : }
2027 : :
2028 : : tree
2029 : 3 : generic_simplify_219 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2030 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2031 : : const enum tree_code ARG_UNUSED (cmp))
2032 : : {
2033 : 3 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2034 : 3 : if (TREE_INT_CST_LOW (captures[1]) & 1
2035 : : )
2036 : : {
2037 : 2 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail547;
2038 : 2 : {
2039 : 2 : tree _r;
2040 : 2 : _r = constant_boolean_node (cmp == NE_EXPR, type);
2041 : 2 : if (TREE_SIDE_EFFECTS (captures[0]))
2042 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
2043 : 2 : if (TREE_SIDE_EFFECTS (captures[1]))
2044 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2045 : 2 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 348, __FILE__, __LINE__, true);
2046 : 2 : return _r;
2047 : : }
2048 : 0 : next_after_fail547:;
2049 : : }
2050 : : return NULL_TREE;
2051 : : }
2052 : :
2053 : : tree
2054 : 725 : generic_simplify_224 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2055 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2056 : : const enum tree_code ARG_UNUSED (cmp))
2057 : : {
2058 : 725 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2059 : 725 : if (wi::gt_p (wi::to_wide (captures[1]), wi::to_wide (captures[2]),
2060 : 725 : TYPE_SIGN (TREE_TYPE (captures[0])))
2061 : : )
2062 : : {
2063 : 42 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail553;
2064 : 42 : {
2065 : 42 : tree _r;
2066 : 42 : _r = constant_boolean_node (cmp == NE_EXPR, type);
2067 : 42 : if (TREE_SIDE_EFFECTS (captures[0]))
2068 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
2069 : 42 : if (TREE_SIDE_EFFECTS (captures[1]))
2070 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2071 : 42 : if (TREE_SIDE_EFFECTS (captures[2]))
2072 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
2073 : 42 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 354, __FILE__, __LINE__, true);
2074 : 42 : return _r;
2075 : : }
2076 : 0 : next_after_fail553:;
2077 : : }
2078 : : else
2079 : : {
2080 : 683 : if (wi::lt_p (wi::to_wide (captures[1]), wi::to_wide (captures[2]),
2081 : 683 : TYPE_SIGN (TREE_TYPE (captures[0])))
2082 : : )
2083 : : {
2084 : 683 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail554;
2085 : 683 : {
2086 : 683 : tree res_op0;
2087 : 683 : res_op0 = captures[0];
2088 : 683 : tree res_op1;
2089 : 683 : res_op1 = captures[2];
2090 : 683 : tree _r;
2091 : 683 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2092 : 683 : if (TREE_SIDE_EFFECTS (captures[1]))
2093 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2094 : 683 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 355, __FILE__, __LINE__, true);
2095 : 683 : return _r;
2096 : : }
2097 : 0 : next_after_fail554:;
2098 : : }
2099 : : }
2100 : : return NULL_TREE;
2101 : : }
2102 : :
2103 : : tree
2104 : 391 : generic_simplify_234 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2105 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2106 : : const enum tree_code ARG_UNUSED (rotate),
2107 : : const enum tree_code ARG_UNUSED (invrot),
2108 : : const enum tree_code ARG_UNUSED (cmp))
2109 : : {
2110 : 391 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2111 : 391 : if (integer_zerop (captures[2]) || integer_all_onesp (captures[2])
2112 : : )
2113 : : {
2114 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail574;
2115 : 0 : {
2116 : 0 : tree res_op0;
2117 : 0 : res_op0 = captures[0];
2118 : 0 : tree res_op1;
2119 : 0 : res_op1 = captures[2];
2120 : 0 : tree _r;
2121 : 0 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2122 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
2123 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2124 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 375, __FILE__, __LINE__, true);
2125 : 0 : return _r;
2126 : : }
2127 : 0 : next_after_fail574:;
2128 : : }
2129 : : return NULL_TREE;
2130 : : }
2131 : :
2132 : : tree
2133 : 64910 : generic_simplify_240 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2134 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2135 : : const enum tree_code ARG_UNUSED (cmp))
2136 : : {
2137 : 64910 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2138 : 64910 : if (single_use (captures[0])
2139 : : )
2140 : : {
2141 : 64910 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail581;
2142 : 64910 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail581;
2143 : 64910 : {
2144 : 64910 : tree res_op0;
2145 : 64910 : res_op0 = captures[1];
2146 : 64910 : tree res_op1;
2147 : 64910 : res_op1 = captures[2];
2148 : 64910 : tree _r;
2149 : 64910 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2150 : 64910 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 382, __FILE__, __LINE__, true);
2151 : 64910 : return _r;
2152 : : }
2153 : : next_after_fail581:;
2154 : : }
2155 : : return NULL_TREE;
2156 : : }
2157 : :
2158 : : tree
2159 : 117960 : generic_simplify_244 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2160 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2161 : : const enum tree_code ARG_UNUSED (cmp))
2162 : : {
2163 : 117960 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2164 : 233305 : if (! FLOAT_TYPE_P (TREE_TYPE (captures[0]))
2165 : 117997 : || ! tree_expr_maybe_nan_p (captures[0])
2166 : : )
2167 : : {
2168 : 115382 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail589;
2169 : 115382 : {
2170 : 115382 : tree _r;
2171 : 115382 : _r = constant_boolean_node (true, type);
2172 : 115382 : if (TREE_SIDE_EFFECTS (captures[0]))
2173 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
2174 : 115382 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 389, __FILE__, __LINE__, true);
2175 : 115382 : return _r;
2176 : : }
2177 : 0 : next_after_fail589:;
2178 : : }
2179 : : else
2180 : : {
2181 : 2578 : if (cmp != EQ_EXPR
2182 : 2578 : && (! FLOAT_TYPE_P (TREE_TYPE (captures[0]))
2183 : 81 : || ! flag_trapping_math)
2184 : : )
2185 : : {
2186 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail590;
2187 : 0 : {
2188 : 0 : tree res_op0;
2189 : 0 : res_op0 = unshare_expr (captures[0]);
2190 : 0 : tree res_op1;
2191 : 0 : res_op1 = captures[0];
2192 : 0 : tree _r;
2193 : 0 : _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
2194 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 390, __FILE__, __LINE__, true);
2195 : 0 : return _r;
2196 : : }
2197 : 0 : next_after_fail590:;
2198 : : }
2199 : : }
2200 : : return NULL_TREE;
2201 : : }
2202 : :
2203 : : tree
2204 : 8897 : generic_simplify_250 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2205 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2206 : : const enum tree_code ARG_UNUSED (op),
2207 : : const enum tree_code ARG_UNUSED (cmp))
2208 : : {
2209 : 8897 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2210 : 8897 : if (flag_unsafe_math_optimizations
2211 : : )
2212 : : {
2213 : 5 : {
2214 : 8 : tree tem = const_binop (op == PLUS_EXPR ? MINUS_EXPR : PLUS_EXPR,
2215 : 5 : TREE_TYPE (captures[1]), captures[2], captures[1]);
2216 : 5 : if (tem && !TREE_OVERFLOW (tem)
2217 : : )
2218 : : {
2219 : 4 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail610;
2220 : 4 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail610;
2221 : 4 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail610;
2222 : 4 : {
2223 : 4 : tree res_op0;
2224 : 4 : res_op0 = captures[0];
2225 : 4 : tree res_op1;
2226 : 4 : res_op1 = tem;
2227 : 4 : tree _r;
2228 : 4 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2229 : 4 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 409, __FILE__, __LINE__, true);
2230 : 4 : return _r;
2231 : : }
2232 : : next_after_fail610:;
2233 : : }
2234 : : }
2235 : : }
2236 : : return NULL_TREE;
2237 : : }
2238 : :
2239 : : tree
2240 : 69 : generic_simplify_256 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2241 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2242 : : const enum tree_code ARG_UNUSED (cmp))
2243 : : {
2244 : 69 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2245 : 69 : if (!integer_zerop (captures[1])
2246 : : )
2247 : : {
2248 : 69 : if (wi::to_wide (captures[2]) == 0
2249 : : )
2250 : : {
2251 : 22 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail641;
2252 : 22 : {
2253 : 22 : tree res_op0;
2254 : 22 : res_op0 = captures[0];
2255 : 22 : tree res_op1;
2256 : 22 : res_op1 = captures[2];
2257 : 22 : tree _r;
2258 : 22 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2259 : 22 : if (TREE_SIDE_EFFECTS (captures[1]))
2260 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2261 : 22 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 440, __FILE__, __LINE__, true);
2262 : 22 : return _r;
2263 : : }
2264 : 0 : next_after_fail641:;
2265 : : }
2266 : : else
2267 : : {
2268 : 47 : if (TREE_CODE (captures[1]) == INTEGER_CST
2269 : : )
2270 : : {
2271 : 47 : {
2272 : 47 : wi::overflow_type ovf;
2273 : 47 : wide_int prod = wi::mul (wi::to_wide (captures[2]), wi::to_wide (captures[1]),
2274 : 94 : TYPE_SIGN (TREE_TYPE (captures[1])), &ovf);
2275 : 47 : if (ovf
2276 : : )
2277 : : {
2278 : 0 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail642;
2279 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail642;
2280 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail642;
2281 : 0 : {
2282 : 0 : tree _r;
2283 : 0 : _r = constant_boolean_node (cmp == NE_EXPR, type);
2284 : 0 : if (TREE_SIDE_EFFECTS (captures[0]))
2285 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
2286 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 441, __FILE__, __LINE__, true);
2287 : 0 : return _r;
2288 : : }
2289 : 0 : next_after_fail642:;
2290 : : }
2291 : : else
2292 : : {
2293 : 47 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail643;
2294 : 47 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail643;
2295 : 47 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail643;
2296 : 47 : {
2297 : 47 : tree res_op0;
2298 : 47 : res_op0 = captures[0];
2299 : 47 : tree res_op1;
2300 : 47 : res_op1 = wide_int_to_tree (TREE_TYPE (captures[0]), prod);
2301 : 47 : tree _r;
2302 : 47 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2303 : 47 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 442, __FILE__, __LINE__, true);
2304 : 47 : return _r;
2305 : : }
2306 : 0 : next_after_fail643:;
2307 : : }
2308 : 47 : }
2309 : : }
2310 : : }
2311 : : }
2312 : : return NULL_TREE;
2313 : : }
2314 : :
2315 : : tree
2316 : 7525 : generic_simplify_263 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2317 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2318 : : const enum tree_code ARG_UNUSED (cmp))
2319 : : {
2320 : 7525 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2321 : 7525 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail665;
2322 : 7525 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail665;
2323 : 7525 : {
2324 : 7525 : tree res_op0;
2325 : 7525 : res_op0 = captures[0];
2326 : 7525 : tree res_op1;
2327 : 7525 : res_op1 = captures[1];
2328 : 7525 : tree _r;
2329 : 7525 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2330 : 7525 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 457, __FILE__, __LINE__, true);
2331 : : return _r;
2332 : : }
2333 : : next_after_fail665:;
2334 : : return NULL_TREE;
2335 : : }
2336 : :
2337 : : tree
2338 : 154520 : generic_simplify_265 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2339 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2340 : : const enum tree_code ARG_UNUSED (cmp))
2341 : : {
2342 : 154520 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2343 : 154520 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail667;
2344 : 154520 : {
2345 : 154520 : tree res_op0;
2346 : 154520 : {
2347 : 154520 : tree _o1[2], _r1;
2348 : 154520 : _o1[0] = captures[0];
2349 : 154520 : {
2350 : 154520 : tree _o2[1], _r2;
2351 : 154520 : _o2[0] = captures[1];
2352 : 154520 : _r2 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
2353 : 154520 : if (EXPR_P (_r2))
2354 : 154491 : goto next_after_fail667;
2355 : 29 : _o1[1] = _r2;
2356 : : }
2357 : 29 : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2358 : 29 : res_op0 = _r1;
2359 : : }
2360 : 29 : tree res_op1;
2361 : 29 : res_op1 = build_zero_cst (TREE_TYPE (captures[0]));
2362 : 29 : tree _r;
2363 : 29 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2364 : 29 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 459, __FILE__, __LINE__, true);
2365 : : return _r;
2366 : : }
2367 : : next_after_fail667:;
2368 : : return NULL_TREE;
2369 : : }
2370 : :
2371 : : tree
2372 : 26 : generic_simplify_268 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2373 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2374 : : const enum tree_code ARG_UNUSED (cmp))
2375 : : {
2376 : 26 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2377 : 26 : if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
2378 : : )
2379 : : {
2380 : 26 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail670;
2381 : 26 : {
2382 : 26 : tree res_op0;
2383 : 26 : res_op0 = captures[1];
2384 : 26 : tree res_op1;
2385 : 26 : {
2386 : 26 : tree _o1[2], _r1;
2387 : 26 : _o1[0] = captures[2];
2388 : 26 : {
2389 : 26 : tree _o2[1], _r2;
2390 : 26 : _o2[0] = captures[3];
2391 : 26 : if (TREE_TYPE (_o2[0]) != TREE_TYPE (res_op0))
2392 : : {
2393 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o2[0]);
2394 : : }
2395 : : else
2396 : : _r2 = _o2[0];
2397 : 26 : _o1[1] = _r2;
2398 : : }
2399 : 26 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2400 : 26 : res_op1 = _r1;
2401 : : }
2402 : 26 : tree _r;
2403 : 26 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2404 : 26 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 462, __FILE__, __LINE__, true);
2405 : 26 : return _r;
2406 : : }
2407 : 0 : next_after_fail670:;
2408 : : }
2409 : : return NULL_TREE;
2410 : : }
2411 : :
2412 : : tree
2413 : 88 : generic_simplify_274 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2414 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2415 : : const enum tree_code ARG_UNUSED (sgncmp),
2416 : : const enum tree_code ARG_UNUSED (cmp),
2417 : : const enum tree_code ARG_UNUSED (ncmp))
2418 : : {
2419 : 88 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2420 : 176 : if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
2421 : 88 : && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
2422 : 176 : && types_match (captures[0], captures[2])
2423 : : )
2424 : : {
2425 : 88 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail676;
2426 : 88 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail676;
2427 : 88 : {
2428 : 88 : tree res_op0;
2429 : 88 : {
2430 : 88 : tree _o1[2], _r1;
2431 : 88 : _o1[0] = captures[0];
2432 : 88 : _o1[1] = captures[2];
2433 : 88 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2434 : 88 : res_op0 = _r1;
2435 : : }
2436 : 88 : tree res_op1;
2437 : 88 : res_op1 = captures[1];
2438 : 88 : tree _r;
2439 : 88 : _r = fold_build2_loc (loc, ncmp, type, res_op0, res_op1);
2440 : 88 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 467, __FILE__, __LINE__, true);
2441 : 88 : return _r;
2442 : : }
2443 : : next_after_fail676:;
2444 : : }
2445 : : return NULL_TREE;
2446 : : }
2447 : :
2448 : : tree
2449 : 1076383 : generic_simplify_277 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2450 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2451 : : const enum tree_code ARG_UNUSED (cmp))
2452 : : {
2453 : 1076383 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2454 : 1076383 : {
2455 : 1076383 : poly_int64 off0, off1;
2456 : 1076383 : tree base0, base1;
2457 : 1076383 : int equal = address_compare (cmp, TREE_TYPE (captures[0]), captures[1], captures[2], base0, base1,
2458 : : off0, off1,
2459 : : 1
2460 : : );
2461 : 1076383 : if (equal == 1
2462 : : )
2463 : : {
2464 : 1045340 : if (cmp == EQ_EXPR && (known_eq (off0, off1) || known_ne (off0, off1))
2465 : : )
2466 : : {
2467 : 154528 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail679;
2468 : 154528 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail679;
2469 : 154528 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail679;
2470 : 154528 : {
2471 : 154528 : tree _r;
2472 : 154528 : _r = constant_boolean_node (known_eq (off0, off1), type);
2473 : 154528 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 469, __FILE__, __LINE__, true);
2474 : 1059787 : return _r;
2475 : : }
2476 : 16596 : next_after_fail679:;
2477 : : }
2478 : : else
2479 : : {
2480 : 835390 : if (cmp == NE_EXPR && (known_eq (off0, off1) || known_ne (off0, off1))
2481 : : )
2482 : : {
2483 : 835390 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail680;
2484 : 835390 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail680;
2485 : 835390 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail680;
2486 : 835390 : {
2487 : 835390 : tree _r;
2488 : 835390 : _r = constant_boolean_node (known_ne (off0, off1), type);
2489 : 835390 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 470, __FILE__, __LINE__, true);
2490 : 835390 : return _r;
2491 : : }
2492 : 16596 : next_after_fail680:;
2493 : : }
2494 : : else
2495 : : {
2496 : 50134 : if (cmp == LT_EXPR && (known_lt (off0, off1) || known_ge (off0, off1))
2497 : : )
2498 : : {
2499 : 50134 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail681;
2500 : 50134 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail681;
2501 : 50134 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail681;
2502 : 50134 : {
2503 : 50134 : tree _r;
2504 : 50134 : _r = constant_boolean_node (known_lt (off0, off1), type);
2505 : 50134 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 471, __FILE__, __LINE__, true);
2506 : 50134 : return _r;
2507 : : }
2508 : 16596 : next_after_fail681:;
2509 : : }
2510 : : else
2511 : : {
2512 : 4591 : if (cmp == LE_EXPR && (known_le (off0, off1) || known_gt (off0, off1))
2513 : : )
2514 : : {
2515 : 4591 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail682;
2516 : 4591 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail682;
2517 : 4591 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail682;
2518 : 4591 : {
2519 : 4591 : tree _r;
2520 : 4591 : _r = constant_boolean_node (known_le (off0, off1), type);
2521 : 4591 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 472, __FILE__, __LINE__, true);
2522 : 4591 : return _r;
2523 : : }
2524 : 16596 : next_after_fail682:;
2525 : : }
2526 : : else
2527 : : {
2528 : 630 : if (cmp == GE_EXPR && (known_ge (off0, off1) || known_lt (off0, off1))
2529 : : )
2530 : : {
2531 : 630 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail683;
2532 : 630 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail683;
2533 : 630 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail683;
2534 : 630 : {
2535 : 630 : tree _r;
2536 : 630 : _r = constant_boolean_node (known_ge (off0, off1), type);
2537 : 630 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 473, __FILE__, __LINE__, true);
2538 : 630 : return _r;
2539 : : }
2540 : 16596 : next_after_fail683:;
2541 : : }
2542 : : else
2543 : : {
2544 : 67 : if (cmp == GT_EXPR && (known_gt (off0, off1) || known_le (off0, off1))
2545 : : )
2546 : : {
2547 : 67 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail684;
2548 : 67 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail684;
2549 : 67 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail684;
2550 : 67 : {
2551 : 67 : tree _r;
2552 : 67 : _r = constant_boolean_node (known_gt (off0, off1), type);
2553 : 67 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 474, __FILE__, __LINE__, true);
2554 : 67 : return _r;
2555 : : }
2556 : 16596 : next_after_fail684:;
2557 : : }
2558 : : }
2559 : : }
2560 : : }
2561 : : }
2562 : : }
2563 : : }
2564 : : else
2565 : : {
2566 : 31043 : if (equal == 0
2567 : : )
2568 : : {
2569 : 14447 : if (cmp == EQ_EXPR
2570 : : )
2571 : : {
2572 : 8838 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail685;
2573 : 8838 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail685;
2574 : 8838 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail685;
2575 : 8838 : {
2576 : 8838 : tree _r;
2577 : 8838 : _r = constant_boolean_node (false, type);
2578 : 8838 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 475, __FILE__, __LINE__, true);
2579 : 8838 : return _r;
2580 : : }
2581 : 16596 : next_after_fail685:;
2582 : : }
2583 : : else
2584 : : {
2585 : 5609 : if (cmp == NE_EXPR
2586 : : )
2587 : : {
2588 : 5609 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail686;
2589 : 5609 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail686;
2590 : 5609 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail686;
2591 : 5609 : {
2592 : 5609 : tree _r;
2593 : 5609 : _r = constant_boolean_node (true, type);
2594 : 5609 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 476, __FILE__, __LINE__, true);
2595 : 5609 : return _r;
2596 : : }
2597 : 16596 : next_after_fail686:;
2598 : : }
2599 : : }
2600 : : }
2601 : : }
2602 : : }
2603 : 16596 : return NULL_TREE;
2604 : : }
2605 : :
2606 : : tree
2607 : 17 : generic_simplify_290 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2608 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2609 : : const enum tree_code ARG_UNUSED (cmp),
2610 : : const combined_fn ARG_UNUSED (ffs))
2611 : : {
2612 : 17 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2613 : 17 : {
2614 : 17 : int prec = TYPE_PRECISION (TREE_TYPE (captures[1]));
2615 : 17 : if (integer_zerop (captures[2])
2616 : : )
2617 : : {
2618 : 9 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail723;
2619 : 9 : {
2620 : 9 : tree res_op0;
2621 : 9 : res_op0 = captures[1];
2622 : 9 : tree res_op1;
2623 : 9 : res_op1 = build_zero_cst (TREE_TYPE (captures[1]));
2624 : 9 : tree _r;
2625 : 9 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2626 : 9 : if (TREE_SIDE_EFFECTS (captures[2]))
2627 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
2628 : 9 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 505, __FILE__, __LINE__, true);
2629 : 17 : return _r;
2630 : : }
2631 : 0 : next_after_fail723:;
2632 : : }
2633 : : else
2634 : : {
2635 : 8 : if (tree_int_cst_sgn (captures[2]) < 0 || wi::to_widest (captures[2]) > prec
2636 : : )
2637 : : {
2638 : 4 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail724;
2639 : 4 : {
2640 : 4 : tree _r;
2641 : 4 : _r = constant_boolean_node (cmp == NE_EXPR ? true : false, type);
2642 : 4 : if (TREE_SIDE_EFFECTS (captures[1]))
2643 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2644 : 4 : if (TREE_SIDE_EFFECTS (captures[2]))
2645 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
2646 : 4 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 506, __FILE__, __LINE__, true);
2647 : 4 : return _r;
2648 : : }
2649 : 0 : next_after_fail724:;
2650 : : }
2651 : : else
2652 : : {
2653 : 4 : if (single_use (captures[0])
2654 : : )
2655 : : {
2656 : 4 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail725;
2657 : 4 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail725;
2658 : 4 : {
2659 : 4 : tree res_op0;
2660 : 4 : {
2661 : 4 : tree _o1[2], _r1;
2662 : 4 : _o1[0] = captures[1];
2663 : 4 : _o1[1] = wide_int_to_tree (TREE_TYPE (captures[1]),
2664 : 4 : wi::mask (tree_to_uhwi (captures[2]),
2665 : : false, prec));
2666 : 4 : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2667 : 4 : res_op0 = _r1;
2668 : : }
2669 : 4 : tree res_op1;
2670 : 4 : res_op1 = wide_int_to_tree (TREE_TYPE (captures[1]),
2671 : 4 : wi::shifted_mask (tree_to_uhwi (captures[2]) - 1, 1,
2672 : : false, prec));
2673 : 4 : tree _r;
2674 : 4 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2675 : 4 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 507, __FILE__, __LINE__, true);
2676 : 4 : return _r;
2677 : : }
2678 : 0 : next_after_fail725:;
2679 : : }
2680 : : }
2681 : : }
2682 : : }
2683 : 0 : return NULL_TREE;
2684 : : }
2685 : :
2686 : : tree
2687 : 893 : generic_simplify_306 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2688 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2689 : : const enum tree_code ARG_UNUSED (div))
2690 : : {
2691 : 893 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2692 : 1786 : if (!ALL_FRACT_MODE_P (TYPE_MODE (type))
2693 : 893 : && !integer_zerop (captures[0])
2694 : 1160 : && (!flag_non_call_exceptions || tree_expr_nonzero_p (captures[0]))
2695 : : )
2696 : : {
2697 : 111 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail744;
2698 : 111 : {
2699 : 111 : tree _r;
2700 : 111 : _r = build_one_cst (type);
2701 : 111 : if (TREE_SIDE_EFFECTS (captures[0]))
2702 : 2 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
2703 : 111 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 524, __FILE__, __LINE__, true);
2704 : 111 : return _r;
2705 : : }
2706 : 0 : next_after_fail744:;
2707 : : }
2708 : : return NULL_TREE;
2709 : : }
2710 : :
2711 : : tree
2712 : 22309 : generic_simplify_311 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2713 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2714 : : const enum tree_code ARG_UNUSED (div))
2715 : : {
2716 : 22309 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2717 : 22309 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[0]))
2718 : : )
2719 : : {
2720 : 22183 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail750;
2721 : 22183 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail750;
2722 : 22183 : {
2723 : 22183 : tree res_op0;
2724 : 22183 : res_op0 = captures[0];
2725 : 22183 : tree res_op1;
2726 : 22183 : res_op1 = wide_int_to_tree
2727 : 44366 : (type, wi::mask (TYPE_PRECISION (type)
2728 : 22183 : - wi::exact_log2 (wi::to_wide (captures[1])),
2729 : 22183 : false, TYPE_PRECISION (type)));
2730 : 22183 : tree _r;
2731 : 22183 : _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
2732 : 22183 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 530, __FILE__, __LINE__, true);
2733 : 22183 : return _r;
2734 : : }
2735 : : next_after_fail750:;
2736 : : }
2737 : : return NULL_TREE;
2738 : : }
2739 : :
2740 : : tree
2741 : 915 : generic_simplify_315 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2742 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2743 : : const enum tree_code ARG_UNUSED (mod))
2744 : : {
2745 : 915 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2746 : 915 : if (!integer_zerop (captures[1])
2747 : : )
2748 : : {
2749 : 785 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail754;
2750 : 785 : {
2751 : 785 : tree _r;
2752 : 785 : _r = captures[0];
2753 : 785 : if (TREE_SIDE_EFFECTS (captures[1]))
2754 : 74 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2755 : 785 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 534, __FILE__, __LINE__, true);
2756 : 785 : return _r;
2757 : : }
2758 : 0 : next_after_fail754:;
2759 : : }
2760 : : return NULL_TREE;
2761 : : }
2762 : :
2763 : : tree
2764 : 0 : generic_simplify_323 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2765 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
2766 : : {
2767 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2768 : 0 : if (SCALAR_FLOAT_TYPE_P (type)
2769 : 0 : && ! HONOR_NANS (type)
2770 : 0 : && ! HONOR_INFINITIES (type)
2771 : : )
2772 : : {
2773 : 0 : if (types_match (type, float_type_node)
2774 : : )
2775 : : {
2776 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail762;
2777 : 0 : {
2778 : 0 : tree res_op0;
2779 : 0 : res_op0 = build_one_cst (type);
2780 : 0 : tree res_op1;
2781 : 0 : {
2782 : 0 : tree _o1[1], _r1;
2783 : 0 : _o1[0] = captures[0];
2784 : 0 : if (TREE_TYPE (_o1[0]) != type)
2785 : : {
2786 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
2787 : : }
2788 : : else
2789 : : _r1 = _o1[0];
2790 : 0 : res_op1 = _r1;
2791 : : }
2792 : 0 : tree _r;
2793 : 0 : _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COPYSIGNF, type, 2, res_op0, res_op1);
2794 : 0 : if (!_r)
2795 : 0 : goto next_after_fail762;
2796 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 542, __FILE__, __LINE__, true);
2797 : 0 : return _r;
2798 : : }
2799 : : next_after_fail762:;
2800 : : }
2801 : : else
2802 : : {
2803 : 0 : if (types_match (type, double_type_node)
2804 : : )
2805 : : {
2806 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail763;
2807 : 0 : {
2808 : 0 : tree res_op0;
2809 : 0 : res_op0 = build_one_cst (type);
2810 : 0 : tree res_op1;
2811 : 0 : {
2812 : 0 : tree _o1[1], _r1;
2813 : 0 : _o1[0] = captures[0];
2814 : 0 : if (TREE_TYPE (_o1[0]) != type)
2815 : : {
2816 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
2817 : : }
2818 : : else
2819 : : _r1 = _o1[0];
2820 : 0 : res_op1 = _r1;
2821 : : }
2822 : 0 : tree _r;
2823 : 0 : _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COPYSIGN, type, 2, res_op0, res_op1);
2824 : 0 : if (!_r)
2825 : 0 : goto next_after_fail763;
2826 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 543, __FILE__, __LINE__, true);
2827 : 0 : return _r;
2828 : : }
2829 : : next_after_fail763:;
2830 : : }
2831 : : else
2832 : : {
2833 : 0 : if (types_match (type, long_double_type_node)
2834 : : )
2835 : : {
2836 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail764;
2837 : 0 : {
2838 : 0 : tree res_op0;
2839 : 0 : res_op0 = build_one_cst (type);
2840 : 0 : tree res_op1;
2841 : 0 : {
2842 : 0 : tree _o1[1], _r1;
2843 : 0 : _o1[0] = captures[0];
2844 : 0 : if (TREE_TYPE (_o1[0]) != type)
2845 : : {
2846 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
2847 : : }
2848 : : else
2849 : : _r1 = _o1[0];
2850 : 0 : res_op1 = _r1;
2851 : : }
2852 : 0 : tree _r;
2853 : 0 : _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COPYSIGNL, type, 2, res_op0, res_op1);
2854 : 0 : if (!_r)
2855 : 0 : goto next_after_fail764;
2856 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 544, __FILE__, __LINE__, true);
2857 : 0 : return _r;
2858 : : }
2859 : : next_after_fail764:;
2860 : : }
2861 : : }
2862 : : }
2863 : : }
2864 : : return NULL_TREE;
2865 : : }
2866 : :
2867 : : tree
2868 : 6 : generic_simplify_343 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2869 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2870 : : const enum tree_code ARG_UNUSED (minmax),
2871 : : const enum tree_code ARG_UNUSED (cmp))
2872 : : {
2873 : 6 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2874 : 6 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail787;
2875 : 6 : {
2876 : 6 : tree _r;
2877 : 6 : _r = constant_boolean_node (cmp == GE_EXPR || cmp == LE_EXPR, type);
2878 : 6 : if (TREE_SIDE_EFFECTS (captures[0]))
2879 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
2880 : 6 : if (TREE_SIDE_EFFECTS (captures[1]))
2881 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2882 : 6 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 567, __FILE__, __LINE__, true);
2883 : : return _r;
2884 : : }
2885 : 0 : next_after_fail787:;
2886 : 0 : return NULL_TREE;
2887 : : }
2888 : :
2889 : : tree
2890 : 9689 : generic_simplify_351 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2891 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2892 : : const enum tree_code ARG_UNUSED (cmp))
2893 : : {
2894 : 9689 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2895 : 9689 : if (single_use (captures[0])
2896 : 9689 : && ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
2897 : 9673 : && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
2898 : : )
2899 : : {
2900 : 7308 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail827;
2901 : 7308 : {
2902 : 7308 : tree res_op0;
2903 : 7308 : res_op0 = captures[2];
2904 : 7308 : tree res_op1;
2905 : 7308 : res_op1 = captures[1];
2906 : 7308 : tree _r;
2907 : 7308 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2908 : 7308 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 590, __FILE__, __LINE__, true);
2909 : 7308 : return _r;
2910 : : }
2911 : 0 : next_after_fail827:;
2912 : : }
2913 : : return NULL_TREE;
2914 : : }
2915 : :
2916 : : tree
2917 : 1051 : generic_simplify_355 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2918 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2919 : : const enum tree_code ARG_UNUSED (cmp),
2920 : : const enum tree_code ARG_UNUSED (out))
2921 : : {
2922 : 1051 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2923 : 1051 : if (TYPE_UNSIGNED (TREE_TYPE (captures[2])) && !VECTOR_TYPE_P (TREE_TYPE (captures[2]))
2924 : : )
2925 : : {
2926 : 1033 : {
2927 : 1033 : tree t = TREE_TYPE (captures[2]), cpx = build_complex_type (t);
2928 : 1033 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail831;
2929 : 1021 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail831;
2930 : 1021 : {
2931 : 1021 : tree res_op0;
2932 : 1021 : {
2933 : 1021 : tree _o1[1], _r1;
2934 : 1021 : {
2935 : 1021 : tree _o2[2], _r2;
2936 : 1021 : _o2[0] = captures[2];
2937 : 1021 : _o2[1] = captures[1];
2938 : 1021 : _r2 = maybe_build_call_expr_loc (loc, CFN_MUL_OVERFLOW, cpx, 2, _o2[0], _o2[1]);
2939 : 1021 : if (!_r2)
2940 : 0 : goto next_after_fail831;
2941 : 1021 : _o1[0] = _r2;
2942 : : }
2943 : 1021 : _r1 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o1[0])), _o1[0]);
2944 : 1021 : res_op0 = _r1;
2945 : : }
2946 : 1021 : tree res_op1;
2947 : 1021 : res_op1 = build_zero_cst (t);
2948 : 1021 : tree _r;
2949 : 1021 : _r = fold_build2_loc (loc, out, type, res_op0, res_op1);
2950 : 1021 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 594, __FILE__, __LINE__, true);
2951 : 1021 : return _r;
2952 : : }
2953 : : next_after_fail831:;
2954 : : }
2955 : : }
2956 : : return NULL_TREE;
2957 : : }
2958 : :
2959 : : tree
2960 : 11745 : generic_simplify_362 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2961 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2962 : : const enum tree_code ARG_UNUSED (cmp),
2963 : : const enum tree_code ARG_UNUSED (eqcmp))
2964 : : {
2965 : 11745 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2966 : 11745 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
2967 : : )
2968 : : {
2969 : 11745 : {
2970 : 11745 : tree ty = TREE_TYPE (captures[0]);
2971 : 11745 : unsigned prec = TYPE_PRECISION (ty);
2972 : 11745 : wide_int mask = wi::to_wide (captures[2], prec);
2973 : 11745 : wide_int rhs = wi::to_wide (captures[3], prec);
2974 : 11745 : signop sgn = TYPE_SIGN (ty);
2975 : 33000 : if ((mask & (mask + 1)) == 0 && wi::gt_p (rhs, 0, sgn)
2976 : 42346 : && (rhs & (rhs + 1)) == 0 && wi::ge_p (mask, rhs, sgn)
2977 : : )
2978 : : {
2979 : 546 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail845;
2980 : 546 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail845;
2981 : 546 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail845;
2982 : 546 : {
2983 : 546 : tree res_op0;
2984 : 546 : {
2985 : 546 : tree _o1[2], _r1;
2986 : 546 : _o1[0] = captures[1];
2987 : 546 : _o1[1] = wide_int_to_tree (ty, mask - rhs);
2988 : 546 : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2989 : 546 : res_op0 = _r1;
2990 : : }
2991 : 546 : tree res_op1;
2992 : 546 : res_op1 = build_zero_cst (ty);
2993 : 546 : tree _r;
2994 : 546 : _r = fold_build2_loc (loc, eqcmp, type, res_op0, res_op1);
2995 : 546 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 608, __FILE__, __LINE__, true);
2996 : 546 : return _r;
2997 : : }
2998 : 11199 : next_after_fail845:;
2999 : : }
3000 : 11745 : }
3001 : : }
3002 : : return NULL_TREE;
3003 : : }
3004 : :
3005 : : tree
3006 : 0 : generic_simplify_366 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3007 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3008 : : const enum tree_code ARG_UNUSED (cmp),
3009 : : const enum tree_code ARG_UNUSED (out))
3010 : : {
3011 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3012 : 0 : if (TYPE_UNSIGNED (TREE_TYPE (captures[2])) && !VECTOR_TYPE_P (TREE_TYPE (captures[2]))
3013 : : )
3014 : : {
3015 : 0 : {
3016 : 0 : tree t = TREE_TYPE (captures[2]), cpx = build_complex_type (t);
3017 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail849;
3018 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail849;
3019 : 0 : {
3020 : 0 : tree res_op0;
3021 : 0 : {
3022 : 0 : tree _o1[1], _r1;
3023 : 0 : {
3024 : 0 : tree _o2[2], _r2;
3025 : 0 : _o2[0] = captures[2];
3026 : 0 : _o2[1] = captures[1];
3027 : 0 : _r2 = maybe_build_call_expr_loc (loc, CFN_MUL_OVERFLOW, cpx, 2, _o2[0], _o2[1]);
3028 : 0 : if (!_r2)
3029 : 0 : goto next_after_fail849;
3030 : 0 : _o1[0] = _r2;
3031 : : }
3032 : 0 : _r1 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o1[0])), _o1[0]);
3033 : 0 : res_op0 = _r1;
3034 : : }
3035 : 0 : tree res_op1;
3036 : 0 : res_op1 = build_zero_cst (t);
3037 : 0 : tree _r;
3038 : 0 : _r = fold_build2_loc (loc, out, type, res_op0, res_op1);
3039 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 594, __FILE__, __LINE__, true);
3040 : 0 : return _r;
3041 : : }
3042 : : next_after_fail849:;
3043 : : }
3044 : : }
3045 : : return NULL_TREE;
3046 : : }
3047 : :
3048 : : tree
3049 : 2109 : generic_simplify_374 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3050 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3051 : : const enum tree_code ARG_UNUSED (shiftrotate))
3052 : : {
3053 : 2109 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3054 : 2109 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail861;
3055 : 2109 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail861;
3056 : 2109 : {
3057 : 2109 : tree res_op0;
3058 : 2109 : res_op0 = captures[0];
3059 : 2109 : tree _r;
3060 : 2109 : _r = non_lvalue_loc (loc, res_op0);
3061 : 2109 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 620, __FILE__, __LINE__, true);
3062 : : return _r;
3063 : : }
3064 : : next_after_fail861:;
3065 : : return NULL_TREE;
3066 : : }
3067 : :
3068 : : tree
3069 : 88 : generic_simplify_378 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3070 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3071 : : const enum tree_code ARG_UNUSED (op))
3072 : : {
3073 : 88 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3074 : 88 : {
3075 : 88 : unsigned int prec = element_precision (type);
3076 : 88 : if (wi::ge_p (wi::to_wide (captures[1]), 0, TYPE_SIGN (TREE_TYPE (captures[1])))
3077 : 88 : && wi::lt_p (wi::to_wide (captures[1]), prec, TYPE_SIGN (TREE_TYPE (captures[1])))
3078 : 88 : && wi::ge_p (wi::to_wide (captures[2]), 0, TYPE_SIGN (TREE_TYPE (captures[2])))
3079 : 176 : && wi::lt_p (wi::to_wide (captures[2]), prec, TYPE_SIGN (TREE_TYPE (captures[2])))
3080 : : )
3081 : : {
3082 : 88 : {
3083 : 88 : unsigned int low = (tree_to_uhwi (captures[1])
3084 : 88 : + tree_to_uhwi (captures[2]));
3085 : 88 : if (low >= prec
3086 : : )
3087 : : {
3088 : 25 : if (op == LROTATE_EXPR || op == RROTATE_EXPR
3089 : : )
3090 : : {
3091 : 0 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail865;
3092 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail865;
3093 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail865;
3094 : 0 : {
3095 : 0 : tree res_op0;
3096 : 0 : res_op0 = captures[0];
3097 : 0 : tree res_op1;
3098 : 0 : res_op1 = build_int_cst (TREE_TYPE (captures[1]), low % prec);
3099 : 0 : tree _r;
3100 : 0 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
3101 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 623, __FILE__, __LINE__, true);
3102 : 88 : return _r;
3103 : : }
3104 : : next_after_fail865:;
3105 : : }
3106 : : else
3107 : : {
3108 : 25 : if (TYPE_UNSIGNED (type) || op == LSHIFT_EXPR
3109 : : )
3110 : : {
3111 : 24 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail866;
3112 : 24 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail866;
3113 : 24 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail866;
3114 : 24 : {
3115 : 24 : tree _r;
3116 : 24 : _r = build_zero_cst (type);
3117 : 24 : if (TREE_SIDE_EFFECTS (captures[0]))
3118 : 14 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
3119 : 24 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 624, __FILE__, __LINE__, true);
3120 : 24 : return _r;
3121 : : }
3122 : : next_after_fail866:;
3123 : : }
3124 : : else
3125 : : {
3126 : 1 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail867;
3127 : 1 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail867;
3128 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail867;
3129 : 1 : {
3130 : 1 : tree res_op0;
3131 : 1 : res_op0 = captures[0];
3132 : 1 : tree res_op1;
3133 : 1 : res_op1 = build_int_cst (TREE_TYPE (captures[1]), prec - 1);
3134 : 1 : tree _r;
3135 : 1 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
3136 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 625, __FILE__, __LINE__, true);
3137 : 1 : return _r;
3138 : : }
3139 : : next_after_fail867:;
3140 : : }
3141 : : }
3142 : : }
3143 : : else
3144 : : {
3145 : 63 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail868;
3146 : 63 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail868;
3147 : 63 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail868;
3148 : 63 : {
3149 : 63 : tree res_op0;
3150 : 63 : res_op0 = captures[0];
3151 : 63 : tree res_op1;
3152 : 63 : res_op1 = build_int_cst (TREE_TYPE (captures[1]), low);
3153 : 63 : tree _r;
3154 : 63 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
3155 : 63 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 626, __FILE__, __LINE__, true);
3156 : 63 : return _r;
3157 : : }
3158 : : next_after_fail868:;
3159 : : }
3160 : : }
3161 : : }
3162 : : }
3163 : 0 : return NULL_TREE;
3164 : : }
3165 : :
3166 : : tree
3167 : 0 : generic_simplify_391 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3168 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
3169 : : const combined_fn ARG_UNUSED (copysigns),
3170 : : const combined_fn ARG_UNUSED (coss))
3171 : : {
3172 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3173 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail898;
3174 : 0 : {
3175 : 0 : tree res_op0;
3176 : 0 : res_op0 = captures[0];
3177 : 0 : tree _r;
3178 : 0 : _r = maybe_build_call_expr_loc (loc, coss, type, 1, res_op0);
3179 : 0 : if (!_r)
3180 : 0 : goto next_after_fail898;
3181 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
3182 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
3183 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 643, __FILE__, __LINE__, true);
3184 : : return _r;
3185 : : }
3186 : : next_after_fail898:;
3187 : : return NULL_TREE;
3188 : : }
3189 : :
3190 : : tree
3191 : 0 : generic_simplify_393 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3192 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
3193 : : const combined_fn ARG_UNUSED (coshs),
3194 : : const combined_fn ARG_UNUSED (atanhs),
3195 : : const combined_fn ARG_UNUSED (sqrts))
3196 : : {
3197 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3198 : 0 : if (!flag_errno_math
3199 : : )
3200 : : {
3201 : 0 : {
3202 : 0 : tree t_one = build_one_cst (type);
3203 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail900;
3204 : 0 : {
3205 : 0 : if (! tree_invariant_p (captures[1])) goto next_after_fail900;
3206 : 0 : tree res_op0;
3207 : 0 : res_op0 = t_one;
3208 : 0 : tree res_op1;
3209 : 0 : {
3210 : 0 : tree _o1[1], _r1;
3211 : 0 : {
3212 : 0 : tree _o2[2], _r2;
3213 : 0 : {
3214 : 0 : tree _o3[2], _r3;
3215 : 0 : _o3[0] = t_one;
3216 : 0 : _o3[1] = unshare_expr (captures[1]);
3217 : 0 : _r3 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
3218 : 0 : _o2[0] = _r3;
3219 : : }
3220 : 0 : {
3221 : 0 : tree _o3[2], _r3;
3222 : 0 : _o3[0] = t_one;
3223 : 0 : _o3[1] = captures[1];
3224 : 0 : _r3 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
3225 : 0 : _o2[1] = _r3;
3226 : : }
3227 : 0 : _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
3228 : 0 : _o1[0] = _r2;
3229 : : }
3230 : 0 : _r1 = maybe_build_call_expr_loc (loc, sqrts, TREE_TYPE (_o1[0]), 1, _o1[0]);
3231 : 0 : if (!_r1)
3232 : 0 : goto next_after_fail900;
3233 : 0 : res_op1 = _r1;
3234 : : }
3235 : 0 : tree _r;
3236 : 0 : _r = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1);
3237 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 645, __FILE__, __LINE__, true);
3238 : 0 : return _r;
3239 : : }
3240 : : next_after_fail900:;
3241 : : }
3242 : : }
3243 : : return NULL_TREE;
3244 : : }
3245 : :
3246 : : tree
3247 : 0 : generic_simplify_395 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3248 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3249 : : const combined_fn ARG_UNUSED (pow))
3250 : : {
3251 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3252 : 0 : if (flag_unsafe_math_optimizations
3253 : : )
3254 : : {
3255 : 0 : if (! HONOR_INFINITIES (type)
3256 : 0 : && ! flag_trapping_math
3257 : 0 : && ! flag_errno_math
3258 : : )
3259 : : {
3260 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail902;
3261 : 0 : {
3262 : 0 : tree res_op0;
3263 : 0 : res_op0 = captures[2];
3264 : 0 : tree res_op1;
3265 : 0 : {
3266 : 0 : tree _o1[1], _r1;
3267 : 0 : _o1[0] = captures[3];
3268 : 0 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
3269 : 0 : res_op1 = _r1;
3270 : : }
3271 : 0 : tree _r;
3272 : 0 : _r = maybe_build_call_expr_loc (loc, pow, type, 2, res_op0, res_op1);
3273 : 0 : if (!_r)
3274 : 0 : goto next_after_fail902;
3275 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
3276 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
3277 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 647, __FILE__, __LINE__, true);
3278 : 0 : return _r;
3279 : : }
3280 : : next_after_fail902:;
3281 : : }
3282 : : }
3283 : : return NULL_TREE;
3284 : : }
3285 : :
3286 : : tree
3287 : 0 : generic_simplify_401 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3288 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3289 : : const combined_fn ARG_UNUSED (HYPOT))
3290 : : {
3291 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3292 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail908;
3293 : 0 : {
3294 : 0 : tree res_op0;
3295 : 0 : res_op0 = captures[0];
3296 : 0 : tree _r;
3297 : 0 : _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
3298 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
3299 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
3300 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 653, __FILE__, __LINE__, true);
3301 : : return _r;
3302 : : }
3303 : 0 : next_after_fail908:;
3304 : 0 : return NULL_TREE;
3305 : : }
3306 : :
3307 : : tree
3308 : 21 : generic_simplify_405 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3309 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
3310 : : {
3311 : 21 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3312 : 42 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
3313 : 42 : && TYPE_PRECISION (TREE_TYPE (captures[0])) == 1
3314 : : )
3315 : : {
3316 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail912;
3317 : 0 : {
3318 : 0 : tree res_op0;
3319 : 0 : res_op0 = captures[0];
3320 : 0 : tree res_op1;
3321 : 0 : res_op1 = captures[1];
3322 : 0 : tree _r;
3323 : 0 : _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
3324 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 657, __FILE__, __LINE__, true);
3325 : 0 : return _r;
3326 : : }
3327 : 0 : next_after_fail912:;
3328 : : }
3329 : : return NULL_TREE;
3330 : : }
3331 : :
3332 : : tree
3333 : 80 : generic_simplify_411 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3334 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3335 : : const enum tree_code ARG_UNUSED (bitop),
3336 : : const enum tree_code ARG_UNUSED (op))
3337 : : {
3338 : 80 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3339 : 80 : {
3340 : 80 : tree pmop[2];
3341 : 80 : tree utype = fold_bit_and_mask (TREE_TYPE (captures[1]), captures[5], op, captures[1], bitop,
3342 : : captures[2], captures[3], captures[4], ERROR_MARK, NULL_TREE,
3343 : : NULL_TREE, pmop);
3344 : 80 : if (utype
3345 : : )
3346 : : {
3347 : 20 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail918;
3348 : 20 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail918;
3349 : 20 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail918;
3350 : 20 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail918;
3351 : 20 : if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail918;
3352 : 20 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail918;
3353 : 20 : {
3354 : 20 : tree res_op0;
3355 : 20 : {
3356 : 20 : tree _o1[2], _r1;
3357 : 20 : {
3358 : 20 : tree _o2[2], _r2;
3359 : 20 : {
3360 : 20 : tree _o3[1], _r3;
3361 : 20 : _o3[0] = pmop[0];
3362 : 20 : if (TREE_TYPE (_o3[0]) != utype)
3363 : : {
3364 : 10 : _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
3365 : : }
3366 : : else
3367 : : _r3 = _o3[0];
3368 : 20 : _o2[0] = _r3;
3369 : : }
3370 : 20 : {
3371 : 20 : tree _o3[1], _r3;
3372 : 20 : _o3[0] = pmop[1];
3373 : 20 : if (TREE_TYPE (_o3[0]) != utype)
3374 : : {
3375 : 10 : _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
3376 : : }
3377 : : else
3378 : : _r3 = _o3[0];
3379 : 20 : _o2[1] = _r3;
3380 : : }
3381 : 20 : _r2 = fold_build2_loc (loc, op, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
3382 : 20 : _o1[0] = _r2;
3383 : : }
3384 : 20 : {
3385 : 20 : tree _o2[1], _r2;
3386 : 20 : _o2[0] = captures[5];
3387 : 20 : if (TREE_TYPE (_o2[0]) != utype)
3388 : : {
3389 : 10 : _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
3390 : : }
3391 : : else
3392 : : _r2 = _o2[0];
3393 : 20 : _o1[1] = _r2;
3394 : : }
3395 : 20 : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
3396 : 20 : res_op0 = _r1;
3397 : : }
3398 : 20 : tree _r;
3399 : 20 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3400 : 20 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 662, __FILE__, __LINE__, true);
3401 : 20 : return _r;
3402 : : }
3403 : 60 : next_after_fail918:;
3404 : : }
3405 : : }
3406 : 60 : return NULL_TREE;
3407 : : }
3408 : :
3409 : : tree
3410 : 34 : generic_simplify_427 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3411 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3412 : : const combined_fn ARG_UNUSED (bswap))
3413 : : {
3414 : 34 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3415 : 34 : if (BITS_PER_UNIT == 8
3416 : 34 : && tree_fits_uhwi_p (captures[2])
3417 : 34 : && tree_to_uhwi (captures[2]) < 256
3418 : : )
3419 : : {
3420 : 32 : {
3421 : 32 : unsigned HOST_WIDE_INT prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
3422 : 32 : tree utype = unsigned_type_for (TREE_TYPE (captures[1]));
3423 : 32 : tree nst = build_int_cst (integer_type_node, prec - 8);
3424 : 32 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail939;
3425 : 32 : {
3426 : 32 : tree res_op0;
3427 : 32 : {
3428 : 32 : tree _o1[1], _r1;
3429 : 32 : {
3430 : 32 : tree _o2[2], _r2;
3431 : 32 : {
3432 : 32 : tree _o3[1], _r3;
3433 : 32 : _o3[0] = captures[1];
3434 : 32 : if (TREE_TYPE (_o3[0]) != utype)
3435 : : {
3436 : 0 : _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
3437 : : }
3438 : : else
3439 : : _r3 = _o3[0];
3440 : 32 : _o2[0] = _r3;
3441 : : }
3442 : 32 : _o2[1] = nst;
3443 : 32 : _r2 = fold_build2_loc (loc, RSHIFT_EXPR, utype, _o2[0], _o2[1]);
3444 : 32 : _o1[0] = _r2;
3445 : : }
3446 : 32 : if (TREE_TYPE (_o1[0]) != type)
3447 : : {
3448 : 18 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
3449 : : }
3450 : : else
3451 : : _r1 = _o1[0];
3452 : 32 : res_op0 = _r1;
3453 : : }
3454 : 32 : tree res_op1;
3455 : 32 : res_op1 = captures[2];
3456 : 32 : tree _r;
3457 : 32 : _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
3458 : 32 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 679, __FILE__, __LINE__, true);
3459 : 32 : return _r;
3460 : : }
3461 : 0 : next_after_fail939:;
3462 : : }
3463 : : }
3464 : : return NULL_TREE;
3465 : : }
3466 : :
3467 : : tree
3468 : 0 : generic_simplify_435 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3469 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3470 : : const enum tree_code ARG_UNUSED (eqne))
3471 : : {
3472 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3473 : 0 : if (eqne == EQ_EXPR
3474 : : )
3475 : : {
3476 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail968;
3477 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail968;
3478 : 0 : {
3479 : 0 : tree _r;
3480 : 0 : _r = constant_boolean_node (false, type);
3481 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
3482 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
3483 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 682, __FILE__, __LINE__, true);
3484 : 0 : return _r;
3485 : : }
3486 : : next_after_fail968:;
3487 : : }
3488 : : else
3489 : : {
3490 : 0 : if (eqne == NE_EXPR
3491 : : )
3492 : : {
3493 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail969;
3494 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail969;
3495 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail969;
3496 : 0 : {
3497 : 0 : tree _r;
3498 : 0 : _r = captures[0];
3499 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 683, __FILE__, __LINE__, true);
3500 : 0 : return _r;
3501 : : }
3502 : : next_after_fail969:;
3503 : : }
3504 : : }
3505 : : return NULL_TREE;
3506 : : }
3507 : :
3508 : : tree
3509 : 3 : generic_simplify_439 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3510 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
3511 : : {
3512 : 3 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3513 : 6 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
3514 : 6 : && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
3515 : : )
3516 : : {
3517 : 3 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail985;
3518 : 3 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail985;
3519 : 3 : {
3520 : 3 : tree res_op0;
3521 : 3 : res_op0 = captures[3];
3522 : 3 : tree res_op1;
3523 : 3 : {
3524 : 3 : tree _o1[2], _r1;
3525 : 3 : _o1[0] = captures[1];
3526 : 3 : _o1[1] = build_int_cst (TREE_TYPE (captures[1]), 1);
3527 : 3 : _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
3528 : 3 : res_op1 = _r1;
3529 : : }
3530 : 3 : tree _r;
3531 : 3 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
3532 : 3 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 700, __FILE__, __LINE__, true);
3533 : 3 : return _r;
3534 : : }
3535 : : next_after_fail985:;
3536 : : }
3537 : : return NULL_TREE;
3538 : : }
3539 : :
3540 : : tree
3541 : 0 : generic_simplify_442 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3542 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
3543 : : {
3544 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3545 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
3546 : 0 : && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
3547 : : )
3548 : : {
3549 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail988;
3550 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail988;
3551 : 0 : {
3552 : 0 : tree res_op0;
3553 : 0 : res_op0 = captures[3];
3554 : 0 : tree res_op1;
3555 : 0 : {
3556 : 0 : tree _o1[2], _r1;
3557 : 0 : _o1[0] = captures[1];
3558 : 0 : _o1[1] = build_int_cst (TREE_TYPE (captures[1]), 1);
3559 : 0 : _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
3560 : 0 : res_op1 = _r1;
3561 : : }
3562 : 0 : tree _r;
3563 : 0 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
3564 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 700, __FILE__, __LINE__, true);
3565 : 0 : return _r;
3566 : : }
3567 : : next_after_fail988:;
3568 : : }
3569 : : return NULL_TREE;
3570 : : }
3571 : :
3572 : : tree
3573 : 0 : generic_simplify_446 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3574 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
3575 : : {
3576 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3577 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail996;
3578 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail996;
3579 : 0 : {
3580 : 0 : tree _r;
3581 : 0 : _r = captures[1];
3582 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 702, __FILE__, __LINE__, true);
3583 : : return _r;
3584 : : }
3585 : : next_after_fail996:;
3586 : : return NULL_TREE;
3587 : : }
3588 : :
3589 : : tree
3590 : 0 : generic_simplify_447 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3591 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
3592 : : {
3593 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3594 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail997;
3595 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail997;
3596 : 0 : {
3597 : 0 : tree _r;
3598 : 0 : _r = captures[1];
3599 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 702, __FILE__, __LINE__, true);
3600 : : return _r;
3601 : : }
3602 : : next_after_fail997:;
3603 : : return NULL_TREE;
3604 : : }
3605 : :
3606 : : tree
3607 : 42 : generic_simplify_450 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3608 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
3609 : : {
3610 : 42 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3611 : 42 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1001;
3612 : 42 : {
3613 : 42 : tree res_op0;
3614 : 42 : res_op0 = captures[1];
3615 : 42 : tree res_op1;
3616 : 42 : {
3617 : 42 : tree _o1[1], _r1;
3618 : 42 : _o1[0] = captures[2];
3619 : 42 : _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
3620 : 42 : res_op1 = _r1;
3621 : : }
3622 : 42 : tree _r;
3623 : 42 : _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
3624 : 42 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 706, __FILE__, __LINE__, true);
3625 : : return _r;
3626 : : }
3627 : 0 : next_after_fail1001:;
3628 : 0 : return NULL_TREE;
3629 : : }
3630 : :
3631 : : tree
3632 : 28 : generic_simplify_452 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3633 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
3634 : : {
3635 : 28 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3636 : 28 : if (element_precision (type) <= element_precision (TREE_TYPE (captures[0]))
3637 : 28 : || !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
3638 : : )
3639 : : {
3640 : 28 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1003;
3641 : 28 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1003;
3642 : 28 : {
3643 : 28 : tree res_op0;
3644 : 28 : {
3645 : 28 : tree _o1[1], _r1;
3646 : 28 : _o1[0] = captures[0];
3647 : 28 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
3648 : 28 : res_op0 = _r1;
3649 : : }
3650 : 28 : tree _r;
3651 : 28 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3652 : 28 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 708, __FILE__, __LINE__, true);
3653 : 28 : return _r;
3654 : : }
3655 : : next_after_fail1003:;
3656 : : }
3657 : : return NULL_TREE;
3658 : : }
3659 : :
3660 : : tree
3661 : 4001 : generic_simplify_454 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3662 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
3663 : : {
3664 : 4001 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3665 : 4001 : if (element_precision (type) <= element_precision (TREE_TYPE (captures[0]))
3666 : 4001 : || !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
3667 : : )
3668 : : {
3669 : 3452 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1005;
3670 : 3452 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1005;
3671 : 3452 : {
3672 : 3452 : tree res_op0;
3673 : 3452 : {
3674 : 3452 : tree _o1[1], _r1;
3675 : 3452 : _o1[0] = captures[0];
3676 : 3452 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
3677 : 3452 : res_op0 = _r1;
3678 : : }
3679 : 3452 : tree _r;
3680 : 3452 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3681 : 3452 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 710, __FILE__, __LINE__, true);
3682 : 3452 : return _r;
3683 : : }
3684 : : next_after_fail1005:;
3685 : : }
3686 : : return NULL_TREE;
3687 : : }
3688 : :
3689 : : tree
3690 : 0 : generic_simplify_458 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3691 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
3692 : : {
3693 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3694 : 0 : if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
3695 : : )
3696 : : {
3697 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1009;
3698 : 0 : {
3699 : 0 : tree res_op0;
3700 : 0 : {
3701 : 0 : tree _o1[2], _r1;
3702 : 0 : _o1[0] = captures[0];
3703 : 0 : _o1[1] = captures[1];
3704 : 0 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
3705 : 0 : res_op0 = _r1;
3706 : : }
3707 : 0 : tree _r;
3708 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3709 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 714, __FILE__, __LINE__, true);
3710 : 0 : return _r;
3711 : : }
3712 : 0 : next_after_fail1009:;
3713 : : }
3714 : : return NULL_TREE;
3715 : : }
3716 : :
3717 : : tree
3718 : 38247 : generic_simplify_464 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3719 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
3720 : : {
3721 : 38247 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3722 : 38247 : if (!HONOR_SIGN_DEPENDENT_ROUNDING (type)
3723 : 38247 : && !HONOR_SIGNED_ZEROS (type)
3724 : : )
3725 : : {
3726 : 38247 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1016;
3727 : 38247 : {
3728 : 38247 : tree res_op0;
3729 : 38247 : {
3730 : 38247 : tree _o1[1], _r1;
3731 : 38247 : _o1[0] = captures[1];
3732 : 38247 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
3733 : 38247 : res_op0 = _r1;
3734 : : }
3735 : 38247 : tree res_op1;
3736 : 38247 : res_op1 = captures[0];
3737 : 38247 : tree _r;
3738 : 38247 : _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
3739 : 38247 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 719, __FILE__, __LINE__, true);
3740 : 38247 : return _r;
3741 : : }
3742 : 0 : next_after_fail1016:;
3743 : : }
3744 : : return NULL_TREE;
3745 : : }
3746 : :
3747 : : tree
3748 : 16 : generic_simplify_469 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3749 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
3750 : : const combined_fn ARG_UNUSED (fmas))
3751 : : {
3752 : 16 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3753 : 16 : if (canonicalize_math_after_vectorization_p ()
3754 : : )
3755 : : {
3756 : : if (!HONOR_SIGN_DEPENDENT_ROUNDING (type) && single_use (captures[0])
3757 : : )
3758 : : {
3759 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1022;
3760 : : {
3761 : : tree res_op0;
3762 : : res_op0 = captures[1];
3763 : : tree res_op1;
3764 : : res_op1 = captures[2];
3765 : : tree res_op2;
3766 : : res_op2 = captures[3];
3767 : : tree _r;
3768 : : _r = maybe_build_call_expr_loc (loc, CFN_FNMS, type, 3, res_op0, res_op1, res_op2);
3769 : : if (!_r)
3770 : : goto next_after_fail1022;
3771 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 725, __FILE__, __LINE__, true);
3772 : : return _r;
3773 : : }
3774 : 16 : next_after_fail1022:;
3775 : : }
3776 : : }
3777 : 16 : return NULL_TREE;
3778 : : }
3779 : :
3780 : : tree
3781 : 0 : generic_simplify_477 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3782 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
3783 : : {
3784 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3785 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1032;
3786 : 0 : if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1032;
3787 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1032;
3788 : 0 : {
3789 : 0 : tree _r;
3790 : 0 : _r = captures[2];
3791 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 734, __FILE__, __LINE__, true);
3792 : : return _r;
3793 : : }
3794 : : next_after_fail1032:;
3795 : : return NULL_TREE;
3796 : : }
3797 : :
3798 : : tree
3799 : 3 : generic_simplify_483 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3800 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
3801 : : const enum tree_code ARG_UNUSED (op))
3802 : : {
3803 : 3 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3804 : 3 : if (INTEGRAL_TYPE_P (type)
3805 : 3 : && TYPE_PRECISION (type) > 1
3806 : 6 : && (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])))
3807 : : )
3808 : : {
3809 : 3 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1041;
3810 : 3 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1041;
3811 : 3 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1041;
3812 : 3 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1041;
3813 : 3 : {
3814 : 3 : tree res_op0;
3815 : 3 : {
3816 : 3 : tree _o1[2], _r1;
3817 : 3 : {
3818 : 3 : tree _o2[1], _r2;
3819 : 3 : _o2[0] = captures[0];
3820 : 3 : if (TREE_TYPE (_o2[0]) != type)
3821 : : {
3822 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, type, _o2[0]);
3823 : : }
3824 : : else
3825 : : _r2 = _o2[0];
3826 : 3 : _o1[0] = _r2;
3827 : : }
3828 : 3 : _o1[1] = captures[2];
3829 : 3 : _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
3830 : 3 : res_op0 = _r1;
3831 : : }
3832 : 3 : tree res_op1;
3833 : 3 : res_op1 = captures[1];
3834 : 3 : tree _r;
3835 : 3 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
3836 : 3 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 743, __FILE__, __LINE__, true);
3837 : 3 : return _r;
3838 : : }
3839 : : next_after_fail1041:;
3840 : : }
3841 : : return NULL_TREE;
3842 : : }
3843 : :
3844 : : tree
3845 : 6 : generic_simplify_491 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3846 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
3847 : : const enum tree_code ARG_UNUSED (neeq),
3848 : : const combined_fn ARG_UNUSED (sign))
3849 : : {
3850 : 6 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3851 : 6 : if (neeq == NE_EXPR
3852 : : )
3853 : : {
3854 : 3 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1049;
3855 : 3 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1049;
3856 : 3 : {
3857 : 3 : tree res_op0;
3858 : 3 : res_op0 = captures[0];
3859 : 3 : tree _r;
3860 : 3 : _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
3861 : 3 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 751, __FILE__, __LINE__, true);
3862 : 3 : return _r;
3863 : : }
3864 : : next_after_fail1049:;
3865 : : }
3866 : : else
3867 : : {
3868 : 3 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1050;
3869 : 3 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1050;
3870 : 3 : {
3871 : 3 : tree res_op0;
3872 : 3 : {
3873 : 3 : tree _o1[1], _r1;
3874 : 3 : _o1[0] = captures[0];
3875 : 3 : _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
3876 : 3 : res_op0 = _r1;
3877 : : }
3878 : 3 : tree _r;
3879 : 3 : _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
3880 : 3 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 752, __FILE__, __LINE__, true);
3881 : 3 : return _r;
3882 : : }
3883 : : next_after_fail1050:;
3884 : : }
3885 : : return NULL_TREE;
3886 : : }
3887 : :
3888 : : tree
3889 : 2 : generic_simplify_502 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3890 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
3891 : : {
3892 : 2 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3893 : 2 : if (TREE_CODE (type) != COMPLEX_TYPE
3894 : 2 : && (! ANY_INTEGRAL_TYPE_P (type)
3895 : 1 : || TYPE_OVERFLOW_UNDEFINED (type))
3896 : : )
3897 : : {
3898 : 2 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1063;
3899 : 2 : {
3900 : 2 : tree res_op0;
3901 : 2 : {
3902 : 2 : tree _o1[1], _r1;
3903 : 2 : _o1[0] = captures[0];
3904 : 2 : _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
3905 : 2 : res_op0 = _r1;
3906 : : }
3907 : 2 : tree _r;
3908 : 2 : _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
3909 : 2 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 763, __FILE__, __LINE__, true);
3910 : 2 : return _r;
3911 : : }
3912 : 0 : next_after_fail1063:;
3913 : : }
3914 : : return NULL_TREE;
3915 : : }
3916 : :
3917 : : tree
3918 : 0 : generic_simplify_507 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3919 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3920 : : const enum tree_code ARG_UNUSED (minmax),
3921 : : const enum tree_code ARG_UNUSED (maxmin))
3922 : : {
3923 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3924 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1080;
3925 : 0 : {
3926 : 0 : tree res_op0;
3927 : 0 : {
3928 : 0 : tree _o1[2], _r1;
3929 : 0 : _o1[0] = captures[1];
3930 : 0 : _o1[1] = captures[3];
3931 : 0 : _r1 = fold_build2_loc (loc, maxmin, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
3932 : 0 : res_op0 = _r1;
3933 : : }
3934 : 0 : tree _r;
3935 : 0 : _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
3936 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 768, __FILE__, __LINE__, true);
3937 : : return _r;
3938 : : }
3939 : 0 : next_after_fail1080:;
3940 : 0 : return NULL_TREE;
3941 : : }
3942 : :
3943 : : tree
3944 : 0 : generic_simplify_511 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3945 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3946 : : const combined_fn ARG_UNUSED (minmax))
3947 : : {
3948 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3949 : 0 : if (!tree_expr_maybe_signaling_nan_p (captures[0])
3950 : : )
3951 : : {
3952 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1084;
3953 : 0 : {
3954 : 0 : tree _r;
3955 : 0 : _r = captures[0];
3956 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 772, __FILE__, __LINE__, true);
3957 : 0 : return _r;
3958 : : }
3959 : 0 : next_after_fail1084:;
3960 : : }
3961 : : return NULL_TREE;
3962 : : }
3963 : :
3964 : : tree
3965 : 0 : generic_simplify_515 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3966 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3967 : : const enum tree_code ARG_UNUSED (rotate))
3968 : : {
3969 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3970 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1088;
3971 : 0 : {
3972 : 0 : tree _r;
3973 : 0 : _r = captures[0];
3974 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
3975 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
3976 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 776, __FILE__, __LINE__, true);
3977 : : return _r;
3978 : : }
3979 : 0 : next_after_fail1088:;
3980 : 0 : return NULL_TREE;
3981 : : }
3982 : :
3983 : : tree
3984 : 6 : generic_simplify_523 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3985 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
3986 : : {
3987 : 6 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3988 : 6 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1099;
3989 : 6 : if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1099;
3990 : 6 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1099;
3991 : 6 : {
3992 : 6 : tree _r;
3993 : 6 : _r = captures[2];
3994 : 6 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 734, __FILE__, __LINE__, true);
3995 : : return _r;
3996 : : }
3997 : : next_after_fail1099:;
3998 : : return NULL_TREE;
3999 : : }
4000 : :
4001 : : tree
4002 : 0 : generic_simplify_530 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
4003 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
4004 : : const combined_fn ARG_UNUSED (cond_op))
4005 : : {
4006 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
4007 : 0 : {
4008 : 0 : tree op_type = TREE_TYPE (captures[6]);
4009 : 0 : if (inverse_conditions_p (captures[0], captures[2])
4010 : 0 : && element_precision (type) == element_precision (op_type)
4011 : : )
4012 : : {
4013 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1106;
4014 : 0 : {
4015 : 0 : tree res_op0;
4016 : 0 : {
4017 : 0 : tree _o1[5], _r1;
4018 : 0 : _o1[0] = captures[2];
4019 : 0 : _o1[1] = captures[3];
4020 : 0 : _o1[2] = captures[4];
4021 : 0 : _o1[3] = captures[5];
4022 : 0 : {
4023 : 0 : tree _o2[1], _r2;
4024 : 0 : _o2[0] = captures[1];
4025 : 0 : if (TREE_TYPE (_o2[0]) != op_type)
4026 : : {
4027 : 0 : _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, op_type, _o2[0]);
4028 : : }
4029 : : else
4030 : : _r2 = _o2[0];
4031 : 0 : _o1[4] = _r2;
4032 : : }
4033 : 0 : _r1 = maybe_build_call_expr_loc (loc, cond_op, TREE_TYPE (_o1[1]), 5, _o1[0], _o1[1], _o1[2], _o1[3], _o1[4]);
4034 : 0 : if (!_r1)
4035 : 0 : goto next_after_fail1106;
4036 : 0 : res_op0 = _r1;
4037 : : }
4038 : 0 : tree _r;
4039 : 0 : _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
4040 : 0 : if (TREE_SIDE_EFFECTS (captures[0]))
4041 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
4042 : 0 : if (TREE_SIDE_EFFECTS (captures[6]))
4043 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[6]), _r);
4044 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 789, __FILE__, __LINE__, true);
4045 : 0 : return _r;
4046 : : }
4047 : : next_after_fail1106:;
4048 : : }
4049 : : }
4050 : : return NULL_TREE;
4051 : : }
4052 : :
4053 : : tree
4054 : 0 : generic_simplify_540 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
4055 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
4056 : : const combined_fn ARG_UNUSED (ovf))
4057 : : {
4058 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
4059 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
4060 : 0 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
4061 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[0])) > TYPE_PRECISION (TREE_TYPE (captures[1]))
4062 : 0 : && (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) || TYPE_UNSIGNED (TREE_TYPE (captures[1])))
4063 : : )
4064 : : {
4065 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1116;
4066 : 0 : {
4067 : 0 : tree res_op0;
4068 : 0 : res_op0 = captures[1];
4069 : 0 : tree res_op1;
4070 : 0 : res_op1 = captures[2];
4071 : 0 : tree _r;
4072 : 0 : _r = maybe_build_call_expr_loc (loc, ovf, type, 2, res_op0, res_op1);
4073 : 0 : if (!_r)
4074 : 0 : goto next_after_fail1116;
4075 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 799, __FILE__, __LINE__, true);
4076 : 0 : return _r;
4077 : : }
4078 : : next_after_fail1116:;
4079 : : }
4080 : : return NULL_TREE;
4081 : : }
4082 : :
4083 : : tree
4084 : 0 : generic_simplify_550 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
4085 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
4086 : : const combined_fn ARG_UNUSED (froms),
4087 : : const combined_fn ARG_UNUSED (tos))
4088 : : {
4089 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
4090 : 0 : if (optimize && canonicalize_math_p ()
4091 : 0 : && targetm.libc_has_function (function_c99_misc, NULL_TREE)
4092 : : )
4093 : : {
4094 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1126;
4095 : 0 : {
4096 : 0 : tree res_op0;
4097 : 0 : {
4098 : 0 : tree _o1[1], _r1;
4099 : 0 : _o1[0] = captures[0];
4100 : 0 : _r1 = maybe_build_call_expr_loc (loc, tos, TREE_TYPE (_o1[0]), 1, _o1[0]);
4101 : 0 : if (!_r1)
4102 : 0 : goto next_after_fail1126;
4103 : 0 : res_op0 = _r1;
4104 : : }
4105 : 0 : tree _r;
4106 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4107 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 809, __FILE__, __LINE__, true);
4108 : 0 : return _r;
4109 : : }
4110 : : next_after_fail1126:;
4111 : : }
4112 : : return NULL_TREE;
4113 : : }
4114 : :
4115 : : tree
4116 : 0 : generic_simplify_558 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
4117 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
4118 : : const combined_fn ARG_UNUSED (fns))
4119 : : {
4120 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
4121 : 0 : if (canonicalize_math_p ()
4122 : : )
4123 : : {
4124 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1134;
4125 : 0 : {
4126 : 0 : tree res_op0;
4127 : 0 : res_op0 = captures[0];
4128 : 0 : tree _r;
4129 : 0 : _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
4130 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 817, __FILE__, __LINE__, true);
4131 : 0 : return _r;
4132 : : }
4133 : 0 : next_after_fail1134:;
4134 : : }
4135 : : return NULL_TREE;
4136 : : }
4137 : :
4138 : : tree
4139 : 0 : generic_simplify_567 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
4140 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
4141 : : {
4142 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
4143 : 0 : if (canonicalize_math_after_vectorization_p ()
4144 : : )
4145 : : {
4146 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1143;
4147 : : {
4148 : : tree res_op0;
4149 : : res_op0 = captures[0];
4150 : : tree res_op1;
4151 : : res_op1 = captures[1];
4152 : : tree res_op2;
4153 : : res_op2 = captures[2];
4154 : : tree _r;
4155 : : _r = maybe_build_call_expr_loc (loc, CFN_FNMS, type, 3, res_op0, res_op1, res_op2);
4156 : : if (!_r)
4157 : : goto next_after_fail1143;
4158 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 826, __FILE__, __LINE__, true);
4159 : : return _r;
4160 : : }
4161 : 0 : next_after_fail1143:;
4162 : : }
4163 : 0 : return NULL_TREE;
4164 : : }
4165 : :
4166 : : tree
4167 : 0 : generic_simplify_577 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
4168 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
4169 : : const combined_fn ARG_UNUSED (bswap),
4170 : : const combined_fn ARG_UNUSED (popcount))
4171 : : {
4172 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
4173 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
4174 : 0 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
4175 : : )
4176 : : {
4177 : 0 : {
4178 : 0 : tree type0 = TREE_TYPE (captures[0]);
4179 : 0 : tree type1 = TREE_TYPE (captures[1]);
4180 : 0 : unsigned int prec0 = TYPE_PRECISION (type0);
4181 : 0 : unsigned int prec1 = TYPE_PRECISION (type1);
4182 : 0 : if (prec0 == prec1 || (prec0 > prec1 && TYPE_UNSIGNED (type1))
4183 : : )
4184 : : {
4185 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1153;
4186 : 0 : {
4187 : 0 : tree res_op0;
4188 : 0 : {
4189 : 0 : tree _o1[1], _r1;
4190 : 0 : {
4191 : 0 : tree _o2[1], _r2;
4192 : 0 : _o2[0] = captures[2];
4193 : 0 : if (TREE_TYPE (_o2[0]) != type1)
4194 : : {
4195 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, type1, _o2[0]);
4196 : : }
4197 : : else
4198 : : _r2 = _o2[0];
4199 : 0 : _o1[0] = _r2;
4200 : : }
4201 : 0 : if (TREE_TYPE (_o1[0]) != type0)
4202 : : {
4203 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type0, _o1[0]);
4204 : : }
4205 : : else
4206 : : _r1 = _o1[0];
4207 : 0 : res_op0 = _r1;
4208 : : }
4209 : 0 : tree _r;
4210 : 0 : _r = maybe_build_call_expr_loc (loc, popcount, type, 1, res_op0);
4211 : 0 : if (!_r)
4212 : 0 : goto next_after_fail1153;
4213 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 833, __FILE__, __LINE__, true);
4214 : 0 : return _r;
4215 : : }
4216 : : next_after_fail1153:;
4217 : : }
4218 : : }
4219 : : }
4220 : : return NULL_TREE;
4221 : : }
4222 : :
4223 : : tree
4224 : 0 : generic_simplify_588 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
4225 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
4226 : : const combined_fn ARG_UNUSED (reduc))
4227 : : {
4228 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
4229 : 0 : {
4230 : 0 : tree ctor = (TREE_CODE (captures[0]) == SSA_NAME
4231 : 0 : ? gimple_assign_rhs1 (SSA_NAME_DEF_STMT (captures[0])) : captures[0]);
4232 : 0 : tree elt = ctor_single_nonzero_element (ctor);
4233 : 0 : if (elt
4234 : 0 : && types_match (type, TREE_TYPE (elt))
4235 : 0 : && !HONOR_SNANS (type)
4236 : 0 : && !HONOR_SIGNED_ZEROS (type)
4237 : : )
4238 : : {
4239 : 0 : if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1165;
4240 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1165;
4241 : 0 : {
4242 : 0 : tree _r;
4243 : 0 : _r = elt;
4244 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 841, __FILE__, __LINE__, true);
4245 : 0 : return _r;
4246 : : }
4247 : : next_after_fail1165:;
4248 : : }
4249 : : }
4250 : : return NULL_TREE;
4251 : : }
4252 : :
4253 : : tree
4254 : 526147 : generic_simplify_FIX_TRUNC_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0)
4255 : : {
4256 : 526147 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
4257 : 526147 : {
4258 : 526147 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
4259 : 1052294 : if ((
4260 : :
4261 : : && useless_type_conversion_p (type, TREE_TYPE (captures[0])))
4262 : : || (
4263 : : 1
4264 : 526147 : && type == TREE_TYPE (captures[0]))
4265 : : )
4266 : : {
4267 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1242;
4268 : 0 : {
4269 : 0 : tree _r;
4270 : 0 : _r = captures[0];
4271 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 854, __FILE__, __LINE__, true);
4272 : 0 : return _r;
4273 : : }
4274 : 0 : next_after_fail1242:;
4275 : : }
4276 : : }
4277 : 526147 : switch (TREE_CODE (_p0))
4278 : : {
4279 : 14978 : CASE_CONVERT:
4280 : 14978 : {
4281 : 14978 : tree _q20 = TREE_OPERAND (_p0, 0);
4282 : 14978 : {
4283 : 14978 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
4284 : 14978 : {
4285 : 14978 : tree inside_type = TREE_TYPE (captures[1]);
4286 : 14978 : tree inter_type = TREE_TYPE (captures[0]);
4287 : 14978 : int inside_int = INTEGRAL_TYPE_P (inside_type);
4288 : 14978 : int inside_ptr = POINTER_TYPE_P (inside_type);
4289 : 14978 : int inside_float = FLOAT_TYPE_P (inside_type);
4290 : 14978 : int inside_vec = VECTOR_TYPE_P (inside_type);
4291 : 14978 : unsigned int inside_prec = element_precision (inside_type);
4292 : 14978 : int inside_unsignedp = TYPE_UNSIGNED (inside_type);
4293 : 14978 : int inter_int = INTEGRAL_TYPE_P (inter_type);
4294 : 14978 : int inter_ptr = POINTER_TYPE_P (inter_type);
4295 : 14978 : int inter_float = FLOAT_TYPE_P (inter_type);
4296 : 14978 : int inter_vec = VECTOR_TYPE_P (inter_type);
4297 : 14978 : unsigned int inter_prec = element_precision (inter_type);
4298 : 14978 : int inter_unsignedp = TYPE_UNSIGNED (inter_type);
4299 : 14978 : int final_int = INTEGRAL_TYPE_P (type);
4300 : 14978 : int final_ptr = POINTER_TYPE_P (type);
4301 : 14978 : int final_float = FLOAT_TYPE_P (type);
4302 : 14978 : int final_vec = VECTOR_TYPE_P (type);
4303 : 14978 : unsigned int final_prec = element_precision (type);
4304 : 14978 : int final_unsignedp = TYPE_UNSIGNED (type);
4305 : 14978 : if (((
4306 : :
4307 : : && useless_type_conversion_p (type, inside_type))
4308 : : || (
4309 : : 1
4310 : 14978 : && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type)))
4311 : 0 : && (((inter_int || inter_ptr) && final_int)
4312 : 0 : || (inter_float && final_float))
4313 : 14978 : && inter_prec >= final_prec
4314 : : )
4315 : : {
4316 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1243;
4317 : 0 : {
4318 : 0 : tree res_op0;
4319 : 0 : res_op0 = captures[1];
4320 : 0 : tree _r;
4321 : 0 : _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
4322 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 855, __FILE__, __LINE__, true);
4323 : 0 : return _r;
4324 : : }
4325 : 0 : next_after_fail1243:;
4326 : : }
4327 : : else
4328 : : {
4329 : 14978 : if (((inter_int && inside_int) || (inter_float && inside_float))
4330 : 14978 : && (final_int || final_float)
4331 : 14978 : && inter_prec >= inside_prec
4332 : 14760 : && (inter_float || inter_unsignedp == inside_unsignedp)
4333 : : )
4334 : : {
4335 : 14760 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1244;
4336 : 14760 : {
4337 : 14760 : tree res_op0;
4338 : 14760 : res_op0 = captures[1];
4339 : 14760 : tree _r;
4340 : 14760 : _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
4341 : 14760 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 856, __FILE__, __LINE__, true);
4342 : 14760 : return _r;
4343 : : }
4344 : 0 : next_after_fail1244:;
4345 : 0 : }
4346 : : else
4347 : : {
4348 : 218 : if (inside_int && inter_int && final_int
4349 : 0 : && ((inside_prec < inter_prec && inter_prec < final_prec
4350 : 0 : && inside_unsignedp && !inter_unsignedp)
4351 : 0 : || final_prec == inter_prec
4352 : 0 : || (inside_prec < inter_prec && inter_prec > final_prec
4353 : 0 : && !inside_unsignedp && inter_unsignedp))
4354 : : )
4355 : : {
4356 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1245;
4357 : 0 : {
4358 : 0 : tree res_op0;
4359 : 0 : res_op0 = captures[1];
4360 : 0 : tree _r;
4361 : 0 : _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
4362 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 857, __FILE__, __LINE__, true);
4363 : 0 : return _r;
4364 : : }
4365 : 0 : next_after_fail1245:;
4366 : 0 : }
4367 : : else
4368 : : {
4369 : 218 : if (! inside_float && ! inter_float && ! final_float
4370 : : && ! inside_vec && ! inter_vec && ! final_vec
4371 : 0 : && (inter_prec >= inside_prec || inter_prec >= final_prec)
4372 : 0 : && ! (inside_int && inter_int
4373 : 0 : && inter_unsignedp != inside_unsignedp
4374 : 0 : && inter_prec < final_prec)
4375 : 0 : && ((inter_unsignedp && inter_prec > inside_prec)
4376 : 0 : == (final_unsignedp && final_prec > inter_prec))
4377 : 0 : && ! (inside_ptr && inter_prec != final_prec)
4378 : 0 : && ! (final_ptr && inside_prec != inter_prec)
4379 : : )
4380 : : {
4381 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1246;
4382 : 0 : {
4383 : 0 : tree res_op0;
4384 : 0 : res_op0 = captures[1];
4385 : 0 : tree _r;
4386 : 0 : _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
4387 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 858, __FILE__, __LINE__, true);
4388 : 0 : return _r;
4389 : : }
4390 : 0 : next_after_fail1246:;
4391 : 0 : }
4392 : : else
4393 : : {
4394 : 218 : if (inside_int && inter_int && final_int
4395 : 0 : && final_prec <= inside_prec
4396 : 0 : && inter_prec >= inside_prec
4397 : : )
4398 : : {
4399 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1247;
4400 : 0 : {
4401 : 0 : tree res_op0;
4402 : 0 : res_op0 = captures[1];
4403 : 0 : tree _r;
4404 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4405 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 859, __FILE__, __LINE__, true);
4406 : 0 : return _r;
4407 : : }
4408 : 0 : next_after_fail1247:;
4409 : 0 : }
4410 : : else
4411 : : {
4412 : : if (0
4413 : : && final_int && inter_int && inside_int
4414 : : && final_prec >= inside_prec
4415 : : && inside_prec > inter_prec
4416 : : && inter_unsignedp
4417 : : )
4418 : : {
4419 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1248;
4420 : : {
4421 : : tree res_op0;
4422 : : {
4423 : : tree _o1[2], _r1;
4424 : : _o1[0] = captures[1];
4425 : : _o1[1] = wide_int_to_tree
4426 : : (inside_type,
4427 : : wi::mask (inter_prec, false,
4428 : : TYPE_PRECISION (inside_type)));
4429 : : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
4430 : : res_op0 = _r1;
4431 : : }
4432 : : tree _r;
4433 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4434 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 860, __FILE__, __LINE__, true);
4435 : : return _r;
4436 : : }
4437 : : next_after_fail1248:;
4438 : : }
4439 : : else
4440 : : {
4441 : : if (0
4442 : : && inside_int && inter_float && final_int &&
4443 : : (unsigned) significand_size (TYPE_MODE (inter_type))
4444 : : >= inside_prec - !inside_unsignedp
4445 : : )
4446 : : {
4447 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1249;
4448 : : {
4449 : : tree res_op0;
4450 : : res_op0 = captures[1];
4451 : : tree _r;
4452 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4453 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 861, __FILE__, __LINE__, true);
4454 : : return _r;
4455 : : }
4456 : : next_after_fail1249:;
4457 : : }
4458 : : }
4459 : : }
4460 : : }
4461 : : }
4462 : : }
4463 : : }
4464 : : }
4465 : : }
4466 : 218 : break;
4467 : : }
4468 : 589 : case FLOAT_EXPR:
4469 : 589 : {
4470 : 589 : tree _q20 = TREE_OPERAND (_p0, 0);
4471 : 589 : {
4472 : 589 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
4473 : 589 : {
4474 : 589 : tree inside_type = TREE_TYPE (captures[1]);
4475 : 589 : tree inter_type = TREE_TYPE (captures[0]);
4476 : 589 : int inside_int = INTEGRAL_TYPE_P (inside_type);
4477 : 589 : int inside_ptr = POINTER_TYPE_P (inside_type);
4478 : 589 : int inside_float = FLOAT_TYPE_P (inside_type);
4479 : 589 : int inside_vec = VECTOR_TYPE_P (inside_type);
4480 : 589 : unsigned int inside_prec = element_precision (inside_type);
4481 : 589 : int inside_unsignedp = TYPE_UNSIGNED (inside_type);
4482 : 589 : int inter_int = INTEGRAL_TYPE_P (inter_type);
4483 : 589 : int inter_ptr = POINTER_TYPE_P (inter_type);
4484 : 589 : int inter_float = FLOAT_TYPE_P (inter_type);
4485 : 589 : int inter_vec = VECTOR_TYPE_P (inter_type);
4486 : 589 : unsigned int inter_prec = element_precision (inter_type);
4487 : 589 : int inter_unsignedp = TYPE_UNSIGNED (inter_type);
4488 : 589 : int final_int = INTEGRAL_TYPE_P (type);
4489 : 589 : int final_ptr = POINTER_TYPE_P (type);
4490 : 589 : int final_float = FLOAT_TYPE_P (type);
4491 : 589 : int final_vec = VECTOR_TYPE_P (type);
4492 : 589 : unsigned int final_prec = element_precision (type);
4493 : 589 : int final_unsignedp = TYPE_UNSIGNED (type);
4494 : 589 : if (((
4495 : :
4496 : : && useless_type_conversion_p (type, inside_type))
4497 : : || (
4498 : : 1
4499 : 589 : && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type)))
4500 : 44 : && (((inter_int || inter_ptr) && final_int)
4501 : 44 : || (inter_float && final_float))
4502 : 589 : && inter_prec >= final_prec
4503 : : )
4504 : : {
4505 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1250;
4506 : 0 : {
4507 : 0 : tree res_op0;
4508 : 0 : res_op0 = captures[1];
4509 : 0 : tree _r;
4510 : 0 : _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
4511 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 855, __FILE__, __LINE__, true);
4512 : 0 : return _r;
4513 : : }
4514 : 0 : next_after_fail1250:;
4515 : : }
4516 : : else
4517 : : {
4518 : 589 : if (((inter_int && inside_int) || (inter_float && inside_float))
4519 : 0 : && (final_int || final_float)
4520 : 0 : && inter_prec >= inside_prec
4521 : 0 : && (inter_float || inter_unsignedp == inside_unsignedp)
4522 : : )
4523 : : {
4524 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1251;
4525 : 0 : {
4526 : 0 : tree res_op0;
4527 : 0 : res_op0 = captures[1];
4528 : 0 : tree _r;
4529 : 0 : _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
4530 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 856, __FILE__, __LINE__, true);
4531 : 0 : return _r;
4532 : : }
4533 : 0 : next_after_fail1251:;
4534 : 0 : }
4535 : : else
4536 : : {
4537 : 589 : if (inside_int && inter_int && final_int
4538 : 0 : && ((inside_prec < inter_prec && inter_prec < final_prec
4539 : 0 : && inside_unsignedp && !inter_unsignedp)
4540 : 0 : || final_prec == inter_prec
4541 : 0 : || (inside_prec < inter_prec && inter_prec > final_prec
4542 : 0 : && !inside_unsignedp && inter_unsignedp))
4543 : : )
4544 : : {
4545 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1252;
4546 : 0 : {
4547 : 0 : tree res_op0;
4548 : 0 : res_op0 = captures[1];
4549 : 0 : tree _r;
4550 : 0 : _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
4551 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 857, __FILE__, __LINE__, true);
4552 : 0 : return _r;
4553 : : }
4554 : 0 : next_after_fail1252:;
4555 : 0 : }
4556 : : else
4557 : : {
4558 : 589 : if (! inside_float && ! inter_float && ! final_float
4559 : : && ! inside_vec && ! inter_vec && ! final_vec
4560 : 0 : && (inter_prec >= inside_prec || inter_prec >= final_prec)
4561 : 0 : && ! (inside_int && inter_int
4562 : 0 : && inter_unsignedp != inside_unsignedp
4563 : 0 : && inter_prec < final_prec)
4564 : 0 : && ((inter_unsignedp && inter_prec > inside_prec)
4565 : 0 : == (final_unsignedp && final_prec > inter_prec))
4566 : 0 : && ! (inside_ptr && inter_prec != final_prec)
4567 : 0 : && ! (final_ptr && inside_prec != inter_prec)
4568 : : )
4569 : : {
4570 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1253;
4571 : 0 : {
4572 : 0 : tree res_op0;
4573 : 0 : res_op0 = captures[1];
4574 : 0 : tree _r;
4575 : 0 : _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
4576 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 858, __FILE__, __LINE__, true);
4577 : 0 : return _r;
4578 : : }
4579 : 0 : next_after_fail1253:;
4580 : 0 : }
4581 : : else
4582 : : {
4583 : 589 : if (inside_int && inter_int && final_int
4584 : 0 : && final_prec <= inside_prec
4585 : 0 : && inter_prec >= inside_prec
4586 : : )
4587 : : {
4588 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1254;
4589 : 0 : {
4590 : 0 : tree res_op0;
4591 : 0 : res_op0 = captures[1];
4592 : 0 : tree _r;
4593 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4594 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 859, __FILE__, __LINE__, true);
4595 : 0 : return _r;
4596 : : }
4597 : 0 : next_after_fail1254:;
4598 : 0 : }
4599 : : else
4600 : : {
4601 : : if (0
4602 : : && final_int && inter_int && inside_int
4603 : : && final_prec >= inside_prec
4604 : : && inside_prec > inter_prec
4605 : : && inter_unsignedp
4606 : : )
4607 : : {
4608 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1255;
4609 : : {
4610 : : tree res_op0;
4611 : : {
4612 : : tree _o1[2], _r1;
4613 : : _o1[0] = captures[1];
4614 : : _o1[1] = wide_int_to_tree
4615 : : (inside_type,
4616 : : wi::mask (inter_prec, false,
4617 : : TYPE_PRECISION (inside_type)));
4618 : : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
4619 : : res_op0 = _r1;
4620 : : }
4621 : : tree _r;
4622 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4623 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 860, __FILE__, __LINE__, true);
4624 : : return _r;
4625 : : }
4626 : : next_after_fail1255:;
4627 : : }
4628 : : else
4629 : : {
4630 : : if (0
4631 : : && inside_int && inter_float && final_int &&
4632 : : (unsigned) significand_size (TYPE_MODE (inter_type))
4633 : : >= inside_prec - !inside_unsignedp
4634 : : )
4635 : : {
4636 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1256;
4637 : : {
4638 : : tree res_op0;
4639 : : res_op0 = captures[1];
4640 : : tree _r;
4641 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4642 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 861, __FILE__, __LINE__, true);
4643 : : return _r;
4644 : : }
4645 : : next_after_fail1256:;
4646 : : }
4647 : : }
4648 : : }
4649 : : }
4650 : : }
4651 : : }
4652 : : }
4653 : : }
4654 : : }
4655 : 589 : break;
4656 : : }
4657 : : default:;
4658 : : }
4659 : : return NULL_TREE;
4660 : : }
4661 : :
4662 : : tree
4663 : 708195 : generic_simplify_BIT_XOR_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
4664 : : {
4665 : 708195 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
4666 : 708195 : if (integer_zerop (_p1))
4667 : : {
4668 : 536 : {
4669 : 536 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
4670 : 536 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1419;
4671 : 536 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1419;
4672 : 536 : {
4673 : 536 : tree res_op0;
4674 : 536 : res_op0 = captures[0];
4675 : 536 : tree _r;
4676 : 536 : _r = non_lvalue_loc (loc, res_op0);
4677 : 536 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
4678 : 536 : return _r;
4679 : : }
4680 : : next_after_fail1419:;
4681 : : }
4682 : : }
4683 : 707659 : switch (TREE_CODE (_p0))
4684 : : {
4685 : 2971 : case LSHIFT_EXPR:
4686 : 2971 : {
4687 : 2971 : tree _q20 = TREE_OPERAND (_p0, 0);
4688 : 2971 : tree _q21 = TREE_OPERAND (_p0, 1);
4689 : 2971 : switch (TREE_CODE (_p1))
4690 : : {
4691 : 10 : case LSHIFT_EXPR:
4692 : 10 : {
4693 : 10 : tree _q50 = TREE_OPERAND (_p1, 0);
4694 : 10 : tree _q51 = TREE_OPERAND (_p1, 1);
4695 : 10 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4696 : : {
4697 : 1 : {
4698 : 1 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
4699 : 1 : tree res = generic_simplify_65 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4700 : 1 : if (res) return res;
4701 : : }
4702 : : }
4703 : : break;
4704 : : }
4705 : : default:;
4706 : : }
4707 : : break;
4708 : : }
4709 : 8961 : case RSHIFT_EXPR:
4710 : 8961 : {
4711 : 8961 : tree _q20 = TREE_OPERAND (_p0, 0);
4712 : 8961 : tree _q21 = TREE_OPERAND (_p0, 1);
4713 : 8961 : switch (TREE_CODE (_p1))
4714 : : {
4715 : 20 : case RSHIFT_EXPR:
4716 : 20 : {
4717 : 20 : tree _q50 = TREE_OPERAND (_p1, 0);
4718 : 20 : tree _q51 = TREE_OPERAND (_p1, 1);
4719 : 20 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4720 : : {
4721 : 10 : {
4722 : 10 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
4723 : 10 : tree res = generic_simplify_66 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4724 : 10 : if (res) return res;
4725 : : }
4726 : : }
4727 : : break;
4728 : : }
4729 : : default:;
4730 : : }
4731 : : break;
4732 : : }
4733 : 2836 : case BIT_AND_EXPR:
4734 : 2836 : {
4735 : 2836 : tree _q20 = TREE_OPERAND (_p0, 0);
4736 : 2836 : tree _q21 = TREE_OPERAND (_p0, 1);
4737 : 2836 : switch (TREE_CODE (_p1))
4738 : : {
4739 : 354 : case BIT_AND_EXPR:
4740 : 354 : {
4741 : 354 : tree _q50 = TREE_OPERAND (_p1, 0);
4742 : 354 : tree _q51 = TREE_OPERAND (_p1, 1);
4743 : 354 : {
4744 : 354 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51 };
4745 : 354 : tree res = generic_simplify_7 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4746 : 354 : if (res) return res;
4747 : : }
4748 : 354 : {
4749 : 354 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q50 };
4750 : 354 : tree res = generic_simplify_7 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4751 : 354 : if (res) return res;
4752 : : }
4753 : 354 : {
4754 : 354 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q51 };
4755 : 354 : tree res = generic_simplify_7 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4756 : 354 : if (res) return res;
4757 : : }
4758 : 354 : {
4759 : 354 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q50 };
4760 : 354 : tree res = generic_simplify_7 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4761 : 354 : if (res) return res;
4762 : : }
4763 : 354 : break;
4764 : : }
4765 : 2836 : default:;
4766 : : }
4767 : 2836 : switch (TREE_CODE (_q21))
4768 : : {
4769 : 41 : case BIT_NOT_EXPR:
4770 : 41 : {
4771 : 41 : tree _q40 = TREE_OPERAND (_q21, 0);
4772 : 41 : switch (TREE_CODE (_p1))
4773 : : {
4774 : 0 : case BIT_NOT_EXPR:
4775 : 0 : {
4776 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
4777 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
4778 : : {
4779 : 0 : {
4780 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
4781 : 0 : tree res = generic_simplify_151 (loc, type, _p0, _p1, captures);
4782 : 0 : if (res) return res;
4783 : : }
4784 : : }
4785 : : break;
4786 : : }
4787 : : default:;
4788 : : }
4789 : : break;
4790 : : }
4791 : 2836 : default:;
4792 : : }
4793 : 2836 : switch (TREE_CODE (_q20))
4794 : : {
4795 : 90 : case BIT_NOT_EXPR:
4796 : 90 : {
4797 : 90 : tree _q30 = TREE_OPERAND (_q20, 0);
4798 : 90 : switch (TREE_CODE (_p1))
4799 : : {
4800 : 0 : case BIT_NOT_EXPR:
4801 : 0 : {
4802 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
4803 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
4804 : : {
4805 : 0 : {
4806 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q30 };
4807 : 0 : tree res = generic_simplify_151 (loc, type, _p0, _p1, captures);
4808 : 0 : if (res) return res;
4809 : : }
4810 : : }
4811 : : break;
4812 : : }
4813 : 90 : default:;
4814 : : }
4815 : 90 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
4816 : : {
4817 : 0 : {
4818 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q21 };
4819 : 0 : tree res = generic_simplify_152 (loc, type, _p0, _p1, captures);
4820 : 0 : if (res) return res;
4821 : : }
4822 : : }
4823 : : break;
4824 : : }
4825 : 2836 : default:;
4826 : : }
4827 : 2836 : switch (TREE_CODE (_q21))
4828 : : {
4829 : 41 : case BIT_NOT_EXPR:
4830 : 41 : {
4831 : 41 : tree _q40 = TREE_OPERAND (_q21, 0);
4832 : 41 : if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
4833 : : {
4834 : 0 : {
4835 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q20 };
4836 : 0 : tree res = generic_simplify_152 (loc, type, _p0, _p1, captures);
4837 : 0 : if (res) return res;
4838 : : }
4839 : : }
4840 : : break;
4841 : : }
4842 : : default:;
4843 : : }
4844 : : break;
4845 : : }
4846 : 498 : case BIT_NOT_EXPR:
4847 : 498 : {
4848 : 498 : tree _q20 = TREE_OPERAND (_p0, 0);
4849 : 498 : switch (TREE_CODE (_p1))
4850 : : {
4851 : 51 : case BIT_AND_EXPR:
4852 : 51 : {
4853 : 51 : tree _q40 = TREE_OPERAND (_p1, 0);
4854 : 51 : tree _q41 = TREE_OPERAND (_p1, 1);
4855 : 51 : if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
4856 : : {
4857 : 0 : switch (TREE_CODE (_q41))
4858 : : {
4859 : 0 : case BIT_NOT_EXPR:
4860 : 0 : {
4861 : 0 : tree _q60 = TREE_OPERAND (_q41, 0);
4862 : 0 : {
4863 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q60 };
4864 : 0 : tree res = generic_simplify_151 (loc, type, _p0, _p1, captures);
4865 : 0 : if (res) return res;
4866 : : }
4867 : 0 : break;
4868 : : }
4869 : : default:;
4870 : : }
4871 : : }
4872 : 51 : switch (TREE_CODE (_q40))
4873 : : {
4874 : 7 : case BIT_NOT_EXPR:
4875 : 7 : {
4876 : 7 : tree _q50 = TREE_OPERAND (_q40, 0);
4877 : 7 : if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
4878 : : {
4879 : 0 : {
4880 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q50 };
4881 : 0 : tree res = generic_simplify_151 (loc, type, _p0, _p1, captures);
4882 : 0 : if (res) return res;
4883 : : }
4884 : : }
4885 : : break;
4886 : : }
4887 : : default:;
4888 : : }
4889 : : break;
4890 : : }
4891 : : default:;
4892 : : }
4893 : : break;
4894 : : }
4895 : 707648 : default:;
4896 : : }
4897 : 707648 : switch (TREE_CODE (_p1))
4898 : : {
4899 : 697 : case BIT_AND_EXPR:
4900 : 697 : {
4901 : 697 : tree _q30 = TREE_OPERAND (_p1, 0);
4902 : 697 : tree _q31 = TREE_OPERAND (_p1, 1);
4903 : 697 : switch (TREE_CODE (_q30))
4904 : : {
4905 : 57 : case BIT_NOT_EXPR:
4906 : 57 : {
4907 : 57 : tree _q40 = TREE_OPERAND (_q30, 0);
4908 : 57 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
4909 : : {
4910 : 0 : {
4911 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q31 };
4912 : 0 : tree res = generic_simplify_152 (loc, type, _p0, _p1, captures);
4913 : 0 : if (res) return res;
4914 : : }
4915 : : }
4916 : : break;
4917 : : }
4918 : 697 : default:;
4919 : : }
4920 : 697 : switch (TREE_CODE (_q31))
4921 : : {
4922 : 8 : case BIT_NOT_EXPR:
4923 : 8 : {
4924 : 8 : tree _q50 = TREE_OPERAND (_q31, 0);
4925 : 8 : if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
4926 : : {
4927 : 0 : {
4928 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q30 };
4929 : 0 : tree res = generic_simplify_152 (loc, type, _p0, _p1, captures);
4930 : 0 : if (res) return res;
4931 : : }
4932 : : }
4933 : : break;
4934 : : }
4935 : : default:;
4936 : : }
4937 : : break;
4938 : : }
4939 : 707648 : default:;
4940 : : }
4941 : 707648 : switch (TREE_CODE (_p0))
4942 : : {
4943 : 20692 : case PLUS_EXPR:
4944 : 20692 : {
4945 : 20692 : tree _q20 = TREE_OPERAND (_p0, 0);
4946 : 20692 : tree _q21 = TREE_OPERAND (_p0, 1);
4947 : 20692 : if (integer_minus_onep (_q21))
4948 : : {
4949 : 10084 : switch (TREE_CODE (_p1))
4950 : : {
4951 : 11 : case NEGATE_EXPR:
4952 : 11 : {
4953 : 11 : tree _q50 = TREE_OPERAND (_p1, 0);
4954 : 11 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
4955 : : {
4956 : 11 : {
4957 : 11 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
4958 : 11 : tree res = generic_simplify_75 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4959 : 11 : if (res) return res;
4960 : : }
4961 : : }
4962 : : break;
4963 : : }
4964 : : default:;
4965 : : }
4966 : : }
4967 : : break;
4968 : : }
4969 : 142 : case NEGATE_EXPR:
4970 : 142 : {
4971 : 142 : tree _q20 = TREE_OPERAND (_p0, 0);
4972 : 142 : switch (TREE_CODE (_p1))
4973 : : {
4974 : 0 : case PLUS_EXPR:
4975 : 0 : {
4976 : 0 : tree _q40 = TREE_OPERAND (_p1, 0);
4977 : 0 : tree _q41 = TREE_OPERAND (_p1, 1);
4978 : 0 : if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
4979 : : {
4980 : 0 : if (integer_minus_onep (_q41))
4981 : : {
4982 : 0 : {
4983 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
4984 : 0 : tree res = generic_simplify_76 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4985 : 0 : if (res) return res;
4986 : : }
4987 : : }
4988 : : }
4989 : : break;
4990 : : }
4991 : 0 : case MINUS_EXPR:
4992 : 0 : {
4993 : 0 : tree _q40 = TREE_OPERAND (_p1, 0);
4994 : 0 : tree _q41 = TREE_OPERAND (_p1, 1);
4995 : 0 : if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
4996 : : {
4997 : 0 : if (integer_onep (_q41))
4998 : : {
4999 : 0 : {
5000 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
5001 : 0 : tree res = generic_simplify_77 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5002 : 0 : if (res) return res;
5003 : : }
5004 : : }
5005 : : }
5006 : : break;
5007 : : }
5008 : : default:;
5009 : : }
5010 : : break;
5011 : : }
5012 : 102 : case MINUS_EXPR:
5013 : 102 : {
5014 : 102 : tree _q20 = TREE_OPERAND (_p0, 0);
5015 : 102 : tree _q21 = TREE_OPERAND (_p0, 1);
5016 : 102 : if (integer_onep (_q21))
5017 : : {
5018 : 0 : switch (TREE_CODE (_p1))
5019 : : {
5020 : 0 : case NEGATE_EXPR:
5021 : 0 : {
5022 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
5023 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5024 : : {
5025 : 0 : {
5026 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
5027 : 0 : tree res = generic_simplify_78 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5028 : 0 : if (res) return res;
5029 : : }
5030 : : }
5031 : : break;
5032 : : }
5033 : : default:;
5034 : : }
5035 : : }
5036 : : break;
5037 : : }
5038 : 1310 : case BIT_IOR_EXPR:
5039 : 1310 : {
5040 : 1310 : tree _q20 = TREE_OPERAND (_p0, 0);
5041 : 1310 : tree _q21 = TREE_OPERAND (_p0, 1);
5042 : 1310 : switch (TREE_CODE (_q20))
5043 : : {
5044 : 481 : case BIT_NOT_EXPR:
5045 : 481 : {
5046 : 481 : tree _q30 = TREE_OPERAND (_q20, 0);
5047 : 481 : {
5048 : 481 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _p1 };
5049 : 481 : tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
5050 : 481 : if (res) return res;
5051 : : }
5052 : 480 : break;
5053 : : }
5054 : 1309 : default:;
5055 : : }
5056 : 1309 : switch (TREE_CODE (_q21))
5057 : : {
5058 : 62 : case BIT_NOT_EXPR:
5059 : 62 : {
5060 : 62 : tree _q40 = TREE_OPERAND (_q21, 0);
5061 : 62 : {
5062 : 62 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q20, _p1 };
5063 : 62 : tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
5064 : 62 : if (res) return res;
5065 : : }
5066 : 62 : break;
5067 : : }
5068 : : default:;
5069 : : }
5070 : : break;
5071 : : }
5072 : 707636 : default:;
5073 : : }
5074 : 707636 : switch (TREE_CODE (_p1))
5075 : : {
5076 : 521 : case BIT_IOR_EXPR:
5077 : 521 : {
5078 : 521 : tree _q30 = TREE_OPERAND (_p1, 0);
5079 : 521 : tree _q31 = TREE_OPERAND (_p1, 1);
5080 : 521 : switch (TREE_CODE (_q30))
5081 : : {
5082 : 21 : case BIT_NOT_EXPR:
5083 : 21 : {
5084 : 21 : tree _q40 = TREE_OPERAND (_q30, 0);
5085 : 21 : {
5086 : 21 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q31, _p0 };
5087 : 21 : tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
5088 : 21 : if (res) return res;
5089 : : }
5090 : 21 : break;
5091 : : }
5092 : 521 : default:;
5093 : : }
5094 : 521 : switch (TREE_CODE (_q31))
5095 : : {
5096 : 25 : case BIT_NOT_EXPR:
5097 : 25 : {
5098 : 25 : tree _q50 = TREE_OPERAND (_q31, 0);
5099 : 25 : {
5100 : 25 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q31, _q50, _q30, _p0 };
5101 : 25 : tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
5102 : 25 : if (res) return res;
5103 : : }
5104 : 25 : break;
5105 : : }
5106 : : default:;
5107 : : }
5108 : : break;
5109 : : }
5110 : 707636 : default:;
5111 : : }
5112 : 707636 : switch (TREE_CODE (_p0))
5113 : : {
5114 : 2836 : case BIT_AND_EXPR:
5115 : 2836 : {
5116 : 2836 : tree _q20 = TREE_OPERAND (_p0, 0);
5117 : 2836 : tree _q21 = TREE_OPERAND (_p0, 1);
5118 : 2836 : switch (TREE_CODE (_q20))
5119 : : {
5120 : 90 : case BIT_NOT_EXPR:
5121 : 90 : {
5122 : 90 : tree _q30 = TREE_OPERAND (_q20, 0);
5123 : 90 : {
5124 : 90 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _p1 };
5125 : 90 : tree res = generic_simplify_154 (loc, type, _p0, _p1, captures);
5126 : 90 : if (res) return res;
5127 : : }
5128 : 89 : break;
5129 : : }
5130 : 2835 : default:;
5131 : : }
5132 : 2835 : switch (TREE_CODE (_q21))
5133 : : {
5134 : 41 : case BIT_NOT_EXPR:
5135 : 41 : {
5136 : 41 : tree _q40 = TREE_OPERAND (_q21, 0);
5137 : 41 : {
5138 : 41 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q20, _p1 };
5139 : 41 : tree res = generic_simplify_154 (loc, type, _p0, _p1, captures);
5140 : 41 : if (res) return res;
5141 : : }
5142 : 41 : break;
5143 : : }
5144 : : default:;
5145 : : }
5146 : : break;
5147 : : }
5148 : 707635 : default:;
5149 : : }
5150 : 707635 : switch (TREE_CODE (_p1))
5151 : : {
5152 : 697 : case BIT_AND_EXPR:
5153 : 697 : {
5154 : 697 : tree _q30 = TREE_OPERAND (_p1, 0);
5155 : 697 : tree _q31 = TREE_OPERAND (_p1, 1);
5156 : 697 : switch (TREE_CODE (_q30))
5157 : : {
5158 : 57 : case BIT_NOT_EXPR:
5159 : 57 : {
5160 : 57 : tree _q40 = TREE_OPERAND (_q30, 0);
5161 : 57 : {
5162 : 57 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q31, _p0 };
5163 : 57 : tree res = generic_simplify_154 (loc, type, _p0, _p1, captures);
5164 : 57 : if (res) return res;
5165 : : }
5166 : 57 : break;
5167 : : }
5168 : 697 : default:;
5169 : : }
5170 : 697 : switch (TREE_CODE (_q31))
5171 : : {
5172 : 8 : case BIT_NOT_EXPR:
5173 : 8 : {
5174 : 8 : tree _q50 = TREE_OPERAND (_q31, 0);
5175 : 8 : {
5176 : 8 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q31, _q50, _q30, _p0 };
5177 : 8 : tree res = generic_simplify_154 (loc, type, _p0, _p1, captures);
5178 : 8 : if (res) return res;
5179 : : }
5180 : 8 : break;
5181 : : }
5182 : : default:;
5183 : : }
5184 : : break;
5185 : : }
5186 : 707635 : default:;
5187 : : }
5188 : 707635 : switch (TREE_CODE (_p0))
5189 : : {
5190 : 516207 : CASE_CONVERT:
5191 : 516207 : {
5192 : 516207 : tree _q20 = TREE_OPERAND (_p0, 0);
5193 : 516207 : switch (TREE_CODE (_p1))
5194 : : {
5195 : 512006 : CASE_CONVERT:
5196 : 512006 : {
5197 : 512006 : tree _q40 = TREE_OPERAND (_p1, 0);
5198 : 512006 : {
5199 : 512006 : tree _q40_pops[1];
5200 : 512006 : if (tree_maybe_bit_not (_q40, _q40_pops))
5201 : : {
5202 : 0 : tree _q50 = _q40_pops[0];
5203 : 0 : {
5204 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
5205 : 0 : tree res = generic_simplify_88 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5206 : 0 : if (res) return res;
5207 : : }
5208 : : }
5209 : : }
5210 : 512006 : break;
5211 : : }
5212 : 516207 : default:;
5213 : : }
5214 : 516207 : {
5215 : 516207 : tree _q20_pops[1];
5216 : 516207 : if (tree_maybe_bit_not (_q20, _q20_pops))
5217 : : {
5218 : 15245 : tree _q30 = _q20_pops[0];
5219 : 15245 : switch (TREE_CODE (_p1))
5220 : : {
5221 : 15195 : CASE_CONVERT:
5222 : 15195 : {
5223 : 15195 : tree _q50 = TREE_OPERAND (_p1, 0);
5224 : 15195 : {
5225 : 15195 : tree captures[2] ATTRIBUTE_UNUSED = { _q50, _q30 };
5226 : 15195 : tree res = generic_simplify_88 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5227 : 15195 : if (res) return res;
5228 : : }
5229 : 15195 : break;
5230 : : }
5231 : : default:;
5232 : : }
5233 : : }
5234 : : }
5235 : 516207 : break;
5236 : : }
5237 : 707635 : default:;
5238 : : }
5239 : 707635 : {
5240 : 707635 : tree _p1_pops[1];
5241 : 707635 : if (tree_maybe_bit_not (_p1, _p1_pops))
5242 : : {
5243 : 8583 : tree _q30 = _p1_pops[0];
5244 : 8583 : {
5245 : 8583 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
5246 : 8583 : tree res = generic_simplify_88 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5247 : 8583 : if (res) return res;
5248 : : }
5249 : : }
5250 : : }
5251 : 707635 : {
5252 : 707635 : tree _p0_pops[1];
5253 : 707635 : if (tree_maybe_bit_not (_p0, _p0_pops))
5254 : : {
5255 : 1039 : tree _q20 = _p0_pops[0];
5256 : 1039 : {
5257 : 1039 : tree captures[2] ATTRIBUTE_UNUSED = { _p1, _q20 };
5258 : 1039 : tree res = generic_simplify_88 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5259 : 1039 : if (res) return res;
5260 : : }
5261 : : }
5262 : : }
5263 : 707614 : if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
5264 : : {
5265 : 151 : {
5266 : 151 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
5267 : 151 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1420;
5268 : 151 : {
5269 : 151 : tree _r;
5270 : 151 : _r = build_zero_cst (type);
5271 : 151 : if (TREE_SIDE_EFFECTS (captures[0]))
5272 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
5273 : 151 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 956, __FILE__, __LINE__, true);
5274 : 151 : return _r;
5275 : : }
5276 : 0 : next_after_fail1420:;
5277 : : }
5278 : : }
5279 : 707463 : if (integer_all_onesp (_p1))
5280 : : {
5281 : 1092 : {
5282 : 1092 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
5283 : 1092 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1421;
5284 : 1092 : {
5285 : 1092 : tree res_op0;
5286 : 1092 : res_op0 = captures[0];
5287 : 1092 : tree _r;
5288 : 1092 : _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
5289 : 1092 : if (TREE_SIDE_EFFECTS (captures[1]))
5290 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
5291 : 1092 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 957, __FILE__, __LINE__, true);
5292 : 1092 : return _r;
5293 : : }
5294 : 0 : next_after_fail1421:;
5295 : : }
5296 : : }
5297 : 706371 : switch (TREE_CODE (_p0))
5298 : : {
5299 : 1302 : case BIT_IOR_EXPR:
5300 : 1302 : {
5301 : 1302 : tree _q20 = TREE_OPERAND (_p0, 0);
5302 : 1302 : tree _q21 = TREE_OPERAND (_p0, 1);
5303 : 1302 : switch (TREE_CODE (_p1))
5304 : : {
5305 : 179 : case BIT_IOR_EXPR:
5306 : 179 : {
5307 : 179 : tree _q50 = TREE_OPERAND (_p1, 0);
5308 : 179 : tree _q51 = TREE_OPERAND (_p1, 1);
5309 : 179 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5310 : : {
5311 : 0 : switch (TREE_CODE (_q51))
5312 : : {
5313 : 0 : case BIT_NOT_EXPR:
5314 : 0 : {
5315 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
5316 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
5317 : : {
5318 : 0 : {
5319 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
5320 : 0 : tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
5321 : 0 : if (res) return res;
5322 : : }
5323 : : }
5324 : : break;
5325 : : }
5326 : : default:;
5327 : : }
5328 : : }
5329 : 179 : switch (TREE_CODE (_q50))
5330 : : {
5331 : 20 : case BIT_NOT_EXPR:
5332 : 20 : {
5333 : 20 : tree _q60 = TREE_OPERAND (_q50, 0);
5334 : 20 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
5335 : : {
5336 : 2 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
5337 : : {
5338 : 1 : {
5339 : 1 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
5340 : 1 : tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
5341 : 1 : if (res) return res;
5342 : : }
5343 : : }
5344 : : }
5345 : 19 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
5346 : : {
5347 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5348 : : {
5349 : 0 : {
5350 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
5351 : 0 : tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
5352 : 0 : if (res) return res;
5353 : : }
5354 : : }
5355 : : }
5356 : : break;
5357 : : }
5358 : 178 : default:;
5359 : : }
5360 : 178 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
5361 : : {
5362 : 0 : switch (TREE_CODE (_q51))
5363 : : {
5364 : 0 : case BIT_NOT_EXPR:
5365 : 0 : {
5366 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
5367 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
5368 : : {
5369 : 0 : {
5370 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
5371 : 0 : tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
5372 : 0 : if (res) return res;
5373 : : }
5374 : : }
5375 : : break;
5376 : : }
5377 : : default:;
5378 : : }
5379 : : }
5380 : : break;
5381 : : }
5382 : 1301 : default:;
5383 : : }
5384 : 1301 : switch (TREE_CODE (_q21))
5385 : : {
5386 : 62 : case BIT_NOT_EXPR:
5387 : 62 : {
5388 : 62 : tree _q40 = TREE_OPERAND (_q21, 0);
5389 : 62 : switch (TREE_CODE (_p1))
5390 : : {
5391 : 9 : case BIT_IOR_EXPR:
5392 : 9 : {
5393 : 9 : tree _q60 = TREE_OPERAND (_p1, 0);
5394 : 9 : tree _q61 = TREE_OPERAND (_p1, 1);
5395 : 9 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
5396 : : {
5397 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
5398 : : {
5399 : 0 : {
5400 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
5401 : 0 : tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
5402 : 0 : if (res) return res;
5403 : : }
5404 : : }
5405 : : }
5406 : : break;
5407 : : }
5408 : : default:;
5409 : : }
5410 : : break;
5411 : : }
5412 : 1301 : default:;
5413 : : }
5414 : 1301 : switch (TREE_CODE (_q20))
5415 : : {
5416 : 480 : case BIT_NOT_EXPR:
5417 : 480 : {
5418 : 480 : tree _q30 = TREE_OPERAND (_q20, 0);
5419 : 480 : switch (TREE_CODE (_p1))
5420 : : {
5421 : 28 : case BIT_IOR_EXPR:
5422 : 28 : {
5423 : 28 : tree _q60 = TREE_OPERAND (_p1, 0);
5424 : 28 : tree _q61 = TREE_OPERAND (_p1, 1);
5425 : 28 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
5426 : : {
5427 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
5428 : : {
5429 : 0 : {
5430 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q30 };
5431 : 0 : tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
5432 : 0 : if (res) return res;
5433 : : }
5434 : : }
5435 : : }
5436 : 28 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
5437 : : {
5438 : 9 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
5439 : : {
5440 : 0 : {
5441 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q30 };
5442 : 0 : tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
5443 : 0 : if (res) return res;
5444 : : }
5445 : : }
5446 : 9 : switch (TREE_CODE (_q61))
5447 : : {
5448 : 0 : case BIT_NOT_EXPR:
5449 : 0 : {
5450 : 0 : tree _q80 = TREE_OPERAND (_q61, 0);
5451 : 0 : if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
5452 : : {
5453 : 0 : {
5454 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
5455 : 0 : tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
5456 : 0 : if (res) return res;
5457 : : }
5458 : : }
5459 : : break;
5460 : : }
5461 : : default:;
5462 : : }
5463 : : }
5464 : 28 : switch (TREE_CODE (_q60))
5465 : : {
5466 : 1 : case BIT_NOT_EXPR:
5467 : 1 : {
5468 : 1 : tree _q70 = TREE_OPERAND (_q60, 0);
5469 : 1 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
5470 : : {
5471 : 1 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
5472 : : {
5473 : 1 : {
5474 : 1 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
5475 : 1 : tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
5476 : 1 : if (res) return res;
5477 : : }
5478 : : }
5479 : : }
5480 : : break;
5481 : : }
5482 : : default:;
5483 : : }
5484 : : break;
5485 : : }
5486 : 9 : case BIT_XOR_EXPR:
5487 : 9 : {
5488 : 9 : tree _q60 = TREE_OPERAND (_p1, 0);
5489 : 9 : tree _q61 = TREE_OPERAND (_p1, 1);
5490 : 9 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
5491 : : {
5492 : 0 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
5493 : : {
5494 : 0 : {
5495 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q21, _p1 };
5496 : 0 : tree res = generic_simplify_157 (loc, type, _p0, _p1, captures);
5497 : 0 : if (res) return res;
5498 : : }
5499 : : }
5500 : : }
5501 : : break;
5502 : : }
5503 : 479 : default:;
5504 : : }
5505 : 479 : {
5506 : 479 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p1 };
5507 : 479 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
5508 : 479 : if (res) return res;
5509 : : }
5510 : 431 : break;
5511 : : }
5512 : 1252 : default:;
5513 : : }
5514 : 1252 : switch (TREE_CODE (_q21))
5515 : : {
5516 : 62 : case BIT_NOT_EXPR:
5517 : 62 : {
5518 : 62 : tree _q40 = TREE_OPERAND (_q21, 0);
5519 : 62 : switch (TREE_CODE (_p1))
5520 : : {
5521 : 9 : case BIT_IOR_EXPR:
5522 : 9 : {
5523 : 9 : tree _q60 = TREE_OPERAND (_p1, 0);
5524 : 9 : tree _q61 = TREE_OPERAND (_p1, 1);
5525 : 9 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
5526 : : {
5527 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
5528 : : {
5529 : 0 : {
5530 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
5531 : 0 : tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
5532 : 0 : if (res) return res;
5533 : : }
5534 : : }
5535 : : }
5536 : : break;
5537 : : }
5538 : 9 : case BIT_XOR_EXPR:
5539 : 9 : {
5540 : 9 : tree _q60 = TREE_OPERAND (_p1, 0);
5541 : 9 : tree _q61 = TREE_OPERAND (_p1, 1);
5542 : 9 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
5543 : : {
5544 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
5545 : : {
5546 : 0 : {
5547 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q40, _q20, _p1 };
5548 : 0 : tree res = generic_simplify_157 (loc, type, _p0, _p1, captures);
5549 : 0 : if (res) return res;
5550 : : }
5551 : : }
5552 : : }
5553 : : break;
5554 : : }
5555 : : default:;
5556 : : }
5557 : : break;
5558 : : }
5559 : 1252 : default:;
5560 : : }
5561 : 1252 : switch (TREE_CODE (_p1))
5562 : : {
5563 : 65 : case BIT_AND_EXPR:
5564 : 65 : {
5565 : 65 : tree _q50 = TREE_OPERAND (_p1, 0);
5566 : 65 : tree _q51 = TREE_OPERAND (_p1, 1);
5567 : 65 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5568 : : {
5569 : 6 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5570 : : {
5571 : 0 : {
5572 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
5573 : 0 : tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
5574 : 0 : if (res) return res;
5575 : : }
5576 : : }
5577 : : }
5578 : : break;
5579 : : }
5580 : 36 : case BIT_XOR_EXPR:
5581 : 36 : {
5582 : 36 : tree _q50 = TREE_OPERAND (_p1, 0);
5583 : 36 : tree _q51 = TREE_OPERAND (_p1, 1);
5584 : 36 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5585 : : {
5586 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5587 : : {
5588 : 0 : {
5589 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
5590 : 0 : tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
5591 : 0 : if (res) return res;
5592 : : }
5593 : : }
5594 : : }
5595 : : break;
5596 : : }
5597 : 1252 : default:;
5598 : : }
5599 : 1252 : switch (TREE_CODE (_q21))
5600 : : {
5601 : 62 : case BIT_NOT_EXPR:
5602 : 62 : {
5603 : 62 : tree _q40 = TREE_OPERAND (_q21, 0);
5604 : 62 : switch (TREE_CODE (_p1))
5605 : : {
5606 : 9 : case BIT_IOR_EXPR:
5607 : 9 : {
5608 : 9 : tree _q60 = TREE_OPERAND (_p1, 0);
5609 : 9 : tree _q61 = TREE_OPERAND (_p1, 1);
5610 : 9 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
5611 : : {
5612 : 0 : switch (TREE_CODE (_q61))
5613 : : {
5614 : 0 : case BIT_NOT_EXPR:
5615 : 0 : {
5616 : 0 : tree _q80 = TREE_OPERAND (_q61, 0);
5617 : 0 : if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
5618 : : {
5619 : 0 : {
5620 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
5621 : 0 : tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
5622 : 0 : if (res) return res;
5623 : : }
5624 : : }
5625 : : break;
5626 : : }
5627 : : default:;
5628 : : }
5629 : : }
5630 : 9 : switch (TREE_CODE (_q60))
5631 : : {
5632 : 0 : case BIT_NOT_EXPR:
5633 : 0 : {
5634 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
5635 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
5636 : : {
5637 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
5638 : : {
5639 : 0 : {
5640 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
5641 : 0 : tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
5642 : 0 : if (res) return res;
5643 : : }
5644 : : }
5645 : : }
5646 : : break;
5647 : : }
5648 : : default:;
5649 : : }
5650 : : break;
5651 : : }
5652 : : default:;
5653 : : }
5654 : : break;
5655 : : }
5656 : 1252 : default:;
5657 : : }
5658 : 1252 : switch (TREE_CODE (_p1))
5659 : : {
5660 : 24 : CASE_CONVERT:
5661 : 24 : {
5662 : 24 : tree _q50 = TREE_OPERAND (_p1, 0);
5663 : 24 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
5664 : : {
5665 : 0 : {
5666 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q20 };
5667 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
5668 : 0 : if (res) return res;
5669 : : }
5670 : : }
5671 : 24 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
5672 : : {
5673 : 0 : {
5674 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q21 };
5675 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
5676 : 0 : if (res) return res;
5677 : : }
5678 : : }
5679 : : break;
5680 : : }
5681 : 1252 : default:;
5682 : : }
5683 : 1252 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q20, 0))
5684 : : {
5685 : 3 : {
5686 : 3 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q20 };
5687 : 3 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
5688 : 3 : if (res) return res;
5689 : : }
5690 : : }
5691 : 1249 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q21, 0))
5692 : : {
5693 : 3 : {
5694 : 3 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q21 };
5695 : 3 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
5696 : 3 : if (res) return res;
5697 : : }
5698 : : }
5699 : 1246 : {
5700 : 1246 : tree _q20_pops[1];
5701 : 1246 : if (tree_nop_convert (_q20, _q20_pops))
5702 : : {
5703 : 8 : tree _q30 = _q20_pops[0];
5704 : 8 : switch (TREE_CODE (_q30))
5705 : : {
5706 : 8 : case BIT_NOT_EXPR:
5707 : 8 : {
5708 : 8 : tree _q40 = TREE_OPERAND (_q30, 0);
5709 : 8 : {
5710 : 8 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q21, _p1 };
5711 : 8 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
5712 : 8 : if (res) return res;
5713 : : }
5714 : 0 : break;
5715 : : }
5716 : : default:;
5717 : : }
5718 : : }
5719 : : }
5720 : 1238 : switch (TREE_CODE (_q21))
5721 : : {
5722 : 62 : case BIT_NOT_EXPR:
5723 : 62 : {
5724 : 62 : tree _q40 = TREE_OPERAND (_q21, 0);
5725 : 62 : {
5726 : 62 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q20, _p1 };
5727 : 62 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
5728 : 62 : if (res) return res;
5729 : : }
5730 : 54 : break;
5731 : : }
5732 : 1230 : default:;
5733 : : }
5734 : 1230 : {
5735 : 1230 : tree _q21_pops[1];
5736 : 1230 : if (tree_nop_convert (_q21, _q21_pops))
5737 : : {
5738 : 0 : tree _q40 = _q21_pops[0];
5739 : 0 : switch (TREE_CODE (_q40))
5740 : : {
5741 : 0 : case BIT_NOT_EXPR:
5742 : 0 : {
5743 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
5744 : 0 : {
5745 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q20, _p1 };
5746 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
5747 : 0 : if (res) return res;
5748 : : }
5749 : 0 : break;
5750 : : }
5751 : : default:;
5752 : : }
5753 : : }
5754 : : }
5755 : 1230 : break;
5756 : : }
5757 : 3881 : case BIT_XOR_EXPR:
5758 : 3881 : {
5759 : 3881 : tree _q20 = TREE_OPERAND (_p0, 0);
5760 : 3881 : tree _q21 = TREE_OPERAND (_p0, 1);
5761 : 3881 : switch (TREE_CODE (_p1))
5762 : : {
5763 : 203 : case BIT_IOR_EXPR:
5764 : 203 : {
5765 : 203 : tree _q50 = TREE_OPERAND (_p1, 0);
5766 : 203 : tree _q51 = TREE_OPERAND (_p1, 1);
5767 : 203 : switch (TREE_CODE (_q50))
5768 : : {
5769 : 1 : case BIT_NOT_EXPR:
5770 : 1 : {
5771 : 1 : tree _q60 = TREE_OPERAND (_q50, 0);
5772 : 1 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
5773 : : {
5774 : 1 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5775 : : {
5776 : 1 : {
5777 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _q21, _p0 };
5778 : 1 : tree res = generic_simplify_157 (loc, type, _p0, _p1, captures);
5779 : 1 : if (res) return res;
5780 : : }
5781 : : }
5782 : : }
5783 : : break;
5784 : : }
5785 : 202 : default:;
5786 : : }
5787 : 202 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
5788 : : {
5789 : 0 : switch (TREE_CODE (_q51))
5790 : : {
5791 : 0 : case BIT_NOT_EXPR:
5792 : 0 : {
5793 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
5794 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
5795 : : {
5796 : 0 : {
5797 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _q21, _p0 };
5798 : 0 : tree res = generic_simplify_157 (loc, type, _p0, _p1, captures);
5799 : 0 : if (res) return res;
5800 : : }
5801 : : }
5802 : : break;
5803 : : }
5804 : : default:;
5805 : : }
5806 : : }
5807 : 202 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5808 : : {
5809 : 1 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5810 : : {
5811 : 0 : {
5812 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
5813 : 0 : tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
5814 : 0 : if (res) return res;
5815 : : }
5816 : : }
5817 : : }
5818 : : break;
5819 : : }
5820 : 41 : case BIT_AND_EXPR:
5821 : 41 : {
5822 : 41 : tree _q50 = TREE_OPERAND (_p1, 0);
5823 : 41 : tree _q51 = TREE_OPERAND (_p1, 1);
5824 : 41 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5825 : : {
5826 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5827 : : {
5828 : 0 : {
5829 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
5830 : 0 : tree res = generic_simplify_9 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5831 : 0 : if (res) return res;
5832 : : }
5833 : : }
5834 : : }
5835 : : break;
5836 : : }
5837 : 198 : CASE_CONVERT:
5838 : 198 : {
5839 : 198 : tree _q50 = TREE_OPERAND (_p1, 0);
5840 : 198 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
5841 : : {
5842 : 0 : {
5843 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q21 };
5844 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
5845 : 0 : if (res) return res;
5846 : : }
5847 : : }
5848 : 198 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
5849 : : {
5850 : 0 : {
5851 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q20 };
5852 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
5853 : 0 : if (res) return res;
5854 : : }
5855 : : }
5856 : : break;
5857 : : }
5858 : 3880 : default:;
5859 : : }
5860 : 3880 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q21, 0))
5861 : : {
5862 : 0 : {
5863 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q21 };
5864 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
5865 : 0 : if (res) return res;
5866 : : }
5867 : : }
5868 : 3880 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q20, 0))
5869 : : {
5870 : 11 : {
5871 : 11 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q20 };
5872 : 11 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
5873 : 11 : if (res) return res;
5874 : : }
5875 : : }
5876 : : break;
5877 : : }
5878 : 2835 : case BIT_AND_EXPR:
5879 : 2835 : {
5880 : 2835 : tree _q20 = TREE_OPERAND (_p0, 0);
5881 : 2835 : tree _q21 = TREE_OPERAND (_p0, 1);
5882 : 2835 : switch (TREE_CODE (_p1))
5883 : : {
5884 : 74 : case BIT_IOR_EXPR:
5885 : 74 : {
5886 : 74 : tree _q50 = TREE_OPERAND (_p1, 0);
5887 : 74 : tree _q51 = TREE_OPERAND (_p1, 1);
5888 : 74 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5889 : : {
5890 : 18 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5891 : : {
5892 : 0 : {
5893 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
5894 : 0 : tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
5895 : 0 : if (res) return res;
5896 : : }
5897 : : }
5898 : : }
5899 : : break;
5900 : : }
5901 : 30 : case BIT_XOR_EXPR:
5902 : 30 : {
5903 : 30 : tree _q50 = TREE_OPERAND (_p1, 0);
5904 : 30 : tree _q51 = TREE_OPERAND (_p1, 1);
5905 : 30 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5906 : : {
5907 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5908 : : {
5909 : 0 : {
5910 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
5911 : 0 : tree res = generic_simplify_9 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5912 : 0 : if (res) return res;
5913 : : }
5914 : : }
5915 : : }
5916 : : break;
5917 : : }
5918 : 2835 : default:;
5919 : : }
5920 : 2835 : switch (TREE_CODE (_q21))
5921 : : {
5922 : 1010 : case INTEGER_CST:
5923 : 1010 : {
5924 : 1010 : switch (TREE_CODE (_p1))
5925 : : {
5926 : 15 : CASE_CONVERT:
5927 : 15 : {
5928 : 15 : tree _q50 = TREE_OPERAND (_p1, 0);
5929 : 15 : switch (TREE_CODE (_q50))
5930 : : {
5931 : 0 : case BIT_AND_EXPR:
5932 : 0 : {
5933 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
5934 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
5935 : 0 : switch (TREE_CODE (_q61))
5936 : : {
5937 : 0 : case INTEGER_CST:
5938 : 0 : {
5939 : 0 : {
5940 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50, _q60, _q61 };
5941 : 0 : tree res = generic_simplify_11 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5942 : 0 : if (res) return res;
5943 : : }
5944 : 0 : break;
5945 : : }
5946 : : default:;
5947 : : }
5948 : : break;
5949 : : }
5950 : : default:;
5951 : : }
5952 : : break;
5953 : : }
5954 : 210 : case BIT_AND_EXPR:
5955 : 210 : {
5956 : 210 : tree _q50 = TREE_OPERAND (_p1, 0);
5957 : 210 : tree _q51 = TREE_OPERAND (_p1, 1);
5958 : 210 : switch (TREE_CODE (_q51))
5959 : : {
5960 : 210 : case INTEGER_CST:
5961 : 210 : {
5962 : 210 : {
5963 : 210 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
5964 : 210 : tree res = generic_simplify_11 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5965 : 210 : if (res) return res;
5966 : : }
5967 : 209 : break;
5968 : : }
5969 : : default:;
5970 : : }
5971 : : break;
5972 : : }
5973 : : default:;
5974 : : }
5975 : : break;
5976 : : }
5977 : : default:;
5978 : : }
5979 : : break;
5980 : : }
5981 : 516050 : CASE_CONVERT:
5982 : 516050 : {
5983 : 516050 : tree _q20 = TREE_OPERAND (_p0, 0);
5984 : 516050 : switch (TREE_CODE (_q20))
5985 : : {
5986 : 24 : case BIT_AND_EXPR:
5987 : 24 : {
5988 : 24 : tree _q30 = TREE_OPERAND (_q20, 0);
5989 : 24 : tree _q31 = TREE_OPERAND (_q20, 1);
5990 : 24 : switch (TREE_CODE (_q31))
5991 : : {
5992 : 0 : case INTEGER_CST:
5993 : 0 : {
5994 : 0 : switch (TREE_CODE (_p1))
5995 : : {
5996 : 0 : CASE_CONVERT:
5997 : 0 : {
5998 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
5999 : 0 : switch (TREE_CODE (_q60))
6000 : : {
6001 : 0 : case BIT_AND_EXPR:
6002 : 0 : {
6003 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
6004 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
6005 : 0 : switch (TREE_CODE (_q71))
6006 : : {
6007 : 0 : case INTEGER_CST:
6008 : 0 : {
6009 : 0 : {
6010 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q60, _q70, _q71 };
6011 : 0 : tree res = generic_simplify_11 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6012 : 0 : if (res) return res;
6013 : : }
6014 : 0 : break;
6015 : : }
6016 : : default:;
6017 : : }
6018 : : break;
6019 : : }
6020 : : default:;
6021 : : }
6022 : : break;
6023 : : }
6024 : 0 : case BIT_AND_EXPR:
6025 : 0 : {
6026 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
6027 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
6028 : 0 : switch (TREE_CODE (_q61))
6029 : : {
6030 : 0 : case INTEGER_CST:
6031 : 0 : {
6032 : 0 : {
6033 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1, _q60, _q61 };
6034 : 0 : tree res = generic_simplify_11 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6035 : 0 : if (res) return res;
6036 : : }
6037 : 0 : break;
6038 : : }
6039 : : default:;
6040 : : }
6041 : : break;
6042 : : }
6043 : : default:;
6044 : : }
6045 : : break;
6046 : : }
6047 : : default:;
6048 : : }
6049 : : break;
6050 : : }
6051 : 17 : case BIT_IOR_EXPR:
6052 : 17 : {
6053 : 17 : tree _q30 = TREE_OPERAND (_q20, 0);
6054 : 17 : tree _q31 = TREE_OPERAND (_q20, 1);
6055 : 17 : switch (TREE_CODE (_p1))
6056 : : {
6057 : 16 : CASE_CONVERT:
6058 : 16 : {
6059 : 16 : tree _q60 = TREE_OPERAND (_p1, 0);
6060 : 16 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q30, 0))
6061 : : {
6062 : 0 : {
6063 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q30 };
6064 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
6065 : 0 : if (res) return res;
6066 : : }
6067 : : }
6068 : 16 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q31, 0))
6069 : : {
6070 : 0 : {
6071 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q31 };
6072 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
6073 : 0 : if (res) return res;
6074 : : }
6075 : : }
6076 : : break;
6077 : : }
6078 : 17 : default:;
6079 : : }
6080 : 17 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q30, 0))
6081 : : {
6082 : 0 : {
6083 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q30 };
6084 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
6085 : 0 : if (res) return res;
6086 : : }
6087 : : }
6088 : 17 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q31, 0))
6089 : : {
6090 : 0 : {
6091 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q31 };
6092 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
6093 : 0 : if (res) return res;
6094 : : }
6095 : : }
6096 : : break;
6097 : : }
6098 : 516050 : default:;
6099 : : }
6100 : 516050 : switch (TREE_CODE (_p1))
6101 : : {
6102 : 511999 : CASE_CONVERT:
6103 : 511999 : {
6104 : 511999 : tree _q40 = TREE_OPERAND (_p1, 0);
6105 : 511999 : switch (TREE_CODE (_q40))
6106 : : {
6107 : 0 : case BIT_IOR_EXPR:
6108 : 0 : {
6109 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
6110 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
6111 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
6112 : : {
6113 : 0 : {
6114 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q20 };
6115 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
6116 : 0 : if (res) return res;
6117 : : }
6118 : : }
6119 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
6120 : : {
6121 : 0 : {
6122 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q20 };
6123 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
6124 : 0 : if (res) return res;
6125 : : }
6126 : : }
6127 : : break;
6128 : : }
6129 : : default:;
6130 : : }
6131 : : break;
6132 : : }
6133 : 26 : case BIT_IOR_EXPR:
6134 : 26 : {
6135 : 26 : tree _q40 = TREE_OPERAND (_p1, 0);
6136 : 26 : tree _q41 = TREE_OPERAND (_p1, 1);
6137 : 26 : if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _q20, 0))
6138 : : {
6139 : 0 : {
6140 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q20 };
6141 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
6142 : 0 : if (res) return res;
6143 : : }
6144 : : }
6145 : 26 : if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _q20, 0))
6146 : : {
6147 : 0 : {
6148 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q20 };
6149 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
6150 : 0 : if (res) return res;
6151 : : }
6152 : : }
6153 : : break;
6154 : : }
6155 : : default:;
6156 : : }
6157 : : break;
6158 : : }
6159 : 706286 : default:;
6160 : : }
6161 : 706286 : switch (TREE_CODE (_p1))
6162 : : {
6163 : 556121 : CASE_CONVERT:
6164 : 556121 : {
6165 : 556121 : tree _q30 = TREE_OPERAND (_p1, 0);
6166 : 556121 : switch (TREE_CODE (_q30))
6167 : : {
6168 : 6 : case BIT_IOR_EXPR:
6169 : 6 : {
6170 : 6 : tree _q40 = TREE_OPERAND (_q30, 0);
6171 : 6 : tree _q41 = TREE_OPERAND (_q30, 1);
6172 : 6 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _p0, 0))
6173 : : {
6174 : 0 : {
6175 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _p0 };
6176 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
6177 : 0 : if (res) return res;
6178 : : }
6179 : : }
6180 : 6 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _p0, 0))
6181 : : {
6182 : 0 : {
6183 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _p0 };
6184 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
6185 : 0 : if (res) return res;
6186 : : }
6187 : : }
6188 : : break;
6189 : : }
6190 : : default:;
6191 : : }
6192 : : break;
6193 : : }
6194 : 518 : case BIT_IOR_EXPR:
6195 : 518 : {
6196 : 518 : tree _q30 = TREE_OPERAND (_p1, 0);
6197 : 518 : tree _q31 = TREE_OPERAND (_p1, 1);
6198 : 518 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || operand_equal_p (_q30, _p0, 0))
6199 : : {
6200 : 1 : {
6201 : 1 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
6202 : 1 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
6203 : 1 : if (res) return res;
6204 : : }
6205 : : }
6206 : 517 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || operand_equal_p (_q31, _p0, 0))
6207 : : {
6208 : 1 : {
6209 : 1 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _p0 };
6210 : 1 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
6211 : 1 : if (res) return res;
6212 : : }
6213 : : }
6214 : : break;
6215 : : }
6216 : 706284 : default:;
6217 : : }
6218 : 706284 : {
6219 : 706284 : tree _p0_pops[1];
6220 : 706284 : if (tree_nop_convert (_p0, _p0_pops))
6221 : : {
6222 : 496297 : tree _q20 = _p0_pops[0];
6223 : 496297 : switch (TREE_CODE (_q20))
6224 : : {
6225 : 16 : case BIT_IOR_EXPR:
6226 : 16 : {
6227 : 16 : tree _q30 = TREE_OPERAND (_q20, 0);
6228 : 16 : tree _q31 = TREE_OPERAND (_q20, 1);
6229 : 16 : {
6230 : 16 : tree _q30_pops[1];
6231 : 16 : if (tree_nop_convert (_q30, _q30_pops))
6232 : : {
6233 : 0 : tree _q40 = _q30_pops[0];
6234 : 0 : switch (TREE_CODE (_q40))
6235 : : {
6236 : 0 : case BIT_NOT_EXPR:
6237 : 0 : {
6238 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
6239 : 0 : {
6240 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q31, _p1 };
6241 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
6242 : 0 : if (res) return res;
6243 : : }
6244 : 0 : break;
6245 : : }
6246 : : default:;
6247 : : }
6248 : : }
6249 : : }
6250 : 16 : {
6251 : 16 : tree _q31_pops[1];
6252 : 16 : if (tree_nop_convert (_q31, _q31_pops))
6253 : : {
6254 : 0 : tree _q50 = _q31_pops[0];
6255 : 0 : switch (TREE_CODE (_q50))
6256 : : {
6257 : 0 : case BIT_NOT_EXPR:
6258 : 0 : {
6259 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
6260 : 0 : {
6261 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q30, _p1 };
6262 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
6263 : 0 : if (res) return res;
6264 : : }
6265 : 0 : break;
6266 : : }
6267 : : default:;
6268 : : }
6269 : : }
6270 : : }
6271 : 16 : switch (TREE_CODE (_q30))
6272 : : {
6273 : 16 : case BIT_NOT_EXPR:
6274 : 16 : {
6275 : 16 : tree _q40 = TREE_OPERAND (_q30, 0);
6276 : 16 : {
6277 : 16 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q31, _p1 };
6278 : 16 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
6279 : 16 : if (res) return res;
6280 : : }
6281 : 0 : break;
6282 : : }
6283 : 0 : default:;
6284 : : }
6285 : 0 : switch (TREE_CODE (_q31))
6286 : : {
6287 : 0 : case BIT_NOT_EXPR:
6288 : 0 : {
6289 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
6290 : 0 : {
6291 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q30, _p1 };
6292 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
6293 : 0 : if (res) return res;
6294 : : }
6295 : 0 : break;
6296 : : }
6297 : : default:;
6298 : : }
6299 : : break;
6300 : : }
6301 : : default:;
6302 : : }
6303 : : }
6304 : : }
6305 : 706268 : switch (TREE_CODE (_p1))
6306 : : {
6307 : 516 : case BIT_IOR_EXPR:
6308 : 516 : {
6309 : 516 : tree _q30 = TREE_OPERAND (_p1, 0);
6310 : 516 : tree _q31 = TREE_OPERAND (_p1, 1);
6311 : 516 : {
6312 : 516 : tree _q30_pops[1];
6313 : 516 : if (tree_nop_convert (_q30, _q30_pops))
6314 : : {
6315 : 2 : tree _q40 = _q30_pops[0];
6316 : 2 : switch (TREE_CODE (_q40))
6317 : : {
6318 : 0 : case BIT_NOT_EXPR:
6319 : 0 : {
6320 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
6321 : 0 : {
6322 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q31, _p0 };
6323 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
6324 : 0 : if (res) return res;
6325 : : }
6326 : 0 : break;
6327 : : }
6328 : : default:;
6329 : : }
6330 : : }
6331 : : }
6332 : 516 : {
6333 : 516 : tree _q31_pops[1];
6334 : 516 : if (tree_nop_convert (_q31, _q31_pops))
6335 : : {
6336 : 2 : tree _q50 = _q31_pops[0];
6337 : 2 : switch (TREE_CODE (_q50))
6338 : : {
6339 : 0 : case BIT_NOT_EXPR:
6340 : 0 : {
6341 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
6342 : 0 : {
6343 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q30, _p0 };
6344 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
6345 : 0 : if (res) return res;
6346 : : }
6347 : 0 : break;
6348 : : }
6349 : : default:;
6350 : : }
6351 : : }
6352 : : }
6353 : 516 : switch (TREE_CODE (_q30))
6354 : : {
6355 : 18 : case BIT_NOT_EXPR:
6356 : 18 : {
6357 : 18 : tree _q40 = TREE_OPERAND (_q30, 0);
6358 : 18 : {
6359 : 18 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q31, _p0 };
6360 : 18 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
6361 : 18 : if (res) return res;
6362 : : }
6363 : 18 : break;
6364 : : }
6365 : 516 : default:;
6366 : : }
6367 : 516 : switch (TREE_CODE (_q31))
6368 : : {
6369 : 25 : case BIT_NOT_EXPR:
6370 : 25 : {
6371 : 25 : tree _q50 = TREE_OPERAND (_q31, 0);
6372 : 25 : {
6373 : 25 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q30, _p0 };
6374 : 25 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
6375 : 25 : if (res) return res;
6376 : : }
6377 : 17 : break;
6378 : : }
6379 : : default:;
6380 : : }
6381 : : break;
6382 : : }
6383 : 706260 : default:;
6384 : : }
6385 : 706260 : {
6386 : 706260 : tree _p1_pops[1];
6387 : 706260 : if (tree_nop_convert (_p1, _p1_pops))
6388 : : {
6389 : 538835 : tree _q30 = _p1_pops[0];
6390 : 538835 : switch (TREE_CODE (_q30))
6391 : : {
6392 : 0 : case BIT_IOR_EXPR:
6393 : 0 : {
6394 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
6395 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
6396 : 0 : {
6397 : 0 : tree _q40_pops[1];
6398 : 0 : if (tree_nop_convert (_q40, _q40_pops))
6399 : : {
6400 : 0 : tree _q50 = _q40_pops[0];
6401 : 0 : switch (TREE_CODE (_q50))
6402 : : {
6403 : 0 : case BIT_NOT_EXPR:
6404 : 0 : {
6405 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
6406 : 0 : {
6407 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q41, _p0 };
6408 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
6409 : 0 : if (res) return res;
6410 : : }
6411 : 0 : break;
6412 : : }
6413 : : default:;
6414 : : }
6415 : : }
6416 : : }
6417 : 0 : {
6418 : 0 : tree _q41_pops[1];
6419 : 0 : if (tree_nop_convert (_q41, _q41_pops))
6420 : : {
6421 : 0 : tree _q60 = _q41_pops[0];
6422 : 0 : switch (TREE_CODE (_q60))
6423 : : {
6424 : 0 : case BIT_NOT_EXPR:
6425 : 0 : {
6426 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
6427 : 0 : {
6428 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q40, _p0 };
6429 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
6430 : 0 : if (res) return res;
6431 : : }
6432 : 0 : break;
6433 : : }
6434 : : default:;
6435 : : }
6436 : : }
6437 : : }
6438 : 0 : switch (TREE_CODE (_q40))
6439 : : {
6440 : 0 : case BIT_NOT_EXPR:
6441 : 0 : {
6442 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
6443 : 0 : {
6444 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q41, _p0 };
6445 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
6446 : 0 : if (res) return res;
6447 : : }
6448 : 0 : break;
6449 : : }
6450 : 0 : default:;
6451 : : }
6452 : 0 : switch (TREE_CODE (_q41))
6453 : : {
6454 : 0 : case BIT_NOT_EXPR:
6455 : 0 : {
6456 : 0 : tree _q60 = TREE_OPERAND (_q41, 0);
6457 : 0 : {
6458 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q40, _p0 };
6459 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
6460 : 0 : if (res) return res;
6461 : : }
6462 : 0 : break;
6463 : : }
6464 : : default:;
6465 : : }
6466 : : break;
6467 : : }
6468 : : default:;
6469 : : }
6470 : : }
6471 : : }
6472 : 706260 : switch (TREE_CODE (_p0))
6473 : : {
6474 : 516026 : CASE_CONVERT:
6475 : 516026 : {
6476 : 516026 : tree _q20 = TREE_OPERAND (_p0, 0);
6477 : 516026 : switch (TREE_CODE (_q20))
6478 : : {
6479 : 50 : case BIT_NOT_EXPR:
6480 : 50 : {
6481 : 50 : tree _q30 = TREE_OPERAND (_q20, 0);
6482 : 50 : switch (TREE_CODE (_p1))
6483 : : {
6484 : 0 : CASE_CONVERT:
6485 : 0 : {
6486 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
6487 : 0 : switch (TREE_CODE (_q50))
6488 : : {
6489 : 0 : case BIT_NOT_EXPR:
6490 : 0 : {
6491 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
6492 : 0 : {
6493 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q60 };
6494 : 0 : tree res = generic_simplify_163 (loc, type, _p0, _p1, captures);
6495 : 0 : if (res) return res;
6496 : : }
6497 : 0 : break;
6498 : : }
6499 : : default:;
6500 : : }
6501 : : break;
6502 : : }
6503 : 0 : case BIT_NOT_EXPR:
6504 : 0 : {
6505 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
6506 : 0 : {
6507 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q50 };
6508 : 0 : tree res = generic_simplify_163 (loc, type, _p0, _p1, captures);
6509 : 0 : if (res) return res;
6510 : : }
6511 : 0 : break;
6512 : : }
6513 : 26 : case INTEGER_CST:
6514 : 26 : {
6515 : 26 : {
6516 : 26 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p1 };
6517 : 26 : tree res = generic_simplify_164 (loc, type, _p0, _p1, captures);
6518 : 26 : if (res) return res;
6519 : : }
6520 : 24 : break;
6521 : : }
6522 : : default:;
6523 : : }
6524 : : break;
6525 : : }
6526 : : default:;
6527 : : }
6528 : : break;
6529 : : }
6530 : 477 : case BIT_NOT_EXPR:
6531 : 477 : {
6532 : 477 : tree _q20 = TREE_OPERAND (_p0, 0);
6533 : 477 : switch (TREE_CODE (_p1))
6534 : : {
6535 : 18 : CASE_CONVERT:
6536 : 18 : {
6537 : 18 : tree _q40 = TREE_OPERAND (_p1, 0);
6538 : 18 : switch (TREE_CODE (_q40))
6539 : : {
6540 : 0 : case BIT_NOT_EXPR:
6541 : 0 : {
6542 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
6543 : 0 : {
6544 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
6545 : 0 : tree res = generic_simplify_163 (loc, type, _p0, _p1, captures);
6546 : 0 : if (res) return res;
6547 : : }
6548 : 0 : break;
6549 : : }
6550 : : default:;
6551 : : }
6552 : : break;
6553 : : }
6554 : 10 : case BIT_NOT_EXPR:
6555 : 10 : {
6556 : 10 : tree _q40 = TREE_OPERAND (_p1, 0);
6557 : 10 : {
6558 : 10 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
6559 : 10 : tree res = generic_simplify_163 (loc, type, _p0, _p1, captures);
6560 : 10 : if (res) return res;
6561 : : }
6562 : 0 : break;
6563 : : }
6564 : 24 : case INTEGER_CST:
6565 : 24 : {
6566 : 24 : {
6567 : 24 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
6568 : 24 : tree res = generic_simplify_164 (loc, type, _p0, _p1, captures);
6569 : 24 : if (res) return res;
6570 : : }
6571 : 0 : break;
6572 : : }
6573 : 443 : default:;
6574 : : }
6575 : 443 : {
6576 : 443 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _p1 };
6577 : 443 : tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
6578 : 443 : if (res) return res;
6579 : : }
6580 : 0 : break;
6581 : : }
6582 : 2832 : case BIT_AND_EXPR:
6583 : 2832 : {
6584 : 2832 : tree _q20 = TREE_OPERAND (_p0, 0);
6585 : 2832 : tree _q21 = TREE_OPERAND (_p0, 1);
6586 : 2832 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
6587 : : {
6588 : 67 : {
6589 : 67 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
6590 : 67 : tree res = generic_simplify_166 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
6591 : 67 : if (res) return res;
6592 : : }
6593 : : }
6594 : 2765 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
6595 : : {
6596 : 3 : {
6597 : 3 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
6598 : 3 : tree res = generic_simplify_166 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
6599 : 3 : if (res) return res;
6600 : : }
6601 : : }
6602 : 2762 : switch (TREE_CODE (_p1))
6603 : : {
6604 : 353 : case BIT_AND_EXPR:
6605 : 353 : {
6606 : 353 : tree _q50 = TREE_OPERAND (_p1, 0);
6607 : 353 : tree _q51 = TREE_OPERAND (_p1, 1);
6608 : 353 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
6609 : : {
6610 : 21 : {
6611 : 21 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q20 };
6612 : 21 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
6613 : 21 : if (res) return res;
6614 : : }
6615 : : }
6616 : 332 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
6617 : : {
6618 : 0 : {
6619 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q20 };
6620 : 0 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
6621 : 0 : if (res) return res;
6622 : : }
6623 : : }
6624 : 332 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
6625 : : {
6626 : 0 : {
6627 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q21 };
6628 : 0 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
6629 : 0 : if (res) return res;
6630 : : }
6631 : : }
6632 : 332 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q21, 0))
6633 : : {
6634 : 201 : {
6635 : 201 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q21 };
6636 : 201 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
6637 : 201 : if (res) return res;
6638 : : }
6639 : : }
6640 : : break;
6641 : : }
6642 : : default:;
6643 : : }
6644 : : break;
6645 : : }
6646 : 705489 : default:;
6647 : : }
6648 : 705489 : switch (TREE_CODE (_p1))
6649 : : {
6650 : 421 : case BIT_AND_EXPR:
6651 : 421 : {
6652 : 421 : tree _q30 = TREE_OPERAND (_p1, 0);
6653 : 421 : tree _q31 = TREE_OPERAND (_p1, 1);
6654 : 421 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
6655 : : {
6656 : 0 : {
6657 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
6658 : 0 : tree res = generic_simplify_166 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
6659 : 0 : if (res) return res;
6660 : : }
6661 : : }
6662 : 421 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
6663 : : {
6664 : 0 : {
6665 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q31, _p0 };
6666 : 0 : tree res = generic_simplify_166 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
6667 : 0 : if (res) return res;
6668 : : }
6669 : : }
6670 : : break;
6671 : : }
6672 : 705489 : default:;
6673 : : }
6674 : 705489 : switch (TREE_CODE (_p0))
6675 : : {
6676 : 516024 : CASE_CONVERT:
6677 : 516024 : {
6678 : 516024 : tree _q20 = TREE_OPERAND (_p0, 0);
6679 : 516024 : switch (TREE_CODE (_q20))
6680 : : {
6681 : 24 : case BIT_AND_EXPR:
6682 : 24 : {
6683 : 24 : tree _q30 = TREE_OPERAND (_q20, 0);
6684 : 24 : tree _q31 = TREE_OPERAND (_q20, 1);
6685 : 24 : switch (TREE_CODE (_p1))
6686 : : {
6687 : 8 : CASE_CONVERT:
6688 : 8 : {
6689 : 8 : tree _q60 = TREE_OPERAND (_p1, 0);
6690 : 8 : switch (TREE_CODE (_q60))
6691 : : {
6692 : 0 : case BIT_AND_EXPR:
6693 : 0 : {
6694 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
6695 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
6696 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || operand_equal_p (_q70, _q30, 0))
6697 : : {
6698 : 0 : {
6699 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q71, _q30 };
6700 : 0 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
6701 : 0 : if (res) return res;
6702 : : }
6703 : : }
6704 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || operand_equal_p (_q71, _q30, 0))
6705 : : {
6706 : 0 : {
6707 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q70, _q30 };
6708 : 0 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
6709 : 0 : if (res) return res;
6710 : : }
6711 : : }
6712 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || operand_equal_p (_q70, _q31, 0))
6713 : : {
6714 : 0 : {
6715 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q71, _q31 };
6716 : 0 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
6717 : 0 : if (res) return res;
6718 : : }
6719 : : }
6720 : 0 : if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || operand_equal_p (_q71, _q31, 0))
6721 : : {
6722 : 0 : {
6723 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q70, _q31 };
6724 : 0 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
6725 : 0 : if (res) return res;
6726 : : }
6727 : : }
6728 : : break;
6729 : : }
6730 : : default:;
6731 : : }
6732 : : break;
6733 : : }
6734 : : default:;
6735 : : }
6736 : : break;
6737 : : }
6738 : 15308 : case BIT_XOR_EXPR:
6739 : 15308 : {
6740 : 15308 : tree _q30 = TREE_OPERAND (_q20, 0);
6741 : 15308 : tree _q31 = TREE_OPERAND (_q20, 1);
6742 : 15308 : switch (TREE_CODE (_p1))
6743 : : {
6744 : 15243 : CASE_CONVERT:
6745 : 15243 : {
6746 : 15243 : tree _q60 = TREE_OPERAND (_p1, 0);
6747 : 15243 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q31, 0))
6748 : : {
6749 : 0 : {
6750 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q31 };
6751 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
6752 : 0 : if (res) return res;
6753 : : }
6754 : : }
6755 : 15243 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q30, 0))
6756 : : {
6757 : 0 : {
6758 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q30 };
6759 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
6760 : 0 : if (res) return res;
6761 : : }
6762 : : }
6763 : : break;
6764 : : }
6765 : 15308 : default:;
6766 : : }
6767 : 15308 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q31, 0))
6768 : : {
6769 : 0 : {
6770 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q31 };
6771 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
6772 : 0 : if (res) return res;
6773 : : }
6774 : : }
6775 : 15308 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q30, 0))
6776 : : {
6777 : 0 : {
6778 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q30 };
6779 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
6780 : 0 : if (res) return res;
6781 : : }
6782 : : }
6783 : : break;
6784 : : }
6785 : 516024 : default:;
6786 : : }
6787 : 516024 : switch (TREE_CODE (_p1))
6788 : : {
6789 : 511983 : CASE_CONVERT:
6790 : 511983 : {
6791 : 511983 : tree _q40 = TREE_OPERAND (_p1, 0);
6792 : 511983 : switch (TREE_CODE (_q40))
6793 : : {
6794 : 0 : case BIT_XOR_EXPR:
6795 : 0 : {
6796 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
6797 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
6798 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
6799 : : {
6800 : 0 : {
6801 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q20 };
6802 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
6803 : 0 : if (res) return res;
6804 : : }
6805 : : }
6806 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
6807 : : {
6808 : 0 : {
6809 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q20 };
6810 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
6811 : 0 : if (res) return res;
6812 : : }
6813 : : }
6814 : : break;
6815 : : }
6816 : : default:;
6817 : : }
6818 : : break;
6819 : : }
6820 : 2 : case BIT_XOR_EXPR:
6821 : 2 : {
6822 : 2 : tree _q40 = TREE_OPERAND (_p1, 0);
6823 : 2 : tree _q41 = TREE_OPERAND (_p1, 1);
6824 : 2 : if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _q20, 0))
6825 : : {
6826 : 0 : {
6827 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q20 };
6828 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
6829 : 0 : if (res) return res;
6830 : : }
6831 : : }
6832 : 2 : if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _q20, 0))
6833 : : {
6834 : 0 : {
6835 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q20 };
6836 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
6837 : 0 : if (res) return res;
6838 : : }
6839 : : }
6840 : : break;
6841 : : }
6842 : : default:;
6843 : : }
6844 : : break;
6845 : : }
6846 : 705489 : default:;
6847 : : }
6848 : 705489 : switch (TREE_CODE (_p1))
6849 : : {
6850 : 556087 : CASE_CONVERT:
6851 : 556087 : {
6852 : 556087 : tree _q30 = TREE_OPERAND (_p1, 0);
6853 : 556087 : switch (TREE_CODE (_q30))
6854 : : {
6855 : 8 : case BIT_XOR_EXPR:
6856 : 8 : {
6857 : 8 : tree _q40 = TREE_OPERAND (_q30, 0);
6858 : 8 : tree _q41 = TREE_OPERAND (_q30, 1);
6859 : 8 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _p0, 0))
6860 : : {
6861 : 0 : {
6862 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _p0 };
6863 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
6864 : 0 : if (res) return res;
6865 : : }
6866 : : }
6867 : 8 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _p0, 0))
6868 : : {
6869 : 0 : {
6870 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _p0 };
6871 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
6872 : 0 : if (res) return res;
6873 : : }
6874 : : }
6875 : : break;
6876 : : }
6877 : : default:;
6878 : : }
6879 : : break;
6880 : : }
6881 : 78 : case BIT_XOR_EXPR:
6882 : 78 : {
6883 : 78 : tree _q30 = TREE_OPERAND (_p1, 0);
6884 : 78 : tree _q31 = TREE_OPERAND (_p1, 1);
6885 : 78 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || operand_equal_p (_q31, _p0, 0))
6886 : : {
6887 : 0 : {
6888 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
6889 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
6890 : 0 : if (res) return res;
6891 : : }
6892 : : }
6893 : 78 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || operand_equal_p (_q30, _p0, 0))
6894 : : {
6895 : 0 : {
6896 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _p0 };
6897 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
6898 : 0 : if (res) return res;
6899 : : }
6900 : : }
6901 : : break;
6902 : : }
6903 : 705489 : default:;
6904 : : }
6905 : 705489 : switch (TREE_CODE (_p0))
6906 : : {
6907 : 516024 : CASE_CONVERT:
6908 : 516024 : {
6909 : 516024 : tree _q20 = TREE_OPERAND (_p0, 0);
6910 : 516024 : switch (TREE_CODE (_q20))
6911 : : {
6912 : 15308 : case BIT_XOR_EXPR:
6913 : 15308 : {
6914 : 15308 : tree _q30 = TREE_OPERAND (_q20, 0);
6915 : 15308 : tree _q31 = TREE_OPERAND (_q20, 1);
6916 : 15308 : switch (TREE_CODE (_p1))
6917 : : {
6918 : 15243 : CASE_CONVERT:
6919 : 15243 : {
6920 : 15243 : tree _q60 = TREE_OPERAND (_p1, 0);
6921 : 15243 : switch (TREE_CODE (_q60))
6922 : : {
6923 : 0 : case BIT_XOR_EXPR:
6924 : 0 : {
6925 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
6926 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
6927 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
6928 : : {
6929 : 0 : {
6930 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q71 };
6931 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
6932 : 0 : if (res) return res;
6933 : : }
6934 : : }
6935 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
6936 : : {
6937 : 0 : {
6938 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q70 };
6939 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
6940 : 0 : if (res) return res;
6941 : : }
6942 : : }
6943 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
6944 : : {
6945 : 0 : {
6946 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q71 };
6947 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
6948 : 0 : if (res) return res;
6949 : : }
6950 : : }
6951 : 0 : if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
6952 : : {
6953 : 0 : {
6954 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q70 };
6955 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
6956 : 0 : if (res) return res;
6957 : : }
6958 : : }
6959 : : break;
6960 : : }
6961 : : default:;
6962 : : }
6963 : : break;
6964 : : }
6965 : 0 : case BIT_XOR_EXPR:
6966 : 0 : {
6967 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
6968 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
6969 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
6970 : : {
6971 : 0 : {
6972 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q61 };
6973 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
6974 : 0 : if (res) return res;
6975 : : }
6976 : : }
6977 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
6978 : : {
6979 : 0 : {
6980 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q60 };
6981 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
6982 : 0 : if (res) return res;
6983 : : }
6984 : : }
6985 : 0 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
6986 : : {
6987 : 0 : {
6988 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q61 };
6989 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
6990 : 0 : if (res) return res;
6991 : : }
6992 : : }
6993 : 0 : if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
6994 : : {
6995 : 0 : {
6996 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q60 };
6997 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
6998 : 0 : if (res) return res;
6999 : : }
7000 : : }
7001 : : break;
7002 : : }
7003 : : default:;
7004 : : }
7005 : : break;
7006 : : }
7007 : 516024 : default:;
7008 : : }
7009 : 516024 : switch (TREE_CODE (_p1))
7010 : : {
7011 : 511983 : CASE_CONVERT:
7012 : 511983 : {
7013 : 511983 : tree _q40 = TREE_OPERAND (_p1, 0);
7014 : 511983 : {
7015 : 511983 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
7016 : 511983 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7017 : 511983 : if (res) return res;
7018 : : }
7019 : 487750 : break;
7020 : : }
7021 : 491791 : default:;
7022 : : }
7023 : 491791 : {
7024 : 491791 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
7025 : 491791 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7026 : 491791 : if (res) return res;
7027 : : }
7028 : 491683 : break;
7029 : : }
7030 : 3869 : case BIT_XOR_EXPR:
7031 : 3869 : {
7032 : 3869 : tree _q20 = TREE_OPERAND (_p0, 0);
7033 : 3869 : tree _q21 = TREE_OPERAND (_p0, 1);
7034 : 3869 : switch (TREE_CODE (_p1))
7035 : : {
7036 : 198 : CASE_CONVERT:
7037 : 198 : {
7038 : 198 : tree _q50 = TREE_OPERAND (_p1, 0);
7039 : 198 : switch (TREE_CODE (_q50))
7040 : : {
7041 : 0 : case BIT_XOR_EXPR:
7042 : 0 : {
7043 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
7044 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
7045 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
7046 : : {
7047 : 0 : {
7048 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q61 };
7049 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
7050 : 0 : if (res) return res;
7051 : : }
7052 : : }
7053 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
7054 : : {
7055 : 0 : {
7056 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q60 };
7057 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
7058 : 0 : if (res) return res;
7059 : : }
7060 : : }
7061 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
7062 : : {
7063 : 0 : {
7064 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q61 };
7065 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
7066 : 0 : if (res) return res;
7067 : : }
7068 : : }
7069 : 0 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
7070 : : {
7071 : 0 : {
7072 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q60 };
7073 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
7074 : 0 : if (res) return res;
7075 : : }
7076 : : }
7077 : : break;
7078 : : }
7079 : : default:;
7080 : : }
7081 : : break;
7082 : : }
7083 : 10 : case BIT_XOR_EXPR:
7084 : 10 : {
7085 : 10 : tree _q50 = TREE_OPERAND (_p1, 0);
7086 : 10 : tree _q51 = TREE_OPERAND (_p1, 1);
7087 : 10 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
7088 : : {
7089 : 0 : {
7090 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
7091 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
7092 : 0 : if (res) return res;
7093 : : }
7094 : : }
7095 : 10 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
7096 : : {
7097 : 0 : {
7098 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
7099 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
7100 : 0 : if (res) return res;
7101 : : }
7102 : : }
7103 : 10 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
7104 : : {
7105 : 0 : {
7106 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
7107 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
7108 : 0 : if (res) return res;
7109 : : }
7110 : : }
7111 : 10 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
7112 : : {
7113 : 0 : {
7114 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
7115 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
7116 : 0 : if (res) return res;
7117 : : }
7118 : : }
7119 : : break;
7120 : : }
7121 : 3869 : default:;
7122 : : }
7123 : 3869 : if (CONSTANT_CLASS_P (_q21))
7124 : : {
7125 : 49 : if (CONSTANT_CLASS_P (_p1))
7126 : : {
7127 : 30 : {
7128 : 30 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
7129 : 30 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7130 : 30 : if (res) return res;
7131 : : }
7132 : : }
7133 : : }
7134 : : break;
7135 : : }
7136 : 63 : case COND_EXPR:
7137 : 63 : {
7138 : 63 : tree _q20 = TREE_OPERAND (_p0, 0);
7139 : 63 : tree _q21 = TREE_OPERAND (_p0, 1);
7140 : 63 : tree _q22 = TREE_OPERAND (_p0, 2);
7141 : 63 : if (integer_zerop (_q22))
7142 : : {
7143 : 63 : switch (TREE_CODE (_p1))
7144 : : {
7145 : 4 : case COND_EXPR:
7146 : 4 : {
7147 : 4 : tree _q60 = TREE_OPERAND (_p1, 0);
7148 : 4 : tree _q61 = TREE_OPERAND (_p1, 1);
7149 : 4 : tree _q62 = TREE_OPERAND (_p1, 2);
7150 : 4 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
7151 : : {
7152 : 0 : if (integer_zerop (_q61))
7153 : : {
7154 : 0 : {
7155 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q62 };
7156 : 0 : const enum tree_code op = BIT_XOR_EXPR;
7157 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1422;
7158 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1422;
7159 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1422;
7160 : 0 : {
7161 : 0 : tree res_op0;
7162 : 0 : res_op0 = captures[1];
7163 : 0 : tree res_op1;
7164 : 0 : res_op1 = captures[2];
7165 : 0 : tree res_op2;
7166 : 0 : res_op2 = captures[4];
7167 : 0 : tree _r;
7168 : 0 : _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
7169 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 903, __FILE__, __LINE__, true);
7170 : 0 : return _r;
7171 : : }
7172 : 0 : next_after_fail1422:;
7173 : : }
7174 : : }
7175 : : }
7176 : : break;
7177 : : }
7178 : : default:;
7179 : : }
7180 : : }
7181 : 63 : if (integer_zerop (_q21))
7182 : : {
7183 : 0 : switch (TREE_CODE (_p1))
7184 : : {
7185 : 0 : case COND_EXPR:
7186 : 0 : {
7187 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
7188 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
7189 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
7190 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
7191 : : {
7192 : 0 : if (integer_zerop (_q62))
7193 : : {
7194 : 0 : {
7195 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q20, _q61, _p0, _q22 };
7196 : 0 : const enum tree_code op = BIT_XOR_EXPR;
7197 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1423;
7198 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1423;
7199 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1423;
7200 : 0 : {
7201 : 0 : tree res_op0;
7202 : 0 : res_op0 = captures[1];
7203 : 0 : tree res_op1;
7204 : 0 : res_op1 = captures[2];
7205 : 0 : tree res_op2;
7206 : 0 : res_op2 = captures[4];
7207 : 0 : tree _r;
7208 : 0 : _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
7209 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 903, __FILE__, __LINE__, true);
7210 : 0 : return _r;
7211 : : }
7212 : 0 : next_after_fail1423:;
7213 : : }
7214 : : }
7215 : : }
7216 : : break;
7217 : : }
7218 : : default:;
7219 : : }
7220 : : }
7221 : 63 : switch (TREE_CODE (_q20))
7222 : : {
7223 : 0 : case LT_EXPR:
7224 : 0 : {
7225 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7226 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7227 : 0 : if (zerop (_q22))
7228 : : {
7229 : 0 : switch (TREE_CODE (_p1))
7230 : : {
7231 : 0 : case COND_EXPR:
7232 : 0 : {
7233 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7234 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7235 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7236 : 0 : switch (TREE_CODE (_q80))
7237 : : {
7238 : 0 : case GE_EXPR:
7239 : 0 : {
7240 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7241 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7242 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7243 : : {
7244 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7245 : : {
7246 : 0 : if (zerop (_q82))
7247 : : {
7248 : 0 : {
7249 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
7250 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LT_EXPR, GE_EXPR);
7251 : 0 : if (res) return res;
7252 : : }
7253 : : }
7254 : : }
7255 : : }
7256 : : break;
7257 : : }
7258 : : default:;
7259 : : }
7260 : : break;
7261 : : }
7262 : : default:;
7263 : : }
7264 : : }
7265 : : break;
7266 : : }
7267 : 32 : case LE_EXPR:
7268 : 32 : {
7269 : 32 : tree _q30 = TREE_OPERAND (_q20, 0);
7270 : 32 : tree _q31 = TREE_OPERAND (_q20, 1);
7271 : 32 : if (zerop (_q22))
7272 : : {
7273 : 32 : switch (TREE_CODE (_p1))
7274 : : {
7275 : 0 : case COND_EXPR:
7276 : 0 : {
7277 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7278 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7279 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7280 : 0 : switch (TREE_CODE (_q80))
7281 : : {
7282 : 0 : case GT_EXPR:
7283 : 0 : {
7284 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7285 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7286 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7287 : : {
7288 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7289 : : {
7290 : 0 : if (zerop (_q82))
7291 : : {
7292 : 0 : {
7293 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
7294 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LE_EXPR, GT_EXPR);
7295 : 0 : if (res) return res;
7296 : : }
7297 : : }
7298 : : }
7299 : : }
7300 : : break;
7301 : : }
7302 : : default:;
7303 : : }
7304 : : break;
7305 : : }
7306 : : default:;
7307 : : }
7308 : : }
7309 : : break;
7310 : : }
7311 : 0 : case EQ_EXPR:
7312 : 0 : {
7313 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7314 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7315 : 0 : if (zerop (_q22))
7316 : : {
7317 : 0 : switch (TREE_CODE (_p1))
7318 : : {
7319 : 0 : case COND_EXPR:
7320 : 0 : {
7321 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7322 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7323 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7324 : 0 : switch (TREE_CODE (_q80))
7325 : : {
7326 : 0 : case NE_EXPR:
7327 : 0 : {
7328 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7329 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7330 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7331 : : {
7332 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7333 : : {
7334 : 0 : if (zerop (_q82))
7335 : : {
7336 : 0 : {
7337 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
7338 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, EQ_EXPR, NE_EXPR);
7339 : 0 : if (res) return res;
7340 : : }
7341 : : }
7342 : : }
7343 : : }
7344 : : break;
7345 : : }
7346 : : default:;
7347 : : }
7348 : : break;
7349 : : }
7350 : : default:;
7351 : : }
7352 : : }
7353 : : break;
7354 : : }
7355 : 31 : case NE_EXPR:
7356 : 31 : {
7357 : 31 : tree _q30 = TREE_OPERAND (_q20, 0);
7358 : 31 : tree _q31 = TREE_OPERAND (_q20, 1);
7359 : 31 : if (zerop (_q22))
7360 : : {
7361 : 31 : switch (TREE_CODE (_p1))
7362 : : {
7363 : 4 : case COND_EXPR:
7364 : 4 : {
7365 : 4 : tree _q80 = TREE_OPERAND (_p1, 0);
7366 : 4 : tree _q81 = TREE_OPERAND (_p1, 1);
7367 : 4 : tree _q82 = TREE_OPERAND (_p1, 2);
7368 : 4 : switch (TREE_CODE (_q80))
7369 : : {
7370 : 0 : case EQ_EXPR:
7371 : 0 : {
7372 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7373 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7374 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7375 : : {
7376 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7377 : : {
7378 : 0 : if (zerop (_q82))
7379 : : {
7380 : 0 : {
7381 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
7382 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, NE_EXPR, EQ_EXPR);
7383 : 0 : if (res) return res;
7384 : : }
7385 : : }
7386 : : }
7387 : : }
7388 : : break;
7389 : : }
7390 : : default:;
7391 : : }
7392 : : break;
7393 : : }
7394 : : default:;
7395 : : }
7396 : : }
7397 : : break;
7398 : : }
7399 : 0 : case GE_EXPR:
7400 : 0 : {
7401 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7402 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7403 : 0 : if (zerop (_q22))
7404 : : {
7405 : 0 : switch (TREE_CODE (_p1))
7406 : : {
7407 : 0 : case COND_EXPR:
7408 : 0 : {
7409 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7410 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7411 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7412 : 0 : switch (TREE_CODE (_q80))
7413 : : {
7414 : 0 : case LT_EXPR:
7415 : 0 : {
7416 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7417 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7418 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7419 : : {
7420 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7421 : : {
7422 : 0 : if (zerop (_q82))
7423 : : {
7424 : 0 : {
7425 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
7426 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, GE_EXPR, LT_EXPR);
7427 : 0 : if (res) return res;
7428 : : }
7429 : : }
7430 : : }
7431 : : }
7432 : : break;
7433 : : }
7434 : : default:;
7435 : : }
7436 : : break;
7437 : : }
7438 : : default:;
7439 : : }
7440 : : }
7441 : : break;
7442 : : }
7443 : 0 : case GT_EXPR:
7444 : 0 : {
7445 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7446 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7447 : 0 : if (zerop (_q22))
7448 : : {
7449 : 0 : switch (TREE_CODE (_p1))
7450 : : {
7451 : 0 : case COND_EXPR:
7452 : 0 : {
7453 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7454 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7455 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7456 : 0 : switch (TREE_CODE (_q80))
7457 : : {
7458 : 0 : case LE_EXPR:
7459 : 0 : {
7460 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7461 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7462 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7463 : : {
7464 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7465 : : {
7466 : 0 : if (zerop (_q82))
7467 : : {
7468 : 0 : {
7469 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
7470 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, GT_EXPR, LE_EXPR);
7471 : 0 : if (res) return res;
7472 : : }
7473 : : }
7474 : : }
7475 : : }
7476 : : break;
7477 : : }
7478 : : default:;
7479 : : }
7480 : : break;
7481 : : }
7482 : : default:;
7483 : : }
7484 : : }
7485 : : break;
7486 : : }
7487 : 0 : case UNORDERED_EXPR:
7488 : 0 : {
7489 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7490 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7491 : 0 : if (zerop (_q22))
7492 : : {
7493 : 0 : switch (TREE_CODE (_p1))
7494 : : {
7495 : 0 : case COND_EXPR:
7496 : 0 : {
7497 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7498 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7499 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7500 : 0 : switch (TREE_CODE (_q80))
7501 : : {
7502 : 0 : case ORDERED_EXPR:
7503 : 0 : {
7504 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7505 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7506 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7507 : : {
7508 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7509 : : {
7510 : 0 : if (zerop (_q82))
7511 : : {
7512 : 0 : {
7513 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
7514 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNORDERED_EXPR, ORDERED_EXPR);
7515 : 0 : if (res) return res;
7516 : : }
7517 : : }
7518 : : }
7519 : : }
7520 : : break;
7521 : : }
7522 : : default:;
7523 : : }
7524 : : break;
7525 : : }
7526 : : default:;
7527 : : }
7528 : : }
7529 : : break;
7530 : : }
7531 : 0 : case ORDERED_EXPR:
7532 : 0 : {
7533 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7534 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7535 : 0 : if (zerop (_q22))
7536 : : {
7537 : 0 : switch (TREE_CODE (_p1))
7538 : : {
7539 : 0 : case COND_EXPR:
7540 : 0 : {
7541 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7542 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7543 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7544 : 0 : switch (TREE_CODE (_q80))
7545 : : {
7546 : 0 : case UNORDERED_EXPR:
7547 : 0 : {
7548 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7549 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7550 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7551 : : {
7552 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7553 : : {
7554 : 0 : if (zerop (_q82))
7555 : : {
7556 : 0 : {
7557 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
7558 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, ORDERED_EXPR, UNORDERED_EXPR);
7559 : 0 : if (res) return res;
7560 : : }
7561 : : }
7562 : : }
7563 : : }
7564 : : break;
7565 : : }
7566 : : default:;
7567 : : }
7568 : : break;
7569 : : }
7570 : : default:;
7571 : : }
7572 : : }
7573 : : break;
7574 : : }
7575 : 0 : case UNLT_EXPR:
7576 : 0 : {
7577 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7578 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7579 : 0 : if (zerop (_q22))
7580 : : {
7581 : 0 : switch (TREE_CODE (_p1))
7582 : : {
7583 : 0 : case COND_EXPR:
7584 : 0 : {
7585 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7586 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7587 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7588 : 0 : switch (TREE_CODE (_q80))
7589 : : {
7590 : 0 : case GE_EXPR:
7591 : 0 : {
7592 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7593 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7594 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7595 : : {
7596 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7597 : : {
7598 : 0 : if (zerop (_q82))
7599 : : {
7600 : 0 : {
7601 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
7602 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNLT_EXPR, GE_EXPR);
7603 : 0 : if (res) return res;
7604 : : }
7605 : : }
7606 : : }
7607 : : }
7608 : : break;
7609 : : }
7610 : : default:;
7611 : : }
7612 : : break;
7613 : : }
7614 : : default:;
7615 : : }
7616 : : }
7617 : : break;
7618 : : }
7619 : 0 : case UNLE_EXPR:
7620 : 0 : {
7621 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7622 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7623 : 0 : if (zerop (_q22))
7624 : : {
7625 : 0 : switch (TREE_CODE (_p1))
7626 : : {
7627 : 0 : case COND_EXPR:
7628 : 0 : {
7629 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7630 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7631 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7632 : 0 : switch (TREE_CODE (_q80))
7633 : : {
7634 : 0 : case GT_EXPR:
7635 : 0 : {
7636 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7637 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7638 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7639 : : {
7640 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7641 : : {
7642 : 0 : if (zerop (_q82))
7643 : : {
7644 : 0 : {
7645 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
7646 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNLE_EXPR, GT_EXPR);
7647 : 0 : if (res) return res;
7648 : : }
7649 : : }
7650 : : }
7651 : : }
7652 : : break;
7653 : : }
7654 : : default:;
7655 : : }
7656 : : break;
7657 : : }
7658 : : default:;
7659 : : }
7660 : : }
7661 : : break;
7662 : : }
7663 : 0 : case UNGT_EXPR:
7664 : 0 : {
7665 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7666 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7667 : 0 : if (zerop (_q22))
7668 : : {
7669 : 0 : switch (TREE_CODE (_p1))
7670 : : {
7671 : 0 : case COND_EXPR:
7672 : 0 : {
7673 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7674 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7675 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7676 : 0 : switch (TREE_CODE (_q80))
7677 : : {
7678 : 0 : case LE_EXPR:
7679 : 0 : {
7680 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7681 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7682 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7683 : : {
7684 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7685 : : {
7686 : 0 : if (zerop (_q82))
7687 : : {
7688 : 0 : {
7689 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
7690 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNGT_EXPR, LE_EXPR);
7691 : 0 : if (res) return res;
7692 : : }
7693 : : }
7694 : : }
7695 : : }
7696 : : break;
7697 : : }
7698 : : default:;
7699 : : }
7700 : : break;
7701 : : }
7702 : : default:;
7703 : : }
7704 : : }
7705 : : break;
7706 : : }
7707 : 0 : case UNGE_EXPR:
7708 : 0 : {
7709 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7710 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7711 : 0 : if (zerop (_q22))
7712 : : {
7713 : 0 : switch (TREE_CODE (_p1))
7714 : : {
7715 : 0 : case COND_EXPR:
7716 : 0 : {
7717 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7718 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7719 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7720 : 0 : switch (TREE_CODE (_q80))
7721 : : {
7722 : 0 : case LT_EXPR:
7723 : 0 : {
7724 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7725 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7726 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7727 : : {
7728 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7729 : : {
7730 : 0 : if (zerop (_q82))
7731 : : {
7732 : 0 : {
7733 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
7734 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNGE_EXPR, LT_EXPR);
7735 : 0 : if (res) return res;
7736 : : }
7737 : : }
7738 : : }
7739 : : }
7740 : : break;
7741 : : }
7742 : : default:;
7743 : : }
7744 : : break;
7745 : : }
7746 : : default:;
7747 : : }
7748 : : }
7749 : : break;
7750 : : }
7751 : 0 : case UNEQ_EXPR:
7752 : 0 : {
7753 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7754 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7755 : 0 : if (zerop (_q22))
7756 : : {
7757 : 0 : switch (TREE_CODE (_p1))
7758 : : {
7759 : 0 : case COND_EXPR:
7760 : 0 : {
7761 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7762 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7763 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7764 : 0 : switch (TREE_CODE (_q80))
7765 : : {
7766 : 0 : case LTGT_EXPR:
7767 : 0 : {
7768 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7769 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7770 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7771 : : {
7772 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7773 : : {
7774 : 0 : if (zerop (_q82))
7775 : : {
7776 : 0 : {
7777 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
7778 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNEQ_EXPR, LTGT_EXPR);
7779 : 0 : if (res) return res;
7780 : : }
7781 : : }
7782 : : }
7783 : : }
7784 : : break;
7785 : : }
7786 : : default:;
7787 : : }
7788 : : break;
7789 : : }
7790 : : default:;
7791 : : }
7792 : : }
7793 : : break;
7794 : : }
7795 : 0 : case LTGT_EXPR:
7796 : 0 : {
7797 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7798 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7799 : 0 : if (zerop (_q22))
7800 : : {
7801 : 0 : switch (TREE_CODE (_p1))
7802 : : {
7803 : 0 : case COND_EXPR:
7804 : 0 : {
7805 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7806 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7807 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7808 : 0 : switch (TREE_CODE (_q80))
7809 : : {
7810 : 0 : case UNEQ_EXPR:
7811 : 0 : {
7812 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7813 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7814 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7815 : : {
7816 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7817 : : {
7818 : 0 : if (zerop (_q82))
7819 : : {
7820 : 0 : {
7821 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
7822 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LTGT_EXPR, UNEQ_EXPR);
7823 : 0 : if (res) return res;
7824 : : }
7825 : : }
7826 : : }
7827 : : }
7828 : : break;
7829 : : }
7830 : : default:;
7831 : : }
7832 : : break;
7833 : : }
7834 : : default:;
7835 : : }
7836 : : }
7837 : : break;
7838 : : }
7839 : : default:;
7840 : : }
7841 : : break;
7842 : : }
7843 : 1 : case VEC_COND_EXPR:
7844 : 1 : {
7845 : 1 : tree _q20 = TREE_OPERAND (_p0, 0);
7846 : 1 : tree _q21 = TREE_OPERAND (_p0, 1);
7847 : 1 : tree _q22 = TREE_OPERAND (_p0, 2);
7848 : 1 : if (integer_zerop (_q22))
7849 : : {
7850 : 1 : switch (TREE_CODE (_p1))
7851 : : {
7852 : 0 : case VEC_COND_EXPR:
7853 : 0 : {
7854 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
7855 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
7856 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
7857 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
7858 : : {
7859 : 0 : if (integer_zerop (_q61))
7860 : : {
7861 : 0 : {
7862 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q62 };
7863 : 0 : const enum tree_code op = BIT_XOR_EXPR;
7864 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1424;
7865 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1424;
7866 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1424;
7867 : 0 : {
7868 : 0 : tree res_op0;
7869 : 0 : res_op0 = captures[1];
7870 : 0 : tree res_op1;
7871 : 0 : res_op1 = captures[2];
7872 : 0 : tree res_op2;
7873 : 0 : res_op2 = captures[4];
7874 : 0 : tree _r;
7875 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
7876 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 903, __FILE__, __LINE__, true);
7877 : 0 : return _r;
7878 : : }
7879 : 0 : next_after_fail1424:;
7880 : : }
7881 : : }
7882 : : }
7883 : : break;
7884 : : }
7885 : : default:;
7886 : : }
7887 : : }
7888 : 1 : if (integer_zerop (_q21))
7889 : : {
7890 : 0 : switch (TREE_CODE (_p1))
7891 : : {
7892 : 0 : case VEC_COND_EXPR:
7893 : 0 : {
7894 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
7895 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
7896 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
7897 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
7898 : : {
7899 : 0 : if (integer_zerop (_q62))
7900 : : {
7901 : 0 : {
7902 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q20, _q61, _p0, _q22 };
7903 : 0 : const enum tree_code op = BIT_XOR_EXPR;
7904 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1425;
7905 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1425;
7906 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1425;
7907 : 0 : {
7908 : 0 : tree res_op0;
7909 : 0 : res_op0 = captures[1];
7910 : 0 : tree res_op1;
7911 : 0 : res_op1 = captures[2];
7912 : 0 : tree res_op2;
7913 : 0 : res_op2 = captures[4];
7914 : 0 : tree _r;
7915 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
7916 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 903, __FILE__, __LINE__, true);
7917 : 0 : return _r;
7918 : : }
7919 : 0 : next_after_fail1425:;
7920 : : }
7921 : : }
7922 : : }
7923 : : break;
7924 : : }
7925 : : default:;
7926 : : }
7927 : : }
7928 : 1 : switch (TREE_CODE (_q20))
7929 : : {
7930 : 0 : case LT_EXPR:
7931 : 0 : {
7932 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7933 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7934 : 0 : if (integer_zerop (_q22))
7935 : : {
7936 : 0 : switch (TREE_CODE (_p1))
7937 : : {
7938 : 0 : case VEC_COND_EXPR:
7939 : 0 : {
7940 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7941 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7942 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7943 : 0 : switch (TREE_CODE (_q80))
7944 : : {
7945 : 0 : case GE_EXPR:
7946 : 0 : {
7947 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7948 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7949 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7950 : : {
7951 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7952 : : {
7953 : 0 : if (integer_zerop (_q82))
7954 : : {
7955 : 0 : {
7956 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
7957 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LT_EXPR, GE_EXPR);
7958 : 0 : if (res) return res;
7959 : : }
7960 : : }
7961 : : }
7962 : : }
7963 : : break;
7964 : : }
7965 : : default:;
7966 : : }
7967 : : break;
7968 : : }
7969 : : default:;
7970 : : }
7971 : : }
7972 : : break;
7973 : : }
7974 : 0 : case LE_EXPR:
7975 : 0 : {
7976 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7977 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7978 : 0 : if (integer_zerop (_q22))
7979 : : {
7980 : 0 : switch (TREE_CODE (_p1))
7981 : : {
7982 : 0 : case VEC_COND_EXPR:
7983 : 0 : {
7984 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7985 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7986 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7987 : 0 : switch (TREE_CODE (_q80))
7988 : : {
7989 : 0 : case GT_EXPR:
7990 : 0 : {
7991 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7992 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7993 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7994 : : {
7995 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7996 : : {
7997 : 0 : if (integer_zerop (_q82))
7998 : : {
7999 : 0 : {
8000 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8001 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LE_EXPR, GT_EXPR);
8002 : 0 : if (res) return res;
8003 : : }
8004 : : }
8005 : : }
8006 : : }
8007 : : break;
8008 : : }
8009 : : default:;
8010 : : }
8011 : : break;
8012 : : }
8013 : : default:;
8014 : : }
8015 : : }
8016 : : break;
8017 : : }
8018 : 0 : case EQ_EXPR:
8019 : 0 : {
8020 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8021 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8022 : 0 : if (integer_zerop (_q22))
8023 : : {
8024 : 0 : switch (TREE_CODE (_p1))
8025 : : {
8026 : 0 : case VEC_COND_EXPR:
8027 : 0 : {
8028 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8029 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8030 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8031 : 0 : switch (TREE_CODE (_q80))
8032 : : {
8033 : 0 : case NE_EXPR:
8034 : 0 : {
8035 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8036 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8037 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8038 : : {
8039 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8040 : : {
8041 : 0 : if (integer_zerop (_q82))
8042 : : {
8043 : 0 : {
8044 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8045 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, EQ_EXPR, NE_EXPR);
8046 : 0 : if (res) return res;
8047 : : }
8048 : : }
8049 : : }
8050 : : }
8051 : : break;
8052 : : }
8053 : : default:;
8054 : : }
8055 : : break;
8056 : : }
8057 : : default:;
8058 : : }
8059 : : }
8060 : : break;
8061 : : }
8062 : 1 : case NE_EXPR:
8063 : 1 : {
8064 : 1 : tree _q30 = TREE_OPERAND (_q20, 0);
8065 : 1 : tree _q31 = TREE_OPERAND (_q20, 1);
8066 : 1 : if (integer_zerop (_q22))
8067 : : {
8068 : 1 : switch (TREE_CODE (_p1))
8069 : : {
8070 : 0 : case VEC_COND_EXPR:
8071 : 0 : {
8072 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8073 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8074 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8075 : 0 : switch (TREE_CODE (_q80))
8076 : : {
8077 : 0 : case EQ_EXPR:
8078 : 0 : {
8079 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8080 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8081 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8082 : : {
8083 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8084 : : {
8085 : 0 : if (integer_zerop (_q82))
8086 : : {
8087 : 0 : {
8088 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8089 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, NE_EXPR, EQ_EXPR);
8090 : 0 : if (res) return res;
8091 : : }
8092 : : }
8093 : : }
8094 : : }
8095 : : break;
8096 : : }
8097 : : default:;
8098 : : }
8099 : : break;
8100 : : }
8101 : : default:;
8102 : : }
8103 : : }
8104 : : break;
8105 : : }
8106 : 0 : case GE_EXPR:
8107 : 0 : {
8108 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8109 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8110 : 0 : if (integer_zerop (_q22))
8111 : : {
8112 : 0 : switch (TREE_CODE (_p1))
8113 : : {
8114 : 0 : case VEC_COND_EXPR:
8115 : 0 : {
8116 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8117 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8118 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8119 : 0 : switch (TREE_CODE (_q80))
8120 : : {
8121 : 0 : case LT_EXPR:
8122 : 0 : {
8123 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8124 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8125 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8126 : : {
8127 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8128 : : {
8129 : 0 : if (integer_zerop (_q82))
8130 : : {
8131 : 0 : {
8132 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8133 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, GE_EXPR, LT_EXPR);
8134 : 0 : if (res) return res;
8135 : : }
8136 : : }
8137 : : }
8138 : : }
8139 : : break;
8140 : : }
8141 : : default:;
8142 : : }
8143 : : break;
8144 : : }
8145 : : default:;
8146 : : }
8147 : : }
8148 : : break;
8149 : : }
8150 : 0 : case GT_EXPR:
8151 : 0 : {
8152 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8153 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8154 : 0 : if (integer_zerop (_q22))
8155 : : {
8156 : 0 : switch (TREE_CODE (_p1))
8157 : : {
8158 : 0 : case VEC_COND_EXPR:
8159 : 0 : {
8160 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8161 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8162 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8163 : 0 : switch (TREE_CODE (_q80))
8164 : : {
8165 : 0 : case LE_EXPR:
8166 : 0 : {
8167 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8168 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8169 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8170 : : {
8171 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8172 : : {
8173 : 0 : if (integer_zerop (_q82))
8174 : : {
8175 : 0 : {
8176 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8177 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, GT_EXPR, LE_EXPR);
8178 : 0 : if (res) return res;
8179 : : }
8180 : : }
8181 : : }
8182 : : }
8183 : : break;
8184 : : }
8185 : : default:;
8186 : : }
8187 : : break;
8188 : : }
8189 : : default:;
8190 : : }
8191 : : }
8192 : : break;
8193 : : }
8194 : 0 : case UNORDERED_EXPR:
8195 : 0 : {
8196 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8197 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8198 : 0 : if (integer_zerop (_q22))
8199 : : {
8200 : 0 : switch (TREE_CODE (_p1))
8201 : : {
8202 : 0 : case VEC_COND_EXPR:
8203 : 0 : {
8204 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8205 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8206 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8207 : 0 : switch (TREE_CODE (_q80))
8208 : : {
8209 : 0 : case ORDERED_EXPR:
8210 : 0 : {
8211 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8212 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8213 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8214 : : {
8215 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8216 : : {
8217 : 0 : if (integer_zerop (_q82))
8218 : : {
8219 : 0 : {
8220 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8221 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNORDERED_EXPR, ORDERED_EXPR);
8222 : 0 : if (res) return res;
8223 : : }
8224 : : }
8225 : : }
8226 : : }
8227 : : break;
8228 : : }
8229 : : default:;
8230 : : }
8231 : : break;
8232 : : }
8233 : : default:;
8234 : : }
8235 : : }
8236 : : break;
8237 : : }
8238 : 0 : case ORDERED_EXPR:
8239 : 0 : {
8240 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8241 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8242 : 0 : if (integer_zerop (_q22))
8243 : : {
8244 : 0 : switch (TREE_CODE (_p1))
8245 : : {
8246 : 0 : case VEC_COND_EXPR:
8247 : 0 : {
8248 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8249 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8250 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8251 : 0 : switch (TREE_CODE (_q80))
8252 : : {
8253 : 0 : case UNORDERED_EXPR:
8254 : 0 : {
8255 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8256 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8257 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8258 : : {
8259 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8260 : : {
8261 : 0 : if (integer_zerop (_q82))
8262 : : {
8263 : 0 : {
8264 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8265 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, ORDERED_EXPR, UNORDERED_EXPR);
8266 : 0 : if (res) return res;
8267 : : }
8268 : : }
8269 : : }
8270 : : }
8271 : : break;
8272 : : }
8273 : : default:;
8274 : : }
8275 : : break;
8276 : : }
8277 : : default:;
8278 : : }
8279 : : }
8280 : : break;
8281 : : }
8282 : 0 : case UNLT_EXPR:
8283 : 0 : {
8284 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8285 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8286 : 0 : if (integer_zerop (_q22))
8287 : : {
8288 : 0 : switch (TREE_CODE (_p1))
8289 : : {
8290 : 0 : case VEC_COND_EXPR:
8291 : 0 : {
8292 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8293 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8294 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8295 : 0 : switch (TREE_CODE (_q80))
8296 : : {
8297 : 0 : case GE_EXPR:
8298 : 0 : {
8299 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8300 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8301 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8302 : : {
8303 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8304 : : {
8305 : 0 : if (integer_zerop (_q82))
8306 : : {
8307 : 0 : {
8308 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8309 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNLT_EXPR, GE_EXPR);
8310 : 0 : if (res) return res;
8311 : : }
8312 : : }
8313 : : }
8314 : : }
8315 : : break;
8316 : : }
8317 : : default:;
8318 : : }
8319 : : break;
8320 : : }
8321 : : default:;
8322 : : }
8323 : : }
8324 : : break;
8325 : : }
8326 : 0 : case UNLE_EXPR:
8327 : 0 : {
8328 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8329 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8330 : 0 : if (integer_zerop (_q22))
8331 : : {
8332 : 0 : switch (TREE_CODE (_p1))
8333 : : {
8334 : 0 : case VEC_COND_EXPR:
8335 : 0 : {
8336 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8337 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8338 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8339 : 0 : switch (TREE_CODE (_q80))
8340 : : {
8341 : 0 : case GT_EXPR:
8342 : 0 : {
8343 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8344 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8345 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8346 : : {
8347 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8348 : : {
8349 : 0 : if (integer_zerop (_q82))
8350 : : {
8351 : 0 : {
8352 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8353 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNLE_EXPR, GT_EXPR);
8354 : 0 : if (res) return res;
8355 : : }
8356 : : }
8357 : : }
8358 : : }
8359 : : break;
8360 : : }
8361 : : default:;
8362 : : }
8363 : : break;
8364 : : }
8365 : : default:;
8366 : : }
8367 : : }
8368 : : break;
8369 : : }
8370 : 0 : case UNGT_EXPR:
8371 : 0 : {
8372 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8373 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8374 : 0 : if (integer_zerop (_q22))
8375 : : {
8376 : 0 : switch (TREE_CODE (_p1))
8377 : : {
8378 : 0 : case VEC_COND_EXPR:
8379 : 0 : {
8380 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8381 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8382 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8383 : 0 : switch (TREE_CODE (_q80))
8384 : : {
8385 : 0 : case LE_EXPR:
8386 : 0 : {
8387 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8388 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8389 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8390 : : {
8391 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8392 : : {
8393 : 0 : if (integer_zerop (_q82))
8394 : : {
8395 : 0 : {
8396 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8397 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNGT_EXPR, LE_EXPR);
8398 : 0 : if (res) return res;
8399 : : }
8400 : : }
8401 : : }
8402 : : }
8403 : : break;
8404 : : }
8405 : : default:;
8406 : : }
8407 : : break;
8408 : : }
8409 : : default:;
8410 : : }
8411 : : }
8412 : : break;
8413 : : }
8414 : 0 : case UNGE_EXPR:
8415 : 0 : {
8416 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8417 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8418 : 0 : if (integer_zerop (_q22))
8419 : : {
8420 : 0 : switch (TREE_CODE (_p1))
8421 : : {
8422 : 0 : case VEC_COND_EXPR:
8423 : 0 : {
8424 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8425 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8426 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8427 : 0 : switch (TREE_CODE (_q80))
8428 : : {
8429 : 0 : case LT_EXPR:
8430 : 0 : {
8431 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8432 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8433 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8434 : : {
8435 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8436 : : {
8437 : 0 : if (integer_zerop (_q82))
8438 : : {
8439 : 0 : {
8440 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8441 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNGE_EXPR, LT_EXPR);
8442 : 0 : if (res) return res;
8443 : : }
8444 : : }
8445 : : }
8446 : : }
8447 : : break;
8448 : : }
8449 : : default:;
8450 : : }
8451 : : break;
8452 : : }
8453 : : default:;
8454 : : }
8455 : : }
8456 : : break;
8457 : : }
8458 : 0 : case UNEQ_EXPR:
8459 : 0 : {
8460 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8461 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8462 : 0 : if (integer_zerop (_q22))
8463 : : {
8464 : 0 : switch (TREE_CODE (_p1))
8465 : : {
8466 : 0 : case VEC_COND_EXPR:
8467 : 0 : {
8468 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8469 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8470 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8471 : 0 : switch (TREE_CODE (_q80))
8472 : : {
8473 : 0 : case LTGT_EXPR:
8474 : 0 : {
8475 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8476 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8477 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8478 : : {
8479 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8480 : : {
8481 : 0 : if (integer_zerop (_q82))
8482 : : {
8483 : 0 : {
8484 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8485 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNEQ_EXPR, LTGT_EXPR);
8486 : 0 : if (res) return res;
8487 : : }
8488 : : }
8489 : : }
8490 : : }
8491 : : break;
8492 : : }
8493 : : default:;
8494 : : }
8495 : : break;
8496 : : }
8497 : : default:;
8498 : : }
8499 : : }
8500 : : break;
8501 : : }
8502 : 0 : case LTGT_EXPR:
8503 : 0 : {
8504 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8505 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8506 : 0 : if (integer_zerop (_q22))
8507 : : {
8508 : 0 : switch (TREE_CODE (_p1))
8509 : : {
8510 : 0 : case VEC_COND_EXPR:
8511 : 0 : {
8512 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8513 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8514 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8515 : 0 : switch (TREE_CODE (_q80))
8516 : : {
8517 : 0 : case UNEQ_EXPR:
8518 : 0 : {
8519 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8520 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8521 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8522 : : {
8523 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8524 : : {
8525 : 0 : if (integer_zerop (_q82))
8526 : : {
8527 : 0 : {
8528 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8529 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LTGT_EXPR, UNEQ_EXPR);
8530 : 0 : if (res) return res;
8531 : : }
8532 : : }
8533 : : }
8534 : : }
8535 : : break;
8536 : : }
8537 : : default:;
8538 : : }
8539 : : break;
8540 : : }
8541 : : default:;
8542 : : }
8543 : : }
8544 : : break;
8545 : : }
8546 : : default:;
8547 : : }
8548 : : break;
8549 : : }
8550 : 2540 : case BIT_AND_EXPR:
8551 : 2540 : {
8552 : 2540 : tree _q20 = TREE_OPERAND (_p0, 0);
8553 : 2540 : tree _q21 = TREE_OPERAND (_p0, 1);
8554 : 2540 : if (tree_truth_valued_p (_q20))
8555 : : {
8556 : 0 : if (tree_truth_valued_p (_q21))
8557 : : {
8558 : 0 : switch (TREE_CODE (_p1))
8559 : : {
8560 : 0 : case EQ_EXPR:
8561 : 0 : {
8562 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8563 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8564 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
8565 : : {
8566 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
8567 : : {
8568 : 0 : {
8569 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
8570 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1426;
8571 : 0 : {
8572 : 0 : tree res_op0;
8573 : 0 : {
8574 : 0 : tree _o1[2], _r1;
8575 : 0 : _o1[0] = captures[0];
8576 : 0 : _o1[1] = captures[1];
8577 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
8578 : 0 : res_op0 = _r1;
8579 : : }
8580 : 0 : tree _r;
8581 : 0 : _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
8582 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 958, __FILE__, __LINE__, true);
8583 : 0 : return _r;
8584 : : }
8585 : 0 : next_after_fail1426:;
8586 : : }
8587 : : }
8588 : : }
8589 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
8590 : : {
8591 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
8592 : : {
8593 : 0 : {
8594 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
8595 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1427;
8596 : 0 : {
8597 : 0 : tree res_op0;
8598 : 0 : {
8599 : 0 : tree _o1[2], _r1;
8600 : 0 : _o1[0] = captures[0];
8601 : 0 : _o1[1] = captures[1];
8602 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
8603 : 0 : res_op0 = _r1;
8604 : : }
8605 : 0 : tree _r;
8606 : 0 : _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
8607 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 958, __FILE__, __LINE__, true);
8608 : 0 : return _r;
8609 : : }
8610 : 0 : next_after_fail1427:;
8611 : : }
8612 : : }
8613 : : }
8614 : : break;
8615 : : }
8616 : : default:;
8617 : : }
8618 : : }
8619 : : }
8620 : : break;
8621 : : }
8622 : 118 : case EQ_EXPR:
8623 : 118 : {
8624 : 118 : tree _q20 = TREE_OPERAND (_p0, 0);
8625 : 118 : tree _q21 = TREE_OPERAND (_p0, 1);
8626 : 118 : switch (TREE_CODE (_p1))
8627 : : {
8628 : 0 : case BIT_AND_EXPR:
8629 : 0 : {
8630 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8631 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8632 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
8633 : : {
8634 : 0 : if (tree_truth_valued_p (_q50))
8635 : : {
8636 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
8637 : : {
8638 : 0 : if (tree_truth_valued_p (_q51))
8639 : : {
8640 : 0 : {
8641 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
8642 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1428;
8643 : 0 : {
8644 : 0 : tree res_op0;
8645 : 0 : {
8646 : 0 : tree _o1[2], _r1;
8647 : 0 : _o1[0] = captures[0];
8648 : 0 : _o1[1] = captures[1];
8649 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
8650 : 0 : res_op0 = _r1;
8651 : : }
8652 : 0 : tree _r;
8653 : 0 : _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
8654 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 958, __FILE__, __LINE__, true);
8655 : 0 : return _r;
8656 : : }
8657 : 0 : next_after_fail1428:;
8658 : : }
8659 : : }
8660 : : }
8661 : : }
8662 : : }
8663 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
8664 : : {
8665 : 0 : if (tree_truth_valued_p (_q50))
8666 : : {
8667 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
8668 : : {
8669 : 0 : if (tree_truth_valued_p (_q51))
8670 : : {
8671 : 0 : {
8672 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
8673 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1429;
8674 : 0 : {
8675 : 0 : tree res_op0;
8676 : 0 : {
8677 : 0 : tree _o1[2], _r1;
8678 : 0 : _o1[0] = captures[0];
8679 : 0 : _o1[1] = captures[1];
8680 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
8681 : 0 : res_op0 = _r1;
8682 : : }
8683 : 0 : tree _r;
8684 : 0 : _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
8685 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 958, __FILE__, __LINE__, true);
8686 : 0 : return _r;
8687 : : }
8688 : 0 : next_after_fail1429:;
8689 : : }
8690 : : }
8691 : : }
8692 : : }
8693 : : }
8694 : : break;
8695 : : }
8696 : : default:;
8697 : : }
8698 : : break;
8699 : : }
8700 : 681118 : default:;
8701 : : }
8702 : 681118 : {
8703 : 681118 : tree _p0_pops[1];
8704 : 681118 : if (tree_logical_inverted_value (_p0, _p0_pops))
8705 : : {
8706 : 45 : tree _q20 = _p0_pops[0];
8707 : 45 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
8708 : : {
8709 : 4 : if (tree_truth_valued_p (_p1))
8710 : : {
8711 : 4 : {
8712 : 4 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
8713 : 4 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
8714 : 4 : if (res) return res;
8715 : : }
8716 : : }
8717 : : }
8718 : : }
8719 : : }
8720 : 681114 : {
8721 : 681114 : tree _p0_pops[1];
8722 : 681114 : if (tree_nop_convert (_p0, _p0_pops))
8723 : : {
8724 : 496279 : tree _q20 = _p0_pops[0];
8725 : 496279 : switch (TREE_CODE (_q20))
8726 : : {
8727 : 24 : case BIT_NOT_EXPR:
8728 : 24 : {
8729 : 24 : tree _q30 = TREE_OPERAND (_q20, 0);
8730 : 24 : {
8731 : 24 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _p1 };
8732 : 24 : tree res = generic_simplify_168 (loc, type, _p0, _p1, captures);
8733 : 24 : if (res) return res;
8734 : : }
8735 : 0 : break;
8736 : : }
8737 : 20 : case MULT_EXPR:
8738 : 20 : {
8739 : 20 : tree _q30 = TREE_OPERAND (_q20, 0);
8740 : 20 : tree _q31 = TREE_OPERAND (_q20, 1);
8741 : 20 : {
8742 : 20 : tree _q30_pops[1];
8743 : 20 : if (tree_nop_convert (_q30, _q30_pops))
8744 : : {
8745 : 0 : tree _q40 = _q30_pops[0];
8746 : 0 : switch (TREE_CODE (_q31))
8747 : : {
8748 : 0 : case INTEGER_CST:
8749 : 0 : {
8750 : 0 : switch (TREE_CODE (_p1))
8751 : : {
8752 : 0 : case LSHIFT_EXPR:
8753 : 0 : {
8754 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
8755 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
8756 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
8757 : : {
8758 : 0 : switch (TREE_CODE (_q71))
8759 : : {
8760 : 0 : case INTEGER_CST:
8761 : 0 : {
8762 : 0 : {
8763 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31, _p1, _q71 };
8764 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
8765 : 0 : if (res) return res;
8766 : : }
8767 : 0 : break;
8768 : : }
8769 : : default:;
8770 : : }
8771 : : }
8772 : : break;
8773 : : }
8774 : 0 : default:;
8775 : : }
8776 : 0 : {
8777 : 0 : tree _p1_pops[1];
8778 : 0 : if (tree_nop_convert (_p1, _p1_pops))
8779 : : {
8780 : 0 : tree _q70 = _p1_pops[0];
8781 : 0 : switch (TREE_CODE (_q70))
8782 : : {
8783 : 0 : case MULT_EXPR:
8784 : 0 : {
8785 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
8786 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
8787 : 0 : {
8788 : 0 : tree _q80_pops[1];
8789 : 0 : if (tree_nop_convert (_q80, _q80_pops))
8790 : : {
8791 : 0 : tree _q90 = _q80_pops[0];
8792 : 0 : switch (TREE_CODE (_q81))
8793 : : {
8794 : 0 : case INTEGER_CST:
8795 : 0 : {
8796 : 0 : {
8797 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31, _p1, _q70, _q90, _q81 };
8798 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
8799 : 0 : if (res) return res;
8800 : : }
8801 : 0 : break;
8802 : : }
8803 : : default:;
8804 : : }
8805 : : }
8806 : : }
8807 : 0 : break;
8808 : : }
8809 : : default:;
8810 : : }
8811 : : }
8812 : : }
8813 : 0 : if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
8814 : : {
8815 : 0 : {
8816 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31 };
8817 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
8818 : 0 : if (res) return res;
8819 : : }
8820 : : }
8821 : : break;
8822 : : }
8823 : : default:;
8824 : : }
8825 : : }
8826 : : }
8827 : 20 : break;
8828 : : }
8829 : : default:;
8830 : : }
8831 : : }
8832 : : }
8833 : 681090 : if (tree_truth_valued_p (_p0))
8834 : : {
8835 : 36029 : {
8836 : 36029 : tree _p1_pops[1];
8837 : 36029 : if (tree_logical_inverted_value (_p1, _p1_pops))
8838 : : {
8839 : 7 : tree _q30 = _p1_pops[0];
8840 : 7 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
8841 : : {
8842 : 0 : {
8843 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
8844 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
8845 : 0 : if (res) return res;
8846 : : }
8847 : : }
8848 : : }
8849 : : }
8850 : : }
8851 : 681090 : switch (TREE_CODE (_p1))
8852 : : {
8853 : 288 : case BIT_NOT_EXPR:
8854 : 288 : {
8855 : 288 : tree _q30 = TREE_OPERAND (_p1, 0);
8856 : 288 : {
8857 : 288 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _p0 };
8858 : 288 : tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
8859 : 288 : if (res) return res;
8860 : : }
8861 : 0 : break;
8862 : : }
8863 : 680802 : default:;
8864 : : }
8865 : 680802 : {
8866 : 680802 : tree _p1_pops[1];
8867 : 680802 : if (tree_nop_convert (_p1, _p1_pops))
8868 : : {
8869 : 538826 : tree _q30 = _p1_pops[0];
8870 : 538826 : switch (TREE_CODE (_q30))
8871 : : {
8872 : 0 : case BIT_NOT_EXPR:
8873 : 0 : {
8874 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
8875 : 0 : {
8876 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _p0 };
8877 : 0 : tree res = generic_simplify_168 (loc, type, _p0, _p1, captures);
8878 : 0 : if (res) return res;
8879 : : }
8880 : 0 : break;
8881 : : }
8882 : : default:;
8883 : : }
8884 : : }
8885 : : }
8886 : 680802 : switch (TREE_CODE (_p0))
8887 : : {
8888 : 1131 : case BIT_IOR_EXPR:
8889 : 1131 : {
8890 : 1131 : tree _q20 = TREE_OPERAND (_p0, 0);
8891 : 1131 : tree _q21 = TREE_OPERAND (_p0, 1);
8892 : 1131 : switch (TREE_CODE (_q21))
8893 : : {
8894 : 23 : case INTEGER_CST:
8895 : 23 : {
8896 : 23 : switch (TREE_CODE (_p1))
8897 : : {
8898 : 23 : case INTEGER_CST:
8899 : 23 : {
8900 : 23 : {
8901 : 23 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
8902 : 23 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_XOR_EXPR);
8903 : 23 : if (res) return res;
8904 : : }
8905 : 23 : break;
8906 : : }
8907 : : default:;
8908 : : }
8909 : : break;
8910 : : }
8911 : : default:;
8912 : : }
8913 : : break;
8914 : : }
8915 : 90 : case LT_EXPR:
8916 : 90 : {
8917 : 90 : tree _q20 = TREE_OPERAND (_p0, 0);
8918 : 90 : tree _q21 = TREE_OPERAND (_p0, 1);
8919 : 90 : switch (TREE_CODE (_p1))
8920 : : {
8921 : 0 : case GT_EXPR:
8922 : 0 : {
8923 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8924 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8925 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
8926 : : {
8927 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
8928 : : {
8929 : 0 : {
8930 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
8931 : 0 : const enum tree_code cmp1 = LT_EXPR;
8932 : 0 : const enum tree_code cmp2 = GT_EXPR;
8933 : 0 : const enum tree_code rcmp = NE_EXPR;
8934 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8935 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8936 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8937 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8938 : : )
8939 : : {
8940 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1430;
8941 : 0 : {
8942 : 0 : tree res_op0;
8943 : 0 : res_op0 = captures[0];
8944 : 0 : tree res_op1;
8945 : 0 : res_op1 = captures[1];
8946 : 0 : tree _r;
8947 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8948 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
8949 : 0 : return _r;
8950 : : }
8951 : 0 : next_after_fail1430:;
8952 : : }
8953 : : }
8954 : : }
8955 : : }
8956 : : break;
8957 : : }
8958 : 0 : case EQ_EXPR:
8959 : 0 : {
8960 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8961 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8962 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
8963 : : {
8964 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
8965 : : {
8966 : 0 : {
8967 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
8968 : 0 : const enum tree_code cmp1 = LT_EXPR;
8969 : 0 : const enum tree_code cmp2 = EQ_EXPR;
8970 : 0 : const enum tree_code rcmp = LE_EXPR;
8971 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8972 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8973 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8974 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8975 : : )
8976 : : {
8977 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1431;
8978 : 0 : {
8979 : 0 : tree res_op0;
8980 : 0 : res_op0 = captures[0];
8981 : 0 : tree res_op1;
8982 : 0 : res_op1 = captures[1];
8983 : 0 : tree _r;
8984 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8985 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
8986 : 0 : return _r;
8987 : : }
8988 : 0 : next_after_fail1431:;
8989 : : }
8990 : : }
8991 : : }
8992 : : }
8993 : : break;
8994 : : }
8995 : 0 : case NE_EXPR:
8996 : 0 : {
8997 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8998 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8999 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
9000 : : {
9001 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
9002 : : {
9003 : 0 : {
9004 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9005 : 0 : const enum tree_code cmp1 = LT_EXPR;
9006 : 0 : const enum tree_code cmp2 = NE_EXPR;
9007 : 0 : const enum tree_code rcmp = GT_EXPR;
9008 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9009 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9010 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9011 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9012 : : )
9013 : : {
9014 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1432;
9015 : 0 : {
9016 : 0 : tree res_op0;
9017 : 0 : res_op0 = captures[0];
9018 : 0 : tree res_op1;
9019 : 0 : res_op1 = captures[1];
9020 : 0 : tree _r;
9021 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9022 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9023 : 0 : return _r;
9024 : : }
9025 : 0 : next_after_fail1432:;
9026 : : }
9027 : : }
9028 : : }
9029 : : }
9030 : : break;
9031 : : }
9032 : : default:;
9033 : : }
9034 : : break;
9035 : : }
9036 : 78 : case LE_EXPR:
9037 : 78 : {
9038 : 78 : tree _q20 = TREE_OPERAND (_p0, 0);
9039 : 78 : tree _q21 = TREE_OPERAND (_p0, 1);
9040 : 78 : switch (TREE_CODE (_p1))
9041 : : {
9042 : 0 : case GE_EXPR:
9043 : 0 : {
9044 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9045 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9046 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
9047 : : {
9048 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
9049 : : {
9050 : 0 : {
9051 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9052 : 0 : const enum tree_code cmp1 = LE_EXPR;
9053 : 0 : const enum tree_code cmp2 = GE_EXPR;
9054 : 0 : const enum tree_code rcmp = NE_EXPR;
9055 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9056 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9057 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9058 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9059 : : )
9060 : : {
9061 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1433;
9062 : 0 : {
9063 : 0 : tree res_op0;
9064 : 0 : res_op0 = captures[0];
9065 : 0 : tree res_op1;
9066 : 0 : res_op1 = captures[1];
9067 : 0 : tree _r;
9068 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9069 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9070 : 0 : return _r;
9071 : : }
9072 : 0 : next_after_fail1433:;
9073 : : }
9074 : : }
9075 : : }
9076 : : }
9077 : : break;
9078 : : }
9079 : 0 : case EQ_EXPR:
9080 : 0 : {
9081 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9082 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9083 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
9084 : : {
9085 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
9086 : : {
9087 : 0 : {
9088 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9089 : 0 : const enum tree_code cmp1 = LE_EXPR;
9090 : 0 : const enum tree_code cmp2 = EQ_EXPR;
9091 : 0 : const enum tree_code rcmp = LT_EXPR;
9092 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9093 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9094 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9095 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9096 : : )
9097 : : {
9098 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1434;
9099 : 0 : {
9100 : 0 : tree res_op0;
9101 : 0 : res_op0 = captures[0];
9102 : 0 : tree res_op1;
9103 : 0 : res_op1 = captures[1];
9104 : 0 : tree _r;
9105 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9106 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9107 : 0 : return _r;
9108 : : }
9109 : 0 : next_after_fail1434:;
9110 : : }
9111 : : }
9112 : : }
9113 : : }
9114 : : break;
9115 : : }
9116 : 0 : case NE_EXPR:
9117 : 0 : {
9118 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9119 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9120 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
9121 : : {
9122 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
9123 : : {
9124 : 0 : {
9125 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9126 : 0 : const enum tree_code cmp1 = LE_EXPR;
9127 : 0 : const enum tree_code cmp2 = NE_EXPR;
9128 : 0 : const enum tree_code rcmp = GE_EXPR;
9129 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9130 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9131 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9132 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9133 : : )
9134 : : {
9135 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1435;
9136 : 0 : {
9137 : 0 : tree res_op0;
9138 : 0 : res_op0 = captures[0];
9139 : 0 : tree res_op1;
9140 : 0 : res_op1 = captures[1];
9141 : 0 : tree _r;
9142 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9143 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9144 : 0 : return _r;
9145 : : }
9146 : 0 : next_after_fail1435:;
9147 : : }
9148 : : }
9149 : : }
9150 : : }
9151 : : break;
9152 : : }
9153 : : default:;
9154 : : }
9155 : : break;
9156 : : }
9157 : 100 : case GT_EXPR:
9158 : 100 : {
9159 : 100 : tree _q20 = TREE_OPERAND (_p0, 0);
9160 : 100 : tree _q21 = TREE_OPERAND (_p0, 1);
9161 : 100 : switch (TREE_CODE (_p1))
9162 : : {
9163 : 0 : case GT_EXPR:
9164 : 0 : {
9165 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9166 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9167 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
9168 : : {
9169 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
9170 : : {
9171 : 0 : {
9172 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
9173 : 0 : const enum tree_code cmp1 = LT_EXPR;
9174 : 0 : const enum tree_code cmp2 = GT_EXPR;
9175 : 0 : const enum tree_code rcmp = NE_EXPR;
9176 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9177 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9178 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9179 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9180 : : )
9181 : : {
9182 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1436;
9183 : 0 : {
9184 : 0 : tree res_op0;
9185 : 0 : res_op0 = captures[0];
9186 : 0 : tree res_op1;
9187 : 0 : res_op1 = captures[1];
9188 : 0 : tree _r;
9189 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9190 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9191 : 0 : return _r;
9192 : : }
9193 : 0 : next_after_fail1436:;
9194 : : }
9195 : : }
9196 : 0 : {
9197 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9198 : 0 : const enum tree_code cmp1 = LT_EXPR;
9199 : 0 : const enum tree_code cmp2 = GT_EXPR;
9200 : 0 : const enum tree_code rcmp = NE_EXPR;
9201 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9202 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9203 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9204 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9205 : : )
9206 : : {
9207 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1437;
9208 : 0 : {
9209 : 0 : tree res_op0;
9210 : 0 : res_op0 = captures[0];
9211 : 0 : tree res_op1;
9212 : 0 : res_op1 = captures[1];
9213 : 0 : tree _r;
9214 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9215 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9216 : 0 : return _r;
9217 : : }
9218 : 0 : next_after_fail1437:;
9219 : : }
9220 : : }
9221 : : }
9222 : : }
9223 : : break;
9224 : : }
9225 : 0 : case EQ_EXPR:
9226 : 0 : {
9227 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9228 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9229 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
9230 : : {
9231 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
9232 : : {
9233 : 0 : {
9234 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
9235 : 0 : const enum tree_code cmp1 = LT_EXPR;
9236 : 0 : const enum tree_code cmp2 = EQ_EXPR;
9237 : 0 : const enum tree_code rcmp = LE_EXPR;
9238 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9239 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9240 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9241 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9242 : : )
9243 : : {
9244 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1438;
9245 : 0 : {
9246 : 0 : tree res_op0;
9247 : 0 : res_op0 = captures[0];
9248 : 0 : tree res_op1;
9249 : 0 : res_op1 = captures[1];
9250 : 0 : tree _r;
9251 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9252 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9253 : 0 : return _r;
9254 : : }
9255 : 0 : next_after_fail1438:;
9256 : : }
9257 : : }
9258 : : }
9259 : : }
9260 : : break;
9261 : : }
9262 : 12 : case NE_EXPR:
9263 : 12 : {
9264 : 12 : tree _q50 = TREE_OPERAND (_p1, 0);
9265 : 12 : tree _q51 = TREE_OPERAND (_p1, 1);
9266 : 12 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
9267 : : {
9268 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
9269 : : {
9270 : 0 : {
9271 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
9272 : 0 : const enum tree_code cmp1 = LT_EXPR;
9273 : 0 : const enum tree_code cmp2 = NE_EXPR;
9274 : 0 : const enum tree_code rcmp = GT_EXPR;
9275 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9276 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9277 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9278 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9279 : : )
9280 : : {
9281 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1439;
9282 : 0 : {
9283 : 0 : tree res_op0;
9284 : 0 : res_op0 = captures[0];
9285 : 0 : tree res_op1;
9286 : 0 : res_op1 = captures[1];
9287 : 0 : tree _r;
9288 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9289 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9290 : 0 : return _r;
9291 : : }
9292 : 0 : next_after_fail1439:;
9293 : : }
9294 : : }
9295 : : }
9296 : : }
9297 : : break;
9298 : : }
9299 : 0 : case LT_EXPR:
9300 : 0 : {
9301 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9302 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9303 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
9304 : : {
9305 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
9306 : : {
9307 : 0 : {
9308 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9309 : 0 : const enum tree_code cmp1 = LT_EXPR;
9310 : 0 : const enum tree_code cmp2 = GT_EXPR;
9311 : 0 : const enum tree_code rcmp = NE_EXPR;
9312 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9313 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9314 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9315 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9316 : : )
9317 : : {
9318 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1440;
9319 : 0 : {
9320 : 0 : tree res_op0;
9321 : 0 : res_op0 = captures[0];
9322 : 0 : tree res_op1;
9323 : 0 : res_op1 = captures[1];
9324 : 0 : tree _r;
9325 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9326 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9327 : 0 : return _r;
9328 : : }
9329 : 0 : next_after_fail1440:;
9330 : : }
9331 : : }
9332 : : }
9333 : : }
9334 : : break;
9335 : : }
9336 : : default:;
9337 : : }
9338 : : break;
9339 : : }
9340 : 62 : case GE_EXPR:
9341 : 62 : {
9342 : 62 : tree _q20 = TREE_OPERAND (_p0, 0);
9343 : 62 : tree _q21 = TREE_OPERAND (_p0, 1);
9344 : 62 : switch (TREE_CODE (_p1))
9345 : : {
9346 : 1 : case GE_EXPR:
9347 : 1 : {
9348 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
9349 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
9350 : 1 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
9351 : : {
9352 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
9353 : : {
9354 : 0 : {
9355 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
9356 : 0 : const enum tree_code cmp1 = LE_EXPR;
9357 : 0 : const enum tree_code cmp2 = GE_EXPR;
9358 : 0 : const enum tree_code rcmp = NE_EXPR;
9359 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9360 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9361 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9362 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9363 : : )
9364 : : {
9365 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1441;
9366 : 0 : {
9367 : 0 : tree res_op0;
9368 : 0 : res_op0 = captures[0];
9369 : 0 : tree res_op1;
9370 : 0 : res_op1 = captures[1];
9371 : 0 : tree _r;
9372 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9373 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9374 : 0 : return _r;
9375 : : }
9376 : 0 : next_after_fail1441:;
9377 : : }
9378 : : }
9379 : 0 : {
9380 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9381 : 0 : const enum tree_code cmp1 = LE_EXPR;
9382 : 0 : const enum tree_code cmp2 = GE_EXPR;
9383 : 0 : const enum tree_code rcmp = NE_EXPR;
9384 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9385 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9386 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9387 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9388 : : )
9389 : : {
9390 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1442;
9391 : 0 : {
9392 : 0 : tree res_op0;
9393 : 0 : res_op0 = captures[0];
9394 : 0 : tree res_op1;
9395 : 0 : res_op1 = captures[1];
9396 : 0 : tree _r;
9397 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9398 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9399 : 0 : return _r;
9400 : : }
9401 : 0 : next_after_fail1442:;
9402 : : }
9403 : : }
9404 : : }
9405 : : }
9406 : : break;
9407 : : }
9408 : 0 : case EQ_EXPR:
9409 : 0 : {
9410 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9411 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9412 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
9413 : : {
9414 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
9415 : : {
9416 : 0 : {
9417 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
9418 : 0 : const enum tree_code cmp1 = LE_EXPR;
9419 : 0 : const enum tree_code cmp2 = EQ_EXPR;
9420 : 0 : const enum tree_code rcmp = LT_EXPR;
9421 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9422 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9423 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9424 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9425 : : )
9426 : : {
9427 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1443;
9428 : 0 : {
9429 : 0 : tree res_op0;
9430 : 0 : res_op0 = captures[0];
9431 : 0 : tree res_op1;
9432 : 0 : res_op1 = captures[1];
9433 : 0 : tree _r;
9434 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9435 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9436 : 0 : return _r;
9437 : : }
9438 : 0 : next_after_fail1443:;
9439 : : }
9440 : : }
9441 : : }
9442 : : }
9443 : : break;
9444 : : }
9445 : 8 : case NE_EXPR:
9446 : 8 : {
9447 : 8 : tree _q50 = TREE_OPERAND (_p1, 0);
9448 : 8 : tree _q51 = TREE_OPERAND (_p1, 1);
9449 : 8 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
9450 : : {
9451 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
9452 : : {
9453 : 0 : {
9454 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
9455 : 0 : const enum tree_code cmp1 = LE_EXPR;
9456 : 0 : const enum tree_code cmp2 = NE_EXPR;
9457 : 0 : const enum tree_code rcmp = GE_EXPR;
9458 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9459 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9460 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9461 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9462 : : )
9463 : : {
9464 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1444;
9465 : 0 : {
9466 : 0 : tree res_op0;
9467 : 0 : res_op0 = captures[0];
9468 : 0 : tree res_op1;
9469 : 0 : res_op1 = captures[1];
9470 : 0 : tree _r;
9471 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9472 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9473 : 0 : return _r;
9474 : : }
9475 : 0 : next_after_fail1444:;
9476 : : }
9477 : : }
9478 : : }
9479 : : }
9480 : : break;
9481 : : }
9482 : 0 : case LE_EXPR:
9483 : 0 : {
9484 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9485 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9486 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
9487 : : {
9488 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
9489 : : {
9490 : 0 : {
9491 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9492 : 0 : const enum tree_code cmp1 = LE_EXPR;
9493 : 0 : const enum tree_code cmp2 = GE_EXPR;
9494 : 0 : const enum tree_code rcmp = NE_EXPR;
9495 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9496 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9497 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9498 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9499 : : )
9500 : : {
9501 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1445;
9502 : 0 : {
9503 : 0 : tree res_op0;
9504 : 0 : res_op0 = captures[0];
9505 : 0 : tree res_op1;
9506 : 0 : res_op1 = captures[1];
9507 : 0 : tree _r;
9508 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9509 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9510 : 0 : return _r;
9511 : : }
9512 : 0 : next_after_fail1445:;
9513 : : }
9514 : : }
9515 : : }
9516 : : }
9517 : : break;
9518 : : }
9519 : : default:;
9520 : : }
9521 : : break;
9522 : : }
9523 : 118 : case EQ_EXPR:
9524 : 118 : {
9525 : 118 : tree _q20 = TREE_OPERAND (_p0, 0);
9526 : 118 : tree _q21 = TREE_OPERAND (_p0, 1);
9527 : 118 : switch (TREE_CODE (_p1))
9528 : : {
9529 : 0 : case LT_EXPR:
9530 : 0 : {
9531 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9532 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9533 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
9534 : : {
9535 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
9536 : : {
9537 : 0 : {
9538 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9539 : 0 : const enum tree_code cmp1 = LT_EXPR;
9540 : 0 : const enum tree_code cmp2 = EQ_EXPR;
9541 : 0 : const enum tree_code rcmp = LE_EXPR;
9542 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9543 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9544 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9545 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9546 : : )
9547 : : {
9548 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1446;
9549 : 0 : {
9550 : 0 : tree res_op0;
9551 : 0 : res_op0 = captures[0];
9552 : 0 : tree res_op1;
9553 : 0 : res_op1 = captures[1];
9554 : 0 : tree _r;
9555 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9556 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9557 : 0 : return _r;
9558 : : }
9559 : 0 : next_after_fail1446:;
9560 : : }
9561 : : }
9562 : : }
9563 : : }
9564 : : break;
9565 : : }
9566 : 0 : case LE_EXPR:
9567 : 0 : {
9568 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9569 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9570 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
9571 : : {
9572 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
9573 : : {
9574 : 0 : {
9575 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9576 : 0 : const enum tree_code cmp1 = LE_EXPR;
9577 : 0 : const enum tree_code cmp2 = EQ_EXPR;
9578 : 0 : const enum tree_code rcmp = LT_EXPR;
9579 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9580 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9581 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9582 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9583 : : )
9584 : : {
9585 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1447;
9586 : 0 : {
9587 : 0 : tree res_op0;
9588 : 0 : res_op0 = captures[0];
9589 : 0 : tree res_op1;
9590 : 0 : res_op1 = captures[1];
9591 : 0 : tree _r;
9592 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9593 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9594 : 0 : return _r;
9595 : : }
9596 : 0 : next_after_fail1447:;
9597 : : }
9598 : : }
9599 : : }
9600 : : }
9601 : : break;
9602 : : }
9603 : 0 : case GT_EXPR:
9604 : 0 : {
9605 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9606 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9607 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
9608 : : {
9609 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
9610 : : {
9611 : 0 : {
9612 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9613 : 0 : const enum tree_code cmp1 = LT_EXPR;
9614 : 0 : const enum tree_code cmp2 = EQ_EXPR;
9615 : 0 : const enum tree_code rcmp = LE_EXPR;
9616 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9617 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9618 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9619 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9620 : : )
9621 : : {
9622 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1448;
9623 : 0 : {
9624 : 0 : tree res_op0;
9625 : 0 : res_op0 = captures[0];
9626 : 0 : tree res_op1;
9627 : 0 : res_op1 = captures[1];
9628 : 0 : tree _r;
9629 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9630 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9631 : 0 : return _r;
9632 : : }
9633 : 0 : next_after_fail1448:;
9634 : : }
9635 : : }
9636 : : }
9637 : : }
9638 : : break;
9639 : : }
9640 : 8 : case GE_EXPR:
9641 : 8 : {
9642 : 8 : tree _q50 = TREE_OPERAND (_p1, 0);
9643 : 8 : tree _q51 = TREE_OPERAND (_p1, 1);
9644 : 8 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
9645 : : {
9646 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
9647 : : {
9648 : 0 : {
9649 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9650 : 0 : const enum tree_code cmp1 = LE_EXPR;
9651 : 0 : const enum tree_code cmp2 = EQ_EXPR;
9652 : 0 : const enum tree_code rcmp = LT_EXPR;
9653 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9654 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9655 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9656 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9657 : : )
9658 : : {
9659 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1449;
9660 : 0 : {
9661 : 0 : tree res_op0;
9662 : 0 : res_op0 = captures[0];
9663 : 0 : tree res_op1;
9664 : 0 : res_op1 = captures[1];
9665 : 0 : tree _r;
9666 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9667 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9668 : 0 : return _r;
9669 : : }
9670 : 0 : next_after_fail1449:;
9671 : : }
9672 : : }
9673 : : }
9674 : : }
9675 : : break;
9676 : : }
9677 : : default:;
9678 : : }
9679 : : break;
9680 : : }
9681 : 113 : case NE_EXPR:
9682 : 113 : {
9683 : 113 : tree _q20 = TREE_OPERAND (_p0, 0);
9684 : 113 : tree _q21 = TREE_OPERAND (_p0, 1);
9685 : 113 : switch (TREE_CODE (_p1))
9686 : : {
9687 : 0 : case LT_EXPR:
9688 : 0 : {
9689 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9690 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9691 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
9692 : : {
9693 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
9694 : : {
9695 : 0 : {
9696 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9697 : 0 : const enum tree_code cmp1 = LT_EXPR;
9698 : 0 : const enum tree_code cmp2 = NE_EXPR;
9699 : 0 : const enum tree_code rcmp = GT_EXPR;
9700 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9701 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9702 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9703 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9704 : : )
9705 : : {
9706 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1450;
9707 : 0 : {
9708 : 0 : tree res_op0;
9709 : 0 : res_op0 = captures[0];
9710 : 0 : tree res_op1;
9711 : 0 : res_op1 = captures[1];
9712 : 0 : tree _r;
9713 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9714 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9715 : 0 : return _r;
9716 : : }
9717 : 0 : next_after_fail1450:;
9718 : : }
9719 : : }
9720 : : }
9721 : : }
9722 : : break;
9723 : : }
9724 : 0 : case LE_EXPR:
9725 : 0 : {
9726 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9727 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9728 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
9729 : : {
9730 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
9731 : : {
9732 : 0 : {
9733 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9734 : 0 : const enum tree_code cmp1 = LE_EXPR;
9735 : 0 : const enum tree_code cmp2 = NE_EXPR;
9736 : 0 : const enum tree_code rcmp = GE_EXPR;
9737 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9738 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9739 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9740 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9741 : : )
9742 : : {
9743 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1451;
9744 : 0 : {
9745 : 0 : tree res_op0;
9746 : 0 : res_op0 = captures[0];
9747 : 0 : tree res_op1;
9748 : 0 : res_op1 = captures[1];
9749 : 0 : tree _r;
9750 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9751 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9752 : 0 : return _r;
9753 : : }
9754 : 0 : next_after_fail1451:;
9755 : : }
9756 : : }
9757 : : }
9758 : : }
9759 : : break;
9760 : : }
9761 : 0 : case GT_EXPR:
9762 : 0 : {
9763 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9764 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9765 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
9766 : : {
9767 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
9768 : : {
9769 : 0 : {
9770 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9771 : 0 : const enum tree_code cmp1 = LT_EXPR;
9772 : 0 : const enum tree_code cmp2 = NE_EXPR;
9773 : 0 : const enum tree_code rcmp = GT_EXPR;
9774 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9775 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9776 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9777 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9778 : : )
9779 : : {
9780 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1452;
9781 : 0 : {
9782 : 0 : tree res_op0;
9783 : 0 : res_op0 = captures[0];
9784 : 0 : tree res_op1;
9785 : 0 : res_op1 = captures[1];
9786 : 0 : tree _r;
9787 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9788 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9789 : 0 : return _r;
9790 : : }
9791 : 0 : next_after_fail1452:;
9792 : : }
9793 : : }
9794 : : }
9795 : : }
9796 : : break;
9797 : : }
9798 : 6 : case GE_EXPR:
9799 : 6 : {
9800 : 6 : tree _q50 = TREE_OPERAND (_p1, 0);
9801 : 6 : tree _q51 = TREE_OPERAND (_p1, 1);
9802 : 6 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
9803 : : {
9804 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
9805 : : {
9806 : 0 : {
9807 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9808 : 0 : const enum tree_code cmp1 = LE_EXPR;
9809 : 0 : const enum tree_code cmp2 = NE_EXPR;
9810 : 0 : const enum tree_code rcmp = GE_EXPR;
9811 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
9812 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
9813 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
9814 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
9815 : : )
9816 : : {
9817 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1453;
9818 : 0 : {
9819 : 0 : tree res_op0;
9820 : 0 : res_op0 = captures[0];
9821 : 0 : tree res_op1;
9822 : 0 : res_op1 = captures[1];
9823 : 0 : tree _r;
9824 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
9825 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 959, __FILE__, __LINE__, true);
9826 : 0 : return _r;
9827 : : }
9828 : 0 : next_after_fail1453:;
9829 : : }
9830 : : }
9831 : : }
9832 : : }
9833 : : break;
9834 : : }
9835 : : default:;
9836 : : }
9837 : : break;
9838 : : }
9839 : 523 : case MULT_EXPR:
9840 : 523 : {
9841 : 523 : tree _q20 = TREE_OPERAND (_p0, 0);
9842 : 523 : tree _q21 = TREE_OPERAND (_p0, 1);
9843 : 523 : switch (TREE_CODE (_q21))
9844 : : {
9845 : 498 : case INTEGER_CST:
9846 : 498 : {
9847 : 498 : switch (TREE_CODE (_p1))
9848 : : {
9849 : 12 : case MULT_EXPR:
9850 : 12 : {
9851 : 12 : tree _q50 = TREE_OPERAND (_p1, 0);
9852 : 12 : tree _q51 = TREE_OPERAND (_p1, 1);
9853 : 12 : switch (TREE_CODE (_q51))
9854 : : {
9855 : 12 : case INTEGER_CST:
9856 : 12 : {
9857 : 12 : {
9858 : 12 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1, _p1, _q50, _q51 };
9859 : 12 : tree res = generic_simplify_143 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
9860 : 12 : if (res) return res;
9861 : : }
9862 : 12 : break;
9863 : : }
9864 : : default:;
9865 : : }
9866 : : break;
9867 : : }
9868 : 0 : case LSHIFT_EXPR:
9869 : 0 : {
9870 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9871 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9872 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
9873 : : {
9874 : 0 : switch (TREE_CODE (_q51))
9875 : : {
9876 : 0 : case INTEGER_CST:
9877 : 0 : {
9878 : 0 : {
9879 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1, _q51 };
9880 : 0 : tree res = generic_simplify_144 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
9881 : 0 : if (res) return res;
9882 : : }
9883 : 0 : break;
9884 : : }
9885 : : default:;
9886 : : }
9887 : : }
9888 : : break;
9889 : : }
9890 : 498 : default:;
9891 : : }
9892 : 498 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
9893 : : {
9894 : 18 : {
9895 : 18 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
9896 : 18 : tree res = generic_simplify_145 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
9897 : 18 : if (res) return res;
9898 : : }
9899 : : }
9900 : : break;
9901 : : }
9902 : 523 : default:;
9903 : : }
9904 : 523 : switch (TREE_CODE (_q20))
9905 : : {
9906 : 0 : case BIT_XOR_EXPR:
9907 : 0 : {
9908 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9909 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9910 : 0 : if (tree_zero_one_valued_p (_q21))
9911 : : {
9912 : 0 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
9913 : : {
9914 : 0 : {
9915 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q21 };
9916 : 0 : tree res = generic_simplify_169 (loc, type, _p0, _p1, captures);
9917 : 0 : if (res) return res;
9918 : : }
9919 : : }
9920 : 0 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
9921 : : {
9922 : 0 : {
9923 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q21 };
9924 : 0 : tree res = generic_simplify_169 (loc, type, _p0, _p1, captures);
9925 : 0 : if (res) return res;
9926 : : }
9927 : : }
9928 : : }
9929 : : break;
9930 : : }
9931 : 523 : default:;
9932 : : }
9933 : 523 : if (tree_zero_one_valued_p (_q20))
9934 : : {
9935 : 8 : switch (TREE_CODE (_q21))
9936 : : {
9937 : 2 : case BIT_XOR_EXPR:
9938 : 2 : {
9939 : 2 : tree _q40 = TREE_OPERAND (_q21, 0);
9940 : 2 : tree _q41 = TREE_OPERAND (_q21, 1);
9941 : 2 : if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
9942 : : {
9943 : 2 : {
9944 : 2 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q20 };
9945 : 2 : tree res = generic_simplify_169 (loc, type, _p0, _p1, captures);
9946 : 2 : if (res) return res;
9947 : : }
9948 : : }
9949 : 0 : if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
9950 : : {
9951 : 0 : {
9952 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q20 };
9953 : 0 : tree res = generic_simplify_169 (loc, type, _p0, _p1, captures);
9954 : 0 : if (res) return res;
9955 : : }
9956 : : }
9957 : : break;
9958 : : }
9959 : : default:;
9960 : : }
9961 : : }
9962 : : break;
9963 : : }
9964 : 2489 : case LSHIFT_EXPR:
9965 : 2489 : {
9966 : 2489 : tree _q20 = TREE_OPERAND (_p0, 0);
9967 : 2489 : tree _q21 = TREE_OPERAND (_p0, 1);
9968 : 2489 : switch (TREE_CODE (_q21))
9969 : : {
9970 : 1108 : case INTEGER_CST:
9971 : 1108 : {
9972 : 1108 : switch (TREE_CODE (_p1))
9973 : : {
9974 : 0 : case MULT_EXPR:
9975 : 0 : {
9976 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9977 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9978 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
9979 : : {
9980 : 0 : switch (TREE_CODE (_q51))
9981 : : {
9982 : 0 : case INTEGER_CST:
9983 : 0 : {
9984 : 0 : {
9985 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _p1, _q20, _q51, _p0, _q21 };
9986 : 0 : tree res = generic_simplify_144 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
9987 : 0 : if (res) return res;
9988 : : }
9989 : 0 : break;
9990 : : }
9991 : : default:;
9992 : : }
9993 : : }
9994 : : break;
9995 : : }
9996 : 1108 : default:;
9997 : : }
9998 : 1108 : {
9999 : 1108 : tree _p1_pops[1];
10000 : 1108 : if (tree_nop_convert (_p1, _p1_pops))
10001 : : {
10002 : 23 : tree _q50 = _p1_pops[0];
10003 : 23 : switch (TREE_CODE (_q50))
10004 : : {
10005 : 0 : case MULT_EXPR:
10006 : 0 : {
10007 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
10008 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
10009 : 0 : {
10010 : 0 : tree _q60_pops[1];
10011 : 0 : if (tree_nop_convert (_q60, _q60_pops))
10012 : : {
10013 : 0 : tree _q70 = _q60_pops[0];
10014 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
10015 : : {
10016 : 0 : switch (TREE_CODE (_q61))
10017 : : {
10018 : 0 : case INTEGER_CST:
10019 : 0 : {
10020 : 0 : {
10021 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q50, _q20, _q61, _p0, _q21 };
10022 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
10023 : 0 : if (res) return res;
10024 : : }
10025 : 0 : break;
10026 : : }
10027 : : default:;
10028 : : }
10029 : : }
10030 : : }
10031 : : }
10032 : 0 : break;
10033 : : }
10034 : : default:;
10035 : : }
10036 : : }
10037 : : }
10038 : 1108 : break;
10039 : : }
10040 : : default:;
10041 : : }
10042 : : break;
10043 : : }
10044 : 680800 : default:;
10045 : : }
10046 : 680800 : switch (TREE_CODE (_p1))
10047 : : {
10048 : 243 : case MULT_EXPR:
10049 : 243 : {
10050 : 243 : tree _q30 = TREE_OPERAND (_p1, 0);
10051 : 243 : tree _q31 = TREE_OPERAND (_p1, 1);
10052 : 243 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
10053 : : {
10054 : 0 : switch (TREE_CODE (_q31))
10055 : : {
10056 : 0 : case INTEGER_CST:
10057 : 0 : {
10058 : 0 : {
10059 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _p0, _q31 };
10060 : 0 : tree res = generic_simplify_145 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
10061 : 0 : if (res) return res;
10062 : : }
10063 : 0 : break;
10064 : : }
10065 : : default:;
10066 : : }
10067 : : }
10068 : : break;
10069 : : }
10070 : 680800 : default:;
10071 : : }
10072 : 680800 : {
10073 : 680800 : tree _p1_pops[1];
10074 : 680800 : if (tree_nop_convert (_p1, _p1_pops))
10075 : : {
10076 : 538826 : tree _q30 = _p1_pops[0];
10077 : 538826 : switch (TREE_CODE (_q30))
10078 : : {
10079 : 17 : case MULT_EXPR:
10080 : 17 : {
10081 : 17 : tree _q40 = TREE_OPERAND (_q30, 0);
10082 : 17 : tree _q41 = TREE_OPERAND (_q30, 1);
10083 : 17 : {
10084 : 17 : tree _q40_pops[1];
10085 : 17 : if (tree_nop_convert (_q40, _q40_pops))
10086 : : {
10087 : 0 : tree _q50 = _q40_pops[0];
10088 : 0 : if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
10089 : : {
10090 : 0 : switch (TREE_CODE (_q41))
10091 : : {
10092 : 0 : case INTEGER_CST:
10093 : 0 : {
10094 : 0 : {
10095 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _p0, _q41 };
10096 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
10097 : 0 : if (res) return res;
10098 : : }
10099 : 0 : break;
10100 : : }
10101 : : default:;
10102 : : }
10103 : : }
10104 : : }
10105 : : }
10106 : 17 : break;
10107 : : }
10108 : : default:;
10109 : : }
10110 : : }
10111 : : }
10112 : 680800 : switch (TREE_CODE (_p0))
10113 : : {
10114 : 2489 : case LSHIFT_EXPR:
10115 : 2489 : {
10116 : 2489 : tree _q20 = TREE_OPERAND (_p0, 0);
10117 : 2489 : tree _q21 = TREE_OPERAND (_p0, 1);
10118 : 2489 : switch (TREE_CODE (_q21))
10119 : : {
10120 : 1108 : case INTEGER_CST:
10121 : 1108 : {
10122 : 1108 : switch (TREE_CODE (_p1))
10123 : : {
10124 : 9 : case LSHIFT_EXPR:
10125 : 9 : {
10126 : 9 : tree _q50 = TREE_OPERAND (_p1, 0);
10127 : 9 : tree _q51 = TREE_OPERAND (_p1, 1);
10128 : 9 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
10129 : : {
10130 : 3 : switch (TREE_CODE (_q51))
10131 : : {
10132 : 3 : case INTEGER_CST:
10133 : 3 : {
10134 : 3 : {
10135 : 3 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
10136 : 3 : tree res = generic_simplify_146 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
10137 : 3 : if (res) return res;
10138 : : }
10139 : 1 : break;
10140 : : }
10141 : : default:;
10142 : : }
10143 : : }
10144 : : break;
10145 : : }
10146 : 1106 : default:;
10147 : : }
10148 : 1106 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
10149 : : {
10150 : 57 : {
10151 : 57 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
10152 : 57 : tree res = generic_simplify_147 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
10153 : 57 : if (res) return res;
10154 : : }
10155 : : }
10156 : : break;
10157 : : }
10158 : : default:;
10159 : : }
10160 : : break;
10161 : : }
10162 : 680798 : default:;
10163 : : }
10164 : 680798 : switch (TREE_CODE (_p1))
10165 : : {
10166 : 1982 : case LSHIFT_EXPR:
10167 : 1982 : {
10168 : 1982 : tree _q30 = TREE_OPERAND (_p1, 0);
10169 : 1982 : tree _q31 = TREE_OPERAND (_p1, 1);
10170 : 1982 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
10171 : : {
10172 : 3 : switch (TREE_CODE (_q31))
10173 : : {
10174 : 3 : case INTEGER_CST:
10175 : 3 : {
10176 : 3 : {
10177 : 3 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q31 };
10178 : 3 : tree res = generic_simplify_147 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
10179 : 3 : if (res) return res;
10180 : : }
10181 : 0 : break;
10182 : : }
10183 : : default:;
10184 : : }
10185 : : }
10186 : : break;
10187 : : }
10188 : 680795 : default:;
10189 : : }
10190 : 680795 : switch (TREE_CODE (_p0))
10191 : : {
10192 : 0 : case MIN_EXPR:
10193 : 0 : {
10194 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
10195 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
10196 : 0 : switch (TREE_CODE (_p1))
10197 : : {
10198 : 0 : case MAX_EXPR:
10199 : 0 : {
10200 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
10201 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
10202 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
10203 : : {
10204 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
10205 : : {
10206 : 0 : {
10207 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
10208 : 0 : if (!HONOR_NANS (captures[0])
10209 : : )
10210 : : {
10211 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1454;
10212 : 0 : {
10213 : 0 : tree res_op0;
10214 : 0 : res_op0 = captures[0];
10215 : 0 : tree res_op1;
10216 : 0 : res_op1 = captures[1];
10217 : 0 : tree _r;
10218 : 0 : _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
10219 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 904, __FILE__, __LINE__, true);
10220 : 0 : return _r;
10221 : : }
10222 : 0 : next_after_fail1454:;
10223 : : }
10224 : : }
10225 : : }
10226 : : }
10227 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
10228 : : {
10229 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
10230 : : {
10231 : 0 : {
10232 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
10233 : 0 : if (!HONOR_NANS (captures[0])
10234 : : )
10235 : : {
10236 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1455;
10237 : 0 : {
10238 : 0 : tree res_op0;
10239 : 0 : res_op0 = captures[0];
10240 : 0 : tree res_op1;
10241 : 0 : res_op1 = captures[1];
10242 : 0 : tree _r;
10243 : 0 : _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
10244 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 904, __FILE__, __LINE__, true);
10245 : 0 : return _r;
10246 : : }
10247 : 0 : next_after_fail1455:;
10248 : : }
10249 : : }
10250 : : }
10251 : : }
10252 : : break;
10253 : : }
10254 : : default:;
10255 : : }
10256 : : break;
10257 : : }
10258 : 0 : case MAX_EXPR:
10259 : 0 : {
10260 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
10261 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
10262 : 0 : switch (TREE_CODE (_p1))
10263 : : {
10264 : 0 : case MIN_EXPR:
10265 : 0 : {
10266 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
10267 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
10268 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
10269 : : {
10270 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
10271 : : {
10272 : 0 : {
10273 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
10274 : 0 : if (!HONOR_NANS (captures[0])
10275 : : )
10276 : : {
10277 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1456;
10278 : 0 : {
10279 : 0 : tree res_op0;
10280 : 0 : res_op0 = captures[0];
10281 : 0 : tree res_op1;
10282 : 0 : res_op1 = captures[1];
10283 : 0 : tree _r;
10284 : 0 : _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
10285 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 904, __FILE__, __LINE__, true);
10286 : 0 : return _r;
10287 : : }
10288 : 0 : next_after_fail1456:;
10289 : : }
10290 : : }
10291 : : }
10292 : : }
10293 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
10294 : : {
10295 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
10296 : : {
10297 : 0 : {
10298 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
10299 : 0 : if (!HONOR_NANS (captures[0])
10300 : : )
10301 : : {
10302 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1457;
10303 : 0 : {
10304 : 0 : tree res_op0;
10305 : 0 : res_op0 = captures[0];
10306 : 0 : tree res_op1;
10307 : 0 : res_op1 = captures[1];
10308 : 0 : tree _r;
10309 : 0 : _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
10310 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 904, __FILE__, __LINE__, true);
10311 : 0 : return _r;
10312 : : }
10313 : 0 : next_after_fail1457:;
10314 : : }
10315 : : }
10316 : : }
10317 : : }
10318 : : break;
10319 : : }
10320 : : default:;
10321 : : }
10322 : : break;
10323 : : }
10324 : 680795 : default:;
10325 : : }
10326 : 680795 : switch (TREE_CODE (_p1))
10327 : : {
10328 : 243 : case MULT_EXPR:
10329 : 243 : {
10330 : 243 : tree _q30 = TREE_OPERAND (_p1, 0);
10331 : 243 : tree _q31 = TREE_OPERAND (_p1, 1);
10332 : 243 : switch (TREE_CODE (_q30))
10333 : : {
10334 : 0 : case BIT_XOR_EXPR:
10335 : 0 : {
10336 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
10337 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
10338 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
10339 : : {
10340 : 0 : if (tree_zero_one_valued_p (_q31))
10341 : : {
10342 : 0 : {
10343 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q41, _q31 };
10344 : 0 : tree res = generic_simplify_169 (loc, type, _p0, _p1, captures);
10345 : 0 : if (res) return res;
10346 : : }
10347 : : }
10348 : : }
10349 : 0 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
10350 : : {
10351 : 0 : if (tree_zero_one_valued_p (_q31))
10352 : : {
10353 : 0 : {
10354 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q31 };
10355 : 0 : tree res = generic_simplify_169 (loc, type, _p0, _p1, captures);
10356 : 0 : if (res) return res;
10357 : : }
10358 : : }
10359 : : }
10360 : : break;
10361 : : }
10362 : 243 : default:;
10363 : : }
10364 : 243 : if (tree_zero_one_valued_p (_q30))
10365 : : {
10366 : 17 : switch (TREE_CODE (_q31))
10367 : : {
10368 : 0 : case BIT_XOR_EXPR:
10369 : 0 : {
10370 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
10371 : 0 : tree _q51 = TREE_OPERAND (_q31, 1);
10372 : 0 : if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
10373 : : {
10374 : 0 : {
10375 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q51, _q30 };
10376 : 0 : tree res = generic_simplify_169 (loc, type, _p0, _p1, captures);
10377 : 0 : if (res) return res;
10378 : : }
10379 : : }
10380 : 0 : if ((_q51 == _p0 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _p0, 0) && types_match (_q51, _p0)))
10381 : : {
10382 : 0 : {
10383 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q50, _q30 };
10384 : 0 : tree res = generic_simplify_169 (loc, type, _p0, _p1, captures);
10385 : 0 : if (res) return res;
10386 : : }
10387 : : }
10388 : : break;
10389 : : }
10390 : : default:;
10391 : : }
10392 : : }
10393 : : break;
10394 : : }
10395 : 680795 : default:;
10396 : : }
10397 : 680795 : switch (TREE_CODE (_p0))
10398 : : {
10399 : 1 : case VEC_COND_EXPR:
10400 : 1 : {
10401 : 1 : tree _q20 = TREE_OPERAND (_p0, 0);
10402 : 1 : tree _q21 = TREE_OPERAND (_p0, 1);
10403 : 1 : tree _q22 = TREE_OPERAND (_p0, 2);
10404 : 1 : switch (TREE_CODE (_p1))
10405 : : {
10406 : 0 : case VEC_COND_EXPR:
10407 : 0 : {
10408 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
10409 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
10410 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
10411 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
10412 : : {
10413 : 0 : {
10414 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
10415 : 0 : if (VECTOR_TYPE_P (type)
10416 : 0 : && (TREE_CODE_CLASS (BIT_XOR_EXPR) != tcc_comparison
10417 : : || types_match (type, TREE_TYPE (captures[2]))
10418 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
10419 : : || (optimize_vectors_before_lowering_p ()
10420 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
10421 : : )
10422 : : {
10423 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1458;
10424 : 0 : {
10425 : 0 : tree res_op0;
10426 : 0 : res_op0 = captures[1];
10427 : 0 : tree res_op1;
10428 : 0 : {
10429 : 0 : tree _o1[2], _r1;
10430 : 0 : _o1[0] = captures[2];
10431 : 0 : _o1[1] = captures[5];
10432 : 0 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10433 : 0 : if (EXPR_P (_r1))
10434 : 0 : goto next_after_fail1458;
10435 : 0 : res_op1 = _r1;
10436 : : }
10437 : 0 : tree res_op2;
10438 : 0 : {
10439 : 0 : tree _o1[2], _r1;
10440 : 0 : _o1[0] = captures[3];
10441 : 0 : _o1[1] = captures[6];
10442 : 0 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10443 : 0 : if (EXPR_P (_r1))
10444 : 0 : goto next_after_fail1458;
10445 : 0 : res_op2 = _r1;
10446 : : }
10447 : 0 : tree _r;
10448 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10449 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
10450 : 0 : return _r;
10451 : : }
10452 : 0 : next_after_fail1458:;
10453 : : }
10454 : : }
10455 : : }
10456 : : break;
10457 : : }
10458 : 1 : default:;
10459 : : }
10460 : 1 : if (integer_minus_onep (_q21))
10461 : : {
10462 : 1 : if (integer_zerop (_q22))
10463 : : {
10464 : 1 : switch (TREE_CODE (_p1))
10465 : : {
10466 : 0 : case VEC_COND_EXPR:
10467 : 0 : {
10468 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
10469 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
10470 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
10471 : 0 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
10472 : : {
10473 : 0 : if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
10474 : : {
10475 : 0 : {
10476 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10477 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10478 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10479 : : )
10480 : : {
10481 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1459;
10482 : 0 : {
10483 : 0 : tree res_op0;
10484 : 0 : {
10485 : 0 : tree _o1[2], _r1;
10486 : 0 : _o1[0] = captures[0];
10487 : 0 : _o1[1] = captures[3];
10488 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10489 : 0 : res_op0 = _r1;
10490 : : }
10491 : 0 : tree res_op1;
10492 : 0 : res_op1 = captures[1];
10493 : 0 : tree res_op2;
10494 : 0 : res_op2 = captures[2];
10495 : 0 : tree _r;
10496 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10497 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10498 : 0 : return _r;
10499 : : }
10500 : 0 : next_after_fail1459:;
10501 : : }
10502 : : }
10503 : 0 : {
10504 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10505 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10506 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10507 : : )
10508 : : {
10509 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1460;
10510 : 0 : {
10511 : 0 : tree res_op0;
10512 : 0 : {
10513 : 0 : tree _o1[2], _r1;
10514 : 0 : _o1[0] = captures[0];
10515 : 0 : _o1[1] = captures[3];
10516 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10517 : 0 : res_op0 = _r1;
10518 : : }
10519 : 0 : tree res_op1;
10520 : 0 : res_op1 = captures[1];
10521 : 0 : tree res_op2;
10522 : 0 : res_op2 = captures[2];
10523 : 0 : tree _r;
10524 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10525 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10526 : 0 : return _r;
10527 : : }
10528 : 0 : next_after_fail1460:;
10529 : : }
10530 : : }
10531 : 0 : {
10532 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10533 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10534 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10535 : : )
10536 : : {
10537 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1461;
10538 : 0 : {
10539 : 0 : tree res_op0;
10540 : 0 : {
10541 : 0 : tree _o1[2], _r1;
10542 : 0 : _o1[0] = captures[0];
10543 : 0 : _o1[1] = captures[3];
10544 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10545 : 0 : res_op0 = _r1;
10546 : : }
10547 : 0 : tree res_op1;
10548 : 0 : res_op1 = captures[1];
10549 : 0 : tree res_op2;
10550 : 0 : res_op2 = captures[2];
10551 : 0 : tree _r;
10552 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10553 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10554 : 0 : return _r;
10555 : : }
10556 : 0 : next_after_fail1461:;
10557 : : }
10558 : : }
10559 : 0 : {
10560 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10561 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10562 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10563 : : )
10564 : : {
10565 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1462;
10566 : 0 : {
10567 : 0 : tree res_op0;
10568 : 0 : {
10569 : 0 : tree _o1[2], _r1;
10570 : 0 : _o1[0] = captures[0];
10571 : 0 : _o1[1] = captures[3];
10572 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10573 : 0 : res_op0 = _r1;
10574 : : }
10575 : 0 : tree res_op1;
10576 : 0 : res_op1 = captures[1];
10577 : 0 : tree res_op2;
10578 : 0 : res_op2 = captures[2];
10579 : 0 : tree _r;
10580 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10581 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10582 : 0 : return _r;
10583 : : }
10584 : 0 : next_after_fail1462:;
10585 : : }
10586 : : }
10587 : 0 : {
10588 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10589 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10590 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10591 : : )
10592 : : {
10593 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1463;
10594 : 0 : {
10595 : 0 : tree res_op0;
10596 : 0 : {
10597 : 0 : tree _o1[2], _r1;
10598 : 0 : _o1[0] = captures[0];
10599 : 0 : _o1[1] = captures[3];
10600 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10601 : 0 : res_op0 = _r1;
10602 : : }
10603 : 0 : tree res_op1;
10604 : 0 : res_op1 = captures[1];
10605 : 0 : tree res_op2;
10606 : 0 : res_op2 = captures[2];
10607 : 0 : tree _r;
10608 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10609 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10610 : 0 : return _r;
10611 : : }
10612 : 0 : next_after_fail1463:;
10613 : : }
10614 : : }
10615 : 0 : {
10616 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10617 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10618 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10619 : : )
10620 : : {
10621 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1464;
10622 : 0 : {
10623 : 0 : tree res_op0;
10624 : 0 : {
10625 : 0 : tree _o1[2], _r1;
10626 : 0 : _o1[0] = captures[0];
10627 : 0 : _o1[1] = captures[3];
10628 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10629 : 0 : res_op0 = _r1;
10630 : : }
10631 : 0 : tree res_op1;
10632 : 0 : res_op1 = captures[1];
10633 : 0 : tree res_op2;
10634 : 0 : res_op2 = captures[2];
10635 : 0 : tree _r;
10636 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10637 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10638 : 0 : return _r;
10639 : : }
10640 : 0 : next_after_fail1464:;
10641 : : }
10642 : : }
10643 : 0 : {
10644 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10645 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10646 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10647 : : )
10648 : : {
10649 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1465;
10650 : 0 : {
10651 : 0 : tree res_op0;
10652 : 0 : {
10653 : 0 : tree _o1[2], _r1;
10654 : 0 : _o1[0] = captures[0];
10655 : 0 : _o1[1] = captures[3];
10656 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10657 : 0 : res_op0 = _r1;
10658 : : }
10659 : 0 : tree res_op1;
10660 : 0 : res_op1 = captures[1];
10661 : 0 : tree res_op2;
10662 : 0 : res_op2 = captures[2];
10663 : 0 : tree _r;
10664 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10665 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10666 : 0 : return _r;
10667 : : }
10668 : 0 : next_after_fail1465:;
10669 : : }
10670 : : }
10671 : 0 : {
10672 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10673 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10674 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10675 : : )
10676 : : {
10677 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1466;
10678 : 0 : {
10679 : 0 : tree res_op0;
10680 : 0 : {
10681 : 0 : tree _o1[2], _r1;
10682 : 0 : _o1[0] = captures[0];
10683 : 0 : _o1[1] = captures[3];
10684 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10685 : 0 : res_op0 = _r1;
10686 : : }
10687 : 0 : tree res_op1;
10688 : 0 : res_op1 = captures[1];
10689 : 0 : tree res_op2;
10690 : 0 : res_op2 = captures[2];
10691 : 0 : tree _r;
10692 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10693 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10694 : 0 : return _r;
10695 : : }
10696 : 0 : next_after_fail1466:;
10697 : : }
10698 : : }
10699 : 0 : {
10700 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10701 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10702 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10703 : : )
10704 : : {
10705 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1467;
10706 : 0 : {
10707 : 0 : tree res_op0;
10708 : 0 : {
10709 : 0 : tree _o1[2], _r1;
10710 : 0 : _o1[0] = captures[0];
10711 : 0 : _o1[1] = captures[3];
10712 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10713 : 0 : res_op0 = _r1;
10714 : : }
10715 : 0 : tree res_op1;
10716 : 0 : res_op1 = captures[1];
10717 : 0 : tree res_op2;
10718 : 0 : res_op2 = captures[2];
10719 : 0 : tree _r;
10720 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10721 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10722 : 0 : return _r;
10723 : : }
10724 : 0 : next_after_fail1467:;
10725 : : }
10726 : : }
10727 : 0 : {
10728 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10729 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10730 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10731 : : )
10732 : : {
10733 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1468;
10734 : 0 : {
10735 : 0 : tree res_op0;
10736 : 0 : {
10737 : 0 : tree _o1[2], _r1;
10738 : 0 : _o1[0] = captures[0];
10739 : 0 : _o1[1] = captures[3];
10740 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10741 : 0 : res_op0 = _r1;
10742 : : }
10743 : 0 : tree res_op1;
10744 : 0 : res_op1 = captures[1];
10745 : 0 : tree res_op2;
10746 : 0 : res_op2 = captures[2];
10747 : 0 : tree _r;
10748 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10749 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10750 : 0 : return _r;
10751 : : }
10752 : 0 : next_after_fail1468:;
10753 : : }
10754 : : }
10755 : 0 : {
10756 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10757 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10758 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10759 : : )
10760 : : {
10761 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1469;
10762 : 0 : {
10763 : 0 : tree res_op0;
10764 : 0 : {
10765 : 0 : tree _o1[2], _r1;
10766 : 0 : _o1[0] = captures[0];
10767 : 0 : _o1[1] = captures[3];
10768 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10769 : 0 : res_op0 = _r1;
10770 : : }
10771 : 0 : tree res_op1;
10772 : 0 : res_op1 = captures[1];
10773 : 0 : tree res_op2;
10774 : 0 : res_op2 = captures[2];
10775 : 0 : tree _r;
10776 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10777 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10778 : 0 : return _r;
10779 : : }
10780 : 0 : next_after_fail1469:;
10781 : : }
10782 : : }
10783 : 0 : {
10784 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10785 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10786 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10787 : : )
10788 : : {
10789 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1470;
10790 : 0 : {
10791 : 0 : tree res_op0;
10792 : 0 : {
10793 : 0 : tree _o1[2], _r1;
10794 : 0 : _o1[0] = captures[0];
10795 : 0 : _o1[1] = captures[3];
10796 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10797 : 0 : res_op0 = _r1;
10798 : : }
10799 : 0 : tree res_op1;
10800 : 0 : res_op1 = captures[1];
10801 : 0 : tree res_op2;
10802 : 0 : res_op2 = captures[2];
10803 : 0 : tree _r;
10804 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10805 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10806 : 0 : return _r;
10807 : : }
10808 : 0 : next_after_fail1470:;
10809 : : }
10810 : : }
10811 : 0 : {
10812 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10813 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10814 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10815 : : )
10816 : : {
10817 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1471;
10818 : 0 : {
10819 : 0 : tree res_op0;
10820 : 0 : {
10821 : 0 : tree _o1[2], _r1;
10822 : 0 : _o1[0] = captures[0];
10823 : 0 : _o1[1] = captures[3];
10824 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10825 : 0 : res_op0 = _r1;
10826 : : }
10827 : 0 : tree res_op1;
10828 : 0 : res_op1 = captures[1];
10829 : 0 : tree res_op2;
10830 : 0 : res_op2 = captures[2];
10831 : 0 : tree _r;
10832 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10833 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10834 : 0 : return _r;
10835 : : }
10836 : 0 : next_after_fail1471:;
10837 : : }
10838 : : }
10839 : 0 : {
10840 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10841 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10842 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10843 : : )
10844 : : {
10845 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1472;
10846 : 0 : {
10847 : 0 : tree res_op0;
10848 : 0 : {
10849 : 0 : tree _o1[2], _r1;
10850 : 0 : _o1[0] = captures[0];
10851 : 0 : _o1[1] = captures[3];
10852 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10853 : 0 : res_op0 = _r1;
10854 : : }
10855 : 0 : tree res_op1;
10856 : 0 : res_op1 = captures[1];
10857 : 0 : tree res_op2;
10858 : 0 : res_op2 = captures[2];
10859 : 0 : tree _r;
10860 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10861 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10862 : 0 : return _r;
10863 : : }
10864 : 0 : next_after_fail1472:;
10865 : : }
10866 : : }
10867 : 0 : {
10868 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10869 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10870 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10871 : : )
10872 : : {
10873 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1473;
10874 : 0 : {
10875 : 0 : tree res_op0;
10876 : 0 : {
10877 : 0 : tree _o1[2], _r1;
10878 : 0 : _o1[0] = captures[0];
10879 : 0 : _o1[1] = captures[3];
10880 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10881 : 0 : res_op0 = _r1;
10882 : : }
10883 : 0 : tree res_op1;
10884 : 0 : res_op1 = captures[1];
10885 : 0 : tree res_op2;
10886 : 0 : res_op2 = captures[2];
10887 : 0 : tree _r;
10888 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10889 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10890 : 0 : return _r;
10891 : : }
10892 : 0 : next_after_fail1473:;
10893 : : }
10894 : : }
10895 : 0 : {
10896 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10897 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10898 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10899 : : )
10900 : : {
10901 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1474;
10902 : 0 : {
10903 : 0 : tree res_op0;
10904 : 0 : {
10905 : 0 : tree _o1[2], _r1;
10906 : 0 : _o1[0] = captures[0];
10907 : 0 : _o1[1] = captures[3];
10908 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10909 : 0 : res_op0 = _r1;
10910 : : }
10911 : 0 : tree res_op1;
10912 : 0 : res_op1 = captures[1];
10913 : 0 : tree res_op2;
10914 : 0 : res_op2 = captures[2];
10915 : 0 : tree _r;
10916 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10917 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10918 : 0 : return _r;
10919 : : }
10920 : 0 : next_after_fail1474:;
10921 : : }
10922 : : }
10923 : 0 : {
10924 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10925 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10926 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10927 : : )
10928 : : {
10929 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1475;
10930 : 0 : {
10931 : 0 : tree res_op0;
10932 : 0 : {
10933 : 0 : tree _o1[2], _r1;
10934 : 0 : _o1[0] = captures[0];
10935 : 0 : _o1[1] = captures[3];
10936 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10937 : 0 : res_op0 = _r1;
10938 : : }
10939 : 0 : tree res_op1;
10940 : 0 : res_op1 = captures[1];
10941 : 0 : tree res_op2;
10942 : 0 : res_op2 = captures[2];
10943 : 0 : tree _r;
10944 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10945 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10946 : 0 : return _r;
10947 : : }
10948 : 0 : next_after_fail1475:;
10949 : : }
10950 : : }
10951 : 0 : {
10952 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10953 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10954 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10955 : : )
10956 : : {
10957 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1476;
10958 : 0 : {
10959 : 0 : tree res_op0;
10960 : 0 : {
10961 : 0 : tree _o1[2], _r1;
10962 : 0 : _o1[0] = captures[0];
10963 : 0 : _o1[1] = captures[3];
10964 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10965 : 0 : res_op0 = _r1;
10966 : : }
10967 : 0 : tree res_op1;
10968 : 0 : res_op1 = captures[1];
10969 : 0 : tree res_op2;
10970 : 0 : res_op2 = captures[2];
10971 : 0 : tree _r;
10972 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10973 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
10974 : 0 : return _r;
10975 : : }
10976 : 0 : next_after_fail1476:;
10977 : : }
10978 : : }
10979 : 0 : {
10980 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10981 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10982 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10983 : : )
10984 : : {
10985 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1477;
10986 : 0 : {
10987 : 0 : tree res_op0;
10988 : 0 : {
10989 : 0 : tree _o1[2], _r1;
10990 : 0 : _o1[0] = captures[0];
10991 : 0 : _o1[1] = captures[3];
10992 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10993 : 0 : res_op0 = _r1;
10994 : : }
10995 : 0 : tree res_op1;
10996 : 0 : res_op1 = captures[1];
10997 : 0 : tree res_op2;
10998 : 0 : res_op2 = captures[2];
10999 : 0 : tree _r;
11000 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11001 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
11002 : 0 : return _r;
11003 : : }
11004 : 0 : next_after_fail1477:;
11005 : : }
11006 : : }
11007 : 0 : {
11008 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
11009 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
11010 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
11011 : : )
11012 : : {
11013 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1478;
11014 : 0 : {
11015 : 0 : tree res_op0;
11016 : 0 : {
11017 : 0 : tree _o1[2], _r1;
11018 : 0 : _o1[0] = captures[0];
11019 : 0 : _o1[1] = captures[3];
11020 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11021 : 0 : res_op0 = _r1;
11022 : : }
11023 : 0 : tree res_op1;
11024 : 0 : res_op1 = captures[1];
11025 : 0 : tree res_op2;
11026 : 0 : res_op2 = captures[2];
11027 : 0 : tree _r;
11028 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11029 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
11030 : 0 : return _r;
11031 : : }
11032 : 0 : next_after_fail1478:;
11033 : : }
11034 : : }
11035 : 0 : {
11036 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
11037 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
11038 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
11039 : : )
11040 : : {
11041 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1479;
11042 : 0 : {
11043 : 0 : tree res_op0;
11044 : 0 : {
11045 : 0 : tree _o1[2], _r1;
11046 : 0 : _o1[0] = captures[0];
11047 : 0 : _o1[1] = captures[3];
11048 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11049 : 0 : res_op0 = _r1;
11050 : : }
11051 : 0 : tree res_op1;
11052 : 0 : res_op1 = captures[1];
11053 : 0 : tree res_op2;
11054 : 0 : res_op2 = captures[2];
11055 : 0 : tree _r;
11056 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11057 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
11058 : 0 : return _r;
11059 : : }
11060 : 0 : next_after_fail1479:;
11061 : : }
11062 : : }
11063 : 0 : {
11064 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
11065 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
11066 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
11067 : : )
11068 : : {
11069 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1480;
11070 : 0 : {
11071 : 0 : tree res_op0;
11072 : 0 : {
11073 : 0 : tree _o1[2], _r1;
11074 : 0 : _o1[0] = captures[0];
11075 : 0 : _o1[1] = captures[3];
11076 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11077 : 0 : res_op0 = _r1;
11078 : : }
11079 : 0 : tree res_op1;
11080 : 0 : res_op1 = captures[1];
11081 : 0 : tree res_op2;
11082 : 0 : res_op2 = captures[2];
11083 : 0 : tree _r;
11084 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11085 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
11086 : 0 : return _r;
11087 : : }
11088 : 0 : next_after_fail1480:;
11089 : : }
11090 : : }
11091 : 0 : {
11092 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
11093 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
11094 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
11095 : : )
11096 : : {
11097 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1481;
11098 : 0 : {
11099 : 0 : tree res_op0;
11100 : 0 : {
11101 : 0 : tree _o1[2], _r1;
11102 : 0 : _o1[0] = captures[0];
11103 : 0 : _o1[1] = captures[3];
11104 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11105 : 0 : res_op0 = _r1;
11106 : : }
11107 : 0 : tree res_op1;
11108 : 0 : res_op1 = captures[1];
11109 : 0 : tree res_op2;
11110 : 0 : res_op2 = captures[2];
11111 : 0 : tree _r;
11112 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11113 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
11114 : 0 : return _r;
11115 : : }
11116 : 0 : next_after_fail1481:;
11117 : : }
11118 : : }
11119 : 0 : {
11120 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
11121 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
11122 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
11123 : : )
11124 : : {
11125 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1482;
11126 : 0 : {
11127 : 0 : tree res_op0;
11128 : 0 : {
11129 : 0 : tree _o1[2], _r1;
11130 : 0 : _o1[0] = captures[0];
11131 : 0 : _o1[1] = captures[3];
11132 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11133 : 0 : res_op0 = _r1;
11134 : : }
11135 : 0 : tree res_op1;
11136 : 0 : res_op1 = captures[1];
11137 : 0 : tree res_op2;
11138 : 0 : res_op2 = captures[2];
11139 : 0 : tree _r;
11140 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11141 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
11142 : 0 : return _r;
11143 : : }
11144 : 0 : next_after_fail1482:;
11145 : : }
11146 : : }
11147 : 0 : {
11148 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
11149 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
11150 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
11151 : : )
11152 : : {
11153 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1483;
11154 : 0 : {
11155 : 0 : tree res_op0;
11156 : 0 : {
11157 : 0 : tree _o1[2], _r1;
11158 : 0 : _o1[0] = captures[0];
11159 : 0 : _o1[1] = captures[3];
11160 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11161 : 0 : res_op0 = _r1;
11162 : : }
11163 : 0 : tree res_op1;
11164 : 0 : res_op1 = captures[1];
11165 : 0 : tree res_op2;
11166 : 0 : res_op2 = captures[2];
11167 : 0 : tree _r;
11168 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11169 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
11170 : 0 : return _r;
11171 : : }
11172 : 0 : next_after_fail1483:;
11173 : : }
11174 : : }
11175 : 0 : {
11176 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
11177 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
11178 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
11179 : : )
11180 : : {
11181 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1484;
11182 : 0 : {
11183 : 0 : tree res_op0;
11184 : 0 : {
11185 : 0 : tree _o1[2], _r1;
11186 : 0 : _o1[0] = captures[0];
11187 : 0 : _o1[1] = captures[3];
11188 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11189 : 0 : res_op0 = _r1;
11190 : : }
11191 : 0 : tree res_op1;
11192 : 0 : res_op1 = captures[1];
11193 : 0 : tree res_op2;
11194 : 0 : res_op2 = captures[2];
11195 : 0 : tree _r;
11196 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11197 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
11198 : 0 : return _r;
11199 : : }
11200 : 0 : next_after_fail1484:;
11201 : : }
11202 : : }
11203 : 0 : {
11204 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
11205 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
11206 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
11207 : : )
11208 : : {
11209 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1485;
11210 : 0 : {
11211 : 0 : tree res_op0;
11212 : 0 : {
11213 : 0 : tree _o1[2], _r1;
11214 : 0 : _o1[0] = captures[0];
11215 : 0 : _o1[1] = captures[3];
11216 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11217 : 0 : res_op0 = _r1;
11218 : : }
11219 : 0 : tree res_op1;
11220 : 0 : res_op1 = captures[1];
11221 : 0 : tree res_op2;
11222 : 0 : res_op2 = captures[2];
11223 : 0 : tree _r;
11224 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11225 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
11226 : 0 : return _r;
11227 : : }
11228 : 0 : next_after_fail1485:;
11229 : : }
11230 : : }
11231 : 0 : {
11232 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
11233 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
11234 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
11235 : : )
11236 : : {
11237 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1486;
11238 : 0 : {
11239 : 0 : tree res_op0;
11240 : 0 : {
11241 : 0 : tree _o1[2], _r1;
11242 : 0 : _o1[0] = captures[0];
11243 : 0 : _o1[1] = captures[3];
11244 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11245 : 0 : res_op0 = _r1;
11246 : : }
11247 : 0 : tree res_op1;
11248 : 0 : res_op1 = captures[1];
11249 : 0 : tree res_op2;
11250 : 0 : res_op2 = captures[2];
11251 : 0 : tree _r;
11252 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11253 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
11254 : 0 : return _r;
11255 : : }
11256 : 0 : next_after_fail1486:;
11257 : : }
11258 : : }
11259 : 0 : {
11260 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
11261 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
11262 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
11263 : : )
11264 : : {
11265 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1487;
11266 : 0 : {
11267 : 0 : tree res_op0;
11268 : 0 : {
11269 : 0 : tree _o1[2], _r1;
11270 : 0 : _o1[0] = captures[0];
11271 : 0 : _o1[1] = captures[3];
11272 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11273 : 0 : res_op0 = _r1;
11274 : : }
11275 : 0 : tree res_op1;
11276 : 0 : res_op1 = captures[1];
11277 : 0 : tree res_op2;
11278 : 0 : res_op2 = captures[2];
11279 : 0 : tree _r;
11280 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11281 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
11282 : 0 : return _r;
11283 : : }
11284 : 0 : next_after_fail1487:;
11285 : : }
11286 : : }
11287 : 0 : {
11288 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
11289 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
11290 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
11291 : : )
11292 : : {
11293 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1488;
11294 : 0 : {
11295 : 0 : tree res_op0;
11296 : 0 : {
11297 : 0 : tree _o1[2], _r1;
11298 : 0 : _o1[0] = captures[0];
11299 : 0 : _o1[1] = captures[3];
11300 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11301 : 0 : res_op0 = _r1;
11302 : : }
11303 : 0 : tree res_op1;
11304 : 0 : res_op1 = captures[1];
11305 : 0 : tree res_op2;
11306 : 0 : res_op2 = captures[2];
11307 : 0 : tree _r;
11308 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11309 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
11310 : 0 : return _r;
11311 : : }
11312 : 0 : next_after_fail1488:;
11313 : : }
11314 : : }
11315 : 0 : {
11316 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
11317 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
11318 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
11319 : : )
11320 : : {
11321 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1489;
11322 : 0 : {
11323 : 0 : tree res_op0;
11324 : 0 : {
11325 : 0 : tree _o1[2], _r1;
11326 : 0 : _o1[0] = captures[0];
11327 : 0 : _o1[1] = captures[3];
11328 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11329 : 0 : res_op0 = _r1;
11330 : : }
11331 : 0 : tree res_op1;
11332 : 0 : res_op1 = captures[1];
11333 : 0 : tree res_op2;
11334 : 0 : res_op2 = captures[2];
11335 : 0 : tree _r;
11336 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11337 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
11338 : 0 : return _r;
11339 : : }
11340 : 0 : next_after_fail1489:;
11341 : : }
11342 : : }
11343 : 0 : {
11344 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
11345 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
11346 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
11347 : : )
11348 : : {
11349 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1490;
11350 : 0 : {
11351 : 0 : tree res_op0;
11352 : 0 : {
11353 : 0 : tree _o1[2], _r1;
11354 : 0 : _o1[0] = captures[0];
11355 : 0 : _o1[1] = captures[3];
11356 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11357 : 0 : res_op0 = _r1;
11358 : : }
11359 : 0 : tree res_op1;
11360 : 0 : res_op1 = captures[1];
11361 : 0 : tree res_op2;
11362 : 0 : res_op2 = captures[2];
11363 : 0 : tree _r;
11364 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11365 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
11366 : 0 : return _r;
11367 : : }
11368 : 0 : next_after_fail1490:;
11369 : : }
11370 : : }
11371 : 0 : {
11372 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
11373 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
11374 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
11375 : : )
11376 : : {
11377 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1491;
11378 : 0 : {
11379 : 0 : tree res_op0;
11380 : 0 : {
11381 : 0 : tree _o1[2], _r1;
11382 : 0 : _o1[0] = captures[0];
11383 : 0 : _o1[1] = captures[3];
11384 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11385 : 0 : res_op0 = _r1;
11386 : : }
11387 : 0 : tree res_op1;
11388 : 0 : res_op1 = captures[1];
11389 : 0 : tree res_op2;
11390 : 0 : res_op2 = captures[2];
11391 : 0 : tree _r;
11392 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11393 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
11394 : 0 : return _r;
11395 : : }
11396 : 0 : next_after_fail1491:;
11397 : : }
11398 : : }
11399 : 0 : {
11400 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
11401 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
11402 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
11403 : : )
11404 : : {
11405 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1492;
11406 : 0 : {
11407 : 0 : tree res_op0;
11408 : 0 : {
11409 : 0 : tree _o1[2], _r1;
11410 : 0 : _o1[0] = captures[0];
11411 : 0 : _o1[1] = captures[3];
11412 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11413 : 0 : res_op0 = _r1;
11414 : : }
11415 : 0 : tree res_op1;
11416 : 0 : res_op1 = captures[1];
11417 : 0 : tree res_op2;
11418 : 0 : res_op2 = captures[2];
11419 : 0 : tree _r;
11420 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11421 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 952, __FILE__, __LINE__, true);
11422 : 0 : return _r;
11423 : : }
11424 : 0 : next_after_fail1492:;
11425 : : }
11426 : : }
11427 : : }
11428 : : }
11429 : : break;
11430 : : }
11431 : : default:;
11432 : : }
11433 : : }
11434 : : }
11435 : 1 : {
11436 : 1 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
11437 : 1 : if (VECTOR_TYPE_P (type)
11438 : 1 : && (TREE_CODE_CLASS (BIT_XOR_EXPR) != tcc_comparison
11439 : : || types_match (type, TREE_TYPE (captures[2]))
11440 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
11441 : : || (optimize_vectors_before_lowering_p ()
11442 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
11443 : : )
11444 : : {
11445 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1493;
11446 : 1 : {
11447 : 1 : if (! tree_invariant_p (captures[4])) goto next_after_fail1493;
11448 : 0 : tree res_op0;
11449 : 0 : res_op0 = captures[1];
11450 : 0 : tree res_op1;
11451 : 0 : {
11452 : 0 : tree _o1[2], _r1;
11453 : 0 : _o1[0] = captures[2];
11454 : 0 : _o1[1] = unshare_expr (captures[4]);
11455 : 0 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11456 : 0 : if (EXPR_P (_r1))
11457 : 0 : goto next_after_fail1493;
11458 : 0 : res_op1 = _r1;
11459 : : }
11460 : 0 : tree res_op2;
11461 : 0 : {
11462 : 0 : tree _o1[2], _r1;
11463 : 0 : _o1[0] = captures[3];
11464 : 0 : _o1[1] = captures[4];
11465 : 0 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11466 : 0 : if (EXPR_P (_r1))
11467 : 0 : goto next_after_fail1493;
11468 : 0 : res_op2 = _r1;
11469 : : }
11470 : 0 : tree _r;
11471 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11472 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 909, __FILE__, __LINE__, true);
11473 : 0 : return _r;
11474 : : }
11475 : 1 : next_after_fail1493:;
11476 : : }
11477 : : }
11478 : 1 : break;
11479 : : }
11480 : 680795 : default:;
11481 : : }
11482 : 680795 : switch (TREE_CODE (_p1))
11483 : : {
11484 : 0 : case VEC_COND_EXPR:
11485 : 0 : {
11486 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
11487 : 0 : tree _q31 = TREE_OPERAND (_p1, 1);
11488 : 0 : tree _q32 = TREE_OPERAND (_p1, 2);
11489 : 0 : {
11490 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
11491 : 0 : if (VECTOR_TYPE_P (type)
11492 : 0 : && (TREE_CODE_CLASS (BIT_XOR_EXPR) != tcc_comparison
11493 : : || types_match (type, TREE_TYPE (captures[3]))
11494 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
11495 : : || (optimize_vectors_before_lowering_p ()
11496 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
11497 : : )
11498 : : {
11499 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1494;
11500 : 0 : {
11501 : 0 : if (! tree_invariant_p (captures[0])) goto next_after_fail1494;
11502 : 0 : tree res_op0;
11503 : 0 : res_op0 = captures[2];
11504 : 0 : tree res_op1;
11505 : 0 : {
11506 : 0 : tree _o1[2], _r1;
11507 : 0 : _o1[0] = unshare_expr (captures[0]);
11508 : 0 : _o1[1] = captures[3];
11509 : 0 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11510 : 0 : if (EXPR_P (_r1))
11511 : 0 : goto next_after_fail1494;
11512 : 0 : res_op1 = _r1;
11513 : : }
11514 : 0 : tree res_op2;
11515 : 0 : {
11516 : 0 : tree _o1[2], _r1;
11517 : 0 : _o1[0] = captures[0];
11518 : 0 : _o1[1] = captures[4];
11519 : 0 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11520 : 0 : if (EXPR_P (_r1))
11521 : 0 : goto next_after_fail1494;
11522 : 0 : res_op2 = _r1;
11523 : : }
11524 : 0 : tree _r;
11525 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11526 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 910, __FILE__, __LINE__, true);
11527 : 0 : return _r;
11528 : : }
11529 : 0 : next_after_fail1494:;
11530 : : }
11531 : : }
11532 : 0 : break;
11533 : : }
11534 : 680795 : default:;
11535 : : }
11536 : 680795 : switch (TREE_CODE (_p0))
11537 : : {
11538 : 90 : case LT_EXPR:
11539 : 90 : {
11540 : 90 : tree _q20 = TREE_OPERAND (_p0, 0);
11541 : 90 : tree _q21 = TREE_OPERAND (_p0, 1);
11542 : 90 : if (integer_truep (_p1))
11543 : : {
11544 : 14 : {
11545 : 14 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11546 : 14 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR, UNGE_EXPR);
11547 : 14 : if (res) return res;
11548 : : }
11549 : : }
11550 : 76 : if (integer_zerop (_q21))
11551 : : {
11552 : 24 : switch (TREE_CODE (_p1))
11553 : : {
11554 : 17 : case LT_EXPR:
11555 : 17 : {
11556 : 17 : tree _q50 = TREE_OPERAND (_p1, 0);
11557 : 17 : tree _q51 = TREE_OPERAND (_p1, 1);
11558 : 17 : if (integer_zerop (_q51))
11559 : : {
11560 : 17 : {
11561 : 17 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q50 };
11562 : 17 : tree res = generic_simplify_171 (loc, type, _p0, _p1, captures, LT_EXPR);
11563 : 17 : if (res) return res;
11564 : : }
11565 : : }
11566 : : break;
11567 : : }
11568 : 0 : case GE_EXPR:
11569 : 0 : {
11570 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
11571 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
11572 : 0 : if (integer_zerop (_q51))
11573 : : {
11574 : 0 : {
11575 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q50 };
11576 : 0 : tree res = generic_simplify_172 (loc, type, _p0, _p1, captures);
11577 : 0 : if (res) return res;
11578 : : }
11579 : : }
11580 : : break;
11581 : : }
11582 : : default:;
11583 : : }
11584 : : }
11585 : : break;
11586 : : }
11587 : 78 : case LE_EXPR:
11588 : 78 : {
11589 : 78 : tree _q20 = TREE_OPERAND (_p0, 0);
11590 : 78 : tree _q21 = TREE_OPERAND (_p0, 1);
11591 : 78 : if (integer_truep (_p1))
11592 : : {
11593 : 15 : {
11594 : 15 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11595 : 15 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR, UNGT_EXPR);
11596 : 15 : if (res) return res;
11597 : : }
11598 : : }
11599 : : break;
11600 : : }
11601 : 118 : case EQ_EXPR:
11602 : 118 : {
11603 : 118 : tree _q20 = TREE_OPERAND (_p0, 0);
11604 : 118 : tree _q21 = TREE_OPERAND (_p0, 1);
11605 : 118 : if (integer_truep (_p1))
11606 : : {
11607 : 14 : {
11608 : 14 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11609 : 14 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR, NE_EXPR);
11610 : 14 : if (res) return res;
11611 : : }
11612 : : }
11613 : : break;
11614 : : }
11615 : 113 : case NE_EXPR:
11616 : 113 : {
11617 : 113 : tree _q20 = TREE_OPERAND (_p0, 0);
11618 : 113 : tree _q21 = TREE_OPERAND (_p0, 1);
11619 : 113 : if (integer_truep (_p1))
11620 : : {
11621 : 7 : {
11622 : 7 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11623 : 7 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR, EQ_EXPR);
11624 : 7 : if (res) return res;
11625 : : }
11626 : : }
11627 : : break;
11628 : : }
11629 : 62 : case GE_EXPR:
11630 : 62 : {
11631 : 62 : tree _q20 = TREE_OPERAND (_p0, 0);
11632 : 62 : tree _q21 = TREE_OPERAND (_p0, 1);
11633 : 62 : if (integer_truep (_p1))
11634 : : {
11635 : 0 : {
11636 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11637 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR, UNLT_EXPR);
11638 : 0 : if (res) return res;
11639 : : }
11640 : : }
11641 : 62 : if (integer_zerop (_q21))
11642 : : {
11643 : 26 : switch (TREE_CODE (_p1))
11644 : : {
11645 : 1 : case GE_EXPR:
11646 : 1 : {
11647 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
11648 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
11649 : 1 : if (integer_zerop (_q51))
11650 : : {
11651 : 1 : {
11652 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q50 };
11653 : 1 : tree res = generic_simplify_171 (loc, type, _p0, _p1, captures, GE_EXPR);
11654 : 1 : if (res) return res;
11655 : : }
11656 : : }
11657 : : break;
11658 : : }
11659 : 5 : case LT_EXPR:
11660 : 5 : {
11661 : 5 : tree _q50 = TREE_OPERAND (_p1, 0);
11662 : 5 : tree _q51 = TREE_OPERAND (_p1, 1);
11663 : 5 : if (integer_zerop (_q51))
11664 : : {
11665 : 5 : {
11666 : 5 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q50, _p0, _q20 };
11667 : 5 : tree res = generic_simplify_172 (loc, type, _p0, _p1, captures);
11668 : 5 : if (res) return res;
11669 : : }
11670 : : }
11671 : : break;
11672 : : }
11673 : : default:;
11674 : : }
11675 : : }
11676 : : break;
11677 : : }
11678 : 100 : case GT_EXPR:
11679 : 100 : {
11680 : 100 : tree _q20 = TREE_OPERAND (_p0, 0);
11681 : 100 : tree _q21 = TREE_OPERAND (_p0, 1);
11682 : 100 : if (integer_truep (_p1))
11683 : : {
11684 : 14 : {
11685 : 14 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11686 : 14 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR, UNLE_EXPR);
11687 : 14 : if (res) return res;
11688 : : }
11689 : : }
11690 : : break;
11691 : : }
11692 : 0 : case UNORDERED_EXPR:
11693 : 0 : {
11694 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
11695 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
11696 : 0 : if (integer_truep (_p1))
11697 : : {
11698 : 0 : {
11699 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11700 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR, ORDERED_EXPR);
11701 : 0 : if (res) return res;
11702 : : }
11703 : : }
11704 : : break;
11705 : : }
11706 : 0 : case ORDERED_EXPR:
11707 : 0 : {
11708 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
11709 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
11710 : 0 : if (integer_truep (_p1))
11711 : : {
11712 : 0 : {
11713 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11714 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR, UNORDERED_EXPR);
11715 : 0 : if (res) return res;
11716 : : }
11717 : : }
11718 : : break;
11719 : : }
11720 : 0 : case UNLT_EXPR:
11721 : 0 : {
11722 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
11723 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
11724 : 0 : if (integer_truep (_p1))
11725 : : {
11726 : 0 : {
11727 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11728 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR, GE_EXPR);
11729 : 0 : if (res) return res;
11730 : : }
11731 : : }
11732 : : break;
11733 : : }
11734 : 0 : case UNLE_EXPR:
11735 : 0 : {
11736 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
11737 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
11738 : 0 : if (integer_truep (_p1))
11739 : : {
11740 : 0 : {
11741 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11742 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR, GT_EXPR);
11743 : 0 : if (res) return res;
11744 : : }
11745 : : }
11746 : : break;
11747 : : }
11748 : 0 : case UNGT_EXPR:
11749 : 0 : {
11750 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
11751 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
11752 : 0 : if (integer_truep (_p1))
11753 : : {
11754 : 0 : {
11755 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11756 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR, LE_EXPR);
11757 : 0 : if (res) return res;
11758 : : }
11759 : : }
11760 : : break;
11761 : : }
11762 : 0 : case UNGE_EXPR:
11763 : 0 : {
11764 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
11765 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
11766 : 0 : if (integer_truep (_p1))
11767 : : {
11768 : 0 : {
11769 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11770 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR, LT_EXPR);
11771 : 0 : if (res) return res;
11772 : : }
11773 : : }
11774 : : break;
11775 : : }
11776 : 0 : case UNEQ_EXPR:
11777 : 0 : {
11778 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
11779 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
11780 : 0 : if (integer_truep (_p1))
11781 : : {
11782 : 0 : {
11783 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11784 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR, LTGT_EXPR);
11785 : 0 : if (res) return res;
11786 : : }
11787 : : }
11788 : : break;
11789 : : }
11790 : 0 : case LTGT_EXPR:
11791 : 0 : {
11792 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
11793 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
11794 : 0 : if (integer_truep (_p1))
11795 : : {
11796 : 0 : {
11797 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11798 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR, UNEQ_EXPR);
11799 : 0 : if (res) return res;
11800 : : }
11801 : : }
11802 : : break;
11803 : : }
11804 : 7 : case VEC_PERM_EXPR:
11805 : 7 : {
11806 : 7 : tree _q20 = TREE_OPERAND (_p0, 0);
11807 : 7 : tree _q21 = TREE_OPERAND (_p0, 1);
11808 : 7 : tree _q22 = TREE_OPERAND (_p0, 2);
11809 : 7 : if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
11810 : : {
11811 : 0 : switch (TREE_CODE (_p1))
11812 : : {
11813 : 0 : case VEC_PERM_EXPR:
11814 : 0 : {
11815 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
11816 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
11817 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
11818 : 0 : if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
11819 : : {
11820 : 0 : if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
11821 : : {
11822 : 0 : {
11823 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
11824 : 0 : if (VECTOR_INTEGER_TYPE_P (type)
11825 : : )
11826 : : {
11827 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1495;
11828 : 0 : {
11829 : 0 : tree res_op0;
11830 : 0 : {
11831 : 0 : tree _o1[2], _r1;
11832 : 0 : _o1[0] = captures[0];
11833 : 0 : _o1[1] = captures[2];
11834 : 0 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11835 : 0 : captures[3] = _r1;
11836 : : }
11837 : 0 : res_op0 = unshare_expr (captures[3]);
11838 : 0 : tree res_op1;
11839 : 0 : res_op1 = captures[3];
11840 : 0 : tree res_op2;
11841 : 0 : res_op2 = captures[1];
11842 : 0 : tree _r;
11843 : 0 : _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
11844 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 911, __FILE__, __LINE__, true);
11845 : 0 : return _r;
11846 : : }
11847 : 0 : next_after_fail1495:;
11848 : : }
11849 : : }
11850 : : }
11851 : : }
11852 : : break;
11853 : : }
11854 : : default:;
11855 : : }
11856 : : }
11857 : : break;
11858 : : }
11859 : 2939 : case CALL_EXPR:
11860 : 2939 : switch (get_call_combined_fn (_p0))
11861 : : {
11862 : 1 : case CFN_PARITY:
11863 : 1 : if (call_expr_nargs (_p0) == 1)
11864 : : {
11865 : 1 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
11866 : 1 : switch (TREE_CODE (_p1))
11867 : : {
11868 : 1 : case CALL_EXPR:
11869 : 1 : switch (get_call_combined_fn (_p1))
11870 : : {
11871 : 1 : case CFN_PARITY:
11872 : 1 : if (call_expr_nargs (_p1) == 1)
11873 : : {
11874 : 1 : tree _q40 = CALL_EXPR_ARG (_p1, 0);
11875 : 1 : {
11876 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
11877 : 1 : tree res = generic_simplify_173 (loc, type, _p0, _p1, captures, CFN_PARITY);
11878 : 1 : if (res) return res;
11879 : : }
11880 : : }
11881 : : break;
11882 : : default:;
11883 : : }
11884 : : break;
11885 : : default:;
11886 : : }
11887 : : }
11888 : : break;
11889 : 1 : case CFN_BUILT_IN_PARITYL:
11890 : 1 : if (call_expr_nargs (_p0) == 1)
11891 : : {
11892 : 1 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
11893 : 1 : switch (TREE_CODE (_p1))
11894 : : {
11895 : 1 : case CALL_EXPR:
11896 : 1 : switch (get_call_combined_fn (_p1))
11897 : : {
11898 : 1 : case CFN_BUILT_IN_PARITYL:
11899 : 1 : if (call_expr_nargs (_p1) == 1)
11900 : : {
11901 : 1 : tree _q40 = CALL_EXPR_ARG (_p1, 0);
11902 : 1 : {
11903 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
11904 : 1 : tree res = generic_simplify_173 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_PARITYL);
11905 : 1 : if (res) return res;
11906 : : }
11907 : : }
11908 : : break;
11909 : : default:;
11910 : : }
11911 : : break;
11912 : : default:;
11913 : : }
11914 : : }
11915 : : break;
11916 : 0 : case CFN_BUILT_IN_PARITYIMAX:
11917 : 0 : if (call_expr_nargs (_p0) == 1)
11918 : : {
11919 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
11920 : 0 : switch (TREE_CODE (_p1))
11921 : : {
11922 : 0 : case CALL_EXPR:
11923 : 0 : switch (get_call_combined_fn (_p1))
11924 : : {
11925 : 0 : case CFN_BUILT_IN_PARITYIMAX:
11926 : 0 : if (call_expr_nargs (_p1) == 1)
11927 : : {
11928 : 0 : tree _q40 = CALL_EXPR_ARG (_p1, 0);
11929 : 0 : {
11930 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
11931 : 0 : tree res = generic_simplify_173 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_PARITYIMAX);
11932 : 0 : if (res) return res;
11933 : : }
11934 : : }
11935 : : break;
11936 : : default:;
11937 : : }
11938 : : break;
11939 : : default:;
11940 : : }
11941 : : }
11942 : : break;
11943 : 1 : case CFN_BUILT_IN_PARITY:
11944 : 1 : if (call_expr_nargs (_p0) == 1)
11945 : : {
11946 : 1 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
11947 : 1 : switch (TREE_CODE (_p1))
11948 : : {
11949 : 1 : case CALL_EXPR:
11950 : 1 : switch (get_call_combined_fn (_p1))
11951 : : {
11952 : 1 : case CFN_BUILT_IN_PARITY:
11953 : 1 : if (call_expr_nargs (_p1) == 1)
11954 : : {
11955 : 1 : tree _q40 = CALL_EXPR_ARG (_p1, 0);
11956 : 1 : {
11957 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
11958 : 1 : tree res = generic_simplify_173 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_PARITY);
11959 : 1 : if (res) return res;
11960 : : }
11961 : : }
11962 : : break;
11963 : : default:;
11964 : : }
11965 : : break;
11966 : : default:;
11967 : : }
11968 : : }
11969 : : break;
11970 : 8 : case CFN_BUILT_IN_PARITYLL:
11971 : 8 : if (call_expr_nargs (_p0) == 1)
11972 : : {
11973 : 8 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
11974 : 8 : switch (TREE_CODE (_p1))
11975 : : {
11976 : 8 : case CALL_EXPR:
11977 : 8 : switch (get_call_combined_fn (_p1))
11978 : : {
11979 : 8 : case CFN_BUILT_IN_PARITYLL:
11980 : 8 : if (call_expr_nargs (_p1) == 1)
11981 : : {
11982 : 8 : tree _q40 = CALL_EXPR_ARG (_p1, 0);
11983 : 8 : {
11984 : 8 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
11985 : 8 : tree res = generic_simplify_173 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_PARITYLL);
11986 : 8 : if (res) return res;
11987 : : }
11988 : : }
11989 : : break;
11990 : : default:;
11991 : : }
11992 : : break;
11993 : : default:;
11994 : : }
11995 : : }
11996 : : break;
11997 : : default:;
11998 : : }
11999 : : break;
12000 : : default:;
12001 : : }
12002 : : return NULL_TREE;
12003 : : }
12004 : :
12005 : : tree
12006 : 27980079 : generic_simplify (location_t loc, enum tree_code code, const tree type ATTRIBUTE_UNUSED, tree _p0, tree _p1, tree _p2)
12007 : : {
12008 : 27980079 : switch (code)
12009 : : {
12010 : 11532089 : case COND_EXPR:
12011 : 11532089 : return generic_simplify_COND_EXPR (loc, code, type, _p0, _p1, _p2);
12012 : 312539 : case VEC_COND_EXPR:
12013 : 312539 : return generic_simplify_VEC_COND_EXPR (loc, code, type, _p0, _p1, _p2);
12014 : 629978 : case BIT_FIELD_REF:
12015 : 629978 : return generic_simplify_BIT_FIELD_REF (loc, code, type, _p0, _p1, _p2);
12016 : 13717 : case BIT_INSERT_EXPR:
12017 : 13717 : return generic_simplify_BIT_INSERT_EXPR (loc, code, type, _p0, _p1, _p2);
12018 : 747784 : case VEC_PERM_EXPR:
12019 : 747784 : return generic_simplify_VEC_PERM_EXPR (loc, code, type, _p0, _p1, _p2);
12020 : : default:;
12021 : : }
12022 : : return NULL_TREE;
12023 : : }
12024 : :
12025 : : tree
12026 : 0 : generic_simplify (location_t, enum tree_code,
12027 : : const tree, tree, tree, tree, tree)
12028 : : {
12029 : 0 : return NULL_TREE;
12030 : : }
12031 : :
12032 : : tree
12033 : 0 : generic_simplify (location_t, enum tree_code,
12034 : : const tree, tree, tree, tree, tree, tree)
12035 : : {
12036 : 0 : return NULL_TREE;
12037 : : }
12038 : :
12039 : : tree
12040 : 0 : generic_simplify (location_t, enum tree_code,
12041 : : const tree, tree, tree, tree, tree, tree, tree)
12042 : : {
12043 : 0 : return NULL_TREE;
12044 : : }
12045 : :
12046 : : tree
12047 : 0 : generic_simplify (location_t, enum tree_code,
12048 : : const tree, tree, tree, tree, tree, tree, tree, tree)
12049 : : {
12050 : 0 : return NULL_TREE;
12051 : : }
12052 : : void
12053 : 19351 : generic_dump_logs (const char *file1, int line1_id, const char *file2, int line2, bool simplify)
12054 : : {
12055 : 19351 : static int dbg_line_numbers[1123] = {
12056 : : /* 0 */ 161, 164, 173, 175, 178, 181, 183, 189, 197, 195,
12057 : : /* 10 */ 199, 201, 938, 940, 2088, 2094, 2096, 2099, 2104, 2107,
12058 : : /* 20 */ 2332, 2336, 2338, 2340, 2342, 2344, 2346, 2348, 2375, 2391,
12059 : : /* 30 */ 2399, 2381, 2939, 2941, 2943, 2950, 2947, 2957, 2959, 2966,
12060 : : /* 40 */ 2963, 3174, 3184, 3195, 3200, 3205, 3238, 3243, 3209, 3213,
12061 : : /* 50 */ 3217, 3267, 3221, 3249, 3255, 3261, 3225, 3284, 3288, 3313,
12062 : : /* 60 */ 3319, 3341, 3325, 3354, 3293, 3297, 3307, 3301, 3358, 3373,
12063 : : /* 70 */ 3400, 3435, 3412, 3453, 3460, 3512, 3469, 3540, 3487, 3478,
12064 : : /* 80 */ 3503, 3497, 3523, 3553, 3562, 3571, 3580, 3590, 3623, 3649,
12065 : : /* 90 */ 3673, 3698, 3661, 5932, 9152, 9173, 11350, 11353, 11358, 11573,
12066 : : /* 100 */ 11580, 11599, 11624, 11692, 11649, 11662, 11676, 11706, 11711, 2055,
12067 : : /* 110 */ 8972, 254, 281, 282, 493, 1307, 1443, 1779, 1829, 1834,
12068 : : /* 120 */ 1938, 1897, 4249, 4187, 2454, 2486, 4292, 4293, 4297, 4298,
12069 : : /* 130 */ 4308, 4312, 4316, 4331, 4334, 4338, 4264, 4267, 4272, 4419,
12070 : : /* 140 */ 4425, 4431, 4613, 4614, 4640, 4659, 4678, 5021, 5831, 7090,
12071 : : /* 150 */ 7175, 7177, 8600, 8675, 10278, 10326, 10340, 11377, 11799, 922,
12072 : : /* 160 */ 928, 1423, 1432, 1915, 1906, 1853, 2603, 4200, 4240, 4245,
12073 : : /* 170 */ 4246, 4254, 4255, 4258, 4275, 4350, 4353, 4357, 4439, 4461,
12074 : : /* 180 */ 4499, 4510, 4549, 4564, 5027, 7100, 8680, 10336, 11381, 1313,
12075 : : /* 190 */ 1317, 1409, 1418, 1448, 1453, 1495, 1480, 1487, 1510, 1511,
12076 : : /* 200 */ 1515, 1516, 1537, 1992, 1542, 1549, 1569, 1672, 1696, 1786,
12077 : : /* 210 */ 1791, 1801, 1811, 1925, 1984, 2012, 2022, 2024, 2246, 2265,
12078 : : /* 220 */ 2273, 2278, 2283, 2299, 2289, 2290, 4735, 4748, 4758, 2313,
12079 : : /* 230 */ 2324, 2327, 2359, 2437, 2466, 2468, 2473, 2475, 2596, 3016,
12080 : : /* 240 */ 3018, 3773, 3788, 3806, 4006, 4007, 4008, 4016, 4024, 4033,
12081 : : /* 250 */ 4042, 4074, 4075, 4080, 4081, 4086, 4091, 4095, 4150, 4164,
12082 : : /* 260 */ 3778, 3797, 3799, 3783, 4772, 4784, 7763, 9549, 1458, 1463,
12083 : : /* 270 */ 1574, 1579, 1796, 1886, 1806, 1950, 1816, 1821, 1944, 1996,
12084 : : /* 280 */ 1957, 1963, 2577, 1970, 2030, 5033, 7159, 7161, 7226, 7234,
12085 : : /* 290 */ 10423, 10429, 461, 467, 499, 1252, 1272, 1277, 2080, 2081,
12086 : : /* 300 */ 2118, 2612, 5526, 5817, 5824, 5874, 5877, 5927, 8593, 9007,
12087 : : /* 310 */ 8837, 8844, 9001, 9046, 9051, 329, 885, 2364, 2591, 2630,
12088 : : /* 320 */ 2640, 2679, 2685, 2688, 2693, 2858, 2709, 2711, 2712, 2715,
12089 : : /* 330 */ 2717, 2718, 2720, 2722, 2724, 2726, 2728, 2730, 2744, 2745,
12090 : : /* 340 */ 2779, 2864, 2889, 2805, 2832, 2872, 2877, 2902, 2909, 2975,
12091 : : /* 350 */ 4122, 4963, 4971, 4974, 4980, 4983, 5010, 5318, 5319, 5353,
12092 : : /* 360 */ 5357, 5486, 5326, 5327, 5371, 5374, 5375, 5380, 5383, 5386,
12093 : : /* 370 */ 5387, 5339, 5342, 5559, 5563, 5568, 5842, 5994, 5998, 7186,
12094 : : /* 380 */ 7202, 7204, 7216, 7246, 7252, 7253, 7268, 7269, 7273, 7291,
12095 : : /* 390 */ 7296, 7328, 7336, 7346, 7355, 7359, 7365, 7372, 7388, 7392,
12096 : : /* 400 */ 7396, 7403, 7404, 7409, 7410, 7417, 7418, 7420, 7421, 7437,
12097 : : /* 410 */ 7448, 7460, 7464, 7466, 7471, 7474, 7477, 7485, 7547, 7548,
12098 : : /* 420 */ 7552, 7553, 7560, 7564, 7568, 7571, 7577, 7578, 7582, 7585,
12099 : : /* 430 */ 7592, 7612, 7615, 7618, 7621, 7670, 7673, 7677, 7684, 7690,
12100 : : /* 440 */ 7698, 7707, 7708, 7806, 7816, 7855, 7861, 7877, 7890, 7892,
12101 : : /* 450 */ 7894, 7920, 7962, 7941, 7942, 7949, 7951, 7967, 7973, 7978,
12102 : : /* 460 */ 7987, 7993, 7999, 8004, 8009, 8041, 8104, 8023, 8033, 8142,
12103 : : /* 470 */ 8144, 8146, 8148, 8150, 8152, 8156, 8158, 8181, 8204, 8316,
12104 : : /* 480 */ 8323, 8324, 8332, 8333, 8513, 9593, 9595, 9683, 9685, 9686,
12105 : : /* 490 */ 9692, 9708, 9710, 9712, 9730, 9731, 10063, 10066, 10080, 10089,
12106 : : /* 500 */ 10153, 10154, 10208, 10210, 10286, 10695, 10697, 10699, 11132, 7182,
12107 : : /* 510 */ 7193, 7195, 7303, 473, 1225, 1246, 8957, 8962, 8967, 533,
12108 : : /* 520 */ 534, 545, 550, 557, 566, 574, 583, 629, 632, 820,
12109 : : /* 530 */ 973, 999, 1030, 594, 850, 854, 859, 865, 869, 877,
12110 : : /* 540 */ 965, 745, 755, 757, 759, 8587, 9012, 9034, 9017, 9022,
12111 : : /* 550 */ 9027, 9041, 9075, 9080, 807, 810, 1647, 2653, 2656, 2753,
12112 : : /* 560 */ 2765, 2847, 2791, 2818, 2930, 2933, 5001, 4993, 7124, 8443,
12113 : : /* 570 */ 7720, 7723, 7749, 7750, 8229, 8231, 8233, 8235, 8239, 8241,
12114 : : /* 580 */ 8243, 8245, 8249, 8254, 8261, 8266, 8286, 8288, 8290, 8292,
12115 : : /* 590 */ 8456, 8464, 8474, 8482, 8492, 8614, 8616, 9607, 9626, 9666,
12116 : : /* 600 */ 10131, 10133, 10134, 10189, 10192, 10194, 2669, 7114, 7793, 8688,
12117 : : /* 610 */ 8693, 10716, 10718, 10720, 10722, 10726, 911, 947, 1297, 5139,
12118 : : /* 620 */ 5209, 5212, 5220, 5287, 5289, 5290, 5291, 5498, 5190, 5199,
12119 : : /* 630 */ 6048, 6051, 6052, 6060, 2257, 4133, 4138, 4905, 9432, 9434,
12120 : : /* 640 */ 9465, 9500, 11743, 1189, 8905, 8926, 1198, 8649, 8655, 8952,
12121 : : /* 650 */ 9379, 1212, 1216, 8947, 9130, 1391, 1475, 1523, 1468, 1500,
12122 : : /* 660 */ 1531, 1564, 1605, 1616, 1627, 1639, 2498, 1868, 1876, 1881,
12123 : : /* 670 */ 2004, 2354, 2618, 3170, 5457, 5475, 5476, 6019, 6025, 6073,
12124 : : /* 680 */ 3743, 3745, 3755, 3757, 3864, 3865, 3866, 3874, 3882, 3891,
12125 : : /* 690 */ 3900, 3934, 3935, 3940, 3941, 3946, 3951, 3955, 3763, 3768,
12126 : : /* 700 */ 3813, 7318, 7766, 9535, 9537, 10321, 1554, 1559, 2556, 1727,
12127 : : /* 710 */ 2561, 5537, 2536, 2567, 2571, 5551, 4948, 7151, 7153, 2125,
12128 : : /* 720 */ 2163, 2186, 2187, 2541, 4225, 10006, 3734, 5063, 5106, 5119,
12129 : : /* 730 */ 6565, 6567, 6569, 6779, 6783, 6791, 6818, 6820, 6669, 6672,
12130 : : /* 740 */ 6834, 6838, 6896, 5051, 5070, 5077, 5083, 5089, 5095, 6902,
12131 : : /* 750 */ 7034, 9566, 9567, 7044, 10483, 10491, 8057, 8058, 8072, 8073,
12132 : : /* 760 */ 4791, 4795, 4805, 4823, 4888, 4890, 4892, 4894, 4943, 9557,
12133 : : /* 770 */ 4809, 4816, 4801, 4915, 4924, 4927, 5126, 5259, 5269, 8542,
12134 : : /* 780 */ 8545, 8564, 5970, 5982, 5985, 5989, 10925, 10931, 10939, 10945,
12135 : : /* 790 */ 10954, 10960, 10968, 10974, 11020, 11028, 8348, 7311, 7307, 8523,
12136 : : /* 800 */ 8530, 8665, 8670, 8771, 8868, 8885, 8917, 8937, 8942, 9193,
12137 : : /* 810 */ 9170, 9149, 8978, 8982, 9273, 9283, 9290, 9299, 9317, 9324,
12138 : : /* 820 */ 9305, 9572, 9578, 9996, 10002, 9999, 10010, 10016, 10024, 10030,
12139 : : /* 830 */ 10038, 10044, 10098, 10301, 10316, 10582, 10585, 10390, 10404, 10417,
12140 : : /* 840 */ 11101, 11116, 11207, 11208, 219, 2036, 2046, 6105, 2064, 1139,
12141 : : /* 850 */ 2509, 3151, 5579, 5581, 5591, 5698, 5709, 5722, 5745, 5755,
12142 : : /* 860 */ 5764, 5776, 5802, 6113, 6519, 1724, 1738, 1745, 1767, 1774,
12143 : : /* 870 */ 2369, 2584, 2041, 2059, 2068, 2134, 2138, 2169, 2175, 4212,
12144 : : /* 880 */ 7077, 4220, 10020, 10034, 10048, 5596, 5605, 5632, 5642, 5648,
12145 : : /* 890 */ 6122, 5657, 5654, 5940, 5948, 5956, 5960, 5943, 5951, 5964,
12146 : : /* 900 */ 5976, 237, 727, 2422, 4870, 5889, 5895, 5897, 6140, 6160,
12147 : : /* 910 */ 6169, 11758, 3023, 3027, 242, 3044, 3048, 3079, 3087, 3060,
12148 : : /* 920 */ 3074, 260, 297, 1427, 1733, 1841, 1848, 1858, 1863, 2144,
12149 : : /* 930 */ 3095, 3107, 3101, 3113, 2155, 2774, 2799, 2826, 2810, 2837,
12150 : : /* 940 */ 4473, 4445, 4520, 4529, 4572, 4583, 5902, 5913, 11724, 11725,
12151 : : /* 950 */ 1652, 1657, 6149, 7756, 11079, 11083, 1680, 1685, 2549, 4110,
12152 : : /* 960 */ 247, 300, 2783, 3120, 3127, 3134, 3140, 4482, 3145, 4538,
12153 : : /* 970 */ 4586, 4595, 5905, 373, 304, 341, 350, 358, 432, 447,
12154 : : /* 980 */ 455, 646, 686, 982, 1177, 1182, 1280, 1283, 1383, 2412,
12155 : : /* 990 */ 5918, 8622, 8628, 8819, 9069, 2529, 6326, 6334, 7823, 8380,
12156 : : /* 1000 */ 8423, 8424, 2519, 8374, 609, 612, 736, 765, 771, 777,
12157 : : /* 1010 */ 785, 790, 795, 838, 842, 8634, 8640, 8298, 896, 1338,
12158 : : /* 1020 */ 5155, 1327, 1330, 1362, 1373, 5132, 5204, 5297, 1397, 1586,
12159 : : /* 1030 */ 1662, 1690, 2304, 5303, 5304, 7760, 11731, 4830, 4834, 4862,
12160 : : /* 1040 */ 4863, 4936, 4841, 4845, 4853, 4854, 5241, 5937, 8356, 8358,
12161 : : /* 1050 */ 8365, 8367, 7315, 6798, 6803, 6871, 6877, 6886, 6887, 5039,
12162 : : /* 1060 */ 6091, 6093, 6909, 6915, 6918, 6927, 6931, 6936, 6965, 6970,
12163 : : /* 1070 */ 7031, 6978, 6983, 7041, 8087, 8089, 7000, 7001, 7002, 7052,
12164 : : /* 1080 */ 7021, 7022, 7023, 7064, 7065, 8118, 8123, 6944, 6097, 6099,
12165 : : /* 1090 */ 6345, 6347, 9738, 9744, 9749, 9758, 9760, 9780, 9825, 9828,
12166 : : /* 1100 */ 9829, 9861, 9867, 9869, 9870, 9926, 9927, 9948, 9953, 9958,
12167 : : /* 1110 */ 9988, 11231, 11233, 11268, 11342, 11345, 11430, 11365, 11371, 11499,
12168 : : /* 1120 */ 11501, 11563, 11565
12169 : : };
12170 : :
12171 : 28963 : fprintf (dump_file, "%s %s:%d, %s:%d\n",
12172 : : simplify ? "Applying pattern" : "Matching expression", file1, dbg_line_numbers[line1_id], file2, line2);
12173 : 19351 : }
12174 : :
12175 : : #pragma GCC diagnostic pop
|