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 : 150744209 : tree_truth_valued_p (tree t)
11 : : {
12 : 150744209 : const tree type = TREE_TYPE (t);
13 : 150744209 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
14 : 150744209 : if (TREE_SIDE_EFFECTS (t)) return false;
15 : 146075758 : {
16 : 146075758 : tree captures[1] ATTRIBUTE_UNUSED = { t };
17 : 146075758 : if (INTEGRAL_TYPE_P (type) && TYPE_PRECISION (type) == 1
18 : : )
19 : : {
20 : 5507626 : {
21 : 5507626 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 20, __FILE__, __LINE__, false);
22 : 5507626 : return true;
23 : : }
24 : : }
25 : : }
26 : 140568132 : switch (TREE_CODE (t))
27 : : {
28 : 806 : case LT_EXPR:
29 : 806 : {
30 : 806 : tree _p0 = TREE_OPERAND (t, 0);
31 : 806 : tree _p1 = TREE_OPERAND (t, 1);
32 : 806 : {
33 : 806 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
34 : 806 : {
35 : 806 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
36 : 806 : return true;
37 : : }
38 : : }
39 : 707 : break;
40 : : }
41 : 707 : case LE_EXPR:
42 : 707 : {
43 : 707 : tree _p0 = TREE_OPERAND (t, 0);
44 : 707 : tree _p1 = TREE_OPERAND (t, 1);
45 : 707 : {
46 : 707 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
47 : 707 : {
48 : 707 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
49 : 707 : return true;
50 : : }
51 : : }
52 : 11627 : break;
53 : : }
54 : 11627 : case EQ_EXPR:
55 : 11627 : {
56 : 11627 : tree _p0 = TREE_OPERAND (t, 0);
57 : 11627 : tree _p1 = TREE_OPERAND (t, 1);
58 : 11627 : {
59 : 11627 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
60 : 11627 : {
61 : 11627 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
62 : 11627 : return true;
63 : : }
64 : : }
65 : 4162 : break;
66 : : }
67 : 4162 : case NE_EXPR:
68 : 4162 : {
69 : 4162 : tree _p0 = TREE_OPERAND (t, 0);
70 : 4162 : tree _p1 = TREE_OPERAND (t, 1);
71 : 4162 : {
72 : 4162 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
73 : 4162 : {
74 : 4162 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
75 : 4162 : return true;
76 : : }
77 : : }
78 : 358 : break;
79 : : }
80 : 358 : case GE_EXPR:
81 : 358 : {
82 : 358 : tree _p0 = TREE_OPERAND (t, 0);
83 : 358 : tree _p1 = TREE_OPERAND (t, 1);
84 : 358 : {
85 : 358 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
86 : 358 : {
87 : 358 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
88 : 358 : return true;
89 : : }
90 : : }
91 : 97020 : break;
92 : : }
93 : 97020 : case GT_EXPR:
94 : 97020 : {
95 : 97020 : tree _p0 = TREE_OPERAND (t, 0);
96 : 97020 : tree _p1 = TREE_OPERAND (t, 1);
97 : 97020 : {
98 : 97020 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
99 : 97020 : {
100 : 97020 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
101 : 97020 : return true;
102 : : }
103 : : }
104 : 146963 : break;
105 : : }
106 : 146963 : case UNORDERED_EXPR:
107 : 146963 : {
108 : 146963 : tree _p0 = TREE_OPERAND (t, 0);
109 : 146963 : tree _p1 = TREE_OPERAND (t, 1);
110 : 146963 : {
111 : 146963 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
112 : 146963 : {
113 : 146963 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
114 : 146963 : return true;
115 : : }
116 : : }
117 : 16 : break;
118 : : }
119 : 16 : case ORDERED_EXPR:
120 : 16 : {
121 : 16 : tree _p0 = TREE_OPERAND (t, 0);
122 : 16 : tree _p1 = TREE_OPERAND (t, 1);
123 : 16 : {
124 : 16 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
125 : 16 : {
126 : 16 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
127 : 16 : return true;
128 : : }
129 : : }
130 : 79 : break;
131 : : }
132 : 79 : case UNLT_EXPR:
133 : 79 : {
134 : 79 : tree _p0 = TREE_OPERAND (t, 0);
135 : 79 : tree _p1 = TREE_OPERAND (t, 1);
136 : 79 : {
137 : 79 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
138 : 79 : {
139 : 79 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
140 : 79 : return true;
141 : : }
142 : : }
143 : 1164 : break;
144 : : }
145 : 1164 : case UNLE_EXPR:
146 : 1164 : {
147 : 1164 : tree _p0 = TREE_OPERAND (t, 0);
148 : 1164 : tree _p1 = TREE_OPERAND (t, 1);
149 : 1164 : {
150 : 1164 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
151 : 1164 : {
152 : 1164 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
153 : 1164 : return true;
154 : : }
155 : : }
156 : 79 : break;
157 : : }
158 : 79 : case UNGT_EXPR:
159 : 79 : {
160 : 79 : tree _p0 = TREE_OPERAND (t, 0);
161 : 79 : tree _p1 = TREE_OPERAND (t, 1);
162 : 79 : {
163 : 79 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
164 : 79 : {
165 : 79 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
166 : 79 : return true;
167 : : }
168 : : }
169 : 79 : break;
170 : : }
171 : 79 : case UNGE_EXPR:
172 : 79 : {
173 : 79 : tree _p0 = TREE_OPERAND (t, 0);
174 : 79 : tree _p1 = TREE_OPERAND (t, 1);
175 : 79 : {
176 : 79 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
177 : 79 : {
178 : 79 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
179 : 79 : return true;
180 : : }
181 : : }
182 : 95 : break;
183 : : }
184 : 95 : case UNEQ_EXPR:
185 : 95 : {
186 : 95 : tree _p0 = TREE_OPERAND (t, 0);
187 : 95 : tree _p1 = TREE_OPERAND (t, 1);
188 : 95 : {
189 : 95 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
190 : 95 : {
191 : 95 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
192 : 95 : return true;
193 : : }
194 : : }
195 : 27 : break;
196 : : }
197 : 27 : case LTGT_EXPR:
198 : 27 : {
199 : 27 : tree _p0 = TREE_OPERAND (t, 0);
200 : 27 : tree _p1 = TREE_OPERAND (t, 1);
201 : 27 : {
202 : 27 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
203 : 27 : {
204 : 27 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
205 : 27 : return true;
206 : : }
207 : : }
208 : 102 : break;
209 : : }
210 : 102 : case TRUTH_AND_EXPR:
211 : 102 : {
212 : 102 : tree _p0 = TREE_OPERAND (t, 0);
213 : 102 : tree _p1 = TREE_OPERAND (t, 1);
214 : 102 : {
215 : 102 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
216 : 102 : {
217 : 102 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
218 : 102 : return true;
219 : : }
220 : : }
221 : 516 : break;
222 : : }
223 : 516 : case TRUTH_ANDIF_EXPR:
224 : 516 : {
225 : 516 : tree _p0 = TREE_OPERAND (t, 0);
226 : 516 : tree _p1 = TREE_OPERAND (t, 1);
227 : 516 : {
228 : 516 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
229 : 516 : {
230 : 516 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
231 : 516 : return true;
232 : : }
233 : : }
234 : 43 : break;
235 : : }
236 : 43 : case TRUTH_OR_EXPR:
237 : 43 : {
238 : 43 : tree _p0 = TREE_OPERAND (t, 0);
239 : 43 : tree _p1 = TREE_OPERAND (t, 1);
240 : 43 : {
241 : 43 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
242 : 43 : {
243 : 43 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
244 : 43 : return true;
245 : : }
246 : : }
247 : 1405 : break;
248 : : }
249 : 1405 : case TRUTH_ORIF_EXPR:
250 : 1405 : {
251 : 1405 : tree _p0 = TREE_OPERAND (t, 0);
252 : 1405 : tree _p1 = TREE_OPERAND (t, 1);
253 : 1405 : {
254 : 1405 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
255 : 1405 : {
256 : 1405 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
257 : 1405 : return true;
258 : : }
259 : : }
260 : 0 : break;
261 : : }
262 : 0 : case TRUTH_XOR_EXPR:
263 : 0 : {
264 : 0 : tree _p0 = TREE_OPERAND (t, 0);
265 : 0 : tree _p1 = TREE_OPERAND (t, 1);
266 : 0 : {
267 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
268 : 0 : {
269 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
270 : 0 : return true;
271 : : }
272 : : }
273 : 576470 : break;
274 : : }
275 : 576470 : case TRUTH_NOT_EXPR:
276 : 576470 : {
277 : 576470 : tree _p0 = TREE_OPERAND (t, 0);
278 : 576470 : {
279 : 576470 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
280 : 576470 : {
281 : 576470 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 22, __FILE__, __LINE__, false);
282 : 576470 : return true;
283 : : }
284 : : }
285 : : break;
286 : : }
287 : : default:;
288 : : }
289 : : return false;
290 : : }
291 : :
292 : : bool
293 : 0 : tree_cond_expr_convert_p (tree t, tree *res_ops)
294 : : {
295 : 0 : const tree type = TREE_TYPE (t);
296 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
297 : 0 : if (TREE_SIDE_EFFECTS (t)) return false;
298 : 0 : switch (TREE_CODE (t))
299 : : {
300 : 0 : case COND_EXPR:
301 : 0 : {
302 : 0 : tree _p0 = TREE_OPERAND (t, 0);
303 : 0 : tree _p1 = TREE_OPERAND (t, 1);
304 : 0 : tree _p2 = TREE_OPERAND (t, 2);
305 : 0 : switch (TREE_CODE (_p0))
306 : : {
307 : 0 : case LT_EXPR:
308 : 0 : case LE_EXPR:
309 : 0 : case EQ_EXPR:
310 : 0 : case NE_EXPR:
311 : 0 : case GE_EXPR:
312 : 0 : case GT_EXPR:
313 : 0 : {
314 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
315 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
316 : 0 : switch (TREE_CODE (_p1))
317 : : {
318 : 0 : CASE_CONVERT:
319 : 0 : {
320 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
321 : 0 : switch (TREE_CODE (_p2))
322 : : {
323 : 0 : CASE_CONVERT:
324 : 0 : {
325 : 0 : tree _q70 = TREE_OPERAND (_p2, 0);
326 : 0 : {
327 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _q20, _q50, _q70, _p0, _q21, _p1, _p2 };
328 : 0 : if ((INTEGRAL_TYPE_P (type)
329 : 0 : || (!flag_trapping_math && SCALAR_FLOAT_TYPE_P (type)))
330 : 0 : && ((INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
331 : 0 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[2])))
332 : 0 : || (SCALAR_FLOAT_TYPE_P (TREE_TYPE (captures[1]))
333 : 0 : && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))))
334 : 0 : && !operand_equal_p (TYPE_SIZE (type), TYPE_SIZE (TREE_TYPE (captures[0])))
335 : 0 : && operand_equal_p (TYPE_SIZE (TREE_TYPE (captures[0])),
336 : 0 : TYPE_SIZE (TREE_TYPE (captures[1])))
337 : 0 : && operand_equal_p (TYPE_SIZE (TREE_TYPE (captures[0])),
338 : 0 : TYPE_SIZE (TREE_TYPE (captures[2])))
339 : 0 : && (known_gt (tree_to_poly_uint64 (TYPE_SIZE (TREE_TYPE (captures[0]))),
340 : : tree_to_poly_uint64 (TYPE_SIZE (type)))
341 : 0 : || (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
342 : 0 : == TYPE_UNSIGNED (TREE_TYPE (captures[2]))))
343 : : && single_use (captures[5])
344 : 0 : && single_use (captures[6])
345 : : )
346 : : {
347 : 0 : {
348 : 0 : res_ops[0] = captures[0];
349 : 0 : res_ops[1] = captures[1];
350 : 0 : res_ops[2] = captures[2];
351 : 0 : res_ops[3] = captures[3];
352 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 95, __FILE__, __LINE__, false);
353 : 0 : return true;
354 : : }
355 : : }
356 : : }
357 : 0 : break;
358 : : }
359 : 0 : case REAL_CST:
360 : 0 : {
361 : 0 : {
362 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q50, _p2, _p0, _q21, _p1 };
363 : 0 : if (!flag_trapping_math
364 : 0 : && SCALAR_FLOAT_TYPE_P (type)
365 : 0 : && SCALAR_FLOAT_TYPE_P (TREE_TYPE (captures[1]))
366 : 0 : && !operand_equal_p (TYPE_SIZE (type), TYPE_SIZE (TREE_TYPE (captures[0])))
367 : 0 : && operand_equal_p (TYPE_SIZE (TREE_TYPE (captures[0])),
368 : 0 : TYPE_SIZE (TREE_TYPE (captures[1])))
369 : : && single_use (captures[5])
370 : 0 : && (flag_unsafe_math_optimizations
371 : 0 : || exact_real_truncate (TYPE_MODE (TREE_TYPE (captures[1])),
372 : 0 : &TREE_REAL_CST (captures[2])))
373 : : )
374 : : {
375 : 0 : {
376 : 0 : res_ops[0] = captures[0];
377 : 0 : res_ops[1] = captures[1];
378 : 0 : res_ops[2] = captures[2];
379 : 0 : res_ops[3] = captures[3];
380 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 96, __FILE__, __LINE__, false);
381 : 0 : return true;
382 : : }
383 : : }
384 : : }
385 : 0 : break;
386 : : }
387 : : default:;
388 : : }
389 : : break;
390 : : }
391 : 0 : case FLOAT_EXPR:
392 : 0 : {
393 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
394 : 0 : switch (TREE_CODE (_p2))
395 : : {
396 : 0 : case FLOAT_EXPR:
397 : 0 : {
398 : 0 : tree _q70 = TREE_OPERAND (_p2, 0);
399 : 0 : {
400 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _q20, _q50, _q70, _p0, _q21, _p1, _p2 };
401 : 0 : if (SCALAR_FLOAT_TYPE_P (type) && !flag_trapping_math
402 : 0 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
403 : 0 : && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
404 : 0 : && !operand_equal_p (TYPE_SIZE (type), TYPE_SIZE (TREE_TYPE (captures[0])))
405 : 0 : && operand_equal_p (TYPE_SIZE (TREE_TYPE (captures[0])),
406 : 0 : TYPE_SIZE (TREE_TYPE (captures[1])))
407 : : && single_use (captures[5])
408 : 0 : && single_use (captures[6])
409 : : )
410 : : {
411 : 0 : {
412 : 0 : res_ops[0] = captures[0];
413 : 0 : res_ops[1] = captures[1];
414 : 0 : res_ops[2] = captures[2];
415 : 0 : res_ops[3] = captures[3];
416 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 97, __FILE__, __LINE__, false);
417 : 0 : return true;
418 : : }
419 : : }
420 : : }
421 : 0 : break;
422 : : }
423 : : default:;
424 : : }
425 : : break;
426 : : }
427 : 0 : case FIX_TRUNC_EXPR:
428 : 0 : {
429 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
430 : 0 : switch (TREE_CODE (_p2))
431 : : {
432 : 0 : case FIX_TRUNC_EXPR:
433 : 0 : {
434 : 0 : tree _q70 = TREE_OPERAND (_p2, 0);
435 : 0 : {
436 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _q20, _q50, _q70, _p0, _q21, _p1, _p2 };
437 : 0 : if (INTEGRAL_TYPE_P (type) && !flag_trapping_math
438 : 0 : && SCALAR_FLOAT_TYPE_P (TREE_TYPE (captures[1]))
439 : 0 : && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
440 : 0 : && !operand_equal_p (TYPE_SIZE (type),
441 : 0 : TYPE_SIZE (TREE_TYPE (captures[0])))
442 : 0 : && operand_equal_p (TYPE_SIZE (TREE_TYPE (captures[0])),
443 : 0 : TYPE_SIZE (TREE_TYPE (captures[1])))
444 : : && single_use (captures[5])
445 : 0 : && single_use (captures[6])
446 : : )
447 : : {
448 : 0 : {
449 : 0 : res_ops[0] = captures[0];
450 : 0 : res_ops[1] = captures[1];
451 : 0 : res_ops[2] = captures[2];
452 : 0 : res_ops[3] = captures[3];
453 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 98, __FILE__, __LINE__, false);
454 : 0 : return true;
455 : : }
456 : : }
457 : : }
458 : 0 : break;
459 : : }
460 : : default:;
461 : : }
462 : : break;
463 : : }
464 : 0 : case REAL_CST:
465 : 0 : {
466 : 0 : switch (TREE_CODE (_p2))
467 : : {
468 : 0 : CASE_CONVERT:
469 : 0 : {
470 : 0 : tree _q60 = TREE_OPERAND (_p2, 0);
471 : 0 : {
472 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _p1, _q60, _p0, _q21, _p2 };
473 : 0 : if (!flag_trapping_math
474 : 0 : && SCALAR_FLOAT_TYPE_P (type)
475 : 0 : && SCALAR_FLOAT_TYPE_P (TREE_TYPE (captures[2]))
476 : 0 : && !operand_equal_p (TYPE_SIZE (type),
477 : 0 : TYPE_SIZE (TREE_TYPE (captures[0])))
478 : 0 : && operand_equal_p (TYPE_SIZE (TREE_TYPE (captures[0])),
479 : 0 : TYPE_SIZE (TREE_TYPE (captures[2])))
480 : : && single_use (captures[5])
481 : 0 : && (flag_unsafe_math_optimizations
482 : 0 : || exact_real_truncate (TYPE_MODE (TREE_TYPE (captures[2])),
483 : 0 : &TREE_REAL_CST (captures[1])))
484 : : )
485 : : {
486 : 0 : {
487 : 0 : res_ops[0] = captures[0];
488 : 0 : res_ops[1] = captures[1];
489 : 0 : res_ops[2] = captures[2];
490 : 0 : res_ops[3] = captures[3];
491 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 99, __FILE__, __LINE__, false);
492 : 0 : return true;
493 : : }
494 : : }
495 : : }
496 : 0 : break;
497 : : }
498 : : default:;
499 : : }
500 : : break;
501 : : }
502 : : default:;
503 : : }
504 : : break;
505 : : }
506 : : default:;
507 : : }
508 : : break;
509 : : }
510 : : default:;
511 : : }
512 : : return false;
513 : : }
514 : :
515 : : tree
516 : 68968 : generic_simplify_6 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
517 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
518 : : const enum tree_code ARG_UNUSED (op))
519 : : {
520 : 68968 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
521 : 68968 : {
522 : 68968 : bool wascmp0, wascmp1;
523 : 68968 : if (bitwise_inverted_equal_p (captures[1], captures[3], wascmp0)
524 : 1189 : && bitwise_inverted_equal_p (captures[0], captures[2], wascmp1)
525 : 68972 : && ((!wascmp0 && !wascmp1)
526 : 0 : || element_precision (type) == 1)
527 : : )
528 : : {
529 : 4 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail224;
530 : 4 : {
531 : 4 : tree res_op0;
532 : 4 : res_op0 = captures[0];
533 : 4 : tree res_op1;
534 : 4 : res_op1 = captures[3];
535 : 4 : tree _r;
536 : 4 : _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
537 : 4 : if (TREE_SIDE_EFFECTS (captures[1]))
538 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
539 : 4 : if (TREE_SIDE_EFFECTS (captures[2]))
540 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
541 : 4 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 108, __FILE__, __LINE__, true);
542 : 4 : return _r;
543 : : }
544 : 0 : next_after_fail224:;
545 : : }
546 : : }
547 : 68964 : return NULL_TREE;
548 : : }
549 : :
550 : : tree
551 : 0 : generic_simplify_9 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
552 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
553 : : {
554 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
555 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail227;
556 : 0 : {
557 : 0 : tree res_op0;
558 : 0 : res_op0 = captures[0];
559 : 0 : tree res_op1;
560 : 0 : res_op1 = captures[1];
561 : 0 : tree _r;
562 : 0 : _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
563 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 111, __FILE__, __LINE__, true);
564 : : return _r;
565 : : }
566 : 0 : next_after_fail227:;
567 : 0 : return NULL_TREE;
568 : : }
569 : :
570 : : tree
571 : 502 : generic_simplify_10 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
572 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
573 : : const enum tree_code ARG_UNUSED (op))
574 : : {
575 : 502 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
576 : 502 : if (tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
577 : 502 : && tree_nop_conversion_p (type, TREE_TYPE (captures[4]))
578 : 1004 : && (wi::to_wide (captures[2]) & wi::to_wide (captures[5])) == 0
579 : : )
580 : : {
581 : 107 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail228;
582 : 107 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail228;
583 : 107 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail228;
584 : 107 : {
585 : 107 : tree res_op0;
586 : 107 : {
587 : 107 : tree _o1[1], _r1;
588 : 107 : _o1[0] = captures[0];
589 : 107 : if (TREE_TYPE (_o1[0]) != type)
590 : : {
591 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
592 : : }
593 : : else
594 : : _r1 = _o1[0];
595 : 107 : res_op0 = _r1;
596 : : }
597 : 107 : tree res_op1;
598 : 107 : {
599 : 107 : tree _o1[1], _r1;
600 : 107 : _o1[0] = captures[3];
601 : 107 : if (TREE_TYPE (_o1[0]) != type)
602 : : {
603 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
604 : : }
605 : : else
606 : : _r1 = _o1[0];
607 : 107 : res_op1 = _r1;
608 : : }
609 : 107 : tree _r;
610 : 107 : _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
611 : 107 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 112, __FILE__, __LINE__, true);
612 : 107 : return _r;
613 : : }
614 : : next_after_fail228:;
615 : : }
616 : : return NULL_TREE;
617 : : }
618 : :
619 : : tree
620 : 24 : generic_simplify_15 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
621 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
622 : : const enum tree_code ARG_UNUSED (op),
623 : : const enum tree_code ARG_UNUSED (cmp),
624 : : const enum tree_code ARG_UNUSED (icmp))
625 : : {
626 : 24 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
627 : 24 : if (invert_tree_comparison (cmp, HONOR_NANS (captures[2])) == icmp
628 : : )
629 : : {
630 : 24 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail233;
631 : 24 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail233;
632 : 24 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail233;
633 : 24 : {
634 : 24 : tree res_op0;
635 : 24 : res_op0 = captures[1];
636 : 24 : tree res_op1;
637 : 24 : res_op1 = captures[4];
638 : 24 : tree res_op2;
639 : 24 : res_op2 = captures[7];
640 : 24 : tree _r;
641 : 24 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
642 : 24 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 117, __FILE__, __LINE__, true);
643 : 24 : return _r;
644 : : }
645 : : next_after_fail233:;
646 : : }
647 : : return NULL_TREE;
648 : : }
649 : :
650 : : tree
651 : 477 : generic_simplify_18 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
652 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
653 : : {
654 : 477 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
655 : 477 : if (!TYPE_SATURATING (type)
656 : : )
657 : : {
658 : 477 : if ((!FLOAT_TYPE_P (type) || flag_associative_math)
659 : 954 : && !FIXED_POINT_TYPE_P (type)
660 : : )
661 : : {
662 : 477 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail244;
663 : 477 : {
664 : 477 : tree res_op0;
665 : 477 : res_op0 = captures[2];
666 : 477 : tree res_op1;
667 : 477 : res_op1 = captures[1];
668 : 477 : tree _r;
669 : 477 : _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
670 : 477 : if (TREE_SIDE_EFFECTS (captures[0]))
671 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
672 : 477 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 128, __FILE__, __LINE__, true);
673 : 477 : return _r;
674 : : }
675 : 0 : next_after_fail244:;
676 : : }
677 : : }
678 : : return NULL_TREE;
679 : : }
680 : :
681 : : tree
682 : 7 : generic_simplify_20 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
683 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
684 : : {
685 : 7 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
686 : 7 : if (!TYPE_SATURATING (type)
687 : : )
688 : : {
689 : 7 : if ((!FLOAT_TYPE_P (type) || flag_associative_math)
690 : 14 : && !FIXED_POINT_TYPE_P (type)
691 : : )
692 : : {
693 : 7 : if (TYPE_OVERFLOW_UNDEFINED (type)
694 : 14 : && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[0]))
695 : : )
696 : : {
697 : 7 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail246;
698 : 7 : {
699 : 7 : tree res_op0;
700 : 7 : res_op0 = captures[2];
701 : 7 : tree res_op1;
702 : 7 : res_op1 = captures[1];
703 : 7 : tree _r;
704 : 7 : _r = fold_build2_loc (loc, POINTER_DIFF_EXPR, type, res_op0, res_op1);
705 : 7 : if (TREE_SIDE_EFFECTS (captures[0]))
706 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
707 : 7 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 130, __FILE__, __LINE__, true);
708 : 7 : return _r;
709 : : }
710 : 0 : next_after_fail246:;
711 : : }
712 : : }
713 : : }
714 : : return NULL_TREE;
715 : : }
716 : :
717 : : tree
718 : 534 : generic_simplify_22 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
719 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
720 : : {
721 : 534 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
722 : 534 : if (!TYPE_SATURATING (type)
723 : : )
724 : : {
725 : 534 : if ((!FLOAT_TYPE_P (type) || flag_associative_math)
726 : 1068 : && !FIXED_POINT_TYPE_P (type)
727 : : )
728 : : {
729 : 534 : if (!TYPE_OVERFLOW_TRAPS (type)
730 : : )
731 : : {
732 : 534 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail248;
733 : 534 : {
734 : 534 : tree res_op0;
735 : 534 : res_op0 = build_all_ones_cst (TREE_TYPE (captures[0]));
736 : 534 : tree _r;
737 : 534 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
738 : 534 : if (TREE_SIDE_EFFECTS (captures[0]))
739 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
740 : 534 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 132, __FILE__, __LINE__, true);
741 : 534 : return _r;
742 : : }
743 : 0 : next_after_fail248:;
744 : : }
745 : : }
746 : : }
747 : : return NULL_TREE;
748 : : }
749 : :
750 : : tree
751 : 2275955 : generic_simplify_24 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
752 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
753 : : const enum tree_code ARG_UNUSED (plusminus))
754 : : {
755 : 2275955 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
756 : 2275955 : if (!TYPE_SATURATING (type)
757 : 2275955 : && (!FLOAT_TYPE_P (type) || flag_associative_math)
758 : : )
759 : : {
760 : 110 : if (!ANY_INTEGRAL_TYPE_P (type)
761 : 2275726 : || TYPE_OVERFLOW_WRAPS (type)
762 : 3998134 : || (INTEGRAL_TYPE_P (type)
763 : 1722298 : && tree_expr_nonzero_p (captures[1])
764 : 3202826 : && expr_not_equal_to (captures[1], wi::minus_one (TYPE_PRECISION (type))))
765 : : )
766 : : {
767 : 1480224 : if (single_use (captures[0]) || single_use (captures[3])
768 : : )
769 : : {
770 : 1480224 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail250;
771 : 1480224 : {
772 : 1480224 : tree res_op0;
773 : 1480224 : {
774 : 1480224 : tree _o1[2], _r1;
775 : 1480224 : _o1[0] = captures[2];
776 : 1480224 : _o1[1] = captures[4];
777 : 1480224 : _r1 = fold_build2_loc (loc, plusminus, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
778 : 1480224 : res_op0 = _r1;
779 : : }
780 : 1480224 : tree res_op1;
781 : 1480224 : res_op1 = captures[1];
782 : 1480224 : tree _r;
783 : 1480224 : _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
784 : 1480224 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 134, __FILE__, __LINE__, true);
785 : 1480224 : return _r;
786 : : }
787 : 0 : next_after_fail250:;
788 : : }
789 : : else
790 : : {
791 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail251;
792 : : {
793 : : tree res_op0;
794 : : {
795 : : tree _o1[2], _r1;
796 : : _o1[0] = captures[2];
797 : : _o1[1] = captures[4];
798 : : _r1 = fold_build2_loc (loc, plusminus, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
799 : : res_op0 = _r1;
800 : : }
801 : : tree res_op1;
802 : : res_op1 = captures[1];
803 : : tree _r;
804 : : _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
805 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 135, __FILE__, __LINE__, true);
806 : : return _r;
807 : : }
808 : : next_after_fail251:;
809 : : }
810 : : }
811 : : }
812 : : return NULL_TREE;
813 : : }
814 : :
815 : : tree
816 : 9 : generic_simplify_28 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
817 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
818 : : {
819 : 9 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
820 : 9 : if (INTEGRAL_TYPE_P (type)
821 : 9 : && (
822 : :
823 : 9 : || !TREE_SIDE_EFFECTS (captures[1]))
824 : : )
825 : : {
826 : 2 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail255;
827 : 2 : {
828 : 2 : tree res_op0;
829 : 2 : {
830 : 2 : tree _o1[1], _r1;
831 : 2 : _o1[0] = captures[2];
832 : 2 : if (TREE_TYPE (_o1[0]) != boolean_type_node)
833 : : {
834 : 2 : _r1 = fold_build1_loc (loc, NOP_EXPR, boolean_type_node, _o1[0]);
835 : : }
836 : : else
837 : : _r1 = _o1[0];
838 : 2 : res_op0 = _r1;
839 : : }
840 : 2 : tree res_op1;
841 : 2 : res_op1 = captures[1];
842 : 2 : tree res_op2;
843 : 2 : res_op2 = captures[0];
844 : 2 : tree _r;
845 : 2 : _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
846 : 2 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 139, __FILE__, __LINE__, true);
847 : 2 : return _r;
848 : : }
849 : 0 : next_after_fail255:;
850 : : }
851 : : return NULL_TREE;
852 : : }
853 : :
854 : : tree
855 : 1 : generic_simplify_32 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
856 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
857 : : const combined_fn ARG_UNUSED (logs))
858 : : {
859 : 1 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
860 : 1 : if (flag_unsafe_math_optimizations
861 : : )
862 : : {
863 : 1 : if (! HONOR_SIGN_DEPENDENT_ROUNDING (type)
864 : 1 : && ! HONOR_NANS (type) && ! HONOR_INFINITIES (type)
865 : 1 : && ! flag_trapping_math
866 : 2 : && ! flag_errno_math
867 : : )
868 : : {
869 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail259;
870 : 1 : {
871 : 1 : tree res_op0;
872 : 1 : {
873 : 1 : tree _o1[2], _r1;
874 : 1 : _o1[0] = captures[1];
875 : 1 : _o1[1] = captures[3];
876 : 1 : _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
877 : 1 : res_op0 = _r1;
878 : : }
879 : 1 : tree _r;
880 : 1 : _r = maybe_build_call_expr_loc (loc, logs, type, 1, res_op0);
881 : 1 : if (!_r)
882 : 0 : goto next_after_fail259;
883 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 143, __FILE__, __LINE__, true);
884 : 1 : return _r;
885 : : }
886 : : next_after_fail259:;
887 : : }
888 : : }
889 : : return NULL_TREE;
890 : : }
891 : :
892 : : tree
893 : 0 : generic_simplify_36 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
894 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
895 : : {
896 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
897 : 0 : if (TREE_CODE (captures[1]) == SSA_NAME && num_imm_uses (captures[1]) == 2
898 : : )
899 : : {
900 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail263;
901 : 0 : {
902 : 0 : if (! tree_invariant_p (captures[2])) goto next_after_fail263;
903 : 0 : tree res_op0;
904 : 0 : {
905 : 0 : tree _o1[2], _r1;
906 : 0 : {
907 : 0 : tree _o2[3], _r2;
908 : 0 : _o2[0] = unshare_expr (captures[2]);
909 : 0 : _o2[1] = captures[2];
910 : 0 : _o2[2] = captures[4];
911 : 0 : _r2 = fold_build3_loc (loc, VEC_PERM_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1], _o2[2]);
912 : 0 : _o1[0] = _r2;
913 : : }
914 : 0 : _o1[1] = captures[3];
915 : 0 : _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
916 : 0 : res_op0 = _r1;
917 : : }
918 : 0 : tree res_op1;
919 : 0 : res_op1 = captures[5];
920 : 0 : tree _r;
921 : 0 : _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
922 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 147, __FILE__, __LINE__, true);
923 : 0 : return _r;
924 : : }
925 : : next_after_fail263:;
926 : : }
927 : : return NULL_TREE;
928 : : }
929 : :
930 : : tree
931 : 0 : generic_simplify_41 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
932 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
933 : : {
934 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
935 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail268;
936 : 0 : {
937 : 0 : tree res_op0;
938 : 0 : res_op0 = unshare_expr (captures[2]);
939 : 0 : tree res_op1;
940 : 0 : {
941 : 0 : tree _o1[2], _r1;
942 : 0 : _o1[0] = captures[1];
943 : 0 : _o1[1] = captures[2];
944 : 0 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
945 : 0 : res_op1 = _r1;
946 : : }
947 : 0 : tree _r;
948 : 0 : _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
949 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 152, __FILE__, __LINE__, true);
950 : : return _r;
951 : : }
952 : 0 : next_after_fail268:;
953 : 0 : return NULL_TREE;
954 : : }
955 : :
956 : : tree
957 : 1 : generic_simplify_45 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
958 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
959 : : {
960 : 1 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
961 : 1 : if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
962 : 1 : && tree_nop_conversion_p (type, TREE_TYPE (captures[3]))
963 : : )
964 : : {
965 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail272;
966 : 1 : {
967 : 1 : tree res_op0;
968 : 1 : {
969 : 1 : tree _o1[2], _r1;
970 : 1 : {
971 : 1 : tree _o2[1], _r2;
972 : 1 : _o2[0] = captures[3];
973 : 1 : _r2 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
974 : 1 : _o1[0] = _r2;
975 : : }
976 : 1 : _o1[1] = captures[0];
977 : 1 : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
978 : 1 : res_op0 = _r1;
979 : : }
980 : 1 : tree _r;
981 : 1 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
982 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 156, __FILE__, __LINE__, true);
983 : 1 : return _r;
984 : : }
985 : 0 : next_after_fail272:;
986 : : }
987 : : return NULL_TREE;
988 : : }
989 : :
990 : : tree
991 : 35328 : generic_simplify_50 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
992 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
993 : : {
994 : 35328 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
995 : 35328 : if (!TYPE_SATURATING (type)
996 : : )
997 : : {
998 : 35328 : if ((!FLOAT_TYPE_P (type) || flag_associative_math)
999 : 70656 : && !FIXED_POINT_TYPE_P (type)
1000 : : )
1001 : : {
1002 : 0 : if (!ANY_INTEGRAL_TYPE_P (type)
1003 : 35328 : || TYPE_OVERFLOW_WRAPS (type)
1004 : : )
1005 : : {
1006 : 31305 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail278;
1007 : 31305 : {
1008 : 31305 : tree res_op0;
1009 : 31305 : {
1010 : 31305 : tree _o1[1], _r1;
1011 : 31305 : _o1[0] = captures[1];
1012 : 31305 : if (TREE_TYPE (_o1[0]) != type)
1013 : : {
1014 : 112 : _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o1[0]);
1015 : : }
1016 : : else
1017 : : _r1 = _o1[0];
1018 : 31305 : res_op0 = _r1;
1019 : : }
1020 : 31305 : tree _r;
1021 : 31305 : _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
1022 : 31305 : if (TREE_SIDE_EFFECTS (captures[0]))
1023 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1024 : 31305 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 161, __FILE__, __LINE__, true);
1025 : 31305 : return _r;
1026 : : }
1027 : 0 : next_after_fail278:;
1028 : : }
1029 : : else
1030 : : {
1031 : 4023 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail279;
1032 : 4023 : {
1033 : 4023 : tree res_op0;
1034 : 4023 : {
1035 : 4023 : tree _o1[1], _r1;
1036 : 4023 : _o1[0] = captures[1];
1037 : 4023 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
1038 : 4023 : res_op0 = _r1;
1039 : : }
1040 : 4023 : tree _r;
1041 : 4023 : _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
1042 : 4023 : if (TREE_SIDE_EFFECTS (captures[0]))
1043 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1044 : 4023 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 162, __FILE__, __LINE__, true);
1045 : 4023 : return _r;
1046 : : }
1047 : 0 : next_after_fail279:;
1048 : : }
1049 : : }
1050 : : }
1051 : : return NULL_TREE;
1052 : : }
1053 : :
1054 : : tree
1055 : 9 : generic_simplify_58 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1056 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
1057 : : {
1058 : 9 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1059 : 9 : if (INTEGRAL_TYPE_P (type)
1060 : 9 : && (
1061 : :
1062 : 9 : || !TREE_SIDE_EFFECTS (captures[1]))
1063 : : )
1064 : : {
1065 : 2 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail291;
1066 : 2 : {
1067 : 2 : tree res_op0;
1068 : 2 : {
1069 : 2 : tree _o1[1], _r1;
1070 : 2 : _o1[0] = captures[2];
1071 : 2 : if (TREE_TYPE (_o1[0]) != boolean_type_node)
1072 : : {
1073 : 2 : _r1 = fold_build1_loc (loc, NOP_EXPR, boolean_type_node, _o1[0]);
1074 : : }
1075 : : else
1076 : : _r1 = _o1[0];
1077 : 2 : res_op0 = _r1;
1078 : : }
1079 : 2 : tree res_op1;
1080 : 2 : res_op1 = captures[1];
1081 : 2 : tree res_op2;
1082 : 2 : res_op2 = captures[0];
1083 : 2 : tree _r;
1084 : 2 : _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
1085 : 2 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 174, __FILE__, __LINE__, true);
1086 : 2 : return _r;
1087 : : }
1088 : 0 : next_after_fail291:;
1089 : : }
1090 : : return NULL_TREE;
1091 : : }
1092 : :
1093 : : tree
1094 : 0 : generic_simplify_62 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1095 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
1096 : : {
1097 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1098 : 0 : if (TREE_CODE (captures[1]) == SSA_NAME && num_imm_uses (captures[1]) == 2
1099 : : )
1100 : : {
1101 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail295;
1102 : 0 : {
1103 : 0 : if (! tree_invariant_p (captures[2])) goto next_after_fail295;
1104 : 0 : tree res_op0;
1105 : 0 : {
1106 : 0 : tree _o1[2], _r1;
1107 : 0 : {
1108 : 0 : tree _o2[3], _r2;
1109 : 0 : _o2[0] = unshare_expr (captures[2]);
1110 : 0 : _o2[1] = captures[2];
1111 : 0 : _o2[2] = captures[4];
1112 : 0 : _r2 = fold_build3_loc (loc, VEC_PERM_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1], _o2[2]);
1113 : 0 : _o1[0] = _r2;
1114 : : }
1115 : 0 : _o1[1] = captures[3];
1116 : 0 : _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
1117 : 0 : res_op0 = _r1;
1118 : : }
1119 : 0 : tree res_op1;
1120 : 0 : res_op1 = captures[5];
1121 : 0 : tree _r;
1122 : 0 : _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
1123 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 178, __FILE__, __LINE__, true);
1124 : 0 : return _r;
1125 : : }
1126 : : next_after_fail295:;
1127 : : }
1128 : : return NULL_TREE;
1129 : : }
1130 : :
1131 : : tree
1132 : 0 : generic_simplify_66 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1133 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1134 : : const enum tree_code ARG_UNUSED (bitop),
1135 : : const enum tree_code ARG_UNUSED (cmp))
1136 : : {
1137 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1138 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
1139 : 0 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
1140 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (TREE_TYPE (captures[2]))
1141 : : )
1142 : : {
1143 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail299;
1144 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail299;
1145 : 0 : {
1146 : 0 : tree res_op0;
1147 : 0 : {
1148 : 0 : tree _o1[2], _r1;
1149 : 0 : _o1[0] = captures[0];
1150 : 0 : {
1151 : 0 : tree _o2[1], _r2;
1152 : 0 : _o2[0] = captures[2];
1153 : 0 : if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o1[0]))
1154 : : {
1155 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
1156 : : }
1157 : : else
1158 : : _r2 = _o2[0];
1159 : 0 : _o1[1] = _r2;
1160 : : }
1161 : 0 : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
1162 : 0 : res_op0 = _r1;
1163 : : }
1164 : 0 : tree res_op1;
1165 : 0 : res_op1 = captures[1];
1166 : 0 : tree _r;
1167 : 0 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1168 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 182, __FILE__, __LINE__, true);
1169 : 0 : return _r;
1170 : : }
1171 : : next_after_fail299:;
1172 : : }
1173 : : return NULL_TREE;
1174 : : }
1175 : :
1176 : : tree
1177 : 0 : generic_simplify_77 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1178 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1179 : : const enum tree_code ARG_UNUSED (op))
1180 : : {
1181 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1182 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail314;
1183 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail314;
1184 : 0 : {
1185 : 0 : tree _r;
1186 : 0 : _r = captures[0];
1187 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 192, __FILE__, __LINE__, true);
1188 : : return _r;
1189 : : }
1190 : : next_after_fail314:;
1191 : : return NULL_TREE;
1192 : : }
1193 : :
1194 : : tree
1195 : 2 : generic_simplify_82 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1196 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
1197 : : {
1198 : 2 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1199 : 2 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail319;
1200 : 2 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail319;
1201 : 2 : {
1202 : 2 : tree res_op0;
1203 : 2 : res_op0 = captures[0];
1204 : 2 : tree res_op1;
1205 : 2 : res_op1 = captures[3];
1206 : 2 : tree _r;
1207 : 2 : _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
1208 : 2 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 196, __FILE__, __LINE__, true);
1209 : : return _r;
1210 : : }
1211 : : next_after_fail319:;
1212 : : return NULL_TREE;
1213 : : }
1214 : :
1215 : : tree
1216 : 93 : generic_simplify_92 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1217 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1218 : : const enum tree_code ARG_UNUSED (op),
1219 : : const enum tree_code ARG_UNUSED (rop))
1220 : : {
1221 : 93 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1222 : 93 : if (element_precision (type) <= element_precision (TREE_TYPE (captures[0]))
1223 : 93 : && element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
1224 : : )
1225 : : {
1226 : 61 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail329;
1227 : 61 : {
1228 : 61 : tree res_op0;
1229 : 61 : {
1230 : 61 : tree _o1[2], _r1;
1231 : 61 : {
1232 : 61 : tree _o2[1], _r2;
1233 : 61 : _o2[0] = captures[0];
1234 : 61 : if (TREE_TYPE (_o2[0]) != type)
1235 : : {
1236 : 1 : _r2 = fold_build1_loc (loc, NOP_EXPR, type, _o2[0]);
1237 : : }
1238 : : else
1239 : : _r2 = _o2[0];
1240 : 61 : _o1[0] = _r2;
1241 : : }
1242 : 61 : {
1243 : 61 : tree _o2[1], _r2;
1244 : 61 : _o2[0] = captures[1];
1245 : 61 : if (TREE_TYPE (_o2[0]) != type)
1246 : : {
1247 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, type, _o2[0]);
1248 : : }
1249 : : else
1250 : : _r2 = _o2[0];
1251 : 61 : _o1[1] = _r2;
1252 : : }
1253 : 61 : _r1 = fold_build2_loc (loc, rop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
1254 : 61 : res_op0 = _r1;
1255 : : }
1256 : 61 : tree _r;
1257 : 61 : _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
1258 : 61 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 203, __FILE__, __LINE__, true);
1259 : 61 : return _r;
1260 : : }
1261 : 0 : next_after_fail329:;
1262 : : }
1263 : : return NULL_TREE;
1264 : : }
1265 : :
1266 : : tree
1267 : 21 : generic_simplify_103 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1268 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1269 : : const enum tree_code ARG_UNUSED (bitop),
1270 : : const enum tree_code ARG_UNUSED (rbitop))
1271 : : {
1272 : 21 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1273 : 21 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail344;
1274 : 21 : {
1275 : 21 : tree _r;
1276 : 21 : _r = captures[0];
1277 : 21 : if (TREE_SIDE_EFFECTS (captures[1]))
1278 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1279 : 21 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 209, __FILE__, __LINE__, true);
1280 : : return _r;
1281 : : }
1282 : 0 : next_after_fail344:;
1283 : 0 : return NULL_TREE;
1284 : : }
1285 : :
1286 : : tree
1287 : 2 : generic_simplify_106 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1288 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1289 : : const enum tree_code ARG_UNUSED (bitop),
1290 : : const enum tree_code ARG_UNUSED (rbitop))
1291 : : {
1292 : 2 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1293 : 2 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail347;
1294 : 2 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail347;
1295 : 2 : {
1296 : 2 : tree res_op0;
1297 : 2 : res_op0 = captures[0];
1298 : 2 : tree res_op1;
1299 : 2 : res_op1 = captures[2];
1300 : 2 : tree _r;
1301 : 2 : _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
1302 : 2 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 212, __FILE__, __LINE__, true);
1303 : : return _r;
1304 : : }
1305 : : next_after_fail347:;
1306 : : return NULL_TREE;
1307 : : }
1308 : :
1309 : : tree
1310 : 0 : generic_simplify_115 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1311 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1312 : : const enum tree_code ARG_UNUSED (op))
1313 : : {
1314 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1315 : 0 : if (INTEGRAL_TYPE_P (type)
1316 : 0 : && tree_int_cst_sgn (captures[5]) > 0
1317 : 0 : && (tree_nonzero_bits (captures[0]) & tree_nonzero_bits (captures[4])) == 0
1318 : : )
1319 : : {
1320 : 0 : {
1321 : 0 : tree t = type;
1322 : 0 : if (!TYPE_OVERFLOW_WRAPS (t))
1323 : 0 : t = unsigned_type_for (t);
1324 : 0 : wide_int wone = wi::one (TYPE_PRECISION (type));
1325 : 0 : wide_int c = wi::add (wi::to_wide (captures[3]),
1326 : 0 : wi::lshift (wone, wi::to_wide (captures[5])));
1327 : 0 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail357;
1328 : 0 : if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail357;
1329 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail357;
1330 : 0 : {
1331 : 0 : tree res_op0;
1332 : 0 : {
1333 : 0 : tree _o1[2], _r1;
1334 : 0 : {
1335 : 0 : tree _o2[1], _r2;
1336 : 0 : _o2[0] = captures[2];
1337 : 0 : if (TREE_TYPE (_o2[0]) != t)
1338 : : {
1339 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, t, _o2[0]);
1340 : : }
1341 : : else
1342 : : _r2 = _o2[0];
1343 : 0 : _o1[0] = _r2;
1344 : : }
1345 : 0 : _o1[1] = wide_int_to_tree (t, c);
1346 : 0 : _r1 = fold_build2_loc (loc, MULT_EXPR, t, _o1[0], _o1[1]);
1347 : 0 : res_op0 = _r1;
1348 : : }
1349 : 0 : tree _r;
1350 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
1351 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 217, __FILE__, __LINE__, true);
1352 : 0 : return _r;
1353 : : }
1354 : 0 : next_after_fail357:;
1355 : 0 : }
1356 : : }
1357 : : return NULL_TREE;
1358 : : }
1359 : :
1360 : : tree
1361 : 0 : generic_simplify_124 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1362 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
1363 : : {
1364 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1365 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail372;
1366 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail372;
1367 : 0 : {
1368 : 0 : tree _r;
1369 : 0 : _r = captures[2];
1370 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
1371 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1372 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 232, __FILE__, __LINE__, true);
1373 : : return _r;
1374 : : }
1375 : : next_after_fail372:;
1376 : : return NULL_TREE;
1377 : : }
1378 : :
1379 : : tree
1380 : 0 : generic_simplify_129 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1381 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1382 : : const enum tree_code ARG_UNUSED (cmp))
1383 : : {
1384 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1385 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail395;
1386 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail395;
1387 : 0 : {
1388 : 0 : tree res_op0;
1389 : 0 : {
1390 : 0 : tree _o1[2], _r1;
1391 : 0 : _o1[0] = build_zero_cst (TREE_TYPE (captures[0]));
1392 : 0 : _o1[1] = captures[3];
1393 : 0 : _r1 = fold_build2_loc (loc, cmp, type, _o1[0], _o1[1]);
1394 : 0 : res_op0 = _r1;
1395 : : }
1396 : 0 : tree res_op1;
1397 : 0 : res_op1 = captures[4];
1398 : 0 : tree _r;
1399 : 0 : _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
1400 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
1401 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
1402 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 248, __FILE__, __LINE__, true);
1403 : : return _r;
1404 : : }
1405 : : next_after_fail395:;
1406 : : return NULL_TREE;
1407 : : }
1408 : :
1409 : : tree
1410 : 0 : generic_simplify_134 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1411 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1412 : : const enum tree_code ARG_UNUSED (eqne))
1413 : : {
1414 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1415 : 0 : if (eqne == EQ_EXPR
1416 : : )
1417 : : {
1418 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail400;
1419 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail400;
1420 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail400;
1421 : 0 : {
1422 : 0 : tree _r;
1423 : 0 : _r = captures[0];
1424 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 251, __FILE__, __LINE__, true);
1425 : 0 : return _r;
1426 : : }
1427 : : next_after_fail400:;
1428 : : }
1429 : : else
1430 : : {
1431 : 0 : if (eqne == NE_EXPR
1432 : : )
1433 : : {
1434 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail401;
1435 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail401;
1436 : 0 : {
1437 : 0 : tree _r;
1438 : 0 : _r = constant_boolean_node (true, type);
1439 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
1440 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
1441 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 252, __FILE__, __LINE__, true);
1442 : 0 : return _r;
1443 : : }
1444 : : next_after_fail401:;
1445 : : }
1446 : : }
1447 : : return NULL_TREE;
1448 : : }
1449 : :
1450 : : tree
1451 : 19 : generic_simplify_141 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1452 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1453 : : const enum tree_code ARG_UNUSED (op))
1454 : : {
1455 : 19 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1456 : 38 : if (INTEGRAL_TYPE_P (type)
1457 : 19 : && operand_equal_p (captures[2], captures[6], 0)
1458 : 38 : && (tree_nonzero_bits (captures[0]) & tree_nonzero_bits (captures[4])) == 0
1459 : : )
1460 : : {
1461 : 0 : {
1462 : 0 : tree t = type;
1463 : 0 : if (!TYPE_OVERFLOW_WRAPS (t))
1464 : 0 : t = unsigned_type_for (t);
1465 : 0 : wide_int c = wi::add (wi::to_wide (captures[3]), wi::to_wide (captures[7]));
1466 : 0 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail421;
1467 : 0 : if (TREE_SIDE_EFFECTS (captures[7])) goto next_after_fail421;
1468 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail421;
1469 : 0 : {
1470 : 0 : tree res_op0;
1471 : 0 : {
1472 : 0 : tree _o1[2], _r1;
1473 : 0 : {
1474 : 0 : tree _o2[1], _r2;
1475 : 0 : _o2[0] = captures[2];
1476 : 0 : if (TREE_TYPE (_o2[0]) != t)
1477 : : {
1478 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, t, _o2[0]);
1479 : : }
1480 : : else
1481 : : _r2 = _o2[0];
1482 : 0 : _o1[0] = _r2;
1483 : : }
1484 : 0 : _o1[1] = wide_int_to_tree (t, c);
1485 : 0 : _r1 = fold_build2_loc (loc, MULT_EXPR, t, _o1[0], _o1[1]);
1486 : 0 : res_op0 = _r1;
1487 : : }
1488 : 0 : tree _r;
1489 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
1490 : 0 : if (TREE_SIDE_EFFECTS (captures[6]))
1491 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[6]), _r);
1492 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 216, __FILE__, __LINE__, true);
1493 : 0 : return _r;
1494 : : }
1495 : 0 : next_after_fail421:;
1496 : 0 : }
1497 : : }
1498 : : return NULL_TREE;
1499 : : }
1500 : :
1501 : : tree
1502 : 495 : generic_simplify_145 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1503 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1504 : : const enum tree_code ARG_UNUSED (op))
1505 : : {
1506 : 495 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1507 : 990 : if (INTEGRAL_TYPE_P (type)
1508 : 493 : && tree_int_cst_sgn (captures[2]) > 0
1509 : 1976 : && (tree_nonzero_bits (captures[0]) & tree_nonzero_bits (captures[1])) == 0
1510 : : )
1511 : : {
1512 : 6 : {
1513 : 6 : tree t = type;
1514 : 6 : if (!TYPE_OVERFLOW_WRAPS (t))
1515 : 6 : t = unsigned_type_for (t);
1516 : 6 : wide_int wone = wi::one (TYPE_PRECISION (t));
1517 : 6 : wide_int c = wi::add (wi::lshift (wone, wi::to_wide (captures[2])), wone);
1518 : 6 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail425;
1519 : 6 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail425;
1520 : 6 : {
1521 : 6 : tree res_op0;
1522 : 6 : {
1523 : 6 : tree _o1[2], _r1;
1524 : 6 : {
1525 : 6 : tree _o2[1], _r2;
1526 : 6 : _o2[0] = captures[1];
1527 : 6 : if (TREE_TYPE (_o2[0]) != t)
1528 : : {
1529 : 6 : _r2 = fold_build1_loc (loc, NOP_EXPR, t, _o2[0]);
1530 : : }
1531 : : else
1532 : : _r2 = _o2[0];
1533 : 6 : _o1[0] = _r2;
1534 : : }
1535 : 6 : _o1[1] = wide_int_to_tree (t, c);
1536 : 6 : _r1 = fold_build2_loc (loc, MULT_EXPR, t, _o1[0], _o1[1]);
1537 : 6 : res_op0 = _r1;
1538 : : }
1539 : 6 : tree _r;
1540 : 6 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
1541 : 6 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 255, __FILE__, __LINE__, true);
1542 : 6 : return _r;
1543 : : }
1544 : 0 : next_after_fail425:;
1545 : 6 : }
1546 : : }
1547 : : return NULL_TREE;
1548 : : }
1549 : :
1550 : : tree
1551 : 196 : generic_simplify_152 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1552 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
1553 : : {
1554 : 196 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1555 : 196 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail432;
1556 : 196 : {
1557 : 196 : if (! tree_invariant_p (captures[3])) goto next_after_fail432;
1558 : 15 : tree res_op0;
1559 : 15 : {
1560 : 15 : tree _o1[2], _r1;
1561 : 15 : _o1[0] = captures[2];
1562 : 15 : _o1[1] = unshare_expr (captures[3]);
1563 : 15 : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
1564 : 15 : res_op0 = _r1;
1565 : : }
1566 : 15 : tree res_op1;
1567 : 15 : {
1568 : 15 : tree _o1[2], _r1;
1569 : 15 : _o1[0] = captures[4];
1570 : 15 : _o1[1] = captures[3];
1571 : 15 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
1572 : 15 : if (EXPR_P (_r1))
1573 : 14 : goto next_after_fail432;
1574 : 1 : res_op1 = _r1;
1575 : : }
1576 : 1 : tree _r;
1577 : 1 : _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
1578 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 261, __FILE__, __LINE__, true);
1579 : : return _r;
1580 : : }
1581 : : next_after_fail432:;
1582 : : return NULL_TREE;
1583 : : }
1584 : :
1585 : : tree
1586 : 50 : generic_simplify_162 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1587 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
1588 : : {
1589 : 50 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1590 : 50 : if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
1591 : : )
1592 : : {
1593 : 26 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail442;
1594 : 26 : {
1595 : 26 : tree res_op0;
1596 : 26 : {
1597 : 26 : tree _o1[1], _r1;
1598 : 26 : _o1[0] = captures[0];
1599 : 26 : if (TREE_TYPE (_o1[0]) != type)
1600 : : {
1601 : 2 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
1602 : : }
1603 : : else
1604 : : _r1 = _o1[0];
1605 : 26 : res_op0 = _r1;
1606 : : }
1607 : 26 : tree res_op1;
1608 : 26 : {
1609 : 26 : tree _o1[1], _r1;
1610 : 26 : _o1[0] = captures[1];
1611 : 26 : _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
1612 : 26 : res_op1 = _r1;
1613 : : }
1614 : 26 : tree _r;
1615 : 26 : _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
1616 : 26 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 271, __FILE__, __LINE__, true);
1617 : 26 : return _r;
1618 : : }
1619 : 0 : next_after_fail442:;
1620 : : }
1621 : : return NULL_TREE;
1622 : : }
1623 : :
1624 : : tree
1625 : 18 : generic_simplify_169 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1626 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1627 : : const enum tree_code ARG_UNUSED (cmp))
1628 : : {
1629 : 18 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1630 : 36 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
1631 : 18 : && !TYPE_UNSIGNED (TREE_TYPE (captures[1]))
1632 : 36 : && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[3]))
1633 : : )
1634 : : {
1635 : 18 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail450;
1636 : 18 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail450;
1637 : 18 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail450;
1638 : 18 : {
1639 : 18 : tree res_op0;
1640 : 18 : {
1641 : 18 : tree _o1[2], _r1;
1642 : 18 : _o1[0] = captures[1];
1643 : 18 : _o1[1] = captures[3];
1644 : 18 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
1645 : 18 : res_op0 = _r1;
1646 : : }
1647 : 18 : tree res_op1;
1648 : 18 : res_op1 = build_zero_cst (TREE_TYPE (captures[1]));
1649 : 18 : tree _r;
1650 : 18 : _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
1651 : 18 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 278, __FILE__, __LINE__, true);
1652 : 18 : return _r;
1653 : : }
1654 : : next_after_fail450:;
1655 : : }
1656 : : return NULL_TREE;
1657 : : }
1658 : :
1659 : : tree
1660 : 3 : generic_simplify_179 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1661 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
1662 : : {
1663 : 3 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1664 : 3 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail461;
1665 : 3 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail461;
1666 : 3 : {
1667 : 3 : tree _r;
1668 : 3 : _r = build_zero_cst (type);
1669 : 3 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 287, __FILE__, __LINE__, true);
1670 : : return _r;
1671 : : }
1672 : : next_after_fail461:;
1673 : : return NULL_TREE;
1674 : : }
1675 : :
1676 : : tree
1677 : 0 : generic_simplify_185 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1678 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1679 : : const enum tree_code ARG_UNUSED (cmp))
1680 : : {
1681 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1682 : 0 : if (!canonicalize_math_p ()
1683 : : )
1684 : : {
1685 : 0 : if (INTEGRAL_TYPE_P (type)
1686 : 0 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
1687 : : )
1688 : : {
1689 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail469;
1690 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail469;
1691 : 0 : {
1692 : 0 : tree res_op0;
1693 : 0 : res_op0 = captures[0];
1694 : 0 : tree res_op1;
1695 : 0 : res_op1 = captures[3];
1696 : 0 : tree res_op2;
1697 : 0 : res_op2 = build_zero_cst (type);
1698 : 0 : tree _r;
1699 : 0 : _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
1700 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 291, __FILE__, __LINE__, true);
1701 : 0 : return _r;
1702 : : }
1703 : : next_after_fail469:;
1704 : : }
1705 : : }
1706 : : return NULL_TREE;
1707 : : }
1708 : :
1709 : : tree
1710 : 12 : generic_simplify_195 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1711 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1712 : : const combined_fn ARG_UNUSED (TAN),
1713 : : const combined_fn ARG_UNUSED (COS),
1714 : : const combined_fn ARG_UNUSED (SIN))
1715 : : {
1716 : 12 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1717 : 12 : if (flag_unsafe_math_optimizations && canonicalize_math_p ()
1718 : : )
1719 : : {
1720 : 12 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail480;
1721 : 12 : {
1722 : 12 : tree res_op0;
1723 : 12 : res_op0 = captures[1];
1724 : 12 : tree _r;
1725 : 12 : _r = maybe_build_call_expr_loc (loc, SIN, type, 1, res_op0);
1726 : 12 : if (!_r)
1727 : 0 : goto next_after_fail480;
1728 : 12 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 302, __FILE__, __LINE__, true);
1729 : 12 : return _r;
1730 : : }
1731 : : next_after_fail480:;
1732 : : }
1733 : : return NULL_TREE;
1734 : : }
1735 : :
1736 : : tree
1737 : 6394 : generic_simplify_199 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1738 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1739 : : const enum tree_code ARG_UNUSED (cmp),
1740 : : const enum tree_code ARG_UNUSED (mod))
1741 : : {
1742 : 6394 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1743 : 6394 : if (!TYPE_UNSIGNED (TREE_TYPE (captures[0]))
1744 : : )
1745 : : {
1746 : 6394 : {
1747 : 6394 : tree utype = unsigned_type_for (TREE_TYPE (captures[0]));
1748 : 6394 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail484;
1749 : 6394 : {
1750 : 6394 : tree res_op0;
1751 : 6394 : {
1752 : 6394 : tree _o1[2], _r1;
1753 : 6394 : {
1754 : 6394 : tree _o2[1], _r2;
1755 : 6394 : _o2[0] = captures[0];
1756 : 6394 : if (TREE_TYPE (_o2[0]) != utype)
1757 : : {
1758 : 6394 : _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
1759 : : }
1760 : : else
1761 : : _r2 = _o2[0];
1762 : 6394 : _o1[0] = _r2;
1763 : : }
1764 : 6394 : {
1765 : 6394 : tree _o2[1], _r2;
1766 : 6394 : _o2[0] = captures[1];
1767 : 6394 : if (TREE_TYPE (_o2[0]) != utype)
1768 : : {
1769 : 6394 : _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
1770 : : }
1771 : : else
1772 : : _r2 = _o2[0];
1773 : 6394 : _o1[1] = _r2;
1774 : : }
1775 : 6394 : _r1 = fold_build2_loc (loc, mod, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
1776 : 6394 : res_op0 = _r1;
1777 : : }
1778 : 6394 : tree res_op1;
1779 : 6394 : {
1780 : 6394 : tree _o1[1], _r1;
1781 : 6394 : _o1[0] = captures[2];
1782 : 6394 : if (TREE_TYPE (_o1[0]) != utype)
1783 : : {
1784 : 6394 : _r1 = fold_build1_loc (loc, NOP_EXPR, utype, _o1[0]);
1785 : : }
1786 : : else
1787 : : _r1 = _o1[0];
1788 : 6394 : res_op1 = _r1;
1789 : : }
1790 : 6394 : tree _r;
1791 : 6394 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1792 : 6394 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 306, __FILE__, __LINE__, true);
1793 : 6394 : return _r;
1794 : : }
1795 : 0 : next_after_fail484:;
1796 : : }
1797 : : }
1798 : : return NULL_TREE;
1799 : : }
1800 : :
1801 : : tree
1802 : 43 : generic_simplify_211 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1803 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1804 : : const enum tree_code ARG_UNUSED (op))
1805 : : {
1806 : 43 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1807 : 43 : if (!TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[2]))
1808 : : )
1809 : : {
1810 : 43 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail512;
1811 : 43 : {
1812 : 43 : tree res_op0;
1813 : 43 : res_op0 = captures[1];
1814 : 43 : tree res_op1;
1815 : 43 : res_op1 = captures[3];
1816 : 43 : tree _r;
1817 : 43 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
1818 : 43 : if (TREE_SIDE_EFFECTS (captures[2]))
1819 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
1820 : 43 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 333, __FILE__, __LINE__, true);
1821 : 43 : return _r;
1822 : : }
1823 : 0 : next_after_fail512:;
1824 : : }
1825 : : return NULL_TREE;
1826 : : }
1827 : :
1828 : : tree
1829 : 9 : generic_simplify_217 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1830 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1831 : : const enum tree_code ARG_UNUSED (cmp))
1832 : : {
1833 : 9 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1834 : 9 : if (TREE_INT_CST_LOW (captures[1]) & 1
1835 : : )
1836 : : {
1837 : 2 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail518;
1838 : 2 : {
1839 : 2 : tree _r;
1840 : 2 : _r = constant_boolean_node (cmp == NE_EXPR, type);
1841 : 2 : if (TREE_SIDE_EFFECTS (captures[0]))
1842 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1843 : 2 : if (TREE_SIDE_EFFECTS (captures[1]))
1844 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1845 : 2 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 338, __FILE__, __LINE__, true);
1846 : 2 : return _r;
1847 : : }
1848 : 0 : next_after_fail518:;
1849 : : }
1850 : : return NULL_TREE;
1851 : : }
1852 : :
1853 : : tree
1854 : 45 : generic_simplify_223 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1855 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1856 : : const enum tree_code ARG_UNUSED (cmp))
1857 : : {
1858 : 45 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1859 : 45 : if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))
1860 : : )
1861 : : {
1862 : 0 : {
1863 : 0 : tree utype = unsigned_type_for (TREE_TYPE (captures[0]));
1864 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail526;
1865 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail526;
1866 : 0 : {
1867 : 0 : tree res_op0;
1868 : 0 : {
1869 : 0 : tree _o1[2], _r1;
1870 : 0 : {
1871 : 0 : tree _o2[1], _r2;
1872 : 0 : _o2[0] = captures[0];
1873 : 0 : if (TREE_TYPE (_o2[0]) != utype)
1874 : : {
1875 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
1876 : : }
1877 : : else
1878 : : _r2 = _o2[0];
1879 : 0 : _o1[0] = _r2;
1880 : : }
1881 : 0 : {
1882 : 0 : tree _o2[1], _r2;
1883 : 0 : _o2[0] = captures[1];
1884 : 0 : if (TREE_TYPE (_o2[0]) != utype)
1885 : : {
1886 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
1887 : : }
1888 : : else
1889 : : _r2 = _o2[0];
1890 : 0 : _o1[1] = _r2;
1891 : : }
1892 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
1893 : 0 : res_op0 = _r1;
1894 : : }
1895 : 0 : tree res_op1;
1896 : 0 : res_op1 = build_zero_cst (utype);
1897 : 0 : tree _r;
1898 : 0 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1899 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 346, __FILE__, __LINE__, true);
1900 : 0 : return _r;
1901 : : }
1902 : : next_after_fail526:;
1903 : : }
1904 : : }
1905 : : return NULL_TREE;
1906 : : }
1907 : :
1908 : : tree
1909 : 0 : generic_simplify_230 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1910 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1911 : : const enum tree_code ARG_UNUSED (rotate),
1912 : : const enum tree_code ARG_UNUSED (invrot),
1913 : : const enum tree_code ARG_UNUSED (cmp))
1914 : : {
1915 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1916 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail543;
1917 : 0 : {
1918 : 0 : tree res_op0;
1919 : 0 : res_op0 = captures[0];
1920 : 0 : tree res_op1;
1921 : 0 : res_op1 = captures[2];
1922 : 0 : tree _r;
1923 : 0 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1924 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
1925 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1926 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 363, __FILE__, __LINE__, true);
1927 : : return _r;
1928 : : }
1929 : 0 : next_after_fail543:;
1930 : 0 : return NULL_TREE;
1931 : : }
1932 : :
1933 : : tree
1934 : 14 : generic_simplify_234 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1935 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1936 : : const enum tree_code ARG_UNUSED (cmp),
1937 : : const combined_fn ARG_UNUSED (bswap))
1938 : : {
1939 : 14 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1940 : 14 : {
1941 : 14 : tree ctype = TREE_TYPE (captures[0]);
1942 : 14 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail547;
1943 : 14 : {
1944 : 14 : tree res_op0;
1945 : 14 : {
1946 : 14 : tree _o1[1], _r1;
1947 : 14 : _o1[0] = captures[1];
1948 : 14 : if (TREE_TYPE (_o1[0]) != ctype)
1949 : : {
1950 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, ctype, _o1[0]);
1951 : : }
1952 : : else
1953 : : _r1 = _o1[0];
1954 : 14 : res_op0 = _r1;
1955 : : }
1956 : 14 : tree res_op1;
1957 : 14 : {
1958 : 14 : tree _o1[1], _r1;
1959 : 14 : _o1[0] = captures[2];
1960 : 14 : if (TREE_TYPE (_o1[0]) != ctype)
1961 : : {
1962 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, ctype, _o1[0]);
1963 : : }
1964 : : else
1965 : : _r1 = _o1[0];
1966 : 14 : res_op1 = _r1;
1967 : : }
1968 : 14 : tree _r;
1969 : 14 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1970 : 14 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 367, __FILE__, __LINE__, true);
1971 : : return _r;
1972 : : }
1973 : 0 : next_after_fail547:;
1974 : : }
1975 : 0 : return NULL_TREE;
1976 : : }
1977 : :
1978 : : tree
1979 : 63421 : generic_simplify_242 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1980 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1981 : : const enum tree_code ARG_UNUSED (cmp))
1982 : : {
1983 : 63421 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1984 : 124303 : if (! FLOAT_TYPE_P (TREE_TYPE (captures[0]))
1985 : 63458 : || ! tree_expr_maybe_nan_p (captures[0])
1986 : : )
1987 : : {
1988 : 60901 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail560;
1989 : 60901 : {
1990 : 60901 : tree _r;
1991 : 60901 : _r = constant_boolean_node (true, type);
1992 : 60901 : if (TREE_SIDE_EFFECTS (captures[0]))
1993 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1994 : 60901 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 379, __FILE__, __LINE__, true);
1995 : 60901 : return _r;
1996 : : }
1997 : 0 : next_after_fail560:;
1998 : : }
1999 : : else
2000 : : {
2001 : 2520 : if (cmp != EQ_EXPR
2002 : 2520 : && (! FLOAT_TYPE_P (TREE_TYPE (captures[0]))
2003 : 81 : || ! flag_trapping_math)
2004 : : )
2005 : : {
2006 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail561;
2007 : 0 : {
2008 : 0 : tree res_op0;
2009 : 0 : res_op0 = unshare_expr (captures[0]);
2010 : 0 : tree res_op1;
2011 : 0 : res_op1 = captures[0];
2012 : 0 : tree _r;
2013 : 0 : _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
2014 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 380, __FILE__, __LINE__, true);
2015 : 0 : return _r;
2016 : : }
2017 : 0 : next_after_fail561:;
2018 : : }
2019 : : }
2020 : : return NULL_TREE;
2021 : : }
2022 : :
2023 : : tree
2024 : 8841 : generic_simplify_248 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2025 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2026 : : const enum tree_code ARG_UNUSED (op),
2027 : : const enum tree_code ARG_UNUSED (cmp))
2028 : : {
2029 : 8841 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2030 : 8841 : if (flag_unsafe_math_optimizations
2031 : : )
2032 : : {
2033 : 5 : {
2034 : 8 : tree tem = const_binop (op == PLUS_EXPR ? MINUS_EXPR : PLUS_EXPR,
2035 : 5 : TREE_TYPE (captures[1]), captures[2], captures[1]);
2036 : 5 : if (tem && !TREE_OVERFLOW (tem)
2037 : : )
2038 : : {
2039 : 4 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail581;
2040 : 4 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail581;
2041 : 4 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail581;
2042 : 4 : {
2043 : 4 : tree res_op0;
2044 : 4 : res_op0 = captures[0];
2045 : 4 : tree res_op1;
2046 : 4 : res_op1 = tem;
2047 : 4 : tree _r;
2048 : 4 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2049 : 4 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 399, __FILE__, __LINE__, true);
2050 : 4 : return _r;
2051 : : }
2052 : : next_after_fail581:;
2053 : : }
2054 : : }
2055 : : }
2056 : : return NULL_TREE;
2057 : : }
2058 : :
2059 : : tree
2060 : 61 : generic_simplify_254 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2061 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2062 : : const enum tree_code ARG_UNUSED (cmp))
2063 : : {
2064 : 61 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2065 : 61 : if (!integer_zerop (captures[1])
2066 : : )
2067 : : {
2068 : 61 : if (wi::to_wide (captures[2]) == 0
2069 : : )
2070 : : {
2071 : 22 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail612;
2072 : 22 : {
2073 : 22 : tree res_op0;
2074 : 22 : res_op0 = captures[0];
2075 : 22 : tree res_op1;
2076 : 22 : res_op1 = captures[2];
2077 : 22 : tree _r;
2078 : 22 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2079 : 22 : if (TREE_SIDE_EFFECTS (captures[1]))
2080 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2081 : 22 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 430, __FILE__, __LINE__, true);
2082 : 22 : return _r;
2083 : : }
2084 : 0 : next_after_fail612:;
2085 : : }
2086 : : else
2087 : : {
2088 : 39 : if (TREE_CODE (captures[1]) == INTEGER_CST
2089 : : )
2090 : : {
2091 : 39 : {
2092 : 39 : wi::overflow_type ovf;
2093 : 39 : wide_int prod = wi::mul (wi::to_wide (captures[2]), wi::to_wide (captures[1]),
2094 : 78 : TYPE_SIGN (TREE_TYPE (captures[1])), &ovf);
2095 : 39 : if (ovf
2096 : : )
2097 : : {
2098 : 0 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail613;
2099 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail613;
2100 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail613;
2101 : 0 : {
2102 : 0 : tree _r;
2103 : 0 : _r = constant_boolean_node (cmp == NE_EXPR, type);
2104 : 0 : if (TREE_SIDE_EFFECTS (captures[0]))
2105 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
2106 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 431, __FILE__, __LINE__, true);
2107 : 0 : return _r;
2108 : : }
2109 : 0 : next_after_fail613:;
2110 : : }
2111 : : else
2112 : : {
2113 : 39 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail614;
2114 : 39 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail614;
2115 : 39 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail614;
2116 : 39 : {
2117 : 39 : tree res_op0;
2118 : 39 : res_op0 = captures[0];
2119 : 39 : tree res_op1;
2120 : 39 : res_op1 = wide_int_to_tree (TREE_TYPE (captures[0]), prod);
2121 : 39 : tree _r;
2122 : 39 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2123 : 39 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 432, __FILE__, __LINE__, true);
2124 : 39 : return _r;
2125 : : }
2126 : 0 : next_after_fail614:;
2127 : : }
2128 : 39 : }
2129 : : }
2130 : : }
2131 : : }
2132 : : return NULL_TREE;
2133 : : }
2134 : :
2135 : : tree
2136 : 7333 : generic_simplify_261 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2137 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2138 : : const enum tree_code ARG_UNUSED (cmp))
2139 : : {
2140 : 7333 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2141 : 7333 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail636;
2142 : 7333 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail636;
2143 : 7333 : {
2144 : 7333 : tree res_op0;
2145 : 7333 : res_op0 = captures[0];
2146 : 7333 : tree res_op1;
2147 : 7333 : res_op1 = captures[1];
2148 : 7333 : tree _r;
2149 : 7333 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2150 : 7333 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 447, __FILE__, __LINE__, true);
2151 : : return _r;
2152 : : }
2153 : : next_after_fail636:;
2154 : : return NULL_TREE;
2155 : : }
2156 : :
2157 : : tree
2158 : 166109 : generic_simplify_263 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2159 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2160 : : const enum tree_code ARG_UNUSED (cmp))
2161 : : {
2162 : 166109 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2163 : 166109 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail638;
2164 : 166109 : {
2165 : 166109 : tree res_op0;
2166 : 166109 : {
2167 : 166109 : tree _o1[2], _r1;
2168 : 166109 : _o1[0] = captures[0];
2169 : 166109 : {
2170 : 166109 : tree _o2[1], _r2;
2171 : 166109 : _o2[0] = captures[1];
2172 : 166109 : _r2 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
2173 : 166109 : if (EXPR_P (_r2))
2174 : 151432 : goto next_after_fail638;
2175 : 14677 : _o1[1] = _r2;
2176 : : }
2177 : 14677 : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2178 : 14677 : res_op0 = _r1;
2179 : : }
2180 : 14677 : tree res_op1;
2181 : 14677 : res_op1 = build_zero_cst (TREE_TYPE (captures[0]));
2182 : 14677 : tree _r;
2183 : 14677 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2184 : 14677 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 449, __FILE__, __LINE__, true);
2185 : : return _r;
2186 : : }
2187 : : next_after_fail638:;
2188 : : return NULL_TREE;
2189 : : }
2190 : :
2191 : : tree
2192 : 18 : generic_simplify_266 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2193 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2194 : : const enum tree_code ARG_UNUSED (cmp))
2195 : : {
2196 : 18 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2197 : 18 : if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
2198 : : )
2199 : : {
2200 : 18 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail641;
2201 : 18 : {
2202 : 18 : tree res_op0;
2203 : 18 : res_op0 = captures[1];
2204 : 18 : tree res_op1;
2205 : 18 : {
2206 : 18 : tree _o1[2], _r1;
2207 : 18 : _o1[0] = captures[2];
2208 : 18 : {
2209 : 18 : tree _o2[1], _r2;
2210 : 18 : _o2[0] = captures[3];
2211 : 18 : if (TREE_TYPE (_o2[0]) != TREE_TYPE (res_op0))
2212 : : {
2213 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o2[0]);
2214 : : }
2215 : : else
2216 : : _r2 = _o2[0];
2217 : 18 : _o1[1] = _r2;
2218 : : }
2219 : 18 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2220 : 18 : res_op1 = _r1;
2221 : : }
2222 : 18 : tree _r;
2223 : 18 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2224 : 18 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 452, __FILE__, __LINE__, true);
2225 : 18 : return _r;
2226 : : }
2227 : 0 : next_after_fail641:;
2228 : : }
2229 : : return NULL_TREE;
2230 : : }
2231 : :
2232 : : tree
2233 : 793598 : generic_simplify_271 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2234 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2235 : : const enum tree_code ARG_UNUSED (cmp),
2236 : : const enum tree_code ARG_UNUSED (ncmp))
2237 : : {
2238 : 793598 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2239 : 1512008 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
2240 : 793598 : && type_has_mode_precision_p (TREE_TYPE (captures[1]))
2241 : 793547 : && element_precision (captures[0]) >= element_precision (captures[1])
2242 : 1587196 : && wi::only_sign_bit_p (wi::to_wide (captures[2]), element_precision (captures[1]))
2243 : : )
2244 : : {
2245 : 17711 : {
2246 : 17711 : tree stype = signed_type_for (TREE_TYPE (captures[1]));
2247 : 17711 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail646;
2248 : 17711 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail646;
2249 : 17711 : {
2250 : 17711 : tree res_op0;
2251 : 17711 : {
2252 : 17711 : tree _o1[1], _r1;
2253 : 17711 : _o1[0] = captures[1];
2254 : 17711 : if (TREE_TYPE (_o1[0]) != stype)
2255 : : {
2256 : 17502 : _r1 = fold_build1_loc (loc, NOP_EXPR, stype, _o1[0]);
2257 : : }
2258 : : else
2259 : : _r1 = _o1[0];
2260 : 17711 : res_op0 = _r1;
2261 : : }
2262 : 17711 : tree res_op1;
2263 : 17711 : res_op1 = build_zero_cst (stype);
2264 : 17711 : tree _r;
2265 : 17711 : _r = fold_build2_loc (loc, ncmp, type, res_op0, res_op1);
2266 : 17711 : if (TREE_SIDE_EFFECTS (captures[2]))
2267 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
2268 : 17711 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 456, __FILE__, __LINE__, true);
2269 : 17711 : return _r;
2270 : : }
2271 : : next_after_fail646:;
2272 : : }
2273 : : }
2274 : : return NULL_TREE;
2275 : : }
2276 : :
2277 : : tree
2278 : 910638 : generic_simplify_278 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2279 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2280 : : const enum tree_code ARG_UNUSED (cmp))
2281 : : {
2282 : 910638 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2283 : 1439123 : if (((POINTER_TYPE_P (TREE_TYPE (captures[0]))
2284 : 383969 : && !FUNC_OR_METHOD_TYPE_P (TREE_TYPE (TREE_TYPE (captures[0])))
2285 : 344801 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
2286 : 7303 : && !(
2287 : : 1
2288 : 7275 : && TREE_CODE (TREE_TYPE (captures[0])) == REFERENCE_TYPE
2289 : 28 : && (flag_sanitize & (SANITIZE_NULL | SANITIZE_ALIGNMENT))))
2290 : 903375 : || (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
2291 : 526538 : && POINTER_TYPE_P (TREE_TYPE (captures[1]))
2292 : 1817 : && !FUNC_OR_METHOD_TYPE_P (TREE_TYPE (TREE_TYPE (captures[1])))))
2293 : 919226 : && TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (TREE_TYPE (captures[1]))
2294 : : )
2295 : : {
2296 : 8342 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail667;
2297 : 8342 : {
2298 : 8342 : tree res_op0;
2299 : 8342 : res_op0 = captures[0];
2300 : 8342 : tree res_op1;
2301 : 8342 : {
2302 : 8342 : tree _o1[1], _r1;
2303 : 8342 : _o1[0] = captures[1];
2304 : 8342 : if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
2305 : : {
2306 : 8342 : _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
2307 : : }
2308 : : else
2309 : : _r1 = _o1[0];
2310 : 8342 : res_op1 = _r1;
2311 : : }
2312 : 8342 : tree _r;
2313 : 8342 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2314 : 8342 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 468, __FILE__, __LINE__, true);
2315 : 8342 : return _r;
2316 : : }
2317 : 0 : next_after_fail667:;
2318 : : }
2319 : : return NULL_TREE;
2320 : : }
2321 : :
2322 : : tree
2323 : 1040470 : generic_simplify_281 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2324 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2325 : : const enum tree_code ARG_UNUSED (op),
2326 : : const enum tree_code ARG_UNUSED (rop),
2327 : : const enum tree_code ARG_UNUSED (cmp))
2328 : : {
2329 : 1040470 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2330 : 2080940 : if (!TREE_OVERFLOW (captures[2]) && !TREE_OVERFLOW (captures[3])
2331 : 1040470 : && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[1]))
2332 : 1040158 : && !TYPE_OVERFLOW_TRAPS (TREE_TYPE (captures[1]))
2333 : 2080492 : && !TYPE_SATURATING (TREE_TYPE (captures[1]))
2334 : : )
2335 : : {
2336 : 1040022 : {
2337 : 1040022 : tree res = int_const_binop (rop, captures[3], captures[2]);
2338 : 1040022 : if (TREE_OVERFLOW (res)
2339 : 1040022 : && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1]))
2340 : : )
2341 : : {
2342 : 8132 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail674;
2343 : 8132 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail674;
2344 : 8132 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail674;
2345 : 8132 : {
2346 : 8132 : tree _r;
2347 : 8132 : _r = constant_boolean_node (cmp == NE_EXPR, type);
2348 : 8132 : if (TREE_SIDE_EFFECTS (captures[1]))
2349 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2350 : 8132 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 475, __FILE__, __LINE__, true);
2351 : 8132 : return _r;
2352 : : }
2353 : : next_after_fail674:;
2354 : : }
2355 : : else
2356 : : {
2357 : 1031890 : if (single_use (captures[0])
2358 : : )
2359 : : {
2360 : 1031890 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail675;
2361 : 1031890 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail675;
2362 : 1031890 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail675;
2363 : 1031890 : {
2364 : 1031890 : tree res_op0;
2365 : 1031890 : res_op0 = captures[1];
2366 : 1031890 : tree res_op1;
2367 : 1031890 : res_op1 = TREE_OVERFLOW (res)
2368 : 1031890 : ? drop_tree_overflow (res) : res;
2369 : 1031890 : tree _r;
2370 : 1031890 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2371 : 1031890 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 476, __FILE__, __LINE__, true);
2372 : 1031890 : return _r;
2373 : : }
2374 : : next_after_fail675:;
2375 : : }
2376 : : }
2377 : : }
2378 : : }
2379 : : return NULL_TREE;
2380 : : }
2381 : :
2382 : : tree
2383 : 374 : generic_simplify_285 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2384 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2385 : : const enum tree_code ARG_UNUSED (op),
2386 : : const combined_fn ARG_UNUSED (ctz))
2387 : : {
2388 : 374 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2389 : 374 : {
2390 : 374 : tree type0 = TREE_TYPE (captures[1]);
2391 : 374 : int prec = TYPE_PRECISION (type0);
2392 : 374 : bool ok = true;
2393 : 374 : if (sanitize_flags_p (SANITIZE_BUILTIN)
2394 : 374 : && (!cfun
2395 : 64 : || (cfun->curr_properties & PROP_ssa) == 0))
2396 : : ok = false;
2397 : 620 : if (ok && prec <= MAX_FIXED_MODE_SIZE
2398 : : )
2399 : : {
2400 : 310 : if (tree_int_cst_sgn (captures[2]) < 0 || wi::to_widest (captures[2]) >= prec
2401 : : )
2402 : : {
2403 : 36 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail689;
2404 : 36 : {
2405 : 36 : tree _r;
2406 : 36 : _r = constant_boolean_node (op == EQ_EXPR ? false : true, type);
2407 : 36 : if (TREE_SIDE_EFFECTS (captures[1]))
2408 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2409 : 36 : if (TREE_SIDE_EFFECTS (captures[2]))
2410 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
2411 : 36 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 490, __FILE__, __LINE__, true);
2412 : 310 : return _r;
2413 : : }
2414 : 0 : next_after_fail689:;
2415 : : }
2416 : : else
2417 : : {
2418 : 274 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail690;
2419 : 274 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail690;
2420 : 274 : {
2421 : 274 : tree res_op0;
2422 : 274 : {
2423 : 274 : tree _o1[2], _r1;
2424 : 274 : _o1[0] = captures[1];
2425 : 274 : _o1[1] = wide_int_to_tree (type0,
2426 : 274 : wi::mask (tree_to_uhwi (captures[2]) + 1,
2427 : : false, prec));
2428 : 274 : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2429 : 274 : res_op0 = _r1;
2430 : : }
2431 : 274 : tree res_op1;
2432 : 274 : res_op1 = wide_int_to_tree (type0,
2433 : 274 : wi::shifted_mask (tree_to_uhwi (captures[2]), 1,
2434 : : false, prec));
2435 : 274 : tree _r;
2436 : 274 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
2437 : 274 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 491, __FILE__, __LINE__, true);
2438 : 274 : return _r;
2439 : : }
2440 : 64 : next_after_fail690:;
2441 : : }
2442 : : }
2443 : : }
2444 : 64 : return NULL_TREE;
2445 : : }
2446 : :
2447 : : tree
2448 : 49283 : generic_simplify_292 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2449 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2450 : : const enum tree_code ARG_UNUSED (cmp))
2451 : : {
2452 : 49283 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2453 : 49283 : if (cmp != NE_EXPR
2454 : 42389 : || ! FLOAT_TYPE_P (TREE_TYPE (captures[0]))
2455 : 59295 : || ! tree_expr_maybe_nan_p (captures[0])
2456 : : )
2457 : : {
2458 : 45103 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail701;
2459 : 45103 : {
2460 : 45103 : tree _r;
2461 : 45103 : _r = constant_boolean_node (false, type);
2462 : 45103 : if (TREE_SIDE_EFFECTS (captures[0]))
2463 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
2464 : 45103 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 502, __FILE__, __LINE__, true);
2465 : 45103 : return _r;
2466 : : }
2467 : 0 : next_after_fail701:;
2468 : : }
2469 : : return NULL_TREE;
2470 : : }
2471 : :
2472 : : tree
2473 : 0 : generic_simplify_297 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2474 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2475 : : const combined_fn ARG_UNUSED (COPYSIGN_ALL))
2476 : : {
2477 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2478 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail706;
2479 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail706;
2480 : 0 : {
2481 : 0 : tree _r;
2482 : 0 : _r = captures[1];
2483 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 507, __FILE__, __LINE__, true);
2484 : : return _r;
2485 : : }
2486 : : next_after_fail706:;
2487 : : return NULL_TREE;
2488 : : }
2489 : :
2490 : : tree
2491 : 13871 : generic_simplify_303 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2492 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2493 : : const enum tree_code ARG_UNUSED (div))
2494 : : {
2495 : 13871 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2496 : 13871 : if (INTEGRAL_TYPE_P (type)
2497 : 13849 : && ssa_name_has_boolean_range (captures[1])
2498 : 13871 : && !flag_non_call_exceptions
2499 : : )
2500 : : {
2501 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail714;
2502 : 0 : {
2503 : 0 : tree _r;
2504 : 0 : _r = captures[0];
2505 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
2506 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2507 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 513, __FILE__, __LINE__, true);
2508 : 0 : return _r;
2509 : : }
2510 : 0 : next_after_fail714:;
2511 : : }
2512 : : return NULL_TREE;
2513 : : }
2514 : :
2515 : : tree
2516 : 40796 : generic_simplify_308 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2517 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2518 : : const enum tree_code ARG_UNUSED (div))
2519 : : {
2520 : 40796 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2521 : 40796 : if (integer_pow2p (captures[2])
2522 : 38534 : && tree_int_cst_sgn (captures[2]) > 0
2523 : 38534 : && tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
2524 : 81592 : && wi::to_wide (captures[2]) + wi::to_wide (captures[1]) == 0
2525 : : )
2526 : : {
2527 : 1 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail720;
2528 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail720;
2529 : 1 : {
2530 : 1 : tree res_op0;
2531 : 1 : {
2532 : 1 : tree _o1[1], _r1;
2533 : 1 : _o1[0] = captures[0];
2534 : 1 : if (TREE_TYPE (_o1[0]) != type)
2535 : : {
2536 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
2537 : : }
2538 : : else
2539 : : _r1 = _o1[0];
2540 : 1 : res_op0 = _r1;
2541 : : }
2542 : 1 : tree res_op1;
2543 : 1 : res_op1 = build_int_cst (integer_type_node,
2544 : 1 : wi::exact_log2 (wi::to_wide (captures[2])));
2545 : 1 : tree _r;
2546 : 1 : _r = fold_build2_loc (loc, RSHIFT_EXPR, type, res_op0, res_op1);
2547 : 1 : if (TREE_SIDE_EFFECTS (captures[1]))
2548 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2549 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 519, __FILE__, __LINE__, true);
2550 : 1 : return _r;
2551 : : }
2552 : : next_after_fail720:;
2553 : : }
2554 : : return NULL_TREE;
2555 : : }
2556 : :
2557 : : tree
2558 : 52 : generic_simplify_317 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2559 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2560 : : const enum tree_code ARG_UNUSED (mod))
2561 : : {
2562 : 52 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2563 : 52 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail729;
2564 : 52 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail729;
2565 : 52 : {
2566 : 52 : tree _r;
2567 : 52 : _r = captures[0];
2568 : 52 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 528, __FILE__, __LINE__, true);
2569 : : return _r;
2570 : : }
2571 : : next_after_fail729:;
2572 : : return NULL_TREE;
2573 : : }
2574 : :
2575 : : tree
2576 : 6 : generic_simplify_323 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2577 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2578 : : const combined_fn ARG_UNUSED (SIN),
2579 : : const combined_fn ARG_UNUSED (COS),
2580 : : const combined_fn ARG_UNUSED (TAN))
2581 : : {
2582 : 6 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2583 : 6 : if (flag_unsafe_math_optimizations && canonicalize_math_p ()
2584 : : )
2585 : : {
2586 : 6 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail737;
2587 : 6 : {
2588 : 6 : tree res_op0;
2589 : 6 : res_op0 = captures[1];
2590 : 6 : tree _r;
2591 : 6 : _r = maybe_build_call_expr_loc (loc, TAN, type, 1, res_op0);
2592 : 6 : if (!_r)
2593 : 0 : goto next_after_fail737;
2594 : 6 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 536, __FILE__, __LINE__, true);
2595 : 6 : return _r;
2596 : : }
2597 : : next_after_fail737:;
2598 : : }
2599 : : return NULL_TREE;
2600 : : }
2601 : :
2602 : : tree
2603 : 24 : generic_simplify_330 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2604 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2605 : : const combined_fn ARG_UNUSED (POW))
2606 : : {
2607 : 24 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2608 : 24 : if (flag_unsafe_math_optimizations && canonicalize_math_p ()
2609 : : )
2610 : : {
2611 : 6 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail744;
2612 : 6 : {
2613 : 6 : tree res_op0;
2614 : 6 : res_op0 = captures[0];
2615 : 6 : tree res_op1;
2616 : 6 : {
2617 : 6 : tree _o1[2], _r1;
2618 : 6 : _o1[0] = captures[2];
2619 : 6 : {
2620 : 6 : tree _o2[1], _r2;
2621 : 6 : _o2[0] = captures[3];
2622 : 6 : _r2 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
2623 : 6 : _o1[1] = _r2;
2624 : : }
2625 : 6 : _r1 = maybe_build_call_expr_loc (loc, POW, TREE_TYPE (_o1[0]), 2, _o1[0], _o1[1]);
2626 : 6 : if (!_r1)
2627 : 0 : goto next_after_fail744;
2628 : 6 : res_op1 = _r1;
2629 : : }
2630 : 6 : tree _r;
2631 : 6 : _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
2632 : 6 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 543, __FILE__, __LINE__, true);
2633 : 6 : return _r;
2634 : : }
2635 : : next_after_fail744:;
2636 : : }
2637 : : return NULL_TREE;
2638 : : }
2639 : :
2640 : : tree
2641 : 433 : generic_simplify_338 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2642 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2643 : : const enum tree_code ARG_UNUSED (op))
2644 : : {
2645 : 433 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2646 : 866 : if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
2647 : 866 : && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1]))
2648 : : )
2649 : : {
2650 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail754;
2651 : 0 : {
2652 : 0 : tree res_op0;
2653 : 0 : res_op0 = captures[2];
2654 : 0 : tree res_op1;
2655 : 0 : res_op1 = captures[1];
2656 : 0 : tree _r;
2657 : 0 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
2658 : 0 : if (TREE_SIDE_EFFECTS (captures[0]))
2659 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
2660 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 553, __FILE__, __LINE__, true);
2661 : 0 : return _r;
2662 : : }
2663 : 0 : next_after_fail754:;
2664 : : }
2665 : : return NULL_TREE;
2666 : : }
2667 : :
2668 : : tree
2669 : 593 : generic_simplify_344 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2670 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2671 : : const enum tree_code ARG_UNUSED (cmp))
2672 : : {
2673 : 593 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2674 : 593 : if (wi::gt_p (wi::to_wide (captures[1]), 0, TYPE_SIGN (TREE_TYPE (captures[1])))
2675 : : )
2676 : : {
2677 : 593 : {
2678 : 593 : wi::overflow_type ovf;
2679 : 593 : wide_int prod = wi::mul (wi::to_wide (captures[2]), wi::to_wide (captures[1]),
2680 : 1186 : TYPE_SIGN (TREE_TYPE (captures[1])), &ovf);
2681 : 593 : if (ovf
2682 : : )
2683 : : {
2684 : 0 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail761;
2685 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail761;
2686 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail761;
2687 : 0 : {
2688 : 0 : tree _r;
2689 : 0 : _r = constant_boolean_node (wi::lt_p (wi::to_wide (captures[2]), 0,
2690 : 0 : TYPE_SIGN (TREE_TYPE (captures[2])))
2691 : 0 : != (cmp == LT_EXPR || cmp == LE_EXPR), type);
2692 : 0 : if (TREE_SIDE_EFFECTS (captures[0]))
2693 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
2694 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 560, __FILE__, __LINE__, true);
2695 : 0 : return _r;
2696 : : }
2697 : 0 : next_after_fail761:;
2698 : : }
2699 : : else
2700 : : {
2701 : 593 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail762;
2702 : 593 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail762;
2703 : 593 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail762;
2704 : 593 : {
2705 : 593 : tree res_op0;
2706 : 593 : res_op0 = captures[0];
2707 : 593 : tree res_op1;
2708 : 593 : res_op1 = wide_int_to_tree (TREE_TYPE (captures[0]), prod);
2709 : 593 : tree _r;
2710 : 593 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2711 : 593 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 561, __FILE__, __LINE__, true);
2712 : 593 : return _r;
2713 : : }
2714 : 0 : next_after_fail762:;
2715 : : }
2716 : 593 : }
2717 : : }
2718 : : return NULL_TREE;
2719 : : }
2720 : :
2721 : : tree
2722 : 2392359 : generic_simplify_355 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2723 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2724 : : const enum tree_code ARG_UNUSED (op),
2725 : : const enum tree_code ARG_UNUSED (rop),
2726 : : const enum tree_code ARG_UNUSED (cmp),
2727 : : const enum tree_code ARG_UNUSED (rcmp))
2728 : : {
2729 : 2392359 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2730 : 4784704 : if (!TREE_OVERFLOW (captures[2]) && !TREE_OVERFLOW (captures[3])
2731 : 4784704 : && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1]))
2732 : : )
2733 : : {
2734 : 842525 : {
2735 : 842525 : tree res = int_const_binop (rop, captures[3], captures[2]);
2736 : 842525 : if (TREE_OVERFLOW (res)
2737 : : )
2738 : : {
2739 : 12920 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail805;
2740 : 12920 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail805;
2741 : 12920 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail805;
2742 : 12920 : {
2743 : 12920 : tree _r;
2744 : 12920 : fold_overflow_warning (("assuming signed overflow does not occur "
2745 : : "when simplifying conditional to constant"),
2746 : : WARN_STRICT_OVERFLOW_CONDITIONAL);
2747 : 12920 : bool less = cmp == LE_EXPR || cmp == LT_EXPR;
2748 : 12920 : bool ovf_high = wi::lt_p (wi::to_wide (captures[2]), 0,
2749 : 12920 : TYPE_SIGN (TREE_TYPE (captures[2])))
2750 : 12920 : != (op == MINUS_EXPR); _r =
2751 : 12920 : constant_boolean_node (less == ovf_high, type);
2752 : 12920 : if (TREE_SIDE_EFFECTS (captures[1]))
2753 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2754 : 12920 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 587, __FILE__, __LINE__, true);
2755 : 12920 : return _r;
2756 : : }
2757 : : next_after_fail805:;
2758 : : }
2759 : : else
2760 : : {
2761 : 829605 : if (single_use (captures[0])
2762 : : )
2763 : : {
2764 : 829605 : {
2765 : 829605 : fold_overflow_warning (("assuming signed overflow does not occur "
2766 : : "when changing X +- C1 cmp C2 to "
2767 : : "X cmp C2 -+ C1"),
2768 : : WARN_STRICT_OVERFLOW_COMPARISON);
2769 : 829605 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail806;
2770 : 829605 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail806;
2771 : 829605 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail806;
2772 : 829605 : {
2773 : 829605 : tree res_op0;
2774 : 829605 : res_op0 = captures[1];
2775 : 829605 : tree res_op1;
2776 : 829605 : res_op1 = res;
2777 : 829605 : tree _r;
2778 : 829605 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2779 : 829605 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 588, __FILE__, __LINE__, true);
2780 : 829605 : return _r;
2781 : : }
2782 : : next_after_fail806:;
2783 : : }
2784 : : }
2785 : : }
2786 : : }
2787 : : }
2788 : : else
2789 : : {
2790 : 1549834 : if (TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
2791 : : )
2792 : : {
2793 : 1549712 : {
2794 : 1549712 : wide_int max = wi::max_value (TREE_TYPE (captures[1]));
2795 : 1549712 : wide_int min = wi::min_value (TREE_TYPE (captures[1]));
2796 : 1549712 : wide_int c2 = rop == PLUS_EXPR
2797 : 1549712 : ? wi::add (wi::to_wide (captures[3]), wi::to_wide (captures[2]))
2798 : 1549712 : : wi::sub (wi::to_wide (captures[3]), wi::to_wide (captures[2]));
2799 : 1476396 : if (((cmp == LE_EXPR || cmp == GT_EXPR) && wi::eq_p (c2, max))
2800 : 3002168 : || ((cmp == LT_EXPR || cmp == GE_EXPR) && wi::eq_p (c2, min))
2801 : : )
2802 : : {
2803 : 24080 : {
2804 : 24080 : wide_int c1 = rop == PLUS_EXPR
2805 : 24080 : ? wi::add (wi::bit_not (c2), wi::to_wide (captures[2]))
2806 : 48160 : : wi::sub (wi::bit_not (c2), wi::to_wide (captures[2]));
2807 : 24080 : tree c1_cst = wide_int_to_tree (TREE_TYPE (captures[1]), c1);
2808 : 24080 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail807;
2809 : 24080 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail807;
2810 : 24080 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail807;
2811 : 24080 : {
2812 : 24080 : tree res_op0;
2813 : 24080 : res_op0 = captures[1];
2814 : 24080 : tree res_op1;
2815 : 24080 : res_op1 = c1_cst;
2816 : 24080 : tree _r;
2817 : 24080 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
2818 : 24080 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 589, __FILE__, __LINE__, true);
2819 : 24080 : return _r;
2820 : : }
2821 : 0 : next_after_fail807:;
2822 : 24080 : }
2823 : : }
2824 : 1549712 : }
2825 : : }
2826 : : }
2827 : : return NULL_TREE;
2828 : : }
2829 : :
2830 : : tree
2831 : 1576236 : generic_simplify_370 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2832 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2833 : : const enum tree_code ARG_UNUSED (shift))
2834 : : {
2835 : 1576236 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2836 : 1576236 : if ((
2837 : :
2838 : 1576236 : || !sanitize_flags_p (SANITIZE_SHIFT_EXPONENT))
2839 : 1574233 : && (TYPE_UNSIGNED (type)
2840 : 324870 : || shift == LSHIFT_EXPR
2841 : 133040 : || tree_expr_nonnegative_p (captures[0]))
2842 : 3018990 : && wi::ges_p (wi::to_wide (uniform_integer_cst_p (captures[1])),
2843 : 3017768 : element_precision (type))
2844 : : )
2845 : : {
2846 : 1222 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail830;
2847 : 1222 : {
2848 : 1222 : tree _r;
2849 : 1222 : _r = build_zero_cst (type);
2850 : 1222 : if (TREE_SIDE_EFFECTS (captures[0]))
2851 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
2852 : 1222 : if (TREE_SIDE_EFFECTS (captures[1]))
2853 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2854 : 1222 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 608, __FILE__, __LINE__, true);
2855 : 1222 : return _r;
2856 : : }
2857 : 0 : next_after_fail830:;
2858 : : }
2859 : : return NULL_TREE;
2860 : : }
2861 : :
2862 : : tree
2863 : 19 : generic_simplify_377 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2864 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2865 : : const enum tree_code ARG_UNUSED (bit_op),
2866 : : const enum tree_code ARG_UNUSED (shift))
2867 : : {
2868 : 19 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2869 : 19 : if (tree_nop_conversion_p (type, TREE_TYPE (captures[2]))
2870 : : )
2871 : : {
2872 : 16 : {
2873 : 16 : tree mask = int_const_binop (shift, fold_convert (type, captures[3]), captures[4]);
2874 : 16 : if (mask
2875 : : )
2876 : : {
2877 : 16 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail840;
2878 : 16 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail840;
2879 : 16 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail840;
2880 : 16 : {
2881 : 16 : tree res_op0;
2882 : 16 : {
2883 : 16 : tree _o1[2], _r1;
2884 : 16 : {
2885 : 16 : tree _o2[1], _r2;
2886 : 16 : _o2[0] = captures[2];
2887 : 16 : if (TREE_TYPE (_o2[0]) != type)
2888 : : {
2889 : 16 : _r2 = fold_build1_loc (loc, NOP_EXPR, type, _o2[0]);
2890 : : }
2891 : : else
2892 : : _r2 = _o2[0];
2893 : 16 : _o1[0] = _r2;
2894 : : }
2895 : 16 : _o1[1] = captures[4];
2896 : 16 : _r1 = fold_build2_loc (loc, shift, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2897 : 16 : res_op0 = _r1;
2898 : : }
2899 : 16 : tree res_op1;
2900 : 16 : res_op1 = mask;
2901 : 16 : tree _r;
2902 : 16 : _r = fold_build2_loc (loc, bit_op, type, res_op0, res_op1);
2903 : 16 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 617, __FILE__, __LINE__, true);
2904 : 16 : return _r;
2905 : : }
2906 : : next_after_fail840:;
2907 : : }
2908 : : }
2909 : : }
2910 : : return NULL_TREE;
2911 : : }
2912 : :
2913 : : tree
2914 : 2026 : generic_simplify_382 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2915 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
2916 : : const enum tree_code ARG_UNUSED (eqne))
2917 : : {
2918 : 2026 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2919 : 2026 : if ((integer_zerop (captures[1]) || integer_onep (captures[1]))
2920 : : )
2921 : : {
2922 : 2024 : if ((eqne == EQ_EXPR) ^ integer_zerop (captures[1])
2923 : : )
2924 : : {
2925 : 1481 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail849;
2926 : 1481 : {
2927 : 1481 : tree res_op0;
2928 : 1481 : res_op0 = captures[0];
2929 : 1481 : tree _r;
2930 : 1481 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
2931 : 1481 : if (TREE_SIDE_EFFECTS (captures[1]))
2932 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2933 : 1481 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 625, __FILE__, __LINE__, true);
2934 : 1481 : return _r;
2935 : : }
2936 : 0 : next_after_fail849:;
2937 : : }
2938 : : else
2939 : : {
2940 : 543 : if (types_match (type, TREE_TYPE (captures[0]))
2941 : : )
2942 : : {
2943 : 33 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail850;
2944 : 33 : {
2945 : 33 : tree res_op0;
2946 : 33 : res_op0 = captures[0];
2947 : 33 : tree res_op1;
2948 : 33 : res_op1 = build_one_cst (type);
2949 : 33 : tree _r;
2950 : 33 : _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
2951 : 33 : if (TREE_SIDE_EFFECTS (captures[1]))
2952 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2953 : 33 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 626, __FILE__, __LINE__, true);
2954 : 33 : return _r;
2955 : : }
2956 : 0 : next_after_fail850:;
2957 : : }
2958 : : }
2959 : : }
2960 : : return NULL_TREE;
2961 : : }
2962 : :
2963 : : tree
2964 : 3993901 : generic_simplify_388 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2965 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
2966 : : {
2967 : 3993901 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2968 : 3993901 : if (INTEGRAL_TYPE_P (type)
2969 : 1766803 : && TYPE_PRECISION (type) == 1
2970 : 4008292 : && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[0]))
2971 : : )
2972 : : {
2973 : 14391 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail868;
2974 : 14391 : {
2975 : 14391 : tree res_op0;
2976 : 14391 : res_op0 = captures[0];
2977 : 14391 : tree _r;
2978 : 14391 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
2979 : 14391 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 632, __FILE__, __LINE__, true);
2980 : 14391 : return _r;
2981 : : }
2982 : 0 : next_after_fail868:;
2983 : : }
2984 : : return NULL_TREE;
2985 : : }
2986 : :
2987 : : tree
2988 : 0 : generic_simplify_390 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2989 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
2990 : : const combined_fn ARG_UNUSED (coss),
2991 : : const combined_fn ARG_UNUSED (atans),
2992 : : const combined_fn ARG_UNUSED (sqrts),
2993 : : const combined_fn ARG_UNUSED (copysigns))
2994 : : {
2995 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2996 : 0 : {
2997 : 0 : REAL_VALUE_TYPE r_cst;
2998 : 0 : build_sinatan_real (&r_cst, type);
2999 : 0 : tree t_cst = build_real (type, r_cst);
3000 : 0 : tree t_one = build_one_cst (type);
3001 : 0 : tree t_zero = build_zero_cst (type);
3002 : 0 : if (SCALAR_FLOAT_TYPE_P (type)
3003 : : )
3004 : : {
3005 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail870;
3006 : 0 : {
3007 : 0 : if (! tree_invariant_p (captures[1])) goto next_after_fail870;
3008 : 0 : tree res_op0;
3009 : 0 : {
3010 : 0 : tree _o1[2], _r1;
3011 : 0 : {
3012 : 0 : tree _o2[1], _r2;
3013 : 0 : _o2[0] = unshare_expr (captures[1]);
3014 : 0 : _r2 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
3015 : 0 : _o1[0] = _r2;
3016 : : }
3017 : 0 : _o1[1] = t_cst;
3018 : 0 : _r1 = fold_build2_loc (loc, LT_EXPR, boolean_type_node, _o1[0], _o1[1]);
3019 : 0 : res_op0 = _r1;
3020 : : }
3021 : 0 : tree res_op1;
3022 : 0 : {
3023 : 0 : tree _o1[2], _r1;
3024 : 0 : _o1[0] = t_one;
3025 : 0 : {
3026 : 0 : tree _o2[1], _r2;
3027 : 0 : {
3028 : 0 : tree _o3[2], _r3;
3029 : 0 : {
3030 : 0 : tree _o4[2], _r4;
3031 : 0 : _o4[0] = unshare_expr (captures[1]);
3032 : 0 : _o4[1] = unshare_expr (captures[1]);
3033 : 0 : _r4 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o4[0]), _o4[0], _o4[1]);
3034 : 0 : _o3[0] = _r4;
3035 : : }
3036 : 0 : _o3[1] = t_one;
3037 : 0 : _r3 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
3038 : 0 : _o2[0] = _r3;
3039 : : }
3040 : 0 : _r2 = maybe_build_call_expr_loc (loc, sqrts, TREE_TYPE (_o2[0]), 1, _o2[0]);
3041 : 0 : if (!_r2)
3042 : 0 : goto next_after_fail870;
3043 : 0 : _o1[1] = _r2;
3044 : : }
3045 : 0 : _r1 = fold_build2_loc (loc, RDIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
3046 : 0 : res_op1 = _r1;
3047 : : }
3048 : 0 : tree res_op2;
3049 : 0 : {
3050 : 0 : tree _o1[2], _r1;
3051 : 0 : _o1[0] = t_zero;
3052 : 0 : _o1[1] = captures[1];
3053 : 0 : _r1 = maybe_build_call_expr_loc (loc, copysigns, TREE_TYPE (_o1[0]), 2, _o1[0], _o1[1]);
3054 : 0 : if (!_r1)
3055 : 0 : goto next_after_fail870;
3056 : 0 : res_op2 = _r1;
3057 : : }
3058 : 0 : tree _r;
3059 : 0 : _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
3060 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 634, __FILE__, __LINE__, true);
3061 : 0 : return _r;
3062 : : }
3063 : 0 : next_after_fail870:;
3064 : : }
3065 : : }
3066 : 0 : return NULL_TREE;
3067 : : }
3068 : :
3069 : : tree
3070 : 0 : generic_simplify_396 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3071 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
3072 : : {
3073 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3074 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail876;
3075 : 0 : {
3076 : 0 : tree _r;
3077 : 0 : _r = captures[0];
3078 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
3079 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
3080 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 640, __FILE__, __LINE__, true);
3081 : : return _r;
3082 : : }
3083 : 0 : next_after_fail876:;
3084 : 0 : return NULL_TREE;
3085 : : }
3086 : :
3087 : : tree
3088 : 0 : generic_simplify_398 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3089 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3090 : : const combined_fn ARG_UNUSED (copysigns),
3091 : : const combined_fn ARG_UNUSED (hypots))
3092 : : {
3093 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3094 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail878;
3095 : 0 : {
3096 : 0 : tree res_op0;
3097 : 0 : res_op0 = captures[0];
3098 : 0 : tree res_op1;
3099 : 0 : res_op1 = captures[1];
3100 : 0 : tree _r;
3101 : 0 : _r = maybe_build_call_expr_loc (loc, hypots, type, 2, res_op0, res_op1);
3102 : 0 : if (!_r)
3103 : 0 : goto next_after_fail878;
3104 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
3105 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
3106 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 642, __FILE__, __LINE__, true);
3107 : : return _r;
3108 : : }
3109 : : next_after_fail878:;
3110 : : return NULL_TREE;
3111 : : }
3112 : :
3113 : : tree
3114 : 0 : generic_simplify_404 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3115 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
3116 : : {
3117 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3118 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail884;
3119 : 0 : {
3120 : 0 : tree res_op0;
3121 : 0 : res_op0 = captures[0];
3122 : 0 : tree res_op1;
3123 : 0 : res_op1 = captures[1];
3124 : 0 : tree _r;
3125 : 0 : _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
3126 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 648, __FILE__, __LINE__, true);
3127 : : return _r;
3128 : : }
3129 : 0 : next_after_fail884:;
3130 : 0 : return NULL_TREE;
3131 : : }
3132 : :
3133 : : tree
3134 : 277 : generic_simplify_410 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3135 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3136 : : const enum tree_code ARG_UNUSED (bitop),
3137 : : const enum tree_code ARG_UNUSED (op))
3138 : : {
3139 : 277 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3140 : 277 : {
3141 : 277 : tree pmop[2];
3142 : 277 : tree utype = fold_bit_and_mask (TREE_TYPE (captures[1]), captures[5], op, captures[1], ERROR_MARK,
3143 : : NULL_TREE, NULL_TREE, captures[2], bitop, captures[3],
3144 : : captures[4], pmop);
3145 : 277 : if (utype
3146 : : )
3147 : : {
3148 : 270 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail890;
3149 : 270 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail890;
3150 : 270 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail890;
3151 : 270 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail890;
3152 : 270 : if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail890;
3153 : 270 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail890;
3154 : 270 : {
3155 : 270 : tree res_op0;
3156 : 270 : {
3157 : 270 : tree _o1[2], _r1;
3158 : 270 : {
3159 : 270 : tree _o2[2], _r2;
3160 : 270 : {
3161 : 270 : tree _o3[1], _r3;
3162 : 270 : _o3[0] = pmop[0];
3163 : 270 : if (TREE_TYPE (_o3[0]) != utype)
3164 : : {
3165 : 14 : _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
3166 : : }
3167 : : else
3168 : : _r3 = _o3[0];
3169 : 270 : _o2[0] = _r3;
3170 : : }
3171 : 270 : {
3172 : 270 : tree _o3[1], _r3;
3173 : 270 : _o3[0] = pmop[1];
3174 : 270 : if (TREE_TYPE (_o3[0]) != utype)
3175 : : {
3176 : 74 : _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
3177 : : }
3178 : : else
3179 : : _r3 = _o3[0];
3180 : 270 : _o2[1] = _r3;
3181 : : }
3182 : 270 : _r2 = fold_build2_loc (loc, op, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
3183 : 270 : _o1[0] = _r2;
3184 : : }
3185 : 270 : {
3186 : 270 : tree _o2[1], _r2;
3187 : 270 : _o2[0] = captures[5];
3188 : 270 : if (TREE_TYPE (_o2[0]) != utype)
3189 : : {
3190 : 14 : _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
3191 : : }
3192 : : else
3193 : : _r2 = _o2[0];
3194 : 270 : _o1[1] = _r2;
3195 : : }
3196 : 270 : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
3197 : 270 : res_op0 = _r1;
3198 : : }
3199 : 270 : tree _r;
3200 : 270 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3201 : 270 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 653, __FILE__, __LINE__, true);
3202 : 270 : return _r;
3203 : : }
3204 : 7 : next_after_fail890:;
3205 : : }
3206 : : }
3207 : 7 : return NULL_TREE;
3208 : : }
3209 : :
3210 : : tree
3211 : 0 : generic_simplify_426 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3212 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3213 : : const enum tree_code ARG_UNUSED (eqne))
3214 : : {
3215 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3216 : 0 : if (eqne == EQ_EXPR
3217 : : )
3218 : : {
3219 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail911;
3220 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail911;
3221 : 0 : {
3222 : 0 : tree _r;
3223 : 0 : _r = constant_boolean_node (false, type);
3224 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
3225 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
3226 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 670, __FILE__, __LINE__, true);
3227 : 0 : return _r;
3228 : : }
3229 : : next_after_fail911:;
3230 : : }
3231 : : else
3232 : : {
3233 : 0 : if (eqne == NE_EXPR
3234 : : )
3235 : : {
3236 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail912;
3237 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail912;
3238 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail912;
3239 : 0 : {
3240 : 0 : tree _r;
3241 : 0 : _r = captures[0];
3242 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 671, __FILE__, __LINE__, true);
3243 : 0 : return _r;
3244 : : }
3245 : : next_after_fail912:;
3246 : : }
3247 : : }
3248 : : return NULL_TREE;
3249 : : }
3250 : :
3251 : : tree
3252 : 0 : generic_simplify_431 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3253 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3254 : : const enum tree_code ARG_UNUSED (eqne))
3255 : : {
3256 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3257 : 0 : if (eqne == EQ_EXPR
3258 : : )
3259 : : {
3260 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail936;
3261 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail936;
3262 : 0 : {
3263 : 0 : tree _r;
3264 : 0 : _r = constant_boolean_node (false, type);
3265 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
3266 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
3267 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 670, __FILE__, __LINE__, true);
3268 : 0 : return _r;
3269 : : }
3270 : : next_after_fail936:;
3271 : : }
3272 : : else
3273 : : {
3274 : 0 : if (eqne == NE_EXPR
3275 : : )
3276 : : {
3277 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail937;
3278 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail937;
3279 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail937;
3280 : 0 : {
3281 : 0 : tree _r;
3282 : 0 : _r = captures[0];
3283 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 671, __FILE__, __LINE__, true);
3284 : 0 : return _r;
3285 : : }
3286 : : next_after_fail937:;
3287 : : }
3288 : : }
3289 : : return NULL_TREE;
3290 : : }
3291 : :
3292 : : tree
3293 : 0 : generic_simplify_435 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3294 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3295 : : const enum tree_code ARG_UNUSED (code2),
3296 : : const enum tree_code ARG_UNUSED (code1))
3297 : : {
3298 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3299 : 0 : if ((TREE_CODE (captures[2]) == INTEGER_CST
3300 : 0 : && TREE_CODE (captures[5]) == INTEGER_CST)
3301 : 0 : || ((INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
3302 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[2])))
3303 : 0 : && bitwise_equal_p (captures[2], captures[5]))
3304 : : )
3305 : : {
3306 : 0 : {
3307 : 0 : bool one_before = false;
3308 : 0 : bool one_after = false;
3309 : 0 : int cmp = 0;
3310 : 0 : bool allbits = true;
3311 : 0 : if (TREE_CODE (captures[2]) == INTEGER_CST
3312 : 0 : && TREE_CODE (captures[5]) == INTEGER_CST)
3313 : : {
3314 : 0 : allbits = TYPE_PRECISION (TREE_TYPE (captures[2])) <= TYPE_PRECISION (TREE_TYPE (captures[5]));
3315 : 0 : auto t1 = wi::to_wide (fold_convert (TREE_TYPE (captures[5]), captures[2]));
3316 : 0 : auto t2 = wi::to_wide (captures[5]);
3317 : 0 : cmp = wi::cmp (t1, t2, TYPE_SIGN (TREE_TYPE (captures[5])));
3318 : 0 : if (cmp < 0
3319 : 0 : && t1 == t2 - 1)
3320 : : one_before = true;
3321 : 0 : if (cmp > 0
3322 : 0 : && t1 == t2 + 1)
3323 : : one_after = true;
3324 : : }
3325 : 0 : bool val;
3326 : 0 : switch (code2)
3327 : : {
3328 : 0 : case EQ_EXPR: val = (cmp == 0); break;
3329 : 0 : case NE_EXPR: val = (cmp != 0); break;
3330 : 0 : case LT_EXPR: val = (cmp < 0); break;
3331 : 0 : case GT_EXPR: val = (cmp > 0); break;
3332 : 0 : case LE_EXPR: val = (cmp <= 0); break;
3333 : 0 : case GE_EXPR: val = (cmp >= 0); break;
3334 : 0 : default: gcc_unreachable ();
3335 : : }
3336 : 0 : if (code1 == EQ_EXPR && val
3337 : : )
3338 : : {
3339 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail942;
3340 : 0 : if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail942;
3341 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail942;
3342 : 0 : {
3343 : 0 : tree _r;
3344 : 0 : _r = captures[0];
3345 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 674, __FILE__, __LINE__, true);
3346 : 0 : return _r;
3347 : : }
3348 : : next_after_fail942:;
3349 : : }
3350 : : else
3351 : : {
3352 : 0 : if (code1 == EQ_EXPR && !val
3353 : : )
3354 : : {
3355 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail943;
3356 : 0 : if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail943;
3357 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail943;
3358 : 0 : {
3359 : 0 : tree _r;
3360 : 0 : _r = constant_boolean_node (false, type);
3361 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
3362 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
3363 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 675, __FILE__, __LINE__, true);
3364 : 0 : return _r;
3365 : : }
3366 : : next_after_fail943:;
3367 : : }
3368 : : else
3369 : : {
3370 : 0 : if (code1 == NE_EXPR && !val && allbits
3371 : : )
3372 : : {
3373 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail944;
3374 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail944;
3375 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail944;
3376 : 0 : {
3377 : 0 : tree _r;
3378 : 0 : _r = captures[3];
3379 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 676, __FILE__, __LINE__, true);
3380 : 0 : return _r;
3381 : : }
3382 : : next_after_fail944:;
3383 : : }
3384 : : else
3385 : : {
3386 : 0 : if (code1 == NE_EXPR
3387 : 0 : && code2 == GE_EXPR
3388 : 0 : && cmp == 0
3389 : 0 : && allbits
3390 : : )
3391 : : {
3392 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail945;
3393 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail945;
3394 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail945;
3395 : 0 : {
3396 : 0 : tree res_op0;
3397 : 0 : res_op0 = captures[4];
3398 : 0 : tree res_op1;
3399 : 0 : {
3400 : 0 : tree _o1[1], _r1;
3401 : 0 : _o1[0] = captures[2];
3402 : 0 : if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
3403 : : {
3404 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
3405 : : }
3406 : : else
3407 : : _r1 = _o1[0];
3408 : 0 : res_op1 = _r1;
3409 : : }
3410 : 0 : tree _r;
3411 : 0 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
3412 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 677, __FILE__, __LINE__, true);
3413 : 0 : return _r;
3414 : : }
3415 : : next_after_fail945:;
3416 : : }
3417 : : else
3418 : : {
3419 : 0 : if (code1 == NE_EXPR
3420 : 0 : && code2 == LE_EXPR
3421 : 0 : && cmp == 0
3422 : 0 : && allbits
3423 : : )
3424 : : {
3425 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail946;
3426 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail946;
3427 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail946;
3428 : 0 : {
3429 : 0 : tree res_op0;
3430 : 0 : res_op0 = captures[4];
3431 : 0 : tree res_op1;
3432 : 0 : {
3433 : 0 : tree _o1[1], _r1;
3434 : 0 : _o1[0] = captures[2];
3435 : 0 : if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
3436 : : {
3437 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
3438 : : }
3439 : : else
3440 : : _r1 = _o1[0];
3441 : 0 : res_op1 = _r1;
3442 : : }
3443 : 0 : tree _r;
3444 : 0 : _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
3445 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 678, __FILE__, __LINE__, true);
3446 : 0 : return _r;
3447 : : }
3448 : : next_after_fail946:;
3449 : : }
3450 : : else
3451 : : {
3452 : 0 : if (code1 == NE_EXPR
3453 : 0 : && code2 == GT_EXPR
3454 : : && one_after
3455 : 0 : && allbits
3456 : : )
3457 : : {
3458 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail947;
3459 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail947;
3460 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail947;
3461 : 0 : {
3462 : 0 : tree res_op0;
3463 : 0 : res_op0 = captures[4];
3464 : 0 : tree res_op1;
3465 : 0 : {
3466 : 0 : tree _o1[1], _r1;
3467 : 0 : _o1[0] = captures[2];
3468 : 0 : if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
3469 : : {
3470 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
3471 : : }
3472 : : else
3473 : : _r1 = _o1[0];
3474 : 0 : res_op1 = _r1;
3475 : : }
3476 : 0 : tree _r;
3477 : 0 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
3478 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 679, __FILE__, __LINE__, true);
3479 : 0 : return _r;
3480 : : }
3481 : : next_after_fail947:;
3482 : : }
3483 : : else
3484 : : {
3485 : 0 : if (code1 == NE_EXPR
3486 : 0 : && code2 == LT_EXPR
3487 : : && one_before
3488 : 0 : && allbits
3489 : : )
3490 : : {
3491 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail948;
3492 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail948;
3493 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail948;
3494 : 0 : {
3495 : 0 : tree res_op0;
3496 : 0 : res_op0 = captures[4];
3497 : 0 : tree res_op1;
3498 : 0 : {
3499 : 0 : tree _o1[1], _r1;
3500 : 0 : _o1[0] = captures[2];
3501 : 0 : if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
3502 : : {
3503 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
3504 : : }
3505 : : else
3506 : : _r1 = _o1[0];
3507 : 0 : res_op1 = _r1;
3508 : : }
3509 : 0 : tree _r;
3510 : 0 : _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
3511 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 680, __FILE__, __LINE__, true);
3512 : 0 : return _r;
3513 : : }
3514 : : next_after_fail948:;
3515 : : }
3516 : : }
3517 : : }
3518 : : }
3519 : : }
3520 : : }
3521 : : }
3522 : : }
3523 : : }
3524 : : return NULL_TREE;
3525 : : }
3526 : :
3527 : : tree
3528 : 2227 : generic_simplify_469 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3529 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
3530 : : {
3531 : 2227 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3532 : 2227 : if (INTEGRAL_TYPE_P (type)
3533 : : )
3534 : : {
3535 : 2227 : {
3536 : 2227 : tree itype = TREE_TYPE (captures[2]);
3537 : 2227 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail995;
3538 : 2227 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail995;
3539 : 2227 : if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail995;
3540 : 2227 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail995;
3541 : 2227 : {
3542 : 2227 : tree res_op0;
3543 : 2227 : {
3544 : 2227 : tree _o1[2], _r1;
3545 : 2227 : _o1[0] = captures[2];
3546 : 2227 : {
3547 : 2227 : tree _o2[1], _r2;
3548 : 2227 : _o2[0] = captures[0];
3549 : 2227 : if (TREE_TYPE (_o2[0]) != itype)
3550 : : {
3551 : 2227 : _r2 = fold_build1_loc (loc, NOP_EXPR, itype, _o2[0]);
3552 : : }
3553 : : else
3554 : : _r2 = _o2[0];
3555 : 2227 : _o1[1] = _r2;
3556 : : }
3557 : 2227 : _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
3558 : 2227 : res_op0 = _r1;
3559 : : }
3560 : 2227 : tree _r;
3561 : 2227 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3562 : 2227 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 716, __FILE__, __LINE__, true);
3563 : 2227 : return _r;
3564 : : }
3565 : : next_after_fail995:;
3566 : : }
3567 : : }
3568 : : return NULL_TREE;
3569 : : }
3570 : :
3571 : : tree
3572 : 0 : generic_simplify_482 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3573 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
3574 : : const enum tree_code ARG_UNUSED (op))
3575 : : {
3576 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3577 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1013;
3578 : 0 : if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1013;
3579 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1013;
3580 : 0 : {
3581 : 0 : tree _r;
3582 : 0 : _r = captures[2];
3583 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 734, __FILE__, __LINE__, true);
3584 : : return _r;
3585 : : }
3586 : : next_after_fail1013:;
3587 : : return NULL_TREE;
3588 : : }
3589 : :
3590 : : tree
3591 : 0 : generic_simplify_487 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3592 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
3593 : : {
3594 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3595 : 0 : if (INTEGRAL_TYPE_P (type)
3596 : : )
3597 : : {
3598 : 0 : if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1018;
3599 : 0 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1018;
3600 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1018;
3601 : 0 : {
3602 : 0 : tree _r;
3603 : 0 : _r = captures[2];
3604 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 739, __FILE__, __LINE__, true);
3605 : 0 : return _r;
3606 : : }
3607 : : next_after_fail1018:;
3608 : : }
3609 : : return NULL_TREE;
3610 : : }
3611 : :
3612 : : tree
3613 : 3 : generic_simplify_493 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3614 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
3615 : : const combined_fn ARG_UNUSED (func))
3616 : : {
3617 : 3 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3618 : 3 : if (wi::to_widest (captures[4]) == TYPE_PRECISION (TREE_TYPE (captures[3])) - 1
3619 : : )
3620 : : {
3621 : 3 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1025;
3622 : 3 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1025;
3623 : 3 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1025;
3624 : 3 : {
3625 : 3 : tree _r;
3626 : 3 : _r = captures[2];
3627 : 3 : if (TREE_SIDE_EFFECTS (captures[1]))
3628 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
3629 : 3 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 745, __FILE__, __LINE__, true);
3630 : 3 : return _r;
3631 : : }
3632 : : next_after_fail1025:;
3633 : : }
3634 : : return NULL_TREE;
3635 : : }
3636 : :
3637 : : tree
3638 : 2 : generic_simplify_501 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3639 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3640 : : const enum tree_code ARG_UNUSED (minmax),
3641 : : const enum tree_code ARG_UNUSED (cmp))
3642 : : {
3643 : 2 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3644 : 2 : {
3645 : 2 : poly_int64 off0, off1;
3646 : 2 : tree base0, base1;
3647 : 2 : int equal = address_compare (cmp, TREE_TYPE (captures[0]), captures[1], captures[3], base0, base1,
3648 : : off0, off1,
3649 : : 1
3650 : : );
3651 : 2 : if (equal == 1
3652 : : )
3653 : : {
3654 : 0 : if (minmax == MIN_EXPR
3655 : : )
3656 : : {
3657 : 0 : if (known_le (off0, off1)
3658 : : )
3659 : : {
3660 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1035;
3661 : 0 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1035;
3662 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1035;
3663 : 0 : {
3664 : 0 : tree _r;
3665 : 0 : _r = captures[0];
3666 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 754, __FILE__, __LINE__, true);
3667 : 0 : return _r;
3668 : : }
3669 : 2 : next_after_fail1035:;
3670 : : }
3671 : : else
3672 : : {
3673 : 0 : if (known_gt (off0, off1)
3674 : : )
3675 : : {
3676 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1036;
3677 : 0 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1036;
3678 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1036;
3679 : 0 : {
3680 : 0 : tree _r;
3681 : 0 : _r = captures[2];
3682 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 755, __FILE__, __LINE__, true);
3683 : 0 : return _r;
3684 : : }
3685 : 2 : next_after_fail1036:;
3686 : : }
3687 : : }
3688 : : }
3689 : : else
3690 : : {
3691 : 0 : if (known_ge (off0, off1)
3692 : : )
3693 : : {
3694 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1037;
3695 : 0 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1037;
3696 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1037;
3697 : 0 : {
3698 : 0 : tree _r;
3699 : 0 : _r = captures[0];
3700 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 756, __FILE__, __LINE__, true);
3701 : 0 : return _r;
3702 : : }
3703 : 2 : next_after_fail1037:;
3704 : : }
3705 : : else
3706 : : {
3707 : 0 : if (known_lt (off0, off1)
3708 : : )
3709 : : {
3710 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1038;
3711 : 0 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1038;
3712 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1038;
3713 : 0 : {
3714 : 0 : tree _r;
3715 : 0 : _r = captures[2];
3716 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 757, __FILE__, __LINE__, true);
3717 : 0 : return _r;
3718 : : }
3719 : 2 : next_after_fail1038:;
3720 : : }
3721 : : }
3722 : : }
3723 : : }
3724 : : }
3725 : 2 : return NULL_TREE;
3726 : : }
3727 : :
3728 : : tree
3729 : 0 : generic_simplify_517 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3730 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
3731 : : const combined_fn ARG_UNUSED (bswap))
3732 : : {
3733 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3734 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1066;
3735 : 0 : {
3736 : 0 : tree _r;
3737 : 0 : _r = captures[0];
3738 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 773, __FILE__, __LINE__, true);
3739 : : return _r;
3740 : : }
3741 : 0 : next_after_fail1066:;
3742 : 0 : return NULL_TREE;
3743 : : }
3744 : :
3745 : : tree
3746 : 0 : generic_simplify_524 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3747 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
3748 : : const enum tree_code ARG_UNUSED (cmp))
3749 : : {
3750 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3751 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1073;
3752 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1073;
3753 : 0 : if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1073;
3754 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1073;
3755 : 0 : {
3756 : 0 : tree _r;
3757 : 0 : _r = captures[0];
3758 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 743, __FILE__, __LINE__, true);
3759 : : return _r;
3760 : : }
3761 : : next_after_fail1073:;
3762 : : return NULL_TREE;
3763 : : }
3764 : :
3765 : : tree
3766 : 0 : generic_simplify_532 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3767 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
3768 : : const combined_fn ARG_UNUSED (cond_len_op))
3769 : : {
3770 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3771 : 0 : {
3772 : 0 : tree op_type = TREE_TYPE (captures[6]);
3773 : 0 : if (inverse_conditions_p (captures[0], captures[2])
3774 : 0 : && element_precision (type) == element_precision (op_type)
3775 : : )
3776 : : {
3777 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1081;
3778 : 0 : {
3779 : 0 : tree res_op0;
3780 : 0 : {
3781 : 0 : tree _o1[7], _r1;
3782 : 0 : _o1[0] = captures[2];
3783 : 0 : _o1[1] = captures[3];
3784 : 0 : _o1[2] = captures[4];
3785 : 0 : _o1[3] = captures[5];
3786 : 0 : {
3787 : 0 : tree _o2[1], _r2;
3788 : 0 : _o2[0] = captures[1];
3789 : 0 : if (TREE_TYPE (_o2[0]) != op_type)
3790 : : {
3791 : 0 : _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, op_type, _o2[0]);
3792 : : }
3793 : : else
3794 : : _r2 = _o2[0];
3795 : 0 : _o1[4] = _r2;
3796 : : }
3797 : 0 : _o1[5] = captures[7];
3798 : 0 : _o1[6] = captures[8];
3799 : 0 : _r1 = maybe_build_call_expr_loc (loc, cond_len_op, TREE_TYPE (_o1[1]), 7, _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5], _o1[6]);
3800 : 0 : if (!_r1)
3801 : 0 : goto next_after_fail1081;
3802 : 0 : res_op0 = _r1;
3803 : : }
3804 : 0 : tree _r;
3805 : 0 : _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
3806 : 0 : if (TREE_SIDE_EFFECTS (captures[0]))
3807 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
3808 : 0 : if (TREE_SIDE_EFFECTS (captures[6]))
3809 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[6]), _r);
3810 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 783, __FILE__, __LINE__, true);
3811 : 0 : return _r;
3812 : : }
3813 : : next_after_fail1081:;
3814 : : }
3815 : : }
3816 : : return NULL_TREE;
3817 : : }
3818 : :
3819 : : tree
3820 : 0 : generic_simplify_543 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3821 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
3822 : : const combined_fn ARG_UNUSED (tans),
3823 : : const combined_fn ARG_UNUSED (atans))
3824 : : {
3825 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3826 : 0 : if (flag_unsafe_math_optimizations
3827 : : )
3828 : : {
3829 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1092;
3830 : 0 : {
3831 : 0 : tree _r;
3832 : 0 : _r = captures[0];
3833 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 794, __FILE__, __LINE__, true);
3834 : 0 : return _r;
3835 : : }
3836 : 0 : next_after_fail1092:;
3837 : : }
3838 : : return NULL_TREE;
3839 : : }
3840 : :
3841 : : tree
3842 : 0 : generic_simplify_549 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3843 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
3844 : : const combined_fn ARG_UNUSED (froms),
3845 : : const combined_fn ARG_UNUSED (tos))
3846 : : {
3847 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3848 : 0 : if (optimize && canonicalize_math_p ()
3849 : : )
3850 : : {
3851 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1098;
3852 : 0 : {
3853 : 0 : tree res_op0;
3854 : 0 : {
3855 : 0 : tree _o1[1], _r1;
3856 : 0 : _o1[0] = captures[0];
3857 : 0 : _r1 = maybe_build_call_expr_loc (loc, tos, TREE_TYPE (_o1[0]), 1, _o1[0]);
3858 : 0 : if (!_r1)
3859 : 0 : goto next_after_fail1098;
3860 : 0 : res_op0 = _r1;
3861 : : }
3862 : 0 : tree _r;
3863 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3864 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 800, __FILE__, __LINE__, true);
3865 : 0 : return _r;
3866 : : }
3867 : : next_after_fail1098:;
3868 : : }
3869 : : return NULL_TREE;
3870 : : }
3871 : :
3872 : : tree
3873 : 0 : generic_simplify_558 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3874 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
3875 : : const combined_fn ARG_UNUSED (ifn),
3876 : : const combined_fn ARG_UNUSED (lfn),
3877 : : const combined_fn ARG_UNUSED (llfn))
3878 : : {
3879 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3880 : 0 : if (canonicalize_math_p ()
3881 : : )
3882 : : {
3883 : 0 : if (TYPE_PRECISION (long_long_integer_type_node)
3884 : 0 : == TYPE_PRECISION (long_integer_type_node)
3885 : : )
3886 : : {
3887 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1107;
3888 : 0 : {
3889 : 0 : tree res_op0;
3890 : 0 : res_op0 = captures[0];
3891 : 0 : tree _r;
3892 : 0 : _r = maybe_build_call_expr_loc (loc, lfn, type, 1, res_op0);
3893 : 0 : if (!_r)
3894 : 0 : goto next_after_fail1107;
3895 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 809, __FILE__, __LINE__, true);
3896 : 0 : return _r;
3897 : : }
3898 : : next_after_fail1107:;
3899 : : }
3900 : : }
3901 : : return NULL_TREE;
3902 : : }
3903 : :
3904 : : tree
3905 : 0 : generic_simplify_569 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3906 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
3907 : : {
3908 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3909 : 0 : if (canonicalize_math_after_vectorization_p ()
3910 : : )
3911 : : {
3912 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1118;
3913 : : {
3914 : : tree res_op0;
3915 : : res_op0 = captures[0];
3916 : : tree res_op1;
3917 : : res_op1 = captures[1];
3918 : : tree res_op2;
3919 : : res_op2 = captures[2];
3920 : : tree _r;
3921 : : _r = maybe_build_call_expr_loc (loc, CFN_FMS, type, 3, res_op0, res_op1, res_op2);
3922 : : if (!_r)
3923 : : goto next_after_fail1118;
3924 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 820, __FILE__, __LINE__, true);
3925 : : return _r;
3926 : : }
3927 : 0 : next_after_fail1118:;
3928 : : }
3929 : 0 : return NULL_TREE;
3930 : : }
3931 : :
3932 : : tree
3933 : 0 : generic_simplify_579 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3934 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
3935 : : const combined_fn ARG_UNUSED (pfun))
3936 : : {
3937 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3938 : 0 : if (INTEGRAL_TYPE_P (type)
3939 : : )
3940 : : {
3941 : 0 : {
3942 : 0 : wide_int nz = tree_nonzero_bits (captures[0]);
3943 : 0 : if (nz == 1
3944 : : )
3945 : : {
3946 : 0 : if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1128;
3947 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1128;
3948 : 0 : {
3949 : 0 : tree res_op0;
3950 : 0 : res_op0 = captures[0];
3951 : 0 : tree _r;
3952 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3953 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 825, __FILE__, __LINE__, true);
3954 : 0 : return _r;
3955 : : }
3956 : 0 : next_after_fail1128:;
3957 : : }
3958 : : else
3959 : : {
3960 : 0 : if (wi::popcount (nz) == 1
3961 : : )
3962 : : {
3963 : 0 : {
3964 : 0 : tree utype = unsigned_type_for (TREE_TYPE (captures[0]));
3965 : 0 : if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1129;
3966 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1129;
3967 : 0 : {
3968 : 0 : tree res_op0;
3969 : 0 : {
3970 : 0 : tree _o1[2], _r1;
3971 : 0 : {
3972 : 0 : tree _o2[1], _r2;
3973 : 0 : _o2[0] = captures[0];
3974 : 0 : if (TREE_TYPE (_o2[0]) != utype)
3975 : : {
3976 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
3977 : : }
3978 : : else
3979 : : _r2 = _o2[0];
3980 : 0 : _o1[0] = _r2;
3981 : : }
3982 : 0 : _o1[1] = build_int_cst (integer_type_node,
3983 : 0 : wi::ctz (nz));
3984 : 0 : _r1 = fold_build2_loc (loc, RSHIFT_EXPR, utype, _o1[0], _o1[1]);
3985 : 0 : res_op0 = _r1;
3986 : : }
3987 : 0 : tree _r;
3988 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3989 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 826, __FILE__, __LINE__, true);
3990 : 0 : return _r;
3991 : : }
3992 : 0 : next_after_fail1129:;
3993 : : }
3994 : : }
3995 : : }
3996 : 0 : }
3997 : : }
3998 : : return NULL_TREE;
3999 : : }
4000 : :
4001 : : tree
4002 : 6718223 : generic_simplify_FLOAT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0)
4003 : : {
4004 : 6718223 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
4005 : 6718223 : {
4006 : 6718223 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
4007 : 13436446 : if ((
4008 : :
4009 : : && useless_type_conversion_p (type, TREE_TYPE (captures[0])))
4010 : : || (
4011 : : 1
4012 : 6718223 : && type == TREE_TYPE (captures[0]))
4013 : : )
4014 : : {
4015 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1198;
4016 : 0 : {
4017 : 0 : tree _r;
4018 : 0 : _r = captures[0];
4019 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 844, __FILE__, __LINE__, true);
4020 : 0 : return _r;
4021 : : }
4022 : 0 : next_after_fail1198:;
4023 : : }
4024 : : }
4025 : 6718223 : switch (TREE_CODE (_p0))
4026 : : {
4027 : 574418 : CASE_CONVERT:
4028 : 574418 : {
4029 : 574418 : tree _q20 = TREE_OPERAND (_p0, 0);
4030 : 574418 : {
4031 : 574418 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
4032 : 574418 : {
4033 : 574418 : tree inside_type = TREE_TYPE (captures[1]);
4034 : 574418 : tree inter_type = TREE_TYPE (captures[0]);
4035 : 574418 : int inside_int = INTEGRAL_TYPE_P (inside_type);
4036 : 574418 : int inside_ptr = POINTER_TYPE_P (inside_type);
4037 : 574418 : int inside_float = FLOAT_TYPE_P (inside_type);
4038 : 574418 : int inside_vec = VECTOR_TYPE_P (inside_type);
4039 : 574418 : unsigned int inside_prec = element_precision (inside_type);
4040 : 574418 : int inside_unsignedp = TYPE_UNSIGNED (inside_type);
4041 : 574418 : int inter_int = INTEGRAL_TYPE_P (inter_type);
4042 : 574418 : int inter_ptr = POINTER_TYPE_P (inter_type);
4043 : 574418 : int inter_float = FLOAT_TYPE_P (inter_type);
4044 : 574418 : int inter_vec = VECTOR_TYPE_P (inter_type);
4045 : 574418 : unsigned int inter_prec = element_precision (inter_type);
4046 : 574418 : int inter_unsignedp = TYPE_UNSIGNED (inter_type);
4047 : 574418 : int final_int = INTEGRAL_TYPE_P (type);
4048 : 574418 : int final_ptr = POINTER_TYPE_P (type);
4049 : 574418 : int final_float = FLOAT_TYPE_P (type);
4050 : 574418 : int final_vec = VECTOR_TYPE_P (type);
4051 : 574418 : unsigned int final_prec = element_precision (type);
4052 : 574418 : int final_unsignedp = TYPE_UNSIGNED (type);
4053 : 574418 : if (((
4054 : :
4055 : : && useless_type_conversion_p (type, inside_type))
4056 : : || (
4057 : : 1
4058 : 574418 : && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type)))
4059 : 0 : && (((inter_int || inter_ptr) && final_int)
4060 : 0 : || (inter_float && final_float))
4061 : 574418 : && inter_prec >= final_prec
4062 : : )
4063 : : {
4064 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1199;
4065 : 0 : {
4066 : 0 : tree res_op0;
4067 : 0 : res_op0 = captures[1];
4068 : 0 : tree _r;
4069 : 0 : _r = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0);
4070 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 845, __FILE__, __LINE__, true);
4071 : 0 : return _r;
4072 : : }
4073 : 0 : next_after_fail1199:;
4074 : : }
4075 : : else
4076 : : {
4077 : 574418 : if (((inter_int && inside_int) || (inter_float && inside_float))
4078 : 574412 : && (final_int || final_float)
4079 : 574412 : && inter_prec >= inside_prec
4080 : 573425 : && (inter_float || inter_unsignedp == inside_unsignedp)
4081 : : )
4082 : : {
4083 : 571056 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1200;
4084 : 571056 : {
4085 : 571056 : tree res_op0;
4086 : 571056 : res_op0 = captures[1];
4087 : 571056 : tree _r;
4088 : 571056 : _r = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0);
4089 : 571056 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 846, __FILE__, __LINE__, true);
4090 : 571056 : return _r;
4091 : : }
4092 : 0 : next_after_fail1200:;
4093 : 0 : }
4094 : : else
4095 : : {
4096 : 3362 : if (inside_int && inter_int && final_int
4097 : 0 : && ((inside_prec < inter_prec && inter_prec < final_prec
4098 : 0 : && inside_unsignedp && !inter_unsignedp)
4099 : 0 : || final_prec == inter_prec
4100 : 0 : || (inside_prec < inter_prec && inter_prec > final_prec
4101 : 0 : && !inside_unsignedp && inter_unsignedp))
4102 : : )
4103 : : {
4104 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1201;
4105 : 0 : {
4106 : 0 : tree res_op0;
4107 : 0 : res_op0 = captures[1];
4108 : 0 : tree _r;
4109 : 0 : _r = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0);
4110 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 847, __FILE__, __LINE__, true);
4111 : 0 : return _r;
4112 : : }
4113 : 0 : next_after_fail1201:;
4114 : 0 : }
4115 : : else
4116 : : {
4117 : 3362 : if (! inside_float && ! inter_float && ! final_float
4118 : : && ! inside_vec && ! inter_vec && ! final_vec
4119 : 0 : && (inter_prec >= inside_prec || inter_prec >= final_prec)
4120 : 0 : && ! (inside_int && inter_int
4121 : 0 : && inter_unsignedp != inside_unsignedp
4122 : 0 : && inter_prec < final_prec)
4123 : 0 : && ((inter_unsignedp && inter_prec > inside_prec)
4124 : 0 : == (final_unsignedp && final_prec > inter_prec))
4125 : 0 : && ! (inside_ptr && inter_prec != final_prec)
4126 : 0 : && ! (final_ptr && inside_prec != inter_prec)
4127 : : )
4128 : : {
4129 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1202;
4130 : 0 : {
4131 : 0 : tree res_op0;
4132 : 0 : res_op0 = captures[1];
4133 : 0 : tree _r;
4134 : 0 : _r = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0);
4135 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 848, __FILE__, __LINE__, true);
4136 : 0 : return _r;
4137 : : }
4138 : 0 : next_after_fail1202:;
4139 : 0 : }
4140 : : else
4141 : : {
4142 : 3362 : if (inside_int && inter_int && final_int
4143 : 3356 : && final_prec <= inside_prec
4144 : 0 : && inter_prec >= inside_prec
4145 : : )
4146 : : {
4147 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1203;
4148 : 0 : {
4149 : 0 : tree res_op0;
4150 : 0 : res_op0 = captures[1];
4151 : 0 : tree _r;
4152 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4153 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 849, __FILE__, __LINE__, true);
4154 : 0 : return _r;
4155 : : }
4156 : 0 : next_after_fail1203:;
4157 : 0 : }
4158 : : else
4159 : : {
4160 : : if (0
4161 : : && final_int && inter_int && inside_int
4162 : : && final_prec >= inside_prec
4163 : : && inside_prec > inter_prec
4164 : : && inter_unsignedp
4165 : : )
4166 : : {
4167 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1204;
4168 : : {
4169 : : tree res_op0;
4170 : : {
4171 : : tree _o1[2], _r1;
4172 : : _o1[0] = captures[1];
4173 : : _o1[1] = wide_int_to_tree
4174 : : (inside_type,
4175 : : wi::mask (inter_prec, false,
4176 : : TYPE_PRECISION (inside_type)));
4177 : : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
4178 : : res_op0 = _r1;
4179 : : }
4180 : : tree _r;
4181 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4182 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 850, __FILE__, __LINE__, true);
4183 : : return _r;
4184 : : }
4185 : : next_after_fail1204:;
4186 : : }
4187 : : else
4188 : : {
4189 : : if (0
4190 : : && inside_int && inter_float && final_int &&
4191 : : (unsigned) significand_size (TYPE_MODE (inter_type))
4192 : : >= inside_prec - !inside_unsignedp
4193 : : )
4194 : : {
4195 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1205;
4196 : : {
4197 : : tree res_op0;
4198 : : res_op0 = captures[1];
4199 : : tree _r;
4200 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4201 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 851, __FILE__, __LINE__, true);
4202 : : return _r;
4203 : : }
4204 : : next_after_fail1205:;
4205 : : }
4206 : : }
4207 : : }
4208 : : }
4209 : : }
4210 : : }
4211 : : }
4212 : : }
4213 : : }
4214 : 3362 : break;
4215 : : }
4216 : 0 : case FLOAT_EXPR:
4217 : 0 : {
4218 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
4219 : 0 : {
4220 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
4221 : 0 : {
4222 : 0 : tree inside_type = TREE_TYPE (captures[1]);
4223 : 0 : tree inter_type = TREE_TYPE (captures[0]);
4224 : 0 : int inside_int = INTEGRAL_TYPE_P (inside_type);
4225 : 0 : int inside_ptr = POINTER_TYPE_P (inside_type);
4226 : 0 : int inside_float = FLOAT_TYPE_P (inside_type);
4227 : 0 : int inside_vec = VECTOR_TYPE_P (inside_type);
4228 : 0 : unsigned int inside_prec = element_precision (inside_type);
4229 : 0 : int inside_unsignedp = TYPE_UNSIGNED (inside_type);
4230 : 0 : int inter_int = INTEGRAL_TYPE_P (inter_type);
4231 : 0 : int inter_ptr = POINTER_TYPE_P (inter_type);
4232 : 0 : int inter_float = FLOAT_TYPE_P (inter_type);
4233 : 0 : int inter_vec = VECTOR_TYPE_P (inter_type);
4234 : 0 : unsigned int inter_prec = element_precision (inter_type);
4235 : 0 : int inter_unsignedp = TYPE_UNSIGNED (inter_type);
4236 : 0 : int final_int = INTEGRAL_TYPE_P (type);
4237 : 0 : int final_ptr = POINTER_TYPE_P (type);
4238 : 0 : int final_float = FLOAT_TYPE_P (type);
4239 : 0 : int final_vec = VECTOR_TYPE_P (type);
4240 : 0 : unsigned int final_prec = element_precision (type);
4241 : 0 : int final_unsignedp = TYPE_UNSIGNED (type);
4242 : 0 : if (((
4243 : :
4244 : : && useless_type_conversion_p (type, inside_type))
4245 : : || (
4246 : : 1
4247 : 0 : && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type)))
4248 : 0 : && (((inter_int || inter_ptr) && final_int)
4249 : 0 : || (inter_float && final_float))
4250 : 0 : && inter_prec >= final_prec
4251 : : )
4252 : : {
4253 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1206;
4254 : 0 : {
4255 : 0 : tree res_op0;
4256 : 0 : res_op0 = captures[1];
4257 : 0 : tree _r;
4258 : 0 : _r = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0);
4259 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 845, __FILE__, __LINE__, true);
4260 : 0 : return _r;
4261 : : }
4262 : 0 : next_after_fail1206:;
4263 : : }
4264 : : else
4265 : : {
4266 : 0 : if (((inter_int && inside_int) || (inter_float && inside_float))
4267 : 0 : && (final_int || final_float)
4268 : 0 : && inter_prec >= inside_prec
4269 : 0 : && (inter_float || inter_unsignedp == inside_unsignedp)
4270 : : )
4271 : : {
4272 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1207;
4273 : 0 : {
4274 : 0 : tree res_op0;
4275 : 0 : res_op0 = captures[1];
4276 : 0 : tree _r;
4277 : 0 : _r = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0);
4278 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 846, __FILE__, __LINE__, true);
4279 : 0 : return _r;
4280 : : }
4281 : 0 : next_after_fail1207:;
4282 : 0 : }
4283 : : else
4284 : : {
4285 : 0 : if (inside_int && inter_int && final_int
4286 : 0 : && ((inside_prec < inter_prec && inter_prec < final_prec
4287 : 0 : && inside_unsignedp && !inter_unsignedp)
4288 : 0 : || final_prec == inter_prec
4289 : 0 : || (inside_prec < inter_prec && inter_prec > final_prec
4290 : 0 : && !inside_unsignedp && inter_unsignedp))
4291 : : )
4292 : : {
4293 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1208;
4294 : 0 : {
4295 : 0 : tree res_op0;
4296 : 0 : res_op0 = captures[1];
4297 : 0 : tree _r;
4298 : 0 : _r = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0);
4299 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 847, __FILE__, __LINE__, true);
4300 : 0 : return _r;
4301 : : }
4302 : 0 : next_after_fail1208:;
4303 : 0 : }
4304 : : else
4305 : : {
4306 : 0 : if (! inside_float && ! inter_float && ! final_float
4307 : : && ! inside_vec && ! inter_vec && ! final_vec
4308 : 0 : && (inter_prec >= inside_prec || inter_prec >= final_prec)
4309 : 0 : && ! (inside_int && inter_int
4310 : 0 : && inter_unsignedp != inside_unsignedp
4311 : 0 : && inter_prec < final_prec)
4312 : 0 : && ((inter_unsignedp && inter_prec > inside_prec)
4313 : 0 : == (final_unsignedp && final_prec > inter_prec))
4314 : 0 : && ! (inside_ptr && inter_prec != final_prec)
4315 : 0 : && ! (final_ptr && inside_prec != inter_prec)
4316 : : )
4317 : : {
4318 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1209;
4319 : 0 : {
4320 : 0 : tree res_op0;
4321 : 0 : res_op0 = captures[1];
4322 : 0 : tree _r;
4323 : 0 : _r = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0);
4324 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 848, __FILE__, __LINE__, true);
4325 : 0 : return _r;
4326 : : }
4327 : 0 : next_after_fail1209:;
4328 : 0 : }
4329 : : else
4330 : : {
4331 : 0 : if (inside_int && inter_int && final_int
4332 : 0 : && final_prec <= inside_prec
4333 : 0 : && inter_prec >= inside_prec
4334 : : )
4335 : : {
4336 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1210;
4337 : 0 : {
4338 : 0 : tree res_op0;
4339 : 0 : res_op0 = captures[1];
4340 : 0 : tree _r;
4341 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4342 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 849, __FILE__, __LINE__, true);
4343 : 0 : return _r;
4344 : : }
4345 : 0 : next_after_fail1210:;
4346 : 0 : }
4347 : : else
4348 : : {
4349 : : if (0
4350 : : && final_int && inter_int && inside_int
4351 : : && final_prec >= inside_prec
4352 : : && inside_prec > inter_prec
4353 : : && inter_unsignedp
4354 : : )
4355 : : {
4356 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1211;
4357 : : {
4358 : : tree res_op0;
4359 : : {
4360 : : tree _o1[2], _r1;
4361 : : _o1[0] = captures[1];
4362 : : _o1[1] = wide_int_to_tree
4363 : : (inside_type,
4364 : : wi::mask (inter_prec, false,
4365 : : TYPE_PRECISION (inside_type)));
4366 : : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
4367 : : res_op0 = _r1;
4368 : : }
4369 : : tree _r;
4370 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4371 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 850, __FILE__, __LINE__, true);
4372 : : return _r;
4373 : : }
4374 : : next_after_fail1211:;
4375 : : }
4376 : : else
4377 : : {
4378 : : if (0
4379 : : && inside_int && inter_float && final_int &&
4380 : : (unsigned) significand_size (TYPE_MODE (inter_type))
4381 : : >= inside_prec - !inside_unsignedp
4382 : : )
4383 : : {
4384 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1212;
4385 : : {
4386 : : tree res_op0;
4387 : : res_op0 = captures[1];
4388 : : tree _r;
4389 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4390 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 851, __FILE__, __LINE__, true);
4391 : : return _r;
4392 : : }
4393 : : next_after_fail1212:;
4394 : : }
4395 : : }
4396 : : }
4397 : : }
4398 : : }
4399 : : }
4400 : : }
4401 : : }
4402 : : }
4403 : 0 : break;
4404 : : }
4405 : : default:;
4406 : : }
4407 : : return NULL_TREE;
4408 : : }
4409 : :
4410 : : tree
4411 : 1787768 : generic_simplify_BIT_IOR_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
4412 : : {
4413 : 1787768 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
4414 : 1787768 : if (integer_zerop (_p1))
4415 : : {
4416 : 2701 : {
4417 : 2701 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
4418 : 2701 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1324;
4419 : 2701 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1324;
4420 : 2701 : {
4421 : 2701 : tree res_op0;
4422 : 2701 : res_op0 = captures[0];
4423 : 2701 : tree _r;
4424 : 2701 : _r = non_lvalue_loc (loc, res_op0);
4425 : 2701 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 891, __FILE__, __LINE__, true);
4426 : 2701 : return _r;
4427 : : }
4428 : : next_after_fail1324:;
4429 : : }
4430 : : }
4431 : 1785067 : switch (TREE_CODE (_p0))
4432 : : {
4433 : 374140 : case LSHIFT_EXPR:
4434 : 374140 : {
4435 : 374140 : tree _q20 = TREE_OPERAND (_p0, 0);
4436 : 374140 : tree _q21 = TREE_OPERAND (_p0, 1);
4437 : 374140 : switch (TREE_CODE (_p1))
4438 : : {
4439 : 1119 : case LSHIFT_EXPR:
4440 : 1119 : {
4441 : 1119 : tree _q50 = TREE_OPERAND (_p1, 0);
4442 : 1119 : tree _q51 = TREE_OPERAND (_p1, 1);
4443 : 1119 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4444 : : {
4445 : 1 : {
4446 : 1 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
4447 : 1 : tree res = generic_simplify_63 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4448 : 1 : if (res) return res;
4449 : : }
4450 : : }
4451 : : break;
4452 : : }
4453 : : default:;
4454 : : }
4455 : : break;
4456 : : }
4457 : 24798 : case RSHIFT_EXPR:
4458 : 24798 : {
4459 : 24798 : tree _q20 = TREE_OPERAND (_p0, 0);
4460 : 24798 : tree _q21 = TREE_OPERAND (_p0, 1);
4461 : 24798 : switch (TREE_CODE (_p1))
4462 : : {
4463 : 4 : case RSHIFT_EXPR:
4464 : 4 : {
4465 : 4 : tree _q50 = TREE_OPERAND (_p1, 0);
4466 : 4 : tree _q51 = TREE_OPERAND (_p1, 1);
4467 : 4 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4468 : : {
4469 : 3 : {
4470 : 3 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
4471 : 3 : tree res = generic_simplify_64 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4472 : 3 : if (res) return res;
4473 : : }
4474 : : }
4475 : : break;
4476 : : }
4477 : : default:;
4478 : : }
4479 : : break;
4480 : : }
4481 : 271 : case NE_EXPR:
4482 : 271 : {
4483 : 271 : tree _q20 = TREE_OPERAND (_p0, 0);
4484 : 271 : tree _q21 = TREE_OPERAND (_p0, 1);
4485 : 271 : if (integer_zerop (_q21))
4486 : : {
4487 : 93 : switch (TREE_CODE (_p1))
4488 : : {
4489 : 8 : case NE_EXPR:
4490 : 8 : {
4491 : 8 : tree _q50 = TREE_OPERAND (_p1, 0);
4492 : 8 : tree _q51 = TREE_OPERAND (_p1, 1);
4493 : 8 : if (integer_zerop (_q51))
4494 : : {
4495 : 7 : {
4496 : 7 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
4497 : 7 : tree res = generic_simplify_65 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, NE_EXPR);
4498 : 7 : if (res) return res;
4499 : : }
4500 : : }
4501 : : break;
4502 : : }
4503 : : default:;
4504 : : }
4505 : : }
4506 : 264 : if (integer_all_onesp (_q21))
4507 : : {
4508 : 0 : switch (TREE_CODE (_p1))
4509 : : {
4510 : 0 : case NE_EXPR:
4511 : 0 : {
4512 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
4513 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
4514 : 0 : if (integer_all_onesp (_q51))
4515 : : {
4516 : 0 : {
4517 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
4518 : 0 : tree res = generic_simplify_66 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, NE_EXPR);
4519 : 0 : if (res) return res;
4520 : : }
4521 : : }
4522 : : break;
4523 : : }
4524 : : default:;
4525 : : }
4526 : : }
4527 : : break;
4528 : : }
4529 : 126941 : case BIT_AND_EXPR:
4530 : 126941 : {
4531 : 126941 : tree _q20 = TREE_OPERAND (_p0, 0);
4532 : 126941 : tree _q21 = TREE_OPERAND (_p0, 1);
4533 : 126941 : switch (TREE_CODE (_p1))
4534 : : {
4535 : 16598 : case BIT_AND_EXPR:
4536 : 16598 : {
4537 : 16598 : tree _q50 = TREE_OPERAND (_p1, 0);
4538 : 16598 : tree _q51 = TREE_OPERAND (_p1, 1);
4539 : 16598 : {
4540 : 16598 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51 };
4541 : 16598 : tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4542 : 16598 : if (res) return res;
4543 : : }
4544 : 16598 : {
4545 : 16598 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q50 };
4546 : 16598 : tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4547 : 16598 : if (res) return res;
4548 : : }
4549 : 16594 : {
4550 : 16594 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q51 };
4551 : 16594 : tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4552 : 16594 : if (res) return res;
4553 : : }
4554 : 16594 : {
4555 : 16594 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q50 };
4556 : 16594 : tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4557 : 16594 : if (res) return res;
4558 : : }
4559 : 16594 : break;
4560 : : }
4561 : : default:;
4562 : : }
4563 : : break;
4564 : : }
4565 : 2888 : case BIT_XOR_EXPR:
4566 : 2888 : {
4567 : 2888 : tree _q20 = TREE_OPERAND (_p0, 0);
4568 : 2888 : tree _q21 = TREE_OPERAND (_p0, 1);
4569 : 2888 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
4570 : : {
4571 : 1 : {
4572 : 1 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
4573 : 1 : tree res = generic_simplify_67 (loc, type, _p0, _p1, captures);
4574 : 1 : if (res) return res;
4575 : : }
4576 : : }
4577 : 2887 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
4578 : : {
4579 : 0 : {
4580 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
4581 : 0 : tree res = generic_simplify_67 (loc, type, _p0, _p1, captures);
4582 : 0 : if (res) return res;
4583 : : }
4584 : : }
4585 : 2887 : switch (TREE_CODE (_p1))
4586 : : {
4587 : 102 : case BIT_AND_EXPR:
4588 : 102 : {
4589 : 102 : tree _q50 = TREE_OPERAND (_p1, 0);
4590 : 102 : tree _q51 = TREE_OPERAND (_p1, 1);
4591 : 102 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
4592 : : {
4593 : 30 : switch (TREE_CODE (_q51))
4594 : : {
4595 : 0 : case BIT_NOT_EXPR:
4596 : 0 : {
4597 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
4598 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
4599 : : {
4600 : 0 : {
4601 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p0 };
4602 : 0 : tree res = generic_simplify_68 (loc, type, _p0, _p1, captures);
4603 : 0 : if (res) return res;
4604 : : }
4605 : : }
4606 : : break;
4607 : : }
4608 : : default:;
4609 : : }
4610 : : }
4611 : 102 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
4612 : : {
4613 : 9 : switch (TREE_CODE (_q51))
4614 : : {
4615 : 0 : case BIT_NOT_EXPR:
4616 : 0 : {
4617 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
4618 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
4619 : : {
4620 : 0 : {
4621 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p0 };
4622 : 0 : tree res = generic_simplify_68 (loc, type, _p0, _p1, captures);
4623 : 0 : if (res) return res;
4624 : : }
4625 : : }
4626 : : break;
4627 : : }
4628 : : default:;
4629 : : }
4630 : : }
4631 : 102 : switch (TREE_CODE (_q50))
4632 : : {
4633 : 16 : case BIT_NOT_EXPR:
4634 : 16 : {
4635 : 16 : tree _q60 = TREE_OPERAND (_q50, 0);
4636 : 16 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
4637 : : {
4638 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
4639 : : {
4640 : 0 : {
4641 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p0 };
4642 : 0 : tree res = generic_simplify_68 (loc, type, _p0, _p1, captures);
4643 : 0 : if (res) return res;
4644 : : }
4645 : : }
4646 : : }
4647 : 16 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
4648 : : {
4649 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4650 : : {
4651 : 0 : {
4652 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p0 };
4653 : 0 : tree res = generic_simplify_68 (loc, type, _p0, _p1, captures);
4654 : 0 : if (res) return res;
4655 : : }
4656 : : }
4657 : : }
4658 : : break;
4659 : : }
4660 : : default:;
4661 : : }
4662 : : break;
4663 : : }
4664 : 2887 : default:;
4665 : : }
4666 : 2887 : {
4667 : 2887 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p0, _q20, _q21 };
4668 : 2887 : tree res = generic_simplify_69 (loc, type, _p0, _p1, captures);
4669 : 2887 : if (res) return res;
4670 : : }
4671 : 2887 : {
4672 : 2887 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p0, _q21, _q20 };
4673 : 2887 : tree res = generic_simplify_69 (loc, type, _p0, _p1, captures);
4674 : 2887 : if (res) return res;
4675 : : }
4676 : 2887 : break;
4677 : : }
4678 : 1785051 : default:;
4679 : : }
4680 : 1785051 : switch (TREE_CODE (_p1))
4681 : : {
4682 : 220 : case BIT_XOR_EXPR:
4683 : 220 : {
4684 : 220 : tree _q30 = TREE_OPERAND (_p1, 0);
4685 : 220 : tree _q31 = TREE_OPERAND (_p1, 1);
4686 : 220 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
4687 : : {
4688 : 15 : {
4689 : 15 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
4690 : 15 : tree res = generic_simplify_67 (loc, type, _p0, _p1, captures);
4691 : 15 : if (res) return res;
4692 : : }
4693 : : }
4694 : 205 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
4695 : : {
4696 : 0 : {
4697 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
4698 : 0 : tree res = generic_simplify_67 (loc, type, _p0, _p1, captures);
4699 : 0 : if (res) return res;
4700 : : }
4701 : : }
4702 : : break;
4703 : : }
4704 : 1785036 : default:;
4705 : : }
4706 : 1785036 : switch (TREE_CODE (_p0))
4707 : : {
4708 : 126937 : case BIT_AND_EXPR:
4709 : 126937 : {
4710 : 126937 : tree _q20 = TREE_OPERAND (_p0, 0);
4711 : 126937 : tree _q21 = TREE_OPERAND (_p0, 1);
4712 : 126937 : switch (TREE_CODE (_q21))
4713 : : {
4714 : 74 : case BIT_NOT_EXPR:
4715 : 74 : {
4716 : 74 : tree _q40 = TREE_OPERAND (_q21, 0);
4717 : 74 : switch (TREE_CODE (_p1))
4718 : : {
4719 : 0 : case BIT_XOR_EXPR:
4720 : 0 : {
4721 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
4722 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
4723 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
4724 : : {
4725 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
4726 : : {
4727 : 0 : {
4728 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q40, _p1 };
4729 : 0 : tree res = generic_simplify_70 (loc, type, _p0, _p1, captures);
4730 : 0 : if (res) return res;
4731 : : }
4732 : : }
4733 : : }
4734 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
4735 : : {
4736 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
4737 : : {
4738 : 0 : {
4739 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q40, _p1 };
4740 : 0 : tree res = generic_simplify_70 (loc, type, _p0, _p1, captures);
4741 : 0 : if (res) return res;
4742 : : }
4743 : : }
4744 : : }
4745 : : break;
4746 : : }
4747 : : default:;
4748 : : }
4749 : : break;
4750 : : }
4751 : 126937 : default:;
4752 : : }
4753 : 126937 : switch (TREE_CODE (_q20))
4754 : : {
4755 : 348 : case BIT_NOT_EXPR:
4756 : 348 : {
4757 : 348 : tree _q30 = TREE_OPERAND (_q20, 0);
4758 : 348 : switch (TREE_CODE (_p1))
4759 : : {
4760 : 54 : case BIT_XOR_EXPR:
4761 : 54 : {
4762 : 54 : tree _q60 = TREE_OPERAND (_p1, 0);
4763 : 54 : tree _q61 = TREE_OPERAND (_p1, 1);
4764 : 54 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
4765 : : {
4766 : 18 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
4767 : : {
4768 : 0 : {
4769 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q30, _p1 };
4770 : 0 : tree res = generic_simplify_70 (loc, type, _p0, _p1, captures);
4771 : 0 : if (res) return res;
4772 : : }
4773 : : }
4774 : : }
4775 : 54 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
4776 : : {
4777 : 9 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
4778 : : {
4779 : 0 : {
4780 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q30, _p1 };
4781 : 0 : tree res = generic_simplify_70 (loc, type, _p0, _p1, captures);
4782 : 0 : if (res) return res;
4783 : : }
4784 : : }
4785 : : }
4786 : : break;
4787 : : }
4788 : : default:;
4789 : : }
4790 : : break;
4791 : : }
4792 : : default:;
4793 : : }
4794 : : break;
4795 : : }
4796 : 1785036 : default:;
4797 : : }
4798 : 1785036 : switch (TREE_CODE (_p1))
4799 : : {
4800 : 416 : case BIT_NOT_EXPR:
4801 : 416 : {
4802 : 416 : tree _q30 = TREE_OPERAND (_p1, 0);
4803 : 416 : switch (TREE_CODE (_q30))
4804 : : {
4805 : 40 : case BIT_XOR_EXPR:
4806 : 40 : {
4807 : 40 : tree _q40 = TREE_OPERAND (_q30, 0);
4808 : 40 : tree _q41 = TREE_OPERAND (_q30, 1);
4809 : 40 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
4810 : : {
4811 : 0 : {
4812 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q41 };
4813 : 0 : tree res = generic_simplify_71 (loc, type, _p0, _p1, captures);
4814 : 0 : if (res) return res;
4815 : : }
4816 : : }
4817 : 40 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
4818 : : {
4819 : 0 : {
4820 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q40 };
4821 : 0 : tree res = generic_simplify_71 (loc, type, _p0, _p1, captures);
4822 : 0 : if (res) return res;
4823 : : }
4824 : : }
4825 : : break;
4826 : : }
4827 : : default:;
4828 : : }
4829 : : break;
4830 : : }
4831 : 1785036 : default:;
4832 : : }
4833 : 1785036 : switch (TREE_CODE (_p0))
4834 : : {
4835 : 21142 : case BIT_NOT_EXPR:
4836 : 21142 : {
4837 : 21142 : tree _q20 = TREE_OPERAND (_p0, 0);
4838 : 21142 : switch (TREE_CODE (_q20))
4839 : : {
4840 : 123 : case BIT_XOR_EXPR:
4841 : 123 : {
4842 : 123 : tree _q30 = TREE_OPERAND (_q20, 0);
4843 : 123 : tree _q31 = TREE_OPERAND (_q20, 1);
4844 : 123 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
4845 : : {
4846 : 0 : {
4847 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _p0, _q31 };
4848 : 0 : tree res = generic_simplify_71 (loc, type, _p0, _p1, captures);
4849 : 0 : if (res) return res;
4850 : : }
4851 : : }
4852 : 123 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
4853 : : {
4854 : 0 : {
4855 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _p0, _q30 };
4856 : 0 : tree res = generic_simplify_71 (loc, type, _p0, _p1, captures);
4857 : 0 : if (res) return res;
4858 : : }
4859 : : }
4860 : : break;
4861 : : }
4862 : : default:;
4863 : : }
4864 : : break;
4865 : : }
4866 : 1785036 : default:;
4867 : : }
4868 : 1785036 : {
4869 : 1785036 : tree _p1_pops[1];
4870 : 1785036 : if (tree_nop_convert (_p1, _p1_pops))
4871 : : {
4872 : 858340 : tree _q30 = _p1_pops[0];
4873 : 858340 : switch (TREE_CODE (_q30))
4874 : : {
4875 : 0 : case EQ_EXPR:
4876 : 0 : {
4877 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
4878 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
4879 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
4880 : : {
4881 : 0 : {
4882 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q41 };
4883 : 0 : tree res = generic_simplify_72 (loc, type, _p0, _p1, captures);
4884 : 0 : if (res) return res;
4885 : : }
4886 : : }
4887 : 0 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
4888 : : {
4889 : 0 : {
4890 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q40 };
4891 : 0 : tree res = generic_simplify_72 (loc, type, _p0, _p1, captures);
4892 : 0 : if (res) return res;
4893 : : }
4894 : : }
4895 : : break;
4896 : : }
4897 : : default:;
4898 : : }
4899 : : }
4900 : : }
4901 : 1785036 : {
4902 : 1785036 : tree _p0_pops[1];
4903 : 1785036 : if (tree_nop_convert (_p0, _p0_pops))
4904 : : {
4905 : 516752 : tree _q20 = _p0_pops[0];
4906 : 516752 : switch (TREE_CODE (_q20))
4907 : : {
4908 : 0 : case EQ_EXPR:
4909 : 0 : {
4910 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
4911 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
4912 : 0 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
4913 : : {
4914 : 0 : {
4915 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
4916 : 0 : tree res = generic_simplify_72 (loc, type, _p0, _p1, captures);
4917 : 0 : if (res) return res;
4918 : : }
4919 : : }
4920 : 0 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
4921 : : {
4922 : 0 : {
4923 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q31, _q30 };
4924 : 0 : tree res = generic_simplify_72 (loc, type, _p0, _p1, captures);
4925 : 0 : if (res) return res;
4926 : : }
4927 : : }
4928 : : break;
4929 : : }
4930 : : default:;
4931 : : }
4932 : : }
4933 : : }
4934 : 1785036 : switch (TREE_CODE (_p1))
4935 : : {
4936 : 540 : case EQ_EXPR:
4937 : 540 : {
4938 : 540 : tree _q30 = TREE_OPERAND (_p1, 0);
4939 : 540 : tree _q31 = TREE_OPERAND (_p1, 1);
4940 : 540 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
4941 : : {
4942 : 0 : {
4943 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
4944 : 0 : tree res = generic_simplify_72 (loc, type, _p0, _p1, captures);
4945 : 0 : if (res) return res;
4946 : : }
4947 : : }
4948 : 540 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
4949 : : {
4950 : 8 : {
4951 : 8 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
4952 : 8 : tree res = generic_simplify_72 (loc, type, _p0, _p1, captures);
4953 : 8 : if (res) return res;
4954 : : }
4955 : : }
4956 : : break;
4957 : : }
4958 : 1785036 : default:;
4959 : : }
4960 : 1785036 : switch (TREE_CODE (_p0))
4961 : : {
4962 : 459 : case EQ_EXPR:
4963 : 459 : {
4964 : 459 : tree _q20 = TREE_OPERAND (_p0, 0);
4965 : 459 : tree _q21 = TREE_OPERAND (_p0, 1);
4966 : 459 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
4967 : : {
4968 : 8 : {
4969 : 8 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
4970 : 8 : tree res = generic_simplify_72 (loc, type, _p0, _p1, captures);
4971 : 8 : if (res) return res;
4972 : : }
4973 : : }
4974 : 459 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
4975 : : {
4976 : 0 : {
4977 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
4978 : 0 : tree res = generic_simplify_72 (loc, type, _p0, _p1, captures);
4979 : 0 : if (res) return res;
4980 : : }
4981 : : }
4982 : : break;
4983 : : }
4984 : 1785036 : default:;
4985 : : }
4986 : 1785036 : switch (TREE_CODE (_p1))
4987 : : {
4988 : 205 : case BIT_XOR_EXPR:
4989 : 205 : {
4990 : 205 : tree _q30 = TREE_OPERAND (_p1, 0);
4991 : 205 : tree _q31 = TREE_OPERAND (_p1, 1);
4992 : 205 : {
4993 : 205 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31 };
4994 : 205 : tree res = generic_simplify_69 (loc, type, _p0, _p1, captures);
4995 : 205 : if (res) return res;
4996 : : }
4997 : 204 : {
4998 : 204 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p1, _q31, _q30 };
4999 : 204 : tree res = generic_simplify_69 (loc, type, _p0, _p1, captures);
5000 : 204 : if (res) return res;
5001 : : }
5002 : 204 : break;
5003 : : }
5004 : 1785035 : default:;
5005 : : }
5006 : 1785035 : switch (TREE_CODE (_p0))
5007 : : {
5008 : 21246 : case PLUS_EXPR:
5009 : 21246 : {
5010 : 21246 : tree _q20 = TREE_OPERAND (_p0, 0);
5011 : 21246 : tree _q21 = TREE_OPERAND (_p0, 1);
5012 : 21246 : if (integer_minus_onep (_q21))
5013 : : {
5014 : 10176 : switch (TREE_CODE (_p1))
5015 : : {
5016 : 9 : case NEGATE_EXPR:
5017 : 9 : {
5018 : 9 : tree _q50 = TREE_OPERAND (_p1, 0);
5019 : 9 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5020 : : {
5021 : 9 : {
5022 : 9 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
5023 : 9 : tree res = generic_simplify_73 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5024 : 9 : if (res) return res;
5025 : : }
5026 : : }
5027 : : break;
5028 : : }
5029 : : default:;
5030 : : }
5031 : : }
5032 : : break;
5033 : : }
5034 : 204 : case NEGATE_EXPR:
5035 : 204 : {
5036 : 204 : tree _q20 = TREE_OPERAND (_p0, 0);
5037 : 204 : switch (TREE_CODE (_p1))
5038 : : {
5039 : 8 : case PLUS_EXPR:
5040 : 8 : {
5041 : 8 : tree _q40 = TREE_OPERAND (_p1, 0);
5042 : 8 : tree _q41 = TREE_OPERAND (_p1, 1);
5043 : 8 : if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
5044 : : {
5045 : 0 : if (integer_minus_onep (_q41))
5046 : : {
5047 : 0 : {
5048 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
5049 : 0 : tree res = generic_simplify_74 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5050 : 0 : if (res) return res;
5051 : : }
5052 : : }
5053 : : }
5054 : : break;
5055 : : }
5056 : 0 : case MINUS_EXPR:
5057 : 0 : {
5058 : 0 : tree _q40 = TREE_OPERAND (_p1, 0);
5059 : 0 : tree _q41 = TREE_OPERAND (_p1, 1);
5060 : 0 : if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
5061 : : {
5062 : 0 : if (integer_onep (_q41))
5063 : : {
5064 : 0 : {
5065 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
5066 : 0 : tree res = generic_simplify_75 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5067 : 0 : if (res) return res;
5068 : : }
5069 : : }
5070 : : }
5071 : : break;
5072 : : }
5073 : : default:;
5074 : : }
5075 : : break;
5076 : : }
5077 : 10121 : case MINUS_EXPR:
5078 : 10121 : {
5079 : 10121 : tree _q20 = TREE_OPERAND (_p0, 0);
5080 : 10121 : tree _q21 = TREE_OPERAND (_p0, 1);
5081 : 10121 : if (integer_onep (_q21))
5082 : : {
5083 : 0 : switch (TREE_CODE (_p1))
5084 : : {
5085 : 0 : case NEGATE_EXPR:
5086 : 0 : {
5087 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
5088 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5089 : : {
5090 : 0 : {
5091 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
5092 : 0 : tree res = generic_simplify_76 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5093 : 0 : if (res) return res;
5094 : : }
5095 : : }
5096 : : break;
5097 : : }
5098 : : default:;
5099 : : }
5100 : : }
5101 : : break;
5102 : : }
5103 : 17142 : case BIT_IOR_EXPR:
5104 : 17142 : {
5105 : 17142 : tree _q20 = TREE_OPERAND (_p0, 0);
5106 : 17142 : tree _q21 = TREE_OPERAND (_p0, 1);
5107 : 17142 : switch (TREE_CODE (_p1))
5108 : : {
5109 : 5103 : case BIT_AND_EXPR:
5110 : 5103 : {
5111 : 5103 : tree _q50 = TREE_OPERAND (_p1, 0);
5112 : 5103 : tree _q51 = TREE_OPERAND (_p1, 1);
5113 : 5103 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5114 : : {
5115 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5116 : : {
5117 : 0 : {
5118 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
5119 : 0 : tree res = generic_simplify_77 (loc, type, _p0, _p1, captures, BIT_AND_EXPR);
5120 : 0 : if (res) return res;
5121 : : }
5122 : : }
5123 : : }
5124 : 5103 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
5125 : : {
5126 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
5127 : : {
5128 : 0 : {
5129 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
5130 : 0 : tree res = generic_simplify_77 (loc, type, _p0, _p1, captures, BIT_AND_EXPR);
5131 : 0 : if (res) return res;
5132 : : }
5133 : : }
5134 : : }
5135 : : break;
5136 : : }
5137 : 2 : case BIT_XOR_EXPR:
5138 : 2 : {
5139 : 2 : tree _q50 = TREE_OPERAND (_p1, 0);
5140 : 2 : tree _q51 = TREE_OPERAND (_p1, 1);
5141 : 2 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5142 : : {
5143 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5144 : : {
5145 : 0 : {
5146 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
5147 : 0 : tree res = generic_simplify_77 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5148 : 0 : if (res) return res;
5149 : : }
5150 : : }
5151 : : }
5152 : 2 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
5153 : : {
5154 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
5155 : : {
5156 : 0 : {
5157 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
5158 : 0 : tree res = generic_simplify_77 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5159 : 0 : if (res) return res;
5160 : : }
5161 : : }
5162 : : }
5163 : : break;
5164 : : }
5165 : 1891 : CASE_CONVERT:
5166 : 1891 : {
5167 : 1891 : tree _q50 = TREE_OPERAND (_p1, 0);
5168 : 1891 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
5169 : : {
5170 : 0 : {
5171 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q21 };
5172 : 0 : tree res = generic_simplify_78 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5173 : 0 : if (res) return res;
5174 : : }
5175 : : }
5176 : 1891 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
5177 : : {
5178 : 0 : {
5179 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _q20 };
5180 : 0 : tree res = generic_simplify_78 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5181 : 0 : if (res) return res;
5182 : : }
5183 : : }
5184 : : break;
5185 : : }
5186 : 17142 : default:;
5187 : : }
5188 : 17142 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q21, 0))
5189 : : {
5190 : 0 : {
5191 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q21 };
5192 : 0 : tree res = generic_simplify_78 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5193 : 0 : if (res) return res;
5194 : : }
5195 : : }
5196 : 17142 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q20, 0))
5197 : : {
5198 : 0 : {
5199 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _q20 };
5200 : 0 : tree res = generic_simplify_78 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5201 : 0 : if (res) return res;
5202 : : }
5203 : : }
5204 : : break;
5205 : : }
5206 : 126937 : case BIT_AND_EXPR:
5207 : 126937 : {
5208 : 126937 : tree _q20 = TREE_OPERAND (_p0, 0);
5209 : 126937 : tree _q21 = TREE_OPERAND (_p0, 1);
5210 : 126937 : switch (TREE_CODE (_p1))
5211 : : {
5212 : 1 : case BIT_IOR_EXPR:
5213 : 1 : {
5214 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
5215 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
5216 : 1 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5217 : : {
5218 : 1 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5219 : : {
5220 : 0 : {
5221 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
5222 : 0 : tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_AND_EXPR);
5223 : 0 : if (res) return res;
5224 : : }
5225 : : }
5226 : : }
5227 : 1 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
5228 : : {
5229 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
5230 : : {
5231 : 0 : {
5232 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q21, _q20 };
5233 : 0 : tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_AND_EXPR);
5234 : 0 : if (res) return res;
5235 : : }
5236 : : }
5237 : : }
5238 : : break;
5239 : : }
5240 : 73 : case BIT_NOT_EXPR:
5241 : 73 : {
5242 : 73 : tree _q50 = TREE_OPERAND (_p1, 0);
5243 : 73 : switch (TREE_CODE (_q50))
5244 : : {
5245 : 0 : case BIT_XOR_EXPR:
5246 : 0 : {
5247 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
5248 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
5249 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
5250 : : {
5251 : 0 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
5252 : : {
5253 : 0 : {
5254 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
5255 : 0 : tree res = generic_simplify_80 (loc, type, _p0, _p1, captures);
5256 : 0 : if (res) return res;
5257 : : }
5258 : : }
5259 : : }
5260 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
5261 : : {
5262 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
5263 : : {
5264 : 0 : {
5265 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
5266 : 0 : tree res = generic_simplify_80 (loc, type, _p0, _p1, captures);
5267 : 0 : if (res) return res;
5268 : : }
5269 : : }
5270 : : }
5271 : : break;
5272 : : }
5273 : : default:;
5274 : : }
5275 : : break;
5276 : : }
5277 : 24 : case EQ_EXPR:
5278 : 24 : {
5279 : 24 : tree _q50 = TREE_OPERAND (_p1, 0);
5280 : 24 : tree _q51 = TREE_OPERAND (_p1, 1);
5281 : 24 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5282 : : {
5283 : 8 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5284 : : {
5285 : 8 : {
5286 : 8 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
5287 : 8 : tree res = generic_simplify_81 (loc, type, _p0, _p1, captures);
5288 : 8 : if (res) return res;
5289 : : }
5290 : : }
5291 : : }
5292 : 24 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
5293 : : {
5294 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
5295 : : {
5296 : 0 : {
5297 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
5298 : 0 : tree res = generic_simplify_81 (loc, type, _p0, _p1, captures);
5299 : 0 : if (res) return res;
5300 : : }
5301 : : }
5302 : : }
5303 : : break;
5304 : : }
5305 : 126937 : default:;
5306 : : }
5307 : 126937 : {
5308 : 126937 : tree _p1_pops[1];
5309 : 126937 : if (tree_nop_convert (_p1, _p1_pops))
5310 : : {
5311 : 261 : tree _q50 = _p1_pops[0];
5312 : 261 : switch (TREE_CODE (_q50))
5313 : : {
5314 : 0 : case EQ_EXPR:
5315 : 0 : {
5316 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
5317 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
5318 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
5319 : : {
5320 : 0 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
5321 : : {
5322 : 0 : {
5323 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
5324 : 0 : tree res = generic_simplify_81 (loc, type, _p0, _p1, captures);
5325 : 0 : if (res) return res;
5326 : : }
5327 : : }
5328 : : }
5329 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
5330 : : {
5331 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
5332 : : {
5333 : 0 : {
5334 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
5335 : 0 : tree res = generic_simplify_81 (loc, type, _p0, _p1, captures);
5336 : 0 : if (res) return res;
5337 : : }
5338 : : }
5339 : : }
5340 : : break;
5341 : : }
5342 : : default:;
5343 : : }
5344 : : }
5345 : : }
5346 : 126937 : break;
5347 : : }
5348 : 2886 : case BIT_XOR_EXPR:
5349 : 2886 : {
5350 : 2886 : tree _q20 = TREE_OPERAND (_p0, 0);
5351 : 2886 : tree _q21 = TREE_OPERAND (_p0, 1);
5352 : 2886 : switch (TREE_CODE (_p1))
5353 : : {
5354 : 0 : case BIT_IOR_EXPR:
5355 : 0 : {
5356 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
5357 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
5358 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5359 : : {
5360 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5361 : : {
5362 : 0 : {
5363 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
5364 : 0 : tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5365 : 0 : if (res) return res;
5366 : : }
5367 : : }
5368 : : }
5369 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
5370 : : {
5371 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
5372 : : {
5373 : 0 : {
5374 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q21, _q20 };
5375 : 0 : tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5376 : 0 : if (res) return res;
5377 : : }
5378 : : }
5379 : : }
5380 : : break;
5381 : : }
5382 : 41 : case BIT_XOR_EXPR:
5383 : 41 : {
5384 : 41 : tree _q50 = TREE_OPERAND (_p1, 0);
5385 : 41 : tree _q51 = TREE_OPERAND (_p1, 1);
5386 : 41 : switch (TREE_CODE (_q50))
5387 : : {
5388 : 2 : case BIT_XOR_EXPR:
5389 : 2 : {
5390 : 2 : tree _q60 = TREE_OPERAND (_q50, 0);
5391 : 2 : tree _q61 = TREE_OPERAND (_q50, 1);
5392 : 2 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
5393 : : {
5394 : 1 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
5395 : : {
5396 : 1 : {
5397 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q61 };
5398 : 1 : tree res = generic_simplify_82 (loc, type, _p0, _p1, captures);
5399 : 1 : if (res) return res;
5400 : : }
5401 : : }
5402 : : }
5403 : 1 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
5404 : : {
5405 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
5406 : : {
5407 : 0 : {
5408 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q60 };
5409 : 0 : tree res = generic_simplify_82 (loc, type, _p0, _p1, captures);
5410 : 0 : if (res) return res;
5411 : : }
5412 : : }
5413 : : }
5414 : 1 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
5415 : : {
5416 : 1 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5417 : : {
5418 : 1 : {
5419 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _q61 };
5420 : 1 : tree res = generic_simplify_82 (loc, type, _p0, _p1, captures);
5421 : 1 : if (res) return res;
5422 : : }
5423 : : }
5424 : : }
5425 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
5426 : : {
5427 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5428 : : {
5429 : 0 : {
5430 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _q60 };
5431 : 0 : tree res = generic_simplify_82 (loc, type, _p0, _p1, captures);
5432 : 0 : if (res) return res;
5433 : : }
5434 : : }
5435 : : }
5436 : : break;
5437 : : }
5438 : 39 : default:;
5439 : : }
5440 : 39 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5441 : : {
5442 : 3 : switch (TREE_CODE (_q51))
5443 : : {
5444 : 0 : case BIT_XOR_EXPR:
5445 : 0 : {
5446 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
5447 : 0 : tree _q71 = TREE_OPERAND (_q51, 1);
5448 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
5449 : : {
5450 : 0 : {
5451 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q71 };
5452 : 0 : tree res = generic_simplify_82 (loc, type, _p0, _p1, captures);
5453 : 0 : if (res) return res;
5454 : : }
5455 : : }
5456 : 0 : if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
5457 : : {
5458 : 0 : {
5459 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q70 };
5460 : 0 : tree res = generic_simplify_82 (loc, type, _p0, _p1, captures);
5461 : 0 : if (res) return res;
5462 : : }
5463 : : }
5464 : : break;
5465 : : }
5466 : : default:;
5467 : : }
5468 : : }
5469 : 39 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
5470 : : {
5471 : 0 : switch (TREE_CODE (_q51))
5472 : : {
5473 : 0 : case BIT_XOR_EXPR:
5474 : 0 : {
5475 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
5476 : 0 : tree _q71 = TREE_OPERAND (_q51, 1);
5477 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
5478 : : {
5479 : 0 : {
5480 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _q71 };
5481 : 0 : tree res = generic_simplify_82 (loc, type, _p0, _p1, captures);
5482 : 0 : if (res) return res;
5483 : : }
5484 : : }
5485 : 0 : if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
5486 : : {
5487 : 0 : {
5488 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _q70 };
5489 : 0 : tree res = generic_simplify_82 (loc, type, _p0, _p1, captures);
5490 : 0 : if (res) return res;
5491 : : }
5492 : : }
5493 : : break;
5494 : : }
5495 : : default:;
5496 : : }
5497 : : }
5498 : : break;
5499 : : }
5500 : 2884 : default:;
5501 : : }
5502 : 2884 : switch (TREE_CODE (_q20))
5503 : : {
5504 : 18 : case BIT_XOR_EXPR:
5505 : 18 : {
5506 : 18 : tree _q30 = TREE_OPERAND (_q20, 0);
5507 : 18 : tree _q31 = TREE_OPERAND (_q20, 1);
5508 : 18 : switch (TREE_CODE (_p1))
5509 : : {
5510 : 0 : case BIT_XOR_EXPR:
5511 : 0 : {
5512 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
5513 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
5514 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
5515 : : {
5516 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
5517 : : {
5518 : 0 : {
5519 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q21, _q30, _q31 };
5520 : 0 : tree res = generic_simplify_83 (loc, type, _p0, _p1, captures);
5521 : 0 : if (res) return res;
5522 : : }
5523 : : }
5524 : 0 : if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
5525 : : {
5526 : 0 : {
5527 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q21, _q31, _q30 };
5528 : 0 : tree res = generic_simplify_83 (loc, type, _p0, _p1, captures);
5529 : 0 : if (res) return res;
5530 : : }
5531 : : }
5532 : : }
5533 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
5534 : : {
5535 : 0 : if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
5536 : : {
5537 : 0 : {
5538 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q21, _q30, _q31 };
5539 : 0 : tree res = generic_simplify_83 (loc, type, _p0, _p1, captures);
5540 : 0 : if (res) return res;
5541 : : }
5542 : : }
5543 : : }
5544 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
5545 : : {
5546 : 0 : if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
5547 : : {
5548 : 0 : {
5549 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q21, _q31, _q30 };
5550 : 0 : tree res = generic_simplify_83 (loc, type, _p0, _p1, captures);
5551 : 0 : if (res) return res;
5552 : : }
5553 : : }
5554 : : }
5555 : : break;
5556 : : }
5557 : : default:;
5558 : : }
5559 : : break;
5560 : : }
5561 : 2884 : default:;
5562 : : }
5563 : 2884 : switch (TREE_CODE (_q21))
5564 : : {
5565 : 0 : case BIT_XOR_EXPR:
5566 : 0 : {
5567 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
5568 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
5569 : 0 : switch (TREE_CODE (_p1))
5570 : : {
5571 : 0 : case BIT_XOR_EXPR:
5572 : 0 : {
5573 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
5574 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
5575 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
5576 : : {
5577 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
5578 : : {
5579 : 0 : {
5580 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _q40, _q41 };
5581 : 0 : tree res = generic_simplify_83 (loc, type, _p0, _p1, captures);
5582 : 0 : if (res) return res;
5583 : : }
5584 : : }
5585 : 0 : if ((_q71 == _q41 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q41, 0) && types_match (_q71, _q41)))
5586 : : {
5587 : 0 : {
5588 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _q41, _q40 };
5589 : 0 : tree res = generic_simplify_83 (loc, type, _p0, _p1, captures);
5590 : 0 : if (res) return res;
5591 : : }
5592 : : }
5593 : : }
5594 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
5595 : : {
5596 : 0 : if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
5597 : : {
5598 : 0 : {
5599 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _q40, _q41 };
5600 : 0 : tree res = generic_simplify_83 (loc, type, _p0, _p1, captures);
5601 : 0 : if (res) return res;
5602 : : }
5603 : : }
5604 : : }
5605 : 0 : if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
5606 : : {
5607 : 0 : if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
5608 : : {
5609 : 0 : {
5610 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _q41, _q40 };
5611 : 0 : tree res = generic_simplify_83 (loc, type, _p0, _p1, captures);
5612 : 0 : if (res) return res;
5613 : : }
5614 : : }
5615 : : }
5616 : : break;
5617 : : }
5618 : : default:;
5619 : : }
5620 : : break;
5621 : : }
5622 : : default:;
5623 : : }
5624 : : break;
5625 : : }
5626 : 21141 : case BIT_NOT_EXPR:
5627 : 21141 : {
5628 : 21141 : tree _q20 = TREE_OPERAND (_p0, 0);
5629 : 21141 : switch (TREE_CODE (_q20))
5630 : : {
5631 : 123 : case BIT_XOR_EXPR:
5632 : 123 : {
5633 : 123 : tree _q30 = TREE_OPERAND (_q20, 0);
5634 : 123 : tree _q31 = TREE_OPERAND (_q20, 1);
5635 : 123 : switch (TREE_CODE (_p1))
5636 : : {
5637 : 44 : case BIT_AND_EXPR:
5638 : 44 : {
5639 : 44 : tree _q60 = TREE_OPERAND (_p1, 0);
5640 : 44 : tree _q61 = TREE_OPERAND (_p1, 1);
5641 : 44 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
5642 : : {
5643 : 6 : if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
5644 : : {
5645 : 0 : {
5646 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
5647 : 0 : tree res = generic_simplify_84 (loc, type, _p0, _p1, captures);
5648 : 0 : if (res) return res;
5649 : : }
5650 : : }
5651 : : }
5652 : 44 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
5653 : : {
5654 : 9 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
5655 : : {
5656 : 0 : {
5657 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
5658 : 0 : tree res = generic_simplify_84 (loc, type, _p0, _p1, captures);
5659 : 0 : if (res) return res;
5660 : : }
5661 : : }
5662 : : }
5663 : : break;
5664 : : }
5665 : : default:;
5666 : : }
5667 : : break;
5668 : : }
5669 : : default:;
5670 : : }
5671 : : break;
5672 : : }
5673 : 459 : case EQ_EXPR:
5674 : 459 : {
5675 : 459 : tree _q20 = TREE_OPERAND (_p0, 0);
5676 : 459 : tree _q21 = TREE_OPERAND (_p0, 1);
5677 : 459 : switch (TREE_CODE (_p1))
5678 : : {
5679 : 8 : case BIT_AND_EXPR:
5680 : 8 : {
5681 : 8 : tree _q50 = TREE_OPERAND (_p1, 0);
5682 : 8 : tree _q51 = TREE_OPERAND (_p1, 1);
5683 : 8 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5684 : : {
5685 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5686 : : {
5687 : 0 : {
5688 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p0 };
5689 : 0 : tree res = generic_simplify_85 (loc, type, _p0, _p1, captures);
5690 : 0 : if (res) return res;
5691 : : }
5692 : : }
5693 : : }
5694 : 8 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
5695 : : {
5696 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
5697 : : {
5698 : 0 : {
5699 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p0 };
5700 : 0 : tree res = generic_simplify_85 (loc, type, _p0, _p1, captures);
5701 : 0 : if (res) return res;
5702 : : }
5703 : : }
5704 : : }
5705 : : break;
5706 : : }
5707 : : default:;
5708 : : }
5709 : : break;
5710 : : }
5711 : 1785024 : default:;
5712 : : }
5713 : 1785024 : {
5714 : 1785024 : tree _p0_pops[1];
5715 : 1785024 : if (tree_nop_convert (_p0, _p0_pops))
5716 : : {
5717 : 516752 : tree _q20 = _p0_pops[0];
5718 : 516752 : switch (TREE_CODE (_q20))
5719 : : {
5720 : 0 : case EQ_EXPR:
5721 : 0 : {
5722 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
5723 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
5724 : 0 : switch (TREE_CODE (_p1))
5725 : : {
5726 : 0 : case BIT_AND_EXPR:
5727 : 0 : {
5728 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
5729 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
5730 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
5731 : : {
5732 : 0 : if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
5733 : : {
5734 : 0 : {
5735 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
5736 : 0 : tree res = generic_simplify_85 (loc, type, _p0, _p1, captures);
5737 : 0 : if (res) return res;
5738 : : }
5739 : : }
5740 : : }
5741 : 0 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
5742 : : {
5743 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
5744 : : {
5745 : 0 : {
5746 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
5747 : 0 : tree res = generic_simplify_85 (loc, type, _p0, _p1, captures);
5748 : 0 : if (res) return res;
5749 : : }
5750 : : }
5751 : : }
5752 : : break;
5753 : : }
5754 : : default:;
5755 : : }
5756 : : break;
5757 : : }
5758 : : default:;
5759 : : }
5760 : : }
5761 : : }
5762 : 1785024 : if (integer_all_onesp (_p1))
5763 : : {
5764 : 91 : {
5765 : 91 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
5766 : 91 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1325;
5767 : 91 : {
5768 : 91 : tree _r;
5769 : 91 : _r = captures[1];
5770 : 91 : if (TREE_SIDE_EFFECTS (captures[0]))
5771 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
5772 : 91 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 940, __FILE__, __LINE__, true);
5773 : 91 : return _r;
5774 : : }
5775 : 0 : next_after_fail1325:;
5776 : : }
5777 : : }
5778 : 1784933 : if (integer_zerop (_p1))
5779 : : {
5780 : 0 : {
5781 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
5782 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1326;
5783 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1326;
5784 : 0 : {
5785 : 0 : tree _r;
5786 : 0 : _r = captures[0];
5787 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 941, __FILE__, __LINE__, true);
5788 : 0 : return _r;
5789 : : }
5790 : : next_after_fail1326:;
5791 : : }
5792 : : }
5793 : 1784933 : switch (TREE_CODE (_p0))
5794 : : {
5795 : 518495 : CASE_CONVERT:
5796 : 518495 : {
5797 : 518495 : tree _q20 = TREE_OPERAND (_p0, 0);
5798 : 518495 : switch (TREE_CODE (_p1))
5799 : : {
5800 : 494795 : CASE_CONVERT:
5801 : 494795 : {
5802 : 494795 : tree _q40 = TREE_OPERAND (_p1, 0);
5803 : 494795 : {
5804 : 494795 : tree _q40_pops[1];
5805 : 494795 : if (tree_maybe_bit_not (_q40, _q40_pops))
5806 : : {
5807 : 9 : tree _q50 = _q40_pops[0];
5808 : 9 : {
5809 : 9 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
5810 : 9 : tree res = generic_simplify_86 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5811 : 9 : if (res) return res;
5812 : : }
5813 : : }
5814 : : }
5815 : 494795 : break;
5816 : : }
5817 : 518495 : default:;
5818 : : }
5819 : 518495 : {
5820 : 518495 : tree _q20_pops[1];
5821 : 518495 : if (tree_maybe_bit_not (_q20, _q20_pops))
5822 : : {
5823 : 91 : tree _q30 = _q20_pops[0];
5824 : 91 : switch (TREE_CODE (_p1))
5825 : : {
5826 : 19 : CASE_CONVERT:
5827 : 19 : {
5828 : 19 : tree _q50 = TREE_OPERAND (_p1, 0);
5829 : 19 : {
5830 : 19 : tree captures[2] ATTRIBUTE_UNUSED = { _q50, _q30 };
5831 : 19 : tree res = generic_simplify_86 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5832 : 19 : if (res) return res;
5833 : : }
5834 : 16 : break;
5835 : : }
5836 : : default:;
5837 : : }
5838 : : }
5839 : : }
5840 : 518492 : break;
5841 : : }
5842 : 1784930 : default:;
5843 : : }
5844 : 1784930 : {
5845 : 1784930 : tree _p1_pops[1];
5846 : 1784930 : if (tree_maybe_bit_not (_p1, _p1_pops))
5847 : : {
5848 : 160688 : tree _q30 = _p1_pops[0];
5849 : 160688 : {
5850 : 160688 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
5851 : 160688 : tree res = generic_simplify_86 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5852 : 160688 : if (res) return res;
5853 : : }
5854 : : }
5855 : : }
5856 : 1784918 : {
5857 : 1784918 : tree _p0_pops[1];
5858 : 1784918 : if (tree_maybe_bit_not (_p0, _p0_pops))
5859 : : {
5860 : 22402 : tree _q20 = _p0_pops[0];
5861 : 22402 : {
5862 : 22402 : tree captures[2] ATTRIBUTE_UNUSED = { _p1, _q20 };
5863 : 22402 : tree res = generic_simplify_86 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5864 : 22402 : if (res) return res;
5865 : : }
5866 : : }
5867 : : }
5868 : 1784907 : if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
5869 : : {
5870 : 122 : {
5871 : 122 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
5872 : 122 : tree res = generic_simplify_87 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5873 : 122 : if (res) return res;
5874 : : }
5875 : : }
5876 : 1784785 : switch (TREE_CODE (_p1))
5877 : : {
5878 : 411 : case BIT_NOT_EXPR:
5879 : 411 : {
5880 : 411 : tree _q30 = TREE_OPERAND (_p1, 0);
5881 : 411 : switch (TREE_CODE (_q30))
5882 : : {
5883 : 60 : case BIT_IOR_EXPR:
5884 : 60 : {
5885 : 60 : tree _q40 = TREE_OPERAND (_q30, 0);
5886 : 60 : tree _q41 = TREE_OPERAND (_q30, 1);
5887 : 60 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
5888 : : {
5889 : 0 : {
5890 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q41 };
5891 : 0 : tree res = generic_simplify_88 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5892 : 0 : if (res) return res;
5893 : : }
5894 : : }
5895 : 60 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
5896 : : {
5897 : 0 : {
5898 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q40 };
5899 : 0 : tree res = generic_simplify_88 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5900 : 0 : if (res) return res;
5901 : : }
5902 : : }
5903 : : break;
5904 : : }
5905 : : default:;
5906 : : }
5907 : : break;
5908 : : }
5909 : 1784785 : default:;
5910 : : }
5911 : 1784785 : switch (TREE_CODE (_p0))
5912 : : {
5913 : 21130 : case BIT_NOT_EXPR:
5914 : 21130 : {
5915 : 21130 : tree _q20 = TREE_OPERAND (_p0, 0);
5916 : 21130 : switch (TREE_CODE (_q20))
5917 : : {
5918 : 101 : case BIT_IOR_EXPR:
5919 : 101 : {
5920 : 101 : tree _q30 = TREE_OPERAND (_q20, 0);
5921 : 101 : tree _q31 = TREE_OPERAND (_q20, 1);
5922 : 101 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
5923 : : {
5924 : 5 : {
5925 : 5 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q20, _q31 };
5926 : 5 : tree res = generic_simplify_88 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5927 : 5 : if (res) return res;
5928 : : }
5929 : : }
5930 : 96 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
5931 : : {
5932 : 3 : {
5933 : 3 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q20, _q30 };
5934 : 3 : tree res = generic_simplify_88 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5935 : 3 : if (res) return res;
5936 : : }
5937 : : }
5938 : 93 : switch (TREE_CODE (_p1))
5939 : : {
5940 : 20 : case BIT_AND_EXPR:
5941 : 20 : {
5942 : 20 : tree _q60 = TREE_OPERAND (_p1, 0);
5943 : 20 : tree _q61 = TREE_OPERAND (_p1, 1);
5944 : 20 : switch (TREE_CODE (_q60))
5945 : : {
5946 : 1 : case BIT_NOT_EXPR:
5947 : 1 : {
5948 : 1 : tree _q70 = TREE_OPERAND (_q60, 0);
5949 : 1 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
5950 : : {
5951 : 1 : if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
5952 : : {
5953 : 1 : {
5954 : 1 : tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q30, _q31 };
5955 : 1 : tree res = generic_simplify_89 (loc, type, _p0, _p1, captures);
5956 : 1 : if (res) return res;
5957 : : }
5958 : : }
5959 : : }
5960 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
5961 : : {
5962 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
5963 : : {
5964 : 0 : {
5965 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q31, _q30 };
5966 : 0 : tree res = generic_simplify_89 (loc, type, _p0, _p1, captures);
5967 : 0 : if (res) return res;
5968 : : }
5969 : : }
5970 : : }
5971 : : break;
5972 : : }
5973 : 19 : default:;
5974 : : }
5975 : 19 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
5976 : : {
5977 : 3 : switch (TREE_CODE (_q61))
5978 : : {
5979 : 0 : case BIT_NOT_EXPR:
5980 : 0 : {
5981 : 0 : tree _q80 = TREE_OPERAND (_q61, 0);
5982 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
5983 : : {
5984 : 0 : {
5985 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q61, _q30, _q31 };
5986 : 0 : tree res = generic_simplify_89 (loc, type, _p0, _p1, captures);
5987 : 0 : if (res) return res;
5988 : : }
5989 : : }
5990 : : break;
5991 : : }
5992 : : default:;
5993 : : }
5994 : : }
5995 : 19 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
5996 : : {
5997 : 7 : switch (TREE_CODE (_q61))
5998 : : {
5999 : 0 : case BIT_NOT_EXPR:
6000 : 0 : {
6001 : 0 : tree _q80 = TREE_OPERAND (_q61, 0);
6002 : 0 : if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
6003 : : {
6004 : 0 : {
6005 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q61, _q31, _q30 };
6006 : 0 : tree res = generic_simplify_89 (loc, type, _p0, _p1, captures);
6007 : 0 : if (res) return res;
6008 : : }
6009 : : }
6010 : : break;
6011 : : }
6012 : 7 : default:;
6013 : : }
6014 : 7 : if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
6015 : : {
6016 : 1 : {
6017 : 1 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q30, _q31, _p0, _q20 };
6018 : 1 : tree res = generic_simplify_90 (loc, type, _p0, _p1, captures);
6019 : 1 : if (res) return res;
6020 : : }
6021 : : }
6022 : : }
6023 : : break;
6024 : : }
6025 : 27 : case BIT_XOR_EXPR:
6026 : 27 : {
6027 : 27 : tree _q60 = TREE_OPERAND (_p1, 0);
6028 : 27 : tree _q61 = TREE_OPERAND (_p1, 1);
6029 : 27 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
6030 : : {
6031 : 6 : if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
6032 : : {
6033 : 0 : {
6034 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q30, _q31, _p0, _q20 };
6035 : 0 : tree res = generic_simplify_91 (loc, type, _p0, _p1, captures);
6036 : 0 : if (res) return res;
6037 : : }
6038 : : }
6039 : : }
6040 : : break;
6041 : : }
6042 : : default:;
6043 : : }
6044 : : break;
6045 : : }
6046 : 21120 : default:;
6047 : : }
6048 : 21120 : switch (TREE_CODE (_p1))
6049 : : {
6050 : 84 : CASE_CONVERT:
6051 : 84 : {
6052 : 84 : tree _q40 = TREE_OPERAND (_p1, 0);
6053 : 84 : switch (TREE_CODE (_q40))
6054 : : {
6055 : 0 : case BIT_NOT_EXPR:
6056 : 0 : {
6057 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
6058 : 0 : {
6059 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
6060 : 0 : tree res = generic_simplify_92 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6061 : 0 : if (res) return res;
6062 : : }
6063 : 0 : break;
6064 : : }
6065 : : default:;
6066 : : }
6067 : : break;
6068 : : }
6069 : 16 : case BIT_NOT_EXPR:
6070 : 16 : {
6071 : 16 : tree _q40 = TREE_OPERAND (_p1, 0);
6072 : 16 : {
6073 : 16 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
6074 : 16 : tree res = generic_simplify_92 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6075 : 16 : if (res) return res;
6076 : : }
6077 : 0 : break;
6078 : : }
6079 : : default:;
6080 : : }
6081 : : break;
6082 : : }
6083 : 126937 : case BIT_AND_EXPR:
6084 : 126937 : {
6085 : 126937 : tree _q20 = TREE_OPERAND (_p0, 0);
6086 : 126937 : tree _q21 = TREE_OPERAND (_p0, 1);
6087 : 126937 : switch (TREE_CODE (_q20))
6088 : : {
6089 : 348 : case BIT_NOT_EXPR:
6090 : 348 : {
6091 : 348 : tree _q30 = TREE_OPERAND (_q20, 0);
6092 : 348 : switch (TREE_CODE (_p1))
6093 : : {
6094 : 18 : case BIT_NOT_EXPR:
6095 : 18 : {
6096 : 18 : tree _q60 = TREE_OPERAND (_p1, 0);
6097 : 18 : switch (TREE_CODE (_q60))
6098 : : {
6099 : 0 : case BIT_IOR_EXPR:
6100 : 0 : {
6101 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
6102 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
6103 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
6104 : : {
6105 : 0 : if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
6106 : : {
6107 : 0 : {
6108 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q21 };
6109 : 0 : tree res = generic_simplify_93 (loc, type, _p0, _p1, captures);
6110 : 0 : if (res) return res;
6111 : : }
6112 : : }
6113 : : }
6114 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
6115 : : {
6116 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
6117 : : {
6118 : 0 : {
6119 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q21 };
6120 : 0 : tree res = generic_simplify_93 (loc, type, _p0, _p1, captures);
6121 : 0 : if (res) return res;
6122 : : }
6123 : : }
6124 : : }
6125 : : break;
6126 : : }
6127 : : default:;
6128 : : }
6129 : : break;
6130 : : }
6131 : : default:;
6132 : : }
6133 : : break;
6134 : : }
6135 : 126937 : default:;
6136 : : }
6137 : 126937 : switch (TREE_CODE (_q21))
6138 : : {
6139 : 74 : case BIT_NOT_EXPR:
6140 : 74 : {
6141 : 74 : tree _q40 = TREE_OPERAND (_q21, 0);
6142 : 74 : switch (TREE_CODE (_p1))
6143 : : {
6144 : 0 : case BIT_NOT_EXPR:
6145 : 0 : {
6146 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
6147 : 0 : switch (TREE_CODE (_q60))
6148 : : {
6149 : 0 : case BIT_IOR_EXPR:
6150 : 0 : {
6151 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
6152 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
6153 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
6154 : : {
6155 : 0 : if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
6156 : : {
6157 : 0 : {
6158 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q40, _q20 };
6159 : 0 : tree res = generic_simplify_93 (loc, type, _p0, _p1, captures);
6160 : 0 : if (res) return res;
6161 : : }
6162 : : }
6163 : : }
6164 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
6165 : : {
6166 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
6167 : : {
6168 : 0 : {
6169 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q40, _q20 };
6170 : 0 : tree res = generic_simplify_93 (loc, type, _p0, _p1, captures);
6171 : 0 : if (res) return res;
6172 : : }
6173 : : }
6174 : : }
6175 : : break;
6176 : : }
6177 : : default:;
6178 : : }
6179 : : break;
6180 : : }
6181 : : default:;
6182 : : }
6183 : : break;
6184 : : }
6185 : 126937 : default:;
6186 : : }
6187 : 126937 : switch (TREE_CODE (_p1))
6188 : : {
6189 : 73 : case BIT_NOT_EXPR:
6190 : 73 : {
6191 : 73 : tree _q50 = TREE_OPERAND (_p1, 0);
6192 : 73 : switch (TREE_CODE (_q50))
6193 : : {
6194 : 9 : case BIT_IOR_EXPR:
6195 : 9 : {
6196 : 9 : tree _q60 = TREE_OPERAND (_q50, 0);
6197 : 9 : tree _q61 = TREE_OPERAND (_q50, 1);
6198 : 9 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
6199 : : {
6200 : 0 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
6201 : : {
6202 : 0 : {
6203 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
6204 : 0 : tree res = generic_simplify_90 (loc, type, _p0, _p1, captures);
6205 : 0 : if (res) return res;
6206 : : }
6207 : : }
6208 : : }
6209 : : break;
6210 : : }
6211 : : default:;
6212 : : }
6213 : : break;
6214 : : }
6215 : 62 : case BIT_XOR_EXPR:
6216 : 62 : {
6217 : 62 : tree _q50 = TREE_OPERAND (_p1, 0);
6218 : 62 : tree _q51 = TREE_OPERAND (_p1, 1);
6219 : 62 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
6220 : : {
6221 : 8 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
6222 : : {
6223 : 0 : {
6224 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
6225 : 0 : tree res = generic_simplify_8 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6226 : 0 : if (res) return res;
6227 : : }
6228 : : }
6229 : : }
6230 : : break;
6231 : : }
6232 : 16594 : case BIT_AND_EXPR:
6233 : 16594 : {
6234 : 16594 : tree _q50 = TREE_OPERAND (_p1, 0);
6235 : 16594 : tree _q51 = TREE_OPERAND (_p1, 1);
6236 : 16594 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
6237 : : {
6238 : 159 : {
6239 : 159 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q20 };
6240 : 159 : tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6241 : 159 : if (res) return res;
6242 : : }
6243 : : }
6244 : 16435 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
6245 : : {
6246 : 0 : {
6247 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q20 };
6248 : 0 : tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6249 : 0 : if (res) return res;
6250 : : }
6251 : : }
6252 : 16435 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
6253 : : {
6254 : 0 : {
6255 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q21 };
6256 : 0 : tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6257 : 0 : if (res) return res;
6258 : : }
6259 : : }
6260 : 16435 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q21, 0))
6261 : : {
6262 : 9 : {
6263 : 9 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q21 };
6264 : 9 : tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6265 : 9 : if (res) return res;
6266 : : }
6267 : : }
6268 : : break;
6269 : : }
6270 : : default:;
6271 : : }
6272 : : break;
6273 : : }
6274 : 2884 : case BIT_XOR_EXPR:
6275 : 2884 : {
6276 : 2884 : tree _q20 = TREE_OPERAND (_p0, 0);
6277 : 2884 : tree _q21 = TREE_OPERAND (_p0, 1);
6278 : 2884 : switch (TREE_CODE (_p1))
6279 : : {
6280 : 54 : case BIT_NOT_EXPR:
6281 : 54 : {
6282 : 54 : tree _q50 = TREE_OPERAND (_p1, 0);
6283 : 54 : switch (TREE_CODE (_q50))
6284 : : {
6285 : 19 : case BIT_IOR_EXPR:
6286 : 19 : {
6287 : 19 : tree _q60 = TREE_OPERAND (_q50, 0);
6288 : 19 : tree _q61 = TREE_OPERAND (_q50, 1);
6289 : 19 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
6290 : : {
6291 : 1 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
6292 : : {
6293 : 1 : {
6294 : 1 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
6295 : 1 : tree res = generic_simplify_91 (loc, type, _p0, _p1, captures);
6296 : 1 : if (res) return res;
6297 : : }
6298 : : }
6299 : : }
6300 : : break;
6301 : : }
6302 : : default:;
6303 : : }
6304 : : break;
6305 : : }
6306 : 102 : case BIT_AND_EXPR:
6307 : 102 : {
6308 : 102 : tree _q50 = TREE_OPERAND (_p1, 0);
6309 : 102 : tree _q51 = TREE_OPERAND (_p1, 1);
6310 : 102 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
6311 : : {
6312 : 30 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
6313 : : {
6314 : 0 : {
6315 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
6316 : 0 : tree res = generic_simplify_8 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6317 : 0 : if (res) return res;
6318 : : }
6319 : : }
6320 : : }
6321 : : break;
6322 : : }
6323 : : default:;
6324 : : }
6325 : : break;
6326 : : }
6327 : 518486 : CASE_CONVERT:
6328 : 518486 : {
6329 : 518486 : tree _q20 = TREE_OPERAND (_p0, 0);
6330 : 518486 : switch (TREE_CODE (_q20))
6331 : : {
6332 : 72 : case BIT_NOT_EXPR:
6333 : 72 : {
6334 : 72 : tree _q30 = TREE_OPERAND (_q20, 0);
6335 : 72 : switch (TREE_CODE (_p1))
6336 : : {
6337 : 8 : CASE_CONVERT:
6338 : 8 : {
6339 : 8 : tree _q50 = TREE_OPERAND (_p1, 0);
6340 : 8 : switch (TREE_CODE (_q50))
6341 : : {
6342 : 0 : case BIT_NOT_EXPR:
6343 : 0 : {
6344 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
6345 : 0 : {
6346 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q60 };
6347 : 0 : tree res = generic_simplify_92 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6348 : 0 : if (res) return res;
6349 : : }
6350 : 0 : break;
6351 : : }
6352 : : default:;
6353 : : }
6354 : : break;
6355 : : }
6356 : 32 : case BIT_NOT_EXPR:
6357 : 32 : {
6358 : 32 : tree _q50 = TREE_OPERAND (_p1, 0);
6359 : 32 : {
6360 : 32 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q50 };
6361 : 32 : tree res = generic_simplify_92 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6362 : 32 : if (res) return res;
6363 : : }
6364 : 32 : break;
6365 : : }
6366 : : default:;
6367 : : }
6368 : : break;
6369 : : }
6370 : 124 : case BIT_AND_EXPR:
6371 : 124 : {
6372 : 124 : tree _q30 = TREE_OPERAND (_q20, 0);
6373 : 124 : tree _q31 = TREE_OPERAND (_q20, 1);
6374 : 124 : switch (TREE_CODE (_p1))
6375 : : {
6376 : 6 : CASE_CONVERT:
6377 : 6 : {
6378 : 6 : tree _q60 = TREE_OPERAND (_p1, 0);
6379 : 6 : switch (TREE_CODE (_q60))
6380 : : {
6381 : 0 : case BIT_AND_EXPR:
6382 : 0 : {
6383 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
6384 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
6385 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || operand_equal_p (_q70, _q30, 0))
6386 : : {
6387 : 0 : {
6388 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q71, _q30 };
6389 : 0 : tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6390 : 0 : if (res) return res;
6391 : : }
6392 : : }
6393 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || operand_equal_p (_q71, _q30, 0))
6394 : : {
6395 : 0 : {
6396 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q70, _q30 };
6397 : 0 : tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6398 : 0 : if (res) return res;
6399 : : }
6400 : : }
6401 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || operand_equal_p (_q70, _q31, 0))
6402 : : {
6403 : 0 : {
6404 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q71, _q31 };
6405 : 0 : tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6406 : 0 : if (res) return res;
6407 : : }
6408 : : }
6409 : 0 : if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || operand_equal_p (_q71, _q31, 0))
6410 : : {
6411 : 0 : {
6412 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q70, _q31 };
6413 : 0 : tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6414 : 0 : if (res) return res;
6415 : : }
6416 : : }
6417 : : break;
6418 : : }
6419 : : default:;
6420 : : }
6421 : : break;
6422 : : }
6423 : : default:;
6424 : : }
6425 : : break;
6426 : : }
6427 : 98 : case BIT_IOR_EXPR:
6428 : 98 : {
6429 : 98 : tree _q30 = TREE_OPERAND (_q20, 0);
6430 : 98 : tree _q31 = TREE_OPERAND (_q20, 1);
6431 : 98 : switch (TREE_CODE (_p1))
6432 : : {
6433 : 4 : CASE_CONVERT:
6434 : 4 : {
6435 : 4 : tree _q60 = TREE_OPERAND (_p1, 0);
6436 : 4 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q31, 0))
6437 : : {
6438 : 0 : {
6439 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _q31 };
6440 : 0 : tree res = generic_simplify_78 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6441 : 0 : if (res) return res;
6442 : : }
6443 : : }
6444 : 4 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q30, 0))
6445 : : {
6446 : 0 : {
6447 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q31, _q30, _q30 };
6448 : 0 : tree res = generic_simplify_78 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6449 : 0 : if (res) return res;
6450 : : }
6451 : : }
6452 : : break;
6453 : : }
6454 : 98 : default:;
6455 : : }
6456 : 98 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q31, 0))
6457 : : {
6458 : 0 : {
6459 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _q31 };
6460 : 0 : tree res = generic_simplify_78 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6461 : 0 : if (res) return res;
6462 : : }
6463 : : }
6464 : 98 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q30, 0))
6465 : : {
6466 : 0 : {
6467 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q31, _q30, _q30 };
6468 : 0 : tree res = generic_simplify_78 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6469 : 0 : if (res) return res;
6470 : : }
6471 : : }
6472 : : break;
6473 : : }
6474 : 518486 : default:;
6475 : : }
6476 : 518486 : switch (TREE_CODE (_p1))
6477 : : {
6478 : 494791 : CASE_CONVERT:
6479 : 494791 : {
6480 : 494791 : tree _q40 = TREE_OPERAND (_p1, 0);
6481 : 494791 : switch (TREE_CODE (_q40))
6482 : : {
6483 : 0 : case BIT_IOR_EXPR:
6484 : 0 : {
6485 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
6486 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
6487 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
6488 : : {
6489 : 0 : {
6490 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q50, _q51, _q20 };
6491 : 0 : tree res = generic_simplify_95 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6492 : 0 : if (res) return res;
6493 : : }
6494 : : }
6495 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
6496 : : {
6497 : 0 : {
6498 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q51, _q50, _q20 };
6499 : 0 : tree res = generic_simplify_95 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6500 : 0 : if (res) return res;
6501 : : }
6502 : : }
6503 : : break;
6504 : : }
6505 : : default:;
6506 : : }
6507 : : break;
6508 : : }
6509 : 8 : case BIT_IOR_EXPR:
6510 : 8 : {
6511 : 8 : tree _q40 = TREE_OPERAND (_p1, 0);
6512 : 8 : tree _q41 = TREE_OPERAND (_p1, 1);
6513 : 8 : if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _q20, 0))
6514 : : {
6515 : 0 : {
6516 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _q20 };
6517 : 0 : tree res = generic_simplify_95 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6518 : 0 : if (res) return res;
6519 : : }
6520 : : }
6521 : 8 : if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _q20, 0))
6522 : : {
6523 : 0 : {
6524 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q41, _q40, _q20 };
6525 : 0 : tree res = generic_simplify_95 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6526 : 0 : if (res) return res;
6527 : : }
6528 : : }
6529 : : break;
6530 : : }
6531 : : default:;
6532 : : }
6533 : : break;
6534 : : }
6535 : 1784590 : default:;
6536 : : }
6537 : 1784590 : switch (TREE_CODE (_p1))
6538 : : {
6539 : 841162 : CASE_CONVERT:
6540 : 841162 : {
6541 : 841162 : tree _q30 = TREE_OPERAND (_p1, 0);
6542 : 841162 : switch (TREE_CODE (_q30))
6543 : : {
6544 : 28 : case BIT_IOR_EXPR:
6545 : 28 : {
6546 : 28 : tree _q40 = TREE_OPERAND (_q30, 0);
6547 : 28 : tree _q41 = TREE_OPERAND (_q30, 1);
6548 : 28 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _p0, 0))
6549 : : {
6550 : 0 : {
6551 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0 };
6552 : 0 : tree res = generic_simplify_95 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6553 : 0 : if (res) return res;
6554 : : }
6555 : : }
6556 : 28 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _p0, 0))
6557 : : {
6558 : 0 : {
6559 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q41, _q40, _p0 };
6560 : 0 : tree res = generic_simplify_95 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6561 : 0 : if (res) return res;
6562 : : }
6563 : : }
6564 : : break;
6565 : : }
6566 : : default:;
6567 : : }
6568 : : break;
6569 : : }
6570 : 485 : case BIT_IOR_EXPR:
6571 : 485 : {
6572 : 485 : tree _q30 = TREE_OPERAND (_p1, 0);
6573 : 485 : tree _q31 = TREE_OPERAND (_p1, 1);
6574 : 485 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || operand_equal_p (_q31, _p0, 0))
6575 : : {
6576 : 0 : {
6577 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q31, _p0 };
6578 : 0 : tree res = generic_simplify_95 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6579 : 0 : if (res) return res;
6580 : : }
6581 : : }
6582 : 485 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || operand_equal_p (_q30, _p0, 0))
6583 : : {
6584 : 0 : {
6585 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q31, _q30, _p0 };
6586 : 0 : tree res = generic_simplify_95 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6587 : 0 : if (res) return res;
6588 : : }
6589 : : }
6590 : : break;
6591 : : }
6592 : 1784590 : default:;
6593 : : }
6594 : 1784590 : switch (TREE_CODE (_p0))
6595 : : {
6596 : 17142 : case BIT_IOR_EXPR:
6597 : 17142 : {
6598 : 17142 : tree _q20 = TREE_OPERAND (_p0, 0);
6599 : 17142 : tree _q21 = TREE_OPERAND (_p0, 1);
6600 : 17142 : {
6601 : 17142 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
6602 : 17142 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures);
6603 : 17142 : if (res) return res;
6604 : : }
6605 : 17142 : switch (TREE_CODE (_p1))
6606 : : {
6607 : 1891 : CASE_CONVERT:
6608 : 1891 : {
6609 : 1891 : tree _q50 = TREE_OPERAND (_p1, 0);
6610 : 1891 : switch (TREE_CODE (_q50))
6611 : : {
6612 : 0 : case BIT_IOR_EXPR:
6613 : 0 : {
6614 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
6615 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
6616 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
6617 : : {
6618 : 0 : {
6619 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1, _q50, _q61 };
6620 : 0 : tree res = generic_simplify_97 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6621 : 0 : if (res) return res;
6622 : : }
6623 : : }
6624 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
6625 : : {
6626 : 0 : {
6627 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1, _q50, _q60 };
6628 : 0 : tree res = generic_simplify_97 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6629 : 0 : if (res) return res;
6630 : : }
6631 : : }
6632 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
6633 : : {
6634 : 0 : {
6635 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q20, _p1, _q50, _q61 };
6636 : 0 : tree res = generic_simplify_97 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6637 : 0 : if (res) return res;
6638 : : }
6639 : : }
6640 : 0 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
6641 : : {
6642 : 0 : {
6643 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q20, _p1, _q50, _q60 };
6644 : 0 : tree res = generic_simplify_97 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6645 : 0 : if (res) return res;
6646 : : }
6647 : : }
6648 : : break;
6649 : : }
6650 : : default:;
6651 : : }
6652 : : break;
6653 : : }
6654 : 1 : case BIT_IOR_EXPR:
6655 : 1 : {
6656 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
6657 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
6658 : 1 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
6659 : : {
6660 : 0 : {
6661 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1, _p1, _q51 };
6662 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6663 : 0 : if (res) return res;
6664 : : }
6665 : : }
6666 : 1 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
6667 : : {
6668 : 0 : {
6669 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1, _p1, _q50 };
6670 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6671 : 0 : if (res) return res;
6672 : : }
6673 : : }
6674 : 1 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
6675 : : {
6676 : 0 : {
6677 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q20, _p1, _p1, _q51 };
6678 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6679 : 0 : if (res) return res;
6680 : : }
6681 : : }
6682 : 1 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
6683 : : {
6684 : 0 : {
6685 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q20, _p1, _p1, _q50 };
6686 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6687 : 0 : if (res) return res;
6688 : : }
6689 : : }
6690 : : break;
6691 : : }
6692 : : default:;
6693 : : }
6694 : : break;
6695 : : }
6696 : 1784590 : default:;
6697 : : }
6698 : 1784590 : switch (TREE_CODE (_p1))
6699 : : {
6700 : 485 : case BIT_IOR_EXPR:
6701 : 485 : {
6702 : 485 : tree _q30 = TREE_OPERAND (_p1, 0);
6703 : 485 : tree _q31 = TREE_OPERAND (_p1, 1);
6704 : 485 : {
6705 : 485 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
6706 : 485 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures);
6707 : 485 : if (res) return res;
6708 : : }
6709 : 485 : break;
6710 : : }
6711 : 1784590 : default:;
6712 : : }
6713 : 1784590 : switch (TREE_CODE (_p0))
6714 : : {
6715 : 518486 : CASE_CONVERT:
6716 : 518486 : {
6717 : 518486 : tree _q20 = TREE_OPERAND (_p0, 0);
6718 : 518486 : switch (TREE_CODE (_q20))
6719 : : {
6720 : 98 : case BIT_IOR_EXPR:
6721 : 98 : {
6722 : 98 : tree _q30 = TREE_OPERAND (_q20, 0);
6723 : 98 : tree _q31 = TREE_OPERAND (_q20, 1);
6724 : 98 : switch (TREE_CODE (_p1))
6725 : : {
6726 : 4 : CASE_CONVERT:
6727 : 4 : {
6728 : 4 : tree _q60 = TREE_OPERAND (_p1, 0);
6729 : 4 : switch (TREE_CODE (_q60))
6730 : : {
6731 : 0 : case BIT_IOR_EXPR:
6732 : 0 : {
6733 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
6734 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
6735 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
6736 : : {
6737 : 0 : {
6738 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60, _q71 };
6739 : 0 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6740 : 0 : if (res) return res;
6741 : : }
6742 : : }
6743 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
6744 : : {
6745 : 0 : {
6746 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60, _q70 };
6747 : 0 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6748 : 0 : if (res) return res;
6749 : : }
6750 : : }
6751 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
6752 : : {
6753 : 0 : {
6754 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30, _p1, _q60, _q71 };
6755 : 0 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6756 : 0 : if (res) return res;
6757 : : }
6758 : : }
6759 : 0 : if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
6760 : : {
6761 : 0 : {
6762 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30, _p1, _q60, _q70 };
6763 : 0 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6764 : 0 : if (res) return res;
6765 : : }
6766 : : }
6767 : : break;
6768 : : }
6769 : : default:;
6770 : : }
6771 : : break;
6772 : : }
6773 : 0 : case BIT_IOR_EXPR:
6774 : 0 : {
6775 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
6776 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
6777 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
6778 : : {
6779 : 0 : {
6780 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _p1, _q61 };
6781 : 0 : tree res = generic_simplify_100 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6782 : 0 : if (res) return res;
6783 : : }
6784 : : }
6785 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
6786 : : {
6787 : 0 : {
6788 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _p1, _q60 };
6789 : 0 : tree res = generic_simplify_100 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6790 : 0 : if (res) return res;
6791 : : }
6792 : : }
6793 : 0 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
6794 : : {
6795 : 0 : {
6796 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30, _p1, _p1, _q61 };
6797 : 0 : tree res = generic_simplify_100 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6798 : 0 : if (res) return res;
6799 : : }
6800 : : }
6801 : 0 : if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
6802 : : {
6803 : 0 : {
6804 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30, _p1, _p1, _q60 };
6805 : 0 : tree res = generic_simplify_100 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6806 : 0 : if (res) return res;
6807 : : }
6808 : : }
6809 : : break;
6810 : : }
6811 : : default:;
6812 : : }
6813 : : break;
6814 : : }
6815 : 518486 : default:;
6816 : : }
6817 : 518486 : switch (TREE_CODE (_p1))
6818 : : {
6819 : 494791 : CASE_CONVERT:
6820 : 494791 : {
6821 : 494791 : tree _q40 = TREE_OPERAND (_p1, 0);
6822 : 494791 : {
6823 : 494791 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
6824 : 494791 : tree res = generic_simplify_101 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6825 : 494791 : if (res) return res;
6826 : : }
6827 : 493824 : break;
6828 : : }
6829 : 517519 : default:;
6830 : : }
6831 : 517519 : {
6832 : 517519 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
6833 : 517519 : tree res = generic_simplify_102 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6834 : 517519 : if (res) return res;
6835 : : }
6836 : 517265 : break;
6837 : : }
6838 : 126769 : case BIT_AND_EXPR:
6839 : 126769 : {
6840 : 126769 : tree _q20 = TREE_OPERAND (_p0, 0);
6841 : 126769 : tree _q21 = TREE_OPERAND (_p0, 1);
6842 : 126769 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
6843 : : {
6844 : 2 : {
6845 : 2 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
6846 : 2 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6847 : 2 : if (res) return res;
6848 : : }
6849 : : }
6850 : 126767 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
6851 : : {
6852 : 13 : {
6853 : 13 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
6854 : 13 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6855 : 13 : if (res) return res;
6856 : : }
6857 : : }
6858 : 126754 : {
6859 : 126754 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
6860 : 126754 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6861 : 126754 : if (res) return res;
6862 : : }
6863 : 126750 : {
6864 : 126750 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
6865 : 126750 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6866 : 126750 : if (res) return res;
6867 : : }
6868 : 126748 : switch (TREE_CODE (_p1))
6869 : : {
6870 : 1 : case BIT_IOR_EXPR:
6871 : 1 : {
6872 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
6873 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
6874 : 1 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
6875 : : {
6876 : 1 : {
6877 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q51 };
6878 : 1 : tree res = generic_simplify_105 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6879 : 1 : if (res) return res;
6880 : : }
6881 : : }
6882 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
6883 : : {
6884 : 0 : {
6885 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q50 };
6886 : 0 : tree res = generic_simplify_105 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6887 : 0 : if (res) return res;
6888 : : }
6889 : : }
6890 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
6891 : : {
6892 : 0 : {
6893 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q51 };
6894 : 0 : tree res = generic_simplify_105 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6895 : 0 : if (res) return res;
6896 : : }
6897 : : }
6898 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
6899 : : {
6900 : 0 : {
6901 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q50 };
6902 : 0 : tree res = generic_simplify_105 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6903 : 0 : if (res) return res;
6904 : : }
6905 : : }
6906 : : break;
6907 : : }
6908 : 73 : case BIT_NOT_EXPR:
6909 : 73 : {
6910 : 73 : tree _q50 = TREE_OPERAND (_p1, 0);
6911 : 73 : switch (TREE_CODE (_q50))
6912 : : {
6913 : 1 : case BIT_AND_EXPR:
6914 : 1 : {
6915 : 1 : tree _q60 = TREE_OPERAND (_q50, 0);
6916 : 1 : tree _q61 = TREE_OPERAND (_q50, 1);
6917 : 1 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
6918 : : {
6919 : 0 : {
6920 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q61 };
6921 : 0 : tree res = generic_simplify_106 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6922 : 0 : if (res) return res;
6923 : : }
6924 : : }
6925 : 1 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
6926 : : {
6927 : 1 : {
6928 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q60 };
6929 : 1 : tree res = generic_simplify_106 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6930 : 1 : if (res) return res;
6931 : : }
6932 : : }
6933 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
6934 : : {
6935 : 0 : {
6936 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q61 };
6937 : 0 : tree res = generic_simplify_106 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6938 : 0 : if (res) return res;
6939 : : }
6940 : : }
6941 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
6942 : : {
6943 : 0 : {
6944 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q60 };
6945 : 0 : tree res = generic_simplify_106 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6946 : 0 : if (res) return res;
6947 : : }
6948 : : }
6949 : : break;
6950 : : }
6951 : : default:;
6952 : : }
6953 : : break;
6954 : : }
6955 : 126746 : default:;
6956 : : }
6957 : 126746 : {
6958 : 126746 : tree _q20_pops[1];
6959 : 126746 : if (tree_nop_convert (_q20, _q20_pops))
6960 : : {
6961 : 15497 : tree _q30 = _q20_pops[0];
6962 : 15497 : switch (TREE_CODE (_q30))
6963 : : {
6964 : 0 : case BIT_IOR_EXPR:
6965 : 0 : {
6966 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
6967 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
6968 : 0 : {
6969 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q30, _q40, _q41, _q21, _p1 };
6970 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6971 : 0 : if (res) return res;
6972 : : }
6973 : 0 : {
6974 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q30, _q41, _q40, _q21, _p1 };
6975 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6976 : 0 : if (res) return res;
6977 : : }
6978 : 0 : break;
6979 : : }
6980 : 48 : case BIT_XOR_EXPR:
6981 : 48 : {
6982 : 48 : tree _q40 = TREE_OPERAND (_q30, 0);
6983 : 48 : tree _q41 = TREE_OPERAND (_q30, 1);
6984 : 48 : {
6985 : 48 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q30, _q40, _q41, _q21, _p1 };
6986 : 48 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6987 : 48 : if (res) return res;
6988 : : }
6989 : 32 : {
6990 : 32 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q30, _q41, _q40, _q21, _p1 };
6991 : 32 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6992 : 32 : if (res) return res;
6993 : : }
6994 : 32 : break;
6995 : : }
6996 : : default:;
6997 : : }
6998 : : }
6999 : : }
7000 : 126730 : {
7001 : 126730 : tree _q21_pops[1];
7002 : 126730 : if (tree_nop_convert (_q21, _q21_pops))
7003 : : {
7004 : 139 : tree _q40 = _q21_pops[0];
7005 : 139 : switch (TREE_CODE (_q40))
7006 : : {
7007 : 0 : case BIT_IOR_EXPR:
7008 : 0 : {
7009 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
7010 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
7011 : 0 : {
7012 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q40, _q50, _q51, _q20, _p1 };
7013 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7014 : 0 : if (res) return res;
7015 : : }
7016 : 0 : {
7017 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q40, _q51, _q50, _q20, _p1 };
7018 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7019 : 0 : if (res) return res;
7020 : : }
7021 : 0 : break;
7022 : : }
7023 : 0 : case BIT_XOR_EXPR:
7024 : 0 : {
7025 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
7026 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
7027 : 0 : {
7028 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q40, _q50, _q51, _q20, _p1 };
7029 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7030 : 0 : if (res) return res;
7031 : : }
7032 : 0 : {
7033 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q40, _q51, _q50, _q20, _p1 };
7034 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7035 : 0 : if (res) return res;
7036 : : }
7037 : 0 : break;
7038 : : }
7039 : : default:;
7040 : : }
7041 : : }
7042 : : }
7043 : 126730 : switch (TREE_CODE (_q20))
7044 : : {
7045 : 38 : case BIT_IOR_EXPR:
7046 : 38 : {
7047 : 38 : tree _q30 = TREE_OPERAND (_q20, 0);
7048 : 38 : tree _q31 = TREE_OPERAND (_q20, 1);
7049 : 38 : {
7050 : 38 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q20, _q30, _q31, _q21, _p1 };
7051 : 38 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7052 : 38 : if (res) return res;
7053 : : }
7054 : 38 : {
7055 : 38 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q20, _q31, _q30, _q21, _p1 };
7056 : 38 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7057 : 38 : if (res) return res;
7058 : : }
7059 : 38 : break;
7060 : : }
7061 : 58 : case BIT_XOR_EXPR:
7062 : 58 : {
7063 : 58 : tree _q30 = TREE_OPERAND (_q20, 0);
7064 : 58 : tree _q31 = TREE_OPERAND (_q20, 1);
7065 : 58 : {
7066 : 58 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q20, _q30, _q31, _q21, _p1 };
7067 : 58 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7068 : 58 : if (res) return res;
7069 : : }
7070 : 18 : {
7071 : 18 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q20, _q31, _q30, _q21, _p1 };
7072 : 18 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7073 : 18 : if (res) return res;
7074 : : }
7075 : 18 : break;
7076 : : }
7077 : 126690 : default:;
7078 : : }
7079 : 126690 : switch (TREE_CODE (_q21))
7080 : : {
7081 : 0 : case BIT_IOR_EXPR:
7082 : 0 : {
7083 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
7084 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
7085 : 0 : {
7086 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q21, _q40, _q41, _q20, _p1 };
7087 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7088 : 0 : if (res) return res;
7089 : : }
7090 : 0 : {
7091 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q21, _q41, _q40, _q20, _p1 };
7092 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7093 : 0 : if (res) return res;
7094 : : }
7095 : 0 : break;
7096 : : }
7097 : 0 : case BIT_XOR_EXPR:
7098 : 0 : {
7099 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
7100 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
7101 : 0 : {
7102 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q21, _q40, _q41, _q20, _p1 };
7103 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7104 : 0 : if (res) return res;
7105 : : }
7106 : 0 : {
7107 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q21, _q41, _q40, _q20, _p1 };
7108 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7109 : 0 : if (res) return res;
7110 : : }
7111 : 0 : break;
7112 : : }
7113 : : default:;
7114 : : }
7115 : : break;
7116 : : }
7117 : 1783290 : default:;
7118 : : }
7119 : 1783290 : switch (TREE_CODE (_p1))
7120 : : {
7121 : 52645 : case BIT_AND_EXPR:
7122 : 52645 : {
7123 : 52645 : tree _q30 = TREE_OPERAND (_p1, 0);
7124 : 52645 : tree _q31 = TREE_OPERAND (_p1, 1);
7125 : 52645 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
7126 : : {
7127 : 0 : {
7128 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
7129 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
7130 : 0 : if (res) return res;
7131 : : }
7132 : : }
7133 : 52645 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
7134 : : {
7135 : 0 : {
7136 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
7137 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
7138 : 0 : if (res) return res;
7139 : : }
7140 : : }
7141 : 52645 : {
7142 : 52645 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
7143 : 52645 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
7144 : 52645 : if (res) return res;
7145 : : }
7146 : 52645 : {
7147 : 52645 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _p0 };
7148 : 52645 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
7149 : 52645 : if (res) return res;
7150 : : }
7151 : 52645 : break;
7152 : : }
7153 : 1783290 : default:;
7154 : : }
7155 : 1783290 : switch (TREE_CODE (_p0))
7156 : : {
7157 : 17142 : case BIT_IOR_EXPR:
7158 : 17142 : {
7159 : 17142 : tree _q20 = TREE_OPERAND (_p0, 0);
7160 : 17142 : tree _q21 = TREE_OPERAND (_p0, 1);
7161 : 17142 : switch (TREE_CODE (_p1))
7162 : : {
7163 : 5103 : case BIT_AND_EXPR:
7164 : 5103 : {
7165 : 5103 : tree _q50 = TREE_OPERAND (_p1, 0);
7166 : 5103 : tree _q51 = TREE_OPERAND (_p1, 1);
7167 : 5103 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
7168 : : {
7169 : 0 : {
7170 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q51, _p0, _q21 };
7171 : 0 : tree res = generic_simplify_109 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
7172 : 0 : if (res) return res;
7173 : : }
7174 : : }
7175 : 5103 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
7176 : : {
7177 : 0 : {
7178 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q51, _p0, _q20 };
7179 : 0 : tree res = generic_simplify_109 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
7180 : 0 : if (res) return res;
7181 : : }
7182 : : }
7183 : 5103 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
7184 : : {
7185 : 0 : {
7186 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q50, _p0, _q21 };
7187 : 0 : tree res = generic_simplify_109 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
7188 : 0 : if (res) return res;
7189 : : }
7190 : : }
7191 : 5103 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
7192 : : {
7193 : 0 : {
7194 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q50, _p0, _q20 };
7195 : 0 : tree res = generic_simplify_109 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
7196 : 0 : if (res) return res;
7197 : : }
7198 : : }
7199 : : break;
7200 : : }
7201 : : default:;
7202 : : }
7203 : : break;
7204 : : }
7205 : 21104 : case BIT_NOT_EXPR:
7206 : 21104 : {
7207 : 21104 : tree _q20 = TREE_OPERAND (_p0, 0);
7208 : 21104 : switch (TREE_CODE (_q20))
7209 : : {
7210 : 12 : case BIT_AND_EXPR:
7211 : 12 : {
7212 : 12 : tree _q30 = TREE_OPERAND (_q20, 0);
7213 : 12 : tree _q31 = TREE_OPERAND (_q20, 1);
7214 : 12 : switch (TREE_CODE (_p1))
7215 : : {
7216 : 1 : case BIT_AND_EXPR:
7217 : 1 : {
7218 : 1 : tree _q60 = TREE_OPERAND (_p1, 0);
7219 : 1 : tree _q61 = TREE_OPERAND (_p1, 1);
7220 : 1 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
7221 : : {
7222 : 0 : {
7223 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q60, _q30, _p0, _q31 };
7224 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
7225 : 0 : if (res) return res;
7226 : : }
7227 : : }
7228 : 1 : if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
7229 : : {
7230 : 0 : {
7231 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q60, _q31, _p0, _q30 };
7232 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
7233 : 0 : if (res) return res;
7234 : : }
7235 : : }
7236 : 1 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
7237 : : {
7238 : 0 : {
7239 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q61, _q30, _p0, _q31 };
7240 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
7241 : 0 : if (res) return res;
7242 : : }
7243 : : }
7244 : 1 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
7245 : : {
7246 : 0 : {
7247 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q61, _q31, _p0, _q30 };
7248 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
7249 : 0 : if (res) return res;
7250 : : }
7251 : : }
7252 : : break;
7253 : : }
7254 : 12 : default:;
7255 : : }
7256 : 12 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
7257 : : {
7258 : 0 : {
7259 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
7260 : 0 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
7261 : 0 : if (res) return res;
7262 : : }
7263 : : }
7264 : 12 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
7265 : : {
7266 : 1 : {
7267 : 1 : tree captures[2] ATTRIBUTE_UNUSED = { _q31, _q30 };
7268 : 1 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
7269 : 1 : if (res) return res;
7270 : : }
7271 : : }
7272 : : break;
7273 : : }
7274 : : default:;
7275 : : }
7276 : : break;
7277 : : }
7278 : 1783289 : default:;
7279 : : }
7280 : 1783289 : switch (TREE_CODE (_p1))
7281 : : {
7282 : 393 : case BIT_NOT_EXPR:
7283 : 393 : {
7284 : 393 : tree _q30 = TREE_OPERAND (_p1, 0);
7285 : 393 : switch (TREE_CODE (_q30))
7286 : : {
7287 : 0 : case BIT_AND_EXPR:
7288 : 0 : {
7289 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
7290 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
7291 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
7292 : : {
7293 : 0 : {
7294 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q41 };
7295 : 0 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
7296 : 0 : if (res) return res;
7297 : : }
7298 : : }
7299 : 0 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
7300 : : {
7301 : 0 : {
7302 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q40 };
7303 : 0 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
7304 : 0 : if (res) return res;
7305 : : }
7306 : : }
7307 : : break;
7308 : : }
7309 : : default:;
7310 : : }
7311 : : break;
7312 : : }
7313 : 1783289 : default:;
7314 : : }
7315 : 1783289 : {
7316 : 1783289 : tree _p0_pops[1];
7317 : 1783289 : if (tree_nop_convert (_p0, _p0_pops))
7318 : : {
7319 : 516746 : tree _q20 = _p0_pops[0];
7320 : 516746 : switch (TREE_CODE (_q20))
7321 : : {
7322 : 98 : case BIT_AND_EXPR:
7323 : 98 : {
7324 : 98 : tree _q30 = TREE_OPERAND (_q20, 0);
7325 : 98 : tree _q31 = TREE_OPERAND (_q20, 1);
7326 : 98 : {
7327 : 98 : tree _q30_pops[1];
7328 : 98 : if (tree_nop_convert (_q30, _q30_pops))
7329 : : {
7330 : 16 : tree _q40 = _q30_pops[0];
7331 : 16 : switch (TREE_CODE (_q40))
7332 : : {
7333 : 0 : case BIT_IOR_EXPR:
7334 : 0 : {
7335 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
7336 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
7337 : 0 : {
7338 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q40, _q50, _q51, _q31, _p1 };
7339 : 0 : tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7340 : 0 : if (res) return res;
7341 : : }
7342 : 0 : {
7343 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q40, _q51, _q50, _q31, _p1 };
7344 : 0 : tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7345 : 0 : if (res) return res;
7346 : : }
7347 : 0 : break;
7348 : : }
7349 : 0 : case BIT_XOR_EXPR:
7350 : 0 : {
7351 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
7352 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
7353 : 0 : {
7354 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q40, _q50, _q51, _q31, _p1 };
7355 : 0 : tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7356 : 0 : if (res) return res;
7357 : : }
7358 : 0 : {
7359 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q40, _q51, _q50, _q31, _p1 };
7360 : 0 : tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7361 : 0 : if (res) return res;
7362 : : }
7363 : 0 : break;
7364 : : }
7365 : : default:;
7366 : : }
7367 : : }
7368 : : }
7369 : 98 : {
7370 : 98 : tree _q31_pops[1];
7371 : 98 : if (tree_nop_convert (_q31, _q31_pops))
7372 : : {
7373 : 74 : tree _q50 = _q31_pops[0];
7374 : 74 : switch (TREE_CODE (_q50))
7375 : : {
7376 : 0 : case BIT_IOR_EXPR:
7377 : 0 : {
7378 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
7379 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
7380 : 0 : {
7381 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q50, _q60, _q61, _q30, _p1 };
7382 : 0 : tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7383 : 0 : if (res) return res;
7384 : : }
7385 : 0 : {
7386 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q50, _q61, _q60, _q30, _p1 };
7387 : 0 : tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7388 : 0 : if (res) return res;
7389 : : }
7390 : 0 : break;
7391 : : }
7392 : 0 : case BIT_XOR_EXPR:
7393 : 0 : {
7394 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
7395 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
7396 : 0 : {
7397 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q50, _q60, _q61, _q30, _p1 };
7398 : 0 : tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7399 : 0 : if (res) return res;
7400 : : }
7401 : 0 : {
7402 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q50, _q61, _q60, _q30, _p1 };
7403 : 0 : tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7404 : 0 : if (res) return res;
7405 : : }
7406 : 0 : break;
7407 : : }
7408 : : default:;
7409 : : }
7410 : : }
7411 : : }
7412 : 98 : switch (TREE_CODE (_q30))
7413 : : {
7414 : 0 : case BIT_IOR_EXPR:
7415 : 0 : {
7416 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
7417 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
7418 : 0 : {
7419 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q30, _q40, _q41, _q31, _p1 };
7420 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7421 : 0 : if (res) return res;
7422 : : }
7423 : 0 : {
7424 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q30, _q41, _q40, _q31, _p1 };
7425 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7426 : 0 : if (res) return res;
7427 : : }
7428 : 0 : break;
7429 : : }
7430 : 0 : case BIT_XOR_EXPR:
7431 : 0 : {
7432 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
7433 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
7434 : 0 : {
7435 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q30, _q40, _q41, _q31, _p1 };
7436 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7437 : 0 : if (res) return res;
7438 : : }
7439 : 0 : {
7440 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q30, _q41, _q40, _q31, _p1 };
7441 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7442 : 0 : if (res) return res;
7443 : : }
7444 : 0 : break;
7445 : : }
7446 : 98 : default:;
7447 : : }
7448 : 98 : switch (TREE_CODE (_q31))
7449 : : {
7450 : 0 : case BIT_IOR_EXPR:
7451 : 0 : {
7452 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
7453 : 0 : tree _q51 = TREE_OPERAND (_q31, 1);
7454 : 0 : {
7455 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q31, _q50, _q51, _q30, _p1 };
7456 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7457 : 0 : if (res) return res;
7458 : : }
7459 : 0 : {
7460 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q31, _q51, _q50, _q30, _p1 };
7461 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7462 : 0 : if (res) return res;
7463 : : }
7464 : 0 : break;
7465 : : }
7466 : 0 : case BIT_XOR_EXPR:
7467 : 0 : {
7468 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
7469 : 0 : tree _q51 = TREE_OPERAND (_q31, 1);
7470 : 0 : {
7471 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q31, _q50, _q51, _q30, _p1 };
7472 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7473 : 0 : if (res) return res;
7474 : : }
7475 : 0 : {
7476 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q31, _q51, _q50, _q30, _p1 };
7477 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7478 : 0 : if (res) return res;
7479 : : }
7480 : 0 : break;
7481 : : }
7482 : : default:;
7483 : : }
7484 : : break;
7485 : : }
7486 : 14 : case MULT_EXPR:
7487 : 14 : {
7488 : 14 : tree _q30 = TREE_OPERAND (_q20, 0);
7489 : 14 : tree _q31 = TREE_OPERAND (_q20, 1);
7490 : 14 : {
7491 : 14 : tree _q30_pops[1];
7492 : 14 : if (tree_nop_convert (_q30, _q30_pops))
7493 : : {
7494 : 0 : tree _q40 = _q30_pops[0];
7495 : 0 : switch (TREE_CODE (_q31))
7496 : : {
7497 : 0 : case INTEGER_CST:
7498 : 0 : {
7499 : 0 : switch (TREE_CODE (_p1))
7500 : : {
7501 : 0 : case LSHIFT_EXPR:
7502 : 0 : {
7503 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
7504 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
7505 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
7506 : : {
7507 : 0 : switch (TREE_CODE (_q71))
7508 : : {
7509 : 0 : case INTEGER_CST:
7510 : 0 : {
7511 : 0 : {
7512 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31, _p1, _q71 };
7513 : 0 : tree res = generic_simplify_115 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7514 : 0 : if (res) return res;
7515 : : }
7516 : 0 : break;
7517 : : }
7518 : : default:;
7519 : : }
7520 : : }
7521 : : break;
7522 : : }
7523 : 0 : default:;
7524 : : }
7525 : 0 : {
7526 : 0 : tree _p1_pops[1];
7527 : 0 : if (tree_nop_convert (_p1, _p1_pops))
7528 : : {
7529 : 0 : tree _q70 = _p1_pops[0];
7530 : 0 : switch (TREE_CODE (_q70))
7531 : : {
7532 : 0 : case MULT_EXPR:
7533 : 0 : {
7534 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
7535 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
7536 : 0 : {
7537 : 0 : tree _q80_pops[1];
7538 : 0 : if (tree_nop_convert (_q80, _q80_pops))
7539 : : {
7540 : 0 : tree _q90 = _q80_pops[0];
7541 : 0 : switch (TREE_CODE (_q81))
7542 : : {
7543 : 0 : case INTEGER_CST:
7544 : 0 : {
7545 : 0 : {
7546 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31, _p1, _q70, _q90, _q81 };
7547 : 0 : tree res = generic_simplify_114 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7548 : 0 : if (res) return res;
7549 : : }
7550 : 0 : break;
7551 : : }
7552 : : default:;
7553 : : }
7554 : : }
7555 : : }
7556 : 0 : break;
7557 : : }
7558 : : default:;
7559 : : }
7560 : : }
7561 : : }
7562 : 0 : if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
7563 : : {
7564 : 0 : {
7565 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31 };
7566 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7567 : 0 : if (res) return res;
7568 : : }
7569 : : }
7570 : : break;
7571 : : }
7572 : : default:;
7573 : : }
7574 : : }
7575 : : }
7576 : 14 : break;
7577 : : }
7578 : : default:;
7579 : : }
7580 : : }
7581 : : }
7582 : 1783289 : switch (TREE_CODE (_p1))
7583 : : {
7584 : 52645 : case BIT_AND_EXPR:
7585 : 52645 : {
7586 : 52645 : tree _q30 = TREE_OPERAND (_p1, 0);
7587 : 52645 : tree _q31 = TREE_OPERAND (_p1, 1);
7588 : 52645 : {
7589 : 52645 : tree _q30_pops[1];
7590 : 52645 : if (tree_nop_convert (_q30, _q30_pops))
7591 : : {
7592 : 146 : tree _q40 = _q30_pops[0];
7593 : 146 : switch (TREE_CODE (_q40))
7594 : : {
7595 : 0 : case BIT_IOR_EXPR:
7596 : 0 : {
7597 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
7598 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
7599 : 0 : {
7600 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _q40, _q50, _q51, _q31, _p0 };
7601 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7602 : 0 : if (res) return res;
7603 : : }
7604 : 0 : {
7605 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _q40, _q51, _q50, _q31, _p0 };
7606 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7607 : 0 : if (res) return res;
7608 : : }
7609 : 0 : break;
7610 : : }
7611 : 0 : case BIT_XOR_EXPR:
7612 : 0 : {
7613 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
7614 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
7615 : 0 : {
7616 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _q40, _q50, _q51, _q31, _p0 };
7617 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7618 : 0 : if (res) return res;
7619 : : }
7620 : 0 : {
7621 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _q40, _q51, _q50, _q31, _p0 };
7622 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7623 : 0 : if (res) return res;
7624 : : }
7625 : 0 : break;
7626 : : }
7627 : : default:;
7628 : : }
7629 : : }
7630 : : }
7631 : 52645 : {
7632 : 52645 : tree _q31_pops[1];
7633 : 52645 : if (tree_nop_convert (_q31, _q31_pops))
7634 : : {
7635 : 113 : tree _q50 = _q31_pops[0];
7636 : 113 : switch (TREE_CODE (_q50))
7637 : : {
7638 : 0 : case BIT_IOR_EXPR:
7639 : 0 : {
7640 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
7641 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
7642 : 0 : {
7643 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _q50, _q60, _q61, _q30, _p0 };
7644 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7645 : 0 : if (res) return res;
7646 : : }
7647 : 0 : {
7648 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _q50, _q61, _q60, _q30, _p0 };
7649 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7650 : 0 : if (res) return res;
7651 : : }
7652 : 0 : break;
7653 : : }
7654 : 1 : case BIT_XOR_EXPR:
7655 : 1 : {
7656 : 1 : tree _q60 = TREE_OPERAND (_q50, 0);
7657 : 1 : tree _q61 = TREE_OPERAND (_q50, 1);
7658 : 1 : {
7659 : 1 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _q50, _q60, _q61, _q30, _p0 };
7660 : 1 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7661 : 1 : if (res) return res;
7662 : : }
7663 : 1 : {
7664 : 1 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _q50, _q61, _q60, _q30, _p0 };
7665 : 1 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7666 : 1 : if (res) return res;
7667 : : }
7668 : 1 : break;
7669 : : }
7670 : : default:;
7671 : : }
7672 : : }
7673 : : }
7674 : 52645 : switch (TREE_CODE (_q30))
7675 : : {
7676 : 274 : case BIT_IOR_EXPR:
7677 : 274 : {
7678 : 274 : tree _q40 = TREE_OPERAND (_q30, 0);
7679 : 274 : tree _q41 = TREE_OPERAND (_q30, 1);
7680 : 274 : {
7681 : 274 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _q30, _q40, _q41, _q31, _p0 };
7682 : 274 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7683 : 274 : if (res) return res;
7684 : : }
7685 : 274 : {
7686 : 274 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _q30, _q41, _q40, _q31, _p0 };
7687 : 274 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7688 : 274 : if (res) return res;
7689 : : }
7690 : 274 : break;
7691 : : }
7692 : 0 : case BIT_XOR_EXPR:
7693 : 0 : {
7694 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
7695 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
7696 : 0 : {
7697 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _q30, _q40, _q41, _q31, _p0 };
7698 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7699 : 0 : if (res) return res;
7700 : : }
7701 : 0 : {
7702 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _q30, _q41, _q40, _q31, _p0 };
7703 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7704 : 0 : if (res) return res;
7705 : : }
7706 : 0 : break;
7707 : : }
7708 : 52645 : default:;
7709 : : }
7710 : 52645 : switch (TREE_CODE (_q31))
7711 : : {
7712 : 0 : case BIT_IOR_EXPR:
7713 : 0 : {
7714 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
7715 : 0 : tree _q51 = TREE_OPERAND (_q31, 1);
7716 : 0 : {
7717 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _q31, _q50, _q51, _q30, _p0 };
7718 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7719 : 0 : if (res) return res;
7720 : : }
7721 : 0 : {
7722 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _q31, _q51, _q50, _q30, _p0 };
7723 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7724 : 0 : if (res) return res;
7725 : : }
7726 : 0 : break;
7727 : : }
7728 : 0 : case BIT_XOR_EXPR:
7729 : 0 : {
7730 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
7731 : 0 : tree _q51 = TREE_OPERAND (_q31, 1);
7732 : 0 : {
7733 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _q31, _q50, _q51, _q30, _p0 };
7734 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7735 : 0 : if (res) return res;
7736 : : }
7737 : 0 : {
7738 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _q31, _q51, _q50, _q30, _p0 };
7739 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7740 : 0 : if (res) return res;
7741 : : }
7742 : 0 : break;
7743 : : }
7744 : : default:;
7745 : : }
7746 : : break;
7747 : : }
7748 : 1783289 : default:;
7749 : : }
7750 : 1783289 : {
7751 : 1783289 : tree _p1_pops[1];
7752 : 1783289 : if (tree_nop_convert (_p1, _p1_pops))
7753 : : {
7754 : 858312 : tree _q30 = _p1_pops[0];
7755 : 858312 : switch (TREE_CODE (_q30))
7756 : : {
7757 : 36 : case BIT_AND_EXPR:
7758 : 36 : {
7759 : 36 : tree _q40 = TREE_OPERAND (_q30, 0);
7760 : 36 : tree _q41 = TREE_OPERAND (_q30, 1);
7761 : 36 : {
7762 : 36 : tree _q40_pops[1];
7763 : 36 : if (tree_nop_convert (_q40, _q40_pops))
7764 : : {
7765 : 0 : tree _q50 = _q40_pops[0];
7766 : 0 : switch (TREE_CODE (_q50))
7767 : : {
7768 : 0 : case BIT_IOR_EXPR:
7769 : 0 : {
7770 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
7771 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
7772 : 0 : {
7773 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q50, _q60, _q61, _q41, _p0 };
7774 : 0 : tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7775 : 0 : if (res) return res;
7776 : : }
7777 : 0 : {
7778 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q50, _q61, _q60, _q41, _p0 };
7779 : 0 : tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7780 : 0 : if (res) return res;
7781 : : }
7782 : 0 : break;
7783 : : }
7784 : 0 : case BIT_XOR_EXPR:
7785 : 0 : {
7786 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
7787 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
7788 : 0 : {
7789 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q50, _q60, _q61, _q41, _p0 };
7790 : 0 : tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7791 : 0 : if (res) return res;
7792 : : }
7793 : 0 : {
7794 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q50, _q61, _q60, _q41, _p0 };
7795 : 0 : tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7796 : 0 : if (res) return res;
7797 : : }
7798 : 0 : break;
7799 : : }
7800 : : default:;
7801 : : }
7802 : : }
7803 : : }
7804 : 36 : {
7805 : 36 : tree _q41_pops[1];
7806 : 36 : if (tree_nop_convert (_q41, _q41_pops))
7807 : : {
7808 : 0 : tree _q60 = _q41_pops[0];
7809 : 0 : switch (TREE_CODE (_q60))
7810 : : {
7811 : 0 : case BIT_IOR_EXPR:
7812 : 0 : {
7813 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
7814 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
7815 : 0 : {
7816 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q60, _q70, _q71, _q40, _p0 };
7817 : 0 : tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7818 : 0 : if (res) return res;
7819 : : }
7820 : 0 : {
7821 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q60, _q71, _q70, _q40, _p0 };
7822 : 0 : tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7823 : 0 : if (res) return res;
7824 : : }
7825 : 0 : break;
7826 : : }
7827 : 0 : case BIT_XOR_EXPR:
7828 : 0 : {
7829 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
7830 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
7831 : 0 : {
7832 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q60, _q70, _q71, _q40, _p0 };
7833 : 0 : tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7834 : 0 : if (res) return res;
7835 : : }
7836 : 0 : {
7837 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q60, _q71, _q70, _q40, _p0 };
7838 : 0 : tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7839 : 0 : if (res) return res;
7840 : : }
7841 : 0 : break;
7842 : : }
7843 : : default:;
7844 : : }
7845 : : }
7846 : : }
7847 : 36 : switch (TREE_CODE (_q40))
7848 : : {
7849 : 0 : case BIT_IOR_EXPR:
7850 : 0 : {
7851 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
7852 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
7853 : 0 : {
7854 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q40, _q50, _q51, _q41, _p0 };
7855 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7856 : 0 : if (res) return res;
7857 : : }
7858 : 0 : {
7859 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q40, _q51, _q50, _q41, _p0 };
7860 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7861 : 0 : if (res) return res;
7862 : : }
7863 : 0 : break;
7864 : : }
7865 : 0 : case BIT_XOR_EXPR:
7866 : 0 : {
7867 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
7868 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
7869 : 0 : {
7870 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q40, _q50, _q51, _q41, _p0 };
7871 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7872 : 0 : if (res) return res;
7873 : : }
7874 : 0 : {
7875 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q40, _q51, _q50, _q41, _p0 };
7876 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7877 : 0 : if (res) return res;
7878 : : }
7879 : 0 : break;
7880 : : }
7881 : 36 : default:;
7882 : : }
7883 : 36 : switch (TREE_CODE (_q41))
7884 : : {
7885 : 0 : case BIT_IOR_EXPR:
7886 : 0 : {
7887 : 0 : tree _q60 = TREE_OPERAND (_q41, 0);
7888 : 0 : tree _q61 = TREE_OPERAND (_q41, 1);
7889 : 0 : {
7890 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q41, _q60, _q61, _q40, _p0 };
7891 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7892 : 0 : if (res) return res;
7893 : : }
7894 : 0 : {
7895 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q41, _q61, _q60, _q40, _p0 };
7896 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7897 : 0 : if (res) return res;
7898 : : }
7899 : 0 : break;
7900 : : }
7901 : 0 : case BIT_XOR_EXPR:
7902 : 0 : {
7903 : 0 : tree _q60 = TREE_OPERAND (_q41, 0);
7904 : 0 : tree _q61 = TREE_OPERAND (_q41, 1);
7905 : 0 : {
7906 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q41, _q60, _q61, _q40, _p0 };
7907 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7908 : 0 : if (res) return res;
7909 : : }
7910 : 0 : {
7911 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q41, _q61, _q60, _q40, _p0 };
7912 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7913 : 0 : if (res) return res;
7914 : : }
7915 : 0 : break;
7916 : : }
7917 : : default:;
7918 : : }
7919 : : break;
7920 : : }
7921 : : default:;
7922 : : }
7923 : : }
7924 : : }
7925 : 1783289 : switch (TREE_CODE (_p0))
7926 : : {
7927 : 17142 : case BIT_IOR_EXPR:
7928 : 17142 : {
7929 : 17142 : tree _q20 = TREE_OPERAND (_p0, 0);
7930 : 17142 : tree _q21 = TREE_OPERAND (_p0, 1);
7931 : 17142 : if (CONSTANT_CLASS_P (_q21))
7932 : : {
7933 : 818 : if (CONSTANT_CLASS_P (_p1))
7934 : : {
7935 : 128 : {
7936 : 128 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
7937 : 128 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
7938 : 128 : if (res) return res;
7939 : : }
7940 : : }
7941 : : }
7942 : : break;
7943 : : }
7944 : 1633 : case COND_EXPR:
7945 : 1633 : {
7946 : 1633 : tree _q20 = TREE_OPERAND (_p0, 0);
7947 : 1633 : tree _q21 = TREE_OPERAND (_p0, 1);
7948 : 1633 : tree _q22 = TREE_OPERAND (_p0, 2);
7949 : 1633 : if (integer_zerop (_q22))
7950 : : {
7951 : 1551 : switch (TREE_CODE (_p1))
7952 : : {
7953 : 612 : case COND_EXPR:
7954 : 612 : {
7955 : 612 : tree _q60 = TREE_OPERAND (_p1, 0);
7956 : 612 : tree _q61 = TREE_OPERAND (_p1, 1);
7957 : 612 : tree _q62 = TREE_OPERAND (_p1, 2);
7958 : 612 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
7959 : : {
7960 : 0 : if (integer_zerop (_q61))
7961 : : {
7962 : 0 : {
7963 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q62 };
7964 : 0 : const enum tree_code op = BIT_IOR_EXPR;
7965 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1327;
7966 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1327;
7967 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1327;
7968 : 0 : {
7969 : 0 : tree res_op0;
7970 : 0 : res_op0 = captures[1];
7971 : 0 : tree res_op1;
7972 : 0 : res_op1 = captures[2];
7973 : 0 : tree res_op2;
7974 : 0 : res_op2 = captures[4];
7975 : 0 : tree _r;
7976 : 0 : _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
7977 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 893, __FILE__, __LINE__, true);
7978 : 0 : return _r;
7979 : : }
7980 : 0 : next_after_fail1327:;
7981 : : }
7982 : : }
7983 : : }
7984 : : break;
7985 : : }
7986 : : default:;
7987 : : }
7988 : : }
7989 : 1633 : if (integer_zerop (_q21))
7990 : : {
7991 : 10 : switch (TREE_CODE (_p1))
7992 : : {
7993 : 0 : case COND_EXPR:
7994 : 0 : {
7995 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
7996 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
7997 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
7998 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
7999 : : {
8000 : 0 : if (integer_zerop (_q62))
8001 : : {
8002 : 0 : {
8003 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q20, _q61, _p0, _q22 };
8004 : 0 : const enum tree_code op = BIT_IOR_EXPR;
8005 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1328;
8006 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1328;
8007 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1328;
8008 : 0 : {
8009 : 0 : tree res_op0;
8010 : 0 : res_op0 = captures[1];
8011 : 0 : tree res_op1;
8012 : 0 : res_op1 = captures[2];
8013 : 0 : tree res_op2;
8014 : 0 : res_op2 = captures[4];
8015 : 0 : tree _r;
8016 : 0 : _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
8017 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 893, __FILE__, __LINE__, true);
8018 : 0 : return _r;
8019 : : }
8020 : 0 : next_after_fail1328:;
8021 : : }
8022 : : }
8023 : : }
8024 : : break;
8025 : : }
8026 : : default:;
8027 : : }
8028 : : }
8029 : 1633 : switch (TREE_CODE (_q20))
8030 : : {
8031 : 39 : case LT_EXPR:
8032 : 39 : {
8033 : 39 : tree _q30 = TREE_OPERAND (_q20, 0);
8034 : 39 : tree _q31 = TREE_OPERAND (_q20, 1);
8035 : 39 : if (zerop (_q22))
8036 : : {
8037 : 2 : switch (TREE_CODE (_p1))
8038 : : {
8039 : 0 : case COND_EXPR:
8040 : 0 : {
8041 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8042 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8043 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8044 : 0 : switch (TREE_CODE (_q80))
8045 : : {
8046 : 0 : case GE_EXPR:
8047 : 0 : {
8048 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8049 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8050 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8051 : : {
8052 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8053 : : {
8054 : 0 : if (zerop (_q82))
8055 : : {
8056 : 0 : {
8057 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
8058 : 0 : tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LT_EXPR, GE_EXPR);
8059 : 0 : if (res) return res;
8060 : : }
8061 : : }
8062 : : }
8063 : : }
8064 : : break;
8065 : : }
8066 : : default:;
8067 : : }
8068 : : break;
8069 : : }
8070 : : default:;
8071 : : }
8072 : : }
8073 : : break;
8074 : : }
8075 : 1227 : case LE_EXPR:
8076 : 1227 : {
8077 : 1227 : tree _q30 = TREE_OPERAND (_q20, 0);
8078 : 1227 : tree _q31 = TREE_OPERAND (_q20, 1);
8079 : 1227 : if (zerop (_q22))
8080 : : {
8081 : 1211 : switch (TREE_CODE (_p1))
8082 : : {
8083 : 442 : case COND_EXPR:
8084 : 442 : {
8085 : 442 : tree _q80 = TREE_OPERAND (_p1, 0);
8086 : 442 : tree _q81 = TREE_OPERAND (_p1, 1);
8087 : 442 : tree _q82 = TREE_OPERAND (_p1, 2);
8088 : 442 : switch (TREE_CODE (_q80))
8089 : : {
8090 : 0 : case GT_EXPR:
8091 : 0 : {
8092 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8093 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8094 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8095 : : {
8096 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8097 : : {
8098 : 0 : if (zerop (_q82))
8099 : : {
8100 : 0 : {
8101 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
8102 : 0 : tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LE_EXPR, GT_EXPR);
8103 : 0 : if (res) return res;
8104 : : }
8105 : : }
8106 : : }
8107 : : }
8108 : : break;
8109 : : }
8110 : : default:;
8111 : : }
8112 : : break;
8113 : : }
8114 : : default:;
8115 : : }
8116 : : }
8117 : : break;
8118 : : }
8119 : 7 : case EQ_EXPR:
8120 : 7 : {
8121 : 7 : tree _q30 = TREE_OPERAND (_q20, 0);
8122 : 7 : tree _q31 = TREE_OPERAND (_q20, 1);
8123 : 7 : if (zerop (_q22))
8124 : : {
8125 : 4 : switch (TREE_CODE (_p1))
8126 : : {
8127 : 0 : case COND_EXPR:
8128 : 0 : {
8129 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8130 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8131 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8132 : 0 : switch (TREE_CODE (_q80))
8133 : : {
8134 : 0 : case NE_EXPR:
8135 : 0 : {
8136 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8137 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8138 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8139 : : {
8140 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8141 : : {
8142 : 0 : if (zerop (_q82))
8143 : : {
8144 : 0 : {
8145 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
8146 : 0 : tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, EQ_EXPR, NE_EXPR);
8147 : 0 : if (res) return res;
8148 : : }
8149 : : }
8150 : : }
8151 : : }
8152 : : break;
8153 : : }
8154 : : default:;
8155 : : }
8156 : : break;
8157 : : }
8158 : : default:;
8159 : : }
8160 : : }
8161 : : break;
8162 : : }
8163 : 232 : case NE_EXPR:
8164 : 232 : {
8165 : 232 : tree _q30 = TREE_OPERAND (_q20, 0);
8166 : 232 : tree _q31 = TREE_OPERAND (_q20, 1);
8167 : 232 : if (zerop (_q22))
8168 : : {
8169 : 216 : switch (TREE_CODE (_p1))
8170 : : {
8171 : 62 : case COND_EXPR:
8172 : 62 : {
8173 : 62 : tree _q80 = TREE_OPERAND (_p1, 0);
8174 : 62 : tree _q81 = TREE_OPERAND (_p1, 1);
8175 : 62 : tree _q82 = TREE_OPERAND (_p1, 2);
8176 : 62 : switch (TREE_CODE (_q80))
8177 : : {
8178 : 1 : case EQ_EXPR:
8179 : 1 : {
8180 : 1 : tree _q90 = TREE_OPERAND (_q80, 0);
8181 : 1 : tree _q91 = TREE_OPERAND (_q80, 1);
8182 : 1 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8183 : : {
8184 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8185 : : {
8186 : 0 : if (zerop (_q82))
8187 : : {
8188 : 0 : {
8189 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
8190 : 0 : tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, NE_EXPR, EQ_EXPR);
8191 : 0 : if (res) return res;
8192 : : }
8193 : : }
8194 : : }
8195 : : }
8196 : : break;
8197 : : }
8198 : : default:;
8199 : : }
8200 : : break;
8201 : : }
8202 : : default:;
8203 : : }
8204 : : }
8205 : : break;
8206 : : }
8207 : 0 : case GE_EXPR:
8208 : 0 : {
8209 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8210 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8211 : 0 : if (zerop (_q22))
8212 : : {
8213 : 0 : switch (TREE_CODE (_p1))
8214 : : {
8215 : 0 : case COND_EXPR:
8216 : 0 : {
8217 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8218 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8219 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8220 : 0 : switch (TREE_CODE (_q80))
8221 : : {
8222 : 0 : case LT_EXPR:
8223 : 0 : {
8224 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8225 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8226 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8227 : : {
8228 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8229 : : {
8230 : 0 : if (zerop (_q82))
8231 : : {
8232 : 0 : {
8233 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
8234 : 0 : tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GE_EXPR, LT_EXPR);
8235 : 0 : if (res) return res;
8236 : : }
8237 : : }
8238 : : }
8239 : : }
8240 : : break;
8241 : : }
8242 : : default:;
8243 : : }
8244 : : break;
8245 : : }
8246 : : default:;
8247 : : }
8248 : : }
8249 : : break;
8250 : : }
8251 : 0 : case GT_EXPR:
8252 : 0 : {
8253 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8254 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8255 : 0 : if (zerop (_q22))
8256 : : {
8257 : 0 : switch (TREE_CODE (_p1))
8258 : : {
8259 : 0 : case COND_EXPR:
8260 : 0 : {
8261 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8262 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8263 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8264 : 0 : switch (TREE_CODE (_q80))
8265 : : {
8266 : 0 : case LE_EXPR:
8267 : 0 : {
8268 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8269 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8270 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8271 : : {
8272 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8273 : : {
8274 : 0 : if (zerop (_q82))
8275 : : {
8276 : 0 : {
8277 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
8278 : 0 : tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GT_EXPR, LE_EXPR);
8279 : 0 : if (res) return res;
8280 : : }
8281 : : }
8282 : : }
8283 : : }
8284 : : break;
8285 : : }
8286 : : default:;
8287 : : }
8288 : : break;
8289 : : }
8290 : : default:;
8291 : : }
8292 : : }
8293 : : break;
8294 : : }
8295 : 0 : case UNORDERED_EXPR:
8296 : 0 : {
8297 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8298 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8299 : 0 : if (zerop (_q22))
8300 : : {
8301 : 0 : switch (TREE_CODE (_p1))
8302 : : {
8303 : 0 : case COND_EXPR:
8304 : 0 : {
8305 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8306 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8307 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8308 : 0 : switch (TREE_CODE (_q80))
8309 : : {
8310 : 0 : case ORDERED_EXPR:
8311 : 0 : {
8312 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8313 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8314 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8315 : : {
8316 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8317 : : {
8318 : 0 : if (zerop (_q82))
8319 : : {
8320 : 0 : {
8321 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
8322 : 0 : tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, UNORDERED_EXPR, ORDERED_EXPR);
8323 : 0 : if (res) return res;
8324 : : }
8325 : : }
8326 : : }
8327 : : }
8328 : : break;
8329 : : }
8330 : : default:;
8331 : : }
8332 : : break;
8333 : : }
8334 : : default:;
8335 : : }
8336 : : }
8337 : : break;
8338 : : }
8339 : 0 : case ORDERED_EXPR:
8340 : 0 : {
8341 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8342 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8343 : 0 : if (zerop (_q22))
8344 : : {
8345 : 0 : switch (TREE_CODE (_p1))
8346 : : {
8347 : 0 : case COND_EXPR:
8348 : 0 : {
8349 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8350 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8351 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8352 : 0 : switch (TREE_CODE (_q80))
8353 : : {
8354 : 0 : case UNORDERED_EXPR:
8355 : 0 : {
8356 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8357 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8358 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8359 : : {
8360 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8361 : : {
8362 : 0 : if (zerop (_q82))
8363 : : {
8364 : 0 : {
8365 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
8366 : 0 : tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, ORDERED_EXPR, UNORDERED_EXPR);
8367 : 0 : if (res) return res;
8368 : : }
8369 : : }
8370 : : }
8371 : : }
8372 : : break;
8373 : : }
8374 : : default:;
8375 : : }
8376 : : break;
8377 : : }
8378 : : default:;
8379 : : }
8380 : : }
8381 : : break;
8382 : : }
8383 : 0 : case UNLT_EXPR:
8384 : 0 : {
8385 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8386 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8387 : 0 : if (zerop (_q22))
8388 : : {
8389 : 0 : switch (TREE_CODE (_p1))
8390 : : {
8391 : 0 : case COND_EXPR:
8392 : 0 : {
8393 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8394 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8395 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8396 : 0 : switch (TREE_CODE (_q80))
8397 : : {
8398 : 0 : case GE_EXPR:
8399 : 0 : {
8400 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8401 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8402 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8403 : : {
8404 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8405 : : {
8406 : 0 : if (zerop (_q82))
8407 : : {
8408 : 0 : {
8409 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
8410 : 0 : tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, UNLT_EXPR, GE_EXPR);
8411 : 0 : if (res) return res;
8412 : : }
8413 : : }
8414 : : }
8415 : : }
8416 : : break;
8417 : : }
8418 : : default:;
8419 : : }
8420 : : break;
8421 : : }
8422 : : default:;
8423 : : }
8424 : : }
8425 : : break;
8426 : : }
8427 : 0 : case UNLE_EXPR:
8428 : 0 : {
8429 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8430 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8431 : 0 : if (zerop (_q22))
8432 : : {
8433 : 0 : switch (TREE_CODE (_p1))
8434 : : {
8435 : 0 : case COND_EXPR:
8436 : 0 : {
8437 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8438 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8439 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8440 : 0 : switch (TREE_CODE (_q80))
8441 : : {
8442 : 0 : case GT_EXPR:
8443 : 0 : {
8444 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8445 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8446 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8447 : : {
8448 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8449 : : {
8450 : 0 : if (zerop (_q82))
8451 : : {
8452 : 0 : {
8453 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
8454 : 0 : tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, UNLE_EXPR, GT_EXPR);
8455 : 0 : if (res) return res;
8456 : : }
8457 : : }
8458 : : }
8459 : : }
8460 : : break;
8461 : : }
8462 : : default:;
8463 : : }
8464 : : break;
8465 : : }
8466 : : default:;
8467 : : }
8468 : : }
8469 : : break;
8470 : : }
8471 : 0 : case UNGT_EXPR:
8472 : 0 : {
8473 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8474 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8475 : 0 : if (zerop (_q22))
8476 : : {
8477 : 0 : switch (TREE_CODE (_p1))
8478 : : {
8479 : 0 : case COND_EXPR:
8480 : 0 : {
8481 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8482 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8483 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8484 : 0 : switch (TREE_CODE (_q80))
8485 : : {
8486 : 0 : case LE_EXPR:
8487 : 0 : {
8488 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8489 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8490 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8491 : : {
8492 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8493 : : {
8494 : 0 : if (zerop (_q82))
8495 : : {
8496 : 0 : {
8497 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
8498 : 0 : tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, UNGT_EXPR, LE_EXPR);
8499 : 0 : if (res) return res;
8500 : : }
8501 : : }
8502 : : }
8503 : : }
8504 : : break;
8505 : : }
8506 : : default:;
8507 : : }
8508 : : break;
8509 : : }
8510 : : default:;
8511 : : }
8512 : : }
8513 : : break;
8514 : : }
8515 : 0 : case UNGE_EXPR:
8516 : 0 : {
8517 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8518 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8519 : 0 : if (zerop (_q22))
8520 : : {
8521 : 0 : switch (TREE_CODE (_p1))
8522 : : {
8523 : 0 : case COND_EXPR:
8524 : 0 : {
8525 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8526 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8527 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8528 : 0 : switch (TREE_CODE (_q80))
8529 : : {
8530 : 0 : case LT_EXPR:
8531 : 0 : {
8532 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8533 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8534 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8535 : : {
8536 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8537 : : {
8538 : 0 : if (zerop (_q82))
8539 : : {
8540 : 0 : {
8541 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
8542 : 0 : tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, UNGE_EXPR, LT_EXPR);
8543 : 0 : if (res) return res;
8544 : : }
8545 : : }
8546 : : }
8547 : : }
8548 : : break;
8549 : : }
8550 : : default:;
8551 : : }
8552 : : break;
8553 : : }
8554 : : default:;
8555 : : }
8556 : : }
8557 : : break;
8558 : : }
8559 : 0 : case UNEQ_EXPR:
8560 : 0 : {
8561 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8562 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8563 : 0 : if (zerop (_q22))
8564 : : {
8565 : 0 : switch (TREE_CODE (_p1))
8566 : : {
8567 : 0 : case COND_EXPR:
8568 : 0 : {
8569 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8570 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8571 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8572 : 0 : switch (TREE_CODE (_q80))
8573 : : {
8574 : 0 : case LTGT_EXPR:
8575 : 0 : {
8576 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8577 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8578 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8579 : : {
8580 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8581 : : {
8582 : 0 : if (zerop (_q82))
8583 : : {
8584 : 0 : {
8585 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
8586 : 0 : tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, UNEQ_EXPR, LTGT_EXPR);
8587 : 0 : if (res) return res;
8588 : : }
8589 : : }
8590 : : }
8591 : : }
8592 : : break;
8593 : : }
8594 : : default:;
8595 : : }
8596 : : break;
8597 : : }
8598 : : default:;
8599 : : }
8600 : : }
8601 : : break;
8602 : : }
8603 : 0 : case LTGT_EXPR:
8604 : 0 : {
8605 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8606 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8607 : 0 : if (zerop (_q22))
8608 : : {
8609 : 0 : switch (TREE_CODE (_p1))
8610 : : {
8611 : 0 : case COND_EXPR:
8612 : 0 : {
8613 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8614 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8615 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
8616 : 0 : switch (TREE_CODE (_q80))
8617 : : {
8618 : 0 : case UNEQ_EXPR:
8619 : 0 : {
8620 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8621 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8622 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8623 : : {
8624 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8625 : : {
8626 : 0 : if (zerop (_q82))
8627 : : {
8628 : 0 : {
8629 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
8630 : 0 : tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LTGT_EXPR, UNEQ_EXPR);
8631 : 0 : if (res) return res;
8632 : : }
8633 : : }
8634 : : }
8635 : : }
8636 : : break;
8637 : : }
8638 : : default:;
8639 : : }
8640 : : break;
8641 : : }
8642 : : default:;
8643 : : }
8644 : : }
8645 : : break;
8646 : : }
8647 : : default:;
8648 : : }
8649 : : break;
8650 : : }
8651 : 61 : case VEC_COND_EXPR:
8652 : 61 : {
8653 : 61 : tree _q20 = TREE_OPERAND (_p0, 0);
8654 : 61 : tree _q21 = TREE_OPERAND (_p0, 1);
8655 : 61 : tree _q22 = TREE_OPERAND (_p0, 2);
8656 : 61 : if (integer_zerop (_q22))
8657 : : {
8658 : 60 : switch (TREE_CODE (_p1))
8659 : : {
8660 : 54 : case VEC_COND_EXPR:
8661 : 54 : {
8662 : 54 : tree _q60 = TREE_OPERAND (_p1, 0);
8663 : 54 : tree _q61 = TREE_OPERAND (_p1, 1);
8664 : 54 : tree _q62 = TREE_OPERAND (_p1, 2);
8665 : 54 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
8666 : : {
8667 : 0 : if (integer_zerop (_q61))
8668 : : {
8669 : 0 : {
8670 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q62 };
8671 : 0 : const enum tree_code op = BIT_IOR_EXPR;
8672 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1329;
8673 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1329;
8674 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1329;
8675 : 0 : {
8676 : 0 : tree res_op0;
8677 : 0 : res_op0 = captures[1];
8678 : 0 : tree res_op1;
8679 : 0 : res_op1 = captures[2];
8680 : 0 : tree res_op2;
8681 : 0 : res_op2 = captures[4];
8682 : 0 : tree _r;
8683 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
8684 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 893, __FILE__, __LINE__, true);
8685 : 0 : return _r;
8686 : : }
8687 : 0 : next_after_fail1329:;
8688 : : }
8689 : : }
8690 : : }
8691 : : break;
8692 : : }
8693 : : default:;
8694 : : }
8695 : : }
8696 : 61 : if (integer_zerop (_q21))
8697 : : {
8698 : 0 : switch (TREE_CODE (_p1))
8699 : : {
8700 : 0 : case VEC_COND_EXPR:
8701 : 0 : {
8702 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
8703 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
8704 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
8705 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
8706 : : {
8707 : 0 : if (integer_zerop (_q62))
8708 : : {
8709 : 0 : {
8710 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q20, _q61, _p0, _q22 };
8711 : 0 : const enum tree_code op = BIT_IOR_EXPR;
8712 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1330;
8713 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1330;
8714 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1330;
8715 : 0 : {
8716 : 0 : tree res_op0;
8717 : 0 : res_op0 = captures[1];
8718 : 0 : tree res_op1;
8719 : 0 : res_op1 = captures[2];
8720 : 0 : tree res_op2;
8721 : 0 : res_op2 = captures[4];
8722 : 0 : tree _r;
8723 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
8724 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 893, __FILE__, __LINE__, true);
8725 : 0 : return _r;
8726 : : }
8727 : 0 : next_after_fail1330:;
8728 : : }
8729 : : }
8730 : : }
8731 : : break;
8732 : : }
8733 : : default:;
8734 : : }
8735 : : }
8736 : 61 : switch (TREE_CODE (_q20))
8737 : : {
8738 : 28 : case LT_EXPR:
8739 : 28 : {
8740 : 28 : tree _q30 = TREE_OPERAND (_q20, 0);
8741 : 28 : tree _q31 = TREE_OPERAND (_q20, 1);
8742 : 28 : if (integer_zerop (_q22))
8743 : : {
8744 : 28 : switch (TREE_CODE (_p1))
8745 : : {
8746 : 27 : case VEC_COND_EXPR:
8747 : 27 : {
8748 : 27 : tree _q80 = TREE_OPERAND (_p1, 0);
8749 : 27 : tree _q81 = TREE_OPERAND (_p1, 1);
8750 : 27 : tree _q82 = TREE_OPERAND (_p1, 2);
8751 : 27 : switch (TREE_CODE (_q80))
8752 : : {
8753 : 0 : case GE_EXPR:
8754 : 0 : {
8755 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8756 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8757 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8758 : : {
8759 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8760 : : {
8761 : 0 : if (integer_zerop (_q82))
8762 : : {
8763 : 0 : {
8764 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8765 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LT_EXPR, GE_EXPR);
8766 : 0 : if (res) return res;
8767 : : }
8768 : : }
8769 : : }
8770 : : }
8771 : : break;
8772 : : }
8773 : : default:;
8774 : : }
8775 : : break;
8776 : : }
8777 : : default:;
8778 : : }
8779 : : }
8780 : : break;
8781 : : }
8782 : 8 : case LE_EXPR:
8783 : 8 : {
8784 : 8 : tree _q30 = TREE_OPERAND (_q20, 0);
8785 : 8 : tree _q31 = TREE_OPERAND (_q20, 1);
8786 : 8 : if (integer_zerop (_q22))
8787 : : {
8788 : 8 : switch (TREE_CODE (_p1))
8789 : : {
8790 : 8 : case VEC_COND_EXPR:
8791 : 8 : {
8792 : 8 : tree _q80 = TREE_OPERAND (_p1, 0);
8793 : 8 : tree _q81 = TREE_OPERAND (_p1, 1);
8794 : 8 : tree _q82 = TREE_OPERAND (_p1, 2);
8795 : 8 : switch (TREE_CODE (_q80))
8796 : : {
8797 : 0 : case GT_EXPR:
8798 : 0 : {
8799 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8800 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8801 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8802 : : {
8803 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8804 : : {
8805 : 0 : if (integer_zerop (_q82))
8806 : : {
8807 : 0 : {
8808 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8809 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LE_EXPR, GT_EXPR);
8810 : 0 : if (res) return res;
8811 : : }
8812 : : }
8813 : : }
8814 : : }
8815 : : break;
8816 : : }
8817 : : default:;
8818 : : }
8819 : : break;
8820 : : }
8821 : : default:;
8822 : : }
8823 : : }
8824 : : break;
8825 : : }
8826 : 6 : case EQ_EXPR:
8827 : 6 : {
8828 : 6 : tree _q30 = TREE_OPERAND (_q20, 0);
8829 : 6 : tree _q31 = TREE_OPERAND (_q20, 1);
8830 : 6 : if (integer_zerop (_q22))
8831 : : {
8832 : 6 : switch (TREE_CODE (_p1))
8833 : : {
8834 : 6 : case VEC_COND_EXPR:
8835 : 6 : {
8836 : 6 : tree _q80 = TREE_OPERAND (_p1, 0);
8837 : 6 : tree _q81 = TREE_OPERAND (_p1, 1);
8838 : 6 : tree _q82 = TREE_OPERAND (_p1, 2);
8839 : 6 : switch (TREE_CODE (_q80))
8840 : : {
8841 : 0 : case NE_EXPR:
8842 : 0 : {
8843 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8844 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8845 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8846 : : {
8847 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8848 : : {
8849 : 0 : if (integer_zerop (_q82))
8850 : : {
8851 : 0 : {
8852 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8853 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, EQ_EXPR, NE_EXPR);
8854 : 0 : if (res) return res;
8855 : : }
8856 : : }
8857 : : }
8858 : : }
8859 : : break;
8860 : : }
8861 : : default:;
8862 : : }
8863 : : break;
8864 : : }
8865 : : default:;
8866 : : }
8867 : : }
8868 : : break;
8869 : : }
8870 : 6 : case NE_EXPR:
8871 : 6 : {
8872 : 6 : tree _q30 = TREE_OPERAND (_q20, 0);
8873 : 6 : tree _q31 = TREE_OPERAND (_q20, 1);
8874 : 6 : if (integer_zerop (_q22))
8875 : : {
8876 : 6 : switch (TREE_CODE (_p1))
8877 : : {
8878 : 1 : case VEC_COND_EXPR:
8879 : 1 : {
8880 : 1 : tree _q80 = TREE_OPERAND (_p1, 0);
8881 : 1 : tree _q81 = TREE_OPERAND (_p1, 1);
8882 : 1 : tree _q82 = TREE_OPERAND (_p1, 2);
8883 : 1 : switch (TREE_CODE (_q80))
8884 : : {
8885 : 1 : case EQ_EXPR:
8886 : 1 : {
8887 : 1 : tree _q90 = TREE_OPERAND (_q80, 0);
8888 : 1 : tree _q91 = TREE_OPERAND (_q80, 1);
8889 : 1 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8890 : : {
8891 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8892 : : {
8893 : 0 : if (integer_zerop (_q82))
8894 : : {
8895 : 0 : {
8896 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8897 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, NE_EXPR, EQ_EXPR);
8898 : 0 : if (res) return res;
8899 : : }
8900 : : }
8901 : : }
8902 : : }
8903 : : break;
8904 : : }
8905 : : default:;
8906 : : }
8907 : : break;
8908 : : }
8909 : : default:;
8910 : : }
8911 : : }
8912 : : break;
8913 : : }
8914 : 9 : case GE_EXPR:
8915 : 9 : {
8916 : 9 : tree _q30 = TREE_OPERAND (_q20, 0);
8917 : 9 : tree _q31 = TREE_OPERAND (_q20, 1);
8918 : 9 : if (integer_zerop (_q22))
8919 : : {
8920 : 8 : switch (TREE_CODE (_p1))
8921 : : {
8922 : 8 : case VEC_COND_EXPR:
8923 : 8 : {
8924 : 8 : tree _q80 = TREE_OPERAND (_p1, 0);
8925 : 8 : tree _q81 = TREE_OPERAND (_p1, 1);
8926 : 8 : tree _q82 = TREE_OPERAND (_p1, 2);
8927 : 8 : switch (TREE_CODE (_q80))
8928 : : {
8929 : 0 : case LT_EXPR:
8930 : 0 : {
8931 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8932 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8933 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8934 : : {
8935 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8936 : : {
8937 : 0 : if (integer_zerop (_q82))
8938 : : {
8939 : 0 : {
8940 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8941 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GE_EXPR, LT_EXPR);
8942 : 0 : if (res) return res;
8943 : : }
8944 : : }
8945 : : }
8946 : : }
8947 : : break;
8948 : : }
8949 : : default:;
8950 : : }
8951 : : break;
8952 : : }
8953 : : default:;
8954 : : }
8955 : : }
8956 : : break;
8957 : : }
8958 : 4 : case GT_EXPR:
8959 : 4 : {
8960 : 4 : tree _q30 = TREE_OPERAND (_q20, 0);
8961 : 4 : tree _q31 = TREE_OPERAND (_q20, 1);
8962 : 4 : if (integer_zerop (_q22))
8963 : : {
8964 : 4 : switch (TREE_CODE (_p1))
8965 : : {
8966 : 4 : case VEC_COND_EXPR:
8967 : 4 : {
8968 : 4 : tree _q80 = TREE_OPERAND (_p1, 0);
8969 : 4 : tree _q81 = TREE_OPERAND (_p1, 1);
8970 : 4 : tree _q82 = TREE_OPERAND (_p1, 2);
8971 : 4 : switch (TREE_CODE (_q80))
8972 : : {
8973 : 0 : case LE_EXPR:
8974 : 0 : {
8975 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8976 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
8977 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8978 : : {
8979 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8980 : : {
8981 : 0 : if (integer_zerop (_q82))
8982 : : {
8983 : 0 : {
8984 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
8985 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GT_EXPR, LE_EXPR);
8986 : 0 : if (res) return res;
8987 : : }
8988 : : }
8989 : : }
8990 : : }
8991 : : break;
8992 : : }
8993 : : default:;
8994 : : }
8995 : : break;
8996 : : }
8997 : : default:;
8998 : : }
8999 : : }
9000 : : break;
9001 : : }
9002 : 0 : case UNORDERED_EXPR:
9003 : 0 : {
9004 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9005 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9006 : 0 : if (integer_zerop (_q22))
9007 : : {
9008 : 0 : switch (TREE_CODE (_p1))
9009 : : {
9010 : 0 : case VEC_COND_EXPR:
9011 : 0 : {
9012 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
9013 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
9014 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
9015 : 0 : switch (TREE_CODE (_q80))
9016 : : {
9017 : 0 : case ORDERED_EXPR:
9018 : 0 : {
9019 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
9020 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
9021 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9022 : : {
9023 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9024 : : {
9025 : 0 : if (integer_zerop (_q82))
9026 : : {
9027 : 0 : {
9028 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
9029 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, UNORDERED_EXPR, ORDERED_EXPR);
9030 : 0 : if (res) return res;
9031 : : }
9032 : : }
9033 : : }
9034 : : }
9035 : : break;
9036 : : }
9037 : : default:;
9038 : : }
9039 : : break;
9040 : : }
9041 : : default:;
9042 : : }
9043 : : }
9044 : : break;
9045 : : }
9046 : 0 : case ORDERED_EXPR:
9047 : 0 : {
9048 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9049 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9050 : 0 : if (integer_zerop (_q22))
9051 : : {
9052 : 0 : switch (TREE_CODE (_p1))
9053 : : {
9054 : 0 : case VEC_COND_EXPR:
9055 : 0 : {
9056 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
9057 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
9058 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
9059 : 0 : switch (TREE_CODE (_q80))
9060 : : {
9061 : 0 : case UNORDERED_EXPR:
9062 : 0 : {
9063 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
9064 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
9065 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9066 : : {
9067 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9068 : : {
9069 : 0 : if (integer_zerop (_q82))
9070 : : {
9071 : 0 : {
9072 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
9073 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, ORDERED_EXPR, UNORDERED_EXPR);
9074 : 0 : if (res) return res;
9075 : : }
9076 : : }
9077 : : }
9078 : : }
9079 : : break;
9080 : : }
9081 : : default:;
9082 : : }
9083 : : break;
9084 : : }
9085 : : default:;
9086 : : }
9087 : : }
9088 : : break;
9089 : : }
9090 : 0 : case UNLT_EXPR:
9091 : 0 : {
9092 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9093 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9094 : 0 : if (integer_zerop (_q22))
9095 : : {
9096 : 0 : switch (TREE_CODE (_p1))
9097 : : {
9098 : 0 : case VEC_COND_EXPR:
9099 : 0 : {
9100 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
9101 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
9102 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
9103 : 0 : switch (TREE_CODE (_q80))
9104 : : {
9105 : 0 : case GE_EXPR:
9106 : 0 : {
9107 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
9108 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
9109 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9110 : : {
9111 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9112 : : {
9113 : 0 : if (integer_zerop (_q82))
9114 : : {
9115 : 0 : {
9116 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
9117 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, UNLT_EXPR, GE_EXPR);
9118 : 0 : if (res) return res;
9119 : : }
9120 : : }
9121 : : }
9122 : : }
9123 : : break;
9124 : : }
9125 : : default:;
9126 : : }
9127 : : break;
9128 : : }
9129 : : default:;
9130 : : }
9131 : : }
9132 : : break;
9133 : : }
9134 : 0 : case UNLE_EXPR:
9135 : 0 : {
9136 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9137 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9138 : 0 : if (integer_zerop (_q22))
9139 : : {
9140 : 0 : switch (TREE_CODE (_p1))
9141 : : {
9142 : 0 : case VEC_COND_EXPR:
9143 : 0 : {
9144 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
9145 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
9146 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
9147 : 0 : switch (TREE_CODE (_q80))
9148 : : {
9149 : 0 : case GT_EXPR:
9150 : 0 : {
9151 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
9152 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
9153 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9154 : : {
9155 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9156 : : {
9157 : 0 : if (integer_zerop (_q82))
9158 : : {
9159 : 0 : {
9160 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
9161 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, UNLE_EXPR, GT_EXPR);
9162 : 0 : if (res) return res;
9163 : : }
9164 : : }
9165 : : }
9166 : : }
9167 : : break;
9168 : : }
9169 : : default:;
9170 : : }
9171 : : break;
9172 : : }
9173 : : default:;
9174 : : }
9175 : : }
9176 : : break;
9177 : : }
9178 : 0 : case UNGT_EXPR:
9179 : 0 : {
9180 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9181 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9182 : 0 : if (integer_zerop (_q22))
9183 : : {
9184 : 0 : switch (TREE_CODE (_p1))
9185 : : {
9186 : 0 : case VEC_COND_EXPR:
9187 : 0 : {
9188 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
9189 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
9190 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
9191 : 0 : switch (TREE_CODE (_q80))
9192 : : {
9193 : 0 : case LE_EXPR:
9194 : 0 : {
9195 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
9196 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
9197 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9198 : : {
9199 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9200 : : {
9201 : 0 : if (integer_zerop (_q82))
9202 : : {
9203 : 0 : {
9204 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
9205 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, UNGT_EXPR, LE_EXPR);
9206 : 0 : if (res) return res;
9207 : : }
9208 : : }
9209 : : }
9210 : : }
9211 : : break;
9212 : : }
9213 : : default:;
9214 : : }
9215 : : break;
9216 : : }
9217 : : default:;
9218 : : }
9219 : : }
9220 : : break;
9221 : : }
9222 : 0 : case UNGE_EXPR:
9223 : 0 : {
9224 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9225 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9226 : 0 : if (integer_zerop (_q22))
9227 : : {
9228 : 0 : switch (TREE_CODE (_p1))
9229 : : {
9230 : 0 : case VEC_COND_EXPR:
9231 : 0 : {
9232 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
9233 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
9234 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
9235 : 0 : switch (TREE_CODE (_q80))
9236 : : {
9237 : 0 : case LT_EXPR:
9238 : 0 : {
9239 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
9240 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
9241 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9242 : : {
9243 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9244 : : {
9245 : 0 : if (integer_zerop (_q82))
9246 : : {
9247 : 0 : {
9248 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
9249 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, UNGE_EXPR, LT_EXPR);
9250 : 0 : if (res) return res;
9251 : : }
9252 : : }
9253 : : }
9254 : : }
9255 : : break;
9256 : : }
9257 : : default:;
9258 : : }
9259 : : break;
9260 : : }
9261 : : default:;
9262 : : }
9263 : : }
9264 : : break;
9265 : : }
9266 : 0 : case UNEQ_EXPR:
9267 : 0 : {
9268 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9269 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9270 : 0 : if (integer_zerop (_q22))
9271 : : {
9272 : 0 : switch (TREE_CODE (_p1))
9273 : : {
9274 : 0 : case VEC_COND_EXPR:
9275 : 0 : {
9276 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
9277 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
9278 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
9279 : 0 : switch (TREE_CODE (_q80))
9280 : : {
9281 : 0 : case LTGT_EXPR:
9282 : 0 : {
9283 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
9284 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
9285 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9286 : : {
9287 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9288 : : {
9289 : 0 : if (integer_zerop (_q82))
9290 : : {
9291 : 0 : {
9292 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
9293 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, UNEQ_EXPR, LTGT_EXPR);
9294 : 0 : if (res) return res;
9295 : : }
9296 : : }
9297 : : }
9298 : : }
9299 : : break;
9300 : : }
9301 : : default:;
9302 : : }
9303 : : break;
9304 : : }
9305 : : default:;
9306 : : }
9307 : : }
9308 : : break;
9309 : : }
9310 : 0 : case LTGT_EXPR:
9311 : 0 : {
9312 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9313 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9314 : 0 : if (integer_zerop (_q22))
9315 : : {
9316 : 0 : switch (TREE_CODE (_p1))
9317 : : {
9318 : 0 : case VEC_COND_EXPR:
9319 : 0 : {
9320 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
9321 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
9322 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
9323 : 0 : switch (TREE_CODE (_q80))
9324 : : {
9325 : 0 : case UNEQ_EXPR:
9326 : 0 : {
9327 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
9328 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
9329 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9330 : : {
9331 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9332 : : {
9333 : 0 : if (integer_zerop (_q82))
9334 : : {
9335 : 0 : {
9336 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
9337 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LTGT_EXPR, UNEQ_EXPR);
9338 : 0 : if (res) return res;
9339 : : }
9340 : : }
9341 : : }
9342 : : }
9343 : : break;
9344 : : }
9345 : : default:;
9346 : : }
9347 : : break;
9348 : : }
9349 : : default:;
9350 : : }
9351 : : }
9352 : : break;
9353 : : }
9354 : : default:;
9355 : : }
9356 : : break;
9357 : : }
9358 : 126690 : case BIT_AND_EXPR:
9359 : 126690 : {
9360 : 126690 : tree _q20 = TREE_OPERAND (_p0, 0);
9361 : 126690 : tree _q21 = TREE_OPERAND (_p0, 1);
9362 : 126690 : switch (TREE_CODE (_q20))
9363 : : {
9364 : 56079 : CASE_CONVERT:
9365 : 56079 : {
9366 : 56079 : tree _q30 = TREE_OPERAND (_q20, 0);
9367 : 56079 : switch (TREE_CODE (_q30))
9368 : : {
9369 : 0 : case LT_EXPR:
9370 : 0 : {
9371 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
9372 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
9373 : 0 : switch (TREE_CODE (_p1))
9374 : : {
9375 : 0 : case BIT_AND_EXPR:
9376 : 0 : {
9377 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
9378 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
9379 : 0 : switch (TREE_CODE (_q80))
9380 : : {
9381 : 0 : CASE_CONVERT:
9382 : 0 : {
9383 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
9384 : 0 : switch (TREE_CODE (_q90))
9385 : : {
9386 : 0 : case GE_EXPR:
9387 : 0 : {
9388 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
9389 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
9390 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
9391 : : {
9392 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
9393 : : {
9394 : 0 : {
9395 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
9396 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
9397 : 0 : if (res) return res;
9398 : : }
9399 : : }
9400 : : }
9401 : : break;
9402 : : }
9403 : : default:;
9404 : : }
9405 : : break;
9406 : : }
9407 : 0 : default:;
9408 : : }
9409 : 0 : switch (TREE_CODE (_q81))
9410 : : {
9411 : 0 : CASE_CONVERT:
9412 : 0 : {
9413 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
9414 : 0 : switch (TREE_CODE (_q100))
9415 : : {
9416 : 0 : case GE_EXPR:
9417 : 0 : {
9418 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
9419 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
9420 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
9421 : : {
9422 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
9423 : : {
9424 : 0 : {
9425 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
9426 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
9427 : 0 : if (res) return res;
9428 : : }
9429 : : }
9430 : : }
9431 : : break;
9432 : : }
9433 : : default:;
9434 : : }
9435 : : break;
9436 : : }
9437 : : default:;
9438 : : }
9439 : : break;
9440 : : }
9441 : : default:;
9442 : : }
9443 : : break;
9444 : : }
9445 : 0 : case LE_EXPR:
9446 : 0 : {
9447 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
9448 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
9449 : 0 : switch (TREE_CODE (_p1))
9450 : : {
9451 : 0 : case BIT_AND_EXPR:
9452 : 0 : {
9453 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
9454 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
9455 : 0 : switch (TREE_CODE (_q80))
9456 : : {
9457 : 0 : CASE_CONVERT:
9458 : 0 : {
9459 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
9460 : 0 : switch (TREE_CODE (_q90))
9461 : : {
9462 : 0 : case GT_EXPR:
9463 : 0 : {
9464 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
9465 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
9466 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
9467 : : {
9468 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
9469 : : {
9470 : 0 : {
9471 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
9472 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
9473 : 0 : if (res) return res;
9474 : : }
9475 : : }
9476 : : }
9477 : : break;
9478 : : }
9479 : : default:;
9480 : : }
9481 : : break;
9482 : : }
9483 : 0 : default:;
9484 : : }
9485 : 0 : switch (TREE_CODE (_q81))
9486 : : {
9487 : 0 : CASE_CONVERT:
9488 : 0 : {
9489 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
9490 : 0 : switch (TREE_CODE (_q100))
9491 : : {
9492 : 0 : case GT_EXPR:
9493 : 0 : {
9494 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
9495 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
9496 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
9497 : : {
9498 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
9499 : : {
9500 : 0 : {
9501 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
9502 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
9503 : 0 : if (res) return res;
9504 : : }
9505 : : }
9506 : : }
9507 : : break;
9508 : : }
9509 : : default:;
9510 : : }
9511 : : break;
9512 : : }
9513 : : default:;
9514 : : }
9515 : : break;
9516 : : }
9517 : : default:;
9518 : : }
9519 : : break;
9520 : : }
9521 : 0 : case EQ_EXPR:
9522 : 0 : {
9523 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
9524 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
9525 : 0 : switch (TREE_CODE (_p1))
9526 : : {
9527 : 0 : case BIT_AND_EXPR:
9528 : 0 : {
9529 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
9530 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
9531 : 0 : switch (TREE_CODE (_q80))
9532 : : {
9533 : 0 : CASE_CONVERT:
9534 : 0 : {
9535 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
9536 : 0 : switch (TREE_CODE (_q90))
9537 : : {
9538 : 0 : case NE_EXPR:
9539 : 0 : {
9540 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
9541 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
9542 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
9543 : : {
9544 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
9545 : : {
9546 : 0 : {
9547 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
9548 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
9549 : 0 : if (res) return res;
9550 : : }
9551 : : }
9552 : : }
9553 : : break;
9554 : : }
9555 : : default:;
9556 : : }
9557 : : break;
9558 : : }
9559 : 0 : default:;
9560 : : }
9561 : 0 : switch (TREE_CODE (_q81))
9562 : : {
9563 : 0 : CASE_CONVERT:
9564 : 0 : {
9565 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
9566 : 0 : switch (TREE_CODE (_q100))
9567 : : {
9568 : 0 : case NE_EXPR:
9569 : 0 : {
9570 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
9571 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
9572 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
9573 : : {
9574 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
9575 : : {
9576 : 0 : {
9577 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
9578 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
9579 : 0 : if (res) return res;
9580 : : }
9581 : : }
9582 : : }
9583 : : break;
9584 : : }
9585 : : default:;
9586 : : }
9587 : : break;
9588 : : }
9589 : : default:;
9590 : : }
9591 : : break;
9592 : : }
9593 : : default:;
9594 : : }
9595 : : break;
9596 : : }
9597 : 0 : case NE_EXPR:
9598 : 0 : {
9599 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
9600 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
9601 : 0 : switch (TREE_CODE (_p1))
9602 : : {
9603 : 0 : case BIT_AND_EXPR:
9604 : 0 : {
9605 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
9606 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
9607 : 0 : switch (TREE_CODE (_q80))
9608 : : {
9609 : 0 : CASE_CONVERT:
9610 : 0 : {
9611 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
9612 : 0 : switch (TREE_CODE (_q90))
9613 : : {
9614 : 0 : case EQ_EXPR:
9615 : 0 : {
9616 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
9617 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
9618 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
9619 : : {
9620 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
9621 : : {
9622 : 0 : {
9623 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
9624 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
9625 : 0 : if (res) return res;
9626 : : }
9627 : : }
9628 : : }
9629 : : break;
9630 : : }
9631 : : default:;
9632 : : }
9633 : : break;
9634 : : }
9635 : 0 : default:;
9636 : : }
9637 : 0 : switch (TREE_CODE (_q81))
9638 : : {
9639 : 0 : CASE_CONVERT:
9640 : 0 : {
9641 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
9642 : 0 : switch (TREE_CODE (_q100))
9643 : : {
9644 : 0 : case EQ_EXPR:
9645 : 0 : {
9646 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
9647 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
9648 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
9649 : : {
9650 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
9651 : : {
9652 : 0 : {
9653 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
9654 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
9655 : 0 : if (res) return res;
9656 : : }
9657 : : }
9658 : : }
9659 : : break;
9660 : : }
9661 : : default:;
9662 : : }
9663 : : break;
9664 : : }
9665 : : default:;
9666 : : }
9667 : : break;
9668 : : }
9669 : : default:;
9670 : : }
9671 : : break;
9672 : : }
9673 : 0 : case GE_EXPR:
9674 : 0 : {
9675 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
9676 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
9677 : 0 : switch (TREE_CODE (_p1))
9678 : : {
9679 : 0 : case BIT_AND_EXPR:
9680 : 0 : {
9681 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
9682 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
9683 : 0 : switch (TREE_CODE (_q80))
9684 : : {
9685 : 0 : CASE_CONVERT:
9686 : 0 : {
9687 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
9688 : 0 : switch (TREE_CODE (_q90))
9689 : : {
9690 : 0 : case LT_EXPR:
9691 : 0 : {
9692 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
9693 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
9694 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
9695 : : {
9696 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
9697 : : {
9698 : 0 : {
9699 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
9700 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
9701 : 0 : if (res) return res;
9702 : : }
9703 : : }
9704 : : }
9705 : : break;
9706 : : }
9707 : : default:;
9708 : : }
9709 : : break;
9710 : : }
9711 : 0 : default:;
9712 : : }
9713 : 0 : switch (TREE_CODE (_q81))
9714 : : {
9715 : 0 : CASE_CONVERT:
9716 : 0 : {
9717 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
9718 : 0 : switch (TREE_CODE (_q100))
9719 : : {
9720 : 0 : case LT_EXPR:
9721 : 0 : {
9722 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
9723 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
9724 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
9725 : : {
9726 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
9727 : : {
9728 : 0 : {
9729 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
9730 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
9731 : 0 : if (res) return res;
9732 : : }
9733 : : }
9734 : : }
9735 : : break;
9736 : : }
9737 : : default:;
9738 : : }
9739 : : break;
9740 : : }
9741 : : default:;
9742 : : }
9743 : : break;
9744 : : }
9745 : : default:;
9746 : : }
9747 : : break;
9748 : : }
9749 : 0 : case GT_EXPR:
9750 : 0 : {
9751 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
9752 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
9753 : 0 : switch (TREE_CODE (_p1))
9754 : : {
9755 : 0 : case BIT_AND_EXPR:
9756 : 0 : {
9757 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
9758 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
9759 : 0 : switch (TREE_CODE (_q80))
9760 : : {
9761 : 0 : CASE_CONVERT:
9762 : 0 : {
9763 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
9764 : 0 : switch (TREE_CODE (_q90))
9765 : : {
9766 : 0 : case LE_EXPR:
9767 : 0 : {
9768 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
9769 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
9770 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
9771 : : {
9772 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
9773 : : {
9774 : 0 : {
9775 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
9776 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
9777 : 0 : if (res) return res;
9778 : : }
9779 : : }
9780 : : }
9781 : : break;
9782 : : }
9783 : : default:;
9784 : : }
9785 : : break;
9786 : : }
9787 : 0 : default:;
9788 : : }
9789 : 0 : switch (TREE_CODE (_q81))
9790 : : {
9791 : 0 : CASE_CONVERT:
9792 : 0 : {
9793 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
9794 : 0 : switch (TREE_CODE (_q100))
9795 : : {
9796 : 0 : case LE_EXPR:
9797 : 0 : {
9798 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
9799 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
9800 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
9801 : : {
9802 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
9803 : : {
9804 : 0 : {
9805 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
9806 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
9807 : 0 : if (res) return res;
9808 : : }
9809 : : }
9810 : : }
9811 : : break;
9812 : : }
9813 : : default:;
9814 : : }
9815 : : break;
9816 : : }
9817 : : default:;
9818 : : }
9819 : : break;
9820 : : }
9821 : : default:;
9822 : : }
9823 : : break;
9824 : : }
9825 : 0 : case UNORDERED_EXPR:
9826 : 0 : {
9827 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
9828 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
9829 : 0 : switch (TREE_CODE (_p1))
9830 : : {
9831 : 0 : case BIT_AND_EXPR:
9832 : 0 : {
9833 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
9834 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
9835 : 0 : switch (TREE_CODE (_q80))
9836 : : {
9837 : 0 : CASE_CONVERT:
9838 : 0 : {
9839 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
9840 : 0 : switch (TREE_CODE (_q90))
9841 : : {
9842 : 0 : case ORDERED_EXPR:
9843 : 0 : {
9844 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
9845 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
9846 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
9847 : : {
9848 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
9849 : : {
9850 : 0 : {
9851 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
9852 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
9853 : 0 : if (res) return res;
9854 : : }
9855 : : }
9856 : : }
9857 : : break;
9858 : : }
9859 : : default:;
9860 : : }
9861 : : break;
9862 : : }
9863 : 0 : default:;
9864 : : }
9865 : 0 : switch (TREE_CODE (_q81))
9866 : : {
9867 : 0 : CASE_CONVERT:
9868 : 0 : {
9869 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
9870 : 0 : switch (TREE_CODE (_q100))
9871 : : {
9872 : 0 : case ORDERED_EXPR:
9873 : 0 : {
9874 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
9875 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
9876 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
9877 : : {
9878 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
9879 : : {
9880 : 0 : {
9881 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
9882 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
9883 : 0 : if (res) return res;
9884 : : }
9885 : : }
9886 : : }
9887 : : break;
9888 : : }
9889 : : default:;
9890 : : }
9891 : : break;
9892 : : }
9893 : : default:;
9894 : : }
9895 : : break;
9896 : : }
9897 : : default:;
9898 : : }
9899 : : break;
9900 : : }
9901 : 0 : case ORDERED_EXPR:
9902 : 0 : {
9903 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
9904 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
9905 : 0 : switch (TREE_CODE (_p1))
9906 : : {
9907 : 0 : case BIT_AND_EXPR:
9908 : 0 : {
9909 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
9910 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
9911 : 0 : switch (TREE_CODE (_q80))
9912 : : {
9913 : 0 : CASE_CONVERT:
9914 : 0 : {
9915 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
9916 : 0 : switch (TREE_CODE (_q90))
9917 : : {
9918 : 0 : case UNORDERED_EXPR:
9919 : 0 : {
9920 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
9921 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
9922 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
9923 : : {
9924 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
9925 : : {
9926 : 0 : {
9927 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
9928 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
9929 : 0 : if (res) return res;
9930 : : }
9931 : : }
9932 : : }
9933 : : break;
9934 : : }
9935 : : default:;
9936 : : }
9937 : : break;
9938 : : }
9939 : 0 : default:;
9940 : : }
9941 : 0 : switch (TREE_CODE (_q81))
9942 : : {
9943 : 0 : CASE_CONVERT:
9944 : 0 : {
9945 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
9946 : 0 : switch (TREE_CODE (_q100))
9947 : : {
9948 : 0 : case UNORDERED_EXPR:
9949 : 0 : {
9950 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
9951 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
9952 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
9953 : : {
9954 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
9955 : : {
9956 : 0 : {
9957 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
9958 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
9959 : 0 : if (res) return res;
9960 : : }
9961 : : }
9962 : : }
9963 : : break;
9964 : : }
9965 : : default:;
9966 : : }
9967 : : break;
9968 : : }
9969 : : default:;
9970 : : }
9971 : : break;
9972 : : }
9973 : : default:;
9974 : : }
9975 : : break;
9976 : : }
9977 : 0 : case UNLT_EXPR:
9978 : 0 : {
9979 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
9980 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
9981 : 0 : switch (TREE_CODE (_p1))
9982 : : {
9983 : 0 : case BIT_AND_EXPR:
9984 : 0 : {
9985 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
9986 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
9987 : 0 : switch (TREE_CODE (_q80))
9988 : : {
9989 : 0 : CASE_CONVERT:
9990 : 0 : {
9991 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
9992 : 0 : switch (TREE_CODE (_q90))
9993 : : {
9994 : 0 : case GE_EXPR:
9995 : 0 : {
9996 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
9997 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
9998 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
9999 : : {
10000 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
10001 : : {
10002 : 0 : {
10003 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
10004 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
10005 : 0 : if (res) return res;
10006 : : }
10007 : : }
10008 : : }
10009 : : break;
10010 : : }
10011 : : default:;
10012 : : }
10013 : : break;
10014 : : }
10015 : 0 : default:;
10016 : : }
10017 : 0 : switch (TREE_CODE (_q81))
10018 : : {
10019 : 0 : CASE_CONVERT:
10020 : 0 : {
10021 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
10022 : 0 : switch (TREE_CODE (_q100))
10023 : : {
10024 : 0 : case GE_EXPR:
10025 : 0 : {
10026 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10027 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10028 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
10029 : : {
10030 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
10031 : : {
10032 : 0 : {
10033 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
10034 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
10035 : 0 : if (res) return res;
10036 : : }
10037 : : }
10038 : : }
10039 : : break;
10040 : : }
10041 : : default:;
10042 : : }
10043 : : break;
10044 : : }
10045 : : default:;
10046 : : }
10047 : : break;
10048 : : }
10049 : : default:;
10050 : : }
10051 : : break;
10052 : : }
10053 : 0 : case UNLE_EXPR:
10054 : 0 : {
10055 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
10056 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
10057 : 0 : switch (TREE_CODE (_p1))
10058 : : {
10059 : 0 : case BIT_AND_EXPR:
10060 : 0 : {
10061 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
10062 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
10063 : 0 : switch (TREE_CODE (_q80))
10064 : : {
10065 : 0 : CASE_CONVERT:
10066 : 0 : {
10067 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
10068 : 0 : switch (TREE_CODE (_q90))
10069 : : {
10070 : 0 : case GT_EXPR:
10071 : 0 : {
10072 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
10073 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
10074 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
10075 : : {
10076 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
10077 : : {
10078 : 0 : {
10079 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
10080 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
10081 : 0 : if (res) return res;
10082 : : }
10083 : : }
10084 : : }
10085 : : break;
10086 : : }
10087 : : default:;
10088 : : }
10089 : : break;
10090 : : }
10091 : 0 : default:;
10092 : : }
10093 : 0 : switch (TREE_CODE (_q81))
10094 : : {
10095 : 0 : CASE_CONVERT:
10096 : 0 : {
10097 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
10098 : 0 : switch (TREE_CODE (_q100))
10099 : : {
10100 : 0 : case GT_EXPR:
10101 : 0 : {
10102 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10103 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10104 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
10105 : : {
10106 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
10107 : : {
10108 : 0 : {
10109 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
10110 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
10111 : 0 : if (res) return res;
10112 : : }
10113 : : }
10114 : : }
10115 : : break;
10116 : : }
10117 : : default:;
10118 : : }
10119 : : break;
10120 : : }
10121 : : default:;
10122 : : }
10123 : : break;
10124 : : }
10125 : : default:;
10126 : : }
10127 : : break;
10128 : : }
10129 : 0 : case UNGT_EXPR:
10130 : 0 : {
10131 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
10132 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
10133 : 0 : switch (TREE_CODE (_p1))
10134 : : {
10135 : 0 : case BIT_AND_EXPR:
10136 : 0 : {
10137 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
10138 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
10139 : 0 : switch (TREE_CODE (_q80))
10140 : : {
10141 : 0 : CASE_CONVERT:
10142 : 0 : {
10143 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
10144 : 0 : switch (TREE_CODE (_q90))
10145 : : {
10146 : 0 : case LE_EXPR:
10147 : 0 : {
10148 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
10149 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
10150 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
10151 : : {
10152 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
10153 : : {
10154 : 0 : {
10155 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
10156 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
10157 : 0 : if (res) return res;
10158 : : }
10159 : : }
10160 : : }
10161 : : break;
10162 : : }
10163 : : default:;
10164 : : }
10165 : : break;
10166 : : }
10167 : 0 : default:;
10168 : : }
10169 : 0 : switch (TREE_CODE (_q81))
10170 : : {
10171 : 0 : CASE_CONVERT:
10172 : 0 : {
10173 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
10174 : 0 : switch (TREE_CODE (_q100))
10175 : : {
10176 : 0 : case LE_EXPR:
10177 : 0 : {
10178 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10179 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10180 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
10181 : : {
10182 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
10183 : : {
10184 : 0 : {
10185 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
10186 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
10187 : 0 : if (res) return res;
10188 : : }
10189 : : }
10190 : : }
10191 : : break;
10192 : : }
10193 : : default:;
10194 : : }
10195 : : break;
10196 : : }
10197 : : default:;
10198 : : }
10199 : : break;
10200 : : }
10201 : : default:;
10202 : : }
10203 : : break;
10204 : : }
10205 : 0 : case UNGE_EXPR:
10206 : 0 : {
10207 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
10208 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
10209 : 0 : switch (TREE_CODE (_p1))
10210 : : {
10211 : 0 : case BIT_AND_EXPR:
10212 : 0 : {
10213 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
10214 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
10215 : 0 : switch (TREE_CODE (_q80))
10216 : : {
10217 : 0 : CASE_CONVERT:
10218 : 0 : {
10219 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
10220 : 0 : switch (TREE_CODE (_q90))
10221 : : {
10222 : 0 : case LT_EXPR:
10223 : 0 : {
10224 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
10225 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
10226 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
10227 : : {
10228 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
10229 : : {
10230 : 0 : {
10231 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
10232 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
10233 : 0 : if (res) return res;
10234 : : }
10235 : : }
10236 : : }
10237 : : break;
10238 : : }
10239 : : default:;
10240 : : }
10241 : : break;
10242 : : }
10243 : 0 : default:;
10244 : : }
10245 : 0 : switch (TREE_CODE (_q81))
10246 : : {
10247 : 0 : CASE_CONVERT:
10248 : 0 : {
10249 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
10250 : 0 : switch (TREE_CODE (_q100))
10251 : : {
10252 : 0 : case LT_EXPR:
10253 : 0 : {
10254 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10255 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10256 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
10257 : : {
10258 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
10259 : : {
10260 : 0 : {
10261 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
10262 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
10263 : 0 : if (res) return res;
10264 : : }
10265 : : }
10266 : : }
10267 : : break;
10268 : : }
10269 : : default:;
10270 : : }
10271 : : break;
10272 : : }
10273 : : default:;
10274 : : }
10275 : : break;
10276 : : }
10277 : : default:;
10278 : : }
10279 : : break;
10280 : : }
10281 : 0 : case UNEQ_EXPR:
10282 : 0 : {
10283 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
10284 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
10285 : 0 : switch (TREE_CODE (_p1))
10286 : : {
10287 : 0 : case BIT_AND_EXPR:
10288 : 0 : {
10289 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
10290 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
10291 : 0 : switch (TREE_CODE (_q80))
10292 : : {
10293 : 0 : CASE_CONVERT:
10294 : 0 : {
10295 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
10296 : 0 : switch (TREE_CODE (_q90))
10297 : : {
10298 : 0 : case LTGT_EXPR:
10299 : 0 : {
10300 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
10301 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
10302 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
10303 : : {
10304 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
10305 : : {
10306 : 0 : {
10307 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
10308 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
10309 : 0 : if (res) return res;
10310 : : }
10311 : : }
10312 : : }
10313 : : break;
10314 : : }
10315 : : default:;
10316 : : }
10317 : : break;
10318 : : }
10319 : 0 : default:;
10320 : : }
10321 : 0 : switch (TREE_CODE (_q81))
10322 : : {
10323 : 0 : CASE_CONVERT:
10324 : 0 : {
10325 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
10326 : 0 : switch (TREE_CODE (_q100))
10327 : : {
10328 : 0 : case LTGT_EXPR:
10329 : 0 : {
10330 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10331 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10332 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
10333 : : {
10334 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
10335 : : {
10336 : 0 : {
10337 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
10338 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
10339 : 0 : if (res) return res;
10340 : : }
10341 : : }
10342 : : }
10343 : : break;
10344 : : }
10345 : : default:;
10346 : : }
10347 : : break;
10348 : : }
10349 : : default:;
10350 : : }
10351 : : break;
10352 : : }
10353 : : default:;
10354 : : }
10355 : : break;
10356 : : }
10357 : 0 : case LTGT_EXPR:
10358 : 0 : {
10359 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
10360 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
10361 : 0 : switch (TREE_CODE (_p1))
10362 : : {
10363 : 0 : case BIT_AND_EXPR:
10364 : 0 : {
10365 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
10366 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
10367 : 0 : switch (TREE_CODE (_q80))
10368 : : {
10369 : 0 : CASE_CONVERT:
10370 : 0 : {
10371 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
10372 : 0 : switch (TREE_CODE (_q90))
10373 : : {
10374 : 0 : case UNEQ_EXPR:
10375 : 0 : {
10376 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
10377 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
10378 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
10379 : : {
10380 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
10381 : : {
10382 : 0 : {
10383 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
10384 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
10385 : 0 : if (res) return res;
10386 : : }
10387 : : }
10388 : : }
10389 : : break;
10390 : : }
10391 : : default:;
10392 : : }
10393 : : break;
10394 : : }
10395 : 0 : default:;
10396 : : }
10397 : 0 : switch (TREE_CODE (_q81))
10398 : : {
10399 : 0 : CASE_CONVERT:
10400 : 0 : {
10401 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
10402 : 0 : switch (TREE_CODE (_q100))
10403 : : {
10404 : 0 : case UNEQ_EXPR:
10405 : 0 : {
10406 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10407 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10408 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
10409 : : {
10410 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
10411 : : {
10412 : 0 : {
10413 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
10414 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
10415 : 0 : if (res) return res;
10416 : : }
10417 : : }
10418 : : }
10419 : : break;
10420 : : }
10421 : : default:;
10422 : : }
10423 : : break;
10424 : : }
10425 : : default:;
10426 : : }
10427 : : break;
10428 : : }
10429 : : default:;
10430 : : }
10431 : : break;
10432 : : }
10433 : : default:;
10434 : : }
10435 : : break;
10436 : : }
10437 : 126690 : default:;
10438 : : }
10439 : 126690 : switch (TREE_CODE (_q21))
10440 : : {
10441 : 188 : CASE_CONVERT:
10442 : 188 : {
10443 : 188 : tree _q40 = TREE_OPERAND (_q21, 0);
10444 : 188 : switch (TREE_CODE (_q40))
10445 : : {
10446 : 0 : case LT_EXPR:
10447 : 0 : {
10448 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
10449 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
10450 : 0 : switch (TREE_CODE (_p1))
10451 : : {
10452 : 0 : case BIT_AND_EXPR:
10453 : 0 : {
10454 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
10455 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
10456 : 0 : switch (TREE_CODE (_q80))
10457 : : {
10458 : 0 : CASE_CONVERT:
10459 : 0 : {
10460 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
10461 : 0 : switch (TREE_CODE (_q90))
10462 : : {
10463 : 0 : case GE_EXPR:
10464 : 0 : {
10465 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
10466 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
10467 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
10468 : : {
10469 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
10470 : : {
10471 : 0 : {
10472 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
10473 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
10474 : 0 : if (res) return res;
10475 : : }
10476 : : }
10477 : : }
10478 : : break;
10479 : : }
10480 : : default:;
10481 : : }
10482 : : break;
10483 : : }
10484 : 0 : default:;
10485 : : }
10486 : 0 : switch (TREE_CODE (_q81))
10487 : : {
10488 : 0 : CASE_CONVERT:
10489 : 0 : {
10490 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
10491 : 0 : switch (TREE_CODE (_q100))
10492 : : {
10493 : 0 : case GE_EXPR:
10494 : 0 : {
10495 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10496 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10497 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
10498 : : {
10499 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
10500 : : {
10501 : 0 : {
10502 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
10503 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
10504 : 0 : if (res) return res;
10505 : : }
10506 : : }
10507 : : }
10508 : : break;
10509 : : }
10510 : : default:;
10511 : : }
10512 : : break;
10513 : : }
10514 : : default:;
10515 : : }
10516 : : break;
10517 : : }
10518 : : default:;
10519 : : }
10520 : : break;
10521 : : }
10522 : 0 : case LE_EXPR:
10523 : 0 : {
10524 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
10525 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
10526 : 0 : switch (TREE_CODE (_p1))
10527 : : {
10528 : 0 : case BIT_AND_EXPR:
10529 : 0 : {
10530 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
10531 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
10532 : 0 : switch (TREE_CODE (_q80))
10533 : : {
10534 : 0 : CASE_CONVERT:
10535 : 0 : {
10536 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
10537 : 0 : switch (TREE_CODE (_q90))
10538 : : {
10539 : 0 : case GT_EXPR:
10540 : 0 : {
10541 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
10542 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
10543 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
10544 : : {
10545 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
10546 : : {
10547 : 0 : {
10548 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
10549 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
10550 : 0 : if (res) return res;
10551 : : }
10552 : : }
10553 : : }
10554 : : break;
10555 : : }
10556 : : default:;
10557 : : }
10558 : : break;
10559 : : }
10560 : 0 : default:;
10561 : : }
10562 : 0 : switch (TREE_CODE (_q81))
10563 : : {
10564 : 0 : CASE_CONVERT:
10565 : 0 : {
10566 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
10567 : 0 : switch (TREE_CODE (_q100))
10568 : : {
10569 : 0 : case GT_EXPR:
10570 : 0 : {
10571 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10572 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10573 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
10574 : : {
10575 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
10576 : : {
10577 : 0 : {
10578 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
10579 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
10580 : 0 : if (res) return res;
10581 : : }
10582 : : }
10583 : : }
10584 : : break;
10585 : : }
10586 : : default:;
10587 : : }
10588 : : break;
10589 : : }
10590 : : default:;
10591 : : }
10592 : : break;
10593 : : }
10594 : : default:;
10595 : : }
10596 : : break;
10597 : : }
10598 : 0 : case EQ_EXPR:
10599 : 0 : {
10600 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
10601 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
10602 : 0 : switch (TREE_CODE (_p1))
10603 : : {
10604 : 0 : case BIT_AND_EXPR:
10605 : 0 : {
10606 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
10607 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
10608 : 0 : switch (TREE_CODE (_q80))
10609 : : {
10610 : 0 : CASE_CONVERT:
10611 : 0 : {
10612 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
10613 : 0 : switch (TREE_CODE (_q90))
10614 : : {
10615 : 0 : case NE_EXPR:
10616 : 0 : {
10617 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
10618 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
10619 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
10620 : : {
10621 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
10622 : : {
10623 : 0 : {
10624 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
10625 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
10626 : 0 : if (res) return res;
10627 : : }
10628 : : }
10629 : : }
10630 : : break;
10631 : : }
10632 : : default:;
10633 : : }
10634 : : break;
10635 : : }
10636 : 0 : default:;
10637 : : }
10638 : 0 : switch (TREE_CODE (_q81))
10639 : : {
10640 : 0 : CASE_CONVERT:
10641 : 0 : {
10642 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
10643 : 0 : switch (TREE_CODE (_q100))
10644 : : {
10645 : 0 : case NE_EXPR:
10646 : 0 : {
10647 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10648 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10649 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
10650 : : {
10651 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
10652 : : {
10653 : 0 : {
10654 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
10655 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
10656 : 0 : if (res) return res;
10657 : : }
10658 : : }
10659 : : }
10660 : : break;
10661 : : }
10662 : : default:;
10663 : : }
10664 : : break;
10665 : : }
10666 : : default:;
10667 : : }
10668 : : break;
10669 : : }
10670 : : default:;
10671 : : }
10672 : : break;
10673 : : }
10674 : 0 : case NE_EXPR:
10675 : 0 : {
10676 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
10677 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
10678 : 0 : switch (TREE_CODE (_p1))
10679 : : {
10680 : 0 : case BIT_AND_EXPR:
10681 : 0 : {
10682 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
10683 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
10684 : 0 : switch (TREE_CODE (_q80))
10685 : : {
10686 : 0 : CASE_CONVERT:
10687 : 0 : {
10688 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
10689 : 0 : switch (TREE_CODE (_q90))
10690 : : {
10691 : 0 : case EQ_EXPR:
10692 : 0 : {
10693 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
10694 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
10695 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
10696 : : {
10697 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
10698 : : {
10699 : 0 : {
10700 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
10701 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
10702 : 0 : if (res) return res;
10703 : : }
10704 : : }
10705 : : }
10706 : : break;
10707 : : }
10708 : : default:;
10709 : : }
10710 : : break;
10711 : : }
10712 : 0 : default:;
10713 : : }
10714 : 0 : switch (TREE_CODE (_q81))
10715 : : {
10716 : 0 : CASE_CONVERT:
10717 : 0 : {
10718 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
10719 : 0 : switch (TREE_CODE (_q100))
10720 : : {
10721 : 0 : case EQ_EXPR:
10722 : 0 : {
10723 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10724 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10725 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
10726 : : {
10727 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
10728 : : {
10729 : 0 : {
10730 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
10731 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
10732 : 0 : if (res) return res;
10733 : : }
10734 : : }
10735 : : }
10736 : : break;
10737 : : }
10738 : : default:;
10739 : : }
10740 : : break;
10741 : : }
10742 : : default:;
10743 : : }
10744 : : break;
10745 : : }
10746 : : default:;
10747 : : }
10748 : : break;
10749 : : }
10750 : 0 : case GE_EXPR:
10751 : 0 : {
10752 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
10753 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
10754 : 0 : switch (TREE_CODE (_p1))
10755 : : {
10756 : 0 : case BIT_AND_EXPR:
10757 : 0 : {
10758 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
10759 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
10760 : 0 : switch (TREE_CODE (_q80))
10761 : : {
10762 : 0 : CASE_CONVERT:
10763 : 0 : {
10764 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
10765 : 0 : switch (TREE_CODE (_q90))
10766 : : {
10767 : 0 : case LT_EXPR:
10768 : 0 : {
10769 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
10770 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
10771 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
10772 : : {
10773 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
10774 : : {
10775 : 0 : {
10776 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
10777 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
10778 : 0 : if (res) return res;
10779 : : }
10780 : : }
10781 : : }
10782 : : break;
10783 : : }
10784 : : default:;
10785 : : }
10786 : : break;
10787 : : }
10788 : 0 : default:;
10789 : : }
10790 : 0 : switch (TREE_CODE (_q81))
10791 : : {
10792 : 0 : CASE_CONVERT:
10793 : 0 : {
10794 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
10795 : 0 : switch (TREE_CODE (_q100))
10796 : : {
10797 : 0 : case LT_EXPR:
10798 : 0 : {
10799 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10800 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10801 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
10802 : : {
10803 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
10804 : : {
10805 : 0 : {
10806 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
10807 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
10808 : 0 : if (res) return res;
10809 : : }
10810 : : }
10811 : : }
10812 : : break;
10813 : : }
10814 : : default:;
10815 : : }
10816 : : break;
10817 : : }
10818 : : default:;
10819 : : }
10820 : : break;
10821 : : }
10822 : : default:;
10823 : : }
10824 : : break;
10825 : : }
10826 : 0 : case GT_EXPR:
10827 : 0 : {
10828 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
10829 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
10830 : 0 : switch (TREE_CODE (_p1))
10831 : : {
10832 : 0 : case BIT_AND_EXPR:
10833 : 0 : {
10834 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
10835 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
10836 : 0 : switch (TREE_CODE (_q80))
10837 : : {
10838 : 0 : CASE_CONVERT:
10839 : 0 : {
10840 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
10841 : 0 : switch (TREE_CODE (_q90))
10842 : : {
10843 : 0 : case LE_EXPR:
10844 : 0 : {
10845 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
10846 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
10847 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
10848 : : {
10849 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
10850 : : {
10851 : 0 : {
10852 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
10853 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
10854 : 0 : if (res) return res;
10855 : : }
10856 : : }
10857 : : }
10858 : : break;
10859 : : }
10860 : : default:;
10861 : : }
10862 : : break;
10863 : : }
10864 : 0 : default:;
10865 : : }
10866 : 0 : switch (TREE_CODE (_q81))
10867 : : {
10868 : 0 : CASE_CONVERT:
10869 : 0 : {
10870 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
10871 : 0 : switch (TREE_CODE (_q100))
10872 : : {
10873 : 0 : case LE_EXPR:
10874 : 0 : {
10875 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10876 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10877 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
10878 : : {
10879 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
10880 : : {
10881 : 0 : {
10882 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
10883 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
10884 : 0 : if (res) return res;
10885 : : }
10886 : : }
10887 : : }
10888 : : break;
10889 : : }
10890 : : default:;
10891 : : }
10892 : : break;
10893 : : }
10894 : : default:;
10895 : : }
10896 : : break;
10897 : : }
10898 : : default:;
10899 : : }
10900 : : break;
10901 : : }
10902 : 0 : case UNORDERED_EXPR:
10903 : 0 : {
10904 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
10905 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
10906 : 0 : switch (TREE_CODE (_p1))
10907 : : {
10908 : 0 : case BIT_AND_EXPR:
10909 : 0 : {
10910 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
10911 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
10912 : 0 : switch (TREE_CODE (_q80))
10913 : : {
10914 : 0 : CASE_CONVERT:
10915 : 0 : {
10916 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
10917 : 0 : switch (TREE_CODE (_q90))
10918 : : {
10919 : 0 : case ORDERED_EXPR:
10920 : 0 : {
10921 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
10922 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
10923 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
10924 : : {
10925 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
10926 : : {
10927 : 0 : {
10928 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
10929 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
10930 : 0 : if (res) return res;
10931 : : }
10932 : : }
10933 : : }
10934 : : break;
10935 : : }
10936 : : default:;
10937 : : }
10938 : : break;
10939 : : }
10940 : 0 : default:;
10941 : : }
10942 : 0 : switch (TREE_CODE (_q81))
10943 : : {
10944 : 0 : CASE_CONVERT:
10945 : 0 : {
10946 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
10947 : 0 : switch (TREE_CODE (_q100))
10948 : : {
10949 : 0 : case ORDERED_EXPR:
10950 : 0 : {
10951 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10952 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10953 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
10954 : : {
10955 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
10956 : : {
10957 : 0 : {
10958 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
10959 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
10960 : 0 : if (res) return res;
10961 : : }
10962 : : }
10963 : : }
10964 : : break;
10965 : : }
10966 : : default:;
10967 : : }
10968 : : break;
10969 : : }
10970 : : default:;
10971 : : }
10972 : : break;
10973 : : }
10974 : : default:;
10975 : : }
10976 : : break;
10977 : : }
10978 : 0 : case ORDERED_EXPR:
10979 : 0 : {
10980 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
10981 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
10982 : 0 : switch (TREE_CODE (_p1))
10983 : : {
10984 : 0 : case BIT_AND_EXPR:
10985 : 0 : {
10986 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
10987 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
10988 : 0 : switch (TREE_CODE (_q80))
10989 : : {
10990 : 0 : CASE_CONVERT:
10991 : 0 : {
10992 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
10993 : 0 : switch (TREE_CODE (_q90))
10994 : : {
10995 : 0 : case UNORDERED_EXPR:
10996 : 0 : {
10997 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
10998 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
10999 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
11000 : : {
11001 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
11002 : : {
11003 : 0 : {
11004 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
11005 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
11006 : 0 : if (res) return res;
11007 : : }
11008 : : }
11009 : : }
11010 : : break;
11011 : : }
11012 : : default:;
11013 : : }
11014 : : break;
11015 : : }
11016 : 0 : default:;
11017 : : }
11018 : 0 : switch (TREE_CODE (_q81))
11019 : : {
11020 : 0 : CASE_CONVERT:
11021 : 0 : {
11022 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
11023 : 0 : switch (TREE_CODE (_q100))
11024 : : {
11025 : 0 : case UNORDERED_EXPR:
11026 : 0 : {
11027 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11028 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11029 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
11030 : : {
11031 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
11032 : : {
11033 : 0 : {
11034 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
11035 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
11036 : 0 : if (res) return res;
11037 : : }
11038 : : }
11039 : : }
11040 : : break;
11041 : : }
11042 : : default:;
11043 : : }
11044 : : break;
11045 : : }
11046 : : default:;
11047 : : }
11048 : : break;
11049 : : }
11050 : : default:;
11051 : : }
11052 : : break;
11053 : : }
11054 : 0 : case UNLT_EXPR:
11055 : 0 : {
11056 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
11057 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
11058 : 0 : switch (TREE_CODE (_p1))
11059 : : {
11060 : 0 : case BIT_AND_EXPR:
11061 : 0 : {
11062 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
11063 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
11064 : 0 : switch (TREE_CODE (_q80))
11065 : : {
11066 : 0 : CASE_CONVERT:
11067 : 0 : {
11068 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
11069 : 0 : switch (TREE_CODE (_q90))
11070 : : {
11071 : 0 : case GE_EXPR:
11072 : 0 : {
11073 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
11074 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
11075 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
11076 : : {
11077 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
11078 : : {
11079 : 0 : {
11080 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
11081 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
11082 : 0 : if (res) return res;
11083 : : }
11084 : : }
11085 : : }
11086 : : break;
11087 : : }
11088 : : default:;
11089 : : }
11090 : : break;
11091 : : }
11092 : 0 : default:;
11093 : : }
11094 : 0 : switch (TREE_CODE (_q81))
11095 : : {
11096 : 0 : CASE_CONVERT:
11097 : 0 : {
11098 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
11099 : 0 : switch (TREE_CODE (_q100))
11100 : : {
11101 : 0 : case GE_EXPR:
11102 : 0 : {
11103 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11104 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11105 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
11106 : : {
11107 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
11108 : : {
11109 : 0 : {
11110 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
11111 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
11112 : 0 : if (res) return res;
11113 : : }
11114 : : }
11115 : : }
11116 : : break;
11117 : : }
11118 : : default:;
11119 : : }
11120 : : break;
11121 : : }
11122 : : default:;
11123 : : }
11124 : : break;
11125 : : }
11126 : : default:;
11127 : : }
11128 : : break;
11129 : : }
11130 : 0 : case UNLE_EXPR:
11131 : 0 : {
11132 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
11133 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
11134 : 0 : switch (TREE_CODE (_p1))
11135 : : {
11136 : 0 : case BIT_AND_EXPR:
11137 : 0 : {
11138 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
11139 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
11140 : 0 : switch (TREE_CODE (_q80))
11141 : : {
11142 : 0 : CASE_CONVERT:
11143 : 0 : {
11144 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
11145 : 0 : switch (TREE_CODE (_q90))
11146 : : {
11147 : 0 : case GT_EXPR:
11148 : 0 : {
11149 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
11150 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
11151 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
11152 : : {
11153 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
11154 : : {
11155 : 0 : {
11156 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
11157 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
11158 : 0 : if (res) return res;
11159 : : }
11160 : : }
11161 : : }
11162 : : break;
11163 : : }
11164 : : default:;
11165 : : }
11166 : : break;
11167 : : }
11168 : 0 : default:;
11169 : : }
11170 : 0 : switch (TREE_CODE (_q81))
11171 : : {
11172 : 0 : CASE_CONVERT:
11173 : 0 : {
11174 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
11175 : 0 : switch (TREE_CODE (_q100))
11176 : : {
11177 : 0 : case GT_EXPR:
11178 : 0 : {
11179 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11180 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11181 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
11182 : : {
11183 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
11184 : : {
11185 : 0 : {
11186 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
11187 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
11188 : 0 : if (res) return res;
11189 : : }
11190 : : }
11191 : : }
11192 : : break;
11193 : : }
11194 : : default:;
11195 : : }
11196 : : break;
11197 : : }
11198 : : default:;
11199 : : }
11200 : : break;
11201 : : }
11202 : : default:;
11203 : : }
11204 : : break;
11205 : : }
11206 : 0 : case UNGT_EXPR:
11207 : 0 : {
11208 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
11209 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
11210 : 0 : switch (TREE_CODE (_p1))
11211 : : {
11212 : 0 : case BIT_AND_EXPR:
11213 : 0 : {
11214 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
11215 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
11216 : 0 : switch (TREE_CODE (_q80))
11217 : : {
11218 : 0 : CASE_CONVERT:
11219 : 0 : {
11220 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
11221 : 0 : switch (TREE_CODE (_q90))
11222 : : {
11223 : 0 : case LE_EXPR:
11224 : 0 : {
11225 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
11226 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
11227 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
11228 : : {
11229 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
11230 : : {
11231 : 0 : {
11232 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
11233 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
11234 : 0 : if (res) return res;
11235 : : }
11236 : : }
11237 : : }
11238 : : break;
11239 : : }
11240 : : default:;
11241 : : }
11242 : : break;
11243 : : }
11244 : 0 : default:;
11245 : : }
11246 : 0 : switch (TREE_CODE (_q81))
11247 : : {
11248 : 0 : CASE_CONVERT:
11249 : 0 : {
11250 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
11251 : 0 : switch (TREE_CODE (_q100))
11252 : : {
11253 : 0 : case LE_EXPR:
11254 : 0 : {
11255 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11256 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11257 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
11258 : : {
11259 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
11260 : : {
11261 : 0 : {
11262 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
11263 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
11264 : 0 : if (res) return res;
11265 : : }
11266 : : }
11267 : : }
11268 : : break;
11269 : : }
11270 : : default:;
11271 : : }
11272 : : break;
11273 : : }
11274 : : default:;
11275 : : }
11276 : : break;
11277 : : }
11278 : : default:;
11279 : : }
11280 : : break;
11281 : : }
11282 : 0 : case UNGE_EXPR:
11283 : 0 : {
11284 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
11285 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
11286 : 0 : switch (TREE_CODE (_p1))
11287 : : {
11288 : 0 : case BIT_AND_EXPR:
11289 : 0 : {
11290 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
11291 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
11292 : 0 : switch (TREE_CODE (_q80))
11293 : : {
11294 : 0 : CASE_CONVERT:
11295 : 0 : {
11296 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
11297 : 0 : switch (TREE_CODE (_q90))
11298 : : {
11299 : 0 : case LT_EXPR:
11300 : 0 : {
11301 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
11302 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
11303 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
11304 : : {
11305 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
11306 : : {
11307 : 0 : {
11308 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
11309 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
11310 : 0 : if (res) return res;
11311 : : }
11312 : : }
11313 : : }
11314 : : break;
11315 : : }
11316 : : default:;
11317 : : }
11318 : : break;
11319 : : }
11320 : 0 : default:;
11321 : : }
11322 : 0 : switch (TREE_CODE (_q81))
11323 : : {
11324 : 0 : CASE_CONVERT:
11325 : 0 : {
11326 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
11327 : 0 : switch (TREE_CODE (_q100))
11328 : : {
11329 : 0 : case LT_EXPR:
11330 : 0 : {
11331 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11332 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11333 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
11334 : : {
11335 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
11336 : : {
11337 : 0 : {
11338 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
11339 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
11340 : 0 : if (res) return res;
11341 : : }
11342 : : }
11343 : : }
11344 : : break;
11345 : : }
11346 : : default:;
11347 : : }
11348 : : break;
11349 : : }
11350 : : default:;
11351 : : }
11352 : : break;
11353 : : }
11354 : : default:;
11355 : : }
11356 : : break;
11357 : : }
11358 : 0 : case UNEQ_EXPR:
11359 : 0 : {
11360 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
11361 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
11362 : 0 : switch (TREE_CODE (_p1))
11363 : : {
11364 : 0 : case BIT_AND_EXPR:
11365 : 0 : {
11366 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
11367 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
11368 : 0 : switch (TREE_CODE (_q80))
11369 : : {
11370 : 0 : CASE_CONVERT:
11371 : 0 : {
11372 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
11373 : 0 : switch (TREE_CODE (_q90))
11374 : : {
11375 : 0 : case LTGT_EXPR:
11376 : 0 : {
11377 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
11378 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
11379 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
11380 : : {
11381 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
11382 : : {
11383 : 0 : {
11384 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
11385 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
11386 : 0 : if (res) return res;
11387 : : }
11388 : : }
11389 : : }
11390 : : break;
11391 : : }
11392 : : default:;
11393 : : }
11394 : : break;
11395 : : }
11396 : 0 : default:;
11397 : : }
11398 : 0 : switch (TREE_CODE (_q81))
11399 : : {
11400 : 0 : CASE_CONVERT:
11401 : 0 : {
11402 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
11403 : 0 : switch (TREE_CODE (_q100))
11404 : : {
11405 : 0 : case LTGT_EXPR:
11406 : 0 : {
11407 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11408 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11409 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
11410 : : {
11411 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
11412 : : {
11413 : 0 : {
11414 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
11415 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
11416 : 0 : if (res) return res;
11417 : : }
11418 : : }
11419 : : }
11420 : : break;
11421 : : }
11422 : : default:;
11423 : : }
11424 : : break;
11425 : : }
11426 : : default:;
11427 : : }
11428 : : break;
11429 : : }
11430 : : default:;
11431 : : }
11432 : : break;
11433 : : }
11434 : 0 : case LTGT_EXPR:
11435 : 0 : {
11436 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
11437 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
11438 : 0 : switch (TREE_CODE (_p1))
11439 : : {
11440 : 0 : case BIT_AND_EXPR:
11441 : 0 : {
11442 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
11443 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
11444 : 0 : switch (TREE_CODE (_q80))
11445 : : {
11446 : 0 : CASE_CONVERT:
11447 : 0 : {
11448 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
11449 : 0 : switch (TREE_CODE (_q90))
11450 : : {
11451 : 0 : case UNEQ_EXPR:
11452 : 0 : {
11453 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
11454 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
11455 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
11456 : : {
11457 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
11458 : : {
11459 : 0 : {
11460 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
11461 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
11462 : 0 : if (res) return res;
11463 : : }
11464 : : }
11465 : : }
11466 : : break;
11467 : : }
11468 : : default:;
11469 : : }
11470 : : break;
11471 : : }
11472 : 0 : default:;
11473 : : }
11474 : 0 : switch (TREE_CODE (_q81))
11475 : : {
11476 : 0 : CASE_CONVERT:
11477 : 0 : {
11478 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
11479 : 0 : switch (TREE_CODE (_q100))
11480 : : {
11481 : 0 : case UNEQ_EXPR:
11482 : 0 : {
11483 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11484 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11485 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
11486 : : {
11487 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
11488 : : {
11489 : 0 : {
11490 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
11491 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
11492 : 0 : if (res) return res;
11493 : : }
11494 : : }
11495 : : }
11496 : : break;
11497 : : }
11498 : : default:;
11499 : : }
11500 : : break;
11501 : : }
11502 : : default:;
11503 : : }
11504 : : break;
11505 : : }
11506 : : default:;
11507 : : }
11508 : : break;
11509 : : }
11510 : : default:;
11511 : : }
11512 : : break;
11513 : : }
11514 : 126690 : default:;
11515 : : }
11516 : 126690 : switch (TREE_CODE (_q20))
11517 : : {
11518 : 0 : case LT_EXPR:
11519 : 0 : {
11520 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
11521 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
11522 : 0 : switch (TREE_CODE (_p1))
11523 : : {
11524 : 0 : case BIT_AND_EXPR:
11525 : 0 : {
11526 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
11527 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
11528 : 0 : switch (TREE_CODE (_q70))
11529 : : {
11530 : 0 : case GE_EXPR:
11531 : 0 : {
11532 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
11533 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
11534 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
11535 : : {
11536 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
11537 : : {
11538 : 0 : {
11539 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
11540 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
11541 : 0 : if (res) return res;
11542 : : }
11543 : : }
11544 : : }
11545 : : break;
11546 : : }
11547 : 0 : default:;
11548 : : }
11549 : 0 : switch (TREE_CODE (_q71))
11550 : : {
11551 : 0 : case GE_EXPR:
11552 : 0 : {
11553 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
11554 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
11555 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
11556 : : {
11557 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
11558 : : {
11559 : 0 : {
11560 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
11561 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
11562 : 0 : if (res) return res;
11563 : : }
11564 : : }
11565 : : }
11566 : : break;
11567 : : }
11568 : : default:;
11569 : : }
11570 : : break;
11571 : : }
11572 : : default:;
11573 : : }
11574 : : break;
11575 : : }
11576 : 0 : case LE_EXPR:
11577 : 0 : {
11578 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
11579 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
11580 : 0 : switch (TREE_CODE (_p1))
11581 : : {
11582 : 0 : case BIT_AND_EXPR:
11583 : 0 : {
11584 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
11585 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
11586 : 0 : switch (TREE_CODE (_q70))
11587 : : {
11588 : 0 : case GT_EXPR:
11589 : 0 : {
11590 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
11591 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
11592 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
11593 : : {
11594 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
11595 : : {
11596 : 0 : {
11597 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
11598 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
11599 : 0 : if (res) return res;
11600 : : }
11601 : : }
11602 : : }
11603 : : break;
11604 : : }
11605 : 0 : default:;
11606 : : }
11607 : 0 : switch (TREE_CODE (_q71))
11608 : : {
11609 : 0 : case GT_EXPR:
11610 : 0 : {
11611 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
11612 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
11613 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
11614 : : {
11615 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
11616 : : {
11617 : 0 : {
11618 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
11619 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
11620 : 0 : if (res) return res;
11621 : : }
11622 : : }
11623 : : }
11624 : : break;
11625 : : }
11626 : : default:;
11627 : : }
11628 : : break;
11629 : : }
11630 : : default:;
11631 : : }
11632 : : break;
11633 : : }
11634 : 1 : case EQ_EXPR:
11635 : 1 : {
11636 : 1 : tree _q30 = TREE_OPERAND (_q20, 0);
11637 : 1 : tree _q31 = TREE_OPERAND (_q20, 1);
11638 : 1 : switch (TREE_CODE (_p1))
11639 : : {
11640 : 1 : case BIT_AND_EXPR:
11641 : 1 : {
11642 : 1 : tree _q70 = TREE_OPERAND (_p1, 0);
11643 : 1 : tree _q71 = TREE_OPERAND (_p1, 1);
11644 : 1 : switch (TREE_CODE (_q70))
11645 : : {
11646 : 0 : case NE_EXPR:
11647 : 0 : {
11648 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
11649 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
11650 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
11651 : : {
11652 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
11653 : : {
11654 : 0 : {
11655 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
11656 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
11657 : 0 : if (res) return res;
11658 : : }
11659 : : }
11660 : : }
11661 : : break;
11662 : : }
11663 : 1 : default:;
11664 : : }
11665 : 1 : switch (TREE_CODE (_q71))
11666 : : {
11667 : 0 : case NE_EXPR:
11668 : 0 : {
11669 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
11670 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
11671 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
11672 : : {
11673 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
11674 : : {
11675 : 0 : {
11676 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
11677 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
11678 : 0 : if (res) return res;
11679 : : }
11680 : : }
11681 : : }
11682 : : break;
11683 : : }
11684 : : default:;
11685 : : }
11686 : : break;
11687 : : }
11688 : : default:;
11689 : : }
11690 : : break;
11691 : : }
11692 : 0 : case NE_EXPR:
11693 : 0 : {
11694 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
11695 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
11696 : 0 : switch (TREE_CODE (_p1))
11697 : : {
11698 : 0 : case BIT_AND_EXPR:
11699 : 0 : {
11700 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
11701 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
11702 : 0 : switch (TREE_CODE (_q70))
11703 : : {
11704 : 0 : case EQ_EXPR:
11705 : 0 : {
11706 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
11707 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
11708 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
11709 : : {
11710 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
11711 : : {
11712 : 0 : {
11713 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
11714 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
11715 : 0 : if (res) return res;
11716 : : }
11717 : : }
11718 : : }
11719 : : break;
11720 : : }
11721 : 0 : default:;
11722 : : }
11723 : 0 : switch (TREE_CODE (_q71))
11724 : : {
11725 : 0 : case EQ_EXPR:
11726 : 0 : {
11727 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
11728 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
11729 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
11730 : : {
11731 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
11732 : : {
11733 : 0 : {
11734 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
11735 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
11736 : 0 : if (res) return res;
11737 : : }
11738 : : }
11739 : : }
11740 : : break;
11741 : : }
11742 : : default:;
11743 : : }
11744 : : break;
11745 : : }
11746 : : default:;
11747 : : }
11748 : : break;
11749 : : }
11750 : 0 : case GE_EXPR:
11751 : 0 : {
11752 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
11753 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
11754 : 0 : switch (TREE_CODE (_p1))
11755 : : {
11756 : 0 : case BIT_AND_EXPR:
11757 : 0 : {
11758 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
11759 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
11760 : 0 : switch (TREE_CODE (_q70))
11761 : : {
11762 : 0 : case LT_EXPR:
11763 : 0 : {
11764 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
11765 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
11766 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
11767 : : {
11768 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
11769 : : {
11770 : 0 : {
11771 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
11772 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
11773 : 0 : if (res) return res;
11774 : : }
11775 : : }
11776 : : }
11777 : : break;
11778 : : }
11779 : 0 : default:;
11780 : : }
11781 : 0 : switch (TREE_CODE (_q71))
11782 : : {
11783 : 0 : case LT_EXPR:
11784 : 0 : {
11785 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
11786 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
11787 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
11788 : : {
11789 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
11790 : : {
11791 : 0 : {
11792 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
11793 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
11794 : 0 : if (res) return res;
11795 : : }
11796 : : }
11797 : : }
11798 : : break;
11799 : : }
11800 : : default:;
11801 : : }
11802 : : break;
11803 : : }
11804 : : default:;
11805 : : }
11806 : : break;
11807 : : }
11808 : 0 : case GT_EXPR:
11809 : 0 : {
11810 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
11811 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
11812 : 0 : switch (TREE_CODE (_p1))
11813 : : {
11814 : 0 : case BIT_AND_EXPR:
11815 : 0 : {
11816 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
11817 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
11818 : 0 : switch (TREE_CODE (_q70))
11819 : : {
11820 : 0 : case LE_EXPR:
11821 : 0 : {
11822 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
11823 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
11824 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
11825 : : {
11826 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
11827 : : {
11828 : 0 : {
11829 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
11830 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
11831 : 0 : if (res) return res;
11832 : : }
11833 : : }
11834 : : }
11835 : : break;
11836 : : }
11837 : 0 : default:;
11838 : : }
11839 : 0 : switch (TREE_CODE (_q71))
11840 : : {
11841 : 0 : case LE_EXPR:
11842 : 0 : {
11843 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
11844 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
11845 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
11846 : : {
11847 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
11848 : : {
11849 : 0 : {
11850 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
11851 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
11852 : 0 : if (res) return res;
11853 : : }
11854 : : }
11855 : : }
11856 : : break;
11857 : : }
11858 : : default:;
11859 : : }
11860 : : break;
11861 : : }
11862 : : default:;
11863 : : }
11864 : : break;
11865 : : }
11866 : 0 : case UNORDERED_EXPR:
11867 : 0 : {
11868 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
11869 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
11870 : 0 : switch (TREE_CODE (_p1))
11871 : : {
11872 : 0 : case BIT_AND_EXPR:
11873 : 0 : {
11874 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
11875 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
11876 : 0 : switch (TREE_CODE (_q70))
11877 : : {
11878 : 0 : case ORDERED_EXPR:
11879 : 0 : {
11880 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
11881 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
11882 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
11883 : : {
11884 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
11885 : : {
11886 : 0 : {
11887 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
11888 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
11889 : 0 : if (res) return res;
11890 : : }
11891 : : }
11892 : : }
11893 : : break;
11894 : : }
11895 : 0 : default:;
11896 : : }
11897 : 0 : switch (TREE_CODE (_q71))
11898 : : {
11899 : 0 : case ORDERED_EXPR:
11900 : 0 : {
11901 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
11902 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
11903 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
11904 : : {
11905 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
11906 : : {
11907 : 0 : {
11908 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
11909 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
11910 : 0 : if (res) return res;
11911 : : }
11912 : : }
11913 : : }
11914 : : break;
11915 : : }
11916 : : default:;
11917 : : }
11918 : : break;
11919 : : }
11920 : : default:;
11921 : : }
11922 : : break;
11923 : : }
11924 : 0 : case ORDERED_EXPR:
11925 : 0 : {
11926 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
11927 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
11928 : 0 : switch (TREE_CODE (_p1))
11929 : : {
11930 : 0 : case BIT_AND_EXPR:
11931 : 0 : {
11932 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
11933 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
11934 : 0 : switch (TREE_CODE (_q70))
11935 : : {
11936 : 0 : case UNORDERED_EXPR:
11937 : 0 : {
11938 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
11939 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
11940 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
11941 : : {
11942 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
11943 : : {
11944 : 0 : {
11945 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
11946 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
11947 : 0 : if (res) return res;
11948 : : }
11949 : : }
11950 : : }
11951 : : break;
11952 : : }
11953 : 0 : default:;
11954 : : }
11955 : 0 : switch (TREE_CODE (_q71))
11956 : : {
11957 : 0 : case UNORDERED_EXPR:
11958 : 0 : {
11959 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
11960 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
11961 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
11962 : : {
11963 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
11964 : : {
11965 : 0 : {
11966 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
11967 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
11968 : 0 : if (res) return res;
11969 : : }
11970 : : }
11971 : : }
11972 : : break;
11973 : : }
11974 : : default:;
11975 : : }
11976 : : break;
11977 : : }
11978 : : default:;
11979 : : }
11980 : : break;
11981 : : }
11982 : 0 : case UNLT_EXPR:
11983 : 0 : {
11984 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
11985 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
11986 : 0 : switch (TREE_CODE (_p1))
11987 : : {
11988 : 0 : case BIT_AND_EXPR:
11989 : 0 : {
11990 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
11991 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
11992 : 0 : switch (TREE_CODE (_q70))
11993 : : {
11994 : 0 : case GE_EXPR:
11995 : 0 : {
11996 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
11997 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
11998 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
11999 : : {
12000 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
12001 : : {
12002 : 0 : {
12003 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
12004 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
12005 : 0 : if (res) return res;
12006 : : }
12007 : : }
12008 : : }
12009 : : break;
12010 : : }
12011 : 0 : default:;
12012 : : }
12013 : 0 : switch (TREE_CODE (_q71))
12014 : : {
12015 : 0 : case GE_EXPR:
12016 : 0 : {
12017 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
12018 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
12019 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
12020 : : {
12021 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
12022 : : {
12023 : 0 : {
12024 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
12025 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
12026 : 0 : if (res) return res;
12027 : : }
12028 : : }
12029 : : }
12030 : : break;
12031 : : }
12032 : : default:;
12033 : : }
12034 : : break;
12035 : : }
12036 : : default:;
12037 : : }
12038 : : break;
12039 : : }
12040 : 0 : case UNLE_EXPR:
12041 : 0 : {
12042 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
12043 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
12044 : 0 : switch (TREE_CODE (_p1))
12045 : : {
12046 : 0 : case BIT_AND_EXPR:
12047 : 0 : {
12048 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
12049 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
12050 : 0 : switch (TREE_CODE (_q70))
12051 : : {
12052 : 0 : case GT_EXPR:
12053 : 0 : {
12054 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
12055 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
12056 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
12057 : : {
12058 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
12059 : : {
12060 : 0 : {
12061 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
12062 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
12063 : 0 : if (res) return res;
12064 : : }
12065 : : }
12066 : : }
12067 : : break;
12068 : : }
12069 : 0 : default:;
12070 : : }
12071 : 0 : switch (TREE_CODE (_q71))
12072 : : {
12073 : 0 : case GT_EXPR:
12074 : 0 : {
12075 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
12076 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
12077 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
12078 : : {
12079 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
12080 : : {
12081 : 0 : {
12082 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
12083 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
12084 : 0 : if (res) return res;
12085 : : }
12086 : : }
12087 : : }
12088 : : break;
12089 : : }
12090 : : default:;
12091 : : }
12092 : : break;
12093 : : }
12094 : : default:;
12095 : : }
12096 : : break;
12097 : : }
12098 : 0 : case UNGT_EXPR:
12099 : 0 : {
12100 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
12101 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
12102 : 0 : switch (TREE_CODE (_p1))
12103 : : {
12104 : 0 : case BIT_AND_EXPR:
12105 : 0 : {
12106 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
12107 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
12108 : 0 : switch (TREE_CODE (_q70))
12109 : : {
12110 : 0 : case LE_EXPR:
12111 : 0 : {
12112 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
12113 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
12114 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
12115 : : {
12116 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
12117 : : {
12118 : 0 : {
12119 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
12120 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
12121 : 0 : if (res) return res;
12122 : : }
12123 : : }
12124 : : }
12125 : : break;
12126 : : }
12127 : 0 : default:;
12128 : : }
12129 : 0 : switch (TREE_CODE (_q71))
12130 : : {
12131 : 0 : case LE_EXPR:
12132 : 0 : {
12133 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
12134 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
12135 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
12136 : : {
12137 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
12138 : : {
12139 : 0 : {
12140 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
12141 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
12142 : 0 : if (res) return res;
12143 : : }
12144 : : }
12145 : : }
12146 : : break;
12147 : : }
12148 : : default:;
12149 : : }
12150 : : break;
12151 : : }
12152 : : default:;
12153 : : }
12154 : : break;
12155 : : }
12156 : 0 : case UNGE_EXPR:
12157 : 0 : {
12158 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
12159 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
12160 : 0 : switch (TREE_CODE (_p1))
12161 : : {
12162 : 0 : case BIT_AND_EXPR:
12163 : 0 : {
12164 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
12165 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
12166 : 0 : switch (TREE_CODE (_q70))
12167 : : {
12168 : 0 : case LT_EXPR:
12169 : 0 : {
12170 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
12171 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
12172 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
12173 : : {
12174 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
12175 : : {
12176 : 0 : {
12177 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
12178 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
12179 : 0 : if (res) return res;
12180 : : }
12181 : : }
12182 : : }
12183 : : break;
12184 : : }
12185 : 0 : default:;
12186 : : }
12187 : 0 : switch (TREE_CODE (_q71))
12188 : : {
12189 : 0 : case LT_EXPR:
12190 : 0 : {
12191 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
12192 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
12193 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
12194 : : {
12195 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
12196 : : {
12197 : 0 : {
12198 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
12199 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
12200 : 0 : if (res) return res;
12201 : : }
12202 : : }
12203 : : }
12204 : : break;
12205 : : }
12206 : : default:;
12207 : : }
12208 : : break;
12209 : : }
12210 : : default:;
12211 : : }
12212 : : break;
12213 : : }
12214 : 0 : case UNEQ_EXPR:
12215 : 0 : {
12216 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
12217 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
12218 : 0 : switch (TREE_CODE (_p1))
12219 : : {
12220 : 0 : case BIT_AND_EXPR:
12221 : 0 : {
12222 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
12223 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
12224 : 0 : switch (TREE_CODE (_q70))
12225 : : {
12226 : 0 : case LTGT_EXPR:
12227 : 0 : {
12228 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
12229 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
12230 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
12231 : : {
12232 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
12233 : : {
12234 : 0 : {
12235 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
12236 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
12237 : 0 : if (res) return res;
12238 : : }
12239 : : }
12240 : : }
12241 : : break;
12242 : : }
12243 : 0 : default:;
12244 : : }
12245 : 0 : switch (TREE_CODE (_q71))
12246 : : {
12247 : 0 : case LTGT_EXPR:
12248 : 0 : {
12249 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
12250 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
12251 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
12252 : : {
12253 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
12254 : : {
12255 : 0 : {
12256 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
12257 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
12258 : 0 : if (res) return res;
12259 : : }
12260 : : }
12261 : : }
12262 : : break;
12263 : : }
12264 : : default:;
12265 : : }
12266 : : break;
12267 : : }
12268 : : default:;
12269 : : }
12270 : : break;
12271 : : }
12272 : 0 : case LTGT_EXPR:
12273 : 0 : {
12274 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
12275 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
12276 : 0 : switch (TREE_CODE (_p1))
12277 : : {
12278 : 0 : case BIT_AND_EXPR:
12279 : 0 : {
12280 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
12281 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
12282 : 0 : switch (TREE_CODE (_q70))
12283 : : {
12284 : 0 : case UNEQ_EXPR:
12285 : 0 : {
12286 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
12287 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
12288 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
12289 : : {
12290 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
12291 : : {
12292 : 0 : {
12293 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
12294 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
12295 : 0 : if (res) return res;
12296 : : }
12297 : : }
12298 : : }
12299 : : break;
12300 : : }
12301 : 0 : default:;
12302 : : }
12303 : 0 : switch (TREE_CODE (_q71))
12304 : : {
12305 : 0 : case UNEQ_EXPR:
12306 : 0 : {
12307 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
12308 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
12309 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
12310 : : {
12311 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
12312 : : {
12313 : 0 : {
12314 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
12315 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
12316 : 0 : if (res) return res;
12317 : : }
12318 : : }
12319 : : }
12320 : : break;
12321 : : }
12322 : : default:;
12323 : : }
12324 : : break;
12325 : : }
12326 : : default:;
12327 : : }
12328 : : break;
12329 : : }
12330 : 126690 : default:;
12331 : : }
12332 : 126690 : switch (TREE_CODE (_q21))
12333 : : {
12334 : 0 : case LT_EXPR:
12335 : 0 : {
12336 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
12337 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
12338 : 0 : switch (TREE_CODE (_p1))
12339 : : {
12340 : 0 : case BIT_AND_EXPR:
12341 : 0 : {
12342 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
12343 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
12344 : 0 : switch (TREE_CODE (_q70))
12345 : : {
12346 : 0 : case GE_EXPR:
12347 : 0 : {
12348 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
12349 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
12350 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
12351 : : {
12352 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
12353 : : {
12354 : 0 : {
12355 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
12356 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
12357 : 0 : if (res) return res;
12358 : : }
12359 : : }
12360 : : }
12361 : : break;
12362 : : }
12363 : 0 : default:;
12364 : : }
12365 : 0 : switch (TREE_CODE (_q71))
12366 : : {
12367 : 0 : case GE_EXPR:
12368 : 0 : {
12369 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
12370 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
12371 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
12372 : : {
12373 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
12374 : : {
12375 : 0 : {
12376 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
12377 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
12378 : 0 : if (res) return res;
12379 : : }
12380 : : }
12381 : : }
12382 : : break;
12383 : : }
12384 : : default:;
12385 : : }
12386 : : break;
12387 : : }
12388 : : default:;
12389 : : }
12390 : : break;
12391 : : }
12392 : 0 : case LE_EXPR:
12393 : 0 : {
12394 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
12395 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
12396 : 0 : switch (TREE_CODE (_p1))
12397 : : {
12398 : 0 : case BIT_AND_EXPR:
12399 : 0 : {
12400 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
12401 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
12402 : 0 : switch (TREE_CODE (_q70))
12403 : : {
12404 : 0 : case GT_EXPR:
12405 : 0 : {
12406 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
12407 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
12408 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
12409 : : {
12410 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
12411 : : {
12412 : 0 : {
12413 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
12414 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
12415 : 0 : if (res) return res;
12416 : : }
12417 : : }
12418 : : }
12419 : : break;
12420 : : }
12421 : 0 : default:;
12422 : : }
12423 : 0 : switch (TREE_CODE (_q71))
12424 : : {
12425 : 0 : case GT_EXPR:
12426 : 0 : {
12427 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
12428 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
12429 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
12430 : : {
12431 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
12432 : : {
12433 : 0 : {
12434 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
12435 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
12436 : 0 : if (res) return res;
12437 : : }
12438 : : }
12439 : : }
12440 : : break;
12441 : : }
12442 : : default:;
12443 : : }
12444 : : break;
12445 : : }
12446 : : default:;
12447 : : }
12448 : : break;
12449 : : }
12450 : 1 : case EQ_EXPR:
12451 : 1 : {
12452 : 1 : tree _q40 = TREE_OPERAND (_q21, 0);
12453 : 1 : tree _q41 = TREE_OPERAND (_q21, 1);
12454 : 1 : switch (TREE_CODE (_p1))
12455 : : {
12456 : 1 : case BIT_AND_EXPR:
12457 : 1 : {
12458 : 1 : tree _q70 = TREE_OPERAND (_p1, 0);
12459 : 1 : tree _q71 = TREE_OPERAND (_p1, 1);
12460 : 1 : switch (TREE_CODE (_q70))
12461 : : {
12462 : 0 : case NE_EXPR:
12463 : 0 : {
12464 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
12465 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
12466 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
12467 : : {
12468 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
12469 : : {
12470 : 0 : {
12471 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
12472 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
12473 : 0 : if (res) return res;
12474 : : }
12475 : : }
12476 : : }
12477 : : break;
12478 : : }
12479 : 1 : default:;
12480 : : }
12481 : 1 : switch (TREE_CODE (_q71))
12482 : : {
12483 : 0 : case NE_EXPR:
12484 : 0 : {
12485 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
12486 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
12487 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
12488 : : {
12489 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
12490 : : {
12491 : 0 : {
12492 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
12493 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
12494 : 0 : if (res) return res;
12495 : : }
12496 : : }
12497 : : }
12498 : : break;
12499 : : }
12500 : : default:;
12501 : : }
12502 : : break;
12503 : : }
12504 : : default:;
12505 : : }
12506 : : break;
12507 : : }
12508 : 0 : case NE_EXPR:
12509 : 0 : {
12510 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
12511 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
12512 : 0 : switch (TREE_CODE (_p1))
12513 : : {
12514 : 0 : case BIT_AND_EXPR:
12515 : 0 : {
12516 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
12517 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
12518 : 0 : switch (TREE_CODE (_q70))
12519 : : {
12520 : 0 : case EQ_EXPR:
12521 : 0 : {
12522 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
12523 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
12524 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
12525 : : {
12526 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
12527 : : {
12528 : 0 : {
12529 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
12530 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
12531 : 0 : if (res) return res;
12532 : : }
12533 : : }
12534 : : }
12535 : : break;
12536 : : }
12537 : 0 : default:;
12538 : : }
12539 : 0 : switch (TREE_CODE (_q71))
12540 : : {
12541 : 0 : case EQ_EXPR:
12542 : 0 : {
12543 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
12544 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
12545 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
12546 : : {
12547 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
12548 : : {
12549 : 0 : {
12550 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
12551 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
12552 : 0 : if (res) return res;
12553 : : }
12554 : : }
12555 : : }
12556 : : break;
12557 : : }
12558 : : default:;
12559 : : }
12560 : : break;
12561 : : }
12562 : : default:;
12563 : : }
12564 : : break;
12565 : : }
12566 : 0 : case GE_EXPR:
12567 : 0 : {
12568 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
12569 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
12570 : 0 : switch (TREE_CODE (_p1))
12571 : : {
12572 : 0 : case BIT_AND_EXPR:
12573 : 0 : {
12574 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
12575 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
12576 : 0 : switch (TREE_CODE (_q70))
12577 : : {
12578 : 0 : case LT_EXPR:
12579 : 0 : {
12580 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
12581 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
12582 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
12583 : : {
12584 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
12585 : : {
12586 : 0 : {
12587 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
12588 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
12589 : 0 : if (res) return res;
12590 : : }
12591 : : }
12592 : : }
12593 : : break;
12594 : : }
12595 : 0 : default:;
12596 : : }
12597 : 0 : switch (TREE_CODE (_q71))
12598 : : {
12599 : 0 : case LT_EXPR:
12600 : 0 : {
12601 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
12602 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
12603 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
12604 : : {
12605 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
12606 : : {
12607 : 0 : {
12608 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
12609 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
12610 : 0 : if (res) return res;
12611 : : }
12612 : : }
12613 : : }
12614 : : break;
12615 : : }
12616 : : default:;
12617 : : }
12618 : : break;
12619 : : }
12620 : : default:;
12621 : : }
12622 : : break;
12623 : : }
12624 : 0 : case GT_EXPR:
12625 : 0 : {
12626 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
12627 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
12628 : 0 : switch (TREE_CODE (_p1))
12629 : : {
12630 : 0 : case BIT_AND_EXPR:
12631 : 0 : {
12632 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
12633 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
12634 : 0 : switch (TREE_CODE (_q70))
12635 : : {
12636 : 0 : case LE_EXPR:
12637 : 0 : {
12638 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
12639 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
12640 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
12641 : : {
12642 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
12643 : : {
12644 : 0 : {
12645 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
12646 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
12647 : 0 : if (res) return res;
12648 : : }
12649 : : }
12650 : : }
12651 : : break;
12652 : : }
12653 : 0 : default:;
12654 : : }
12655 : 0 : switch (TREE_CODE (_q71))
12656 : : {
12657 : 0 : case LE_EXPR:
12658 : 0 : {
12659 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
12660 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
12661 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
12662 : : {
12663 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
12664 : : {
12665 : 0 : {
12666 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
12667 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
12668 : 0 : if (res) return res;
12669 : : }
12670 : : }
12671 : : }
12672 : : break;
12673 : : }
12674 : : default:;
12675 : : }
12676 : : break;
12677 : : }
12678 : : default:;
12679 : : }
12680 : : break;
12681 : : }
12682 : 0 : case UNORDERED_EXPR:
12683 : 0 : {
12684 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
12685 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
12686 : 0 : switch (TREE_CODE (_p1))
12687 : : {
12688 : 0 : case BIT_AND_EXPR:
12689 : 0 : {
12690 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
12691 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
12692 : 0 : switch (TREE_CODE (_q70))
12693 : : {
12694 : 0 : case ORDERED_EXPR:
12695 : 0 : {
12696 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
12697 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
12698 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
12699 : : {
12700 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
12701 : : {
12702 : 0 : {
12703 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
12704 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
12705 : 0 : if (res) return res;
12706 : : }
12707 : : }
12708 : : }
12709 : : break;
12710 : : }
12711 : 0 : default:;
12712 : : }
12713 : 0 : switch (TREE_CODE (_q71))
12714 : : {
12715 : 0 : case ORDERED_EXPR:
12716 : 0 : {
12717 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
12718 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
12719 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
12720 : : {
12721 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
12722 : : {
12723 : 0 : {
12724 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
12725 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
12726 : 0 : if (res) return res;
12727 : : }
12728 : : }
12729 : : }
12730 : : break;
12731 : : }
12732 : : default:;
12733 : : }
12734 : : break;
12735 : : }
12736 : : default:;
12737 : : }
12738 : : break;
12739 : : }
12740 : 0 : case ORDERED_EXPR:
12741 : 0 : {
12742 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
12743 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
12744 : 0 : switch (TREE_CODE (_p1))
12745 : : {
12746 : 0 : case BIT_AND_EXPR:
12747 : 0 : {
12748 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
12749 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
12750 : 0 : switch (TREE_CODE (_q70))
12751 : : {
12752 : 0 : case UNORDERED_EXPR:
12753 : 0 : {
12754 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
12755 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
12756 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
12757 : : {
12758 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
12759 : : {
12760 : 0 : {
12761 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
12762 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
12763 : 0 : if (res) return res;
12764 : : }
12765 : : }
12766 : : }
12767 : : break;
12768 : : }
12769 : 0 : default:;
12770 : : }
12771 : 0 : switch (TREE_CODE (_q71))
12772 : : {
12773 : 0 : case UNORDERED_EXPR:
12774 : 0 : {
12775 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
12776 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
12777 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
12778 : : {
12779 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
12780 : : {
12781 : 0 : {
12782 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
12783 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
12784 : 0 : if (res) return res;
12785 : : }
12786 : : }
12787 : : }
12788 : : break;
12789 : : }
12790 : : default:;
12791 : : }
12792 : : break;
12793 : : }
12794 : : default:;
12795 : : }
12796 : : break;
12797 : : }
12798 : 0 : case UNLT_EXPR:
12799 : 0 : {
12800 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
12801 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
12802 : 0 : switch (TREE_CODE (_p1))
12803 : : {
12804 : 0 : case BIT_AND_EXPR:
12805 : 0 : {
12806 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
12807 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
12808 : 0 : switch (TREE_CODE (_q70))
12809 : : {
12810 : 0 : case GE_EXPR:
12811 : 0 : {
12812 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
12813 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
12814 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
12815 : : {
12816 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
12817 : : {
12818 : 0 : {
12819 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
12820 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
12821 : 0 : if (res) return res;
12822 : : }
12823 : : }
12824 : : }
12825 : : break;
12826 : : }
12827 : 0 : default:;
12828 : : }
12829 : 0 : switch (TREE_CODE (_q71))
12830 : : {
12831 : 0 : case GE_EXPR:
12832 : 0 : {
12833 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
12834 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
12835 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
12836 : : {
12837 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
12838 : : {
12839 : 0 : {
12840 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
12841 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
12842 : 0 : if (res) return res;
12843 : : }
12844 : : }
12845 : : }
12846 : : break;
12847 : : }
12848 : : default:;
12849 : : }
12850 : : break;
12851 : : }
12852 : : default:;
12853 : : }
12854 : : break;
12855 : : }
12856 : 0 : case UNLE_EXPR:
12857 : 0 : {
12858 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
12859 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
12860 : 0 : switch (TREE_CODE (_p1))
12861 : : {
12862 : 0 : case BIT_AND_EXPR:
12863 : 0 : {
12864 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
12865 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
12866 : 0 : switch (TREE_CODE (_q70))
12867 : : {
12868 : 0 : case GT_EXPR:
12869 : 0 : {
12870 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
12871 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
12872 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
12873 : : {
12874 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
12875 : : {
12876 : 0 : {
12877 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
12878 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
12879 : 0 : if (res) return res;
12880 : : }
12881 : : }
12882 : : }
12883 : : break;
12884 : : }
12885 : 0 : default:;
12886 : : }
12887 : 0 : switch (TREE_CODE (_q71))
12888 : : {
12889 : 0 : case GT_EXPR:
12890 : 0 : {
12891 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
12892 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
12893 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
12894 : : {
12895 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
12896 : : {
12897 : 0 : {
12898 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
12899 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
12900 : 0 : if (res) return res;
12901 : : }
12902 : : }
12903 : : }
12904 : : break;
12905 : : }
12906 : : default:;
12907 : : }
12908 : : break;
12909 : : }
12910 : : default:;
12911 : : }
12912 : : break;
12913 : : }
12914 : 0 : case UNGT_EXPR:
12915 : 0 : {
12916 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
12917 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
12918 : 0 : switch (TREE_CODE (_p1))
12919 : : {
12920 : 0 : case BIT_AND_EXPR:
12921 : 0 : {
12922 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
12923 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
12924 : 0 : switch (TREE_CODE (_q70))
12925 : : {
12926 : 0 : case LE_EXPR:
12927 : 0 : {
12928 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
12929 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
12930 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
12931 : : {
12932 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
12933 : : {
12934 : 0 : {
12935 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
12936 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
12937 : 0 : if (res) return res;
12938 : : }
12939 : : }
12940 : : }
12941 : : break;
12942 : : }
12943 : 0 : default:;
12944 : : }
12945 : 0 : switch (TREE_CODE (_q71))
12946 : : {
12947 : 0 : case LE_EXPR:
12948 : 0 : {
12949 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
12950 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
12951 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
12952 : : {
12953 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
12954 : : {
12955 : 0 : {
12956 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
12957 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
12958 : 0 : if (res) return res;
12959 : : }
12960 : : }
12961 : : }
12962 : : break;
12963 : : }
12964 : : default:;
12965 : : }
12966 : : break;
12967 : : }
12968 : : default:;
12969 : : }
12970 : : break;
12971 : : }
12972 : 0 : case UNGE_EXPR:
12973 : 0 : {
12974 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
12975 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
12976 : 0 : switch (TREE_CODE (_p1))
12977 : : {
12978 : 0 : case BIT_AND_EXPR:
12979 : 0 : {
12980 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
12981 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
12982 : 0 : switch (TREE_CODE (_q70))
12983 : : {
12984 : 0 : case LT_EXPR:
12985 : 0 : {
12986 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
12987 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
12988 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
12989 : : {
12990 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
12991 : : {
12992 : 0 : {
12993 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
12994 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
12995 : 0 : if (res) return res;
12996 : : }
12997 : : }
12998 : : }
12999 : : break;
13000 : : }
13001 : 0 : default:;
13002 : : }
13003 : 0 : switch (TREE_CODE (_q71))
13004 : : {
13005 : 0 : case LT_EXPR:
13006 : 0 : {
13007 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
13008 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
13009 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
13010 : : {
13011 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
13012 : : {
13013 : 0 : {
13014 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
13015 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
13016 : 0 : if (res) return res;
13017 : : }
13018 : : }
13019 : : }
13020 : : break;
13021 : : }
13022 : : default:;
13023 : : }
13024 : : break;
13025 : : }
13026 : : default:;
13027 : : }
13028 : : break;
13029 : : }
13030 : 0 : case UNEQ_EXPR:
13031 : 0 : {
13032 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
13033 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
13034 : 0 : switch (TREE_CODE (_p1))
13035 : : {
13036 : 0 : case BIT_AND_EXPR:
13037 : 0 : {
13038 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
13039 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
13040 : 0 : switch (TREE_CODE (_q70))
13041 : : {
13042 : 0 : case LTGT_EXPR:
13043 : 0 : {
13044 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
13045 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
13046 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
13047 : : {
13048 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
13049 : : {
13050 : 0 : {
13051 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
13052 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
13053 : 0 : if (res) return res;
13054 : : }
13055 : : }
13056 : : }
13057 : : break;
13058 : : }
13059 : 0 : default:;
13060 : : }
13061 : 0 : switch (TREE_CODE (_q71))
13062 : : {
13063 : 0 : case LTGT_EXPR:
13064 : 0 : {
13065 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
13066 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
13067 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
13068 : : {
13069 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
13070 : : {
13071 : 0 : {
13072 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
13073 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
13074 : 0 : if (res) return res;
13075 : : }
13076 : : }
13077 : : }
13078 : : break;
13079 : : }
13080 : : default:;
13081 : : }
13082 : : break;
13083 : : }
13084 : : default:;
13085 : : }
13086 : : break;
13087 : : }
13088 : 0 : case LTGT_EXPR:
13089 : 0 : {
13090 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
13091 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
13092 : 0 : switch (TREE_CODE (_p1))
13093 : : {
13094 : 0 : case BIT_AND_EXPR:
13095 : 0 : {
13096 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
13097 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
13098 : 0 : switch (TREE_CODE (_q70))
13099 : : {
13100 : 0 : case UNEQ_EXPR:
13101 : 0 : {
13102 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
13103 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
13104 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
13105 : : {
13106 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
13107 : : {
13108 : 0 : {
13109 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
13110 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
13111 : 0 : if (res) return res;
13112 : : }
13113 : : }
13114 : : }
13115 : : break;
13116 : : }
13117 : 0 : default:;
13118 : : }
13119 : 0 : switch (TREE_CODE (_q71))
13120 : : {
13121 : 0 : case UNEQ_EXPR:
13122 : 0 : {
13123 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
13124 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
13125 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
13126 : : {
13127 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
13128 : : {
13129 : 0 : {
13130 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
13131 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
13132 : 0 : if (res) return res;
13133 : : }
13134 : : }
13135 : : }
13136 : : break;
13137 : : }
13138 : : default:;
13139 : : }
13140 : : break;
13141 : : }
13142 : : default:;
13143 : : }
13144 : : break;
13145 : : }
13146 : 126690 : default:;
13147 : : }
13148 : 126690 : switch (TREE_CODE (_q20))
13149 : : {
13150 : 0 : case VEC_COND_EXPR:
13151 : 0 : {
13152 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
13153 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
13154 : 0 : tree _q32 = TREE_OPERAND (_q20, 2);
13155 : 0 : switch (TREE_CODE (_q30))
13156 : : {
13157 : 0 : case LT_EXPR:
13158 : 0 : {
13159 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
13160 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
13161 : 0 : switch (TREE_CODE (_p1))
13162 : : {
13163 : 0 : case BIT_AND_EXPR:
13164 : 0 : {
13165 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
13166 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
13167 : 0 : switch (TREE_CODE (_q100))
13168 : : {
13169 : 0 : case VEC_COND_EXPR:
13170 : 0 : {
13171 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
13172 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
13173 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
13174 : 0 : switch (TREE_CODE (_q110))
13175 : : {
13176 : 0 : case GE_EXPR:
13177 : 0 : {
13178 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
13179 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
13180 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
13181 : : {
13182 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
13183 : : {
13184 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
13185 : : {
13186 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
13187 : : {
13188 : 0 : {
13189 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
13190 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
13191 : 0 : if (res) return res;
13192 : : }
13193 : : }
13194 : : }
13195 : : }
13196 : : }
13197 : : break;
13198 : : }
13199 : : default:;
13200 : : }
13201 : : break;
13202 : : }
13203 : 0 : default:;
13204 : : }
13205 : 0 : switch (TREE_CODE (_q101))
13206 : : {
13207 : 0 : case VEC_COND_EXPR:
13208 : 0 : {
13209 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
13210 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
13211 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
13212 : 0 : switch (TREE_CODE (_q120))
13213 : : {
13214 : 0 : case GE_EXPR:
13215 : 0 : {
13216 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
13217 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
13218 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
13219 : : {
13220 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
13221 : : {
13222 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
13223 : : {
13224 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
13225 : : {
13226 : 0 : {
13227 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
13228 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
13229 : 0 : if (res) return res;
13230 : : }
13231 : : }
13232 : : }
13233 : : }
13234 : : }
13235 : : break;
13236 : : }
13237 : : default:;
13238 : : }
13239 : : break;
13240 : : }
13241 : : default:;
13242 : : }
13243 : : break;
13244 : : }
13245 : : default:;
13246 : : }
13247 : : break;
13248 : : }
13249 : 0 : case LE_EXPR:
13250 : 0 : {
13251 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
13252 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
13253 : 0 : switch (TREE_CODE (_p1))
13254 : : {
13255 : 0 : case BIT_AND_EXPR:
13256 : 0 : {
13257 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
13258 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
13259 : 0 : switch (TREE_CODE (_q100))
13260 : : {
13261 : 0 : case VEC_COND_EXPR:
13262 : 0 : {
13263 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
13264 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
13265 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
13266 : 0 : switch (TREE_CODE (_q110))
13267 : : {
13268 : 0 : case GT_EXPR:
13269 : 0 : {
13270 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
13271 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
13272 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
13273 : : {
13274 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
13275 : : {
13276 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
13277 : : {
13278 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
13279 : : {
13280 : 0 : {
13281 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
13282 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
13283 : 0 : if (res) return res;
13284 : : }
13285 : : }
13286 : : }
13287 : : }
13288 : : }
13289 : : break;
13290 : : }
13291 : : default:;
13292 : : }
13293 : : break;
13294 : : }
13295 : 0 : default:;
13296 : : }
13297 : 0 : switch (TREE_CODE (_q101))
13298 : : {
13299 : 0 : case VEC_COND_EXPR:
13300 : 0 : {
13301 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
13302 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
13303 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
13304 : 0 : switch (TREE_CODE (_q120))
13305 : : {
13306 : 0 : case GT_EXPR:
13307 : 0 : {
13308 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
13309 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
13310 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
13311 : : {
13312 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
13313 : : {
13314 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
13315 : : {
13316 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
13317 : : {
13318 : 0 : {
13319 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
13320 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
13321 : 0 : if (res) return res;
13322 : : }
13323 : : }
13324 : : }
13325 : : }
13326 : : }
13327 : : break;
13328 : : }
13329 : : default:;
13330 : : }
13331 : : break;
13332 : : }
13333 : : default:;
13334 : : }
13335 : : break;
13336 : : }
13337 : : default:;
13338 : : }
13339 : : break;
13340 : : }
13341 : 0 : case EQ_EXPR:
13342 : 0 : {
13343 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
13344 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
13345 : 0 : switch (TREE_CODE (_p1))
13346 : : {
13347 : 0 : case BIT_AND_EXPR:
13348 : 0 : {
13349 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
13350 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
13351 : 0 : switch (TREE_CODE (_q100))
13352 : : {
13353 : 0 : case VEC_COND_EXPR:
13354 : 0 : {
13355 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
13356 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
13357 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
13358 : 0 : switch (TREE_CODE (_q110))
13359 : : {
13360 : 0 : case NE_EXPR:
13361 : 0 : {
13362 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
13363 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
13364 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
13365 : : {
13366 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
13367 : : {
13368 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
13369 : : {
13370 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
13371 : : {
13372 : 0 : {
13373 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
13374 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
13375 : 0 : if (res) return res;
13376 : : }
13377 : : }
13378 : : }
13379 : : }
13380 : : }
13381 : : break;
13382 : : }
13383 : : default:;
13384 : : }
13385 : : break;
13386 : : }
13387 : 0 : default:;
13388 : : }
13389 : 0 : switch (TREE_CODE (_q101))
13390 : : {
13391 : 0 : case VEC_COND_EXPR:
13392 : 0 : {
13393 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
13394 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
13395 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
13396 : 0 : switch (TREE_CODE (_q120))
13397 : : {
13398 : 0 : case NE_EXPR:
13399 : 0 : {
13400 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
13401 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
13402 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
13403 : : {
13404 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
13405 : : {
13406 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
13407 : : {
13408 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
13409 : : {
13410 : 0 : {
13411 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
13412 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
13413 : 0 : if (res) return res;
13414 : : }
13415 : : }
13416 : : }
13417 : : }
13418 : : }
13419 : : break;
13420 : : }
13421 : : default:;
13422 : : }
13423 : : break;
13424 : : }
13425 : : default:;
13426 : : }
13427 : : break;
13428 : : }
13429 : : default:;
13430 : : }
13431 : : break;
13432 : : }
13433 : 0 : case NE_EXPR:
13434 : 0 : {
13435 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
13436 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
13437 : 0 : switch (TREE_CODE (_p1))
13438 : : {
13439 : 0 : case BIT_AND_EXPR:
13440 : 0 : {
13441 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
13442 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
13443 : 0 : switch (TREE_CODE (_q100))
13444 : : {
13445 : 0 : case VEC_COND_EXPR:
13446 : 0 : {
13447 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
13448 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
13449 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
13450 : 0 : switch (TREE_CODE (_q110))
13451 : : {
13452 : 0 : case EQ_EXPR:
13453 : 0 : {
13454 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
13455 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
13456 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
13457 : : {
13458 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
13459 : : {
13460 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
13461 : : {
13462 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
13463 : : {
13464 : 0 : {
13465 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
13466 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
13467 : 0 : if (res) return res;
13468 : : }
13469 : : }
13470 : : }
13471 : : }
13472 : : }
13473 : : break;
13474 : : }
13475 : : default:;
13476 : : }
13477 : : break;
13478 : : }
13479 : 0 : default:;
13480 : : }
13481 : 0 : switch (TREE_CODE (_q101))
13482 : : {
13483 : 0 : case VEC_COND_EXPR:
13484 : 0 : {
13485 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
13486 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
13487 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
13488 : 0 : switch (TREE_CODE (_q120))
13489 : : {
13490 : 0 : case EQ_EXPR:
13491 : 0 : {
13492 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
13493 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
13494 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
13495 : : {
13496 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
13497 : : {
13498 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
13499 : : {
13500 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
13501 : : {
13502 : 0 : {
13503 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
13504 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
13505 : 0 : if (res) return res;
13506 : : }
13507 : : }
13508 : : }
13509 : : }
13510 : : }
13511 : : break;
13512 : : }
13513 : : default:;
13514 : : }
13515 : : break;
13516 : : }
13517 : : default:;
13518 : : }
13519 : : break;
13520 : : }
13521 : : default:;
13522 : : }
13523 : : break;
13524 : : }
13525 : 0 : case GE_EXPR:
13526 : 0 : {
13527 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
13528 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
13529 : 0 : switch (TREE_CODE (_p1))
13530 : : {
13531 : 0 : case BIT_AND_EXPR:
13532 : 0 : {
13533 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
13534 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
13535 : 0 : switch (TREE_CODE (_q100))
13536 : : {
13537 : 0 : case VEC_COND_EXPR:
13538 : 0 : {
13539 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
13540 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
13541 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
13542 : 0 : switch (TREE_CODE (_q110))
13543 : : {
13544 : 0 : case LT_EXPR:
13545 : 0 : {
13546 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
13547 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
13548 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
13549 : : {
13550 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
13551 : : {
13552 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
13553 : : {
13554 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
13555 : : {
13556 : 0 : {
13557 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
13558 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
13559 : 0 : if (res) return res;
13560 : : }
13561 : : }
13562 : : }
13563 : : }
13564 : : }
13565 : : break;
13566 : : }
13567 : : default:;
13568 : : }
13569 : : break;
13570 : : }
13571 : 0 : default:;
13572 : : }
13573 : 0 : switch (TREE_CODE (_q101))
13574 : : {
13575 : 0 : case VEC_COND_EXPR:
13576 : 0 : {
13577 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
13578 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
13579 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
13580 : 0 : switch (TREE_CODE (_q120))
13581 : : {
13582 : 0 : case LT_EXPR:
13583 : 0 : {
13584 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
13585 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
13586 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
13587 : : {
13588 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
13589 : : {
13590 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
13591 : : {
13592 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
13593 : : {
13594 : 0 : {
13595 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
13596 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
13597 : 0 : if (res) return res;
13598 : : }
13599 : : }
13600 : : }
13601 : : }
13602 : : }
13603 : : break;
13604 : : }
13605 : : default:;
13606 : : }
13607 : : break;
13608 : : }
13609 : : default:;
13610 : : }
13611 : : break;
13612 : : }
13613 : : default:;
13614 : : }
13615 : : break;
13616 : : }
13617 : 0 : case GT_EXPR:
13618 : 0 : {
13619 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
13620 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
13621 : 0 : switch (TREE_CODE (_p1))
13622 : : {
13623 : 0 : case BIT_AND_EXPR:
13624 : 0 : {
13625 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
13626 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
13627 : 0 : switch (TREE_CODE (_q100))
13628 : : {
13629 : 0 : case VEC_COND_EXPR:
13630 : 0 : {
13631 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
13632 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
13633 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
13634 : 0 : switch (TREE_CODE (_q110))
13635 : : {
13636 : 0 : case LE_EXPR:
13637 : 0 : {
13638 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
13639 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
13640 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
13641 : : {
13642 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
13643 : : {
13644 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
13645 : : {
13646 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
13647 : : {
13648 : 0 : {
13649 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
13650 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
13651 : 0 : if (res) return res;
13652 : : }
13653 : : }
13654 : : }
13655 : : }
13656 : : }
13657 : : break;
13658 : : }
13659 : : default:;
13660 : : }
13661 : : break;
13662 : : }
13663 : 0 : default:;
13664 : : }
13665 : 0 : switch (TREE_CODE (_q101))
13666 : : {
13667 : 0 : case VEC_COND_EXPR:
13668 : 0 : {
13669 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
13670 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
13671 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
13672 : 0 : switch (TREE_CODE (_q120))
13673 : : {
13674 : 0 : case LE_EXPR:
13675 : 0 : {
13676 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
13677 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
13678 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
13679 : : {
13680 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
13681 : : {
13682 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
13683 : : {
13684 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
13685 : : {
13686 : 0 : {
13687 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
13688 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
13689 : 0 : if (res) return res;
13690 : : }
13691 : : }
13692 : : }
13693 : : }
13694 : : }
13695 : : break;
13696 : : }
13697 : : default:;
13698 : : }
13699 : : break;
13700 : : }
13701 : : default:;
13702 : : }
13703 : : break;
13704 : : }
13705 : : default:;
13706 : : }
13707 : : break;
13708 : : }
13709 : 0 : case UNORDERED_EXPR:
13710 : 0 : {
13711 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
13712 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
13713 : 0 : switch (TREE_CODE (_p1))
13714 : : {
13715 : 0 : case BIT_AND_EXPR:
13716 : 0 : {
13717 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
13718 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
13719 : 0 : switch (TREE_CODE (_q100))
13720 : : {
13721 : 0 : case VEC_COND_EXPR:
13722 : 0 : {
13723 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
13724 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
13725 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
13726 : 0 : switch (TREE_CODE (_q110))
13727 : : {
13728 : 0 : case ORDERED_EXPR:
13729 : 0 : {
13730 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
13731 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
13732 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
13733 : : {
13734 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
13735 : : {
13736 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
13737 : : {
13738 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
13739 : : {
13740 : 0 : {
13741 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
13742 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
13743 : 0 : if (res) return res;
13744 : : }
13745 : : }
13746 : : }
13747 : : }
13748 : : }
13749 : : break;
13750 : : }
13751 : : default:;
13752 : : }
13753 : : break;
13754 : : }
13755 : 0 : default:;
13756 : : }
13757 : 0 : switch (TREE_CODE (_q101))
13758 : : {
13759 : 0 : case VEC_COND_EXPR:
13760 : 0 : {
13761 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
13762 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
13763 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
13764 : 0 : switch (TREE_CODE (_q120))
13765 : : {
13766 : 0 : case ORDERED_EXPR:
13767 : 0 : {
13768 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
13769 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
13770 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
13771 : : {
13772 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
13773 : : {
13774 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
13775 : : {
13776 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
13777 : : {
13778 : 0 : {
13779 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
13780 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
13781 : 0 : if (res) return res;
13782 : : }
13783 : : }
13784 : : }
13785 : : }
13786 : : }
13787 : : break;
13788 : : }
13789 : : default:;
13790 : : }
13791 : : break;
13792 : : }
13793 : : default:;
13794 : : }
13795 : : break;
13796 : : }
13797 : : default:;
13798 : : }
13799 : : break;
13800 : : }
13801 : 0 : case ORDERED_EXPR:
13802 : 0 : {
13803 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
13804 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
13805 : 0 : switch (TREE_CODE (_p1))
13806 : : {
13807 : 0 : case BIT_AND_EXPR:
13808 : 0 : {
13809 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
13810 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
13811 : 0 : switch (TREE_CODE (_q100))
13812 : : {
13813 : 0 : case VEC_COND_EXPR:
13814 : 0 : {
13815 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
13816 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
13817 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
13818 : 0 : switch (TREE_CODE (_q110))
13819 : : {
13820 : 0 : case UNORDERED_EXPR:
13821 : 0 : {
13822 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
13823 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
13824 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
13825 : : {
13826 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
13827 : : {
13828 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
13829 : : {
13830 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
13831 : : {
13832 : 0 : {
13833 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
13834 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
13835 : 0 : if (res) return res;
13836 : : }
13837 : : }
13838 : : }
13839 : : }
13840 : : }
13841 : : break;
13842 : : }
13843 : : default:;
13844 : : }
13845 : : break;
13846 : : }
13847 : 0 : default:;
13848 : : }
13849 : 0 : switch (TREE_CODE (_q101))
13850 : : {
13851 : 0 : case VEC_COND_EXPR:
13852 : 0 : {
13853 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
13854 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
13855 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
13856 : 0 : switch (TREE_CODE (_q120))
13857 : : {
13858 : 0 : case UNORDERED_EXPR:
13859 : 0 : {
13860 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
13861 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
13862 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
13863 : : {
13864 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
13865 : : {
13866 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
13867 : : {
13868 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
13869 : : {
13870 : 0 : {
13871 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
13872 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
13873 : 0 : if (res) return res;
13874 : : }
13875 : : }
13876 : : }
13877 : : }
13878 : : }
13879 : : break;
13880 : : }
13881 : : default:;
13882 : : }
13883 : : break;
13884 : : }
13885 : : default:;
13886 : : }
13887 : : break;
13888 : : }
13889 : : default:;
13890 : : }
13891 : : break;
13892 : : }
13893 : 0 : case UNLT_EXPR:
13894 : 0 : {
13895 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
13896 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
13897 : 0 : switch (TREE_CODE (_p1))
13898 : : {
13899 : 0 : case BIT_AND_EXPR:
13900 : 0 : {
13901 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
13902 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
13903 : 0 : switch (TREE_CODE (_q100))
13904 : : {
13905 : 0 : case VEC_COND_EXPR:
13906 : 0 : {
13907 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
13908 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
13909 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
13910 : 0 : switch (TREE_CODE (_q110))
13911 : : {
13912 : 0 : case GE_EXPR:
13913 : 0 : {
13914 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
13915 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
13916 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
13917 : : {
13918 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
13919 : : {
13920 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
13921 : : {
13922 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
13923 : : {
13924 : 0 : {
13925 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
13926 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
13927 : 0 : if (res) return res;
13928 : : }
13929 : : }
13930 : : }
13931 : : }
13932 : : }
13933 : : break;
13934 : : }
13935 : : default:;
13936 : : }
13937 : : break;
13938 : : }
13939 : 0 : default:;
13940 : : }
13941 : 0 : switch (TREE_CODE (_q101))
13942 : : {
13943 : 0 : case VEC_COND_EXPR:
13944 : 0 : {
13945 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
13946 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
13947 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
13948 : 0 : switch (TREE_CODE (_q120))
13949 : : {
13950 : 0 : case GE_EXPR:
13951 : 0 : {
13952 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
13953 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
13954 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
13955 : : {
13956 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
13957 : : {
13958 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
13959 : : {
13960 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
13961 : : {
13962 : 0 : {
13963 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
13964 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
13965 : 0 : if (res) return res;
13966 : : }
13967 : : }
13968 : : }
13969 : : }
13970 : : }
13971 : : break;
13972 : : }
13973 : : default:;
13974 : : }
13975 : : break;
13976 : : }
13977 : : default:;
13978 : : }
13979 : : break;
13980 : : }
13981 : : default:;
13982 : : }
13983 : : break;
13984 : : }
13985 : 0 : case UNLE_EXPR:
13986 : 0 : {
13987 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
13988 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
13989 : 0 : switch (TREE_CODE (_p1))
13990 : : {
13991 : 0 : case BIT_AND_EXPR:
13992 : 0 : {
13993 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
13994 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
13995 : 0 : switch (TREE_CODE (_q100))
13996 : : {
13997 : 0 : case VEC_COND_EXPR:
13998 : 0 : {
13999 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
14000 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
14001 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
14002 : 0 : switch (TREE_CODE (_q110))
14003 : : {
14004 : 0 : case GT_EXPR:
14005 : 0 : {
14006 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
14007 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
14008 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
14009 : : {
14010 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
14011 : : {
14012 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
14013 : : {
14014 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
14015 : : {
14016 : 0 : {
14017 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
14018 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
14019 : 0 : if (res) return res;
14020 : : }
14021 : : }
14022 : : }
14023 : : }
14024 : : }
14025 : : break;
14026 : : }
14027 : : default:;
14028 : : }
14029 : : break;
14030 : : }
14031 : 0 : default:;
14032 : : }
14033 : 0 : switch (TREE_CODE (_q101))
14034 : : {
14035 : 0 : case VEC_COND_EXPR:
14036 : 0 : {
14037 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
14038 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
14039 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
14040 : 0 : switch (TREE_CODE (_q120))
14041 : : {
14042 : 0 : case GT_EXPR:
14043 : 0 : {
14044 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
14045 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
14046 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
14047 : : {
14048 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
14049 : : {
14050 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
14051 : : {
14052 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
14053 : : {
14054 : 0 : {
14055 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
14056 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
14057 : 0 : if (res) return res;
14058 : : }
14059 : : }
14060 : : }
14061 : : }
14062 : : }
14063 : : break;
14064 : : }
14065 : : default:;
14066 : : }
14067 : : break;
14068 : : }
14069 : : default:;
14070 : : }
14071 : : break;
14072 : : }
14073 : : default:;
14074 : : }
14075 : : break;
14076 : : }
14077 : 0 : case UNGT_EXPR:
14078 : 0 : {
14079 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
14080 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
14081 : 0 : switch (TREE_CODE (_p1))
14082 : : {
14083 : 0 : case BIT_AND_EXPR:
14084 : 0 : {
14085 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
14086 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
14087 : 0 : switch (TREE_CODE (_q100))
14088 : : {
14089 : 0 : case VEC_COND_EXPR:
14090 : 0 : {
14091 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
14092 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
14093 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
14094 : 0 : switch (TREE_CODE (_q110))
14095 : : {
14096 : 0 : case LE_EXPR:
14097 : 0 : {
14098 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
14099 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
14100 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
14101 : : {
14102 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
14103 : : {
14104 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
14105 : : {
14106 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
14107 : : {
14108 : 0 : {
14109 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
14110 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
14111 : 0 : if (res) return res;
14112 : : }
14113 : : }
14114 : : }
14115 : : }
14116 : : }
14117 : : break;
14118 : : }
14119 : : default:;
14120 : : }
14121 : : break;
14122 : : }
14123 : 0 : default:;
14124 : : }
14125 : 0 : switch (TREE_CODE (_q101))
14126 : : {
14127 : 0 : case VEC_COND_EXPR:
14128 : 0 : {
14129 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
14130 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
14131 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
14132 : 0 : switch (TREE_CODE (_q120))
14133 : : {
14134 : 0 : case LE_EXPR:
14135 : 0 : {
14136 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
14137 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
14138 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
14139 : : {
14140 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
14141 : : {
14142 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
14143 : : {
14144 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
14145 : : {
14146 : 0 : {
14147 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
14148 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
14149 : 0 : if (res) return res;
14150 : : }
14151 : : }
14152 : : }
14153 : : }
14154 : : }
14155 : : break;
14156 : : }
14157 : : default:;
14158 : : }
14159 : : break;
14160 : : }
14161 : : default:;
14162 : : }
14163 : : break;
14164 : : }
14165 : : default:;
14166 : : }
14167 : : break;
14168 : : }
14169 : 0 : case UNGE_EXPR:
14170 : 0 : {
14171 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
14172 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
14173 : 0 : switch (TREE_CODE (_p1))
14174 : : {
14175 : 0 : case BIT_AND_EXPR:
14176 : 0 : {
14177 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
14178 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
14179 : 0 : switch (TREE_CODE (_q100))
14180 : : {
14181 : 0 : case VEC_COND_EXPR:
14182 : 0 : {
14183 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
14184 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
14185 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
14186 : 0 : switch (TREE_CODE (_q110))
14187 : : {
14188 : 0 : case LT_EXPR:
14189 : 0 : {
14190 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
14191 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
14192 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
14193 : : {
14194 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
14195 : : {
14196 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
14197 : : {
14198 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
14199 : : {
14200 : 0 : {
14201 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
14202 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
14203 : 0 : if (res) return res;
14204 : : }
14205 : : }
14206 : : }
14207 : : }
14208 : : }
14209 : : break;
14210 : : }
14211 : : default:;
14212 : : }
14213 : : break;
14214 : : }
14215 : 0 : default:;
14216 : : }
14217 : 0 : switch (TREE_CODE (_q101))
14218 : : {
14219 : 0 : case VEC_COND_EXPR:
14220 : 0 : {
14221 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
14222 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
14223 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
14224 : 0 : switch (TREE_CODE (_q120))
14225 : : {
14226 : 0 : case LT_EXPR:
14227 : 0 : {
14228 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
14229 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
14230 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
14231 : : {
14232 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
14233 : : {
14234 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
14235 : : {
14236 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
14237 : : {
14238 : 0 : {
14239 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
14240 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
14241 : 0 : if (res) return res;
14242 : : }
14243 : : }
14244 : : }
14245 : : }
14246 : : }
14247 : : break;
14248 : : }
14249 : : default:;
14250 : : }
14251 : : break;
14252 : : }
14253 : : default:;
14254 : : }
14255 : : break;
14256 : : }
14257 : : default:;
14258 : : }
14259 : : break;
14260 : : }
14261 : 0 : case UNEQ_EXPR:
14262 : 0 : {
14263 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
14264 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
14265 : 0 : switch (TREE_CODE (_p1))
14266 : : {
14267 : 0 : case BIT_AND_EXPR:
14268 : 0 : {
14269 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
14270 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
14271 : 0 : switch (TREE_CODE (_q100))
14272 : : {
14273 : 0 : case VEC_COND_EXPR:
14274 : 0 : {
14275 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
14276 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
14277 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
14278 : 0 : switch (TREE_CODE (_q110))
14279 : : {
14280 : 0 : case LTGT_EXPR:
14281 : 0 : {
14282 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
14283 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
14284 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
14285 : : {
14286 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
14287 : : {
14288 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
14289 : : {
14290 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
14291 : : {
14292 : 0 : {
14293 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
14294 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
14295 : 0 : if (res) return res;
14296 : : }
14297 : : }
14298 : : }
14299 : : }
14300 : : }
14301 : : break;
14302 : : }
14303 : : default:;
14304 : : }
14305 : : break;
14306 : : }
14307 : 0 : default:;
14308 : : }
14309 : 0 : switch (TREE_CODE (_q101))
14310 : : {
14311 : 0 : case VEC_COND_EXPR:
14312 : 0 : {
14313 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
14314 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
14315 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
14316 : 0 : switch (TREE_CODE (_q120))
14317 : : {
14318 : 0 : case LTGT_EXPR:
14319 : 0 : {
14320 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
14321 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
14322 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
14323 : : {
14324 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
14325 : : {
14326 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
14327 : : {
14328 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
14329 : : {
14330 : 0 : {
14331 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
14332 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
14333 : 0 : if (res) return res;
14334 : : }
14335 : : }
14336 : : }
14337 : : }
14338 : : }
14339 : : break;
14340 : : }
14341 : : default:;
14342 : : }
14343 : : break;
14344 : : }
14345 : : default:;
14346 : : }
14347 : : break;
14348 : : }
14349 : : default:;
14350 : : }
14351 : : break;
14352 : : }
14353 : 0 : case LTGT_EXPR:
14354 : 0 : {
14355 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
14356 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
14357 : 0 : switch (TREE_CODE (_p1))
14358 : : {
14359 : 0 : case BIT_AND_EXPR:
14360 : 0 : {
14361 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
14362 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
14363 : 0 : switch (TREE_CODE (_q100))
14364 : : {
14365 : 0 : case VEC_COND_EXPR:
14366 : 0 : {
14367 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
14368 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
14369 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
14370 : 0 : switch (TREE_CODE (_q110))
14371 : : {
14372 : 0 : case UNEQ_EXPR:
14373 : 0 : {
14374 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
14375 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
14376 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
14377 : : {
14378 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
14379 : : {
14380 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
14381 : : {
14382 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
14383 : : {
14384 : 0 : {
14385 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
14386 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
14387 : 0 : if (res) return res;
14388 : : }
14389 : : }
14390 : : }
14391 : : }
14392 : : }
14393 : : break;
14394 : : }
14395 : : default:;
14396 : : }
14397 : : break;
14398 : : }
14399 : 0 : default:;
14400 : : }
14401 : 0 : switch (TREE_CODE (_q101))
14402 : : {
14403 : 0 : case VEC_COND_EXPR:
14404 : 0 : {
14405 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
14406 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
14407 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
14408 : 0 : switch (TREE_CODE (_q120))
14409 : : {
14410 : 0 : case UNEQ_EXPR:
14411 : 0 : {
14412 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
14413 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
14414 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
14415 : : {
14416 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
14417 : : {
14418 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
14419 : : {
14420 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
14421 : : {
14422 : 0 : {
14423 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
14424 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
14425 : 0 : if (res) return res;
14426 : : }
14427 : : }
14428 : : }
14429 : : }
14430 : : }
14431 : : break;
14432 : : }
14433 : : default:;
14434 : : }
14435 : : break;
14436 : : }
14437 : : default:;
14438 : : }
14439 : : break;
14440 : : }
14441 : : default:;
14442 : : }
14443 : : break;
14444 : : }
14445 : : default:;
14446 : : }
14447 : : break;
14448 : : }
14449 : 126690 : default:;
14450 : : }
14451 : 126690 : switch (TREE_CODE (_q21))
14452 : : {
14453 : 0 : case VEC_COND_EXPR:
14454 : 0 : {
14455 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
14456 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
14457 : 0 : tree _q42 = TREE_OPERAND (_q21, 2);
14458 : 0 : switch (TREE_CODE (_q40))
14459 : : {
14460 : 0 : case LT_EXPR:
14461 : 0 : {
14462 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
14463 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
14464 : 0 : switch (TREE_CODE (_p1))
14465 : : {
14466 : 0 : case BIT_AND_EXPR:
14467 : 0 : {
14468 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
14469 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
14470 : 0 : switch (TREE_CODE (_q100))
14471 : : {
14472 : 0 : case VEC_COND_EXPR:
14473 : 0 : {
14474 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
14475 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
14476 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
14477 : 0 : switch (TREE_CODE (_q110))
14478 : : {
14479 : 0 : case GE_EXPR:
14480 : 0 : {
14481 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
14482 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
14483 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
14484 : : {
14485 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
14486 : : {
14487 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
14488 : : {
14489 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
14490 : : {
14491 : 0 : {
14492 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
14493 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
14494 : 0 : if (res) return res;
14495 : : }
14496 : : }
14497 : : }
14498 : : }
14499 : : }
14500 : : break;
14501 : : }
14502 : : default:;
14503 : : }
14504 : : break;
14505 : : }
14506 : 0 : default:;
14507 : : }
14508 : 0 : switch (TREE_CODE (_q101))
14509 : : {
14510 : 0 : case VEC_COND_EXPR:
14511 : 0 : {
14512 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
14513 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
14514 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
14515 : 0 : switch (TREE_CODE (_q120))
14516 : : {
14517 : 0 : case GE_EXPR:
14518 : 0 : {
14519 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
14520 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
14521 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
14522 : : {
14523 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
14524 : : {
14525 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
14526 : : {
14527 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
14528 : : {
14529 : 0 : {
14530 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
14531 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
14532 : 0 : if (res) return res;
14533 : : }
14534 : : }
14535 : : }
14536 : : }
14537 : : }
14538 : : break;
14539 : : }
14540 : : default:;
14541 : : }
14542 : : break;
14543 : : }
14544 : : default:;
14545 : : }
14546 : : break;
14547 : : }
14548 : : default:;
14549 : : }
14550 : : break;
14551 : : }
14552 : 0 : case LE_EXPR:
14553 : 0 : {
14554 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
14555 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
14556 : 0 : switch (TREE_CODE (_p1))
14557 : : {
14558 : 0 : case BIT_AND_EXPR:
14559 : 0 : {
14560 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
14561 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
14562 : 0 : switch (TREE_CODE (_q100))
14563 : : {
14564 : 0 : case VEC_COND_EXPR:
14565 : 0 : {
14566 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
14567 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
14568 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
14569 : 0 : switch (TREE_CODE (_q110))
14570 : : {
14571 : 0 : case GT_EXPR:
14572 : 0 : {
14573 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
14574 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
14575 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
14576 : : {
14577 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
14578 : : {
14579 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
14580 : : {
14581 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
14582 : : {
14583 : 0 : {
14584 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
14585 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
14586 : 0 : if (res) return res;
14587 : : }
14588 : : }
14589 : : }
14590 : : }
14591 : : }
14592 : : break;
14593 : : }
14594 : : default:;
14595 : : }
14596 : : break;
14597 : : }
14598 : 0 : default:;
14599 : : }
14600 : 0 : switch (TREE_CODE (_q101))
14601 : : {
14602 : 0 : case VEC_COND_EXPR:
14603 : 0 : {
14604 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
14605 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
14606 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
14607 : 0 : switch (TREE_CODE (_q120))
14608 : : {
14609 : 0 : case GT_EXPR:
14610 : 0 : {
14611 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
14612 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
14613 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
14614 : : {
14615 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
14616 : : {
14617 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
14618 : : {
14619 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
14620 : : {
14621 : 0 : {
14622 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
14623 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
14624 : 0 : if (res) return res;
14625 : : }
14626 : : }
14627 : : }
14628 : : }
14629 : : }
14630 : : break;
14631 : : }
14632 : : default:;
14633 : : }
14634 : : break;
14635 : : }
14636 : : default:;
14637 : : }
14638 : : break;
14639 : : }
14640 : : default:;
14641 : : }
14642 : : break;
14643 : : }
14644 : 0 : case EQ_EXPR:
14645 : 0 : {
14646 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
14647 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
14648 : 0 : switch (TREE_CODE (_p1))
14649 : : {
14650 : 0 : case BIT_AND_EXPR:
14651 : 0 : {
14652 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
14653 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
14654 : 0 : switch (TREE_CODE (_q100))
14655 : : {
14656 : 0 : case VEC_COND_EXPR:
14657 : 0 : {
14658 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
14659 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
14660 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
14661 : 0 : switch (TREE_CODE (_q110))
14662 : : {
14663 : 0 : case NE_EXPR:
14664 : 0 : {
14665 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
14666 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
14667 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
14668 : : {
14669 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
14670 : : {
14671 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
14672 : : {
14673 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
14674 : : {
14675 : 0 : {
14676 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
14677 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
14678 : 0 : if (res) return res;
14679 : : }
14680 : : }
14681 : : }
14682 : : }
14683 : : }
14684 : : break;
14685 : : }
14686 : : default:;
14687 : : }
14688 : : break;
14689 : : }
14690 : 0 : default:;
14691 : : }
14692 : 0 : switch (TREE_CODE (_q101))
14693 : : {
14694 : 0 : case VEC_COND_EXPR:
14695 : 0 : {
14696 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
14697 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
14698 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
14699 : 0 : switch (TREE_CODE (_q120))
14700 : : {
14701 : 0 : case NE_EXPR:
14702 : 0 : {
14703 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
14704 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
14705 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
14706 : : {
14707 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
14708 : : {
14709 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
14710 : : {
14711 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
14712 : : {
14713 : 0 : {
14714 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
14715 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
14716 : 0 : if (res) return res;
14717 : : }
14718 : : }
14719 : : }
14720 : : }
14721 : : }
14722 : : break;
14723 : : }
14724 : : default:;
14725 : : }
14726 : : break;
14727 : : }
14728 : : default:;
14729 : : }
14730 : : break;
14731 : : }
14732 : : default:;
14733 : : }
14734 : : break;
14735 : : }
14736 : 0 : case NE_EXPR:
14737 : 0 : {
14738 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
14739 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
14740 : 0 : switch (TREE_CODE (_p1))
14741 : : {
14742 : 0 : case BIT_AND_EXPR:
14743 : 0 : {
14744 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
14745 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
14746 : 0 : switch (TREE_CODE (_q100))
14747 : : {
14748 : 0 : case VEC_COND_EXPR:
14749 : 0 : {
14750 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
14751 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
14752 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
14753 : 0 : switch (TREE_CODE (_q110))
14754 : : {
14755 : 0 : case EQ_EXPR:
14756 : 0 : {
14757 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
14758 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
14759 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
14760 : : {
14761 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
14762 : : {
14763 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
14764 : : {
14765 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
14766 : : {
14767 : 0 : {
14768 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
14769 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
14770 : 0 : if (res) return res;
14771 : : }
14772 : : }
14773 : : }
14774 : : }
14775 : : }
14776 : : break;
14777 : : }
14778 : : default:;
14779 : : }
14780 : : break;
14781 : : }
14782 : 0 : default:;
14783 : : }
14784 : 0 : switch (TREE_CODE (_q101))
14785 : : {
14786 : 0 : case VEC_COND_EXPR:
14787 : 0 : {
14788 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
14789 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
14790 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
14791 : 0 : switch (TREE_CODE (_q120))
14792 : : {
14793 : 0 : case EQ_EXPR:
14794 : 0 : {
14795 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
14796 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
14797 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
14798 : : {
14799 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
14800 : : {
14801 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
14802 : : {
14803 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
14804 : : {
14805 : 0 : {
14806 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
14807 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
14808 : 0 : if (res) return res;
14809 : : }
14810 : : }
14811 : : }
14812 : : }
14813 : : }
14814 : : break;
14815 : : }
14816 : : default:;
14817 : : }
14818 : : break;
14819 : : }
14820 : : default:;
14821 : : }
14822 : : break;
14823 : : }
14824 : : default:;
14825 : : }
14826 : : break;
14827 : : }
14828 : 0 : case GE_EXPR:
14829 : 0 : {
14830 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
14831 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
14832 : 0 : switch (TREE_CODE (_p1))
14833 : : {
14834 : 0 : case BIT_AND_EXPR:
14835 : 0 : {
14836 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
14837 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
14838 : 0 : switch (TREE_CODE (_q100))
14839 : : {
14840 : 0 : case VEC_COND_EXPR:
14841 : 0 : {
14842 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
14843 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
14844 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
14845 : 0 : switch (TREE_CODE (_q110))
14846 : : {
14847 : 0 : case LT_EXPR:
14848 : 0 : {
14849 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
14850 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
14851 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
14852 : : {
14853 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
14854 : : {
14855 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
14856 : : {
14857 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
14858 : : {
14859 : 0 : {
14860 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
14861 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
14862 : 0 : if (res) return res;
14863 : : }
14864 : : }
14865 : : }
14866 : : }
14867 : : }
14868 : : break;
14869 : : }
14870 : : default:;
14871 : : }
14872 : : break;
14873 : : }
14874 : 0 : default:;
14875 : : }
14876 : 0 : switch (TREE_CODE (_q101))
14877 : : {
14878 : 0 : case VEC_COND_EXPR:
14879 : 0 : {
14880 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
14881 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
14882 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
14883 : 0 : switch (TREE_CODE (_q120))
14884 : : {
14885 : 0 : case LT_EXPR:
14886 : 0 : {
14887 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
14888 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
14889 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
14890 : : {
14891 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
14892 : : {
14893 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
14894 : : {
14895 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
14896 : : {
14897 : 0 : {
14898 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
14899 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
14900 : 0 : if (res) return res;
14901 : : }
14902 : : }
14903 : : }
14904 : : }
14905 : : }
14906 : : break;
14907 : : }
14908 : : default:;
14909 : : }
14910 : : break;
14911 : : }
14912 : : default:;
14913 : : }
14914 : : break;
14915 : : }
14916 : : default:;
14917 : : }
14918 : : break;
14919 : : }
14920 : 0 : case GT_EXPR:
14921 : 0 : {
14922 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
14923 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
14924 : 0 : switch (TREE_CODE (_p1))
14925 : : {
14926 : 0 : case BIT_AND_EXPR:
14927 : 0 : {
14928 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
14929 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
14930 : 0 : switch (TREE_CODE (_q100))
14931 : : {
14932 : 0 : case VEC_COND_EXPR:
14933 : 0 : {
14934 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
14935 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
14936 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
14937 : 0 : switch (TREE_CODE (_q110))
14938 : : {
14939 : 0 : case LE_EXPR:
14940 : 0 : {
14941 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
14942 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
14943 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
14944 : : {
14945 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
14946 : : {
14947 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
14948 : : {
14949 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
14950 : : {
14951 : 0 : {
14952 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
14953 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
14954 : 0 : if (res) return res;
14955 : : }
14956 : : }
14957 : : }
14958 : : }
14959 : : }
14960 : : break;
14961 : : }
14962 : : default:;
14963 : : }
14964 : : break;
14965 : : }
14966 : 0 : default:;
14967 : : }
14968 : 0 : switch (TREE_CODE (_q101))
14969 : : {
14970 : 0 : case VEC_COND_EXPR:
14971 : 0 : {
14972 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
14973 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
14974 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
14975 : 0 : switch (TREE_CODE (_q120))
14976 : : {
14977 : 0 : case LE_EXPR:
14978 : 0 : {
14979 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
14980 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
14981 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
14982 : : {
14983 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
14984 : : {
14985 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
14986 : : {
14987 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
14988 : : {
14989 : 0 : {
14990 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
14991 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
14992 : 0 : if (res) return res;
14993 : : }
14994 : : }
14995 : : }
14996 : : }
14997 : : }
14998 : : break;
14999 : : }
15000 : : default:;
15001 : : }
15002 : : break;
15003 : : }
15004 : : default:;
15005 : : }
15006 : : break;
15007 : : }
15008 : : default:;
15009 : : }
15010 : : break;
15011 : : }
15012 : 0 : case UNORDERED_EXPR:
15013 : 0 : {
15014 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
15015 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
15016 : 0 : switch (TREE_CODE (_p1))
15017 : : {
15018 : 0 : case BIT_AND_EXPR:
15019 : 0 : {
15020 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
15021 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
15022 : 0 : switch (TREE_CODE (_q100))
15023 : : {
15024 : 0 : case VEC_COND_EXPR:
15025 : 0 : {
15026 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
15027 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
15028 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
15029 : 0 : switch (TREE_CODE (_q110))
15030 : : {
15031 : 0 : case ORDERED_EXPR:
15032 : 0 : {
15033 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
15034 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
15035 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
15036 : : {
15037 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
15038 : : {
15039 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
15040 : : {
15041 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
15042 : : {
15043 : 0 : {
15044 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
15045 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
15046 : 0 : if (res) return res;
15047 : : }
15048 : : }
15049 : : }
15050 : : }
15051 : : }
15052 : : break;
15053 : : }
15054 : : default:;
15055 : : }
15056 : : break;
15057 : : }
15058 : 0 : default:;
15059 : : }
15060 : 0 : switch (TREE_CODE (_q101))
15061 : : {
15062 : 0 : case VEC_COND_EXPR:
15063 : 0 : {
15064 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
15065 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
15066 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
15067 : 0 : switch (TREE_CODE (_q120))
15068 : : {
15069 : 0 : case ORDERED_EXPR:
15070 : 0 : {
15071 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
15072 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
15073 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
15074 : : {
15075 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
15076 : : {
15077 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
15078 : : {
15079 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
15080 : : {
15081 : 0 : {
15082 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
15083 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
15084 : 0 : if (res) return res;
15085 : : }
15086 : : }
15087 : : }
15088 : : }
15089 : : }
15090 : : break;
15091 : : }
15092 : : default:;
15093 : : }
15094 : : break;
15095 : : }
15096 : : default:;
15097 : : }
15098 : : break;
15099 : : }
15100 : : default:;
15101 : : }
15102 : : break;
15103 : : }
15104 : 0 : case ORDERED_EXPR:
15105 : 0 : {
15106 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
15107 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
15108 : 0 : switch (TREE_CODE (_p1))
15109 : : {
15110 : 0 : case BIT_AND_EXPR:
15111 : 0 : {
15112 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
15113 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
15114 : 0 : switch (TREE_CODE (_q100))
15115 : : {
15116 : 0 : case VEC_COND_EXPR:
15117 : 0 : {
15118 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
15119 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
15120 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
15121 : 0 : switch (TREE_CODE (_q110))
15122 : : {
15123 : 0 : case UNORDERED_EXPR:
15124 : 0 : {
15125 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
15126 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
15127 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
15128 : : {
15129 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
15130 : : {
15131 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
15132 : : {
15133 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
15134 : : {
15135 : 0 : {
15136 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
15137 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
15138 : 0 : if (res) return res;
15139 : : }
15140 : : }
15141 : : }
15142 : : }
15143 : : }
15144 : : break;
15145 : : }
15146 : : default:;
15147 : : }
15148 : : break;
15149 : : }
15150 : 0 : default:;
15151 : : }
15152 : 0 : switch (TREE_CODE (_q101))
15153 : : {
15154 : 0 : case VEC_COND_EXPR:
15155 : 0 : {
15156 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
15157 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
15158 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
15159 : 0 : switch (TREE_CODE (_q120))
15160 : : {
15161 : 0 : case UNORDERED_EXPR:
15162 : 0 : {
15163 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
15164 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
15165 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
15166 : : {
15167 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
15168 : : {
15169 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
15170 : : {
15171 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
15172 : : {
15173 : 0 : {
15174 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
15175 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
15176 : 0 : if (res) return res;
15177 : : }
15178 : : }
15179 : : }
15180 : : }
15181 : : }
15182 : : break;
15183 : : }
15184 : : default:;
15185 : : }
15186 : : break;
15187 : : }
15188 : : default:;
15189 : : }
15190 : : break;
15191 : : }
15192 : : default:;
15193 : : }
15194 : : break;
15195 : : }
15196 : 0 : case UNLT_EXPR:
15197 : 0 : {
15198 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
15199 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
15200 : 0 : switch (TREE_CODE (_p1))
15201 : : {
15202 : 0 : case BIT_AND_EXPR:
15203 : 0 : {
15204 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
15205 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
15206 : 0 : switch (TREE_CODE (_q100))
15207 : : {
15208 : 0 : case VEC_COND_EXPR:
15209 : 0 : {
15210 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
15211 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
15212 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
15213 : 0 : switch (TREE_CODE (_q110))
15214 : : {
15215 : 0 : case GE_EXPR:
15216 : 0 : {
15217 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
15218 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
15219 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
15220 : : {
15221 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
15222 : : {
15223 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
15224 : : {
15225 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
15226 : : {
15227 : 0 : {
15228 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
15229 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
15230 : 0 : if (res) return res;
15231 : : }
15232 : : }
15233 : : }
15234 : : }
15235 : : }
15236 : : break;
15237 : : }
15238 : : default:;
15239 : : }
15240 : : break;
15241 : : }
15242 : 0 : default:;
15243 : : }
15244 : 0 : switch (TREE_CODE (_q101))
15245 : : {
15246 : 0 : case VEC_COND_EXPR:
15247 : 0 : {
15248 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
15249 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
15250 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
15251 : 0 : switch (TREE_CODE (_q120))
15252 : : {
15253 : 0 : case GE_EXPR:
15254 : 0 : {
15255 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
15256 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
15257 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
15258 : : {
15259 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
15260 : : {
15261 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
15262 : : {
15263 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
15264 : : {
15265 : 0 : {
15266 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
15267 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
15268 : 0 : if (res) return res;
15269 : : }
15270 : : }
15271 : : }
15272 : : }
15273 : : }
15274 : : break;
15275 : : }
15276 : : default:;
15277 : : }
15278 : : break;
15279 : : }
15280 : : default:;
15281 : : }
15282 : : break;
15283 : : }
15284 : : default:;
15285 : : }
15286 : : break;
15287 : : }
15288 : 0 : case UNLE_EXPR:
15289 : 0 : {
15290 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
15291 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
15292 : 0 : switch (TREE_CODE (_p1))
15293 : : {
15294 : 0 : case BIT_AND_EXPR:
15295 : 0 : {
15296 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
15297 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
15298 : 0 : switch (TREE_CODE (_q100))
15299 : : {
15300 : 0 : case VEC_COND_EXPR:
15301 : 0 : {
15302 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
15303 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
15304 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
15305 : 0 : switch (TREE_CODE (_q110))
15306 : : {
15307 : 0 : case GT_EXPR:
15308 : 0 : {
15309 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
15310 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
15311 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
15312 : : {
15313 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
15314 : : {
15315 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
15316 : : {
15317 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
15318 : : {
15319 : 0 : {
15320 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
15321 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
15322 : 0 : if (res) return res;
15323 : : }
15324 : : }
15325 : : }
15326 : : }
15327 : : }
15328 : : break;
15329 : : }
15330 : : default:;
15331 : : }
15332 : : break;
15333 : : }
15334 : 0 : default:;
15335 : : }
15336 : 0 : switch (TREE_CODE (_q101))
15337 : : {
15338 : 0 : case VEC_COND_EXPR:
15339 : 0 : {
15340 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
15341 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
15342 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
15343 : 0 : switch (TREE_CODE (_q120))
15344 : : {
15345 : 0 : case GT_EXPR:
15346 : 0 : {
15347 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
15348 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
15349 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
15350 : : {
15351 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
15352 : : {
15353 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
15354 : : {
15355 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
15356 : : {
15357 : 0 : {
15358 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
15359 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
15360 : 0 : if (res) return res;
15361 : : }
15362 : : }
15363 : : }
15364 : : }
15365 : : }
15366 : : break;
15367 : : }
15368 : : default:;
15369 : : }
15370 : : break;
15371 : : }
15372 : : default:;
15373 : : }
15374 : : break;
15375 : : }
15376 : : default:;
15377 : : }
15378 : : break;
15379 : : }
15380 : 0 : case UNGT_EXPR:
15381 : 0 : {
15382 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
15383 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
15384 : 0 : switch (TREE_CODE (_p1))
15385 : : {
15386 : 0 : case BIT_AND_EXPR:
15387 : 0 : {
15388 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
15389 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
15390 : 0 : switch (TREE_CODE (_q100))
15391 : : {
15392 : 0 : case VEC_COND_EXPR:
15393 : 0 : {
15394 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
15395 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
15396 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
15397 : 0 : switch (TREE_CODE (_q110))
15398 : : {
15399 : 0 : case LE_EXPR:
15400 : 0 : {
15401 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
15402 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
15403 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
15404 : : {
15405 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
15406 : : {
15407 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
15408 : : {
15409 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
15410 : : {
15411 : 0 : {
15412 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
15413 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
15414 : 0 : if (res) return res;
15415 : : }
15416 : : }
15417 : : }
15418 : : }
15419 : : }
15420 : : break;
15421 : : }
15422 : : default:;
15423 : : }
15424 : : break;
15425 : : }
15426 : 0 : default:;
15427 : : }
15428 : 0 : switch (TREE_CODE (_q101))
15429 : : {
15430 : 0 : case VEC_COND_EXPR:
15431 : 0 : {
15432 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
15433 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
15434 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
15435 : 0 : switch (TREE_CODE (_q120))
15436 : : {
15437 : 0 : case LE_EXPR:
15438 : 0 : {
15439 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
15440 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
15441 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
15442 : : {
15443 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
15444 : : {
15445 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
15446 : : {
15447 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
15448 : : {
15449 : 0 : {
15450 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
15451 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
15452 : 0 : if (res) return res;
15453 : : }
15454 : : }
15455 : : }
15456 : : }
15457 : : }
15458 : : break;
15459 : : }
15460 : : default:;
15461 : : }
15462 : : break;
15463 : : }
15464 : : default:;
15465 : : }
15466 : : break;
15467 : : }
15468 : : default:;
15469 : : }
15470 : : break;
15471 : : }
15472 : 0 : case UNGE_EXPR:
15473 : 0 : {
15474 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
15475 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
15476 : 0 : switch (TREE_CODE (_p1))
15477 : : {
15478 : 0 : case BIT_AND_EXPR:
15479 : 0 : {
15480 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
15481 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
15482 : 0 : switch (TREE_CODE (_q100))
15483 : : {
15484 : 0 : case VEC_COND_EXPR:
15485 : 0 : {
15486 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
15487 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
15488 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
15489 : 0 : switch (TREE_CODE (_q110))
15490 : : {
15491 : 0 : case LT_EXPR:
15492 : 0 : {
15493 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
15494 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
15495 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
15496 : : {
15497 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
15498 : : {
15499 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
15500 : : {
15501 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
15502 : : {
15503 : 0 : {
15504 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
15505 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
15506 : 0 : if (res) return res;
15507 : : }
15508 : : }
15509 : : }
15510 : : }
15511 : : }
15512 : : break;
15513 : : }
15514 : : default:;
15515 : : }
15516 : : break;
15517 : : }
15518 : 0 : default:;
15519 : : }
15520 : 0 : switch (TREE_CODE (_q101))
15521 : : {
15522 : 0 : case VEC_COND_EXPR:
15523 : 0 : {
15524 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
15525 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
15526 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
15527 : 0 : switch (TREE_CODE (_q120))
15528 : : {
15529 : 0 : case LT_EXPR:
15530 : 0 : {
15531 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
15532 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
15533 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
15534 : : {
15535 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
15536 : : {
15537 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
15538 : : {
15539 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
15540 : : {
15541 : 0 : {
15542 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
15543 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
15544 : 0 : if (res) return res;
15545 : : }
15546 : : }
15547 : : }
15548 : : }
15549 : : }
15550 : : break;
15551 : : }
15552 : : default:;
15553 : : }
15554 : : break;
15555 : : }
15556 : : default:;
15557 : : }
15558 : : break;
15559 : : }
15560 : : default:;
15561 : : }
15562 : : break;
15563 : : }
15564 : 0 : case UNEQ_EXPR:
15565 : 0 : {
15566 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
15567 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
15568 : 0 : switch (TREE_CODE (_p1))
15569 : : {
15570 : 0 : case BIT_AND_EXPR:
15571 : 0 : {
15572 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
15573 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
15574 : 0 : switch (TREE_CODE (_q100))
15575 : : {
15576 : 0 : case VEC_COND_EXPR:
15577 : 0 : {
15578 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
15579 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
15580 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
15581 : 0 : switch (TREE_CODE (_q110))
15582 : : {
15583 : 0 : case LTGT_EXPR:
15584 : 0 : {
15585 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
15586 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
15587 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
15588 : : {
15589 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
15590 : : {
15591 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
15592 : : {
15593 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
15594 : : {
15595 : 0 : {
15596 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
15597 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
15598 : 0 : if (res) return res;
15599 : : }
15600 : : }
15601 : : }
15602 : : }
15603 : : }
15604 : : break;
15605 : : }
15606 : : default:;
15607 : : }
15608 : : break;
15609 : : }
15610 : 0 : default:;
15611 : : }
15612 : 0 : switch (TREE_CODE (_q101))
15613 : : {
15614 : 0 : case VEC_COND_EXPR:
15615 : 0 : {
15616 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
15617 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
15618 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
15619 : 0 : switch (TREE_CODE (_q120))
15620 : : {
15621 : 0 : case LTGT_EXPR:
15622 : 0 : {
15623 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
15624 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
15625 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
15626 : : {
15627 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
15628 : : {
15629 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
15630 : : {
15631 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
15632 : : {
15633 : 0 : {
15634 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
15635 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
15636 : 0 : if (res) return res;
15637 : : }
15638 : : }
15639 : : }
15640 : : }
15641 : : }
15642 : : break;
15643 : : }
15644 : : default:;
15645 : : }
15646 : : break;
15647 : : }
15648 : : default:;
15649 : : }
15650 : : break;
15651 : : }
15652 : : default:;
15653 : : }
15654 : : break;
15655 : : }
15656 : 0 : case LTGT_EXPR:
15657 : 0 : {
15658 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
15659 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
15660 : 0 : switch (TREE_CODE (_p1))
15661 : : {
15662 : 0 : case BIT_AND_EXPR:
15663 : 0 : {
15664 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
15665 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
15666 : 0 : switch (TREE_CODE (_q100))
15667 : : {
15668 : 0 : case VEC_COND_EXPR:
15669 : 0 : {
15670 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
15671 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
15672 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
15673 : 0 : switch (TREE_CODE (_q110))
15674 : : {
15675 : 0 : case UNEQ_EXPR:
15676 : 0 : {
15677 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
15678 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
15679 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
15680 : : {
15681 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
15682 : : {
15683 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
15684 : : {
15685 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
15686 : : {
15687 : 0 : {
15688 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
15689 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
15690 : 0 : if (res) return res;
15691 : : }
15692 : : }
15693 : : }
15694 : : }
15695 : : }
15696 : : break;
15697 : : }
15698 : : default:;
15699 : : }
15700 : : break;
15701 : : }
15702 : 0 : default:;
15703 : : }
15704 : 0 : switch (TREE_CODE (_q101))
15705 : : {
15706 : 0 : case VEC_COND_EXPR:
15707 : 0 : {
15708 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
15709 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
15710 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
15711 : 0 : switch (TREE_CODE (_q120))
15712 : : {
15713 : 0 : case UNEQ_EXPR:
15714 : 0 : {
15715 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
15716 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
15717 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
15718 : : {
15719 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
15720 : : {
15721 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
15722 : : {
15723 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
15724 : : {
15725 : 0 : {
15726 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
15727 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
15728 : 0 : if (res) return res;
15729 : : }
15730 : : }
15731 : : }
15732 : : }
15733 : : }
15734 : : break;
15735 : : }
15736 : : default:;
15737 : : }
15738 : : break;
15739 : : }
15740 : : default:;
15741 : : }
15742 : : break;
15743 : : }
15744 : : default:;
15745 : : }
15746 : : break;
15747 : : }
15748 : : default:;
15749 : : }
15750 : : break;
15751 : : }
15752 : 74 : case BIT_NOT_EXPR:
15753 : 74 : {
15754 : 74 : tree _q40 = TREE_OPERAND (_q21, 0);
15755 : 74 : switch (TREE_CODE (_p1))
15756 : : {
15757 : 54 : case BIT_AND_EXPR:
15758 : 54 : {
15759 : 54 : tree _q60 = TREE_OPERAND (_p1, 0);
15760 : 54 : tree _q61 = TREE_OPERAND (_p1, 1);
15761 : 54 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
15762 : : {
15763 : 18 : {
15764 : 18 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _p1, _q60 };
15765 : 18 : tree res = generic_simplify_121 (loc, type, _p0, _p1, captures);
15766 : 18 : if (res) return res;
15767 : : }
15768 : : }
15769 : 54 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
15770 : : {
15771 : 36 : {
15772 : 36 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _p1, _q61 };
15773 : 36 : tree res = generic_simplify_121 (loc, type, _p0, _p1, captures);
15774 : 36 : if (res) return res;
15775 : : }
15776 : : }
15777 : : break;
15778 : : }
15779 : : default:;
15780 : : }
15781 : : break;
15782 : : }
15783 : 126690 : default:;
15784 : : }
15785 : 126690 : switch (TREE_CODE (_q20))
15786 : : {
15787 : 344 : case BIT_NOT_EXPR:
15788 : 344 : {
15789 : 344 : tree _q30 = TREE_OPERAND (_q20, 0);
15790 : 344 : switch (TREE_CODE (_p1))
15791 : : {
15792 : 142 : case BIT_AND_EXPR:
15793 : 142 : {
15794 : 142 : tree _q60 = TREE_OPERAND (_p1, 0);
15795 : 142 : tree _q61 = TREE_OPERAND (_p1, 1);
15796 : 142 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
15797 : : {
15798 : 22 : {
15799 : 22 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q30, _p1, _q60 };
15800 : 22 : tree res = generic_simplify_121 (loc, type, _p0, _p1, captures);
15801 : 22 : if (res) return res;
15802 : : }
15803 : : }
15804 : 142 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
15805 : : {
15806 : 0 : {
15807 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q30, _p1, _q61 };
15808 : 0 : tree res = generic_simplify_121 (loc, type, _p0, _p1, captures);
15809 : 0 : if (res) return res;
15810 : : }
15811 : : }
15812 : : break;
15813 : : }
15814 : : default:;
15815 : : }
15816 : : break;
15817 : : }
15818 : 126690 : default:;
15819 : : }
15820 : 126690 : switch (TREE_CODE (_p1))
15821 : : {
15822 : 16426 : case BIT_AND_EXPR:
15823 : 16426 : {
15824 : 16426 : tree _q50 = TREE_OPERAND (_p1, 0);
15825 : 16426 : tree _q51 = TREE_OPERAND (_p1, 1);
15826 : 16426 : switch (TREE_CODE (_q51))
15827 : : {
15828 : 195 : case BIT_NOT_EXPR:
15829 : 195 : {
15830 : 195 : tree _q70 = TREE_OPERAND (_q51, 0);
15831 : 195 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
15832 : : {
15833 : 33 : {
15834 : 33 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q50, _q21, _p0, _q20 };
15835 : 33 : tree res = generic_simplify_121 (loc, type, _p0, _p1, captures);
15836 : 33 : if (res) return res;
15837 : : }
15838 : : }
15839 : 195 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
15840 : : {
15841 : 0 : {
15842 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q50, _q20, _p0, _q21 };
15843 : 0 : tree res = generic_simplify_121 (loc, type, _p0, _p1, captures);
15844 : 0 : if (res) return res;
15845 : : }
15846 : : }
15847 : : break;
15848 : : }
15849 : 16426 : default:;
15850 : : }
15851 : 16426 : switch (TREE_CODE (_q50))
15852 : : {
15853 : 310 : case BIT_NOT_EXPR:
15854 : 310 : {
15855 : 310 : tree _q60 = TREE_OPERAND (_q50, 0);
15856 : 310 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
15857 : : {
15858 : 112 : {
15859 : 112 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q51, _q21, _p0, _q20 };
15860 : 112 : tree res = generic_simplify_121 (loc, type, _p0, _p1, captures);
15861 : 112 : if (res) return res;
15862 : : }
15863 : : }
15864 : 310 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
15865 : : {
15866 : 78 : {
15867 : 78 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q51, _q20, _p0, _q21 };
15868 : 78 : tree res = generic_simplify_121 (loc, type, _p0, _p1, captures);
15869 : 78 : if (res) return res;
15870 : : }
15871 : : }
15872 : : break;
15873 : : }
15874 : : default:;
15875 : : }
15876 : : break;
15877 : : }
15878 : : default:;
15879 : : }
15880 : : break;
15881 : : }
15882 : 2883 : case BIT_XOR_EXPR:
15883 : 2883 : {
15884 : 2883 : tree _q20 = TREE_OPERAND (_p0, 0);
15885 : 2883 : tree _q21 = TREE_OPERAND (_p0, 1);
15886 : 2883 : switch (TREE_CODE (_q21))
15887 : : {
15888 : 61 : case INTEGER_CST:
15889 : 61 : {
15890 : 61 : switch (TREE_CODE (_p1))
15891 : : {
15892 : 33 : case INTEGER_CST:
15893 : 33 : {
15894 : 33 : {
15895 : 33 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
15896 : 33 : tree res = generic_simplify_122 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_IOR_EXPR);
15897 : 33 : if (res) return res;
15898 : : }
15899 : 33 : break;
15900 : : }
15901 : : default:;
15902 : : }
15903 : : break;
15904 : : }
15905 : : default:;
15906 : : }
15907 : : break;
15908 : : }
15909 : 130 : case GT_EXPR:
15910 : 130 : {
15911 : 130 : tree _q20 = TREE_OPERAND (_p0, 0);
15912 : 130 : tree _q21 = TREE_OPERAND (_p0, 1);
15913 : 130 : switch (TREE_CODE (_p1))
15914 : : {
15915 : 4 : case NE_EXPR:
15916 : 4 : {
15917 : 4 : tree _q50 = TREE_OPERAND (_p1, 0);
15918 : 4 : tree _q51 = TREE_OPERAND (_p1, 1);
15919 : 4 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
15920 : : {
15921 : 4 : if (tree_min_value (_q51))
15922 : : {
15923 : 0 : {
15924 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
15925 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures);
15926 : 0 : if (res) return res;
15927 : : }
15928 : : }
15929 : : }
15930 : 4 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
15931 : : {
15932 : 0 : if (tree_max_value (_q51))
15933 : : {
15934 : 0 : {
15935 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
15936 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures);
15937 : 0 : if (res) return res;
15938 : : }
15939 : : }
15940 : : }
15941 : : break;
15942 : : }
15943 : 12 : case EQ_EXPR:
15944 : 12 : {
15945 : 12 : tree _q50 = TREE_OPERAND (_p1, 0);
15946 : 12 : tree _q51 = TREE_OPERAND (_p1, 1);
15947 : 12 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
15948 : : {
15949 : 0 : if (tree_min_value (_q51))
15950 : : {
15951 : 0 : {
15952 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _p0, _q21 };
15953 : 0 : tree res = generic_simplify_125 (loc, type, _p0, _p1, captures);
15954 : 0 : if (res) return res;
15955 : : }
15956 : : }
15957 : : }
15958 : : break;
15959 : : }
15960 : 130 : default:;
15961 : : }
15962 : 130 : switch (TREE_CODE (_q20))
15963 : : {
15964 : 0 : CASE_CONVERT:
15965 : 0 : {
15966 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
15967 : 0 : switch (TREE_CODE (_p1))
15968 : : {
15969 : 0 : case EQ_EXPR:
15970 : 0 : {
15971 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
15972 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
15973 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
15974 : : {
15975 : 0 : {
15976 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
15977 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
15978 : 0 : if (res) return res;
15979 : : }
15980 : : }
15981 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
15982 : : {
15983 : 0 : {
15984 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
15985 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
15986 : 0 : if (res) return res;
15987 : : }
15988 : : }
15989 : : break;
15990 : : }
15991 : 0 : case NE_EXPR:
15992 : 0 : {
15993 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
15994 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
15995 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
15996 : : {
15997 : 0 : {
15998 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
15999 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
16000 : 0 : if (res) return res;
16001 : : }
16002 : : }
16003 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
16004 : : {
16005 : 0 : {
16006 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
16007 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
16008 : 0 : if (res) return res;
16009 : : }
16010 : : }
16011 : : break;
16012 : : }
16013 : : default:;
16014 : : }
16015 : : break;
16016 : : }
16017 : 130 : default:;
16018 : : }
16019 : 130 : switch (TREE_CODE (_q21))
16020 : : {
16021 : 0 : CASE_CONVERT:
16022 : 0 : {
16023 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
16024 : 0 : switch (TREE_CODE (_p1))
16025 : : {
16026 : 0 : case EQ_EXPR:
16027 : 0 : {
16028 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
16029 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
16030 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
16031 : : {
16032 : 0 : {
16033 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
16034 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
16035 : 0 : if (res) return res;
16036 : : }
16037 : : }
16038 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
16039 : : {
16040 : 0 : {
16041 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
16042 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
16043 : 0 : if (res) return res;
16044 : : }
16045 : : }
16046 : : break;
16047 : : }
16048 : 0 : case NE_EXPR:
16049 : 0 : {
16050 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
16051 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
16052 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
16053 : : {
16054 : 0 : {
16055 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
16056 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
16057 : 0 : if (res) return res;
16058 : : }
16059 : : }
16060 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
16061 : : {
16062 : 0 : {
16063 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
16064 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
16065 : 0 : if (res) return res;
16066 : : }
16067 : : }
16068 : : break;
16069 : : }
16070 : : default:;
16071 : : }
16072 : : break;
16073 : : }
16074 : 130 : default:;
16075 : : }
16076 : 130 : switch (TREE_CODE (_p1))
16077 : : {
16078 : 12 : case EQ_EXPR:
16079 : 12 : {
16080 : 12 : tree _q50 = TREE_OPERAND (_p1, 0);
16081 : 12 : tree _q51 = TREE_OPERAND (_p1, 1);
16082 : 12 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16083 : : {
16084 : 0 : {
16085 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
16086 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
16087 : 0 : if (res) return res;
16088 : : }
16089 : : }
16090 : 12 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
16091 : : {
16092 : 0 : {
16093 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
16094 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
16095 : 0 : if (res) return res;
16096 : : }
16097 : : }
16098 : 12 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
16099 : : {
16100 : 0 : {
16101 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
16102 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
16103 : 0 : if (res) return res;
16104 : : }
16105 : : }
16106 : 12 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
16107 : : {
16108 : 0 : {
16109 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
16110 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
16111 : 0 : if (res) return res;
16112 : : }
16113 : : }
16114 : : break;
16115 : : }
16116 : 4 : case NE_EXPR:
16117 : 4 : {
16118 : 4 : tree _q50 = TREE_OPERAND (_p1, 0);
16119 : 4 : tree _q51 = TREE_OPERAND (_p1, 1);
16120 : 4 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16121 : : {
16122 : 4 : {
16123 : 4 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
16124 : 4 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
16125 : 4 : if (res) return res;
16126 : : }
16127 : : }
16128 : 4 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
16129 : : {
16130 : 0 : {
16131 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
16132 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
16133 : 0 : if (res) return res;
16134 : : }
16135 : : }
16136 : 4 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
16137 : : {
16138 : 0 : {
16139 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
16140 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
16141 : 0 : if (res) return res;
16142 : : }
16143 : : }
16144 : 4 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
16145 : : {
16146 : 0 : {
16147 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
16148 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
16149 : 0 : if (res) return res;
16150 : : }
16151 : : }
16152 : : break;
16153 : : }
16154 : 0 : case LT_EXPR:
16155 : 0 : {
16156 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16157 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16158 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16159 : : {
16160 : 0 : {
16161 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
16162 : 0 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR);
16163 : 0 : if (res) return res;
16164 : : }
16165 : : }
16166 : : break;
16167 : : }
16168 : 0 : case LE_EXPR:
16169 : 0 : {
16170 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16171 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16172 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16173 : : {
16174 : 0 : {
16175 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
16176 : 0 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
16177 : 0 : if (res) return res;
16178 : : }
16179 : : }
16180 : : break;
16181 : : }
16182 : 0 : case GT_EXPR:
16183 : 0 : {
16184 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16185 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16186 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16187 : : {
16188 : 0 : {
16189 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
16190 : 0 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures, GT_EXPR, GT_EXPR);
16191 : 0 : if (res) return res;
16192 : : }
16193 : : }
16194 : : break;
16195 : : }
16196 : 0 : case GE_EXPR:
16197 : 0 : {
16198 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16199 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16200 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16201 : : {
16202 : 0 : {
16203 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
16204 : 0 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures, GE_EXPR, GT_EXPR);
16205 : 0 : if (res) return res;
16206 : : }
16207 : : }
16208 : : break;
16209 : : }
16210 : 130 : default:;
16211 : : }
16212 : 130 : switch (TREE_CODE (_q20))
16213 : : {
16214 : 7 : case BIT_AND_EXPR:
16215 : 7 : {
16216 : 7 : tree _q30 = TREE_OPERAND (_q20, 0);
16217 : 7 : tree _q31 = TREE_OPERAND (_q20, 1);
16218 : 7 : switch (TREE_CODE (_q30))
16219 : : {
16220 : 0 : case BIT_XOR_EXPR:
16221 : 0 : {
16222 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
16223 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
16224 : 0 : if (tree_expr_nonzero_p (_q31))
16225 : : {
16226 : 0 : switch (TREE_CODE (_p1))
16227 : : {
16228 : 0 : case NE_EXPR:
16229 : 0 : {
16230 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
16231 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
16232 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
16233 : : {
16234 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
16235 : : {
16236 : 0 : {
16237 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q40, _q41, _q31, _q21, _p1 };
16238 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, GT_EXPR);
16239 : 0 : if (res) return res;
16240 : : }
16241 : : }
16242 : : }
16243 : 0 : if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
16244 : : {
16245 : 0 : if ((_q91 == _q40 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q40, 0) && types_match (_q91, _q40)))
16246 : : {
16247 : 0 : {
16248 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q41, _q40, _q31, _q21, _p1 };
16249 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, GT_EXPR);
16250 : 0 : if (res) return res;
16251 : : }
16252 : : }
16253 : : }
16254 : : break;
16255 : : }
16256 : : default:;
16257 : : }
16258 : : }
16259 : : break;
16260 : : }
16261 : 7 : default:;
16262 : : }
16263 : 7 : if (tree_expr_nonzero_p (_q30))
16264 : : {
16265 : 0 : switch (TREE_CODE (_q31))
16266 : : {
16267 : 0 : case BIT_XOR_EXPR:
16268 : 0 : {
16269 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
16270 : 0 : tree _q51 = TREE_OPERAND (_q31, 1);
16271 : 0 : switch (TREE_CODE (_p1))
16272 : : {
16273 : 0 : case NE_EXPR:
16274 : 0 : {
16275 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
16276 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
16277 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
16278 : : {
16279 : 0 : if ((_q91 == _q51 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q51, 0) && types_match (_q91, _q51)))
16280 : : {
16281 : 0 : {
16282 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q51, _q30, _q21, _p1 };
16283 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, GT_EXPR);
16284 : 0 : if (res) return res;
16285 : : }
16286 : : }
16287 : : }
16288 : 0 : if ((_q90 == _q51 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q51, 0) && types_match (_q90, _q51)))
16289 : : {
16290 : 0 : if ((_q91 == _q50 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q50, 0) && types_match (_q91, _q50)))
16291 : : {
16292 : 0 : {
16293 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q51, _q50, _q30, _q21, _p1 };
16294 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, GT_EXPR);
16295 : 0 : if (res) return res;
16296 : : }
16297 : : }
16298 : : }
16299 : : break;
16300 : : }
16301 : : default:;
16302 : : }
16303 : : break;
16304 : : }
16305 : : default:;
16306 : : }
16307 : : }
16308 : : break;
16309 : : }
16310 : 130 : default:;
16311 : : }
16312 : 130 : switch (TREE_CODE (_q21))
16313 : : {
16314 : 0 : case BIT_AND_EXPR:
16315 : 0 : {
16316 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
16317 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
16318 : 0 : switch (TREE_CODE (_q40))
16319 : : {
16320 : 0 : case BIT_XOR_EXPR:
16321 : 0 : {
16322 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
16323 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
16324 : 0 : if (tree_expr_nonzero_p (_q41))
16325 : : {
16326 : 0 : switch (TREE_CODE (_p1))
16327 : : {
16328 : 0 : case NE_EXPR:
16329 : 0 : {
16330 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
16331 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
16332 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
16333 : : {
16334 : 0 : if ((_q91 == _q51 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q51, 0) && types_match (_q91, _q51)))
16335 : : {
16336 : 0 : {
16337 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q51, _q41, _q20, _p1 };
16338 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, LT_EXPR);
16339 : 0 : if (res) return res;
16340 : : }
16341 : : }
16342 : : }
16343 : 0 : if ((_q90 == _q51 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q51, 0) && types_match (_q90, _q51)))
16344 : : {
16345 : 0 : if ((_q91 == _q50 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q50, 0) && types_match (_q91, _q50)))
16346 : : {
16347 : 0 : {
16348 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q51, _q50, _q41, _q20, _p1 };
16349 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, LT_EXPR);
16350 : 0 : if (res) return res;
16351 : : }
16352 : : }
16353 : : }
16354 : : break;
16355 : : }
16356 : : default:;
16357 : : }
16358 : : }
16359 : : break;
16360 : : }
16361 : 0 : default:;
16362 : : }
16363 : 0 : if (tree_expr_nonzero_p (_q40))
16364 : : {
16365 : 0 : switch (TREE_CODE (_q41))
16366 : : {
16367 : 0 : case BIT_XOR_EXPR:
16368 : 0 : {
16369 : 0 : tree _q60 = TREE_OPERAND (_q41, 0);
16370 : 0 : tree _q61 = TREE_OPERAND (_q41, 1);
16371 : 0 : switch (TREE_CODE (_p1))
16372 : : {
16373 : 0 : case NE_EXPR:
16374 : 0 : {
16375 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
16376 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
16377 : 0 : if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
16378 : : {
16379 : 0 : if ((_q91 == _q61 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q61, 0) && types_match (_q91, _q61)))
16380 : : {
16381 : 0 : {
16382 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q60, _q61, _q40, _q20, _p1 };
16383 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, LT_EXPR);
16384 : 0 : if (res) return res;
16385 : : }
16386 : : }
16387 : : }
16388 : 0 : if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
16389 : : {
16390 : 0 : if ((_q91 == _q60 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q60, 0) && types_match (_q91, _q60)))
16391 : : {
16392 : 0 : {
16393 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q61, _q60, _q40, _q20, _p1 };
16394 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, LT_EXPR);
16395 : 0 : if (res) return res;
16396 : : }
16397 : : }
16398 : : }
16399 : : break;
16400 : : }
16401 : : default:;
16402 : : }
16403 : : break;
16404 : : }
16405 : : default:;
16406 : : }
16407 : : }
16408 : : break;
16409 : : }
16410 : 130 : default:;
16411 : : }
16412 : 130 : switch (TREE_CODE (_q20))
16413 : : {
16414 : 0 : case BIT_XOR_EXPR:
16415 : 0 : {
16416 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
16417 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
16418 : 0 : switch (TREE_CODE (_p1))
16419 : : {
16420 : 0 : case NE_EXPR:
16421 : 0 : {
16422 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
16423 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
16424 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
16425 : : {
16426 : 0 : if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
16427 : : {
16428 : 0 : {
16429 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q21, _p1 };
16430 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, GT_EXPR);
16431 : 0 : if (res) return res;
16432 : : }
16433 : : }
16434 : : }
16435 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
16436 : : {
16437 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
16438 : : {
16439 : 0 : {
16440 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q21, _p1 };
16441 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, GT_EXPR);
16442 : 0 : if (res) return res;
16443 : : }
16444 : : }
16445 : : }
16446 : : break;
16447 : : }
16448 : : default:;
16449 : : }
16450 : : break;
16451 : : }
16452 : 130 : default:;
16453 : : }
16454 : 130 : switch (TREE_CODE (_q21))
16455 : : {
16456 : 0 : case BIT_XOR_EXPR:
16457 : 0 : {
16458 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
16459 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
16460 : 0 : switch (TREE_CODE (_p1))
16461 : : {
16462 : 0 : case NE_EXPR:
16463 : 0 : {
16464 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
16465 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
16466 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
16467 : : {
16468 : 0 : if ((_q71 == _q41 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q41, 0) && types_match (_q71, _q41)))
16469 : : {
16470 : 0 : {
16471 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q20, _p1 };
16472 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, LT_EXPR);
16473 : 0 : if (res) return res;
16474 : : }
16475 : : }
16476 : : }
16477 : 0 : if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
16478 : : {
16479 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
16480 : : {
16481 : 0 : {
16482 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q40, _q20, _p1 };
16483 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, LT_EXPR);
16484 : 0 : if (res) return res;
16485 : : }
16486 : : }
16487 : : }
16488 : : break;
16489 : : }
16490 : : default:;
16491 : : }
16492 : : break;
16493 : : }
16494 : : default:;
16495 : : }
16496 : : break;
16497 : : }
16498 : 97 : case LT_EXPR:
16499 : 97 : {
16500 : 97 : tree _q20 = TREE_OPERAND (_p0, 0);
16501 : 97 : tree _q21 = TREE_OPERAND (_p0, 1);
16502 : 97 : switch (TREE_CODE (_p1))
16503 : : {
16504 : 1 : case NE_EXPR:
16505 : 1 : {
16506 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
16507 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
16508 : 1 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
16509 : : {
16510 : 0 : if (tree_min_value (_q51))
16511 : : {
16512 : 0 : {
16513 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
16514 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures);
16515 : 0 : if (res) return res;
16516 : : }
16517 : : }
16518 : : }
16519 : 1 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16520 : : {
16521 : 1 : if (tree_max_value (_q51))
16522 : : {
16523 : 0 : {
16524 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
16525 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures);
16526 : 0 : if (res) return res;
16527 : : }
16528 : : }
16529 : : }
16530 : : break;
16531 : : }
16532 : 4 : case EQ_EXPR:
16533 : 4 : {
16534 : 4 : tree _q50 = TREE_OPERAND (_p1, 0);
16535 : 4 : tree _q51 = TREE_OPERAND (_p1, 1);
16536 : 4 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
16537 : : {
16538 : 0 : if (tree_min_value (_q51))
16539 : : {
16540 : 0 : {
16541 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q21, _p0, _q20 };
16542 : 0 : tree res = generic_simplify_125 (loc, type, _p0, _p1, captures);
16543 : 0 : if (res) return res;
16544 : : }
16545 : : }
16546 : : }
16547 : : break;
16548 : : }
16549 : 97 : default:;
16550 : : }
16551 : 97 : switch (TREE_CODE (_q20))
16552 : : {
16553 : 15 : CASE_CONVERT:
16554 : 15 : {
16555 : 15 : tree _q30 = TREE_OPERAND (_q20, 0);
16556 : 15 : switch (TREE_CODE (_p1))
16557 : : {
16558 : 0 : case EQ_EXPR:
16559 : 0 : {
16560 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
16561 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
16562 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
16563 : : {
16564 : 0 : {
16565 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
16566 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
16567 : 0 : if (res) return res;
16568 : : }
16569 : : }
16570 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
16571 : : {
16572 : 0 : {
16573 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
16574 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
16575 : 0 : if (res) return res;
16576 : : }
16577 : : }
16578 : : break;
16579 : : }
16580 : 0 : case NE_EXPR:
16581 : 0 : {
16582 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
16583 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
16584 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
16585 : : {
16586 : 0 : {
16587 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
16588 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
16589 : 0 : if (res) return res;
16590 : : }
16591 : : }
16592 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
16593 : : {
16594 : 0 : {
16595 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
16596 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
16597 : 0 : if (res) return res;
16598 : : }
16599 : : }
16600 : : break;
16601 : : }
16602 : : default:;
16603 : : }
16604 : : break;
16605 : : }
16606 : 97 : default:;
16607 : : }
16608 : 97 : switch (TREE_CODE (_q21))
16609 : : {
16610 : 8 : CASE_CONVERT:
16611 : 8 : {
16612 : 8 : tree _q40 = TREE_OPERAND (_q21, 0);
16613 : 8 : switch (TREE_CODE (_p1))
16614 : : {
16615 : 0 : case EQ_EXPR:
16616 : 0 : {
16617 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
16618 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
16619 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
16620 : : {
16621 : 0 : {
16622 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
16623 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
16624 : 0 : if (res) return res;
16625 : : }
16626 : : }
16627 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
16628 : : {
16629 : 0 : {
16630 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
16631 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
16632 : 0 : if (res) return res;
16633 : : }
16634 : : }
16635 : : break;
16636 : : }
16637 : 0 : case NE_EXPR:
16638 : 0 : {
16639 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
16640 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
16641 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
16642 : : {
16643 : 0 : {
16644 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
16645 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
16646 : 0 : if (res) return res;
16647 : : }
16648 : : }
16649 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
16650 : : {
16651 : 0 : {
16652 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
16653 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
16654 : 0 : if (res) return res;
16655 : : }
16656 : : }
16657 : : break;
16658 : : }
16659 : : default:;
16660 : : }
16661 : : break;
16662 : : }
16663 : 97 : default:;
16664 : : }
16665 : 97 : switch (TREE_CODE (_p1))
16666 : : {
16667 : 4 : case EQ_EXPR:
16668 : 4 : {
16669 : 4 : tree _q50 = TREE_OPERAND (_p1, 0);
16670 : 4 : tree _q51 = TREE_OPERAND (_p1, 1);
16671 : 4 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16672 : : {
16673 : 0 : {
16674 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
16675 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
16676 : 0 : if (res) return res;
16677 : : }
16678 : : }
16679 : 4 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
16680 : : {
16681 : 0 : {
16682 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
16683 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
16684 : 0 : if (res) return res;
16685 : : }
16686 : : }
16687 : 4 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
16688 : : {
16689 : 0 : {
16690 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
16691 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
16692 : 0 : if (res) return res;
16693 : : }
16694 : : }
16695 : 4 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
16696 : : {
16697 : 0 : {
16698 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
16699 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
16700 : 0 : if (res) return res;
16701 : : }
16702 : : }
16703 : : break;
16704 : : }
16705 : 1 : case NE_EXPR:
16706 : 1 : {
16707 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
16708 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
16709 : 1 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16710 : : {
16711 : 1 : {
16712 : 1 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
16713 : 1 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
16714 : 1 : if (res) return res;
16715 : : }
16716 : : }
16717 : 1 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
16718 : : {
16719 : 0 : {
16720 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
16721 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
16722 : 0 : if (res) return res;
16723 : : }
16724 : : }
16725 : 1 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
16726 : : {
16727 : 0 : {
16728 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
16729 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
16730 : 0 : if (res) return res;
16731 : : }
16732 : : }
16733 : 1 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
16734 : : {
16735 : 0 : {
16736 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
16737 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
16738 : 0 : if (res) return res;
16739 : : }
16740 : : }
16741 : : break;
16742 : : }
16743 : 27 : case LT_EXPR:
16744 : 27 : {
16745 : 27 : tree _q50 = TREE_OPERAND (_p1, 0);
16746 : 27 : tree _q51 = TREE_OPERAND (_p1, 1);
16747 : 27 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16748 : : {
16749 : 0 : {
16750 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
16751 : 0 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures, LT_EXPR, LT_EXPR);
16752 : 0 : if (res) return res;
16753 : : }
16754 : : }
16755 : : break;
16756 : : }
16757 : 7 : case LE_EXPR:
16758 : 7 : {
16759 : 7 : tree _q50 = TREE_OPERAND (_p1, 0);
16760 : 7 : tree _q51 = TREE_OPERAND (_p1, 1);
16761 : 7 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16762 : : {
16763 : 7 : {
16764 : 7 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
16765 : 7 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures, LE_EXPR, LT_EXPR);
16766 : 7 : if (res) return res;
16767 : : }
16768 : : }
16769 : : break;
16770 : : }
16771 : 0 : case GT_EXPR:
16772 : 0 : {
16773 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16774 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16775 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16776 : : {
16777 : 0 : {
16778 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
16779 : 0 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures, GT_EXPR, LT_EXPR);
16780 : 0 : if (res) return res;
16781 : : }
16782 : : }
16783 : : break;
16784 : : }
16785 : 0 : case GE_EXPR:
16786 : 0 : {
16787 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16788 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16789 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16790 : : {
16791 : 0 : {
16792 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
16793 : 0 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
16794 : 0 : if (res) return res;
16795 : : }
16796 : : }
16797 : : break;
16798 : : }
16799 : 90 : default:;
16800 : : }
16801 : 90 : switch (TREE_CODE (_q20))
16802 : : {
16803 : 0 : case BIT_AND_EXPR:
16804 : 0 : {
16805 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
16806 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
16807 : 0 : switch (TREE_CODE (_q30))
16808 : : {
16809 : 0 : case BIT_XOR_EXPR:
16810 : 0 : {
16811 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
16812 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
16813 : 0 : if (tree_expr_nonzero_p (_q31))
16814 : : {
16815 : 0 : switch (TREE_CODE (_p1))
16816 : : {
16817 : 0 : case NE_EXPR:
16818 : 0 : {
16819 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
16820 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
16821 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
16822 : : {
16823 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
16824 : : {
16825 : 0 : {
16826 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q40, _q41, _q31, _q21, _p1 };
16827 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, LT_EXPR);
16828 : 0 : if (res) return res;
16829 : : }
16830 : : }
16831 : : }
16832 : 0 : if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
16833 : : {
16834 : 0 : if ((_q91 == _q40 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q40, 0) && types_match (_q91, _q40)))
16835 : : {
16836 : 0 : {
16837 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q41, _q40, _q31, _q21, _p1 };
16838 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, LT_EXPR);
16839 : 0 : if (res) return res;
16840 : : }
16841 : : }
16842 : : }
16843 : : break;
16844 : : }
16845 : : default:;
16846 : : }
16847 : : }
16848 : : break;
16849 : : }
16850 : 0 : default:;
16851 : : }
16852 : 0 : if (tree_expr_nonzero_p (_q30))
16853 : : {
16854 : 0 : switch (TREE_CODE (_q31))
16855 : : {
16856 : 0 : case BIT_XOR_EXPR:
16857 : 0 : {
16858 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
16859 : 0 : tree _q51 = TREE_OPERAND (_q31, 1);
16860 : 0 : switch (TREE_CODE (_p1))
16861 : : {
16862 : 0 : case NE_EXPR:
16863 : 0 : {
16864 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
16865 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
16866 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
16867 : : {
16868 : 0 : if ((_q91 == _q51 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q51, 0) && types_match (_q91, _q51)))
16869 : : {
16870 : 0 : {
16871 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q51, _q30, _q21, _p1 };
16872 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, LT_EXPR);
16873 : 0 : if (res) return res;
16874 : : }
16875 : : }
16876 : : }
16877 : 0 : if ((_q90 == _q51 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q51, 0) && types_match (_q90, _q51)))
16878 : : {
16879 : 0 : if ((_q91 == _q50 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q50, 0) && types_match (_q91, _q50)))
16880 : : {
16881 : 0 : {
16882 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q51, _q50, _q30, _q21, _p1 };
16883 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, LT_EXPR);
16884 : 0 : if (res) return res;
16885 : : }
16886 : : }
16887 : : }
16888 : : break;
16889 : : }
16890 : : default:;
16891 : : }
16892 : : break;
16893 : : }
16894 : : default:;
16895 : : }
16896 : : }
16897 : : break;
16898 : : }
16899 : 90 : default:;
16900 : : }
16901 : 90 : switch (TREE_CODE (_q21))
16902 : : {
16903 : 0 : case BIT_AND_EXPR:
16904 : 0 : {
16905 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
16906 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
16907 : 0 : switch (TREE_CODE (_q40))
16908 : : {
16909 : 0 : case BIT_XOR_EXPR:
16910 : 0 : {
16911 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
16912 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
16913 : 0 : if (tree_expr_nonzero_p (_q41))
16914 : : {
16915 : 0 : switch (TREE_CODE (_p1))
16916 : : {
16917 : 0 : case NE_EXPR:
16918 : 0 : {
16919 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
16920 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
16921 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
16922 : : {
16923 : 0 : if ((_q91 == _q51 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q51, 0) && types_match (_q91, _q51)))
16924 : : {
16925 : 0 : {
16926 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q51, _q41, _q20, _p1 };
16927 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, GT_EXPR);
16928 : 0 : if (res) return res;
16929 : : }
16930 : : }
16931 : : }
16932 : 0 : if ((_q90 == _q51 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q51, 0) && types_match (_q90, _q51)))
16933 : : {
16934 : 0 : if ((_q91 == _q50 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q50, 0) && types_match (_q91, _q50)))
16935 : : {
16936 : 0 : {
16937 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q51, _q50, _q41, _q20, _p1 };
16938 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, GT_EXPR);
16939 : 0 : if (res) return res;
16940 : : }
16941 : : }
16942 : : }
16943 : : break;
16944 : : }
16945 : : default:;
16946 : : }
16947 : : }
16948 : : break;
16949 : : }
16950 : 0 : default:;
16951 : : }
16952 : 0 : if (tree_expr_nonzero_p (_q40))
16953 : : {
16954 : 0 : switch (TREE_CODE (_q41))
16955 : : {
16956 : 0 : case BIT_XOR_EXPR:
16957 : 0 : {
16958 : 0 : tree _q60 = TREE_OPERAND (_q41, 0);
16959 : 0 : tree _q61 = TREE_OPERAND (_q41, 1);
16960 : 0 : switch (TREE_CODE (_p1))
16961 : : {
16962 : 0 : case NE_EXPR:
16963 : 0 : {
16964 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
16965 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
16966 : 0 : if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
16967 : : {
16968 : 0 : if ((_q91 == _q61 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q61, 0) && types_match (_q91, _q61)))
16969 : : {
16970 : 0 : {
16971 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q60, _q61, _q40, _q20, _p1 };
16972 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, GT_EXPR);
16973 : 0 : if (res) return res;
16974 : : }
16975 : : }
16976 : : }
16977 : 0 : if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
16978 : : {
16979 : 0 : if ((_q91 == _q60 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q60, 0) && types_match (_q91, _q60)))
16980 : : {
16981 : 0 : {
16982 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q61, _q60, _q40, _q20, _p1 };
16983 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, GT_EXPR);
16984 : 0 : if (res) return res;
16985 : : }
16986 : : }
16987 : : }
16988 : : break;
16989 : : }
16990 : : default:;
16991 : : }
16992 : : break;
16993 : : }
16994 : : default:;
16995 : : }
16996 : : }
16997 : : break;
16998 : : }
16999 : 90 : default:;
17000 : : }
17001 : 90 : switch (TREE_CODE (_q20))
17002 : : {
17003 : 0 : case BIT_XOR_EXPR:
17004 : 0 : {
17005 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
17006 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
17007 : 0 : switch (TREE_CODE (_p1))
17008 : : {
17009 : 0 : case NE_EXPR:
17010 : 0 : {
17011 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
17012 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
17013 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
17014 : : {
17015 : 0 : if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
17016 : : {
17017 : 0 : {
17018 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q21, _p1 };
17019 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, LT_EXPR);
17020 : 0 : if (res) return res;
17021 : : }
17022 : : }
17023 : : }
17024 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
17025 : : {
17026 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
17027 : : {
17028 : 0 : {
17029 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q21, _p1 };
17030 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, LT_EXPR);
17031 : 0 : if (res) return res;
17032 : : }
17033 : : }
17034 : : }
17035 : : break;
17036 : : }
17037 : : default:;
17038 : : }
17039 : : break;
17040 : : }
17041 : 90 : default:;
17042 : : }
17043 : 90 : switch (TREE_CODE (_q21))
17044 : : {
17045 : 0 : case BIT_XOR_EXPR:
17046 : 0 : {
17047 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
17048 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
17049 : 0 : switch (TREE_CODE (_p1))
17050 : : {
17051 : 0 : case NE_EXPR:
17052 : 0 : {
17053 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
17054 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
17055 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
17056 : : {
17057 : 0 : if ((_q71 == _q41 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q41, 0) && types_match (_q71, _q41)))
17058 : : {
17059 : 0 : {
17060 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q20, _p1 };
17061 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, GT_EXPR);
17062 : 0 : if (res) return res;
17063 : : }
17064 : : }
17065 : : }
17066 : 0 : if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
17067 : : {
17068 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
17069 : : {
17070 : 0 : {
17071 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q40, _q20, _p1 };
17072 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, GT_EXPR);
17073 : 0 : if (res) return res;
17074 : : }
17075 : : }
17076 : : }
17077 : : break;
17078 : : }
17079 : : default:;
17080 : : }
17081 : : break;
17082 : : }
17083 : : default:;
17084 : : }
17085 : : break;
17086 : : }
17087 : 264 : case NE_EXPR:
17088 : 264 : {
17089 : 264 : tree _q20 = TREE_OPERAND (_p0, 0);
17090 : 264 : tree _q21 = TREE_OPERAND (_p0, 1);
17091 : 264 : if (tree_min_value (_q21))
17092 : : {
17093 : 54 : switch (TREE_CODE (_p1))
17094 : : {
17095 : 0 : case GT_EXPR:
17096 : 0 : {
17097 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17098 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17099 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17100 : : {
17101 : 0 : {
17102 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q51, _p0 };
17103 : 0 : tree res = generic_simplify_131 (loc, type, _p0, _p1, captures);
17104 : 0 : if (res) return res;
17105 : : }
17106 : : }
17107 : : break;
17108 : : }
17109 : 0 : case LT_EXPR:
17110 : 0 : {
17111 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17112 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17113 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17114 : : {
17115 : 0 : {
17116 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q50, _p0 };
17117 : 0 : tree res = generic_simplify_131 (loc, type, _p0, _p1, captures);
17118 : 0 : if (res) return res;
17119 : : }
17120 : : }
17121 : : break;
17122 : : }
17123 : 0 : case LE_EXPR:
17124 : 0 : {
17125 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17126 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17127 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17128 : : {
17129 : 0 : {
17130 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q51 };
17131 : 0 : tree res = generic_simplify_132 (loc, type, _p0, _p1, captures);
17132 : 0 : if (res) return res;
17133 : : }
17134 : : }
17135 : : break;
17136 : : }
17137 : 1 : case GE_EXPR:
17138 : 1 : {
17139 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
17140 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
17141 : 1 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17142 : : {
17143 : 0 : {
17144 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
17145 : 0 : tree res = generic_simplify_132 (loc, type, _p0, _p1, captures);
17146 : 0 : if (res) return res;
17147 : : }
17148 : : }
17149 : : break;
17150 : : }
17151 : : default:;
17152 : : }
17153 : : }
17154 : 264 : if (tree_max_value (_q21))
17155 : : {
17156 : 0 : switch (TREE_CODE (_p1))
17157 : : {
17158 : 0 : case LT_EXPR:
17159 : 0 : {
17160 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17161 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17162 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17163 : : {
17164 : 0 : {
17165 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q51, _p0 };
17166 : 0 : tree res = generic_simplify_133 (loc, type, _p0, _p1, captures);
17167 : 0 : if (res) return res;
17168 : : }
17169 : : }
17170 : : break;
17171 : : }
17172 : 0 : case GT_EXPR:
17173 : 0 : {
17174 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17175 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17176 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17177 : : {
17178 : 0 : {
17179 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q50, _p0 };
17180 : 0 : tree res = generic_simplify_133 (loc, type, _p0, _p1, captures);
17181 : 0 : if (res) return res;
17182 : : }
17183 : : }
17184 : : break;
17185 : : }
17186 : 0 : case GE_EXPR:
17187 : 0 : {
17188 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17189 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17190 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17191 : : {
17192 : 0 : {
17193 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q51 };
17194 : 0 : tree res = generic_simplify_134 (loc, type, _p0, _p1, captures, NE_EXPR);
17195 : 0 : if (res) return res;
17196 : : }
17197 : : }
17198 : : break;
17199 : : }
17200 : 0 : case LE_EXPR:
17201 : 0 : {
17202 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17203 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17204 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17205 : : {
17206 : 0 : {
17207 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q50 };
17208 : 0 : tree res = generic_simplify_134 (loc, type, _p0, _p1, captures, NE_EXPR);
17209 : 0 : if (res) return res;
17210 : : }
17211 : : }
17212 : : break;
17213 : : }
17214 : : default:;
17215 : : }
17216 : : }
17217 : 264 : switch (TREE_CODE (_p1))
17218 : : {
17219 : 12 : case EQ_EXPR:
17220 : 12 : {
17221 : 12 : tree _q50 = TREE_OPERAND (_p1, 0);
17222 : 12 : tree _q51 = TREE_OPERAND (_p1, 1);
17223 : 12 : switch (TREE_CODE (_q50))
17224 : : {
17225 : 0 : CASE_CONVERT:
17226 : 0 : {
17227 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
17228 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
17229 : : {
17230 : 0 : {
17231 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17232 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
17233 : 0 : if (res) return res;
17234 : : }
17235 : : }
17236 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
17237 : : {
17238 : 0 : {
17239 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17240 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
17241 : 0 : if (res) return res;
17242 : : }
17243 : : }
17244 : : break;
17245 : : }
17246 : 12 : default:;
17247 : : }
17248 : 12 : switch (TREE_CODE (_q51))
17249 : : {
17250 : 0 : CASE_CONVERT:
17251 : 0 : {
17252 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
17253 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
17254 : : {
17255 : 0 : {
17256 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17257 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
17258 : 0 : if (res) return res;
17259 : : }
17260 : : }
17261 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
17262 : : {
17263 : 0 : {
17264 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17265 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
17266 : 0 : if (res) return res;
17267 : : }
17268 : : }
17269 : : break;
17270 : : }
17271 : : default:;
17272 : : }
17273 : : break;
17274 : : }
17275 : 1 : case NE_EXPR:
17276 : 1 : {
17277 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
17278 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
17279 : 1 : switch (TREE_CODE (_q50))
17280 : : {
17281 : 0 : CASE_CONVERT:
17282 : 0 : {
17283 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
17284 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
17285 : : {
17286 : 0 : {
17287 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17288 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
17289 : 0 : if (res) return res;
17290 : : }
17291 : : }
17292 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
17293 : : {
17294 : 0 : {
17295 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17296 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
17297 : 0 : if (res) return res;
17298 : : }
17299 : : }
17300 : : break;
17301 : : }
17302 : 1 : default:;
17303 : : }
17304 : 1 : switch (TREE_CODE (_q51))
17305 : : {
17306 : 0 : CASE_CONVERT:
17307 : 0 : {
17308 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
17309 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
17310 : : {
17311 : 0 : {
17312 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17313 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
17314 : 0 : if (res) return res;
17315 : : }
17316 : : }
17317 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
17318 : : {
17319 : 0 : {
17320 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17321 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
17322 : 0 : if (res) return res;
17323 : : }
17324 : : }
17325 : : break;
17326 : : }
17327 : : default:;
17328 : : }
17329 : : break;
17330 : : }
17331 : 0 : case LT_EXPR:
17332 : 0 : {
17333 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17334 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17335 : 0 : switch (TREE_CODE (_q50))
17336 : : {
17337 : 0 : CASE_CONVERT:
17338 : 0 : {
17339 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
17340 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
17341 : : {
17342 : 0 : {
17343 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17344 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
17345 : 0 : if (res) return res;
17346 : : }
17347 : : }
17348 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
17349 : : {
17350 : 0 : {
17351 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17352 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
17353 : 0 : if (res) return res;
17354 : : }
17355 : : }
17356 : : break;
17357 : : }
17358 : 0 : default:;
17359 : : }
17360 : 0 : switch (TREE_CODE (_q51))
17361 : : {
17362 : 0 : CASE_CONVERT:
17363 : 0 : {
17364 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
17365 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
17366 : : {
17367 : 0 : {
17368 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17369 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
17370 : 0 : if (res) return res;
17371 : : }
17372 : : }
17373 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
17374 : : {
17375 : 0 : {
17376 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17377 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
17378 : 0 : if (res) return res;
17379 : : }
17380 : : }
17381 : : break;
17382 : : }
17383 : : default:;
17384 : : }
17385 : : break;
17386 : : }
17387 : 0 : case GT_EXPR:
17388 : 0 : {
17389 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17390 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17391 : 0 : switch (TREE_CODE (_q50))
17392 : : {
17393 : 0 : CASE_CONVERT:
17394 : 0 : {
17395 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
17396 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
17397 : : {
17398 : 0 : {
17399 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17400 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
17401 : 0 : if (res) return res;
17402 : : }
17403 : : }
17404 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
17405 : : {
17406 : 0 : {
17407 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17408 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
17409 : 0 : if (res) return res;
17410 : : }
17411 : : }
17412 : : break;
17413 : : }
17414 : 0 : default:;
17415 : : }
17416 : 0 : switch (TREE_CODE (_q51))
17417 : : {
17418 : 0 : CASE_CONVERT:
17419 : 0 : {
17420 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
17421 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
17422 : : {
17423 : 0 : {
17424 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17425 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
17426 : 0 : if (res) return res;
17427 : : }
17428 : : }
17429 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
17430 : : {
17431 : 0 : {
17432 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17433 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
17434 : 0 : if (res) return res;
17435 : : }
17436 : : }
17437 : : break;
17438 : : }
17439 : : default:;
17440 : : }
17441 : : break;
17442 : : }
17443 : 0 : case LE_EXPR:
17444 : 0 : {
17445 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17446 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17447 : 0 : switch (TREE_CODE (_q50))
17448 : : {
17449 : 0 : CASE_CONVERT:
17450 : 0 : {
17451 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
17452 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
17453 : : {
17454 : 0 : {
17455 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17456 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
17457 : 0 : if (res) return res;
17458 : : }
17459 : : }
17460 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
17461 : : {
17462 : 0 : {
17463 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17464 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
17465 : 0 : if (res) return res;
17466 : : }
17467 : : }
17468 : : break;
17469 : : }
17470 : 0 : default:;
17471 : : }
17472 : 0 : switch (TREE_CODE (_q51))
17473 : : {
17474 : 0 : CASE_CONVERT:
17475 : 0 : {
17476 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
17477 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
17478 : : {
17479 : 0 : {
17480 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17481 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
17482 : 0 : if (res) return res;
17483 : : }
17484 : : }
17485 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
17486 : : {
17487 : 0 : {
17488 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17489 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
17490 : 0 : if (res) return res;
17491 : : }
17492 : : }
17493 : : break;
17494 : : }
17495 : : default:;
17496 : : }
17497 : : break;
17498 : : }
17499 : 1 : case GE_EXPR:
17500 : 1 : {
17501 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
17502 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
17503 : 1 : switch (TREE_CODE (_q50))
17504 : : {
17505 : 0 : CASE_CONVERT:
17506 : 0 : {
17507 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
17508 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
17509 : : {
17510 : 0 : {
17511 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17512 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
17513 : 0 : if (res) return res;
17514 : : }
17515 : : }
17516 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
17517 : : {
17518 : 0 : {
17519 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17520 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
17521 : 0 : if (res) return res;
17522 : : }
17523 : : }
17524 : : break;
17525 : : }
17526 : 1 : default:;
17527 : : }
17528 : 1 : switch (TREE_CODE (_q51))
17529 : : {
17530 : 0 : CASE_CONVERT:
17531 : 0 : {
17532 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
17533 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
17534 : : {
17535 : 0 : {
17536 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17537 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
17538 : 0 : if (res) return res;
17539 : : }
17540 : : }
17541 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
17542 : : {
17543 : 0 : {
17544 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17545 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
17546 : 0 : if (res) return res;
17547 : : }
17548 : : }
17549 : : break;
17550 : : }
17551 : : default:;
17552 : : }
17553 : : break;
17554 : : }
17555 : 264 : default:;
17556 : : }
17557 : 264 : switch (TREE_CODE (_q20))
17558 : : {
17559 : 22 : CASE_CONVERT:
17560 : 22 : {
17561 : 22 : tree _q30 = TREE_OPERAND (_q20, 0);
17562 : 22 : switch (TREE_CODE (_p1))
17563 : : {
17564 : 0 : case EQ_EXPR:
17565 : 0 : {
17566 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
17567 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
17568 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
17569 : : {
17570 : 0 : {
17571 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
17572 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
17573 : 0 : if (res) return res;
17574 : : }
17575 : : }
17576 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
17577 : : {
17578 : 0 : {
17579 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
17580 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
17581 : 0 : if (res) return res;
17582 : : }
17583 : : }
17584 : : break;
17585 : : }
17586 : 0 : case NE_EXPR:
17587 : 0 : {
17588 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
17589 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
17590 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
17591 : : {
17592 : 0 : {
17593 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
17594 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
17595 : 0 : if (res) return res;
17596 : : }
17597 : : }
17598 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
17599 : : {
17600 : 0 : {
17601 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
17602 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
17603 : 0 : if (res) return res;
17604 : : }
17605 : : }
17606 : : break;
17607 : : }
17608 : : default:;
17609 : : }
17610 : : break;
17611 : : }
17612 : 264 : default:;
17613 : : }
17614 : 264 : switch (TREE_CODE (_q21))
17615 : : {
17616 : 0 : CASE_CONVERT:
17617 : 0 : {
17618 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
17619 : 0 : switch (TREE_CODE (_p1))
17620 : : {
17621 : 0 : case EQ_EXPR:
17622 : 0 : {
17623 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
17624 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
17625 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
17626 : : {
17627 : 0 : {
17628 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
17629 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
17630 : 0 : if (res) return res;
17631 : : }
17632 : : }
17633 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
17634 : : {
17635 : 0 : {
17636 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
17637 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
17638 : 0 : if (res) return res;
17639 : : }
17640 : : }
17641 : : break;
17642 : : }
17643 : 0 : case NE_EXPR:
17644 : 0 : {
17645 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
17646 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
17647 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
17648 : : {
17649 : 0 : {
17650 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
17651 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
17652 : 0 : if (res) return res;
17653 : : }
17654 : : }
17655 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
17656 : : {
17657 : 0 : {
17658 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
17659 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
17660 : 0 : if (res) return res;
17661 : : }
17662 : : }
17663 : : break;
17664 : : }
17665 : : default:;
17666 : : }
17667 : : break;
17668 : : }
17669 : 264 : default:;
17670 : : }
17671 : 264 : switch (TREE_CODE (_p1))
17672 : : {
17673 : 12 : case EQ_EXPR:
17674 : 12 : {
17675 : 12 : tree _q50 = TREE_OPERAND (_p1, 0);
17676 : 12 : tree _q51 = TREE_OPERAND (_p1, 1);
17677 : 12 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17678 : : {
17679 : 0 : {
17680 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17681 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
17682 : 0 : if (res) return res;
17683 : : }
17684 : 0 : {
17685 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
17686 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
17687 : 0 : if (res) return res;
17688 : : }
17689 : : }
17690 : 12 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17691 : : {
17692 : 0 : {
17693 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17694 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
17695 : 0 : if (res) return res;
17696 : : }
17697 : : }
17698 : 12 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
17699 : : {
17700 : 0 : {
17701 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17702 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
17703 : 0 : if (res) return res;
17704 : : }
17705 : 0 : {
17706 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
17707 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
17708 : 0 : if (res) return res;
17709 : : }
17710 : : }
17711 : 12 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
17712 : : {
17713 : 4 : {
17714 : 4 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17715 : 4 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
17716 : 4 : if (res) return res;
17717 : : }
17718 : 4 : {
17719 : 4 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
17720 : 4 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
17721 : 4 : if (res) return res;
17722 : : }
17723 : : }
17724 : 12 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17725 : : {
17726 : 0 : {
17727 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
17728 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
17729 : 0 : if (res) return res;
17730 : : }
17731 : : }
17732 : : break;
17733 : : }
17734 : 1 : case NE_EXPR:
17735 : 1 : {
17736 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
17737 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
17738 : 1 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17739 : : {
17740 : 0 : {
17741 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17742 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
17743 : 0 : if (res) return res;
17744 : : }
17745 : 0 : {
17746 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
17747 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
17748 : 0 : if (res) return res;
17749 : : }
17750 : : }
17751 : 1 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17752 : : {
17753 : 0 : {
17754 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17755 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
17756 : 0 : if (res) return res;
17757 : : }
17758 : : }
17759 : 1 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
17760 : : {
17761 : 0 : {
17762 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17763 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
17764 : 0 : if (res) return res;
17765 : : }
17766 : 0 : {
17767 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
17768 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
17769 : 0 : if (res) return res;
17770 : : }
17771 : : }
17772 : 1 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
17773 : : {
17774 : 0 : {
17775 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17776 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
17777 : 0 : if (res) return res;
17778 : : }
17779 : 0 : {
17780 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
17781 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
17782 : 0 : if (res) return res;
17783 : : }
17784 : : }
17785 : 1 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17786 : : {
17787 : 0 : {
17788 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
17789 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
17790 : 0 : if (res) return res;
17791 : : }
17792 : : }
17793 : : break;
17794 : : }
17795 : 0 : case LT_EXPR:
17796 : 0 : {
17797 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17798 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17799 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17800 : : {
17801 : 0 : {
17802 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17803 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
17804 : 0 : if (res) return res;
17805 : : }
17806 : : }
17807 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17808 : : {
17809 : 0 : {
17810 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17811 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
17812 : 0 : if (res) return res;
17813 : : }
17814 : : }
17815 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
17816 : : {
17817 : 0 : {
17818 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17819 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
17820 : 0 : if (res) return res;
17821 : : }
17822 : : }
17823 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
17824 : : {
17825 : 0 : {
17826 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17827 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
17828 : 0 : if (res) return res;
17829 : : }
17830 : : }
17831 : : break;
17832 : : }
17833 : 0 : case GT_EXPR:
17834 : 0 : {
17835 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17836 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17837 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17838 : : {
17839 : 0 : {
17840 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17841 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
17842 : 0 : if (res) return res;
17843 : : }
17844 : : }
17845 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17846 : : {
17847 : 0 : {
17848 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17849 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
17850 : 0 : if (res) return res;
17851 : : }
17852 : : }
17853 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
17854 : : {
17855 : 0 : {
17856 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17857 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
17858 : 0 : if (res) return res;
17859 : : }
17860 : : }
17861 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
17862 : : {
17863 : 0 : {
17864 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17865 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
17866 : 0 : if (res) return res;
17867 : : }
17868 : : }
17869 : : break;
17870 : : }
17871 : 0 : case LE_EXPR:
17872 : 0 : {
17873 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17874 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17875 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17876 : : {
17877 : 0 : {
17878 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17879 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
17880 : 0 : if (res) return res;
17881 : : }
17882 : : }
17883 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17884 : : {
17885 : 0 : {
17886 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17887 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
17888 : 0 : if (res) return res;
17889 : : }
17890 : : }
17891 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
17892 : : {
17893 : 0 : {
17894 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17895 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
17896 : 0 : if (res) return res;
17897 : : }
17898 : : }
17899 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
17900 : : {
17901 : 0 : {
17902 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17903 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
17904 : 0 : if (res) return res;
17905 : : }
17906 : : }
17907 : : break;
17908 : : }
17909 : 1 : case GE_EXPR:
17910 : 1 : {
17911 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
17912 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
17913 : 1 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17914 : : {
17915 : 0 : {
17916 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17917 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
17918 : 0 : if (res) return res;
17919 : : }
17920 : : }
17921 : 1 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17922 : : {
17923 : 0 : {
17924 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17925 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
17926 : 0 : if (res) return res;
17927 : : }
17928 : : }
17929 : 1 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
17930 : : {
17931 : 0 : {
17932 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17933 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
17934 : 0 : if (res) return res;
17935 : : }
17936 : : }
17937 : 1 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
17938 : : {
17939 : 0 : {
17940 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17941 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
17942 : 0 : if (res) return res;
17943 : : }
17944 : : }
17945 : : break;
17946 : : }
17947 : 264 : default:;
17948 : : }
17949 : 264 : switch (TREE_CODE (_q20))
17950 : : {
17951 : 31 : case BIT_AND_EXPR:
17952 : 31 : {
17953 : 31 : tree _q30 = TREE_OPERAND (_q20, 0);
17954 : 31 : tree _q31 = TREE_OPERAND (_q20, 1);
17955 : 31 : switch (TREE_CODE (_q30))
17956 : : {
17957 : 0 : case BIT_XOR_EXPR:
17958 : 0 : {
17959 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
17960 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
17961 : 0 : if (tree_expr_nonzero_p (_q31))
17962 : : {
17963 : 0 : switch (TREE_CODE (_p1))
17964 : : {
17965 : 0 : case NE_EXPR:
17966 : 0 : {
17967 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
17968 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
17969 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
17970 : : {
17971 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
17972 : : {
17973 : 0 : {
17974 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q40, _q41, _q31, _q21, _p1 };
17975 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, NE_EXPR);
17976 : 0 : if (res) return res;
17977 : : }
17978 : : }
17979 : : }
17980 : 0 : if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
17981 : : {
17982 : 0 : if ((_q91 == _q40 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q40, 0) && types_match (_q91, _q40)))
17983 : : {
17984 : 0 : {
17985 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q41, _q40, _q31, _q21, _p1 };
17986 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, NE_EXPR);
17987 : 0 : if (res) return res;
17988 : : }
17989 : : }
17990 : : }
17991 : : break;
17992 : : }
17993 : : default:;
17994 : : }
17995 : : }
17996 : : break;
17997 : : }
17998 : 31 : default:;
17999 : : }
18000 : 31 : if (tree_expr_nonzero_p (_q30))
18001 : : {
18002 : 0 : switch (TREE_CODE (_q31))
18003 : : {
18004 : 0 : case BIT_XOR_EXPR:
18005 : 0 : {
18006 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
18007 : 0 : tree _q51 = TREE_OPERAND (_q31, 1);
18008 : 0 : switch (TREE_CODE (_p1))
18009 : : {
18010 : 0 : case NE_EXPR:
18011 : 0 : {
18012 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
18013 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
18014 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
18015 : : {
18016 : 0 : if ((_q91 == _q51 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q51, 0) && types_match (_q91, _q51)))
18017 : : {
18018 : 0 : {
18019 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q51, _q30, _q21, _p1 };
18020 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, NE_EXPR);
18021 : 0 : if (res) return res;
18022 : : }
18023 : : }
18024 : : }
18025 : 0 : if ((_q90 == _q51 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q51, 0) && types_match (_q90, _q51)))
18026 : : {
18027 : 0 : if ((_q91 == _q50 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q50, 0) && types_match (_q91, _q50)))
18028 : : {
18029 : 0 : {
18030 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q51, _q50, _q30, _q21, _p1 };
18031 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, NE_EXPR);
18032 : 0 : if (res) return res;
18033 : : }
18034 : : }
18035 : : }
18036 : : break;
18037 : : }
18038 : : default:;
18039 : : }
18040 : : break;
18041 : : }
18042 : : default:;
18043 : : }
18044 : : }
18045 : : break;
18046 : : }
18047 : 264 : default:;
18048 : : }
18049 : 264 : switch (TREE_CODE (_q21))
18050 : : {
18051 : 0 : case BIT_AND_EXPR:
18052 : 0 : {
18053 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
18054 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
18055 : 0 : switch (TREE_CODE (_q40))
18056 : : {
18057 : 0 : case BIT_XOR_EXPR:
18058 : 0 : {
18059 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
18060 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
18061 : 0 : if (tree_expr_nonzero_p (_q41))
18062 : : {
18063 : 0 : switch (TREE_CODE (_p1))
18064 : : {
18065 : 0 : case NE_EXPR:
18066 : 0 : {
18067 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
18068 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
18069 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
18070 : : {
18071 : 0 : if ((_q91 == _q51 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q51, 0) && types_match (_q91, _q51)))
18072 : : {
18073 : 0 : {
18074 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q51, _q41, _q20, _p1 };
18075 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, NE_EXPR);
18076 : 0 : if (res) return res;
18077 : : }
18078 : : }
18079 : : }
18080 : 0 : if ((_q90 == _q51 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q51, 0) && types_match (_q90, _q51)))
18081 : : {
18082 : 0 : if ((_q91 == _q50 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q50, 0) && types_match (_q91, _q50)))
18083 : : {
18084 : 0 : {
18085 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q51, _q50, _q41, _q20, _p1 };
18086 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, NE_EXPR);
18087 : 0 : if (res) return res;
18088 : : }
18089 : : }
18090 : : }
18091 : : break;
18092 : : }
18093 : : default:;
18094 : : }
18095 : : }
18096 : : break;
18097 : : }
18098 : 0 : default:;
18099 : : }
18100 : 0 : if (tree_expr_nonzero_p (_q40))
18101 : : {
18102 : 0 : switch (TREE_CODE (_q41))
18103 : : {
18104 : 0 : case BIT_XOR_EXPR:
18105 : 0 : {
18106 : 0 : tree _q60 = TREE_OPERAND (_q41, 0);
18107 : 0 : tree _q61 = TREE_OPERAND (_q41, 1);
18108 : 0 : switch (TREE_CODE (_p1))
18109 : : {
18110 : 0 : case NE_EXPR:
18111 : 0 : {
18112 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
18113 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
18114 : 0 : if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
18115 : : {
18116 : 0 : if ((_q91 == _q61 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q61, 0) && types_match (_q91, _q61)))
18117 : : {
18118 : 0 : {
18119 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q60, _q61, _q40, _q20, _p1 };
18120 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, NE_EXPR);
18121 : 0 : if (res) return res;
18122 : : }
18123 : : }
18124 : : }
18125 : 0 : if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
18126 : : {
18127 : 0 : if ((_q91 == _q60 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q60, 0) && types_match (_q91, _q60)))
18128 : : {
18129 : 0 : {
18130 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q61, _q60, _q40, _q20, _p1 };
18131 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, NE_EXPR);
18132 : 0 : if (res) return res;
18133 : : }
18134 : : }
18135 : : }
18136 : : break;
18137 : : }
18138 : : default:;
18139 : : }
18140 : : break;
18141 : : }
18142 : : default:;
18143 : : }
18144 : : }
18145 : : break;
18146 : : }
18147 : 264 : default:;
18148 : : }
18149 : 264 : switch (TREE_CODE (_q20))
18150 : : {
18151 : 0 : case BIT_XOR_EXPR:
18152 : 0 : {
18153 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
18154 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
18155 : 0 : switch (TREE_CODE (_p1))
18156 : : {
18157 : 0 : case NE_EXPR:
18158 : 0 : {
18159 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
18160 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
18161 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
18162 : : {
18163 : 0 : if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
18164 : : {
18165 : 0 : {
18166 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q21, _p1 };
18167 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, NE_EXPR);
18168 : 0 : if (res) return res;
18169 : : }
18170 : : }
18171 : : }
18172 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
18173 : : {
18174 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
18175 : : {
18176 : 0 : {
18177 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q21, _p1 };
18178 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, NE_EXPR);
18179 : 0 : if (res) return res;
18180 : : }
18181 : : }
18182 : : }
18183 : : break;
18184 : : }
18185 : : default:;
18186 : : }
18187 : : break;
18188 : : }
18189 : 264 : default:;
18190 : : }
18191 : 264 : switch (TREE_CODE (_q21))
18192 : : {
18193 : 0 : case BIT_XOR_EXPR:
18194 : 0 : {
18195 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
18196 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
18197 : 0 : switch (TREE_CODE (_p1))
18198 : : {
18199 : 0 : case NE_EXPR:
18200 : 0 : {
18201 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
18202 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
18203 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
18204 : : {
18205 : 0 : if ((_q71 == _q41 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q41, 0) && types_match (_q71, _q41)))
18206 : : {
18207 : 0 : {
18208 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q20, _p1 };
18209 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, NE_EXPR);
18210 : 0 : if (res) return res;
18211 : : }
18212 : : }
18213 : : }
18214 : 0 : if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
18215 : : {
18216 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
18217 : : {
18218 : 0 : {
18219 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q40, _q20, _p1 };
18220 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, NE_EXPR);
18221 : 0 : if (res) return res;
18222 : : }
18223 : : }
18224 : : }
18225 : : break;
18226 : : }
18227 : : default:;
18228 : : }
18229 : : break;
18230 : : }
18231 : : default:;
18232 : : }
18233 : : break;
18234 : : }
18235 : 149 : case LE_EXPR:
18236 : 149 : {
18237 : 149 : tree _q20 = TREE_OPERAND (_p0, 0);
18238 : 149 : tree _q21 = TREE_OPERAND (_p0, 1);
18239 : 149 : switch (TREE_CODE (_p1))
18240 : : {
18241 : 7 : case NE_EXPR:
18242 : 7 : {
18243 : 7 : tree _q50 = TREE_OPERAND (_p1, 0);
18244 : 7 : tree _q51 = TREE_OPERAND (_p1, 1);
18245 : 7 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
18246 : : {
18247 : 7 : if (tree_min_value (_q51))
18248 : : {
18249 : 0 : {
18250 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
18251 : 0 : tree res = generic_simplify_137 (loc, type, _p0, _p1, captures);
18252 : 0 : if (res) return res;
18253 : : }
18254 : : }
18255 : : }
18256 : 7 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
18257 : : {
18258 : 0 : if (tree_max_value (_q51))
18259 : : {
18260 : 0 : {
18261 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
18262 : 0 : tree res = generic_simplify_138 (loc, type, _p0, _p1, captures, NE_EXPR);
18263 : 0 : if (res) return res;
18264 : : }
18265 : : }
18266 : : }
18267 : : break;
18268 : : }
18269 : 27 : case EQ_EXPR:
18270 : 27 : {
18271 : 27 : tree _q50 = TREE_OPERAND (_p1, 0);
18272 : 27 : tree _q51 = TREE_OPERAND (_p1, 1);
18273 : 27 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
18274 : : {
18275 : 7 : if (tree_min_value (_q51))
18276 : : {
18277 : 0 : {
18278 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
18279 : 0 : tree res = generic_simplify_139 (loc, type, _p0, _p1, captures);
18280 : 0 : if (res) return res;
18281 : : }
18282 : : }
18283 : : }
18284 : 27 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
18285 : : {
18286 : 0 : if (tree_max_value (_q51))
18287 : : {
18288 : 0 : {
18289 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
18290 : 0 : tree res = generic_simplify_138 (loc, type, _p0, _p1, captures, EQ_EXPR);
18291 : 0 : if (res) return res;
18292 : : }
18293 : : }
18294 : : }
18295 : : break;
18296 : : }
18297 : 149 : default:;
18298 : : }
18299 : 149 : switch (TREE_CODE (_q20))
18300 : : {
18301 : 0 : CASE_CONVERT:
18302 : 0 : {
18303 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
18304 : 0 : switch (TREE_CODE (_p1))
18305 : : {
18306 : 0 : case EQ_EXPR:
18307 : 0 : {
18308 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
18309 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
18310 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
18311 : : {
18312 : 0 : {
18313 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
18314 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
18315 : 0 : if (res) return res;
18316 : : }
18317 : : }
18318 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
18319 : : {
18320 : 0 : {
18321 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
18322 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
18323 : 0 : if (res) return res;
18324 : : }
18325 : : }
18326 : : break;
18327 : : }
18328 : 0 : case NE_EXPR:
18329 : 0 : {
18330 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
18331 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
18332 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
18333 : : {
18334 : 0 : {
18335 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
18336 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
18337 : 0 : if (res) return res;
18338 : : }
18339 : : }
18340 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
18341 : : {
18342 : 0 : {
18343 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
18344 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
18345 : 0 : if (res) return res;
18346 : : }
18347 : : }
18348 : : break;
18349 : : }
18350 : : default:;
18351 : : }
18352 : : break;
18353 : : }
18354 : 149 : default:;
18355 : : }
18356 : 149 : switch (TREE_CODE (_q21))
18357 : : {
18358 : 0 : CASE_CONVERT:
18359 : 0 : {
18360 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
18361 : 0 : switch (TREE_CODE (_p1))
18362 : : {
18363 : 0 : case EQ_EXPR:
18364 : 0 : {
18365 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
18366 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
18367 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
18368 : : {
18369 : 0 : {
18370 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
18371 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
18372 : 0 : if (res) return res;
18373 : : }
18374 : : }
18375 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
18376 : : {
18377 : 0 : {
18378 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
18379 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
18380 : 0 : if (res) return res;
18381 : : }
18382 : : }
18383 : : break;
18384 : : }
18385 : 0 : case NE_EXPR:
18386 : 0 : {
18387 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
18388 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
18389 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
18390 : : {
18391 : 0 : {
18392 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
18393 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
18394 : 0 : if (res) return res;
18395 : : }
18396 : : }
18397 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
18398 : : {
18399 : 0 : {
18400 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
18401 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
18402 : 0 : if (res) return res;
18403 : : }
18404 : : }
18405 : : break;
18406 : : }
18407 : : default:;
18408 : : }
18409 : : break;
18410 : : }
18411 : 149 : default:;
18412 : : }
18413 : 149 : switch (TREE_CODE (_p1))
18414 : : {
18415 : 27 : case EQ_EXPR:
18416 : 27 : {
18417 : 27 : tree _q50 = TREE_OPERAND (_p1, 0);
18418 : 27 : tree _q51 = TREE_OPERAND (_p1, 1);
18419 : 27 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
18420 : : {
18421 : 7 : {
18422 : 7 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
18423 : 7 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
18424 : 7 : if (res) return res;
18425 : : }
18426 : : }
18427 : 20 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
18428 : : {
18429 : 0 : {
18430 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
18431 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
18432 : 0 : if (res) return res;
18433 : : }
18434 : : }
18435 : 20 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
18436 : : {
18437 : 0 : {
18438 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
18439 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
18440 : 0 : if (res) return res;
18441 : : }
18442 : : }
18443 : 20 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
18444 : : {
18445 : 0 : {
18446 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
18447 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
18448 : 0 : if (res) return res;
18449 : : }
18450 : : }
18451 : : break;
18452 : : }
18453 : 7 : case NE_EXPR:
18454 : 7 : {
18455 : 7 : tree _q50 = TREE_OPERAND (_p1, 0);
18456 : 7 : tree _q51 = TREE_OPERAND (_p1, 1);
18457 : 7 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
18458 : : {
18459 : 7 : {
18460 : 7 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
18461 : 7 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
18462 : 7 : if (res) return res;
18463 : : }
18464 : : }
18465 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
18466 : : {
18467 : 0 : {
18468 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
18469 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
18470 : 0 : if (res) return res;
18471 : : }
18472 : : }
18473 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
18474 : : {
18475 : 0 : {
18476 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
18477 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
18478 : 0 : if (res) return res;
18479 : : }
18480 : : }
18481 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
18482 : : {
18483 : 0 : {
18484 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
18485 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
18486 : 0 : if (res) return res;
18487 : : }
18488 : : }
18489 : : break;
18490 : : }
18491 : 0 : case LT_EXPR:
18492 : 0 : {
18493 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
18494 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
18495 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
18496 : : {
18497 : 0 : {
18498 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
18499 : 0 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures, LT_EXPR, LE_EXPR);
18500 : 0 : if (res) return res;
18501 : : }
18502 : : }
18503 : : break;
18504 : : }
18505 : 2 : case LE_EXPR:
18506 : 2 : {
18507 : 2 : tree _q50 = TREE_OPERAND (_p1, 0);
18508 : 2 : tree _q51 = TREE_OPERAND (_p1, 1);
18509 : 2 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
18510 : : {
18511 : 0 : {
18512 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
18513 : 0 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures, LE_EXPR, LE_EXPR);
18514 : 0 : if (res) return res;
18515 : : }
18516 : : }
18517 : : break;
18518 : : }
18519 : 0 : case GT_EXPR:
18520 : 0 : {
18521 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
18522 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
18523 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
18524 : : {
18525 : 0 : {
18526 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
18527 : 0 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
18528 : 0 : if (res) return res;
18529 : : }
18530 : : }
18531 : : break;
18532 : : }
18533 : 1 : case GE_EXPR:
18534 : 1 : {
18535 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
18536 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
18537 : 1 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
18538 : : {
18539 : 0 : {
18540 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
18541 : 0 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures, GE_EXPR, LE_EXPR);
18542 : 0 : if (res) return res;
18543 : : }
18544 : : }
18545 : : break;
18546 : : }
18547 : 135 : default:;
18548 : : }
18549 : 135 : switch (TREE_CODE (_q20))
18550 : : {
18551 : 0 : case BIT_AND_EXPR:
18552 : 0 : {
18553 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
18554 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
18555 : 0 : switch (TREE_CODE (_q30))
18556 : : {
18557 : 0 : case BIT_XOR_EXPR:
18558 : 0 : {
18559 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
18560 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
18561 : 0 : if (tree_expr_nonzero_p (_q31))
18562 : : {
18563 : 0 : switch (TREE_CODE (_p1))
18564 : : {
18565 : 0 : case NE_EXPR:
18566 : 0 : {
18567 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
18568 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
18569 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
18570 : : {
18571 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
18572 : : {
18573 : 0 : {
18574 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q40, _q41, _q31, _q21, _p1 };
18575 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, LE_EXPR);
18576 : 0 : if (res) return res;
18577 : : }
18578 : : }
18579 : : }
18580 : 0 : if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
18581 : : {
18582 : 0 : if ((_q91 == _q40 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q40, 0) && types_match (_q91, _q40)))
18583 : : {
18584 : 0 : {
18585 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q41, _q40, _q31, _q21, _p1 };
18586 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, LE_EXPR);
18587 : 0 : if (res) return res;
18588 : : }
18589 : : }
18590 : : }
18591 : : break;
18592 : : }
18593 : : default:;
18594 : : }
18595 : : }
18596 : : break;
18597 : : }
18598 : 0 : default:;
18599 : : }
18600 : 0 : if (tree_expr_nonzero_p (_q30))
18601 : : {
18602 : 0 : switch (TREE_CODE (_q31))
18603 : : {
18604 : 0 : case BIT_XOR_EXPR:
18605 : 0 : {
18606 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
18607 : 0 : tree _q51 = TREE_OPERAND (_q31, 1);
18608 : 0 : switch (TREE_CODE (_p1))
18609 : : {
18610 : 0 : case NE_EXPR:
18611 : 0 : {
18612 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
18613 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
18614 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
18615 : : {
18616 : 0 : if ((_q91 == _q51 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q51, 0) && types_match (_q91, _q51)))
18617 : : {
18618 : 0 : {
18619 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q51, _q30, _q21, _p1 };
18620 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, LE_EXPR);
18621 : 0 : if (res) return res;
18622 : : }
18623 : : }
18624 : : }
18625 : 0 : if ((_q90 == _q51 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q51, 0) && types_match (_q90, _q51)))
18626 : : {
18627 : 0 : if ((_q91 == _q50 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q50, 0) && types_match (_q91, _q50)))
18628 : : {
18629 : 0 : {
18630 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q51, _q50, _q30, _q21, _p1 };
18631 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, LE_EXPR);
18632 : 0 : if (res) return res;
18633 : : }
18634 : : }
18635 : : }
18636 : : break;
18637 : : }
18638 : : default:;
18639 : : }
18640 : : break;
18641 : : }
18642 : : default:;
18643 : : }
18644 : : }
18645 : : break;
18646 : : }
18647 : 135 : default:;
18648 : : }
18649 : 135 : switch (TREE_CODE (_q21))
18650 : : {
18651 : 0 : case BIT_AND_EXPR:
18652 : 0 : {
18653 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
18654 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
18655 : 0 : switch (TREE_CODE (_q40))
18656 : : {
18657 : 0 : case BIT_XOR_EXPR:
18658 : 0 : {
18659 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
18660 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
18661 : 0 : if (tree_expr_nonzero_p (_q41))
18662 : : {
18663 : 0 : switch (TREE_CODE (_p1))
18664 : : {
18665 : 0 : case NE_EXPR:
18666 : 0 : {
18667 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
18668 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
18669 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
18670 : : {
18671 : 0 : if ((_q91 == _q51 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q51, 0) && types_match (_q91, _q51)))
18672 : : {
18673 : 0 : {
18674 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q51, _q41, _q20, _p1 };
18675 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, GE_EXPR);
18676 : 0 : if (res) return res;
18677 : : }
18678 : : }
18679 : : }
18680 : 0 : if ((_q90 == _q51 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q51, 0) && types_match (_q90, _q51)))
18681 : : {
18682 : 0 : if ((_q91 == _q50 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q50, 0) && types_match (_q91, _q50)))
18683 : : {
18684 : 0 : {
18685 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q51, _q50, _q41, _q20, _p1 };
18686 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, GE_EXPR);
18687 : 0 : if (res) return res;
18688 : : }
18689 : : }
18690 : : }
18691 : : break;
18692 : : }
18693 : : default:;
18694 : : }
18695 : : }
18696 : : break;
18697 : : }
18698 : 0 : default:;
18699 : : }
18700 : 0 : if (tree_expr_nonzero_p (_q40))
18701 : : {
18702 : 0 : switch (TREE_CODE (_q41))
18703 : : {
18704 : 0 : case BIT_XOR_EXPR:
18705 : 0 : {
18706 : 0 : tree _q60 = TREE_OPERAND (_q41, 0);
18707 : 0 : tree _q61 = TREE_OPERAND (_q41, 1);
18708 : 0 : switch (TREE_CODE (_p1))
18709 : : {
18710 : 0 : case NE_EXPR:
18711 : 0 : {
18712 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
18713 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
18714 : 0 : if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
18715 : : {
18716 : 0 : if ((_q91 == _q61 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q61, 0) && types_match (_q91, _q61)))
18717 : : {
18718 : 0 : {
18719 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q60, _q61, _q40, _q20, _p1 };
18720 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, GE_EXPR);
18721 : 0 : if (res) return res;
18722 : : }
18723 : : }
18724 : : }
18725 : 0 : if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
18726 : : {
18727 : 0 : if ((_q91 == _q60 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q60, 0) && types_match (_q91, _q60)))
18728 : : {
18729 : 0 : {
18730 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q61, _q60, _q40, _q20, _p1 };
18731 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, GE_EXPR);
18732 : 0 : if (res) return res;
18733 : : }
18734 : : }
18735 : : }
18736 : : break;
18737 : : }
18738 : : default:;
18739 : : }
18740 : : break;
18741 : : }
18742 : : default:;
18743 : : }
18744 : : }
18745 : : break;
18746 : : }
18747 : 135 : default:;
18748 : : }
18749 : 135 : switch (TREE_CODE (_q20))
18750 : : {
18751 : 0 : case BIT_XOR_EXPR:
18752 : 0 : {
18753 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
18754 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
18755 : 0 : switch (TREE_CODE (_p1))
18756 : : {
18757 : 0 : case NE_EXPR:
18758 : 0 : {
18759 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
18760 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
18761 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
18762 : : {
18763 : 0 : if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
18764 : : {
18765 : 0 : {
18766 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q21, _p1 };
18767 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, LE_EXPR);
18768 : 0 : if (res) return res;
18769 : : }
18770 : : }
18771 : : }
18772 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
18773 : : {
18774 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
18775 : : {
18776 : 0 : {
18777 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q21, _p1 };
18778 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, LE_EXPR);
18779 : 0 : if (res) return res;
18780 : : }
18781 : : }
18782 : : }
18783 : : break;
18784 : : }
18785 : : default:;
18786 : : }
18787 : : break;
18788 : : }
18789 : 135 : default:;
18790 : : }
18791 : 135 : switch (TREE_CODE (_q21))
18792 : : {
18793 : 0 : case BIT_XOR_EXPR:
18794 : 0 : {
18795 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
18796 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
18797 : 0 : switch (TREE_CODE (_p1))
18798 : : {
18799 : 0 : case NE_EXPR:
18800 : 0 : {
18801 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
18802 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
18803 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
18804 : : {
18805 : 0 : if ((_q71 == _q41 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q41, 0) && types_match (_q71, _q41)))
18806 : : {
18807 : 0 : {
18808 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q20, _p1 };
18809 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, GE_EXPR);
18810 : 0 : if (res) return res;
18811 : : }
18812 : : }
18813 : : }
18814 : 0 : if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
18815 : : {
18816 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
18817 : : {
18818 : 0 : {
18819 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q40, _q20, _p1 };
18820 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, GE_EXPR);
18821 : 0 : if (res) return res;
18822 : : }
18823 : : }
18824 : : }
18825 : : break;
18826 : : }
18827 : : default:;
18828 : : }
18829 : : break;
18830 : : }
18831 : : default:;
18832 : : }
18833 : : break;
18834 : : }
18835 : 38 : case GE_EXPR:
18836 : 38 : {
18837 : 38 : tree _q20 = TREE_OPERAND (_p0, 0);
18838 : 38 : tree _q21 = TREE_OPERAND (_p0, 1);
18839 : 38 : switch (TREE_CODE (_p1))
18840 : : {
18841 : 0 : case NE_EXPR:
18842 : 0 : {
18843 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
18844 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
18845 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
18846 : : {
18847 : 0 : if (tree_min_value (_q51))
18848 : : {
18849 : 0 : {
18850 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
18851 : 0 : tree res = generic_simplify_137 (loc, type, _p0, _p1, captures);
18852 : 0 : if (res) return res;
18853 : : }
18854 : : }
18855 : : }
18856 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
18857 : : {
18858 : 0 : if (tree_max_value (_q51))
18859 : : {
18860 : 0 : {
18861 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
18862 : 0 : tree res = generic_simplify_138 (loc, type, _p0, _p1, captures, NE_EXPR);
18863 : 0 : if (res) return res;
18864 : : }
18865 : : }
18866 : : }
18867 : : break;
18868 : : }
18869 : 4 : case EQ_EXPR:
18870 : 4 : {
18871 : 4 : tree _q50 = TREE_OPERAND (_p1, 0);
18872 : 4 : tree _q51 = TREE_OPERAND (_p1, 1);
18873 : 4 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
18874 : : {
18875 : 0 : if (tree_min_value (_q51))
18876 : : {
18877 : 0 : {
18878 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
18879 : 0 : tree res = generic_simplify_139 (loc, type, _p0, _p1, captures);
18880 : 0 : if (res) return res;
18881 : : }
18882 : : }
18883 : : }
18884 : 4 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
18885 : : {
18886 : 0 : if (tree_max_value (_q51))
18887 : : {
18888 : 0 : {
18889 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
18890 : 0 : tree res = generic_simplify_138 (loc, type, _p0, _p1, captures, EQ_EXPR);
18891 : 0 : if (res) return res;
18892 : : }
18893 : : }
18894 : : }
18895 : : break;
18896 : : }
18897 : 38 : default:;
18898 : : }
18899 : 38 : switch (TREE_CODE (_q20))
18900 : : {
18901 : 8 : CASE_CONVERT:
18902 : 8 : {
18903 : 8 : tree _q30 = TREE_OPERAND (_q20, 0);
18904 : 8 : switch (TREE_CODE (_p1))
18905 : : {
18906 : 0 : case EQ_EXPR:
18907 : 0 : {
18908 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
18909 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
18910 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
18911 : : {
18912 : 0 : {
18913 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
18914 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
18915 : 0 : if (res) return res;
18916 : : }
18917 : : }
18918 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
18919 : : {
18920 : 0 : {
18921 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
18922 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
18923 : 0 : if (res) return res;
18924 : : }
18925 : : }
18926 : : break;
18927 : : }
18928 : 0 : case NE_EXPR:
18929 : 0 : {
18930 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
18931 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
18932 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
18933 : : {
18934 : 0 : {
18935 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
18936 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
18937 : 0 : if (res) return res;
18938 : : }
18939 : : }
18940 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
18941 : : {
18942 : 0 : {
18943 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
18944 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
18945 : 0 : if (res) return res;
18946 : : }
18947 : : }
18948 : : break;
18949 : : }
18950 : : default:;
18951 : : }
18952 : : break;
18953 : : }
18954 : 38 : default:;
18955 : : }
18956 : 38 : switch (TREE_CODE (_q21))
18957 : : {
18958 : 0 : CASE_CONVERT:
18959 : 0 : {
18960 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
18961 : 0 : switch (TREE_CODE (_p1))
18962 : : {
18963 : 0 : case EQ_EXPR:
18964 : 0 : {
18965 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
18966 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
18967 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
18968 : : {
18969 : 0 : {
18970 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
18971 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
18972 : 0 : if (res) return res;
18973 : : }
18974 : : }
18975 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
18976 : : {
18977 : 0 : {
18978 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
18979 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
18980 : 0 : if (res) return res;
18981 : : }
18982 : : }
18983 : : break;
18984 : : }
18985 : 0 : case NE_EXPR:
18986 : 0 : {
18987 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
18988 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
18989 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
18990 : : {
18991 : 0 : {
18992 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
18993 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
18994 : 0 : if (res) return res;
18995 : : }
18996 : : }
18997 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
18998 : : {
18999 : 0 : {
19000 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
19001 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
19002 : 0 : if (res) return res;
19003 : : }
19004 : : }
19005 : : break;
19006 : : }
19007 : : default:;
19008 : : }
19009 : : break;
19010 : : }
19011 : 38 : default:;
19012 : : }
19013 : 38 : switch (TREE_CODE (_p1))
19014 : : {
19015 : 4 : case EQ_EXPR:
19016 : 4 : {
19017 : 4 : tree _q50 = TREE_OPERAND (_p1, 0);
19018 : 4 : tree _q51 = TREE_OPERAND (_p1, 1);
19019 : 4 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
19020 : : {
19021 : 0 : {
19022 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
19023 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
19024 : 0 : if (res) return res;
19025 : : }
19026 : : }
19027 : 4 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
19028 : : {
19029 : 0 : {
19030 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
19031 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
19032 : 0 : if (res) return res;
19033 : : }
19034 : : }
19035 : 4 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
19036 : : {
19037 : 0 : {
19038 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
19039 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
19040 : 0 : if (res) return res;
19041 : : }
19042 : : }
19043 : 4 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
19044 : : {
19045 : 0 : {
19046 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
19047 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
19048 : 0 : if (res) return res;
19049 : : }
19050 : : }
19051 : : break;
19052 : : }
19053 : 0 : case NE_EXPR:
19054 : 0 : {
19055 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
19056 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
19057 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
19058 : : {
19059 : 0 : {
19060 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
19061 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
19062 : 0 : if (res) return res;
19063 : : }
19064 : : }
19065 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
19066 : : {
19067 : 0 : {
19068 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
19069 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
19070 : 0 : if (res) return res;
19071 : : }
19072 : : }
19073 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
19074 : : {
19075 : 0 : {
19076 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
19077 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
19078 : 0 : if (res) return res;
19079 : : }
19080 : : }
19081 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
19082 : : {
19083 : 0 : {
19084 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
19085 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
19086 : 0 : if (res) return res;
19087 : : }
19088 : : }
19089 : : break;
19090 : : }
19091 : 0 : case LT_EXPR:
19092 : 0 : {
19093 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
19094 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
19095 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
19096 : : {
19097 : 0 : {
19098 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
19099 : 0 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
19100 : 0 : if (res) return res;
19101 : : }
19102 : : }
19103 : : break;
19104 : : }
19105 : 0 : case LE_EXPR:
19106 : 0 : {
19107 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
19108 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
19109 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
19110 : : {
19111 : 0 : {
19112 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
19113 : 0 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR);
19114 : 0 : if (res) return res;
19115 : : }
19116 : : }
19117 : : break;
19118 : : }
19119 : 0 : case GT_EXPR:
19120 : 0 : {
19121 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
19122 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
19123 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
19124 : : {
19125 : 0 : {
19126 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
19127 : 0 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures, GT_EXPR, GE_EXPR);
19128 : 0 : if (res) return res;
19129 : : }
19130 : : }
19131 : : break;
19132 : : }
19133 : 0 : case GE_EXPR:
19134 : 0 : {
19135 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
19136 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
19137 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
19138 : : {
19139 : 0 : {
19140 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
19141 : 0 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures, GE_EXPR, GE_EXPR);
19142 : 0 : if (res) return res;
19143 : : }
19144 : : }
19145 : : break;
19146 : : }
19147 : 38 : default:;
19148 : : }
19149 : 38 : switch (TREE_CODE (_q20))
19150 : : {
19151 : 0 : case BIT_AND_EXPR:
19152 : 0 : {
19153 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
19154 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
19155 : 0 : switch (TREE_CODE (_q30))
19156 : : {
19157 : 0 : case BIT_XOR_EXPR:
19158 : 0 : {
19159 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
19160 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
19161 : 0 : if (tree_expr_nonzero_p (_q31))
19162 : : {
19163 : 0 : switch (TREE_CODE (_p1))
19164 : : {
19165 : 0 : case NE_EXPR:
19166 : 0 : {
19167 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
19168 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
19169 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
19170 : : {
19171 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
19172 : : {
19173 : 0 : {
19174 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q40, _q41, _q31, _q21, _p1 };
19175 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, GE_EXPR);
19176 : 0 : if (res) return res;
19177 : : }
19178 : : }
19179 : : }
19180 : 0 : if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
19181 : : {
19182 : 0 : if ((_q91 == _q40 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q40, 0) && types_match (_q91, _q40)))
19183 : : {
19184 : 0 : {
19185 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q41, _q40, _q31, _q21, _p1 };
19186 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, GE_EXPR);
19187 : 0 : if (res) return res;
19188 : : }
19189 : : }
19190 : : }
19191 : : break;
19192 : : }
19193 : : default:;
19194 : : }
19195 : : }
19196 : : break;
19197 : : }
19198 : 0 : default:;
19199 : : }
19200 : 0 : if (tree_expr_nonzero_p (_q30))
19201 : : {
19202 : 0 : switch (TREE_CODE (_q31))
19203 : : {
19204 : 0 : case BIT_XOR_EXPR:
19205 : 0 : {
19206 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
19207 : 0 : tree _q51 = TREE_OPERAND (_q31, 1);
19208 : 0 : switch (TREE_CODE (_p1))
19209 : : {
19210 : 0 : case NE_EXPR:
19211 : 0 : {
19212 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
19213 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
19214 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
19215 : : {
19216 : 0 : if ((_q91 == _q51 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q51, 0) && types_match (_q91, _q51)))
19217 : : {
19218 : 0 : {
19219 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q51, _q30, _q21, _p1 };
19220 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, GE_EXPR);
19221 : 0 : if (res) return res;
19222 : : }
19223 : : }
19224 : : }
19225 : 0 : if ((_q90 == _q51 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q51, 0) && types_match (_q90, _q51)))
19226 : : {
19227 : 0 : if ((_q91 == _q50 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q50, 0) && types_match (_q91, _q50)))
19228 : : {
19229 : 0 : {
19230 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q51, _q50, _q30, _q21, _p1 };
19231 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, GE_EXPR);
19232 : 0 : if (res) return res;
19233 : : }
19234 : : }
19235 : : }
19236 : : break;
19237 : : }
19238 : : default:;
19239 : : }
19240 : : break;
19241 : : }
19242 : : default:;
19243 : : }
19244 : : }
19245 : : break;
19246 : : }
19247 : 38 : default:;
19248 : : }
19249 : 38 : switch (TREE_CODE (_q21))
19250 : : {
19251 : 0 : case BIT_AND_EXPR:
19252 : 0 : {
19253 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
19254 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
19255 : 0 : switch (TREE_CODE (_q40))
19256 : : {
19257 : 0 : case BIT_XOR_EXPR:
19258 : 0 : {
19259 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
19260 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
19261 : 0 : if (tree_expr_nonzero_p (_q41))
19262 : : {
19263 : 0 : switch (TREE_CODE (_p1))
19264 : : {
19265 : 0 : case NE_EXPR:
19266 : 0 : {
19267 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
19268 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
19269 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
19270 : : {
19271 : 0 : if ((_q91 == _q51 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q51, 0) && types_match (_q91, _q51)))
19272 : : {
19273 : 0 : {
19274 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q51, _q41, _q20, _p1 };
19275 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, LE_EXPR);
19276 : 0 : if (res) return res;
19277 : : }
19278 : : }
19279 : : }
19280 : 0 : if ((_q90 == _q51 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q51, 0) && types_match (_q90, _q51)))
19281 : : {
19282 : 0 : if ((_q91 == _q50 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q50, 0) && types_match (_q91, _q50)))
19283 : : {
19284 : 0 : {
19285 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q51, _q50, _q41, _q20, _p1 };
19286 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, LE_EXPR);
19287 : 0 : if (res) return res;
19288 : : }
19289 : : }
19290 : : }
19291 : : break;
19292 : : }
19293 : : default:;
19294 : : }
19295 : : }
19296 : : break;
19297 : : }
19298 : 0 : default:;
19299 : : }
19300 : 0 : if (tree_expr_nonzero_p (_q40))
19301 : : {
19302 : 0 : switch (TREE_CODE (_q41))
19303 : : {
19304 : 0 : case BIT_XOR_EXPR:
19305 : 0 : {
19306 : 0 : tree _q60 = TREE_OPERAND (_q41, 0);
19307 : 0 : tree _q61 = TREE_OPERAND (_q41, 1);
19308 : 0 : switch (TREE_CODE (_p1))
19309 : : {
19310 : 0 : case NE_EXPR:
19311 : 0 : {
19312 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
19313 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
19314 : 0 : if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
19315 : : {
19316 : 0 : if ((_q91 == _q61 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q61, 0) && types_match (_q91, _q61)))
19317 : : {
19318 : 0 : {
19319 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q60, _q61, _q40, _q20, _p1 };
19320 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, LE_EXPR);
19321 : 0 : if (res) return res;
19322 : : }
19323 : : }
19324 : : }
19325 : 0 : if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
19326 : : {
19327 : 0 : if ((_q91 == _q60 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q60, 0) && types_match (_q91, _q60)))
19328 : : {
19329 : 0 : {
19330 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q61, _q60, _q40, _q20, _p1 };
19331 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, LE_EXPR);
19332 : 0 : if (res) return res;
19333 : : }
19334 : : }
19335 : : }
19336 : : break;
19337 : : }
19338 : : default:;
19339 : : }
19340 : : break;
19341 : : }
19342 : : default:;
19343 : : }
19344 : : }
19345 : : break;
19346 : : }
19347 : 38 : default:;
19348 : : }
19349 : 38 : switch (TREE_CODE (_q20))
19350 : : {
19351 : 0 : case BIT_XOR_EXPR:
19352 : 0 : {
19353 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
19354 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
19355 : 0 : switch (TREE_CODE (_p1))
19356 : : {
19357 : 0 : case NE_EXPR:
19358 : 0 : {
19359 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
19360 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
19361 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
19362 : : {
19363 : 0 : if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
19364 : : {
19365 : 0 : {
19366 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q21, _p1 };
19367 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, GE_EXPR);
19368 : 0 : if (res) return res;
19369 : : }
19370 : : }
19371 : : }
19372 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
19373 : : {
19374 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
19375 : : {
19376 : 0 : {
19377 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q21, _p1 };
19378 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, GE_EXPR);
19379 : 0 : if (res) return res;
19380 : : }
19381 : : }
19382 : : }
19383 : : break;
19384 : : }
19385 : : default:;
19386 : : }
19387 : : break;
19388 : : }
19389 : 38 : default:;
19390 : : }
19391 : 38 : switch (TREE_CODE (_q21))
19392 : : {
19393 : 0 : case BIT_XOR_EXPR:
19394 : 0 : {
19395 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
19396 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
19397 : 0 : switch (TREE_CODE (_p1))
19398 : : {
19399 : 0 : case NE_EXPR:
19400 : 0 : {
19401 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
19402 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
19403 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
19404 : : {
19405 : 0 : if ((_q71 == _q41 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q41, 0) && types_match (_q71, _q41)))
19406 : : {
19407 : 0 : {
19408 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q20, _p1 };
19409 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, LE_EXPR);
19410 : 0 : if (res) return res;
19411 : : }
19412 : : }
19413 : : }
19414 : 0 : if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
19415 : : {
19416 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
19417 : : {
19418 : 0 : {
19419 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q40, _q20, _p1 };
19420 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, LE_EXPR);
19421 : 0 : if (res) return res;
19422 : : }
19423 : : }
19424 : : }
19425 : : break;
19426 : : }
19427 : : default:;
19428 : : }
19429 : : break;
19430 : : }
19431 : : default:;
19432 : : }
19433 : : break;
19434 : : }
19435 : 459 : case EQ_EXPR:
19436 : 459 : {
19437 : 459 : tree _q20 = TREE_OPERAND (_p0, 0);
19438 : 459 : tree _q21 = TREE_OPERAND (_p0, 1);
19439 : 459 : if (tree_min_value (_q21))
19440 : : {
19441 : 4 : switch (TREE_CODE (_p1))
19442 : : {
19443 : 0 : case LE_EXPR:
19444 : 0 : {
19445 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
19446 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
19447 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
19448 : : {
19449 : 0 : {
19450 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q51 };
19451 : 0 : tree res = generic_simplify_139 (loc, type, _p0, _p1, captures);
19452 : 0 : if (res) return res;
19453 : : }
19454 : : }
19455 : : break;
19456 : : }
19457 : 0 : case GE_EXPR:
19458 : 0 : {
19459 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
19460 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
19461 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
19462 : : {
19463 : 0 : {
19464 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q50 };
19465 : 0 : tree res = generic_simplify_139 (loc, type, _p0, _p1, captures);
19466 : 0 : if (res) return res;
19467 : : }
19468 : : }
19469 : : break;
19470 : : }
19471 : 2 : case LT_EXPR:
19472 : 2 : {
19473 : 2 : tree _q50 = TREE_OPERAND (_p1, 0);
19474 : 2 : tree _q51 = TREE_OPERAND (_p1, 1);
19475 : 2 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
19476 : : {
19477 : 2 : {
19478 : 2 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q50 };
19479 : 2 : tree res = generic_simplify_140 (loc, type, _p0, _p1, captures);
19480 : 2 : if (res) return res;
19481 : : }
19482 : : }
19483 : : break;
19484 : : }
19485 : 0 : case GT_EXPR:
19486 : 0 : {
19487 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
19488 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
19489 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
19490 : : {
19491 : 0 : {
19492 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q51 };
19493 : 0 : tree res = generic_simplify_140 (loc, type, _p0, _p1, captures);
19494 : 0 : if (res) return res;
19495 : : }
19496 : : }
19497 : : break;
19498 : : }
19499 : : default:;
19500 : : }
19501 : : }
19502 : 457 : if (tree_max_value (_q21))
19503 : : {
19504 : 0 : switch (TREE_CODE (_p1))
19505 : : {
19506 : 0 : case GE_EXPR:
19507 : 0 : {
19508 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
19509 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
19510 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
19511 : : {
19512 : 0 : {
19513 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q51 };
19514 : 0 : tree res = generic_simplify_134 (loc, type, _p0, _p1, captures, EQ_EXPR);
19515 : 0 : if (res) return res;
19516 : : }
19517 : : }
19518 : : break;
19519 : : }
19520 : 0 : case LE_EXPR:
19521 : 0 : {
19522 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
19523 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
19524 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
19525 : : {
19526 : 0 : {
19527 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q50 };
19528 : 0 : tree res = generic_simplify_134 (loc, type, _p0, _p1, captures, EQ_EXPR);
19529 : 0 : if (res) return res;
19530 : : }
19531 : : }
19532 : : break;
19533 : : }
19534 : : default:;
19535 : : }
19536 : : }
19537 : 457 : switch (TREE_CODE (_p1))
19538 : : {
19539 : 119 : case EQ_EXPR:
19540 : 119 : {
19541 : 119 : tree _q50 = TREE_OPERAND (_p1, 0);
19542 : 119 : tree _q51 = TREE_OPERAND (_p1, 1);
19543 : 119 : switch (TREE_CODE (_q50))
19544 : : {
19545 : 63 : CASE_CONVERT:
19546 : 63 : {
19547 : 63 : tree _q60 = TREE_OPERAND (_q50, 0);
19548 : 63 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
19549 : : {
19550 : 0 : {
19551 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
19552 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
19553 : 0 : if (res) return res;
19554 : : }
19555 : : }
19556 : 63 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
19557 : : {
19558 : 0 : {
19559 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
19560 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
19561 : 0 : if (res) return res;
19562 : : }
19563 : : }
19564 : : break;
19565 : : }
19566 : 119 : default:;
19567 : : }
19568 : 119 : switch (TREE_CODE (_q51))
19569 : : {
19570 : 0 : CASE_CONVERT:
19571 : 0 : {
19572 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
19573 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
19574 : : {
19575 : 0 : {
19576 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
19577 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
19578 : 0 : if (res) return res;
19579 : : }
19580 : : }
19581 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
19582 : : {
19583 : 0 : {
19584 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
19585 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
19586 : 0 : if (res) return res;
19587 : : }
19588 : : }
19589 : : break;
19590 : : }
19591 : : default:;
19592 : : }
19593 : : break;
19594 : : }
19595 : 12 : case NE_EXPR:
19596 : 12 : {
19597 : 12 : tree _q50 = TREE_OPERAND (_p1, 0);
19598 : 12 : tree _q51 = TREE_OPERAND (_p1, 1);
19599 : 12 : switch (TREE_CODE (_q50))
19600 : : {
19601 : 0 : CASE_CONVERT:
19602 : 0 : {
19603 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
19604 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
19605 : : {
19606 : 0 : {
19607 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
19608 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
19609 : 0 : if (res) return res;
19610 : : }
19611 : : }
19612 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
19613 : : {
19614 : 0 : {
19615 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
19616 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
19617 : 0 : if (res) return res;
19618 : : }
19619 : : }
19620 : : break;
19621 : : }
19622 : 12 : default:;
19623 : : }
19624 : 12 : switch (TREE_CODE (_q51))
19625 : : {
19626 : 0 : CASE_CONVERT:
19627 : 0 : {
19628 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
19629 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
19630 : : {
19631 : 0 : {
19632 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
19633 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
19634 : 0 : if (res) return res;
19635 : : }
19636 : : }
19637 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
19638 : : {
19639 : 0 : {
19640 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
19641 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
19642 : 0 : if (res) return res;
19643 : : }
19644 : : }
19645 : : break;
19646 : : }
19647 : : default:;
19648 : : }
19649 : : break;
19650 : : }
19651 : 4 : case LT_EXPR:
19652 : 4 : {
19653 : 4 : tree _q50 = TREE_OPERAND (_p1, 0);
19654 : 4 : tree _q51 = TREE_OPERAND (_p1, 1);
19655 : 4 : switch (TREE_CODE (_q50))
19656 : : {
19657 : 0 : CASE_CONVERT:
19658 : 0 : {
19659 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
19660 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
19661 : : {
19662 : 0 : {
19663 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
19664 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
19665 : 0 : if (res) return res;
19666 : : }
19667 : : }
19668 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
19669 : : {
19670 : 0 : {
19671 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
19672 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
19673 : 0 : if (res) return res;
19674 : : }
19675 : : }
19676 : : break;
19677 : : }
19678 : 4 : default:;
19679 : : }
19680 : 4 : switch (TREE_CODE (_q51))
19681 : : {
19682 : 0 : CASE_CONVERT:
19683 : 0 : {
19684 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
19685 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
19686 : : {
19687 : 0 : {
19688 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
19689 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
19690 : 0 : if (res) return res;
19691 : : }
19692 : : }
19693 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
19694 : : {
19695 : 0 : {
19696 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
19697 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
19698 : 0 : if (res) return res;
19699 : : }
19700 : : }
19701 : : break;
19702 : : }
19703 : : default:;
19704 : : }
19705 : : break;
19706 : : }
19707 : 28 : case GT_EXPR:
19708 : 28 : {
19709 : 28 : tree _q50 = TREE_OPERAND (_p1, 0);
19710 : 28 : tree _q51 = TREE_OPERAND (_p1, 1);
19711 : 28 : switch (TREE_CODE (_q50))
19712 : : {
19713 : 0 : CASE_CONVERT:
19714 : 0 : {
19715 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
19716 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
19717 : : {
19718 : 0 : {
19719 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
19720 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
19721 : 0 : if (res) return res;
19722 : : }
19723 : : }
19724 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
19725 : : {
19726 : 0 : {
19727 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
19728 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
19729 : 0 : if (res) return res;
19730 : : }
19731 : : }
19732 : : break;
19733 : : }
19734 : 28 : default:;
19735 : : }
19736 : 28 : switch (TREE_CODE (_q51))
19737 : : {
19738 : 0 : CASE_CONVERT:
19739 : 0 : {
19740 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
19741 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
19742 : : {
19743 : 0 : {
19744 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
19745 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
19746 : 0 : if (res) return res;
19747 : : }
19748 : : }
19749 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
19750 : : {
19751 : 0 : {
19752 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
19753 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
19754 : 0 : if (res) return res;
19755 : : }
19756 : : }
19757 : : break;
19758 : : }
19759 : : default:;
19760 : : }
19761 : : break;
19762 : : }
19763 : 18 : case LE_EXPR:
19764 : 18 : {
19765 : 18 : tree _q50 = TREE_OPERAND (_p1, 0);
19766 : 18 : tree _q51 = TREE_OPERAND (_p1, 1);
19767 : 18 : switch (TREE_CODE (_q50))
19768 : : {
19769 : 0 : CASE_CONVERT:
19770 : 0 : {
19771 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
19772 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
19773 : : {
19774 : 0 : {
19775 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
19776 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
19777 : 0 : if (res) return res;
19778 : : }
19779 : : }
19780 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
19781 : : {
19782 : 0 : {
19783 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
19784 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
19785 : 0 : if (res) return res;
19786 : : }
19787 : : }
19788 : : break;
19789 : : }
19790 : 18 : default:;
19791 : : }
19792 : 18 : switch (TREE_CODE (_q51))
19793 : : {
19794 : 0 : CASE_CONVERT:
19795 : 0 : {
19796 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
19797 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
19798 : : {
19799 : 0 : {
19800 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
19801 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
19802 : 0 : if (res) return res;
19803 : : }
19804 : : }
19805 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
19806 : : {
19807 : 0 : {
19808 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
19809 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
19810 : 0 : if (res) return res;
19811 : : }
19812 : : }
19813 : : break;
19814 : : }
19815 : : default:;
19816 : : }
19817 : : break;
19818 : : }
19819 : 20 : case GE_EXPR:
19820 : 20 : {
19821 : 20 : tree _q50 = TREE_OPERAND (_p1, 0);
19822 : 20 : tree _q51 = TREE_OPERAND (_p1, 1);
19823 : 20 : switch (TREE_CODE (_q50))
19824 : : {
19825 : 16 : CASE_CONVERT:
19826 : 16 : {
19827 : 16 : tree _q60 = TREE_OPERAND (_q50, 0);
19828 : 16 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
19829 : : {
19830 : 0 : {
19831 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
19832 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
19833 : 0 : if (res) return res;
19834 : : }
19835 : : }
19836 : 16 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
19837 : : {
19838 : 0 : {
19839 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
19840 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
19841 : 0 : if (res) return res;
19842 : : }
19843 : : }
19844 : : break;
19845 : : }
19846 : 20 : default:;
19847 : : }
19848 : 20 : switch (TREE_CODE (_q51))
19849 : : {
19850 : 0 : CASE_CONVERT:
19851 : 0 : {
19852 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
19853 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
19854 : : {
19855 : 0 : {
19856 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
19857 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
19858 : 0 : if (res) return res;
19859 : : }
19860 : : }
19861 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
19862 : : {
19863 : 0 : {
19864 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
19865 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
19866 : 0 : if (res) return res;
19867 : : }
19868 : : }
19869 : : break;
19870 : : }
19871 : : default:;
19872 : : }
19873 : : break;
19874 : : }
19875 : 457 : default:;
19876 : : }
19877 : 457 : switch (TREE_CODE (_q20))
19878 : : {
19879 : 178 : CASE_CONVERT:
19880 : 178 : {
19881 : 178 : tree _q30 = TREE_OPERAND (_q20, 0);
19882 : 178 : switch (TREE_CODE (_p1))
19883 : : {
19884 : 63 : case EQ_EXPR:
19885 : 63 : {
19886 : 63 : tree _q60 = TREE_OPERAND (_p1, 0);
19887 : 63 : tree _q61 = TREE_OPERAND (_p1, 1);
19888 : 63 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
19889 : : {
19890 : 0 : {
19891 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
19892 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
19893 : 0 : if (res) return res;
19894 : : }
19895 : : }
19896 : 63 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
19897 : : {
19898 : 0 : {
19899 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
19900 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
19901 : 0 : if (res) return res;
19902 : : }
19903 : : }
19904 : : break;
19905 : : }
19906 : 0 : case NE_EXPR:
19907 : 0 : {
19908 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
19909 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
19910 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
19911 : : {
19912 : 0 : {
19913 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
19914 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
19915 : 0 : if (res) return res;
19916 : : }
19917 : : }
19918 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
19919 : : {
19920 : 0 : {
19921 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
19922 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
19923 : 0 : if (res) return res;
19924 : : }
19925 : : }
19926 : : break;
19927 : : }
19928 : : default:;
19929 : : }
19930 : : break;
19931 : : }
19932 : 457 : default:;
19933 : : }
19934 : 457 : switch (TREE_CODE (_q21))
19935 : : {
19936 : 9 : CASE_CONVERT:
19937 : 9 : {
19938 : 9 : tree _q40 = TREE_OPERAND (_q21, 0);
19939 : 9 : switch (TREE_CODE (_p1))
19940 : : {
19941 : 0 : case EQ_EXPR:
19942 : 0 : {
19943 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
19944 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
19945 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
19946 : : {
19947 : 0 : {
19948 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
19949 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
19950 : 0 : if (res) return res;
19951 : : }
19952 : : }
19953 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
19954 : : {
19955 : 0 : {
19956 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
19957 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
19958 : 0 : if (res) return res;
19959 : : }
19960 : : }
19961 : : break;
19962 : : }
19963 : 0 : case NE_EXPR:
19964 : 0 : {
19965 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
19966 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
19967 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
19968 : : {
19969 : 0 : {
19970 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
19971 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
19972 : 0 : if (res) return res;
19973 : : }
19974 : : }
19975 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
19976 : : {
19977 : 0 : {
19978 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
19979 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
19980 : 0 : if (res) return res;
19981 : : }
19982 : : }
19983 : : break;
19984 : : }
19985 : : default:;
19986 : : }
19987 : : break;
19988 : : }
19989 : 457 : default:;
19990 : : }
19991 : 457 : switch (TREE_CODE (_p1))
19992 : : {
19993 : 119 : case EQ_EXPR:
19994 : 119 : {
19995 : 119 : tree _q50 = TREE_OPERAND (_p1, 0);
19996 : 119 : tree _q51 = TREE_OPERAND (_p1, 1);
19997 : 119 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
19998 : : {
19999 : 88 : {
20000 : 88 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
20001 : 88 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
20002 : 88 : if (res) return res;
20003 : : }
20004 : 88 : {
20005 : 88 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
20006 : 88 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
20007 : 88 : if (res) return res;
20008 : : }
20009 : : }
20010 : 119 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
20011 : : {
20012 : 0 : {
20013 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
20014 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
20015 : 0 : if (res) return res;
20016 : : }
20017 : : }
20018 : 119 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
20019 : : {
20020 : 0 : {
20021 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
20022 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
20023 : 0 : if (res) return res;
20024 : : }
20025 : 0 : {
20026 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
20027 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
20028 : 0 : if (res) return res;
20029 : : }
20030 : : }
20031 : 119 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
20032 : : {
20033 : 15 : {
20034 : 15 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
20035 : 15 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
20036 : 15 : if (res) return res;
20037 : : }
20038 : 15 : {
20039 : 15 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
20040 : 15 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
20041 : 15 : if (res) return res;
20042 : : }
20043 : : }
20044 : 119 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
20045 : : {
20046 : 0 : {
20047 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
20048 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
20049 : 0 : if (res) return res;
20050 : : }
20051 : : }
20052 : : break;
20053 : : }
20054 : 12 : case NE_EXPR:
20055 : 12 : {
20056 : 12 : tree _q50 = TREE_OPERAND (_p1, 0);
20057 : 12 : tree _q51 = TREE_OPERAND (_p1, 1);
20058 : 12 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
20059 : : {
20060 : 0 : {
20061 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
20062 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
20063 : 0 : if (res) return res;
20064 : : }
20065 : 0 : {
20066 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
20067 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
20068 : 0 : if (res) return res;
20069 : : }
20070 : : }
20071 : 12 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
20072 : : {
20073 : 0 : {
20074 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
20075 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
20076 : 0 : if (res) return res;
20077 : : }
20078 : : }
20079 : 12 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
20080 : : {
20081 : 0 : {
20082 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
20083 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
20084 : 0 : if (res) return res;
20085 : : }
20086 : 0 : {
20087 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
20088 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
20089 : 0 : if (res) return res;
20090 : : }
20091 : : }
20092 : 12 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
20093 : : {
20094 : 4 : {
20095 : 4 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
20096 : 4 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
20097 : 4 : if (res) return res;
20098 : : }
20099 : 4 : {
20100 : 4 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
20101 : 4 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
20102 : 4 : if (res) return res;
20103 : : }
20104 : : }
20105 : 12 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
20106 : : {
20107 : 0 : {
20108 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
20109 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
20110 : 0 : if (res) return res;
20111 : : }
20112 : : }
20113 : : break;
20114 : : }
20115 : 4 : case LT_EXPR:
20116 : 4 : {
20117 : 4 : tree _q50 = TREE_OPERAND (_p1, 0);
20118 : 4 : tree _q51 = TREE_OPERAND (_p1, 1);
20119 : 4 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
20120 : : {
20121 : 0 : {
20122 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
20123 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
20124 : 0 : if (res) return res;
20125 : : }
20126 : : }
20127 : 4 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
20128 : : {
20129 : 0 : {
20130 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
20131 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
20132 : 0 : if (res) return res;
20133 : : }
20134 : : }
20135 : 4 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
20136 : : {
20137 : 0 : {
20138 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
20139 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
20140 : 0 : if (res) return res;
20141 : : }
20142 : : }
20143 : 4 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
20144 : : {
20145 : 0 : {
20146 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
20147 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
20148 : 0 : if (res) return res;
20149 : : }
20150 : : }
20151 : : break;
20152 : : }
20153 : 28 : case GT_EXPR:
20154 : 28 : {
20155 : 28 : tree _q50 = TREE_OPERAND (_p1, 0);
20156 : 28 : tree _q51 = TREE_OPERAND (_p1, 1);
20157 : 28 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
20158 : : {
20159 : 9 : {
20160 : 9 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
20161 : 9 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
20162 : 9 : if (res) return res;
20163 : : }
20164 : : }
20165 : 28 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
20166 : : {
20167 : 0 : {
20168 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
20169 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
20170 : 0 : if (res) return res;
20171 : : }
20172 : : }
20173 : 28 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
20174 : : {
20175 : 0 : {
20176 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
20177 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
20178 : 0 : if (res) return res;
20179 : : }
20180 : : }
20181 : 28 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
20182 : : {
20183 : 0 : {
20184 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
20185 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
20186 : 0 : if (res) return res;
20187 : : }
20188 : : }
20189 : : break;
20190 : : }
20191 : 18 : case LE_EXPR:
20192 : 18 : {
20193 : 18 : tree _q50 = TREE_OPERAND (_p1, 0);
20194 : 18 : tree _q51 = TREE_OPERAND (_p1, 1);
20195 : 18 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
20196 : : {
20197 : 0 : {
20198 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
20199 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
20200 : 0 : if (res) return res;
20201 : : }
20202 : : }
20203 : 18 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
20204 : : {
20205 : 0 : {
20206 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
20207 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
20208 : 0 : if (res) return res;
20209 : : }
20210 : : }
20211 : 18 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
20212 : : {
20213 : 0 : {
20214 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
20215 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
20216 : 0 : if (res) return res;
20217 : : }
20218 : : }
20219 : 18 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
20220 : : {
20221 : 0 : {
20222 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
20223 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
20224 : 0 : if (res) return res;
20225 : : }
20226 : : }
20227 : : break;
20228 : : }
20229 : 20 : case GE_EXPR:
20230 : 20 : {
20231 : 20 : tree _q50 = TREE_OPERAND (_p1, 0);
20232 : 20 : tree _q51 = TREE_OPERAND (_p1, 1);
20233 : 20 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
20234 : : {
20235 : 0 : {
20236 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
20237 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
20238 : 0 : if (res) return res;
20239 : : }
20240 : : }
20241 : 20 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
20242 : : {
20243 : 0 : {
20244 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
20245 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
20246 : 0 : if (res) return res;
20247 : : }
20248 : : }
20249 : 20 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
20250 : : {
20251 : 0 : {
20252 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
20253 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
20254 : 0 : if (res) return res;
20255 : : }
20256 : : }
20257 : 20 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
20258 : : {
20259 : 0 : {
20260 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
20261 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
20262 : 0 : if (res) return res;
20263 : : }
20264 : : }
20265 : : break;
20266 : : }
20267 : 457 : default:;
20268 : : }
20269 : 457 : switch (TREE_CODE (_q20))
20270 : : {
20271 : 0 : case BIT_AND_EXPR:
20272 : 0 : {
20273 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
20274 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
20275 : 0 : switch (TREE_CODE (_q30))
20276 : : {
20277 : 0 : case BIT_XOR_EXPR:
20278 : 0 : {
20279 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
20280 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
20281 : 0 : if (tree_expr_nonzero_p (_q31))
20282 : : {
20283 : 0 : switch (TREE_CODE (_p1))
20284 : : {
20285 : 0 : case NE_EXPR:
20286 : 0 : {
20287 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
20288 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
20289 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
20290 : : {
20291 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
20292 : : {
20293 : 0 : {
20294 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q40, _q41, _q31, _q21, _p1 };
20295 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, EQ_EXPR);
20296 : 0 : if (res) return res;
20297 : : }
20298 : : }
20299 : : }
20300 : 0 : if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
20301 : : {
20302 : 0 : if ((_q91 == _q40 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q40, 0) && types_match (_q91, _q40)))
20303 : : {
20304 : 0 : {
20305 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q41, _q40, _q31, _q21, _p1 };
20306 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, EQ_EXPR);
20307 : 0 : if (res) return res;
20308 : : }
20309 : : }
20310 : : }
20311 : : break;
20312 : : }
20313 : : default:;
20314 : : }
20315 : : }
20316 : : break;
20317 : : }
20318 : 0 : default:;
20319 : : }
20320 : 0 : if (tree_expr_nonzero_p (_q30))
20321 : : {
20322 : 0 : switch (TREE_CODE (_q31))
20323 : : {
20324 : 0 : case BIT_XOR_EXPR:
20325 : 0 : {
20326 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
20327 : 0 : tree _q51 = TREE_OPERAND (_q31, 1);
20328 : 0 : switch (TREE_CODE (_p1))
20329 : : {
20330 : 0 : case NE_EXPR:
20331 : 0 : {
20332 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
20333 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
20334 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
20335 : : {
20336 : 0 : if ((_q91 == _q51 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q51, 0) && types_match (_q91, _q51)))
20337 : : {
20338 : 0 : {
20339 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q51, _q30, _q21, _p1 };
20340 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, EQ_EXPR);
20341 : 0 : if (res) return res;
20342 : : }
20343 : : }
20344 : : }
20345 : 0 : if ((_q90 == _q51 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q51, 0) && types_match (_q90, _q51)))
20346 : : {
20347 : 0 : if ((_q91 == _q50 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q50, 0) && types_match (_q91, _q50)))
20348 : : {
20349 : 0 : {
20350 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q51, _q50, _q30, _q21, _p1 };
20351 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, EQ_EXPR);
20352 : 0 : if (res) return res;
20353 : : }
20354 : : }
20355 : : }
20356 : : break;
20357 : : }
20358 : : default:;
20359 : : }
20360 : : break;
20361 : : }
20362 : : default:;
20363 : : }
20364 : : }
20365 : : break;
20366 : : }
20367 : 457 : default:;
20368 : : }
20369 : 457 : switch (TREE_CODE (_q21))
20370 : : {
20371 : 0 : case BIT_AND_EXPR:
20372 : 0 : {
20373 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
20374 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
20375 : 0 : switch (TREE_CODE (_q40))
20376 : : {
20377 : 0 : case BIT_XOR_EXPR:
20378 : 0 : {
20379 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
20380 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
20381 : 0 : if (tree_expr_nonzero_p (_q41))
20382 : : {
20383 : 0 : switch (TREE_CODE (_p1))
20384 : : {
20385 : 0 : case NE_EXPR:
20386 : 0 : {
20387 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
20388 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
20389 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
20390 : : {
20391 : 0 : if ((_q91 == _q51 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q51, 0) && types_match (_q91, _q51)))
20392 : : {
20393 : 0 : {
20394 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q51, _q41, _q20, _p1 };
20395 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, EQ_EXPR);
20396 : 0 : if (res) return res;
20397 : : }
20398 : : }
20399 : : }
20400 : 0 : if ((_q90 == _q51 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q51, 0) && types_match (_q90, _q51)))
20401 : : {
20402 : 0 : if ((_q91 == _q50 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q50, 0) && types_match (_q91, _q50)))
20403 : : {
20404 : 0 : {
20405 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q51, _q50, _q41, _q20, _p1 };
20406 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, EQ_EXPR);
20407 : 0 : if (res) return res;
20408 : : }
20409 : : }
20410 : : }
20411 : : break;
20412 : : }
20413 : : default:;
20414 : : }
20415 : : }
20416 : : break;
20417 : : }
20418 : 0 : default:;
20419 : : }
20420 : 0 : if (tree_expr_nonzero_p (_q40))
20421 : : {
20422 : 0 : switch (TREE_CODE (_q41))
20423 : : {
20424 : 0 : case BIT_XOR_EXPR:
20425 : 0 : {
20426 : 0 : tree _q60 = TREE_OPERAND (_q41, 0);
20427 : 0 : tree _q61 = TREE_OPERAND (_q41, 1);
20428 : 0 : switch (TREE_CODE (_p1))
20429 : : {
20430 : 0 : case NE_EXPR:
20431 : 0 : {
20432 : 0 : tree _q90 = TREE_OPERAND (_p1, 0);
20433 : 0 : tree _q91 = TREE_OPERAND (_p1, 1);
20434 : 0 : if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
20435 : : {
20436 : 0 : if ((_q91 == _q61 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q61, 0) && types_match (_q91, _q61)))
20437 : : {
20438 : 0 : {
20439 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q60, _q61, _q40, _q20, _p1 };
20440 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, EQ_EXPR);
20441 : 0 : if (res) return res;
20442 : : }
20443 : : }
20444 : : }
20445 : 0 : if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
20446 : : {
20447 : 0 : if ((_q91 == _q60 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q60, 0) && types_match (_q91, _q60)))
20448 : : {
20449 : 0 : {
20450 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _q61, _q60, _q40, _q20, _p1 };
20451 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, EQ_EXPR);
20452 : 0 : if (res) return res;
20453 : : }
20454 : : }
20455 : : }
20456 : : break;
20457 : : }
20458 : : default:;
20459 : : }
20460 : : break;
20461 : : }
20462 : : default:;
20463 : : }
20464 : : }
20465 : : break;
20466 : : }
20467 : 457 : default:;
20468 : : }
20469 : 457 : switch (TREE_CODE (_q20))
20470 : : {
20471 : 0 : case BIT_XOR_EXPR:
20472 : 0 : {
20473 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
20474 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
20475 : 0 : switch (TREE_CODE (_p1))
20476 : : {
20477 : 0 : case NE_EXPR:
20478 : 0 : {
20479 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
20480 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
20481 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
20482 : : {
20483 : 0 : if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
20484 : : {
20485 : 0 : {
20486 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q21, _p1 };
20487 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, EQ_EXPR);
20488 : 0 : if (res) return res;
20489 : : }
20490 : : }
20491 : : }
20492 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
20493 : : {
20494 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
20495 : : {
20496 : 0 : {
20497 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q21, _p1 };
20498 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, EQ_EXPR);
20499 : 0 : if (res) return res;
20500 : : }
20501 : : }
20502 : : }
20503 : : break;
20504 : : }
20505 : : default:;
20506 : : }
20507 : : break;
20508 : : }
20509 : 457 : default:;
20510 : : }
20511 : 457 : switch (TREE_CODE (_q21))
20512 : : {
20513 : 0 : case BIT_XOR_EXPR:
20514 : 0 : {
20515 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
20516 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
20517 : 0 : switch (TREE_CODE (_p1))
20518 : : {
20519 : 0 : case NE_EXPR:
20520 : 0 : {
20521 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
20522 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
20523 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
20524 : : {
20525 : 0 : if ((_q71 == _q41 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q41, 0) && types_match (_q71, _q41)))
20526 : : {
20527 : 0 : {
20528 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q20, _p1 };
20529 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, EQ_EXPR);
20530 : 0 : if (res) return res;
20531 : : }
20532 : : }
20533 : : }
20534 : 0 : if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
20535 : : {
20536 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
20537 : : {
20538 : 0 : {
20539 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q40, _q20, _p1 };
20540 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, EQ_EXPR);
20541 : 0 : if (res) return res;
20542 : : }
20543 : : }
20544 : : }
20545 : : break;
20546 : : }
20547 : : default:;
20548 : : }
20549 : : break;
20550 : : }
20551 : : default:;
20552 : : }
20553 : : break;
20554 : : }
20555 : 583 : case MULT_EXPR:
20556 : 583 : {
20557 : 583 : tree _q20 = TREE_OPERAND (_p0, 0);
20558 : 583 : tree _q21 = TREE_OPERAND (_p0, 1);
20559 : 583 : switch (TREE_CODE (_q21))
20560 : : {
20561 : 553 : case INTEGER_CST:
20562 : 553 : {
20563 : 553 : switch (TREE_CODE (_p1))
20564 : : {
20565 : 7 : case MULT_EXPR:
20566 : 7 : {
20567 : 7 : tree _q50 = TREE_OPERAND (_p1, 0);
20568 : 7 : tree _q51 = TREE_OPERAND (_p1, 1);
20569 : 7 : switch (TREE_CODE (_q51))
20570 : : {
20571 : 7 : case INTEGER_CST:
20572 : 7 : {
20573 : 7 : {
20574 : 7 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1, _p1, _q50, _q51 };
20575 : 7 : tree res = generic_simplify_141 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
20576 : 7 : if (res) return res;
20577 : : }
20578 : 7 : break;
20579 : : }
20580 : : default:;
20581 : : }
20582 : : break;
20583 : : }
20584 : 0 : case LSHIFT_EXPR:
20585 : 0 : {
20586 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
20587 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
20588 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
20589 : : {
20590 : 0 : switch (TREE_CODE (_q51))
20591 : : {
20592 : 0 : case INTEGER_CST:
20593 : 0 : {
20594 : 0 : {
20595 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1, _q51 };
20596 : 0 : tree res = generic_simplify_142 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
20597 : 0 : if (res) return res;
20598 : : }
20599 : 0 : break;
20600 : : }
20601 : : default:;
20602 : : }
20603 : : }
20604 : : break;
20605 : : }
20606 : 553 : default:;
20607 : : }
20608 : 553 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
20609 : : {
20610 : 0 : {
20611 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
20612 : 0 : tree res = generic_simplify_143 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
20613 : 0 : if (res) return res;
20614 : : }
20615 : : }
20616 : : break;
20617 : : }
20618 : : default:;
20619 : : }
20620 : : break;
20621 : : }
20622 : 374139 : case LSHIFT_EXPR:
20623 : 374139 : {
20624 : 374139 : tree _q20 = TREE_OPERAND (_p0, 0);
20625 : 374139 : tree _q21 = TREE_OPERAND (_p0, 1);
20626 : 374139 : switch (TREE_CODE (_q21))
20627 : : {
20628 : 359695 : case INTEGER_CST:
20629 : 359695 : {
20630 : 359695 : switch (TREE_CODE (_p1))
20631 : : {
20632 : 0 : case MULT_EXPR:
20633 : 0 : {
20634 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
20635 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
20636 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
20637 : : {
20638 : 0 : switch (TREE_CODE (_q51))
20639 : : {
20640 : 0 : case INTEGER_CST:
20641 : 0 : {
20642 : 0 : {
20643 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _p1, _q20, _q51, _p0, _q21 };
20644 : 0 : tree res = generic_simplify_142 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
20645 : 0 : if (res) return res;
20646 : : }
20647 : 0 : break;
20648 : : }
20649 : : default:;
20650 : : }
20651 : : }
20652 : : break;
20653 : : }
20654 : 359695 : default:;
20655 : : }
20656 : 359695 : {
20657 : 359695 : tree _p1_pops[1];
20658 : 359695 : if (tree_nop_convert (_p1, _p1_pops))
20659 : : {
20660 : 308182 : tree _q50 = _p1_pops[0];
20661 : 308182 : switch (TREE_CODE (_q50))
20662 : : {
20663 : 0 : case MULT_EXPR:
20664 : 0 : {
20665 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
20666 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
20667 : 0 : {
20668 : 0 : tree _q60_pops[1];
20669 : 0 : if (tree_nop_convert (_q60, _q60_pops))
20670 : : {
20671 : 0 : tree _q70 = _q60_pops[0];
20672 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
20673 : : {
20674 : 0 : switch (TREE_CODE (_q61))
20675 : : {
20676 : 0 : case INTEGER_CST:
20677 : 0 : {
20678 : 0 : {
20679 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q50, _q20, _q61, _p0, _q21 };
20680 : 0 : tree res = generic_simplify_115 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
20681 : 0 : if (res) return res;
20682 : : }
20683 : 0 : break;
20684 : : }
20685 : : default:;
20686 : : }
20687 : : }
20688 : : }
20689 : : }
20690 : 0 : break;
20691 : : }
20692 : : default:;
20693 : : }
20694 : : }
20695 : : }
20696 : 359695 : break;
20697 : : }
20698 : : default:;
20699 : : }
20700 : : break;
20701 : : }
20702 : 1783138 : default:;
20703 : : }
20704 : 1783138 : {
20705 : 1783138 : tree _p0_pops[1];
20706 : 1783138 : if (tree_logical_inverted_value (_p0, _p0_pops))
20707 : : {
20708 : 192 : tree _q20 = _p0_pops[0];
20709 : 192 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
20710 : : {
20711 : 3 : if (tree_truth_valued_p (_p1))
20712 : : {
20713 : 3 : {
20714 : 3 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
20715 : 3 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
20716 : 3 : if (res) return res;
20717 : : }
20718 : : }
20719 : : }
20720 : : }
20721 : : }
20722 : 1783135 : if (tree_truth_valued_p (_p0))
20723 : : {
20724 : 225570 : {
20725 : 225570 : tree _p1_pops[1];
20726 : 225570 : if (tree_logical_inverted_value (_p1, _p1_pops))
20727 : : {
20728 : 62 : tree _q30 = _p1_pops[0];
20729 : 62 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
20730 : : {
20731 : 0 : {
20732 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
20733 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
20734 : 0 : if (res) return res;
20735 : : }
20736 : : }
20737 : : }
20738 : : }
20739 : : }
20740 : 1783135 : switch (TREE_CODE (_p1))
20741 : : {
20742 : 51 : case MULT_EXPR:
20743 : 51 : {
20744 : 51 : tree _q30 = TREE_OPERAND (_p1, 0);
20745 : 51 : tree _q31 = TREE_OPERAND (_p1, 1);
20746 : 51 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
20747 : : {
20748 : 0 : switch (TREE_CODE (_q31))
20749 : : {
20750 : 0 : case INTEGER_CST:
20751 : 0 : {
20752 : 0 : {
20753 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _p0, _q31 };
20754 : 0 : tree res = generic_simplify_143 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
20755 : 0 : if (res) return res;
20756 : : }
20757 : 0 : break;
20758 : : }
20759 : : default:;
20760 : : }
20761 : : }
20762 : : break;
20763 : : }
20764 : 1783135 : default:;
20765 : : }
20766 : 1783135 : {
20767 : 1783135 : tree _p1_pops[1];
20768 : 1783135 : if (tree_nop_convert (_p1, _p1_pops))
20769 : : {
20770 : 858312 : tree _q30 = _p1_pops[0];
20771 : 858312 : switch (TREE_CODE (_q30))
20772 : : {
20773 : 5 : case MULT_EXPR:
20774 : 5 : {
20775 : 5 : tree _q40 = TREE_OPERAND (_q30, 0);
20776 : 5 : tree _q41 = TREE_OPERAND (_q30, 1);
20777 : 5 : {
20778 : 5 : tree _q40_pops[1];
20779 : 5 : if (tree_nop_convert (_q40, _q40_pops))
20780 : : {
20781 : 0 : tree _q50 = _q40_pops[0];
20782 : 0 : if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
20783 : : {
20784 : 0 : switch (TREE_CODE (_q41))
20785 : : {
20786 : 0 : case INTEGER_CST:
20787 : 0 : {
20788 : 0 : {
20789 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _p0, _q41 };
20790 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
20791 : 0 : if (res) return res;
20792 : : }
20793 : 0 : break;
20794 : : }
20795 : : default:;
20796 : : }
20797 : : }
20798 : : }
20799 : : }
20800 : 5 : break;
20801 : : }
20802 : : default:;
20803 : : }
20804 : : }
20805 : : }
20806 : 1783135 : switch (TREE_CODE (_p0))
20807 : : {
20808 : 374139 : case LSHIFT_EXPR:
20809 : 374139 : {
20810 : 374139 : tree _q20 = TREE_OPERAND (_p0, 0);
20811 : 374139 : tree _q21 = TREE_OPERAND (_p0, 1);
20812 : 374139 : switch (TREE_CODE (_q21))
20813 : : {
20814 : 359695 : case INTEGER_CST:
20815 : 359695 : {
20816 : 359695 : switch (TREE_CODE (_p1))
20817 : : {
20818 : 1115 : case LSHIFT_EXPR:
20819 : 1115 : {
20820 : 1115 : tree _q50 = TREE_OPERAND (_p1, 0);
20821 : 1115 : tree _q51 = TREE_OPERAND (_p1, 1);
20822 : 1115 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
20823 : : {
20824 : 4 : switch (TREE_CODE (_q51))
20825 : : {
20826 : 4 : case INTEGER_CST:
20827 : 4 : {
20828 : 4 : {
20829 : 4 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
20830 : 4 : tree res = generic_simplify_144 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
20831 : 4 : if (res) return res;
20832 : : }
20833 : 2 : break;
20834 : : }
20835 : : default:;
20836 : : }
20837 : : }
20838 : : break;
20839 : : }
20840 : 359693 : default:;
20841 : : }
20842 : 359693 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
20843 : : {
20844 : 432 : {
20845 : 432 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
20846 : 432 : tree res = generic_simplify_145 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
20847 : 432 : if (res) return res;
20848 : : }
20849 : : }
20850 : : break;
20851 : : }
20852 : : default:;
20853 : : }
20854 : : break;
20855 : : }
20856 : 1783133 : default:;
20857 : : }
20858 : 1783133 : switch (TREE_CODE (_p1))
20859 : : {
20860 : 26519 : case LSHIFT_EXPR:
20861 : 26519 : {
20862 : 26519 : tree _q30 = TREE_OPERAND (_p1, 0);
20863 : 26519 : tree _q31 = TREE_OPERAND (_p1, 1);
20864 : 26519 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
20865 : : {
20866 : 10 : switch (TREE_CODE (_q31))
20867 : : {
20868 : 3 : case INTEGER_CST:
20869 : 3 : {
20870 : 3 : {
20871 : 3 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q31 };
20872 : 3 : tree res = generic_simplify_145 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
20873 : 3 : if (res) return res;
20874 : : }
20875 : 0 : break;
20876 : : }
20877 : : default:;
20878 : : }
20879 : : }
20880 : : break;
20881 : : }
20882 : 1783130 : default:;
20883 : : }
20884 : 1783130 : switch (TREE_CODE (_p0))
20885 : : {
20886 : 0 : case MIN_EXPR:
20887 : 0 : {
20888 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
20889 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
20890 : 0 : switch (TREE_CODE (_p1))
20891 : : {
20892 : 0 : case MAX_EXPR:
20893 : 0 : {
20894 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
20895 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
20896 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
20897 : : {
20898 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
20899 : : {
20900 : 0 : {
20901 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
20902 : 0 : if (!HONOR_NANS (captures[0])
20903 : : )
20904 : : {
20905 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1331;
20906 : 0 : {
20907 : 0 : tree res_op0;
20908 : 0 : res_op0 = captures[0];
20909 : 0 : tree res_op1;
20910 : 0 : res_op1 = captures[1];
20911 : 0 : tree _r;
20912 : 0 : _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
20913 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 894, __FILE__, __LINE__, true);
20914 : 0 : return _r;
20915 : : }
20916 : 0 : next_after_fail1331:;
20917 : : }
20918 : : }
20919 : : }
20920 : : }
20921 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
20922 : : {
20923 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
20924 : : {
20925 : 0 : {
20926 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
20927 : 0 : if (!HONOR_NANS (captures[0])
20928 : : )
20929 : : {
20930 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1332;
20931 : 0 : {
20932 : 0 : tree res_op0;
20933 : 0 : res_op0 = captures[0];
20934 : 0 : tree res_op1;
20935 : 0 : res_op1 = captures[1];
20936 : 0 : tree _r;
20937 : 0 : _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
20938 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 894, __FILE__, __LINE__, true);
20939 : 0 : return _r;
20940 : : }
20941 : 0 : next_after_fail1332:;
20942 : : }
20943 : : }
20944 : : }
20945 : : }
20946 : : break;
20947 : : }
20948 : : default:;
20949 : : }
20950 : : break;
20951 : : }
20952 : 0 : case MAX_EXPR:
20953 : 0 : {
20954 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
20955 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
20956 : 0 : switch (TREE_CODE (_p1))
20957 : : {
20958 : 0 : case MIN_EXPR:
20959 : 0 : {
20960 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
20961 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
20962 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
20963 : : {
20964 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
20965 : : {
20966 : 0 : {
20967 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
20968 : 0 : if (!HONOR_NANS (captures[0])
20969 : : )
20970 : : {
20971 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1333;
20972 : 0 : {
20973 : 0 : tree res_op0;
20974 : 0 : res_op0 = captures[0];
20975 : 0 : tree res_op1;
20976 : 0 : res_op1 = captures[1];
20977 : 0 : tree _r;
20978 : 0 : _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
20979 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 894, __FILE__, __LINE__, true);
20980 : 0 : return _r;
20981 : : }
20982 : 0 : next_after_fail1333:;
20983 : : }
20984 : : }
20985 : : }
20986 : : }
20987 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
20988 : : {
20989 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
20990 : : {
20991 : 0 : {
20992 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
20993 : 0 : if (!HONOR_NANS (captures[0])
20994 : : )
20995 : : {
20996 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1334;
20997 : 0 : {
20998 : 0 : tree res_op0;
20999 : 0 : res_op0 = captures[0];
21000 : 0 : tree res_op1;
21001 : 0 : res_op1 = captures[1];
21002 : 0 : tree _r;
21003 : 0 : _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
21004 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 894, __FILE__, __LINE__, true);
21005 : 0 : return _r;
21006 : : }
21007 : 0 : next_after_fail1334:;
21008 : : }
21009 : : }
21010 : : }
21011 : : }
21012 : : break;
21013 : : }
21014 : : default:;
21015 : : }
21016 : : break;
21017 : : }
21018 : 61 : case VEC_COND_EXPR:
21019 : 61 : {
21020 : 61 : tree _q20 = TREE_OPERAND (_p0, 0);
21021 : 61 : tree _q21 = TREE_OPERAND (_p0, 1);
21022 : 61 : tree _q22 = TREE_OPERAND (_p0, 2);
21023 : 61 : switch (TREE_CODE (_p1))
21024 : : {
21025 : 54 : case VEC_COND_EXPR:
21026 : 54 : {
21027 : 54 : tree _q60 = TREE_OPERAND (_p1, 0);
21028 : 54 : tree _q61 = TREE_OPERAND (_p1, 1);
21029 : 54 : tree _q62 = TREE_OPERAND (_p1, 2);
21030 : 54 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
21031 : : {
21032 : 0 : {
21033 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
21034 : 0 : if (VECTOR_TYPE_P (type)
21035 : 0 : && (TREE_CODE_CLASS (BIT_IOR_EXPR) != tcc_comparison
21036 : : || types_match (type, TREE_TYPE (captures[2]))
21037 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
21038 : : || (optimize_vectors_before_lowering_p ()
21039 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
21040 : : )
21041 : : {
21042 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1335;
21043 : 0 : {
21044 : 0 : tree res_op0;
21045 : 0 : res_op0 = captures[1];
21046 : 0 : tree res_op1;
21047 : 0 : {
21048 : 0 : tree _o1[2], _r1;
21049 : 0 : _o1[0] = captures[2];
21050 : 0 : _o1[1] = captures[5];
21051 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
21052 : 0 : if (EXPR_P (_r1))
21053 : 0 : goto next_after_fail1335;
21054 : 0 : res_op1 = _r1;
21055 : : }
21056 : 0 : tree res_op2;
21057 : 0 : {
21058 : 0 : tree _o1[2], _r1;
21059 : 0 : _o1[0] = captures[3];
21060 : 0 : _o1[1] = captures[6];
21061 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
21062 : 0 : if (EXPR_P (_r1))
21063 : 0 : goto next_after_fail1335;
21064 : 0 : res_op2 = _r1;
21065 : : }
21066 : 0 : tree _r;
21067 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
21068 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 898, __FILE__, __LINE__, true);
21069 : 0 : return _r;
21070 : : }
21071 : 0 : next_after_fail1335:;
21072 : : }
21073 : : }
21074 : : }
21075 : : break;
21076 : : }
21077 : 61 : default:;
21078 : : }
21079 : 61 : {
21080 : 61 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
21081 : 61 : if (VECTOR_TYPE_P (type)
21082 : 61 : && (TREE_CODE_CLASS (BIT_IOR_EXPR) != tcc_comparison
21083 : : || types_match (type, TREE_TYPE (captures[2]))
21084 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
21085 : : || (optimize_vectors_before_lowering_p ()
21086 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
21087 : : )
21088 : : {
21089 : 61 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1336;
21090 : 61 : {
21091 : 61 : if (! tree_invariant_p (captures[4])) goto next_after_fail1336;
21092 : 1 : tree res_op0;
21093 : 1 : res_op0 = captures[1];
21094 : 1 : tree res_op1;
21095 : 1 : {
21096 : 1 : tree _o1[2], _r1;
21097 : 1 : _o1[0] = captures[2];
21098 : 1 : _o1[1] = unshare_expr (captures[4]);
21099 : 1 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
21100 : 1 : if (EXPR_P (_r1))
21101 : 0 : goto next_after_fail1336;
21102 : 1 : res_op1 = _r1;
21103 : : }
21104 : 1 : tree res_op2;
21105 : 1 : {
21106 : 1 : tree _o1[2], _r1;
21107 : 1 : _o1[0] = captures[3];
21108 : 1 : _o1[1] = captures[4];
21109 : 1 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
21110 : 1 : if (EXPR_P (_r1))
21111 : 0 : goto next_after_fail1336;
21112 : 1 : res_op2 = _r1;
21113 : : }
21114 : 1 : tree _r;
21115 : 1 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
21116 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 899, __FILE__, __LINE__, true);
21117 : 1 : return _r;
21118 : : }
21119 : 60 : next_after_fail1336:;
21120 : : }
21121 : : }
21122 : 60 : break;
21123 : : }
21124 : 1783129 : default:;
21125 : : }
21126 : 1783129 : switch (TREE_CODE (_p1))
21127 : : {
21128 : 56 : case VEC_COND_EXPR:
21129 : 56 : {
21130 : 56 : tree _q30 = TREE_OPERAND (_p1, 0);
21131 : 56 : tree _q31 = TREE_OPERAND (_p1, 1);
21132 : 56 : tree _q32 = TREE_OPERAND (_p1, 2);
21133 : 56 : {
21134 : 56 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
21135 : 56 : if (VECTOR_TYPE_P (type)
21136 : 56 : && (TREE_CODE_CLASS (BIT_IOR_EXPR) != tcc_comparison
21137 : : || types_match (type, TREE_TYPE (captures[3]))
21138 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
21139 : : || (optimize_vectors_before_lowering_p ()
21140 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
21141 : : )
21142 : : {
21143 : 56 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1337;
21144 : 56 : {
21145 : 56 : if (! tree_invariant_p (captures[0])) goto next_after_fail1337;
21146 : 0 : tree res_op0;
21147 : 0 : res_op0 = captures[2];
21148 : 0 : tree res_op1;
21149 : 0 : {
21150 : 0 : tree _o1[2], _r1;
21151 : 0 : _o1[0] = unshare_expr (captures[0]);
21152 : 0 : _o1[1] = captures[3];
21153 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
21154 : 0 : if (EXPR_P (_r1))
21155 : 0 : goto next_after_fail1337;
21156 : 0 : res_op1 = _r1;
21157 : : }
21158 : 0 : tree res_op2;
21159 : 0 : {
21160 : 0 : tree _o1[2], _r1;
21161 : 0 : _o1[0] = captures[0];
21162 : 0 : _o1[1] = captures[4];
21163 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
21164 : 0 : if (EXPR_P (_r1))
21165 : 0 : goto next_after_fail1337;
21166 : 0 : res_op2 = _r1;
21167 : : }
21168 : 0 : tree _r;
21169 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
21170 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 900, __FILE__, __LINE__, true);
21171 : 0 : return _r;
21172 : : }
21173 : 56 : next_after_fail1337:;
21174 : : }
21175 : : }
21176 : 56 : break;
21177 : : }
21178 : 1783129 : default:;
21179 : : }
21180 : 1783129 : switch (TREE_CODE (_p0))
21181 : : {
21182 : 16 : case UNORDERED_EXPR:
21183 : 16 : {
21184 : 16 : tree _q20 = TREE_OPERAND (_p0, 0);
21185 : 16 : tree _q21 = TREE_OPERAND (_p0, 1);
21186 : 16 : if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
21187 : : {
21188 : 0 : switch (TREE_CODE (_p1))
21189 : : {
21190 : 0 : case UNORDERED_EXPR:
21191 : 0 : {
21192 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
21193 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
21194 : 0 : if ((_q51 == _q50 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q50, 0) && types_match (_q51, _q50)))
21195 : : {
21196 : 0 : {
21197 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
21198 : 0 : if (types_match (captures[0], captures[1])
21199 : : )
21200 : : {
21201 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1338;
21202 : 0 : {
21203 : 0 : tree res_op0;
21204 : 0 : res_op0 = captures[0];
21205 : 0 : tree res_op1;
21206 : 0 : res_op1 = captures[1];
21207 : 0 : tree _r;
21208 : 0 : _r = fold_build2_loc (loc, UNORDERED_EXPR, type, res_op0, res_op1);
21209 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 942, __FILE__, __LINE__, true);
21210 : 0 : return _r;
21211 : : }
21212 : 0 : next_after_fail1338:;
21213 : : }
21214 : : }
21215 : : }
21216 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
21217 : : {
21218 : 0 : {
21219 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _q51 };
21220 : 0 : tree res = generic_simplify_146 (loc, type, _p0, _p1, captures);
21221 : 0 : if (res) return res;
21222 : : }
21223 : : }
21224 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
21225 : : {
21226 : 0 : {
21227 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _q50 };
21228 : 0 : tree res = generic_simplify_146 (loc, type, _p0, _p1, captures);
21229 : 0 : if (res) return res;
21230 : : }
21231 : : }
21232 : : break;
21233 : : }
21234 : : default:;
21235 : : }
21236 : : }
21237 : 16 : switch (TREE_CODE (_p1))
21238 : : {
21239 : 0 : case UNORDERED_EXPR:
21240 : 0 : {
21241 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
21242 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
21243 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
21244 : : {
21245 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
21246 : : {
21247 : 0 : {
21248 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
21249 : 0 : tree res = generic_simplify_147 (loc, type, _p0, _p1, captures);
21250 : 0 : if (res) return res;
21251 : : }
21252 : : }
21253 : : }
21254 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
21255 : : {
21256 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
21257 : : {
21258 : 0 : {
21259 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _p0, _q20 };
21260 : 0 : tree res = generic_simplify_147 (loc, type, _p0, _p1, captures);
21261 : 0 : if (res) return res;
21262 : : }
21263 : : }
21264 : : }
21265 : : break;
21266 : : }
21267 : : default:;
21268 : : }
21269 : : break;
21270 : : }
21271 : 90 : case LT_EXPR:
21272 : 90 : {
21273 : 90 : tree _q20 = TREE_OPERAND (_p0, 0);
21274 : 90 : tree _q21 = TREE_OPERAND (_p0, 1);
21275 : 90 : switch (TREE_CODE (_p1))
21276 : : {
21277 : 27 : case LT_EXPR:
21278 : 27 : {
21279 : 27 : tree _q50 = TREE_OPERAND (_p1, 0);
21280 : 27 : tree _q51 = TREE_OPERAND (_p1, 1);
21281 : 27 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
21282 : : {
21283 : 0 : {
21284 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
21285 : 0 : tree res = generic_simplify_148 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LT_EXPR, MAX_EXPR);
21286 : 0 : if (res) return res;
21287 : : }
21288 : : }
21289 : 27 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
21290 : : {
21291 : 0 : {
21292 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50 };
21293 : 0 : tree res = generic_simplify_148 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GT_EXPR, MIN_EXPR);
21294 : 0 : if (res) return res;
21295 : : }
21296 : : }
21297 : : break;
21298 : : }
21299 : 0 : case GT_EXPR:
21300 : 0 : {
21301 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
21302 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
21303 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
21304 : : {
21305 : 0 : {
21306 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
21307 : 0 : tree res = generic_simplify_148 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LT_EXPR, MAX_EXPR);
21308 : 0 : if (res) return res;
21309 : : }
21310 : : }
21311 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
21312 : : {
21313 : 0 : {
21314 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51 };
21315 : 0 : tree res = generic_simplify_148 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GT_EXPR, MIN_EXPR);
21316 : 0 : if (res) return res;
21317 : : }
21318 : : }
21319 : : break;
21320 : : }
21321 : 90 : default:;
21322 : : }
21323 : 90 : switch (TREE_CODE (_q20))
21324 : : {
21325 : 2 : case POINTER_PLUS_EXPR:
21326 : 2 : {
21327 : 2 : tree _q30 = TREE_OPERAND (_q20, 0);
21328 : 2 : tree _q31 = TREE_OPERAND (_q20, 1);
21329 : 2 : switch (TREE_CODE (_q31))
21330 : : {
21331 : 2 : case INTEGER_CST:
21332 : 2 : {
21333 : 2 : switch (TREE_CODE (_p1))
21334 : : {
21335 : 2 : case LT_EXPR:
21336 : 2 : {
21337 : 2 : tree _q70 = TREE_OPERAND (_p1, 0);
21338 : 2 : tree _q71 = TREE_OPERAND (_p1, 1);
21339 : 2 : switch (TREE_CODE (_q70))
21340 : : {
21341 : 2 : case POINTER_PLUS_EXPR:
21342 : 2 : {
21343 : 2 : tree _q80 = TREE_OPERAND (_q70, 0);
21344 : 2 : tree _q81 = TREE_OPERAND (_q70, 1);
21345 : 2 : if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
21346 : : {
21347 : 2 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
21348 : : {
21349 : 2 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
21350 : : {
21351 : 2 : {
21352 : 2 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q70 };
21353 : 2 : const enum tree_code cmp = LT_EXPR;
21354 : 2 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
21355 : 1 : && TYPE_OVERFLOW_WRAPS (sizetype)
21356 : 3 : && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
21357 : : )
21358 : : {
21359 : 1 : {
21360 : 1 : offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
21361 : 1 : offset_int rhs = off * 2;
21362 : 1 : if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
21363 : : )
21364 : : {
21365 : 1 : {
21366 : 1 : bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
21367 : 1 : tree rhs_tree = wide_int_to_tree (sizetype, rhs);
21368 : 1 : if (cmp == LT_EXPR
21369 : : )
21370 : : {
21371 : 1 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1339;
21372 : 1 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1339;
21373 : 1 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1339;
21374 : 1 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1339;
21375 : 1 : if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1339;
21376 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1339;
21377 : 1 : {
21378 : 1 : tree res_op0;
21379 : 1 : {
21380 : 1 : tree _o1[1], _r1;
21381 : 1 : {
21382 : 1 : tree _o2[2], _r2;
21383 : 1 : _o2[0] = swap_p ? captures[6] : captures[1];
21384 : 1 : _o2[1] = swap_p ? captures[2] : captures[4];
21385 : 1 : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
21386 : 1 : _o1[0] = _r2;
21387 : : }
21388 : 1 : if (TREE_TYPE (_o1[0]) != sizetype)
21389 : : {
21390 : 1 : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
21391 : : }
21392 : : else
21393 : : _r1 = _o1[0];
21394 : 1 : res_op0 = _r1;
21395 : : }
21396 : 1 : tree res_op1;
21397 : 1 : res_op1 = rhs_tree;
21398 : 1 : tree _r;
21399 : 1 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
21400 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 943, __FILE__, __LINE__, true);
21401 : 1 : return _r;
21402 : : }
21403 : 0 : next_after_fail1339:;
21404 : : }
21405 : : else
21406 : : {
21407 : : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1340;
21408 : : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1340;
21409 : : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1340;
21410 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1340;
21411 : : {
21412 : : tree res_op0;
21413 : : {
21414 : : tree _o1[1], _r1;
21415 : : {
21416 : : tree _o2[2], _r2;
21417 : : {
21418 : : tree _o3[2], _r3;
21419 : : _o3[0] = swap_p ? captures[4] : captures[2];
21420 : : _o3[1] = wide_int_to_tree (sizetype, off);
21421 : : _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
21422 : : _o2[0] = _r3;
21423 : : }
21424 : : _o2[1] = swap_p ? captures[2] : captures[4];
21425 : : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
21426 : : _o1[0] = _r2;
21427 : : }
21428 : : if (TREE_TYPE (_o1[0]) != sizetype)
21429 : : {
21430 : : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
21431 : : }
21432 : : else
21433 : : _r1 = _o1[0];
21434 : : res_op0 = _r1;
21435 : : }
21436 : : tree res_op1;
21437 : : res_op1 = rhs_tree;
21438 : : tree _r;
21439 : : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
21440 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 944, __FILE__, __LINE__, true);
21441 : : return _r;
21442 : : }
21443 : : next_after_fail1340:;
21444 : : }
21445 : : }
21446 : : }
21447 : : }
21448 : : }
21449 : : }
21450 : : }
21451 : : }
21452 : : }
21453 : : break;
21454 : : }
21455 : : default:;
21456 : : }
21457 : : break;
21458 : : }
21459 : 0 : case GT_EXPR:
21460 : 0 : {
21461 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
21462 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
21463 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
21464 : : {
21465 : 0 : switch (TREE_CODE (_q71))
21466 : : {
21467 : 0 : case POINTER_PLUS_EXPR:
21468 : 0 : {
21469 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
21470 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
21471 : 0 : if ((_q90 == _q21 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q21, 0) && types_match (_q90, _q21)))
21472 : : {
21473 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
21474 : : {
21475 : 0 : {
21476 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q71 };
21477 : 0 : const enum tree_code cmp = LT_EXPR;
21478 : 0 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
21479 : 0 : && TYPE_OVERFLOW_WRAPS (sizetype)
21480 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
21481 : : )
21482 : : {
21483 : 0 : {
21484 : 0 : offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
21485 : 0 : offset_int rhs = off * 2;
21486 : 0 : if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
21487 : : )
21488 : : {
21489 : 0 : {
21490 : 0 : bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
21491 : 0 : tree rhs_tree = wide_int_to_tree (sizetype, rhs);
21492 : 0 : if (cmp == LT_EXPR
21493 : : )
21494 : : {
21495 : 0 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1341;
21496 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1341;
21497 : 0 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1341;
21498 : 0 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1341;
21499 : 0 : if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1341;
21500 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1341;
21501 : 0 : {
21502 : 0 : tree res_op0;
21503 : 0 : {
21504 : 0 : tree _o1[1], _r1;
21505 : 0 : {
21506 : 0 : tree _o2[2], _r2;
21507 : 0 : _o2[0] = swap_p ? captures[6] : captures[1];
21508 : 0 : _o2[1] = swap_p ? captures[2] : captures[4];
21509 : 0 : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
21510 : 0 : _o1[0] = _r2;
21511 : : }
21512 : 0 : if (TREE_TYPE (_o1[0]) != sizetype)
21513 : : {
21514 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
21515 : : }
21516 : : else
21517 : : _r1 = _o1[0];
21518 : 0 : res_op0 = _r1;
21519 : : }
21520 : 0 : tree res_op1;
21521 : 0 : res_op1 = rhs_tree;
21522 : 0 : tree _r;
21523 : 0 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
21524 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 943, __FILE__, __LINE__, true);
21525 : 0 : return _r;
21526 : : }
21527 : 0 : next_after_fail1341:;
21528 : : }
21529 : : else
21530 : : {
21531 : : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1342;
21532 : : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1342;
21533 : : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1342;
21534 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1342;
21535 : : {
21536 : : tree res_op0;
21537 : : {
21538 : : tree _o1[1], _r1;
21539 : : {
21540 : : tree _o2[2], _r2;
21541 : : {
21542 : : tree _o3[2], _r3;
21543 : : _o3[0] = swap_p ? captures[4] : captures[2];
21544 : : _o3[1] = wide_int_to_tree (sizetype, off);
21545 : : _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
21546 : : _o2[0] = _r3;
21547 : : }
21548 : : _o2[1] = swap_p ? captures[2] : captures[4];
21549 : : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
21550 : : _o1[0] = _r2;
21551 : : }
21552 : : if (TREE_TYPE (_o1[0]) != sizetype)
21553 : : {
21554 : : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
21555 : : }
21556 : : else
21557 : : _r1 = _o1[0];
21558 : : res_op0 = _r1;
21559 : : }
21560 : : tree res_op1;
21561 : : res_op1 = rhs_tree;
21562 : : tree _r;
21563 : : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
21564 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 944, __FILE__, __LINE__, true);
21565 : : return _r;
21566 : : }
21567 : : next_after_fail1342:;
21568 : : }
21569 : : }
21570 : : }
21571 : : }
21572 : : }
21573 : : }
21574 : : }
21575 : : }
21576 : : break;
21577 : : }
21578 : : default:;
21579 : : }
21580 : : }
21581 : : break;
21582 : : }
21583 : : default:;
21584 : : }
21585 : : break;
21586 : : }
21587 : : default:;
21588 : : }
21589 : : break;
21590 : : }
21591 : : default:;
21592 : : }
21593 : : break;
21594 : : }
21595 : 135 : case LE_EXPR:
21596 : 135 : {
21597 : 135 : tree _q20 = TREE_OPERAND (_p0, 0);
21598 : 135 : tree _q21 = TREE_OPERAND (_p0, 1);
21599 : 135 : switch (TREE_CODE (_p1))
21600 : : {
21601 : 2 : case LE_EXPR:
21602 : 2 : {
21603 : 2 : tree _q50 = TREE_OPERAND (_p1, 0);
21604 : 2 : tree _q51 = TREE_OPERAND (_p1, 1);
21605 : 2 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
21606 : : {
21607 : 0 : {
21608 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
21609 : 0 : tree res = generic_simplify_148 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LE_EXPR, MAX_EXPR);
21610 : 0 : if (res) return res;
21611 : : }
21612 : : }
21613 : 2 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
21614 : : {
21615 : 0 : {
21616 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50 };
21617 : 0 : tree res = generic_simplify_148 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GE_EXPR, MIN_EXPR);
21618 : 0 : if (res) return res;
21619 : : }
21620 : : }
21621 : : break;
21622 : : }
21623 : 1 : case GE_EXPR:
21624 : 1 : {
21625 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
21626 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
21627 : 1 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
21628 : : {
21629 : 0 : {
21630 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
21631 : 0 : tree res = generic_simplify_148 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LE_EXPR, MAX_EXPR);
21632 : 0 : if (res) return res;
21633 : : }
21634 : : }
21635 : 1 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
21636 : : {
21637 : 0 : {
21638 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51 };
21639 : 0 : tree res = generic_simplify_148 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GE_EXPR, MIN_EXPR);
21640 : 0 : if (res) return res;
21641 : : }
21642 : : }
21643 : : break;
21644 : : }
21645 : 135 : default:;
21646 : : }
21647 : 135 : switch (TREE_CODE (_q20))
21648 : : {
21649 : 2 : case POINTER_PLUS_EXPR:
21650 : 2 : {
21651 : 2 : tree _q30 = TREE_OPERAND (_q20, 0);
21652 : 2 : tree _q31 = TREE_OPERAND (_q20, 1);
21653 : 2 : switch (TREE_CODE (_q31))
21654 : : {
21655 : 2 : case INTEGER_CST:
21656 : 2 : {
21657 : 2 : switch (TREE_CODE (_p1))
21658 : : {
21659 : 2 : case LE_EXPR:
21660 : 2 : {
21661 : 2 : tree _q70 = TREE_OPERAND (_p1, 0);
21662 : 2 : tree _q71 = TREE_OPERAND (_p1, 1);
21663 : 2 : switch (TREE_CODE (_q70))
21664 : : {
21665 : 2 : case POINTER_PLUS_EXPR:
21666 : 2 : {
21667 : 2 : tree _q80 = TREE_OPERAND (_q70, 0);
21668 : 2 : tree _q81 = TREE_OPERAND (_q70, 1);
21669 : 2 : if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
21670 : : {
21671 : 2 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
21672 : : {
21673 : 2 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
21674 : : {
21675 : 2 : {
21676 : 2 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q70 };
21677 : 2 : const enum tree_code cmp = LE_EXPR;
21678 : 2 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
21679 : 1 : && TYPE_OVERFLOW_WRAPS (sizetype)
21680 : 3 : && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
21681 : : )
21682 : : {
21683 : 1 : {
21684 : 1 : offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
21685 : 1 : offset_int rhs = off * 2;
21686 : 1 : if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
21687 : : )
21688 : : {
21689 : 1 : {
21690 : 1 : bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
21691 : 1 : tree rhs_tree = wide_int_to_tree (sizetype, rhs);
21692 : 1 : if (cmp == LT_EXPR
21693 : : )
21694 : : {
21695 : : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1343;
21696 : : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1343;
21697 : : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1343;
21698 : : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1343;
21699 : : if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1343;
21700 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1343;
21701 : : {
21702 : : tree res_op0;
21703 : : {
21704 : : tree _o1[1], _r1;
21705 : : {
21706 : : tree _o2[2], _r2;
21707 : : _o2[0] = swap_p ? captures[6] : captures[1];
21708 : : _o2[1] = swap_p ? captures[2] : captures[4];
21709 : : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
21710 : : _o1[0] = _r2;
21711 : : }
21712 : : if (TREE_TYPE (_o1[0]) != sizetype)
21713 : : {
21714 : : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
21715 : : }
21716 : : else
21717 : : _r1 = _o1[0];
21718 : : res_op0 = _r1;
21719 : : }
21720 : : tree res_op1;
21721 : : res_op1 = rhs_tree;
21722 : : tree _r;
21723 : : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
21724 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 943, __FILE__, __LINE__, true);
21725 : 1 : return _r;
21726 : : }
21727 : : next_after_fail1343:;
21728 : : }
21729 : : else
21730 : : {
21731 : 1 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1344;
21732 : 1 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1344;
21733 : 1 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1344;
21734 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1344;
21735 : 1 : {
21736 : 1 : tree res_op0;
21737 : 1 : {
21738 : 1 : tree _o1[1], _r1;
21739 : 1 : {
21740 : 1 : tree _o2[2], _r2;
21741 : 1 : {
21742 : 1 : tree _o3[2], _r3;
21743 : 1 : _o3[0] = swap_p ? captures[4] : captures[2];
21744 : 1 : _o3[1] = wide_int_to_tree (sizetype, off);
21745 : 1 : _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
21746 : 1 : _o2[0] = _r3;
21747 : : }
21748 : 1 : _o2[1] = swap_p ? captures[2] : captures[4];
21749 : 1 : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
21750 : 1 : _o1[0] = _r2;
21751 : : }
21752 : 1 : if (TREE_TYPE (_o1[0]) != sizetype)
21753 : : {
21754 : 1 : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
21755 : : }
21756 : : else
21757 : : _r1 = _o1[0];
21758 : 1 : res_op0 = _r1;
21759 : : }
21760 : 1 : tree res_op1;
21761 : 1 : res_op1 = rhs_tree;
21762 : 1 : tree _r;
21763 : 1 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
21764 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 944, __FILE__, __LINE__, true);
21765 : 1 : return _r;
21766 : : }
21767 : 0 : next_after_fail1344:;
21768 : : }
21769 : : }
21770 : : }
21771 : : }
21772 : : }
21773 : : }
21774 : : }
21775 : : }
21776 : : }
21777 : : break;
21778 : : }
21779 : : default:;
21780 : : }
21781 : : break;
21782 : : }
21783 : 0 : case GE_EXPR:
21784 : 0 : {
21785 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
21786 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
21787 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
21788 : : {
21789 : 0 : switch (TREE_CODE (_q71))
21790 : : {
21791 : 0 : case POINTER_PLUS_EXPR:
21792 : 0 : {
21793 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
21794 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
21795 : 0 : if ((_q90 == _q21 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q21, 0) && types_match (_q90, _q21)))
21796 : : {
21797 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
21798 : : {
21799 : 0 : {
21800 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q71 };
21801 : 0 : const enum tree_code cmp = LE_EXPR;
21802 : 0 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
21803 : 0 : && TYPE_OVERFLOW_WRAPS (sizetype)
21804 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
21805 : : )
21806 : : {
21807 : 0 : {
21808 : 0 : offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
21809 : 0 : offset_int rhs = off * 2;
21810 : 0 : if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
21811 : : )
21812 : : {
21813 : 0 : {
21814 : 0 : bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
21815 : 0 : tree rhs_tree = wide_int_to_tree (sizetype, rhs);
21816 : 0 : if (cmp == LT_EXPR
21817 : : )
21818 : : {
21819 : : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1345;
21820 : : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1345;
21821 : : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1345;
21822 : : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1345;
21823 : : if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1345;
21824 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1345;
21825 : : {
21826 : : tree res_op0;
21827 : : {
21828 : : tree _o1[1], _r1;
21829 : : {
21830 : : tree _o2[2], _r2;
21831 : : _o2[0] = swap_p ? captures[6] : captures[1];
21832 : : _o2[1] = swap_p ? captures[2] : captures[4];
21833 : : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
21834 : : _o1[0] = _r2;
21835 : : }
21836 : : if (TREE_TYPE (_o1[0]) != sizetype)
21837 : : {
21838 : : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
21839 : : }
21840 : : else
21841 : : _r1 = _o1[0];
21842 : : res_op0 = _r1;
21843 : : }
21844 : : tree res_op1;
21845 : : res_op1 = rhs_tree;
21846 : : tree _r;
21847 : : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
21848 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 943, __FILE__, __LINE__, true);
21849 : 0 : return _r;
21850 : : }
21851 : : next_after_fail1345:;
21852 : : }
21853 : : else
21854 : : {
21855 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1346;
21856 : 0 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1346;
21857 : 0 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1346;
21858 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1346;
21859 : 0 : {
21860 : 0 : tree res_op0;
21861 : 0 : {
21862 : 0 : tree _o1[1], _r1;
21863 : 0 : {
21864 : 0 : tree _o2[2], _r2;
21865 : 0 : {
21866 : 0 : tree _o3[2], _r3;
21867 : 0 : _o3[0] = swap_p ? captures[4] : captures[2];
21868 : 0 : _o3[1] = wide_int_to_tree (sizetype, off);
21869 : 0 : _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
21870 : 0 : _o2[0] = _r3;
21871 : : }
21872 : 0 : _o2[1] = swap_p ? captures[2] : captures[4];
21873 : 0 : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
21874 : 0 : _o1[0] = _r2;
21875 : : }
21876 : 0 : if (TREE_TYPE (_o1[0]) != sizetype)
21877 : : {
21878 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
21879 : : }
21880 : : else
21881 : : _r1 = _o1[0];
21882 : 0 : res_op0 = _r1;
21883 : : }
21884 : 0 : tree res_op1;
21885 : 0 : res_op1 = rhs_tree;
21886 : 0 : tree _r;
21887 : 0 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
21888 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 944, __FILE__, __LINE__, true);
21889 : 0 : return _r;
21890 : : }
21891 : 0 : next_after_fail1346:;
21892 : : }
21893 : : }
21894 : : }
21895 : : }
21896 : : }
21897 : : }
21898 : : }
21899 : : }
21900 : : break;
21901 : : }
21902 : : default:;
21903 : : }
21904 : : }
21905 : : break;
21906 : : }
21907 : : default:;
21908 : : }
21909 : : break;
21910 : : }
21911 : : default:;
21912 : : }
21913 : : break;
21914 : : }
21915 : : default:;
21916 : : }
21917 : : break;
21918 : : }
21919 : 130 : case GT_EXPR:
21920 : 130 : {
21921 : 130 : tree _q20 = TREE_OPERAND (_p0, 0);
21922 : 130 : tree _q21 = TREE_OPERAND (_p0, 1);
21923 : 130 : switch (TREE_CODE (_p1))
21924 : : {
21925 : 0 : case GT_EXPR:
21926 : 0 : {
21927 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
21928 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
21929 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
21930 : : {
21931 : 0 : {
21932 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
21933 : 0 : tree res = generic_simplify_148 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GT_EXPR, MIN_EXPR);
21934 : 0 : if (res) return res;
21935 : : }
21936 : : }
21937 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
21938 : : {
21939 : 0 : {
21940 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50 };
21941 : 0 : tree res = generic_simplify_148 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LT_EXPR, MAX_EXPR);
21942 : 0 : if (res) return res;
21943 : : }
21944 : : }
21945 : : break;
21946 : : }
21947 : 0 : case LT_EXPR:
21948 : 0 : {
21949 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
21950 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
21951 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
21952 : : {
21953 : 0 : {
21954 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
21955 : 0 : tree res = generic_simplify_148 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GT_EXPR, MIN_EXPR);
21956 : 0 : if (res) return res;
21957 : : }
21958 : : }
21959 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
21960 : : {
21961 : 0 : {
21962 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51 };
21963 : 0 : tree res = generic_simplify_148 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LT_EXPR, MAX_EXPR);
21964 : 0 : if (res) return res;
21965 : : }
21966 : : }
21967 : : break;
21968 : : }
21969 : 130 : default:;
21970 : : }
21971 : 130 : switch (TREE_CODE (_q21))
21972 : : {
21973 : 0 : case POINTER_PLUS_EXPR:
21974 : 0 : {
21975 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
21976 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
21977 : 0 : switch (TREE_CODE (_q41))
21978 : : {
21979 : 0 : case INTEGER_CST:
21980 : 0 : {
21981 : 0 : switch (TREE_CODE (_p1))
21982 : : {
21983 : 0 : case LT_EXPR:
21984 : 0 : {
21985 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
21986 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
21987 : 0 : switch (TREE_CODE (_q70))
21988 : : {
21989 : 0 : case POINTER_PLUS_EXPR:
21990 : 0 : {
21991 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
21992 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
21993 : 0 : if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
21994 : : {
21995 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
21996 : : {
21997 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
21998 : : {
21999 : 0 : {
22000 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q70 };
22001 : 0 : const enum tree_code cmp = LT_EXPR;
22002 : 0 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
22003 : 0 : && TYPE_OVERFLOW_WRAPS (sizetype)
22004 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
22005 : : )
22006 : : {
22007 : 0 : {
22008 : 0 : offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
22009 : 0 : offset_int rhs = off * 2;
22010 : 0 : if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
22011 : : )
22012 : : {
22013 : 0 : {
22014 : 0 : bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
22015 : 0 : tree rhs_tree = wide_int_to_tree (sizetype, rhs);
22016 : 0 : if (cmp == LT_EXPR
22017 : : )
22018 : : {
22019 : 0 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1347;
22020 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1347;
22021 : 0 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1347;
22022 : 0 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1347;
22023 : 0 : if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1347;
22024 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1347;
22025 : 0 : {
22026 : 0 : tree res_op0;
22027 : 0 : {
22028 : 0 : tree _o1[1], _r1;
22029 : 0 : {
22030 : 0 : tree _o2[2], _r2;
22031 : 0 : _o2[0] = swap_p ? captures[6] : captures[1];
22032 : 0 : _o2[1] = swap_p ? captures[2] : captures[4];
22033 : 0 : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
22034 : 0 : _o1[0] = _r2;
22035 : : }
22036 : 0 : if (TREE_TYPE (_o1[0]) != sizetype)
22037 : : {
22038 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
22039 : : }
22040 : : else
22041 : : _r1 = _o1[0];
22042 : 0 : res_op0 = _r1;
22043 : : }
22044 : 0 : tree res_op1;
22045 : 0 : res_op1 = rhs_tree;
22046 : 0 : tree _r;
22047 : 0 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
22048 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 943, __FILE__, __LINE__, true);
22049 : 0 : return _r;
22050 : : }
22051 : 0 : next_after_fail1347:;
22052 : : }
22053 : : else
22054 : : {
22055 : : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1348;
22056 : : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1348;
22057 : : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1348;
22058 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1348;
22059 : : {
22060 : : tree res_op0;
22061 : : {
22062 : : tree _o1[1], _r1;
22063 : : {
22064 : : tree _o2[2], _r2;
22065 : : {
22066 : : tree _o3[2], _r3;
22067 : : _o3[0] = swap_p ? captures[4] : captures[2];
22068 : : _o3[1] = wide_int_to_tree (sizetype, off);
22069 : : _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
22070 : : _o2[0] = _r3;
22071 : : }
22072 : : _o2[1] = swap_p ? captures[2] : captures[4];
22073 : : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
22074 : : _o1[0] = _r2;
22075 : : }
22076 : : if (TREE_TYPE (_o1[0]) != sizetype)
22077 : : {
22078 : : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
22079 : : }
22080 : : else
22081 : : _r1 = _o1[0];
22082 : : res_op0 = _r1;
22083 : : }
22084 : : tree res_op1;
22085 : : res_op1 = rhs_tree;
22086 : : tree _r;
22087 : : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
22088 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 944, __FILE__, __LINE__, true);
22089 : : return _r;
22090 : : }
22091 : : next_after_fail1348:;
22092 : : }
22093 : : }
22094 : : }
22095 : : }
22096 : : }
22097 : : }
22098 : : }
22099 : : }
22100 : : }
22101 : : break;
22102 : : }
22103 : : default:;
22104 : : }
22105 : : break;
22106 : : }
22107 : 0 : case GT_EXPR:
22108 : 0 : {
22109 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
22110 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
22111 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
22112 : : {
22113 : 0 : switch (TREE_CODE (_q71))
22114 : : {
22115 : 0 : case POINTER_PLUS_EXPR:
22116 : 0 : {
22117 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
22118 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
22119 : 0 : if ((_q90 == _q20 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q20, 0) && types_match (_q90, _q20)))
22120 : : {
22121 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
22122 : : {
22123 : 0 : {
22124 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q71 };
22125 : 0 : const enum tree_code cmp = LT_EXPR;
22126 : 0 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
22127 : 0 : && TYPE_OVERFLOW_WRAPS (sizetype)
22128 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
22129 : : )
22130 : : {
22131 : 0 : {
22132 : 0 : offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
22133 : 0 : offset_int rhs = off * 2;
22134 : 0 : if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
22135 : : )
22136 : : {
22137 : 0 : {
22138 : 0 : bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
22139 : 0 : tree rhs_tree = wide_int_to_tree (sizetype, rhs);
22140 : 0 : if (cmp == LT_EXPR
22141 : : )
22142 : : {
22143 : 0 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1349;
22144 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1349;
22145 : 0 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1349;
22146 : 0 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1349;
22147 : 0 : if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1349;
22148 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1349;
22149 : 0 : {
22150 : 0 : tree res_op0;
22151 : 0 : {
22152 : 0 : tree _o1[1], _r1;
22153 : 0 : {
22154 : 0 : tree _o2[2], _r2;
22155 : 0 : _o2[0] = swap_p ? captures[6] : captures[1];
22156 : 0 : _o2[1] = swap_p ? captures[2] : captures[4];
22157 : 0 : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
22158 : 0 : _o1[0] = _r2;
22159 : : }
22160 : 0 : if (TREE_TYPE (_o1[0]) != sizetype)
22161 : : {
22162 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
22163 : : }
22164 : : else
22165 : : _r1 = _o1[0];
22166 : 0 : res_op0 = _r1;
22167 : : }
22168 : 0 : tree res_op1;
22169 : 0 : res_op1 = rhs_tree;
22170 : 0 : tree _r;
22171 : 0 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
22172 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 943, __FILE__, __LINE__, true);
22173 : 0 : return _r;
22174 : : }
22175 : 0 : next_after_fail1349:;
22176 : : }
22177 : : else
22178 : : {
22179 : : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1350;
22180 : : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1350;
22181 : : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1350;
22182 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1350;
22183 : : {
22184 : : tree res_op0;
22185 : : {
22186 : : tree _o1[1], _r1;
22187 : : {
22188 : : tree _o2[2], _r2;
22189 : : {
22190 : : tree _o3[2], _r3;
22191 : : _o3[0] = swap_p ? captures[4] : captures[2];
22192 : : _o3[1] = wide_int_to_tree (sizetype, off);
22193 : : _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
22194 : : _o2[0] = _r3;
22195 : : }
22196 : : _o2[1] = swap_p ? captures[2] : captures[4];
22197 : : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
22198 : : _o1[0] = _r2;
22199 : : }
22200 : : if (TREE_TYPE (_o1[0]) != sizetype)
22201 : : {
22202 : : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
22203 : : }
22204 : : else
22205 : : _r1 = _o1[0];
22206 : : res_op0 = _r1;
22207 : : }
22208 : : tree res_op1;
22209 : : res_op1 = rhs_tree;
22210 : : tree _r;
22211 : : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
22212 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 944, __FILE__, __LINE__, true);
22213 : : return _r;
22214 : : }
22215 : : next_after_fail1350:;
22216 : : }
22217 : : }
22218 : : }
22219 : : }
22220 : : }
22221 : : }
22222 : : }
22223 : : }
22224 : : break;
22225 : : }
22226 : : default:;
22227 : : }
22228 : : }
22229 : : break;
22230 : : }
22231 : : default:;
22232 : : }
22233 : : break;
22234 : : }
22235 : : default:;
22236 : : }
22237 : : break;
22238 : : }
22239 : : default:;
22240 : : }
22241 : : break;
22242 : : }
22243 : 38 : case GE_EXPR:
22244 : 38 : {
22245 : 38 : tree _q20 = TREE_OPERAND (_p0, 0);
22246 : 38 : tree _q21 = TREE_OPERAND (_p0, 1);
22247 : 38 : switch (TREE_CODE (_p1))
22248 : : {
22249 : 0 : case GE_EXPR:
22250 : 0 : {
22251 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
22252 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
22253 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
22254 : : {
22255 : 0 : {
22256 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
22257 : 0 : tree res = generic_simplify_148 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GE_EXPR, MIN_EXPR);
22258 : 0 : if (res) return res;
22259 : : }
22260 : : }
22261 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
22262 : : {
22263 : 0 : {
22264 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50 };
22265 : 0 : tree res = generic_simplify_148 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LE_EXPR, MAX_EXPR);
22266 : 0 : if (res) return res;
22267 : : }
22268 : : }
22269 : : break;
22270 : : }
22271 : 0 : case LE_EXPR:
22272 : 0 : {
22273 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
22274 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
22275 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
22276 : : {
22277 : 0 : {
22278 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
22279 : 0 : tree res = generic_simplify_148 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GE_EXPR, MIN_EXPR);
22280 : 0 : if (res) return res;
22281 : : }
22282 : : }
22283 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
22284 : : {
22285 : 0 : {
22286 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51 };
22287 : 0 : tree res = generic_simplify_148 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LE_EXPR, MAX_EXPR);
22288 : 0 : if (res) return res;
22289 : : }
22290 : : }
22291 : : break;
22292 : : }
22293 : 38 : default:;
22294 : : }
22295 : 38 : switch (TREE_CODE (_q21))
22296 : : {
22297 : 0 : case POINTER_PLUS_EXPR:
22298 : 0 : {
22299 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
22300 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
22301 : 0 : switch (TREE_CODE (_q41))
22302 : : {
22303 : 0 : case INTEGER_CST:
22304 : 0 : {
22305 : 0 : switch (TREE_CODE (_p1))
22306 : : {
22307 : 0 : case LE_EXPR:
22308 : 0 : {
22309 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
22310 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
22311 : 0 : switch (TREE_CODE (_q70))
22312 : : {
22313 : 0 : case POINTER_PLUS_EXPR:
22314 : 0 : {
22315 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
22316 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
22317 : 0 : if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
22318 : : {
22319 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
22320 : : {
22321 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
22322 : : {
22323 : 0 : {
22324 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q70 };
22325 : 0 : const enum tree_code cmp = LE_EXPR;
22326 : 0 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
22327 : 0 : && TYPE_OVERFLOW_WRAPS (sizetype)
22328 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
22329 : : )
22330 : : {
22331 : 0 : {
22332 : 0 : offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
22333 : 0 : offset_int rhs = off * 2;
22334 : 0 : if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
22335 : : )
22336 : : {
22337 : 0 : {
22338 : 0 : bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
22339 : 0 : tree rhs_tree = wide_int_to_tree (sizetype, rhs);
22340 : 0 : if (cmp == LT_EXPR
22341 : : )
22342 : : {
22343 : : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1351;
22344 : : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1351;
22345 : : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1351;
22346 : : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1351;
22347 : : if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1351;
22348 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1351;
22349 : : {
22350 : : tree res_op0;
22351 : : {
22352 : : tree _o1[1], _r1;
22353 : : {
22354 : : tree _o2[2], _r2;
22355 : : _o2[0] = swap_p ? captures[6] : captures[1];
22356 : : _o2[1] = swap_p ? captures[2] : captures[4];
22357 : : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
22358 : : _o1[0] = _r2;
22359 : : }
22360 : : if (TREE_TYPE (_o1[0]) != sizetype)
22361 : : {
22362 : : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
22363 : : }
22364 : : else
22365 : : _r1 = _o1[0];
22366 : : res_op0 = _r1;
22367 : : }
22368 : : tree res_op1;
22369 : : res_op1 = rhs_tree;
22370 : : tree _r;
22371 : : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
22372 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 943, __FILE__, __LINE__, true);
22373 : 0 : return _r;
22374 : : }
22375 : : next_after_fail1351:;
22376 : : }
22377 : : else
22378 : : {
22379 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1352;
22380 : 0 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1352;
22381 : 0 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1352;
22382 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1352;
22383 : 0 : {
22384 : 0 : tree res_op0;
22385 : 0 : {
22386 : 0 : tree _o1[1], _r1;
22387 : 0 : {
22388 : 0 : tree _o2[2], _r2;
22389 : 0 : {
22390 : 0 : tree _o3[2], _r3;
22391 : 0 : _o3[0] = swap_p ? captures[4] : captures[2];
22392 : 0 : _o3[1] = wide_int_to_tree (sizetype, off);
22393 : 0 : _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
22394 : 0 : _o2[0] = _r3;
22395 : : }
22396 : 0 : _o2[1] = swap_p ? captures[2] : captures[4];
22397 : 0 : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
22398 : 0 : _o1[0] = _r2;
22399 : : }
22400 : 0 : if (TREE_TYPE (_o1[0]) != sizetype)
22401 : : {
22402 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
22403 : : }
22404 : : else
22405 : : _r1 = _o1[0];
22406 : 0 : res_op0 = _r1;
22407 : : }
22408 : 0 : tree res_op1;
22409 : 0 : res_op1 = rhs_tree;
22410 : 0 : tree _r;
22411 : 0 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
22412 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 944, __FILE__, __LINE__, true);
22413 : 0 : return _r;
22414 : : }
22415 : 0 : next_after_fail1352:;
22416 : : }
22417 : : }
22418 : : }
22419 : : }
22420 : : }
22421 : : }
22422 : : }
22423 : : }
22424 : : }
22425 : : break;
22426 : : }
22427 : : default:;
22428 : : }
22429 : : break;
22430 : : }
22431 : 0 : case GE_EXPR:
22432 : 0 : {
22433 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
22434 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
22435 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
22436 : : {
22437 : 0 : switch (TREE_CODE (_q71))
22438 : : {
22439 : 0 : case POINTER_PLUS_EXPR:
22440 : 0 : {
22441 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
22442 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
22443 : 0 : if ((_q90 == _q20 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q20, 0) && types_match (_q90, _q20)))
22444 : : {
22445 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
22446 : : {
22447 : 0 : {
22448 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q71 };
22449 : 0 : const enum tree_code cmp = LE_EXPR;
22450 : 0 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
22451 : 0 : && TYPE_OVERFLOW_WRAPS (sizetype)
22452 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
22453 : : )
22454 : : {
22455 : 0 : {
22456 : 0 : offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
22457 : 0 : offset_int rhs = off * 2;
22458 : 0 : if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
22459 : : )
22460 : : {
22461 : 0 : {
22462 : 0 : bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
22463 : 0 : tree rhs_tree = wide_int_to_tree (sizetype, rhs);
22464 : 0 : if (cmp == LT_EXPR
22465 : : )
22466 : : {
22467 : : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1353;
22468 : : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1353;
22469 : : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1353;
22470 : : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1353;
22471 : : if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1353;
22472 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1353;
22473 : : {
22474 : : tree res_op0;
22475 : : {
22476 : : tree _o1[1], _r1;
22477 : : {
22478 : : tree _o2[2], _r2;
22479 : : _o2[0] = swap_p ? captures[6] : captures[1];
22480 : : _o2[1] = swap_p ? captures[2] : captures[4];
22481 : : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
22482 : : _o1[0] = _r2;
22483 : : }
22484 : : if (TREE_TYPE (_o1[0]) != sizetype)
22485 : : {
22486 : : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
22487 : : }
22488 : : else
22489 : : _r1 = _o1[0];
22490 : : res_op0 = _r1;
22491 : : }
22492 : : tree res_op1;
22493 : : res_op1 = rhs_tree;
22494 : : tree _r;
22495 : : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
22496 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 943, __FILE__, __LINE__, true);
22497 : 0 : return _r;
22498 : : }
22499 : : next_after_fail1353:;
22500 : : }
22501 : : else
22502 : : {
22503 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1354;
22504 : 0 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1354;
22505 : 0 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1354;
22506 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1354;
22507 : 0 : {
22508 : 0 : tree res_op0;
22509 : 0 : {
22510 : 0 : tree _o1[1], _r1;
22511 : 0 : {
22512 : 0 : tree _o2[2], _r2;
22513 : 0 : {
22514 : 0 : tree _o3[2], _r3;
22515 : 0 : _o3[0] = swap_p ? captures[4] : captures[2];
22516 : 0 : _o3[1] = wide_int_to_tree (sizetype, off);
22517 : 0 : _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
22518 : 0 : _o2[0] = _r3;
22519 : : }
22520 : 0 : _o2[1] = swap_p ? captures[2] : captures[4];
22521 : 0 : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
22522 : 0 : _o1[0] = _r2;
22523 : : }
22524 : 0 : if (TREE_TYPE (_o1[0]) != sizetype)
22525 : : {
22526 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
22527 : : }
22528 : : else
22529 : : _r1 = _o1[0];
22530 : 0 : res_op0 = _r1;
22531 : : }
22532 : 0 : tree res_op1;
22533 : 0 : res_op1 = rhs_tree;
22534 : 0 : tree _r;
22535 : 0 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
22536 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 944, __FILE__, __LINE__, true);
22537 : 0 : return _r;
22538 : : }
22539 : 0 : next_after_fail1354:;
22540 : : }
22541 : : }
22542 : : }
22543 : : }
22544 : : }
22545 : : }
22546 : : }
22547 : : }
22548 : : break;
22549 : : }
22550 : : default:;
22551 : : }
22552 : : }
22553 : : break;
22554 : : }
22555 : : default:;
22556 : : }
22557 : : break;
22558 : : }
22559 : : default:;
22560 : : }
22561 : : break;
22562 : : }
22563 : : default:;
22564 : : }
22565 : : break;
22566 : : }
22567 : 0 : case VEC_PERM_EXPR:
22568 : 0 : {
22569 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
22570 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
22571 : 0 : tree _q22 = TREE_OPERAND (_p0, 2);
22572 : 0 : if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
22573 : : {
22574 : 0 : switch (TREE_CODE (_p1))
22575 : : {
22576 : 0 : case VEC_PERM_EXPR:
22577 : 0 : {
22578 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
22579 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
22580 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
22581 : 0 : if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
22582 : : {
22583 : 0 : if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
22584 : : {
22585 : 0 : {
22586 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
22587 : 0 : if (VECTOR_INTEGER_TYPE_P (type)
22588 : : )
22589 : : {
22590 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1355;
22591 : 0 : {
22592 : 0 : tree res_op0;
22593 : 0 : {
22594 : 0 : tree _o1[2], _r1;
22595 : 0 : _o1[0] = captures[0];
22596 : 0 : _o1[1] = captures[2];
22597 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
22598 : 0 : captures[3] = _r1;
22599 : : }
22600 : 0 : res_op0 = unshare_expr (captures[3]);
22601 : 0 : tree res_op1;
22602 : 0 : res_op1 = captures[3];
22603 : 0 : tree res_op2;
22604 : 0 : res_op2 = captures[1];
22605 : 0 : tree _r;
22606 : 0 : _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
22607 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
22608 : 0 : return _r;
22609 : : }
22610 : 0 : next_after_fail1355:;
22611 : : }
22612 : : }
22613 : : }
22614 : : }
22615 : : break;
22616 : : }
22617 : : default:;
22618 : : }
22619 : : }
22620 : : break;
22621 : : }
22622 : : default:;
22623 : : }
22624 : : return NULL_TREE;
22625 : : }
22626 : : #pragma GCC diagnostic pop
|