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 : 96277741 : tree_logical_inverted_value (tree t, tree *res_ops)
11 : : {
12 : 96277741 : const tree type = TREE_TYPE (t);
13 : 96277741 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
14 : 96277741 : if (TREE_SIDE_EFFECTS (t)) return false;
15 : 88250135 : switch (TREE_CODE (t))
16 : : {
17 : 603073 : case TRUTH_NOT_EXPR:
18 : 603073 : {
19 : 603073 : tree _p0 = TREE_OPERAND (t, 0);
20 : 603073 : {
21 : 603073 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
22 : 603073 : {
23 : 603073 : res_ops[0] = captures[0];
24 : 603073 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 23, __FILE__, __LINE__, false);
25 : : return true;
26 : : }
27 : : }
28 : 116858 : break;
29 : : }
30 : 116858 : case BIT_NOT_EXPR:
31 : 116858 : {
32 : 116858 : tree _p0 = TREE_OPERAND (t, 0);
33 : 116858 : if (tree_truth_valued_p (_p0))
34 : : {
35 : 11916 : {
36 : 11916 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
37 : 11916 : {
38 : 11916 : res_ops[0] = captures[0];
39 : 11916 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 24, __FILE__, __LINE__, false);
40 : 11916 : return true;
41 : : }
42 : : }
43 : : }
44 : : break;
45 : : }
46 : 1372932 : case EQ_EXPR:
47 : 1372932 : {
48 : 1372932 : tree _p0 = TREE_OPERAND (t, 0);
49 : 1372932 : tree _p1 = TREE_OPERAND (t, 1);
50 : 1372932 : if (integer_zerop (_p1))
51 : : {
52 : 534619 : {
53 : 534619 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
54 : 534619 : {
55 : 534619 : res_ops[0] = captures[0];
56 : 534619 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 25, __FILE__, __LINE__, false);
57 : 534619 : return true;
58 : : }
59 : : }
60 : : }
61 : : break;
62 : : }
63 : 1841515 : case NE_EXPR:
64 : 1841515 : {
65 : 1841515 : tree _p0 = TREE_OPERAND (t, 0);
66 : 1841515 : tree _p1 = TREE_OPERAND (t, 1);
67 : 1841515 : if (tree_truth_valued_p (_p0))
68 : : {
69 : 2596 : if (integer_truep (_p1))
70 : : {
71 : 0 : {
72 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
73 : 0 : {
74 : 0 : res_ops[0] = captures[0];
75 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 26, __FILE__, __LINE__, false);
76 : 0 : return true;
77 : : }
78 : : }
79 : : }
80 : : }
81 : : break;
82 : : }
83 : 39854 : case BIT_XOR_EXPR:
84 : 39854 : {
85 : 39854 : tree _p0 = TREE_OPERAND (t, 0);
86 : 39854 : tree _p1 = TREE_OPERAND (t, 1);
87 : 39854 : if (tree_truth_valued_p (_p0))
88 : : {
89 : 5989 : if (integer_truep (_p1))
90 : : {
91 : 0 : {
92 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
93 : 0 : {
94 : 0 : res_ops[0] = captures[0];
95 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 27, __FILE__, __LINE__, false);
96 : 0 : return true;
97 : : }
98 : : }
99 : : }
100 : : }
101 : : break;
102 : : }
103 : : default:;
104 : : }
105 : : return false;
106 : : }
107 : :
108 : : bool
109 : 0 : tree_signed_integer_sat_add (tree t, tree *res_ops)
110 : : {
111 : 0 : const tree type = TREE_TYPE (t);
112 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
113 : 0 : if (TREE_SIDE_EFFECTS (t)) return false;
114 : 0 : switch (TREE_CODE (t))
115 : : {
116 : 0 : case COND_EXPR:
117 : 0 : {
118 : 0 : tree _p0 = TREE_OPERAND (t, 0);
119 : 0 : tree _p1 = TREE_OPERAND (t, 1);
120 : 0 : tree _p2 = TREE_OPERAND (t, 2);
121 : 0 : switch (TREE_CODE (_p0))
122 : : {
123 : 0 : case LT_EXPR:
124 : 0 : {
125 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
126 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
127 : 0 : switch (TREE_CODE (_q20))
128 : : {
129 : 0 : case BIT_AND_EXPR:
130 : 0 : {
131 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
132 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
133 : 0 : switch (TREE_CODE (_q30))
134 : : {
135 : 0 : case BIT_XOR_EXPR:
136 : 0 : {
137 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
138 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
139 : 0 : {
140 : 0 : tree _q41_pops[1];
141 : 0 : if (tree_nop_convert (_q41, _q41_pops))
142 : : {
143 : 0 : tree _q60 = _q41_pops[0];
144 : 0 : switch (TREE_CODE (_q60))
145 : : {
146 : 0 : case PLUS_EXPR:
147 : 0 : {
148 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
149 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
150 : 0 : {
151 : 0 : tree _q70_pops[1];
152 : 0 : if (tree_nop_convert (_q70, _q70_pops))
153 : : {
154 : 0 : tree _q80 = _q70_pops[0];
155 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
156 : : {
157 : 0 : {
158 : 0 : tree _q71_pops[1];
159 : 0 : if (tree_nop_convert (_q71, _q71_pops))
160 : : {
161 : 0 : tree _q100 = _q71_pops[0];
162 : 0 : switch (TREE_CODE (_q31))
163 : : {
164 : 0 : case BIT_NOT_EXPR:
165 : 0 : {
166 : 0 : tree _q120 = TREE_OPERAND (_q31, 0);
167 : 0 : switch (TREE_CODE (_q120))
168 : : {
169 : 0 : case BIT_XOR_EXPR:
170 : 0 : {
171 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
172 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
173 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
174 : : {
175 : 0 : if ((_q131 == _q100 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q100, 0) && types_match (_q131, _q100)))
176 : : {
177 : 0 : if (integer_zerop (_q21))
178 : : {
179 : 0 : {
180 : 0 : tree _p1_pops[1];
181 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
182 : : {
183 : 0 : tree _q170 = _p1_pops[0];
184 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
185 : : {
186 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
187 : : {
188 : 0 : {
189 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
190 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
191 : : )
192 : : {
193 : 0 : {
194 : 0 : res_ops[0] = captures[0];
195 : 0 : res_ops[1] = captures[1];
196 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
197 : 0 : return true;
198 : : }
199 : : }
200 : : }
201 : : }
202 : : }
203 : : }
204 : : }
205 : : }
206 : : }
207 : : }
208 : 0 : if ((_q130 == _q100 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q100, 0) && types_match (_q130, _q100)))
209 : : {
210 : 0 : if ((_q131 == _q40 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q40, 0) && types_match (_q131, _q40)))
211 : : {
212 : 0 : if (integer_zerop (_q21))
213 : : {
214 : 0 : {
215 : 0 : tree _p1_pops[1];
216 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
217 : : {
218 : 0 : tree _q170 = _p1_pops[0];
219 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
220 : : {
221 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
222 : : {
223 : 0 : {
224 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
225 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
226 : : )
227 : : {
228 : 0 : {
229 : 0 : res_ops[0] = captures[0];
230 : 0 : res_ops[1] = captures[1];
231 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
232 : 0 : return true;
233 : : }
234 : : }
235 : : }
236 : : }
237 : : }
238 : : }
239 : : }
240 : : }
241 : : }
242 : : }
243 : : break;
244 : : }
245 : : default:;
246 : : }
247 : : break;
248 : : }
249 : : default:;
250 : : }
251 : : }
252 : : }
253 : : }
254 : : }
255 : : }
256 : 0 : break;
257 : : }
258 : : default:;
259 : : }
260 : : }
261 : : }
262 : 0 : {
263 : 0 : tree _q40_pops[1];
264 : 0 : if (tree_nop_convert (_q40, _q40_pops))
265 : : {
266 : 0 : tree _q50 = _q40_pops[0];
267 : 0 : switch (TREE_CODE (_q50))
268 : : {
269 : 0 : case PLUS_EXPR:
270 : 0 : {
271 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
272 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
273 : 0 : {
274 : 0 : tree _q60_pops[1];
275 : 0 : if (tree_nop_convert (_q60, _q60_pops))
276 : : {
277 : 0 : tree _q70 = _q60_pops[0];
278 : 0 : switch (TREE_CODE (_q61))
279 : : {
280 : 0 : case INTEGER_CST:
281 : 0 : {
282 : 0 : if ((_q41 == _q70 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q70, 0) && types_match (_q41, _q70)))
283 : : {
284 : 0 : switch (TREE_CODE (_q31))
285 : : {
286 : 0 : case BIT_XOR_EXPR:
287 : 0 : {
288 : 0 : tree _q110 = TREE_OPERAND (_q31, 0);
289 : 0 : tree _q111 = TREE_OPERAND (_q31, 1);
290 : 0 : if ((_q110 == _q70 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q70, 0) && types_match (_q110, _q70)))
291 : : {
292 : 0 : switch (TREE_CODE (_q111))
293 : : {
294 : 0 : case INTEGER_CST:
295 : 0 : {
296 : 0 : if (integer_zerop (_q21))
297 : : {
298 : 0 : {
299 : 0 : tree _p1_pops[1];
300 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
301 : : {
302 : 0 : tree _q150 = _p1_pops[0];
303 : 0 : if ((_q150 == _q70 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q70, 0) && types_match (_q150, _q70)))
304 : : {
305 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
306 : : {
307 : 0 : {
308 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q70, _q61, _q40, _q111 };
309 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
310 : : )
311 : : {
312 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
313 : : )
314 : : {
315 : 0 : {
316 : 0 : res_ops[0] = captures[0];
317 : 0 : res_ops[1] = captures[1];
318 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
319 : 0 : return true;
320 : : }
321 : : }
322 : : }
323 : : }
324 : : }
325 : : }
326 : : }
327 : : }
328 : : }
329 : : break;
330 : : }
331 : : default:;
332 : : }
333 : : }
334 : 0 : switch (TREE_CODE (_q110))
335 : : {
336 : 0 : case INTEGER_CST:
337 : 0 : {
338 : 0 : if ((_q111 == _q70 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q70, 0) && types_match (_q111, _q70)))
339 : : {
340 : 0 : if (integer_zerop (_q21))
341 : : {
342 : 0 : {
343 : 0 : tree _p1_pops[1];
344 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
345 : : {
346 : 0 : tree _q150 = _p1_pops[0];
347 : 0 : if ((_q150 == _q70 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q70, 0) && types_match (_q150, _q70)))
348 : : {
349 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
350 : : {
351 : 0 : {
352 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q70, _q61, _q40, _q110 };
353 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
354 : : )
355 : : {
356 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
357 : : )
358 : : {
359 : 0 : {
360 : 0 : res_ops[0] = captures[0];
361 : 0 : res_ops[1] = captures[1];
362 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
363 : 0 : return true;
364 : : }
365 : : }
366 : : }
367 : : }
368 : : }
369 : : }
370 : : }
371 : : }
372 : : }
373 : : }
374 : : break;
375 : : }
376 : : default:;
377 : : }
378 : : break;
379 : : }
380 : : default:;
381 : : }
382 : : }
383 : : break;
384 : : }
385 : 0 : default:;
386 : : }
387 : 0 : {
388 : 0 : tree _q61_pops[1];
389 : 0 : if (tree_nop_convert (_q61, _q61_pops))
390 : : {
391 : 0 : tree _q90 = _q61_pops[0];
392 : 0 : if ((_q41 == _q70 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q70, 0) && types_match (_q41, _q70)))
393 : : {
394 : 0 : switch (TREE_CODE (_q31))
395 : : {
396 : 0 : case BIT_NOT_EXPR:
397 : 0 : {
398 : 0 : tree _q120 = TREE_OPERAND (_q31, 0);
399 : 0 : switch (TREE_CODE (_q120))
400 : : {
401 : 0 : case BIT_XOR_EXPR:
402 : 0 : {
403 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
404 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
405 : 0 : if ((_q130 == _q70 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q70, 0) && types_match (_q130, _q70)))
406 : : {
407 : 0 : if ((_q131 == _q90 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q90, 0) && types_match (_q131, _q90)))
408 : : {
409 : 0 : if (integer_zerop (_q21))
410 : : {
411 : 0 : {
412 : 0 : tree _p1_pops[1];
413 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
414 : : {
415 : 0 : tree _q170 = _p1_pops[0];
416 : 0 : if ((_q170 == _q70 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q70, 0) && types_match (_q170, _q70)))
417 : : {
418 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
419 : : {
420 : 0 : {
421 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q90, _q40 };
422 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
423 : : )
424 : : {
425 : 0 : {
426 : 0 : res_ops[0] = captures[0];
427 : 0 : res_ops[1] = captures[1];
428 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
429 : 0 : return true;
430 : : }
431 : : }
432 : : }
433 : : }
434 : : }
435 : : }
436 : : }
437 : : }
438 : : }
439 : : }
440 : 0 : if ((_q130 == _q90 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q90, 0) && types_match (_q130, _q90)))
441 : : {
442 : 0 : if ((_q131 == _q70 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q70, 0) && types_match (_q131, _q70)))
443 : : {
444 : 0 : if (integer_zerop (_q21))
445 : : {
446 : 0 : {
447 : 0 : tree _p1_pops[1];
448 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
449 : : {
450 : 0 : tree _q170 = _p1_pops[0];
451 : 0 : if ((_q170 == _q70 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q70, 0) && types_match (_q170, _q70)))
452 : : {
453 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
454 : : {
455 : 0 : {
456 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q90, _q40 };
457 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
458 : : )
459 : : {
460 : 0 : {
461 : 0 : res_ops[0] = captures[0];
462 : 0 : res_ops[1] = captures[1];
463 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
464 : 0 : return true;
465 : : }
466 : : }
467 : : }
468 : : }
469 : : }
470 : : }
471 : : }
472 : : }
473 : : }
474 : : }
475 : : break;
476 : : }
477 : : default:;
478 : : }
479 : : break;
480 : : }
481 : : default:;
482 : : }
483 : : }
484 : : }
485 : : }
486 : : }
487 : : }
488 : 0 : break;
489 : : }
490 : : default:;
491 : : }
492 : : }
493 : : }
494 : 0 : switch (TREE_CODE (_q41))
495 : : {
496 : 0 : case INTEGER_CST:
497 : 0 : {
498 : 0 : switch (TREE_CODE (_q31))
499 : : {
500 : 0 : case BIT_XOR_EXPR:
501 : 0 : {
502 : 0 : tree _q70 = TREE_OPERAND (_q31, 0);
503 : 0 : tree _q71 = TREE_OPERAND (_q31, 1);
504 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
505 : : {
506 : 0 : {
507 : 0 : tree _q71_pops[1];
508 : 0 : if (tree_nop_convert (_q71, _q71_pops))
509 : : {
510 : 0 : tree _q90 = _q71_pops[0];
511 : 0 : switch (TREE_CODE (_q90))
512 : : {
513 : 0 : case PLUS_EXPR:
514 : 0 : {
515 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
516 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
517 : 0 : {
518 : 0 : tree _q100_pops[1];
519 : 0 : if (tree_nop_convert (_q100, _q100_pops))
520 : : {
521 : 0 : tree _q110 = _q100_pops[0];
522 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
523 : : {
524 : 0 : switch (TREE_CODE (_q101))
525 : : {
526 : 0 : case INTEGER_CST:
527 : 0 : {
528 : 0 : if (integer_zerop (_q21))
529 : : {
530 : 0 : {
531 : 0 : tree _p1_pops[1];
532 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
533 : : {
534 : 0 : tree _q150 = _p1_pops[0];
535 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
536 : : {
537 : 0 : if ((_p2 == _q71 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q71, 0) && types_match (_p2, _q71)))
538 : : {
539 : 0 : {
540 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q101, _q71, _q41 };
541 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
542 : : )
543 : : {
544 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
545 : : )
546 : : {
547 : 0 : {
548 : 0 : res_ops[0] = captures[0];
549 : 0 : res_ops[1] = captures[1];
550 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
551 : 0 : return true;
552 : : }
553 : : }
554 : : }
555 : : }
556 : : }
557 : : }
558 : : }
559 : : }
560 : : }
561 : : break;
562 : : }
563 : : default:;
564 : : }
565 : : }
566 : : }
567 : : }
568 : 0 : break;
569 : : }
570 : : default:;
571 : : }
572 : : }
573 : : }
574 : : }
575 : : break;
576 : : }
577 : : default:;
578 : : }
579 : : break;
580 : : }
581 : 0 : default:;
582 : : }
583 : 0 : {
584 : 0 : tree _q41_pops[1];
585 : 0 : if (tree_nop_convert (_q41, _q41_pops))
586 : : {
587 : 0 : tree _q60 = _q41_pops[0];
588 : 0 : switch (TREE_CODE (_q60))
589 : : {
590 : 0 : case PLUS_EXPR:
591 : 0 : {
592 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
593 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
594 : 0 : {
595 : 0 : tree _q70_pops[1];
596 : 0 : if (tree_nop_convert (_q70, _q70_pops))
597 : : {
598 : 0 : tree _q80 = _q70_pops[0];
599 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
600 : : {
601 : 0 : switch (TREE_CODE (_q71))
602 : : {
603 : 0 : case INTEGER_CST:
604 : 0 : {
605 : 0 : switch (TREE_CODE (_q31))
606 : : {
607 : 0 : case BIT_XOR_EXPR:
608 : 0 : {
609 : 0 : tree _q110 = TREE_OPERAND (_q31, 0);
610 : 0 : tree _q111 = TREE_OPERAND (_q31, 1);
611 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
612 : : {
613 : 0 : switch (TREE_CODE (_q111))
614 : : {
615 : 0 : case INTEGER_CST:
616 : 0 : {
617 : 0 : if (integer_zerop (_q21))
618 : : {
619 : 0 : {
620 : 0 : tree _p1_pops[1];
621 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
622 : : {
623 : 0 : tree _q150 = _p1_pops[0];
624 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
625 : : {
626 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
627 : : {
628 : 0 : {
629 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q111 };
630 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
631 : : )
632 : : {
633 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
634 : : )
635 : : {
636 : 0 : {
637 : 0 : res_ops[0] = captures[0];
638 : 0 : res_ops[1] = captures[1];
639 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
640 : 0 : return true;
641 : : }
642 : : }
643 : : }
644 : : }
645 : : }
646 : : }
647 : : }
648 : : }
649 : : }
650 : : break;
651 : : }
652 : : default:;
653 : : }
654 : : }
655 : 0 : switch (TREE_CODE (_q110))
656 : : {
657 : 0 : case INTEGER_CST:
658 : 0 : {
659 : 0 : if ((_q111 == _q40 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q40, 0) && types_match (_q111, _q40)))
660 : : {
661 : 0 : if (integer_zerop (_q21))
662 : : {
663 : 0 : {
664 : 0 : tree _p1_pops[1];
665 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
666 : : {
667 : 0 : tree _q150 = _p1_pops[0];
668 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
669 : : {
670 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
671 : : {
672 : 0 : {
673 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q110 };
674 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
675 : : )
676 : : {
677 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
678 : : )
679 : : {
680 : 0 : {
681 : 0 : res_ops[0] = captures[0];
682 : 0 : res_ops[1] = captures[1];
683 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
684 : 0 : return true;
685 : : }
686 : : }
687 : : }
688 : : }
689 : : }
690 : : }
691 : : }
692 : : }
693 : : }
694 : : }
695 : : break;
696 : : }
697 : : default:;
698 : : }
699 : : break;
700 : : }
701 : : default:;
702 : : }
703 : : break;
704 : : }
705 : : default:;
706 : : }
707 : : }
708 : : }
709 : : }
710 : 0 : break;
711 : : }
712 : : default:;
713 : : }
714 : : }
715 : : }
716 : 0 : switch (TREE_CODE (_q40))
717 : : {
718 : 0 : case INTEGER_CST:
719 : 0 : {
720 : 0 : switch (TREE_CODE (_q31))
721 : : {
722 : 0 : case BIT_XOR_EXPR:
723 : 0 : {
724 : 0 : tree _q70 = TREE_OPERAND (_q31, 0);
725 : 0 : tree _q71 = TREE_OPERAND (_q31, 1);
726 : 0 : if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
727 : : {
728 : 0 : {
729 : 0 : tree _q71_pops[1];
730 : 0 : if (tree_nop_convert (_q71, _q71_pops))
731 : : {
732 : 0 : tree _q90 = _q71_pops[0];
733 : 0 : switch (TREE_CODE (_q90))
734 : : {
735 : 0 : case PLUS_EXPR:
736 : 0 : {
737 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
738 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
739 : 0 : {
740 : 0 : tree _q100_pops[1];
741 : 0 : if (tree_nop_convert (_q100, _q100_pops))
742 : : {
743 : 0 : tree _q110 = _q100_pops[0];
744 : 0 : if ((_q110 == _q41 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q41, 0) && types_match (_q110, _q41)))
745 : : {
746 : 0 : switch (TREE_CODE (_q101))
747 : : {
748 : 0 : case INTEGER_CST:
749 : 0 : {
750 : 0 : if (integer_zerop (_q21))
751 : : {
752 : 0 : {
753 : 0 : tree _p1_pops[1];
754 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
755 : : {
756 : 0 : tree _q150 = _p1_pops[0];
757 : 0 : if ((_q150 == _q41 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q41, 0) && types_match (_q150, _q41)))
758 : : {
759 : 0 : if ((_p2 == _q71 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q71, 0) && types_match (_p2, _q71)))
760 : : {
761 : 0 : {
762 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q101, _q71, _q40 };
763 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
764 : : )
765 : : {
766 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
767 : : )
768 : : {
769 : 0 : {
770 : 0 : res_ops[0] = captures[0];
771 : 0 : res_ops[1] = captures[1];
772 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
773 : 0 : return true;
774 : : }
775 : : }
776 : : }
777 : : }
778 : : }
779 : : }
780 : : }
781 : : }
782 : : }
783 : : break;
784 : : }
785 : : default:;
786 : : }
787 : : }
788 : : }
789 : : }
790 : 0 : break;
791 : : }
792 : : default:;
793 : : }
794 : : }
795 : : }
796 : : }
797 : 0 : {
798 : 0 : tree _q70_pops[1];
799 : 0 : if (tree_nop_convert (_q70, _q70_pops))
800 : : {
801 : 0 : tree _q80 = _q70_pops[0];
802 : 0 : switch (TREE_CODE (_q80))
803 : : {
804 : 0 : case PLUS_EXPR:
805 : 0 : {
806 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
807 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
808 : 0 : {
809 : 0 : tree _q90_pops[1];
810 : 0 : if (tree_nop_convert (_q90, _q90_pops))
811 : : {
812 : 0 : tree _q100 = _q90_pops[0];
813 : 0 : if ((_q100 == _q41 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q41, 0) && types_match (_q100, _q41)))
814 : : {
815 : 0 : switch (TREE_CODE (_q91))
816 : : {
817 : 0 : case INTEGER_CST:
818 : 0 : {
819 : 0 : if ((_q71 == _q41 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q41, 0) && types_match (_q71, _q41)))
820 : : {
821 : 0 : if (integer_zerop (_q21))
822 : : {
823 : 0 : {
824 : 0 : tree _p1_pops[1];
825 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
826 : : {
827 : 0 : tree _q150 = _p1_pops[0];
828 : 0 : if ((_q150 == _q41 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q41, 0) && types_match (_q150, _q41)))
829 : : {
830 : 0 : if ((_p2 == _q70 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q70, 0) && types_match (_p2, _q70)))
831 : : {
832 : 0 : {
833 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q91, _q70, _q40 };
834 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
835 : : )
836 : : {
837 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
838 : : )
839 : : {
840 : 0 : {
841 : 0 : res_ops[0] = captures[0];
842 : 0 : res_ops[1] = captures[1];
843 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
844 : 0 : return true;
845 : : }
846 : : }
847 : : }
848 : : }
849 : : }
850 : : }
851 : : }
852 : : }
853 : : }
854 : : }
855 : : break;
856 : : }
857 : : default:;
858 : : }
859 : : }
860 : : }
861 : : }
862 : 0 : break;
863 : : }
864 : : default:;
865 : : }
866 : : }
867 : : }
868 : 0 : break;
869 : : }
870 : : default:;
871 : : }
872 : : break;
873 : : }
874 : 0 : default:;
875 : : }
876 : 0 : switch (TREE_CODE (_q41))
877 : : {
878 : 0 : case INTEGER_CST:
879 : 0 : {
880 : 0 : switch (TREE_CODE (_q31))
881 : : {
882 : 0 : case BIT_XOR_EXPR:
883 : 0 : {
884 : 0 : tree _q70 = TREE_OPERAND (_q31, 0);
885 : 0 : tree _q71 = TREE_OPERAND (_q31, 1);
886 : 0 : {
887 : 0 : tree _q70_pops[1];
888 : 0 : if (tree_nop_convert (_q70, _q70_pops))
889 : : {
890 : 0 : tree _q80 = _q70_pops[0];
891 : 0 : switch (TREE_CODE (_q80))
892 : : {
893 : 0 : case PLUS_EXPR:
894 : 0 : {
895 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
896 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
897 : 0 : {
898 : 0 : tree _q90_pops[1];
899 : 0 : if (tree_nop_convert (_q90, _q90_pops))
900 : : {
901 : 0 : tree _q100 = _q90_pops[0];
902 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
903 : : {
904 : 0 : switch (TREE_CODE (_q91))
905 : : {
906 : 0 : case INTEGER_CST:
907 : 0 : {
908 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
909 : : {
910 : 0 : if (integer_zerop (_q21))
911 : : {
912 : 0 : {
913 : 0 : tree _p1_pops[1];
914 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
915 : : {
916 : 0 : tree _q150 = _p1_pops[0];
917 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
918 : : {
919 : 0 : if ((_p2 == _q70 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q70, 0) && types_match (_p2, _q70)))
920 : : {
921 : 0 : {
922 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q91, _q70, _q41 };
923 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
924 : : )
925 : : {
926 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
927 : : )
928 : : {
929 : 0 : {
930 : 0 : res_ops[0] = captures[0];
931 : 0 : res_ops[1] = captures[1];
932 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
933 : 0 : return true;
934 : : }
935 : : }
936 : : }
937 : : }
938 : : }
939 : : }
940 : : }
941 : : }
942 : : }
943 : : }
944 : : break;
945 : : }
946 : : default:;
947 : : }
948 : : }
949 : : }
950 : : }
951 : 0 : break;
952 : : }
953 : : default:;
954 : : }
955 : : }
956 : : }
957 : 0 : break;
958 : : }
959 : : default:;
960 : : }
961 : : break;
962 : : }
963 : : default:;
964 : : }
965 : : break;
966 : : }
967 : 0 : case BIT_NOT_EXPR:
968 : 0 : {
969 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
970 : 0 : switch (TREE_CODE (_q40))
971 : : {
972 : 0 : case BIT_XOR_EXPR:
973 : 0 : {
974 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
975 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
976 : 0 : switch (TREE_CODE (_q31))
977 : : {
978 : 0 : case BIT_XOR_EXPR:
979 : 0 : {
980 : 0 : tree _q80 = TREE_OPERAND (_q31, 0);
981 : 0 : tree _q81 = TREE_OPERAND (_q31, 1);
982 : 0 : if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
983 : : {
984 : 0 : {
985 : 0 : tree _q81_pops[1];
986 : 0 : if (tree_nop_convert (_q81, _q81_pops))
987 : : {
988 : 0 : tree _q100 = _q81_pops[0];
989 : 0 : switch (TREE_CODE (_q100))
990 : : {
991 : 0 : case PLUS_EXPR:
992 : 0 : {
993 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
994 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
995 : 0 : {
996 : 0 : tree _q110_pops[1];
997 : 0 : if (tree_nop_convert (_q110, _q110_pops))
998 : : {
999 : 0 : tree _q120 = _q110_pops[0];
1000 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
1001 : : {
1002 : 0 : {
1003 : 0 : tree _q111_pops[1];
1004 : 0 : if (tree_nop_convert (_q111, _q111_pops))
1005 : : {
1006 : 0 : tree _q140 = _q111_pops[0];
1007 : 0 : if ((_q140 == _q51 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q51, 0) && types_match (_q140, _q51)))
1008 : : {
1009 : 0 : if (integer_zerop (_q21))
1010 : : {
1011 : 0 : {
1012 : 0 : tree _p1_pops[1];
1013 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
1014 : : {
1015 : 0 : tree _q170 = _p1_pops[0];
1016 : 0 : if ((_q170 == _q50 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q50, 0) && types_match (_q170, _q50)))
1017 : : {
1018 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
1019 : : {
1020 : 0 : {
1021 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q81 };
1022 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1023 : : )
1024 : : {
1025 : 0 : {
1026 : 0 : res_ops[0] = captures[0];
1027 : 0 : res_ops[1] = captures[1];
1028 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
1029 : 0 : return true;
1030 : : }
1031 : : }
1032 : : }
1033 : : }
1034 : : }
1035 : : }
1036 : : }
1037 : : }
1038 : : }
1039 : : }
1040 : : }
1041 : : }
1042 : : }
1043 : : }
1044 : 0 : break;
1045 : : }
1046 : : default:;
1047 : : }
1048 : : }
1049 : : }
1050 : : }
1051 : 0 : if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
1052 : : {
1053 : 0 : {
1054 : 0 : tree _q81_pops[1];
1055 : 0 : if (tree_nop_convert (_q81, _q81_pops))
1056 : : {
1057 : 0 : tree _q100 = _q81_pops[0];
1058 : 0 : switch (TREE_CODE (_q100))
1059 : : {
1060 : 0 : case PLUS_EXPR:
1061 : 0 : {
1062 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
1063 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
1064 : 0 : {
1065 : 0 : tree _q110_pops[1];
1066 : 0 : if (tree_nop_convert (_q110, _q110_pops))
1067 : : {
1068 : 0 : tree _q120 = _q110_pops[0];
1069 : 0 : if ((_q120 == _q51 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q51, 0) && types_match (_q120, _q51)))
1070 : : {
1071 : 0 : {
1072 : 0 : tree _q111_pops[1];
1073 : 0 : if (tree_nop_convert (_q111, _q111_pops))
1074 : : {
1075 : 0 : tree _q140 = _q111_pops[0];
1076 : 0 : if ((_q140 == _q50 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q50, 0) && types_match (_q140, _q50)))
1077 : : {
1078 : 0 : if (integer_zerop (_q21))
1079 : : {
1080 : 0 : {
1081 : 0 : tree _p1_pops[1];
1082 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
1083 : : {
1084 : 0 : tree _q170 = _p1_pops[0];
1085 : 0 : if ((_q170 == _q51 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q51, 0) && types_match (_q170, _q51)))
1086 : : {
1087 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
1088 : : {
1089 : 0 : {
1090 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q81 };
1091 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1092 : : )
1093 : : {
1094 : 0 : {
1095 : 0 : res_ops[0] = captures[0];
1096 : 0 : res_ops[1] = captures[1];
1097 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
1098 : 0 : return true;
1099 : : }
1100 : : }
1101 : : }
1102 : : }
1103 : : }
1104 : : }
1105 : : }
1106 : : }
1107 : : }
1108 : : }
1109 : : }
1110 : : }
1111 : : }
1112 : : }
1113 : 0 : break;
1114 : : }
1115 : : default:;
1116 : : }
1117 : : }
1118 : : }
1119 : : }
1120 : 0 : {
1121 : 0 : tree _q80_pops[1];
1122 : 0 : if (tree_nop_convert (_q80, _q80_pops))
1123 : : {
1124 : 0 : tree _q90 = _q80_pops[0];
1125 : 0 : switch (TREE_CODE (_q90))
1126 : : {
1127 : 0 : case PLUS_EXPR:
1128 : 0 : {
1129 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
1130 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
1131 : 0 : {
1132 : 0 : tree _q100_pops[1];
1133 : 0 : if (tree_nop_convert (_q100, _q100_pops))
1134 : : {
1135 : 0 : tree _q110 = _q100_pops[0];
1136 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
1137 : : {
1138 : 0 : {
1139 : 0 : tree _q101_pops[1];
1140 : 0 : if (tree_nop_convert (_q101, _q101_pops))
1141 : : {
1142 : 0 : tree _q130 = _q101_pops[0];
1143 : 0 : if ((_q130 == _q51 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q51, 0) && types_match (_q130, _q51)))
1144 : : {
1145 : 0 : if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
1146 : : {
1147 : 0 : if (integer_zerop (_q21))
1148 : : {
1149 : 0 : {
1150 : 0 : tree _p1_pops[1];
1151 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
1152 : : {
1153 : 0 : tree _q170 = _p1_pops[0];
1154 : 0 : if ((_q170 == _q50 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q50, 0) && types_match (_q170, _q50)))
1155 : : {
1156 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
1157 : : {
1158 : 0 : {
1159 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q80 };
1160 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1161 : : )
1162 : : {
1163 : 0 : {
1164 : 0 : res_ops[0] = captures[0];
1165 : 0 : res_ops[1] = captures[1];
1166 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
1167 : 0 : return true;
1168 : : }
1169 : : }
1170 : : }
1171 : : }
1172 : : }
1173 : : }
1174 : : }
1175 : : }
1176 : : }
1177 : : }
1178 : : }
1179 : : }
1180 : : }
1181 : 0 : if ((_q110 == _q51 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q51, 0) && types_match (_q110, _q51)))
1182 : : {
1183 : 0 : {
1184 : 0 : tree _q101_pops[1];
1185 : 0 : if (tree_nop_convert (_q101, _q101_pops))
1186 : : {
1187 : 0 : tree _q130 = _q101_pops[0];
1188 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
1189 : : {
1190 : 0 : if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
1191 : : {
1192 : 0 : if (integer_zerop (_q21))
1193 : : {
1194 : 0 : {
1195 : 0 : tree _p1_pops[1];
1196 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
1197 : : {
1198 : 0 : tree _q170 = _p1_pops[0];
1199 : 0 : if ((_q170 == _q51 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q51, 0) && types_match (_q170, _q51)))
1200 : : {
1201 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
1202 : : {
1203 : 0 : {
1204 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q80 };
1205 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1206 : : )
1207 : : {
1208 : 0 : {
1209 : 0 : res_ops[0] = captures[0];
1210 : 0 : res_ops[1] = captures[1];
1211 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
1212 : 0 : return true;
1213 : : }
1214 : : }
1215 : : }
1216 : : }
1217 : : }
1218 : : }
1219 : : }
1220 : : }
1221 : : }
1222 : : }
1223 : : }
1224 : : }
1225 : : }
1226 : : }
1227 : : }
1228 : 0 : break;
1229 : : }
1230 : : default:;
1231 : : }
1232 : : }
1233 : : }
1234 : 0 : break;
1235 : : }
1236 : : default:;
1237 : : }
1238 : : break;
1239 : : }
1240 : : default:;
1241 : : }
1242 : : break;
1243 : : }
1244 : : default:;
1245 : : }
1246 : : break;
1247 : : }
1248 : : default:;
1249 : : }
1250 : : break;
1251 : : }
1252 : 0 : case GE_EXPR:
1253 : 0 : {
1254 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
1255 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
1256 : 0 : switch (TREE_CODE (_q20))
1257 : : {
1258 : 0 : case BIT_AND_EXPR:
1259 : 0 : {
1260 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
1261 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
1262 : 0 : switch (TREE_CODE (_q30))
1263 : : {
1264 : 0 : case BIT_XOR_EXPR:
1265 : 0 : {
1266 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
1267 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
1268 : 0 : {
1269 : 0 : tree _q41_pops[1];
1270 : 0 : if (tree_nop_convert (_q41, _q41_pops))
1271 : : {
1272 : 0 : tree _q60 = _q41_pops[0];
1273 : 0 : switch (TREE_CODE (_q60))
1274 : : {
1275 : 0 : case PLUS_EXPR:
1276 : 0 : {
1277 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
1278 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
1279 : 0 : {
1280 : 0 : tree _q70_pops[1];
1281 : 0 : if (tree_nop_convert (_q70, _q70_pops))
1282 : : {
1283 : 0 : tree _q80 = _q70_pops[0];
1284 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
1285 : : {
1286 : 0 : {
1287 : 0 : tree _q71_pops[1];
1288 : 0 : if (tree_nop_convert (_q71, _q71_pops))
1289 : : {
1290 : 0 : tree _q100 = _q71_pops[0];
1291 : 0 : switch (TREE_CODE (_q31))
1292 : : {
1293 : 0 : case BIT_NOT_EXPR:
1294 : 0 : {
1295 : 0 : tree _q120 = TREE_OPERAND (_q31, 0);
1296 : 0 : switch (TREE_CODE (_q120))
1297 : : {
1298 : 0 : case BIT_XOR_EXPR:
1299 : 0 : {
1300 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
1301 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
1302 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
1303 : : {
1304 : 0 : if ((_q131 == _q100 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q100, 0) && types_match (_q131, _q100)))
1305 : : {
1306 : 0 : if (integer_zerop (_q21))
1307 : : {
1308 : 0 : if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
1309 : : {
1310 : 0 : switch (TREE_CODE (_p2))
1311 : : {
1312 : 0 : case BIT_XOR_EXPR:
1313 : 0 : {
1314 : 0 : tree _q180 = TREE_OPERAND (_p2, 0);
1315 : 0 : tree _q181 = TREE_OPERAND (_p2, 1);
1316 : 0 : switch (TREE_CODE (_q180))
1317 : : {
1318 : 0 : case NEGATE_EXPR:
1319 : 0 : {
1320 : 0 : tree _q190 = TREE_OPERAND (_q180, 0);
1321 : 0 : switch (TREE_CODE (_q190))
1322 : : {
1323 : 0 : CASE_CONVERT:
1324 : 0 : {
1325 : 0 : tree _q200 = TREE_OPERAND (_q190, 0);
1326 : 0 : switch (TREE_CODE (_q200))
1327 : : {
1328 : 0 : case LT_EXPR:
1329 : 0 : {
1330 : 0 : tree _q210 = TREE_OPERAND (_q200, 0);
1331 : 0 : tree _q211 = TREE_OPERAND (_q200, 1);
1332 : 0 : if ((_q210 == _q40 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q40, 0) && types_match (_q210, _q40)))
1333 : : {
1334 : 0 : if (integer_zerop (_q211))
1335 : : {
1336 : 0 : if (tree_max_value (_q181))
1337 : : {
1338 : 0 : {
1339 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
1340 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1341 : : )
1342 : : {
1343 : 0 : {
1344 : 0 : res_ops[0] = captures[0];
1345 : 0 : res_ops[1] = captures[1];
1346 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
1347 : 0 : return true;
1348 : : }
1349 : : }
1350 : : }
1351 : : }
1352 : : }
1353 : : }
1354 : : break;
1355 : : }
1356 : : default:;
1357 : : }
1358 : : break;
1359 : : }
1360 : : default:;
1361 : : }
1362 : : break;
1363 : : }
1364 : 0 : default:;
1365 : : }
1366 : 0 : if (tree_max_value (_q180))
1367 : : {
1368 : 0 : switch (TREE_CODE (_q181))
1369 : : {
1370 : 0 : case NEGATE_EXPR:
1371 : 0 : {
1372 : 0 : tree _q200 = TREE_OPERAND (_q181, 0);
1373 : 0 : switch (TREE_CODE (_q200))
1374 : : {
1375 : 0 : CASE_CONVERT:
1376 : 0 : {
1377 : 0 : tree _q210 = TREE_OPERAND (_q200, 0);
1378 : 0 : switch (TREE_CODE (_q210))
1379 : : {
1380 : 0 : case LT_EXPR:
1381 : 0 : {
1382 : 0 : tree _q220 = TREE_OPERAND (_q210, 0);
1383 : 0 : tree _q221 = TREE_OPERAND (_q210, 1);
1384 : 0 : if ((_q220 == _q40 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q40, 0) && types_match (_q220, _q40)))
1385 : : {
1386 : 0 : if (integer_zerop (_q221))
1387 : : {
1388 : 0 : {
1389 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
1390 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1391 : : )
1392 : : {
1393 : 0 : {
1394 : 0 : res_ops[0] = captures[0];
1395 : 0 : res_ops[1] = captures[1];
1396 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
1397 : 0 : return true;
1398 : : }
1399 : : }
1400 : : }
1401 : : }
1402 : : }
1403 : : break;
1404 : : }
1405 : : default:;
1406 : : }
1407 : : break;
1408 : : }
1409 : : default:;
1410 : : }
1411 : : break;
1412 : : }
1413 : : default:;
1414 : : }
1415 : : }
1416 : : break;
1417 : : }
1418 : : default:;
1419 : : }
1420 : : }
1421 : : }
1422 : : }
1423 : : }
1424 : 0 : if ((_q130 == _q100 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q100, 0) && types_match (_q130, _q100)))
1425 : : {
1426 : 0 : if ((_q131 == _q40 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q40, 0) && types_match (_q131, _q40)))
1427 : : {
1428 : 0 : if (integer_zerop (_q21))
1429 : : {
1430 : 0 : if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
1431 : : {
1432 : 0 : switch (TREE_CODE (_p2))
1433 : : {
1434 : 0 : case BIT_XOR_EXPR:
1435 : 0 : {
1436 : 0 : tree _q180 = TREE_OPERAND (_p2, 0);
1437 : 0 : tree _q181 = TREE_OPERAND (_p2, 1);
1438 : 0 : switch (TREE_CODE (_q180))
1439 : : {
1440 : 0 : case NEGATE_EXPR:
1441 : 0 : {
1442 : 0 : tree _q190 = TREE_OPERAND (_q180, 0);
1443 : 0 : switch (TREE_CODE (_q190))
1444 : : {
1445 : 0 : CASE_CONVERT:
1446 : 0 : {
1447 : 0 : tree _q200 = TREE_OPERAND (_q190, 0);
1448 : 0 : switch (TREE_CODE (_q200))
1449 : : {
1450 : 0 : case LT_EXPR:
1451 : 0 : {
1452 : 0 : tree _q210 = TREE_OPERAND (_q200, 0);
1453 : 0 : tree _q211 = TREE_OPERAND (_q200, 1);
1454 : 0 : if ((_q210 == _q40 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q40, 0) && types_match (_q210, _q40)))
1455 : : {
1456 : 0 : if (integer_zerop (_q211))
1457 : : {
1458 : 0 : if (tree_max_value (_q181))
1459 : : {
1460 : 0 : {
1461 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
1462 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1463 : : )
1464 : : {
1465 : 0 : {
1466 : 0 : res_ops[0] = captures[0];
1467 : 0 : res_ops[1] = captures[1];
1468 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
1469 : 0 : return true;
1470 : : }
1471 : : }
1472 : : }
1473 : : }
1474 : : }
1475 : : }
1476 : : break;
1477 : : }
1478 : : default:;
1479 : : }
1480 : : break;
1481 : : }
1482 : : default:;
1483 : : }
1484 : : break;
1485 : : }
1486 : 0 : default:;
1487 : : }
1488 : 0 : if (tree_max_value (_q180))
1489 : : {
1490 : 0 : switch (TREE_CODE (_q181))
1491 : : {
1492 : 0 : case NEGATE_EXPR:
1493 : 0 : {
1494 : 0 : tree _q200 = TREE_OPERAND (_q181, 0);
1495 : 0 : switch (TREE_CODE (_q200))
1496 : : {
1497 : 0 : CASE_CONVERT:
1498 : 0 : {
1499 : 0 : tree _q210 = TREE_OPERAND (_q200, 0);
1500 : 0 : switch (TREE_CODE (_q210))
1501 : : {
1502 : 0 : case LT_EXPR:
1503 : 0 : {
1504 : 0 : tree _q220 = TREE_OPERAND (_q210, 0);
1505 : 0 : tree _q221 = TREE_OPERAND (_q210, 1);
1506 : 0 : if ((_q220 == _q40 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q40, 0) && types_match (_q220, _q40)))
1507 : : {
1508 : 0 : if (integer_zerop (_q221))
1509 : : {
1510 : 0 : {
1511 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
1512 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1513 : : )
1514 : : {
1515 : 0 : {
1516 : 0 : res_ops[0] = captures[0];
1517 : 0 : res_ops[1] = captures[1];
1518 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
1519 : 0 : return true;
1520 : : }
1521 : : }
1522 : : }
1523 : : }
1524 : : }
1525 : : break;
1526 : : }
1527 : : default:;
1528 : : }
1529 : : break;
1530 : : }
1531 : : default:;
1532 : : }
1533 : : break;
1534 : : }
1535 : : default:;
1536 : : }
1537 : : }
1538 : : break;
1539 : : }
1540 : : default:;
1541 : : }
1542 : : }
1543 : : }
1544 : : }
1545 : : }
1546 : : break;
1547 : : }
1548 : : default:;
1549 : : }
1550 : : break;
1551 : : }
1552 : : default:;
1553 : : }
1554 : : }
1555 : : }
1556 : : }
1557 : : }
1558 : : }
1559 : 0 : break;
1560 : : }
1561 : : default:;
1562 : : }
1563 : : }
1564 : : }
1565 : 0 : break;
1566 : : }
1567 : 0 : case BIT_NOT_EXPR:
1568 : 0 : {
1569 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
1570 : 0 : switch (TREE_CODE (_q40))
1571 : : {
1572 : 0 : case BIT_XOR_EXPR:
1573 : 0 : {
1574 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
1575 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
1576 : 0 : switch (TREE_CODE (_q31))
1577 : : {
1578 : 0 : case BIT_XOR_EXPR:
1579 : 0 : {
1580 : 0 : tree _q80 = TREE_OPERAND (_q31, 0);
1581 : 0 : tree _q81 = TREE_OPERAND (_q31, 1);
1582 : 0 : if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
1583 : : {
1584 : 0 : {
1585 : 0 : tree _q81_pops[1];
1586 : 0 : if (tree_nop_convert (_q81, _q81_pops))
1587 : : {
1588 : 0 : tree _q100 = _q81_pops[0];
1589 : 0 : switch (TREE_CODE (_q100))
1590 : : {
1591 : 0 : case PLUS_EXPR:
1592 : 0 : {
1593 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
1594 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
1595 : 0 : {
1596 : 0 : tree _q110_pops[1];
1597 : 0 : if (tree_nop_convert (_q110, _q110_pops))
1598 : : {
1599 : 0 : tree _q120 = _q110_pops[0];
1600 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
1601 : : {
1602 : 0 : {
1603 : 0 : tree _q111_pops[1];
1604 : 0 : if (tree_nop_convert (_q111, _q111_pops))
1605 : : {
1606 : 0 : tree _q140 = _q111_pops[0];
1607 : 0 : if ((_q140 == _q51 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q51, 0) && types_match (_q140, _q51)))
1608 : : {
1609 : 0 : if (integer_zerop (_q21))
1610 : : {
1611 : 0 : if ((_p1 == _q81 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q81, 0) && types_match (_p1, _q81)))
1612 : : {
1613 : 0 : switch (TREE_CODE (_p2))
1614 : : {
1615 : 0 : case BIT_XOR_EXPR:
1616 : 0 : {
1617 : 0 : tree _q180 = TREE_OPERAND (_p2, 0);
1618 : 0 : tree _q181 = TREE_OPERAND (_p2, 1);
1619 : 0 : switch (TREE_CODE (_q180))
1620 : : {
1621 : 0 : case NEGATE_EXPR:
1622 : 0 : {
1623 : 0 : tree _q190 = TREE_OPERAND (_q180, 0);
1624 : 0 : switch (TREE_CODE (_q190))
1625 : : {
1626 : 0 : CASE_CONVERT:
1627 : 0 : {
1628 : 0 : tree _q200 = TREE_OPERAND (_q190, 0);
1629 : 0 : switch (TREE_CODE (_q200))
1630 : : {
1631 : 0 : case LT_EXPR:
1632 : 0 : {
1633 : 0 : tree _q210 = TREE_OPERAND (_q200, 0);
1634 : 0 : tree _q211 = TREE_OPERAND (_q200, 1);
1635 : 0 : if ((_q210 == _q50 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q50, 0) && types_match (_q210, _q50)))
1636 : : {
1637 : 0 : if (integer_zerop (_q211))
1638 : : {
1639 : 0 : if (tree_max_value (_q181))
1640 : : {
1641 : 0 : {
1642 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q81 };
1643 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1644 : : )
1645 : : {
1646 : 0 : {
1647 : 0 : res_ops[0] = captures[0];
1648 : 0 : res_ops[1] = captures[1];
1649 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
1650 : 0 : return true;
1651 : : }
1652 : : }
1653 : : }
1654 : : }
1655 : : }
1656 : : }
1657 : : break;
1658 : : }
1659 : : default:;
1660 : : }
1661 : : break;
1662 : : }
1663 : : default:;
1664 : : }
1665 : : break;
1666 : : }
1667 : 0 : default:;
1668 : : }
1669 : 0 : if (tree_max_value (_q180))
1670 : : {
1671 : 0 : switch (TREE_CODE (_q181))
1672 : : {
1673 : 0 : case NEGATE_EXPR:
1674 : 0 : {
1675 : 0 : tree _q200 = TREE_OPERAND (_q181, 0);
1676 : 0 : switch (TREE_CODE (_q200))
1677 : : {
1678 : 0 : CASE_CONVERT:
1679 : 0 : {
1680 : 0 : tree _q210 = TREE_OPERAND (_q200, 0);
1681 : 0 : switch (TREE_CODE (_q210))
1682 : : {
1683 : 0 : case LT_EXPR:
1684 : 0 : {
1685 : 0 : tree _q220 = TREE_OPERAND (_q210, 0);
1686 : 0 : tree _q221 = TREE_OPERAND (_q210, 1);
1687 : 0 : if ((_q220 == _q50 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q50, 0) && types_match (_q220, _q50)))
1688 : : {
1689 : 0 : if (integer_zerop (_q221))
1690 : : {
1691 : 0 : {
1692 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q81 };
1693 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1694 : : )
1695 : : {
1696 : 0 : {
1697 : 0 : res_ops[0] = captures[0];
1698 : 0 : res_ops[1] = captures[1];
1699 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
1700 : 0 : return true;
1701 : : }
1702 : : }
1703 : : }
1704 : : }
1705 : : }
1706 : : break;
1707 : : }
1708 : : default:;
1709 : : }
1710 : : break;
1711 : : }
1712 : : default:;
1713 : : }
1714 : : break;
1715 : : }
1716 : : default:;
1717 : : }
1718 : : }
1719 : : break;
1720 : : }
1721 : : default:;
1722 : : }
1723 : : }
1724 : : }
1725 : : }
1726 : : }
1727 : : }
1728 : : }
1729 : : }
1730 : : }
1731 : 0 : break;
1732 : : }
1733 : : default:;
1734 : : }
1735 : : }
1736 : : }
1737 : : }
1738 : 0 : if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
1739 : : {
1740 : 0 : {
1741 : 0 : tree _q81_pops[1];
1742 : 0 : if (tree_nop_convert (_q81, _q81_pops))
1743 : : {
1744 : 0 : tree _q100 = _q81_pops[0];
1745 : 0 : switch (TREE_CODE (_q100))
1746 : : {
1747 : 0 : case PLUS_EXPR:
1748 : 0 : {
1749 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
1750 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
1751 : 0 : {
1752 : 0 : tree _q110_pops[1];
1753 : 0 : if (tree_nop_convert (_q110, _q110_pops))
1754 : : {
1755 : 0 : tree _q120 = _q110_pops[0];
1756 : 0 : if ((_q120 == _q51 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q51, 0) && types_match (_q120, _q51)))
1757 : : {
1758 : 0 : {
1759 : 0 : tree _q111_pops[1];
1760 : 0 : if (tree_nop_convert (_q111, _q111_pops))
1761 : : {
1762 : 0 : tree _q140 = _q111_pops[0];
1763 : 0 : if ((_q140 == _q50 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q50, 0) && types_match (_q140, _q50)))
1764 : : {
1765 : 0 : if (integer_zerop (_q21))
1766 : : {
1767 : 0 : if ((_p1 == _q81 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q81, 0) && types_match (_p1, _q81)))
1768 : : {
1769 : 0 : switch (TREE_CODE (_p2))
1770 : : {
1771 : 0 : case BIT_XOR_EXPR:
1772 : 0 : {
1773 : 0 : tree _q180 = TREE_OPERAND (_p2, 0);
1774 : 0 : tree _q181 = TREE_OPERAND (_p2, 1);
1775 : 0 : switch (TREE_CODE (_q180))
1776 : : {
1777 : 0 : case NEGATE_EXPR:
1778 : 0 : {
1779 : 0 : tree _q190 = TREE_OPERAND (_q180, 0);
1780 : 0 : switch (TREE_CODE (_q190))
1781 : : {
1782 : 0 : CASE_CONVERT:
1783 : 0 : {
1784 : 0 : tree _q200 = TREE_OPERAND (_q190, 0);
1785 : 0 : switch (TREE_CODE (_q200))
1786 : : {
1787 : 0 : case LT_EXPR:
1788 : 0 : {
1789 : 0 : tree _q210 = TREE_OPERAND (_q200, 0);
1790 : 0 : tree _q211 = TREE_OPERAND (_q200, 1);
1791 : 0 : if ((_q210 == _q51 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q51, 0) && types_match (_q210, _q51)))
1792 : : {
1793 : 0 : if (integer_zerop (_q211))
1794 : : {
1795 : 0 : if (tree_max_value (_q181))
1796 : : {
1797 : 0 : {
1798 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q81 };
1799 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1800 : : )
1801 : : {
1802 : 0 : {
1803 : 0 : res_ops[0] = captures[0];
1804 : 0 : res_ops[1] = captures[1];
1805 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
1806 : 0 : return true;
1807 : : }
1808 : : }
1809 : : }
1810 : : }
1811 : : }
1812 : : }
1813 : : break;
1814 : : }
1815 : : default:;
1816 : : }
1817 : : break;
1818 : : }
1819 : : default:;
1820 : : }
1821 : : break;
1822 : : }
1823 : 0 : default:;
1824 : : }
1825 : 0 : if (tree_max_value (_q180))
1826 : : {
1827 : 0 : switch (TREE_CODE (_q181))
1828 : : {
1829 : 0 : case NEGATE_EXPR:
1830 : 0 : {
1831 : 0 : tree _q200 = TREE_OPERAND (_q181, 0);
1832 : 0 : switch (TREE_CODE (_q200))
1833 : : {
1834 : 0 : CASE_CONVERT:
1835 : 0 : {
1836 : 0 : tree _q210 = TREE_OPERAND (_q200, 0);
1837 : 0 : switch (TREE_CODE (_q210))
1838 : : {
1839 : 0 : case LT_EXPR:
1840 : 0 : {
1841 : 0 : tree _q220 = TREE_OPERAND (_q210, 0);
1842 : 0 : tree _q221 = TREE_OPERAND (_q210, 1);
1843 : 0 : if ((_q220 == _q51 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q51, 0) && types_match (_q220, _q51)))
1844 : : {
1845 : 0 : if (integer_zerop (_q221))
1846 : : {
1847 : 0 : {
1848 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q81 };
1849 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1850 : : )
1851 : : {
1852 : 0 : {
1853 : 0 : res_ops[0] = captures[0];
1854 : 0 : res_ops[1] = captures[1];
1855 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
1856 : 0 : return true;
1857 : : }
1858 : : }
1859 : : }
1860 : : }
1861 : : }
1862 : : break;
1863 : : }
1864 : : default:;
1865 : : }
1866 : : break;
1867 : : }
1868 : : default:;
1869 : : }
1870 : : break;
1871 : : }
1872 : : default:;
1873 : : }
1874 : : }
1875 : : break;
1876 : : }
1877 : : default:;
1878 : : }
1879 : : }
1880 : : }
1881 : : }
1882 : : }
1883 : : }
1884 : : }
1885 : : }
1886 : : }
1887 : 0 : break;
1888 : : }
1889 : : default:;
1890 : : }
1891 : : }
1892 : : }
1893 : : }
1894 : : break;
1895 : : }
1896 : : default:;
1897 : : }
1898 : : break;
1899 : : }
1900 : : default:;
1901 : : }
1902 : : break;
1903 : : }
1904 : : default:;
1905 : : }
1906 : : break;
1907 : : }
1908 : 0 : case BIT_IOR_EXPR:
1909 : 0 : {
1910 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
1911 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
1912 : 0 : switch (TREE_CODE (_q30))
1913 : : {
1914 : 0 : case BIT_XOR_EXPR:
1915 : 0 : {
1916 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
1917 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
1918 : 0 : switch (TREE_CODE (_q41))
1919 : : {
1920 : 0 : case INTEGER_CST:
1921 : 0 : {
1922 : 0 : switch (TREE_CODE (_q31))
1923 : : {
1924 : 0 : case BIT_NOT_EXPR:
1925 : 0 : {
1926 : 0 : tree _q70 = TREE_OPERAND (_q31, 0);
1927 : 0 : switch (TREE_CODE (_q70))
1928 : : {
1929 : 0 : case BIT_XOR_EXPR:
1930 : 0 : {
1931 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
1932 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
1933 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
1934 : : {
1935 : 0 : {
1936 : 0 : tree _q81_pops[1];
1937 : 0 : if (tree_nop_convert (_q81, _q81_pops))
1938 : : {
1939 : 0 : tree _q100 = _q81_pops[0];
1940 : 0 : switch (TREE_CODE (_q100))
1941 : : {
1942 : 0 : case PLUS_EXPR:
1943 : 0 : {
1944 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
1945 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
1946 : 0 : {
1947 : 0 : tree _q110_pops[1];
1948 : 0 : if (tree_nop_convert (_q110, _q110_pops))
1949 : : {
1950 : 0 : tree _q120 = _q110_pops[0];
1951 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
1952 : : {
1953 : 0 : switch (TREE_CODE (_q111))
1954 : : {
1955 : 0 : case INTEGER_CST:
1956 : 0 : {
1957 : 0 : if (integer_zerop (_q21))
1958 : : {
1959 : 0 : {
1960 : 0 : tree _p1_pops[1];
1961 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
1962 : : {
1963 : 0 : tree _q160 = _p1_pops[0];
1964 : 0 : if ((_q160 == _q40 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q40, 0) && types_match (_q160, _q40)))
1965 : : {
1966 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
1967 : : {
1968 : 0 : {
1969 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q81, _q111 };
1970 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1971 : : )
1972 : : {
1973 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
1974 : : )
1975 : : {
1976 : 0 : {
1977 : 0 : res_ops[0] = captures[0];
1978 : 0 : res_ops[1] = captures[1];
1979 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
1980 : 0 : return true;
1981 : : }
1982 : : }
1983 : : }
1984 : : }
1985 : : }
1986 : : }
1987 : : }
1988 : : }
1989 : : }
1990 : : break;
1991 : : }
1992 : : default:;
1993 : : }
1994 : : }
1995 : : }
1996 : : }
1997 : 0 : break;
1998 : : }
1999 : : default:;
2000 : : }
2001 : : }
2002 : : }
2003 : : }
2004 : 0 : {
2005 : 0 : tree _q80_pops[1];
2006 : 0 : if (tree_nop_convert (_q80, _q80_pops))
2007 : : {
2008 : 0 : tree _q90 = _q80_pops[0];
2009 : 0 : switch (TREE_CODE (_q90))
2010 : : {
2011 : 0 : case PLUS_EXPR:
2012 : 0 : {
2013 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
2014 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
2015 : 0 : {
2016 : 0 : tree _q100_pops[1];
2017 : 0 : if (tree_nop_convert (_q100, _q100_pops))
2018 : : {
2019 : 0 : tree _q110 = _q100_pops[0];
2020 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
2021 : : {
2022 : 0 : switch (TREE_CODE (_q101))
2023 : : {
2024 : 0 : case INTEGER_CST:
2025 : 0 : {
2026 : 0 : if ((_q81 == _q40 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q40, 0) && types_match (_q81, _q40)))
2027 : : {
2028 : 0 : if (integer_zerop (_q21))
2029 : : {
2030 : 0 : {
2031 : 0 : tree _p1_pops[1];
2032 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
2033 : : {
2034 : 0 : tree _q160 = _p1_pops[0];
2035 : 0 : if ((_q160 == _q40 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q40, 0) && types_match (_q160, _q40)))
2036 : : {
2037 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
2038 : : {
2039 : 0 : {
2040 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q80, _q101 };
2041 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2042 : : )
2043 : : {
2044 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
2045 : : )
2046 : : {
2047 : 0 : {
2048 : 0 : res_ops[0] = captures[0];
2049 : 0 : res_ops[1] = captures[1];
2050 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
2051 : 0 : return true;
2052 : : }
2053 : : }
2054 : : }
2055 : : }
2056 : : }
2057 : : }
2058 : : }
2059 : : }
2060 : : }
2061 : : }
2062 : : break;
2063 : : }
2064 : : default:;
2065 : : }
2066 : : }
2067 : : }
2068 : : }
2069 : 0 : break;
2070 : : }
2071 : : default:;
2072 : : }
2073 : : }
2074 : : }
2075 : 0 : break;
2076 : : }
2077 : : default:;
2078 : : }
2079 : : break;
2080 : : }
2081 : : default:;
2082 : : }
2083 : : break;
2084 : : }
2085 : 0 : default:;
2086 : : }
2087 : 0 : switch (TREE_CODE (_q40))
2088 : : {
2089 : 0 : case INTEGER_CST:
2090 : 0 : {
2091 : 0 : switch (TREE_CODE (_q31))
2092 : : {
2093 : 0 : case BIT_NOT_EXPR:
2094 : 0 : {
2095 : 0 : tree _q70 = TREE_OPERAND (_q31, 0);
2096 : 0 : switch (TREE_CODE (_q70))
2097 : : {
2098 : 0 : case BIT_XOR_EXPR:
2099 : 0 : {
2100 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
2101 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
2102 : 0 : if ((_q80 == _q41 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q41, 0) && types_match (_q80, _q41)))
2103 : : {
2104 : 0 : {
2105 : 0 : tree _q81_pops[1];
2106 : 0 : if (tree_nop_convert (_q81, _q81_pops))
2107 : : {
2108 : 0 : tree _q100 = _q81_pops[0];
2109 : 0 : switch (TREE_CODE (_q100))
2110 : : {
2111 : 0 : case PLUS_EXPR:
2112 : 0 : {
2113 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
2114 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
2115 : 0 : {
2116 : 0 : tree _q110_pops[1];
2117 : 0 : if (tree_nop_convert (_q110, _q110_pops))
2118 : : {
2119 : 0 : tree _q120 = _q110_pops[0];
2120 : 0 : if ((_q120 == _q41 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q41, 0) && types_match (_q120, _q41)))
2121 : : {
2122 : 0 : switch (TREE_CODE (_q111))
2123 : : {
2124 : 0 : case INTEGER_CST:
2125 : 0 : {
2126 : 0 : if (integer_zerop (_q21))
2127 : : {
2128 : 0 : {
2129 : 0 : tree _p1_pops[1];
2130 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
2131 : : {
2132 : 0 : tree _q160 = _p1_pops[0];
2133 : 0 : if ((_q160 == _q41 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q41, 0) && types_match (_q160, _q41)))
2134 : : {
2135 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
2136 : : {
2137 : 0 : {
2138 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q40, _q81, _q111 };
2139 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2140 : : )
2141 : : {
2142 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
2143 : : )
2144 : : {
2145 : 0 : {
2146 : 0 : res_ops[0] = captures[0];
2147 : 0 : res_ops[1] = captures[1];
2148 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
2149 : 0 : return true;
2150 : : }
2151 : : }
2152 : : }
2153 : : }
2154 : : }
2155 : : }
2156 : : }
2157 : : }
2158 : : }
2159 : : break;
2160 : : }
2161 : : default:;
2162 : : }
2163 : : }
2164 : : }
2165 : : }
2166 : 0 : break;
2167 : : }
2168 : : default:;
2169 : : }
2170 : : }
2171 : : }
2172 : : }
2173 : 0 : {
2174 : 0 : tree _q80_pops[1];
2175 : 0 : if (tree_nop_convert (_q80, _q80_pops))
2176 : : {
2177 : 0 : tree _q90 = _q80_pops[0];
2178 : 0 : switch (TREE_CODE (_q90))
2179 : : {
2180 : 0 : case PLUS_EXPR:
2181 : 0 : {
2182 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
2183 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
2184 : 0 : {
2185 : 0 : tree _q100_pops[1];
2186 : 0 : if (tree_nop_convert (_q100, _q100_pops))
2187 : : {
2188 : 0 : tree _q110 = _q100_pops[0];
2189 : 0 : if ((_q110 == _q41 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q41, 0) && types_match (_q110, _q41)))
2190 : : {
2191 : 0 : switch (TREE_CODE (_q101))
2192 : : {
2193 : 0 : case INTEGER_CST:
2194 : 0 : {
2195 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
2196 : : {
2197 : 0 : if (integer_zerop (_q21))
2198 : : {
2199 : 0 : {
2200 : 0 : tree _p1_pops[1];
2201 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
2202 : : {
2203 : 0 : tree _q160 = _p1_pops[0];
2204 : 0 : if ((_q160 == _q41 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q41, 0) && types_match (_q160, _q41)))
2205 : : {
2206 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
2207 : : {
2208 : 0 : {
2209 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q40, _q80, _q101 };
2210 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2211 : : )
2212 : : {
2213 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
2214 : : )
2215 : : {
2216 : 0 : {
2217 : 0 : res_ops[0] = captures[0];
2218 : 0 : res_ops[1] = captures[1];
2219 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
2220 : 0 : return true;
2221 : : }
2222 : : }
2223 : : }
2224 : : }
2225 : : }
2226 : : }
2227 : : }
2228 : : }
2229 : : }
2230 : : }
2231 : : break;
2232 : : }
2233 : : default:;
2234 : : }
2235 : : }
2236 : : }
2237 : : }
2238 : 0 : break;
2239 : : }
2240 : : default:;
2241 : : }
2242 : : }
2243 : : }
2244 : 0 : break;
2245 : : }
2246 : : default:;
2247 : : }
2248 : : break;
2249 : : }
2250 : : default:;
2251 : : }
2252 : : break;
2253 : : }
2254 : : default:;
2255 : : }
2256 : : break;
2257 : : }
2258 : 0 : case BIT_NOT_EXPR:
2259 : 0 : {
2260 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
2261 : 0 : switch (TREE_CODE (_q40))
2262 : : {
2263 : 0 : case BIT_XOR_EXPR:
2264 : 0 : {
2265 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
2266 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
2267 : 0 : {
2268 : 0 : tree _q51_pops[1];
2269 : 0 : if (tree_nop_convert (_q51, _q51_pops))
2270 : : {
2271 : 0 : tree _q70 = _q51_pops[0];
2272 : 0 : switch (TREE_CODE (_q70))
2273 : : {
2274 : 0 : case PLUS_EXPR:
2275 : 0 : {
2276 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
2277 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
2278 : 0 : {
2279 : 0 : tree _q80_pops[1];
2280 : 0 : if (tree_nop_convert (_q80, _q80_pops))
2281 : : {
2282 : 0 : tree _q90 = _q80_pops[0];
2283 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
2284 : : {
2285 : 0 : switch (TREE_CODE (_q81))
2286 : : {
2287 : 0 : case INTEGER_CST:
2288 : 0 : {
2289 : 0 : switch (TREE_CODE (_q31))
2290 : : {
2291 : 0 : case BIT_XOR_EXPR:
2292 : 0 : {
2293 : 0 : tree _q120 = TREE_OPERAND (_q31, 0);
2294 : 0 : tree _q121 = TREE_OPERAND (_q31, 1);
2295 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
2296 : : {
2297 : 0 : switch (TREE_CODE (_q121))
2298 : : {
2299 : 0 : case INTEGER_CST:
2300 : 0 : {
2301 : 0 : if (integer_zerop (_q21))
2302 : : {
2303 : 0 : {
2304 : 0 : tree _p1_pops[1];
2305 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
2306 : : {
2307 : 0 : tree _q160 = _p1_pops[0];
2308 : 0 : if ((_q160 == _q50 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q50, 0) && types_match (_q160, _q50)))
2309 : : {
2310 : 0 : if ((_p2 == _q51 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q51, 0) && types_match (_p2, _q51)))
2311 : : {
2312 : 0 : {
2313 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q121, _q51, _q81 };
2314 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2315 : : )
2316 : : {
2317 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
2318 : : )
2319 : : {
2320 : 0 : {
2321 : 0 : res_ops[0] = captures[0];
2322 : 0 : res_ops[1] = captures[1];
2323 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
2324 : 0 : return true;
2325 : : }
2326 : : }
2327 : : }
2328 : : }
2329 : : }
2330 : : }
2331 : : }
2332 : : }
2333 : : }
2334 : : break;
2335 : : }
2336 : : default:;
2337 : : }
2338 : : }
2339 : : break;
2340 : : }
2341 : : default:;
2342 : : }
2343 : : break;
2344 : : }
2345 : : default:;
2346 : : }
2347 : : }
2348 : : }
2349 : : }
2350 : 0 : break;
2351 : : }
2352 : : default:;
2353 : : }
2354 : : }
2355 : : }
2356 : 0 : {
2357 : 0 : tree _q50_pops[1];
2358 : 0 : if (tree_nop_convert (_q50, _q50_pops))
2359 : : {
2360 : 0 : tree _q60 = _q50_pops[0];
2361 : 0 : switch (TREE_CODE (_q60))
2362 : : {
2363 : 0 : case PLUS_EXPR:
2364 : 0 : {
2365 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
2366 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
2367 : 0 : {
2368 : 0 : tree _q70_pops[1];
2369 : 0 : if (tree_nop_convert (_q70, _q70_pops))
2370 : : {
2371 : 0 : tree _q80 = _q70_pops[0];
2372 : 0 : switch (TREE_CODE (_q71))
2373 : : {
2374 : 0 : case INTEGER_CST:
2375 : 0 : {
2376 : 0 : if ((_q51 == _q80 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q80, 0) && types_match (_q51, _q80)))
2377 : : {
2378 : 0 : switch (TREE_CODE (_q31))
2379 : : {
2380 : 0 : case BIT_XOR_EXPR:
2381 : 0 : {
2382 : 0 : tree _q120 = TREE_OPERAND (_q31, 0);
2383 : 0 : tree _q121 = TREE_OPERAND (_q31, 1);
2384 : 0 : if ((_q120 == _q80 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q80, 0) && types_match (_q120, _q80)))
2385 : : {
2386 : 0 : switch (TREE_CODE (_q121))
2387 : : {
2388 : 0 : case INTEGER_CST:
2389 : 0 : {
2390 : 0 : if (integer_zerop (_q21))
2391 : : {
2392 : 0 : {
2393 : 0 : tree _p1_pops[1];
2394 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
2395 : : {
2396 : 0 : tree _q160 = _p1_pops[0];
2397 : 0 : if ((_q160 == _q80 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q80, 0) && types_match (_q160, _q80)))
2398 : : {
2399 : 0 : if ((_p2 == _q50 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q50, 0) && types_match (_p2, _q50)))
2400 : : {
2401 : 0 : {
2402 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q80, _q121, _q50, _q71 };
2403 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2404 : : )
2405 : : {
2406 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
2407 : : )
2408 : : {
2409 : 0 : {
2410 : 0 : res_ops[0] = captures[0];
2411 : 0 : res_ops[1] = captures[1];
2412 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
2413 : 0 : return true;
2414 : : }
2415 : : }
2416 : : }
2417 : : }
2418 : : }
2419 : : }
2420 : : }
2421 : : }
2422 : : }
2423 : : break;
2424 : : }
2425 : : default:;
2426 : : }
2427 : : }
2428 : 0 : switch (TREE_CODE (_q120))
2429 : : {
2430 : 0 : case INTEGER_CST:
2431 : 0 : {
2432 : 0 : if ((_q121 == _q80 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q80, 0) && types_match (_q121, _q80)))
2433 : : {
2434 : 0 : if (integer_zerop (_q21))
2435 : : {
2436 : 0 : {
2437 : 0 : tree _p1_pops[1];
2438 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
2439 : : {
2440 : 0 : tree _q160 = _p1_pops[0];
2441 : 0 : if ((_q160 == _q80 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q80, 0) && types_match (_q160, _q80)))
2442 : : {
2443 : 0 : if ((_p2 == _q50 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q50, 0) && types_match (_p2, _q50)))
2444 : : {
2445 : 0 : {
2446 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q80, _q120, _q50, _q71 };
2447 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2448 : : )
2449 : : {
2450 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
2451 : : )
2452 : : {
2453 : 0 : {
2454 : 0 : res_ops[0] = captures[0];
2455 : 0 : res_ops[1] = captures[1];
2456 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
2457 : 0 : return true;
2458 : : }
2459 : : }
2460 : : }
2461 : : }
2462 : : }
2463 : : }
2464 : : }
2465 : : }
2466 : : }
2467 : : }
2468 : : break;
2469 : : }
2470 : : default:;
2471 : : }
2472 : : break;
2473 : : }
2474 : : default:;
2475 : : }
2476 : : }
2477 : : break;
2478 : : }
2479 : : default:;
2480 : : }
2481 : : }
2482 : : }
2483 : 0 : break;
2484 : : }
2485 : : default:;
2486 : : }
2487 : : }
2488 : : }
2489 : 0 : {
2490 : 0 : tree _q51_pops[1];
2491 : 0 : if (tree_nop_convert (_q51, _q51_pops))
2492 : : {
2493 : 0 : tree _q70 = _q51_pops[0];
2494 : 0 : switch (TREE_CODE (_q70))
2495 : : {
2496 : 0 : case PLUS_EXPR:
2497 : 0 : {
2498 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
2499 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
2500 : 0 : {
2501 : 0 : tree _q80_pops[1];
2502 : 0 : if (tree_nop_convert (_q80, _q80_pops))
2503 : : {
2504 : 0 : tree _q90 = _q80_pops[0];
2505 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
2506 : : {
2507 : 0 : switch (TREE_CODE (_q81))
2508 : : {
2509 : 0 : case INTEGER_CST:
2510 : 0 : {
2511 : 0 : switch (TREE_CODE (_q31))
2512 : : {
2513 : 0 : case BIT_XOR_EXPR:
2514 : 0 : {
2515 : 0 : tree _q120 = TREE_OPERAND (_q31, 0);
2516 : 0 : tree _q121 = TREE_OPERAND (_q31, 1);
2517 : 0 : switch (TREE_CODE (_q120))
2518 : : {
2519 : 0 : case INTEGER_CST:
2520 : 0 : {
2521 : 0 : if ((_q121 == _q50 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q50, 0) && types_match (_q121, _q50)))
2522 : : {
2523 : 0 : if (integer_zerop (_q21))
2524 : : {
2525 : 0 : {
2526 : 0 : tree _p1_pops[1];
2527 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
2528 : : {
2529 : 0 : tree _q160 = _p1_pops[0];
2530 : 0 : if ((_q160 == _q50 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q50, 0) && types_match (_q160, _q50)))
2531 : : {
2532 : 0 : if ((_p2 == _q51 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q51, 0) && types_match (_p2, _q51)))
2533 : : {
2534 : 0 : {
2535 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q120, _q51, _q81 };
2536 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2537 : : )
2538 : : {
2539 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
2540 : : )
2541 : : {
2542 : 0 : {
2543 : 0 : res_ops[0] = captures[0];
2544 : 0 : res_ops[1] = captures[1];
2545 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
2546 : 0 : return true;
2547 : : }
2548 : : }
2549 : : }
2550 : : }
2551 : : }
2552 : : }
2553 : : }
2554 : : }
2555 : : }
2556 : : }
2557 : : break;
2558 : : }
2559 : : default:;
2560 : : }
2561 : : break;
2562 : : }
2563 : : default:;
2564 : : }
2565 : : break;
2566 : : }
2567 : : default:;
2568 : : }
2569 : : }
2570 : : }
2571 : : }
2572 : 0 : break;
2573 : : }
2574 : : default:;
2575 : : }
2576 : : }
2577 : : }
2578 : 0 : break;
2579 : : }
2580 : : default:;
2581 : : }
2582 : : break;
2583 : : }
2584 : : default:;
2585 : : }
2586 : : break;
2587 : : }
2588 : : default:;
2589 : : }
2590 : : break;
2591 : : }
2592 : 0 : case BIT_AND_EXPR:
2593 : 0 : {
2594 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
2595 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
2596 : 0 : switch (TREE_CODE (_q20))
2597 : : {
2598 : 0 : case LT_EXPR:
2599 : 0 : {
2600 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
2601 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
2602 : 0 : switch (TREE_CODE (_q30))
2603 : : {
2604 : 0 : case BIT_XOR_EXPR:
2605 : 0 : {
2606 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
2607 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
2608 : 0 : {
2609 : 0 : tree _q41_pops[1];
2610 : 0 : if (tree_nop_convert (_q41, _q41_pops))
2611 : : {
2612 : 0 : tree _q60 = _q41_pops[0];
2613 : 0 : switch (TREE_CODE (_q60))
2614 : : {
2615 : 0 : case PLUS_EXPR:
2616 : 0 : {
2617 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
2618 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
2619 : 0 : {
2620 : 0 : tree _q70_pops[1];
2621 : 0 : if (tree_nop_convert (_q70, _q70_pops))
2622 : : {
2623 : 0 : tree _q80 = _q70_pops[0];
2624 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
2625 : : {
2626 : 0 : switch (TREE_CODE (_q71))
2627 : : {
2628 : 0 : case INTEGER_CST:
2629 : 0 : {
2630 : 0 : if (integer_zerop (_q31))
2631 : : {
2632 : 0 : switch (TREE_CODE (_q21))
2633 : : {
2634 : 0 : case GE_EXPR:
2635 : 0 : {
2636 : 0 : tree _q120 = TREE_OPERAND (_q21, 0);
2637 : 0 : tree _q121 = TREE_OPERAND (_q21, 1);
2638 : 0 : switch (TREE_CODE (_q120))
2639 : : {
2640 : 0 : case BIT_XOR_EXPR:
2641 : 0 : {
2642 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
2643 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
2644 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
2645 : : {
2646 : 0 : switch (TREE_CODE (_q131))
2647 : : {
2648 : 0 : case INTEGER_CST:
2649 : 0 : {
2650 : 0 : if (integer_zerop (_q121))
2651 : : {
2652 : 0 : {
2653 : 0 : tree _p1_pops[1];
2654 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
2655 : : {
2656 : 0 : tree _q170 = _p1_pops[0];
2657 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
2658 : : {
2659 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
2660 : : {
2661 : 0 : {
2662 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q131 };
2663 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2664 : : )
2665 : : {
2666 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
2667 : : )
2668 : : {
2669 : 0 : {
2670 : 0 : res_ops[0] = captures[0];
2671 : 0 : res_ops[1] = captures[1];
2672 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
2673 : 0 : return true;
2674 : : }
2675 : : }
2676 : : }
2677 : : }
2678 : : }
2679 : : }
2680 : : }
2681 : : }
2682 : : }
2683 : : break;
2684 : : }
2685 : : default:;
2686 : : }
2687 : : }
2688 : 0 : switch (TREE_CODE (_q130))
2689 : : {
2690 : 0 : case INTEGER_CST:
2691 : 0 : {
2692 : 0 : if ((_q131 == _q40 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q40, 0) && types_match (_q131, _q40)))
2693 : : {
2694 : 0 : if (integer_zerop (_q121))
2695 : : {
2696 : 0 : {
2697 : 0 : tree _p1_pops[1];
2698 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
2699 : : {
2700 : 0 : tree _q170 = _p1_pops[0];
2701 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
2702 : : {
2703 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
2704 : : {
2705 : 0 : {
2706 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q130 };
2707 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2708 : : )
2709 : : {
2710 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
2711 : : )
2712 : : {
2713 : 0 : {
2714 : 0 : res_ops[0] = captures[0];
2715 : 0 : res_ops[1] = captures[1];
2716 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
2717 : 0 : return true;
2718 : : }
2719 : : }
2720 : : }
2721 : : }
2722 : : }
2723 : : }
2724 : : }
2725 : : }
2726 : : }
2727 : : }
2728 : : break;
2729 : : }
2730 : : default:;
2731 : : }
2732 : : break;
2733 : : }
2734 : : default:;
2735 : : }
2736 : : break;
2737 : : }
2738 : : default:;
2739 : : }
2740 : : }
2741 : : break;
2742 : : }
2743 : 0 : default:;
2744 : : }
2745 : 0 : {
2746 : 0 : tree _q71_pops[1];
2747 : 0 : if (tree_nop_convert (_q71, _q71_pops))
2748 : : {
2749 : 0 : tree _q100 = _q71_pops[0];
2750 : 0 : if (integer_zerop (_q31))
2751 : : {
2752 : 0 : switch (TREE_CODE (_q21))
2753 : : {
2754 : 0 : case GE_EXPR:
2755 : 0 : {
2756 : 0 : tree _q130 = TREE_OPERAND (_q21, 0);
2757 : 0 : tree _q131 = TREE_OPERAND (_q21, 1);
2758 : 0 : switch (TREE_CODE (_q130))
2759 : : {
2760 : 0 : case BIT_XOR_EXPR:
2761 : 0 : {
2762 : 0 : tree _q140 = TREE_OPERAND (_q130, 0);
2763 : 0 : tree _q141 = TREE_OPERAND (_q130, 1);
2764 : 0 : if ((_q140 == _q40 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q40, 0) && types_match (_q140, _q40)))
2765 : : {
2766 : 0 : if ((_q141 == _q100 && ! TREE_SIDE_EFFECTS (_q141)) || (operand_equal_p (_q141, _q100, 0) && types_match (_q141, _q100)))
2767 : : {
2768 : 0 : if (integer_zerop (_q131))
2769 : : {
2770 : 0 : {
2771 : 0 : tree _p1_pops[1];
2772 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
2773 : : {
2774 : 0 : tree _q180 = _p1_pops[0];
2775 : 0 : if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
2776 : : {
2777 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
2778 : : {
2779 : 0 : {
2780 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
2781 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2782 : : )
2783 : : {
2784 : 0 : {
2785 : 0 : res_ops[0] = captures[0];
2786 : 0 : res_ops[1] = captures[1];
2787 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
2788 : 0 : return true;
2789 : : }
2790 : : }
2791 : : }
2792 : : }
2793 : : }
2794 : : }
2795 : : }
2796 : : }
2797 : : }
2798 : : }
2799 : 0 : if ((_q140 == _q100 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q100, 0) && types_match (_q140, _q100)))
2800 : : {
2801 : 0 : if ((_q141 == _q40 && ! TREE_SIDE_EFFECTS (_q141)) || (operand_equal_p (_q141, _q40, 0) && types_match (_q141, _q40)))
2802 : : {
2803 : 0 : if (integer_zerop (_q131))
2804 : : {
2805 : 0 : {
2806 : 0 : tree _p1_pops[1];
2807 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
2808 : : {
2809 : 0 : tree _q180 = _p1_pops[0];
2810 : 0 : if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
2811 : : {
2812 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
2813 : : {
2814 : 0 : {
2815 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
2816 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2817 : : )
2818 : : {
2819 : 0 : {
2820 : 0 : res_ops[0] = captures[0];
2821 : 0 : res_ops[1] = captures[1];
2822 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
2823 : 0 : return true;
2824 : : }
2825 : : }
2826 : : }
2827 : : }
2828 : : }
2829 : : }
2830 : : }
2831 : : }
2832 : : }
2833 : : }
2834 : : break;
2835 : : }
2836 : : default:;
2837 : : }
2838 : : break;
2839 : : }
2840 : 0 : case BIT_NOT_EXPR:
2841 : 0 : {
2842 : 0 : tree _q130 = TREE_OPERAND (_q21, 0);
2843 : 0 : switch (TREE_CODE (_q130))
2844 : : {
2845 : 0 : case LT_EXPR:
2846 : 0 : {
2847 : 0 : tree _q140 = TREE_OPERAND (_q130, 0);
2848 : 0 : tree _q141 = TREE_OPERAND (_q130, 1);
2849 : 0 : switch (TREE_CODE (_q140))
2850 : : {
2851 : 0 : case BIT_XOR_EXPR:
2852 : 0 : {
2853 : 0 : tree _q150 = TREE_OPERAND (_q140, 0);
2854 : 0 : tree _q151 = TREE_OPERAND (_q140, 1);
2855 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
2856 : : {
2857 : 0 : if ((_q151 == _q100 && ! TREE_SIDE_EFFECTS (_q151)) || (operand_equal_p (_q151, _q100, 0) && types_match (_q151, _q100)))
2858 : : {
2859 : 0 : if (integer_zerop (_q141))
2860 : : {
2861 : 0 : {
2862 : 0 : tree _p1_pops[1];
2863 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
2864 : : {
2865 : 0 : tree _q190 = _p1_pops[0];
2866 : 0 : if ((_q190 == _q40 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q40, 0) && types_match (_q190, _q40)))
2867 : : {
2868 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
2869 : : {
2870 : 0 : {
2871 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
2872 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2873 : : )
2874 : : {
2875 : 0 : {
2876 : 0 : res_ops[0] = captures[0];
2877 : 0 : res_ops[1] = captures[1];
2878 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 80, __FILE__, __LINE__, false);
2879 : 0 : return true;
2880 : : }
2881 : : }
2882 : : }
2883 : : }
2884 : : }
2885 : : }
2886 : : }
2887 : : }
2888 : : }
2889 : : }
2890 : 0 : if ((_q150 == _q100 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q100, 0) && types_match (_q150, _q100)))
2891 : : {
2892 : 0 : if ((_q151 == _q40 && ! TREE_SIDE_EFFECTS (_q151)) || (operand_equal_p (_q151, _q40, 0) && types_match (_q151, _q40)))
2893 : : {
2894 : 0 : if (integer_zerop (_q141))
2895 : : {
2896 : 0 : {
2897 : 0 : tree _p1_pops[1];
2898 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
2899 : : {
2900 : 0 : tree _q190 = _p1_pops[0];
2901 : 0 : if ((_q190 == _q40 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q40, 0) && types_match (_q190, _q40)))
2902 : : {
2903 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
2904 : : {
2905 : 0 : {
2906 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
2907 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2908 : : )
2909 : : {
2910 : 0 : {
2911 : 0 : res_ops[0] = captures[0];
2912 : 0 : res_ops[1] = captures[1];
2913 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 80, __FILE__, __LINE__, false);
2914 : 0 : return true;
2915 : : }
2916 : : }
2917 : : }
2918 : : }
2919 : : }
2920 : : }
2921 : : }
2922 : : }
2923 : : }
2924 : : }
2925 : : break;
2926 : : }
2927 : : default:;
2928 : : }
2929 : : break;
2930 : : }
2931 : : default:;
2932 : : }
2933 : : break;
2934 : : }
2935 : : default:;
2936 : : }
2937 : : }
2938 : : }
2939 : : }
2940 : : }
2941 : : }
2942 : : }
2943 : 0 : break;
2944 : : }
2945 : : default:;
2946 : : }
2947 : : }
2948 : : }
2949 : 0 : break;
2950 : : }
2951 : : default:;
2952 : : }
2953 : : break;
2954 : : }
2955 : 0 : case GE_EXPR:
2956 : 0 : {
2957 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
2958 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
2959 : 0 : switch (TREE_CODE (_q30))
2960 : : {
2961 : 0 : case BIT_XOR_EXPR:
2962 : 0 : {
2963 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
2964 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
2965 : 0 : if (integer_zerop (_q31))
2966 : : {
2967 : 0 : switch (TREE_CODE (_q21))
2968 : : {
2969 : 0 : case LT_EXPR:
2970 : 0 : {
2971 : 0 : tree _q80 = TREE_OPERAND (_q21, 0);
2972 : 0 : tree _q81 = TREE_OPERAND (_q21, 1);
2973 : 0 : switch (TREE_CODE (_q80))
2974 : : {
2975 : 0 : case BIT_XOR_EXPR:
2976 : 0 : {
2977 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
2978 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
2979 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
2980 : : {
2981 : 0 : {
2982 : 0 : tree _q91_pops[1];
2983 : 0 : if (tree_nop_convert (_q91, _q91_pops))
2984 : : {
2985 : 0 : tree _q110 = _q91_pops[0];
2986 : 0 : switch (TREE_CODE (_q110))
2987 : : {
2988 : 0 : case PLUS_EXPR:
2989 : 0 : {
2990 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
2991 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
2992 : 0 : {
2993 : 0 : tree _q120_pops[1];
2994 : 0 : if (tree_nop_convert (_q120, _q120_pops))
2995 : : {
2996 : 0 : tree _q130 = _q120_pops[0];
2997 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
2998 : : {
2999 : 0 : {
3000 : 0 : tree _q121_pops[1];
3001 : 0 : if (tree_nop_convert (_q121, _q121_pops))
3002 : : {
3003 : 0 : tree _q150 = _q121_pops[0];
3004 : 0 : if ((_q150 == _q41 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q41, 0) && types_match (_q150, _q41)))
3005 : : {
3006 : 0 : if (integer_zerop (_q81))
3007 : : {
3008 : 0 : {
3009 : 0 : tree _p1_pops[1];
3010 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
3011 : : {
3012 : 0 : tree _q180 = _p1_pops[0];
3013 : 0 : if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
3014 : : {
3015 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
3016 : : {
3017 : 0 : {
3018 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q91 };
3019 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3020 : : )
3021 : : {
3022 : 0 : {
3023 : 0 : res_ops[0] = captures[0];
3024 : 0 : res_ops[1] = captures[1];
3025 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
3026 : 0 : return true;
3027 : : }
3028 : : }
3029 : : }
3030 : : }
3031 : : }
3032 : : }
3033 : : }
3034 : : }
3035 : : }
3036 : : }
3037 : : }
3038 : : }
3039 : : }
3040 : : }
3041 : 0 : break;
3042 : : }
3043 : : default:;
3044 : : }
3045 : : }
3046 : : }
3047 : : }
3048 : 0 : if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
3049 : : {
3050 : 0 : {
3051 : 0 : tree _q91_pops[1];
3052 : 0 : if (tree_nop_convert (_q91, _q91_pops))
3053 : : {
3054 : 0 : tree _q110 = _q91_pops[0];
3055 : 0 : switch (TREE_CODE (_q110))
3056 : : {
3057 : 0 : case PLUS_EXPR:
3058 : 0 : {
3059 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
3060 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
3061 : 0 : {
3062 : 0 : tree _q120_pops[1];
3063 : 0 : if (tree_nop_convert (_q120, _q120_pops))
3064 : : {
3065 : 0 : tree _q130 = _q120_pops[0];
3066 : 0 : if ((_q130 == _q41 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q41, 0) && types_match (_q130, _q41)))
3067 : : {
3068 : 0 : {
3069 : 0 : tree _q121_pops[1];
3070 : 0 : if (tree_nop_convert (_q121, _q121_pops))
3071 : : {
3072 : 0 : tree _q150 = _q121_pops[0];
3073 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
3074 : : {
3075 : 0 : if (integer_zerop (_q81))
3076 : : {
3077 : 0 : {
3078 : 0 : tree _p1_pops[1];
3079 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
3080 : : {
3081 : 0 : tree _q180 = _p1_pops[0];
3082 : 0 : if ((_q180 == _q41 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q41, 0) && types_match (_q180, _q41)))
3083 : : {
3084 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
3085 : : {
3086 : 0 : {
3087 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q91 };
3088 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3089 : : )
3090 : : {
3091 : 0 : {
3092 : 0 : res_ops[0] = captures[0];
3093 : 0 : res_ops[1] = captures[1];
3094 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
3095 : 0 : return true;
3096 : : }
3097 : : }
3098 : : }
3099 : : }
3100 : : }
3101 : : }
3102 : : }
3103 : : }
3104 : : }
3105 : : }
3106 : : }
3107 : : }
3108 : : }
3109 : : }
3110 : 0 : break;
3111 : : }
3112 : : default:;
3113 : : }
3114 : : }
3115 : : }
3116 : : }
3117 : : break;
3118 : : }
3119 : : default:;
3120 : : }
3121 : : break;
3122 : : }
3123 : : default:;
3124 : : }
3125 : : }
3126 : 0 : switch (TREE_CODE (_q41))
3127 : : {
3128 : 0 : case INTEGER_CST:
3129 : 0 : {
3130 : 0 : if (integer_zerop (_q31))
3131 : : {
3132 : 0 : switch (TREE_CODE (_q21))
3133 : : {
3134 : 0 : case LT_EXPR:
3135 : 0 : {
3136 : 0 : tree _q80 = TREE_OPERAND (_q21, 0);
3137 : 0 : tree _q81 = TREE_OPERAND (_q21, 1);
3138 : 0 : switch (TREE_CODE (_q80))
3139 : : {
3140 : 0 : case BIT_XOR_EXPR:
3141 : 0 : {
3142 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
3143 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
3144 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
3145 : : {
3146 : 0 : {
3147 : 0 : tree _q91_pops[1];
3148 : 0 : if (tree_nop_convert (_q91, _q91_pops))
3149 : : {
3150 : 0 : tree _q110 = _q91_pops[0];
3151 : 0 : switch (TREE_CODE (_q110))
3152 : : {
3153 : 0 : case PLUS_EXPR:
3154 : 0 : {
3155 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
3156 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
3157 : 0 : {
3158 : 0 : tree _q120_pops[1];
3159 : 0 : if (tree_nop_convert (_q120, _q120_pops))
3160 : : {
3161 : 0 : tree _q130 = _q120_pops[0];
3162 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
3163 : : {
3164 : 0 : switch (TREE_CODE (_q121))
3165 : : {
3166 : 0 : case INTEGER_CST:
3167 : 0 : {
3168 : 0 : if (integer_zerop (_q81))
3169 : : {
3170 : 0 : {
3171 : 0 : tree _p1_pops[1];
3172 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
3173 : : {
3174 : 0 : tree _q170 = _p1_pops[0];
3175 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
3176 : : {
3177 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
3178 : : {
3179 : 0 : {
3180 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q121, _q91, _q41 };
3181 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3182 : : )
3183 : : {
3184 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
3185 : : )
3186 : : {
3187 : 0 : {
3188 : 0 : res_ops[0] = captures[0];
3189 : 0 : res_ops[1] = captures[1];
3190 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
3191 : 0 : return true;
3192 : : }
3193 : : }
3194 : : }
3195 : : }
3196 : : }
3197 : : }
3198 : : }
3199 : : }
3200 : : }
3201 : : break;
3202 : : }
3203 : : default:;
3204 : : }
3205 : : }
3206 : : }
3207 : : }
3208 : 0 : break;
3209 : : }
3210 : : default:;
3211 : : }
3212 : : }
3213 : : }
3214 : : }
3215 : : break;
3216 : : }
3217 : : default:;
3218 : : }
3219 : : break;
3220 : : }
3221 : : default:;
3222 : : }
3223 : : }
3224 : : break;
3225 : : }
3226 : 0 : default:;
3227 : : }
3228 : 0 : switch (TREE_CODE (_q40))
3229 : : {
3230 : 0 : case INTEGER_CST:
3231 : 0 : {
3232 : 0 : if (integer_zerop (_q31))
3233 : : {
3234 : 0 : switch (TREE_CODE (_q21))
3235 : : {
3236 : 0 : case LT_EXPR:
3237 : 0 : {
3238 : 0 : tree _q80 = TREE_OPERAND (_q21, 0);
3239 : 0 : tree _q81 = TREE_OPERAND (_q21, 1);
3240 : 0 : switch (TREE_CODE (_q80))
3241 : : {
3242 : 0 : case BIT_XOR_EXPR:
3243 : 0 : {
3244 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
3245 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
3246 : 0 : if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
3247 : : {
3248 : 0 : {
3249 : 0 : tree _q91_pops[1];
3250 : 0 : if (tree_nop_convert (_q91, _q91_pops))
3251 : : {
3252 : 0 : tree _q110 = _q91_pops[0];
3253 : 0 : switch (TREE_CODE (_q110))
3254 : : {
3255 : 0 : case PLUS_EXPR:
3256 : 0 : {
3257 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
3258 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
3259 : 0 : {
3260 : 0 : tree _q120_pops[1];
3261 : 0 : if (tree_nop_convert (_q120, _q120_pops))
3262 : : {
3263 : 0 : tree _q130 = _q120_pops[0];
3264 : 0 : if ((_q130 == _q41 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q41, 0) && types_match (_q130, _q41)))
3265 : : {
3266 : 0 : switch (TREE_CODE (_q121))
3267 : : {
3268 : 0 : case INTEGER_CST:
3269 : 0 : {
3270 : 0 : if (integer_zerop (_q81))
3271 : : {
3272 : 0 : {
3273 : 0 : tree _p1_pops[1];
3274 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
3275 : : {
3276 : 0 : tree _q170 = _p1_pops[0];
3277 : 0 : if ((_q170 == _q41 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q41, 0) && types_match (_q170, _q41)))
3278 : : {
3279 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
3280 : : {
3281 : 0 : {
3282 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q121, _q91, _q40 };
3283 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3284 : : )
3285 : : {
3286 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
3287 : : )
3288 : : {
3289 : 0 : {
3290 : 0 : res_ops[0] = captures[0];
3291 : 0 : res_ops[1] = captures[1];
3292 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
3293 : 0 : return true;
3294 : : }
3295 : : }
3296 : : }
3297 : : }
3298 : : }
3299 : : }
3300 : : }
3301 : : }
3302 : : }
3303 : : break;
3304 : : }
3305 : : default:;
3306 : : }
3307 : : }
3308 : : }
3309 : : }
3310 : 0 : break;
3311 : : }
3312 : : default:;
3313 : : }
3314 : : }
3315 : : }
3316 : : }
3317 : : break;
3318 : : }
3319 : : default:;
3320 : : }
3321 : : break;
3322 : : }
3323 : : default:;
3324 : : }
3325 : : }
3326 : : break;
3327 : : }
3328 : : default:;
3329 : : }
3330 : : break;
3331 : : }
3332 : : default:;
3333 : : }
3334 : : break;
3335 : : }
3336 : 0 : case BIT_NOT_EXPR:
3337 : 0 : {
3338 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
3339 : 0 : switch (TREE_CODE (_q30))
3340 : : {
3341 : 0 : case LT_EXPR:
3342 : 0 : {
3343 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
3344 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
3345 : 0 : switch (TREE_CODE (_q40))
3346 : : {
3347 : 0 : case BIT_XOR_EXPR:
3348 : 0 : {
3349 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
3350 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
3351 : 0 : if (integer_zerop (_q41))
3352 : : {
3353 : 0 : switch (TREE_CODE (_q21))
3354 : : {
3355 : 0 : case LT_EXPR:
3356 : 0 : {
3357 : 0 : tree _q90 = TREE_OPERAND (_q21, 0);
3358 : 0 : tree _q91 = TREE_OPERAND (_q21, 1);
3359 : 0 : switch (TREE_CODE (_q90))
3360 : : {
3361 : 0 : case BIT_XOR_EXPR:
3362 : 0 : {
3363 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
3364 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
3365 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
3366 : : {
3367 : 0 : {
3368 : 0 : tree _q101_pops[1];
3369 : 0 : if (tree_nop_convert (_q101, _q101_pops))
3370 : : {
3371 : 0 : tree _q120 = _q101_pops[0];
3372 : 0 : switch (TREE_CODE (_q120))
3373 : : {
3374 : 0 : case PLUS_EXPR:
3375 : 0 : {
3376 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
3377 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
3378 : 0 : {
3379 : 0 : tree _q130_pops[1];
3380 : 0 : if (tree_nop_convert (_q130, _q130_pops))
3381 : : {
3382 : 0 : tree _q140 = _q130_pops[0];
3383 : 0 : if ((_q140 == _q50 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q50, 0) && types_match (_q140, _q50)))
3384 : : {
3385 : 0 : {
3386 : 0 : tree _q131_pops[1];
3387 : 0 : if (tree_nop_convert (_q131, _q131_pops))
3388 : : {
3389 : 0 : tree _q160 = _q131_pops[0];
3390 : 0 : if ((_q160 == _q51 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q51, 0) && types_match (_q160, _q51)))
3391 : : {
3392 : 0 : if (integer_zerop (_q91))
3393 : : {
3394 : 0 : {
3395 : 0 : tree _p1_pops[1];
3396 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
3397 : : {
3398 : 0 : tree _q190 = _p1_pops[0];
3399 : 0 : if ((_q190 == _q50 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q50, 0) && types_match (_q190, _q50)))
3400 : : {
3401 : 0 : if ((_p2 == _q101 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q101, 0) && types_match (_p2, _q101)))
3402 : : {
3403 : 0 : {
3404 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q101 };
3405 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3406 : : )
3407 : : {
3408 : 0 : {
3409 : 0 : res_ops[0] = captures[0];
3410 : 0 : res_ops[1] = captures[1];
3411 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 80, __FILE__, __LINE__, false);
3412 : 0 : return true;
3413 : : }
3414 : : }
3415 : : }
3416 : : }
3417 : : }
3418 : : }
3419 : : }
3420 : : }
3421 : : }
3422 : : }
3423 : : }
3424 : : }
3425 : : }
3426 : : }
3427 : 0 : break;
3428 : : }
3429 : : default:;
3430 : : }
3431 : : }
3432 : : }
3433 : : }
3434 : 0 : if ((_q100 == _q51 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q51, 0) && types_match (_q100, _q51)))
3435 : : {
3436 : 0 : {
3437 : 0 : tree _q101_pops[1];
3438 : 0 : if (tree_nop_convert (_q101, _q101_pops))
3439 : : {
3440 : 0 : tree _q120 = _q101_pops[0];
3441 : 0 : switch (TREE_CODE (_q120))
3442 : : {
3443 : 0 : case PLUS_EXPR:
3444 : 0 : {
3445 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
3446 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
3447 : 0 : {
3448 : 0 : tree _q130_pops[1];
3449 : 0 : if (tree_nop_convert (_q130, _q130_pops))
3450 : : {
3451 : 0 : tree _q140 = _q130_pops[0];
3452 : 0 : if ((_q140 == _q51 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q51, 0) && types_match (_q140, _q51)))
3453 : : {
3454 : 0 : {
3455 : 0 : tree _q131_pops[1];
3456 : 0 : if (tree_nop_convert (_q131, _q131_pops))
3457 : : {
3458 : 0 : tree _q160 = _q131_pops[0];
3459 : 0 : if ((_q160 == _q50 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q50, 0) && types_match (_q160, _q50)))
3460 : : {
3461 : 0 : if (integer_zerop (_q91))
3462 : : {
3463 : 0 : {
3464 : 0 : tree _p1_pops[1];
3465 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
3466 : : {
3467 : 0 : tree _q190 = _p1_pops[0];
3468 : 0 : if ((_q190 == _q51 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q51, 0) && types_match (_q190, _q51)))
3469 : : {
3470 : 0 : if ((_p2 == _q101 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q101, 0) && types_match (_p2, _q101)))
3471 : : {
3472 : 0 : {
3473 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q101 };
3474 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3475 : : )
3476 : : {
3477 : 0 : {
3478 : 0 : res_ops[0] = captures[0];
3479 : 0 : res_ops[1] = captures[1];
3480 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 80, __FILE__, __LINE__, false);
3481 : 0 : return true;
3482 : : }
3483 : : }
3484 : : }
3485 : : }
3486 : : }
3487 : : }
3488 : : }
3489 : : }
3490 : : }
3491 : : }
3492 : : }
3493 : : }
3494 : : }
3495 : : }
3496 : 0 : break;
3497 : : }
3498 : : default:;
3499 : : }
3500 : : }
3501 : : }
3502 : : }
3503 : : break;
3504 : : }
3505 : : default:;
3506 : : }
3507 : : break;
3508 : : }
3509 : : default:;
3510 : : }
3511 : : }
3512 : : break;
3513 : : }
3514 : : default:;
3515 : : }
3516 : : break;
3517 : : }
3518 : : default:;
3519 : : }
3520 : : break;
3521 : : }
3522 : : default:;
3523 : : }
3524 : : break;
3525 : : }
3526 : 0 : case NE_EXPR:
3527 : 0 : {
3528 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
3529 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
3530 : 0 : switch (TREE_CODE (_q20))
3531 : : {
3532 : 0 : case IMAGPART_EXPR:
3533 : 0 : {
3534 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
3535 : 0 : switch (TREE_CODE (_q30))
3536 : : {
3537 : 0 : case CALL_EXPR:
3538 : 0 : switch (get_call_combined_fn (_q30))
3539 : : {
3540 : 0 : case CFN_ADD_OVERFLOW:
3541 : 0 : if (call_expr_nargs (_q30) == 2)
3542 : : {
3543 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
3544 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
3545 : 0 : if (integer_zerop (_q21))
3546 : : {
3547 : 0 : {
3548 : 0 : tree _p1_pops[1];
3549 : 0 : if (tree_signed_integer_sat_val (_p1, _p1_pops))
3550 : : {
3551 : 0 : tree _q80 = _p1_pops[0];
3552 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
3553 : : {
3554 : 0 : switch (TREE_CODE (_p2))
3555 : : {
3556 : 0 : case REALPART_EXPR:
3557 : 0 : {
3558 : 0 : tree _q100 = TREE_OPERAND (_p2, 0);
3559 : 0 : if ((_q100 == _q30 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q30, 0) && types_match (_q100, _q30)))
3560 : : {
3561 : 0 : {
3562 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q30 };
3563 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3564 : : )
3565 : : {
3566 : 0 : {
3567 : 0 : res_ops[0] = captures[0];
3568 : 0 : res_ops[1] = captures[1];
3569 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 81, __FILE__, __LINE__, false);
3570 : 0 : return true;
3571 : : }
3572 : : }
3573 : : }
3574 : : }
3575 : : break;
3576 : : }
3577 : : default:;
3578 : : }
3579 : : }
3580 : 0 : if ((_q80 == _q41 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q41, 0) && types_match (_q80, _q41)))
3581 : : {
3582 : 0 : switch (TREE_CODE (_p2))
3583 : : {
3584 : 0 : case REALPART_EXPR:
3585 : 0 : {
3586 : 0 : tree _q100 = TREE_OPERAND (_p2, 0);
3587 : 0 : if ((_q100 == _q30 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q30, 0) && types_match (_q100, _q30)))
3588 : : {
3589 : 0 : {
3590 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q30 };
3591 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3592 : : )
3593 : : {
3594 : 0 : {
3595 : 0 : res_ops[0] = captures[0];
3596 : 0 : res_ops[1] = captures[1];
3597 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 81, __FILE__, __LINE__, false);
3598 : 0 : return true;
3599 : : }
3600 : : }
3601 : : }
3602 : : }
3603 : : break;
3604 : : }
3605 : : default:;
3606 : : }
3607 : : }
3608 : : }
3609 : : }
3610 : : }
3611 : : }
3612 : : break;
3613 : : default:;
3614 : : }
3615 : : break;
3616 : : default:;
3617 : : }
3618 : : break;
3619 : : }
3620 : : default:;
3621 : : }
3622 : : break;
3623 : : }
3624 : : default:;
3625 : : }
3626 : : break;
3627 : : }
3628 : 0 : CASE_CONVERT:
3629 : 0 : {
3630 : 0 : tree _p0 = TREE_OPERAND (t, 0);
3631 : 0 : switch (TREE_CODE (_p0))
3632 : : {
3633 : 0 : case COND_EXPR:
3634 : 0 : {
3635 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
3636 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
3637 : 0 : tree _q22 = TREE_OPERAND (_p0, 2);
3638 : 0 : switch (TREE_CODE (_q20))
3639 : : {
3640 : 0 : case LT_EXPR:
3641 : 0 : {
3642 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
3643 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
3644 : 0 : switch (TREE_CODE (_q30))
3645 : : {
3646 : 0 : case BIT_AND_EXPR:
3647 : 0 : {
3648 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
3649 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
3650 : 0 : {
3651 : 0 : tree _q41_pops[1];
3652 : 0 : if (tree_nop_convert (_q41, _q41_pops))
3653 : : {
3654 : 0 : tree _q60 = _q41_pops[0];
3655 : 0 : switch (TREE_CODE (_q60))
3656 : : {
3657 : 0 : case NEGATE_EXPR:
3658 : 0 : {
3659 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
3660 : 0 : {
3661 : 0 : tree _q70_pops[1];
3662 : 0 : if (tree_nop_convert (_q70, _q70_pops))
3663 : : {
3664 : 0 : tree _q80 = _q70_pops[0];
3665 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
3666 : : {
3667 : 0 : if (integer_zerop (_q31))
3668 : : {
3669 : 0 : switch (TREE_CODE (_q21))
3670 : : {
3671 : 0 : case INTEGER_CST:
3672 : 0 : {
3673 : 0 : switch (TREE_CODE (_q22))
3674 : : {
3675 : 0 : case PLUS_EXPR:
3676 : 0 : {
3677 : 0 : tree _q120 = TREE_OPERAND (_q22, 0);
3678 : 0 : tree _q121 = TREE_OPERAND (_q22, 1);
3679 : 0 : {
3680 : 0 : tree _q120_pops[1];
3681 : 0 : if (tree_nop_convert (_q120, _q120_pops))
3682 : : {
3683 : 0 : tree _q130 = _q120_pops[0];
3684 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
3685 : : {
3686 : 0 : if (integer_all_onesp (_q121))
3687 : : {
3688 : 0 : {
3689 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q121, _q21 };
3690 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3691 : : )
3692 : : {
3693 : 0 : {
3694 : 0 : unsigned precision = TYPE_PRECISION (type);
3695 : 0 : wide_int c1 = wi::to_wide (captures[1]);
3696 : 0 : wide_int c2 = wi::to_wide (captures[2]);
3697 : 0 : wide_int sum = wi::add (c1, c2);
3698 : 0 : if (wi::eq_p (sum, wi::max_value (precision, SIGNED))
3699 : : )
3700 : : {
3701 : 0 : {
3702 : 0 : res_ops[0] = captures[0];
3703 : 0 : res_ops[1] = captures[1];
3704 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 82, __FILE__, __LINE__, false);
3705 : 0 : return true;
3706 : : }
3707 : : }
3708 : 0 : }
3709 : : }
3710 : : }
3711 : : }
3712 : : }
3713 : : }
3714 : : }
3715 : 0 : break;
3716 : : }
3717 : : default:;
3718 : : }
3719 : : break;
3720 : : }
3721 : : default:;
3722 : : }
3723 : : }
3724 : : }
3725 : : }
3726 : : }
3727 : 0 : break;
3728 : : }
3729 : : default:;
3730 : : }
3731 : : }
3732 : : }
3733 : 0 : {
3734 : 0 : tree _q40_pops[1];
3735 : 0 : if (tree_nop_convert (_q40, _q40_pops))
3736 : : {
3737 : 0 : tree _q50 = _q40_pops[0];
3738 : 0 : switch (TREE_CODE (_q50))
3739 : : {
3740 : 0 : case NEGATE_EXPR:
3741 : 0 : {
3742 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
3743 : 0 : {
3744 : 0 : tree _q60_pops[1];
3745 : 0 : if (tree_nop_convert (_q60, _q60_pops))
3746 : : {
3747 : 0 : tree _q70 = _q60_pops[0];
3748 : 0 : if ((_q41 == _q70 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q70, 0) && types_match (_q41, _q70)))
3749 : : {
3750 : 0 : if (integer_zerop (_q31))
3751 : : {
3752 : 0 : switch (TREE_CODE (_q21))
3753 : : {
3754 : 0 : case INTEGER_CST:
3755 : 0 : {
3756 : 0 : switch (TREE_CODE (_q22))
3757 : : {
3758 : 0 : case PLUS_EXPR:
3759 : 0 : {
3760 : 0 : tree _q120 = TREE_OPERAND (_q22, 0);
3761 : 0 : tree _q121 = TREE_OPERAND (_q22, 1);
3762 : 0 : {
3763 : 0 : tree _q120_pops[1];
3764 : 0 : if (tree_nop_convert (_q120, _q120_pops))
3765 : : {
3766 : 0 : tree _q130 = _q120_pops[0];
3767 : 0 : if ((_q130 == _q70 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q70, 0) && types_match (_q130, _q70)))
3768 : : {
3769 : 0 : if (integer_all_onesp (_q121))
3770 : : {
3771 : 0 : {
3772 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q121, _q21 };
3773 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3774 : : )
3775 : : {
3776 : 0 : {
3777 : 0 : unsigned precision = TYPE_PRECISION (type);
3778 : 0 : wide_int c1 = wi::to_wide (captures[1]);
3779 : 0 : wide_int c2 = wi::to_wide (captures[2]);
3780 : 0 : wide_int sum = wi::add (c1, c2);
3781 : 0 : if (wi::eq_p (sum, wi::max_value (precision, SIGNED))
3782 : : )
3783 : : {
3784 : 0 : {
3785 : 0 : res_ops[0] = captures[0];
3786 : 0 : res_ops[1] = captures[1];
3787 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 82, __FILE__, __LINE__, false);
3788 : 0 : return true;
3789 : : }
3790 : : }
3791 : 0 : }
3792 : : }
3793 : : }
3794 : : }
3795 : : }
3796 : : }
3797 : : }
3798 : 0 : break;
3799 : : }
3800 : : default:;
3801 : : }
3802 : : break;
3803 : : }
3804 : : default:;
3805 : : }
3806 : : }
3807 : : }
3808 : : }
3809 : : }
3810 : 0 : break;
3811 : : }
3812 : : default:;
3813 : : }
3814 : : }
3815 : : }
3816 : 0 : break;
3817 : : }
3818 : : default:;
3819 : : }
3820 : : break;
3821 : : }
3822 : : default:;
3823 : : }
3824 : : break;
3825 : : }
3826 : : default:;
3827 : : }
3828 : : break;
3829 : : }
3830 : : default:;
3831 : : }
3832 : : return false;
3833 : : }
3834 : :
3835 : : tree
3836 : 0 : generic_simplify_536 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3837 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
3838 : : const combined_fn ARG_UNUSED (cond_op))
3839 : : {
3840 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3841 : 0 : {
3842 : 0 : tree op_type = TREE_TYPE (captures[5]);
3843 : 0 : if (inverse_conditions_p (captures[0], captures[2])
3844 : 0 : && element_precision (type) == element_precision (op_type)
3845 : : )
3846 : : {
3847 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1116;
3848 : 0 : {
3849 : 0 : tree res_op0;
3850 : 0 : {
3851 : 0 : tree _o1[4], _r1;
3852 : 0 : _o1[0] = captures[2];
3853 : 0 : _o1[1] = captures[3];
3854 : 0 : _o1[2] = captures[4];
3855 : 0 : {
3856 : 0 : tree _o2[1], _r2;
3857 : 0 : _o2[0] = captures[1];
3858 : 0 : if (TREE_TYPE (_o2[0]) != op_type)
3859 : : {
3860 : 0 : _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, op_type, _o2[0]);
3861 : : }
3862 : : else
3863 : : _r2 = _o2[0];
3864 : 0 : _o1[3] = _r2;
3865 : : }
3866 : 0 : _r1 = maybe_build_call_expr_loc (loc, cond_op, TREE_TYPE (_o1[1]), 4, _o1[0], _o1[1], _o1[2], _o1[3]);
3867 : 0 : if (!_r1)
3868 : 0 : goto next_after_fail1116;
3869 : 0 : res_op0 = _r1;
3870 : : }
3871 : 0 : tree _r;
3872 : 0 : _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
3873 : 0 : if (TREE_SIDE_EFFECTS (captures[0]))
3874 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
3875 : 0 : if (TREE_SIDE_EFFECTS (captures[5]))
3876 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[5]), _r);
3877 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 797, __FILE__, __LINE__, true);
3878 : 0 : return _r;
3879 : : }
3880 : : next_after_fail1116:;
3881 : : }
3882 : : }
3883 : : return NULL_TREE;
3884 : : }
3885 : :
3886 : : tree
3887 : 0 : generic_simplify_546 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3888 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
3889 : : const enum tree_code ARG_UNUSED (cmp))
3890 : : {
3891 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3892 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1126;
3893 : 0 : {
3894 : 0 : tree res_op0;
3895 : 0 : res_op0 = unshare_expr (captures[0]);
3896 : 0 : tree res_op1;
3897 : 0 : res_op1 = captures[0];
3898 : 0 : tree _r;
3899 : 0 : _r = fold_build2_loc (loc, UNORDERED_EXPR, type, res_op0, res_op1);
3900 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 807, __FILE__, __LINE__, true);
3901 : : return _r;
3902 : : }
3903 : 0 : next_after_fail1126:;
3904 : 0 : return NULL_TREE;
3905 : : }
3906 : :
3907 : : tree
3908 : 0 : generic_simplify_554 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3909 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
3910 : : const combined_fn ARG_UNUSED (sins),
3911 : : const combined_fn ARG_UNUSED (atans),
3912 : : const combined_fn ARG_UNUSED (sqrts),
3913 : : const combined_fn ARG_UNUSED (copysigns))
3914 : : {
3915 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3916 : 0 : {
3917 : 0 : REAL_VALUE_TYPE r_cst;
3918 : 0 : build_sinatan_real (&r_cst, type);
3919 : 0 : tree t_cst = build_real (type, r_cst);
3920 : 0 : tree t_one = build_one_cst (type);
3921 : 0 : if (SCALAR_FLOAT_TYPE_P (type)
3922 : : )
3923 : : {
3924 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1134;
3925 : 0 : {
3926 : 0 : if (! tree_invariant_p (captures[1])) goto next_after_fail1134;
3927 : 0 : tree res_op0;
3928 : 0 : {
3929 : 0 : tree _o1[2], _r1;
3930 : 0 : {
3931 : 0 : tree _o2[1], _r2;
3932 : 0 : _o2[0] = unshare_expr (captures[1]);
3933 : 0 : _r2 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
3934 : 0 : _o1[0] = _r2;
3935 : : }
3936 : 0 : _o1[1] = t_cst;
3937 : 0 : _r1 = fold_build2_loc (loc, LT_EXPR, boolean_type_node, _o1[0], _o1[1]);
3938 : 0 : res_op0 = _r1;
3939 : : }
3940 : 0 : tree res_op1;
3941 : 0 : {
3942 : 0 : tree _o1[2], _r1;
3943 : 0 : _o1[0] = unshare_expr (captures[1]);
3944 : 0 : {
3945 : 0 : tree _o2[1], _r2;
3946 : 0 : {
3947 : 0 : tree _o3[2], _r3;
3948 : 0 : {
3949 : 0 : tree _o4[2], _r4;
3950 : 0 : _o4[0] = unshare_expr (captures[1]);
3951 : 0 : _o4[1] = unshare_expr (captures[1]);
3952 : 0 : _r4 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o4[0]), _o4[0], _o4[1]);
3953 : 0 : _o3[0] = _r4;
3954 : : }
3955 : 0 : _o3[1] = t_one;
3956 : 0 : _r3 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
3957 : 0 : _o2[0] = _r3;
3958 : : }
3959 : 0 : _r2 = maybe_build_call_expr_loc (loc, sqrts, TREE_TYPE (_o2[0]), 1, _o2[0]);
3960 : 0 : if (!_r2)
3961 : 0 : goto next_after_fail1134;
3962 : 0 : _o1[1] = _r2;
3963 : : }
3964 : 0 : _r1 = fold_build2_loc (loc, RDIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
3965 : 0 : res_op1 = _r1;
3966 : : }
3967 : 0 : tree res_op2;
3968 : 0 : {
3969 : 0 : tree _o1[2], _r1;
3970 : 0 : _o1[0] = t_one;
3971 : 0 : _o1[1] = captures[1];
3972 : 0 : _r1 = maybe_build_call_expr_loc (loc, copysigns, TREE_TYPE (_o1[0]), 2, _o1[0], _o1[1]);
3973 : 0 : if (!_r1)
3974 : 0 : goto next_after_fail1134;
3975 : 0 : res_op2 = _r1;
3976 : : }
3977 : 0 : tree _r;
3978 : 0 : _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
3979 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 815, __FILE__, __LINE__, true);
3980 : 0 : return _r;
3981 : : }
3982 : 0 : next_after_fail1134:;
3983 : : }
3984 : : }
3985 : 0 : return NULL_TREE;
3986 : : }
3987 : :
3988 : : tree
3989 : 0 : generic_simplify_582 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3990 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
3991 : : const combined_fn ARG_UNUSED (ctz))
3992 : : {
3993 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3994 : 0 : {
3995 : 0 : tree t = TREE_TYPE (captures[0]);
3996 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1162;
3997 : 0 : {
3998 : 0 : tree res_op0;
3999 : 0 : {
4000 : 0 : tree _o1[1], _r1;
4001 : 0 : _o1[0] = captures[1];
4002 : 0 : if (TREE_TYPE (_o1[0]) != t)
4003 : : {
4004 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, t, _o1[0]);
4005 : : }
4006 : : else
4007 : : _r1 = _o1[0];
4008 : 0 : res_op0 = _r1;
4009 : : }
4010 : 0 : tree _r;
4011 : 0 : _r = maybe_build_call_expr_loc (loc, ctz, type, 1, res_op0);
4012 : 0 : if (!_r)
4013 : 0 : goto next_after_fail1162;
4014 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 842, __FILE__, __LINE__, true);
4015 : : return _r;
4016 : : }
4017 : : next_after_fail1162:;
4018 : : }
4019 : : return NULL_TREE;
4020 : : }
4021 : :
4022 : : tree
4023 : 0 : generic_simplify_592 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
4024 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
4025 : : const enum tree_code ARG_UNUSED (rot),
4026 : : const combined_fn ARG_UNUSED (parity))
4027 : : {
4028 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
4029 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
4030 : 0 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
4031 : 0 : && (
4032 : :
4033 : 0 : || !TREE_SIDE_EFFECTS (captures[3]))
4034 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[0]))
4035 : 0 : >= TYPE_PRECISION (TREE_TYPE (captures[1]))
4036 : : )
4037 : : {
4038 : 0 : {
4039 : 0 : tree type0 = TREE_TYPE (captures[0]);
4040 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1173;
4041 : 0 : {
4042 : 0 : tree res_op0;
4043 : 0 : {
4044 : 0 : tree _o1[1], _r1;
4045 : 0 : _o1[0] = captures[2];
4046 : 0 : if (TREE_TYPE (_o1[0]) != type0)
4047 : : {
4048 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type0, _o1[0]);
4049 : : }
4050 : : else
4051 : : _r1 = _o1[0];
4052 : 0 : res_op0 = _r1;
4053 : : }
4054 : 0 : tree _r;
4055 : 0 : _r = maybe_build_call_expr_loc (loc, parity, type, 1, res_op0);
4056 : 0 : if (!_r)
4057 : 0 : goto next_after_fail1173;
4058 : 0 : if (TREE_SIDE_EFFECTS (captures[3]))
4059 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
4060 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 849, __FILE__, __LINE__, true);
4061 : 0 : return _r;
4062 : : }
4063 : : next_after_fail1173:;
4064 : : }
4065 : : }
4066 : : return NULL_TREE;
4067 : : }
4068 : :
4069 : : tree
4070 : 607927354 : generic_simplify_CONVERT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0)
4071 : : {
4072 : 607927354 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
4073 : 607927354 : switch (TREE_CODE (_p0))
4074 : : {
4075 : 406954 : case NEGATE_EXPR:
4076 : 406954 : {
4077 : 406954 : tree _q20 = TREE_OPERAND (_p0, 0);
4078 : 406954 : switch (TREE_CODE (_q20))
4079 : : {
4080 : 68981 : CASE_CONVERT:
4081 : 68981 : {
4082 : 68981 : tree _q30 = TREE_OPERAND (_q20, 0);
4083 : 68981 : {
4084 : 68981 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
4085 : 68981 : if (INTEGRAL_TYPE_P (type)
4086 : 68680 : && tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
4087 : 65181 : && (TYPE_PRECISION (type) > TYPE_PRECISION (TREE_TYPE (captures[2]))
4088 : 64422 : || TYPE_UNSIGNED (type))
4089 : 75919 : && TREE_CODE (type) != BOOLEAN_TYPE
4090 : : )
4091 : : {
4092 : 6938 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1186;
4093 : 6938 : {
4094 : 6938 : tree res_op0;
4095 : 6938 : {
4096 : 6938 : tree _o1[1], _r1;
4097 : 6938 : _o1[0] = captures[2];
4098 : 6938 : if (TREE_TYPE (_o1[0]) != type)
4099 : : {
4100 : 6896 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
4101 : : }
4102 : : else
4103 : : _r1 = _o1[0];
4104 : 6938 : res_op0 = _r1;
4105 : : }
4106 : 6938 : tree _r;
4107 : 6938 : _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
4108 : 6938 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 860, __FILE__, __LINE__, true);
4109 : 6938 : return _r;
4110 : : }
4111 : 0 : next_after_fail1186:;
4112 : : }
4113 : : }
4114 : 62043 : break;
4115 : : }
4116 : : default:;
4117 : : }
4118 : : break;
4119 : : }
4120 : 1165421 : case BIT_AND_EXPR:
4121 : 1165421 : {
4122 : 1165421 : tree _q20 = TREE_OPERAND (_p0, 0);
4123 : 1165421 : tree _q21 = TREE_OPERAND (_p0, 1);
4124 : 1165421 : {
4125 : 1165421 : tree _q20_pops[1];
4126 : 1165421 : if (tree_nop_convert (_q20, _q20_pops))
4127 : : {
4128 : 577510 : tree _q30 = _q20_pops[0];
4129 : 577510 : {
4130 : 577510 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21 };
4131 : 577510 : tree res = generic_simplify_418 (loc, type, _p0, captures, BIT_AND_EXPR);
4132 : 577510 : if (res) return res;
4133 : : }
4134 : : }
4135 : : }
4136 : 1165421 : {
4137 : 1165421 : tree _q21_pops[1];
4138 : 1165421 : if (tree_nop_convert (_q21, _q21_pops))
4139 : : {
4140 : 411974 : tree _q40 = _q21_pops[0];
4141 : 411974 : {
4142 : 411974 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q20 };
4143 : 411974 : tree res = generic_simplify_418 (loc, type, _p0, captures, BIT_AND_EXPR);
4144 : 411974 : if (res) return res;
4145 : : }
4146 : : }
4147 : : }
4148 : 1165421 : break;
4149 : : }
4150 : 1099803 : case BIT_IOR_EXPR:
4151 : 1099803 : {
4152 : 1099803 : tree _q20 = TREE_OPERAND (_p0, 0);
4153 : 1099803 : tree _q21 = TREE_OPERAND (_p0, 1);
4154 : 1099803 : {
4155 : 1099803 : tree _q20_pops[1];
4156 : 1099803 : if (tree_nop_convert (_q20, _q20_pops))
4157 : : {
4158 : 389162 : tree _q30 = _q20_pops[0];
4159 : 389162 : {
4160 : 389162 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21 };
4161 : 389162 : tree res = generic_simplify_418 (loc, type, _p0, captures, BIT_IOR_EXPR);
4162 : 389162 : if (res) return res;
4163 : : }
4164 : : }
4165 : : }
4166 : 1099803 : {
4167 : 1099803 : tree _q21_pops[1];
4168 : 1099803 : if (tree_nop_convert (_q21, _q21_pops))
4169 : : {
4170 : 989877 : tree _q40 = _q21_pops[0];
4171 : 989877 : {
4172 : 989877 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q20 };
4173 : 989877 : tree res = generic_simplify_418 (loc, type, _p0, captures, BIT_IOR_EXPR);
4174 : 989877 : if (res) return res;
4175 : : }
4176 : : }
4177 : : }
4178 : 1099803 : break;
4179 : : }
4180 : 426748 : case BIT_XOR_EXPR:
4181 : 426748 : {
4182 : 426748 : tree _q20 = TREE_OPERAND (_p0, 0);
4183 : 426748 : tree _q21 = TREE_OPERAND (_p0, 1);
4184 : 426748 : {
4185 : 426748 : tree _q20_pops[1];
4186 : 426748 : if (tree_nop_convert (_q20, _q20_pops))
4187 : : {
4188 : 348316 : tree _q30 = _q20_pops[0];
4189 : 348316 : {
4190 : 348316 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21 };
4191 : 348316 : tree res = generic_simplify_418 (loc, type, _p0, captures, BIT_XOR_EXPR);
4192 : 348316 : if (res) return res;
4193 : : }
4194 : : }
4195 : : }
4196 : 426748 : {
4197 : 426748 : tree _q21_pops[1];
4198 : 426748 : if (tree_nop_convert (_q21, _q21_pops))
4199 : : {
4200 : 385251 : tree _q40 = _q21_pops[0];
4201 : 385251 : {
4202 : 385251 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q20 };
4203 : 385251 : tree res = generic_simplify_418 (loc, type, _p0, captures, BIT_XOR_EXPR);
4204 : 385251 : if (res) return res;
4205 : : }
4206 : : }
4207 : : }
4208 : 426748 : break;
4209 : : }
4210 : 8214478 : case MULT_EXPR:
4211 : 8214478 : {
4212 : 8214478 : tree _q20 = TREE_OPERAND (_p0, 0);
4213 : 8214478 : tree _q21 = TREE_OPERAND (_p0, 1);
4214 : 8214478 : if (tree_zero_one_valued_p (_q20))
4215 : : {
4216 : 59782 : switch (TREE_CODE (_q21))
4217 : : {
4218 : 54317 : case INTEGER_CST:
4219 : 54317 : {
4220 : 54317 : {
4221 : 54317 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
4222 : 54317 : if (INTEGRAL_TYPE_P (type)
4223 : 54317 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
4224 : 54317 : && TYPE_PRECISION (type) < TYPE_PRECISION (TREE_TYPE (captures[0]))
4225 : 54323 : && (TYPE_UNSIGNED (type) || TYPE_PRECISION (type) > 1)
4226 : : )
4227 : : {
4228 : 6 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1187;
4229 : 6 : {
4230 : 6 : tree res_op0;
4231 : 6 : {
4232 : 6 : tree _o1[1], _r1;
4233 : 6 : _o1[0] = captures[1];
4234 : 6 : if (TREE_TYPE (_o1[0]) != type)
4235 : : {
4236 : 6 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
4237 : : }
4238 : : else
4239 : : _r1 = _o1[0];
4240 : 6 : res_op0 = _r1;
4241 : : }
4242 : 6 : tree res_op1;
4243 : 6 : {
4244 : 6 : tree _o1[1], _r1;
4245 : 6 : _o1[0] = captures[2];
4246 : 6 : if (TREE_TYPE (_o1[0]) != type)
4247 : : {
4248 : 6 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
4249 : : }
4250 : : else
4251 : : _r1 = _o1[0];
4252 : 6 : res_op1 = _r1;
4253 : : }
4254 : 6 : tree _r;
4255 : 6 : _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
4256 : 6 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 861, __FILE__, __LINE__, true);
4257 : 6 : return _r;
4258 : : }
4259 : 0 : next_after_fail1187:;
4260 : : }
4261 : : }
4262 : 54311 : break;
4263 : : }
4264 : : default:;
4265 : : }
4266 : : }
4267 : : break;
4268 : : }
4269 : 1205658 : case POINTER_DIFF_EXPR:
4270 : 1205658 : {
4271 : 1205658 : tree _q20 = TREE_OPERAND (_p0, 0);
4272 : 1205658 : tree _q21 = TREE_OPERAND (_p0, 1);
4273 : 1205658 : switch (TREE_CODE (_q21))
4274 : : {
4275 : 200 : case INTEGER_CST:
4276 : 200 : {
4277 : 200 : {
4278 : 200 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
4279 : 200 : if (POINTER_TYPE_P (type)
4280 : : )
4281 : : {
4282 : 18 : if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1188;
4283 : 18 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1188;
4284 : 18 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1188;
4285 : 18 : {
4286 : 18 : tree _r;
4287 : 18 : _r = build_fold_addr_expr_with_type
4288 : : (build2 (MEM_REF, char_type_node, captures[0],
4289 : : wide_int_to_tree (ptr_type_node, wi::neg (wi::to_wide (captures[1])))),
4290 : : type);
4291 : 18 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 862, __FILE__, __LINE__, true);
4292 : 18 : return _r;
4293 : : }
4294 : 182 : next_after_fail1188:;
4295 : : }
4296 : : }
4297 : 182 : break;
4298 : : }
4299 : : default:;
4300 : : }
4301 : : break;
4302 : : }
4303 : 214432 : case EQ_EXPR:
4304 : 214432 : {
4305 : 214432 : tree _q20 = TREE_OPERAND (_p0, 0);
4306 : 214432 : tree _q21 = TREE_OPERAND (_p0, 1);
4307 : 214432 : if (tree_zero_one_valued_p (_q20))
4308 : : {
4309 : 1495 : switch (TREE_CODE (_q21))
4310 : : {
4311 : 622 : case INTEGER_CST:
4312 : 622 : {
4313 : 622 : {
4314 : 622 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
4315 : 622 : tree res = generic_simplify_419 (loc, type, _p0, captures, EQ_EXPR);
4316 : 622 : if (res) return res;
4317 : : }
4318 : 575 : break;
4319 : : }
4320 : : default:;
4321 : : }
4322 : : }
4323 : : break;
4324 : : }
4325 : 264405 : case NE_EXPR:
4326 : 264405 : {
4327 : 264405 : tree _q20 = TREE_OPERAND (_p0, 0);
4328 : 264405 : tree _q21 = TREE_OPERAND (_p0, 1);
4329 : 264405 : if (tree_zero_one_valued_p (_q20))
4330 : : {
4331 : 1844 : switch (TREE_CODE (_q21))
4332 : : {
4333 : 1518 : case INTEGER_CST:
4334 : 1518 : {
4335 : 1518 : {
4336 : 1518 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
4337 : 1518 : tree res = generic_simplify_419 (loc, type, _p0, captures, NE_EXPR);
4338 : 1518 : if (res) return res;
4339 : : }
4340 : 1 : break;
4341 : : }
4342 : : default:;
4343 : : }
4344 : : }
4345 : : break;
4346 : : }
4347 : 1916 : case MIN_EXPR:
4348 : 1916 : {
4349 : 1916 : tree _q20 = TREE_OPERAND (_p0, 0);
4350 : 1916 : tree _q21 = TREE_OPERAND (_p0, 1);
4351 : 1916 : switch (TREE_CODE (_q20))
4352 : : {
4353 : 695 : CASE_CONVERT:
4354 : 695 : {
4355 : 695 : tree _q30 = TREE_OPERAND (_q20, 0);
4356 : 695 : switch (TREE_CODE (_q21))
4357 : : {
4358 : 650 : case INTEGER_CST:
4359 : 650 : {
4360 : 650 : {
4361 : 650 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q21 };
4362 : 650 : tree res = generic_simplify_420 (loc, type, _p0, captures, MIN_EXPR);
4363 : 650 : if (res) return res;
4364 : : }
4365 : 650 : break;
4366 : : }
4367 : : default:;
4368 : : }
4369 : : break;
4370 : : }
4371 : : default:;
4372 : : }
4373 : : break;
4374 : : }
4375 : 286128 : case MAX_EXPR:
4376 : 286128 : {
4377 : 286128 : tree _q20 = TREE_OPERAND (_p0, 0);
4378 : 286128 : tree _q21 = TREE_OPERAND (_p0, 1);
4379 : 286128 : switch (TREE_CODE (_q20))
4380 : : {
4381 : 6392 : CASE_CONVERT:
4382 : 6392 : {
4383 : 6392 : tree _q30 = TREE_OPERAND (_q20, 0);
4384 : 6392 : switch (TREE_CODE (_q21))
4385 : : {
4386 : 6356 : case INTEGER_CST:
4387 : 6356 : {
4388 : 6356 : {
4389 : 6356 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q21 };
4390 : 6356 : tree res = generic_simplify_420 (loc, type, _p0, captures, MAX_EXPR);
4391 : 6356 : if (res) return res;
4392 : : }
4393 : 6356 : break;
4394 : : }
4395 : : default:;
4396 : : }
4397 : : break;
4398 : : }
4399 : : default:;
4400 : : }
4401 : : break;
4402 : : }
4403 : 468239 : case LSHIFT_EXPR:
4404 : 468239 : {
4405 : 468239 : tree _q20 = TREE_OPERAND (_p0, 0);
4406 : 468239 : tree _q21 = TREE_OPERAND (_p0, 1);
4407 : 468239 : switch (TREE_CODE (_q21))
4408 : : {
4409 : 140178 : case INTEGER_CST:
4410 : 140178 : {
4411 : 140178 : {
4412 : 140178 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
4413 : 140178 : if (INTEGRAL_TYPE_P (type)
4414 : 140151 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
4415 : 140151 : && !integer_zerop (captures[2])
4416 : 279555 : && TYPE_PRECISION (type) <= TYPE_PRECISION (TREE_TYPE (captures[0]))
4417 : : )
4418 : : {
4419 : 138094 : if (TYPE_PRECISION (type) == TYPE_PRECISION (TREE_TYPE (captures[0]))
4420 : 138094 : || wi::ltu_p (wi::to_wide (captures[2]), TYPE_PRECISION (type))
4421 : : )
4422 : : {
4423 : 137806 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1189;
4424 : 137806 : {
4425 : 137806 : tree res_op0;
4426 : 137806 : {
4427 : 137806 : tree _o1[1], _r1;
4428 : 137806 : _o1[0] = captures[1];
4429 : 137806 : if (TREE_TYPE (_o1[0]) != type)
4430 : : {
4431 : 128732 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
4432 : : }
4433 : : else
4434 : : _r1 = _o1[0];
4435 : 137806 : res_op0 = _r1;
4436 : : }
4437 : 137806 : tree res_op1;
4438 : 137806 : res_op1 = captures[2];
4439 : 137806 : tree _r;
4440 : 137806 : _r = fold_build2_loc (loc, LSHIFT_EXPR, type, res_op0, res_op1);
4441 : 137806 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 863, __FILE__, __LINE__, true);
4442 : 137806 : return _r;
4443 : : }
4444 : 0 : next_after_fail1189:;
4445 : : }
4446 : : else
4447 : : {
4448 : 288 : if (wi::ltu_p (wi::to_wide (captures[2]), TYPE_PRECISION (TREE_TYPE (captures[0])))
4449 : : )
4450 : : {
4451 : 239 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1190;
4452 : 239 : {
4453 : 239 : tree _r;
4454 : 239 : _r = build_zero_cst (type);
4455 : 239 : if (TREE_SIDE_EFFECTS (captures[1]))
4456 : 14 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
4457 : 239 : if (TREE_SIDE_EFFECTS (captures[2]))
4458 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
4459 : 239 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 864, __FILE__, __LINE__, true);
4460 : 239 : return _r;
4461 : : }
4462 : 0 : next_after_fail1190:;
4463 : : }
4464 : : }
4465 : : }
4466 : : }
4467 : 2133 : break;
4468 : : }
4469 : : default:;
4470 : : }
4471 : : break;
4472 : : }
4473 : 607780783 : default:;
4474 : : }
4475 : 607780783 : {
4476 : 607780783 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
4477 : 1215561566 : if ((
4478 : :
4479 : : && useless_type_conversion_p (type, TREE_TYPE (captures[0])))
4480 : : || (
4481 : : 1
4482 : 607780783 : && type == TREE_TYPE (captures[0]))
4483 : : )
4484 : : {
4485 : 42869806 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1191;
4486 : 42869806 : {
4487 : 42869806 : tree _r;
4488 : 42869806 : _r = captures[0];
4489 : 42869806 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 865, __FILE__, __LINE__, true);
4490 : 42869806 : return _r;
4491 : : }
4492 : 0 : next_after_fail1191:;
4493 : : }
4494 : : }
4495 : 564910977 : switch (TREE_CODE (_p0))
4496 : : {
4497 : 71962889 : CASE_CONVERT:
4498 : 71962889 : {
4499 : 71962889 : tree _q20 = TREE_OPERAND (_p0, 0);
4500 : 71962889 : {
4501 : 71962889 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
4502 : 71962889 : {
4503 : 71962889 : tree inside_type = TREE_TYPE (captures[1]);
4504 : 71962889 : tree inter_type = TREE_TYPE (captures[0]);
4505 : 71962889 : int inside_int = INTEGRAL_TYPE_P (inside_type);
4506 : 71962889 : int inside_ptr = POINTER_TYPE_P (inside_type);
4507 : 71962889 : int inside_float = FLOAT_TYPE_P (inside_type);
4508 : 71962889 : int inside_vec = VECTOR_TYPE_P (inside_type);
4509 : 71962889 : unsigned int inside_prec = element_precision (inside_type);
4510 : 71962889 : int inside_unsignedp = TYPE_UNSIGNED (inside_type);
4511 : 71962889 : int inter_int = INTEGRAL_TYPE_P (inter_type);
4512 : 71962889 : int inter_ptr = POINTER_TYPE_P (inter_type);
4513 : 71962889 : int inter_float = FLOAT_TYPE_P (inter_type);
4514 : 71962889 : int inter_vec = VECTOR_TYPE_P (inter_type);
4515 : 71962889 : unsigned int inter_prec = element_precision (inter_type);
4516 : 71962889 : int inter_unsignedp = TYPE_UNSIGNED (inter_type);
4517 : 71962889 : int final_int = INTEGRAL_TYPE_P (type);
4518 : 71962889 : int final_ptr = POINTER_TYPE_P (type);
4519 : 71962889 : int final_float = FLOAT_TYPE_P (type);
4520 : 71962889 : int final_vec = VECTOR_TYPE_P (type);
4521 : 71962889 : unsigned int final_prec = element_precision (type);
4522 : 71962889 : int final_unsignedp = TYPE_UNSIGNED (type);
4523 : 71962889 : if (((
4524 : :
4525 : : && useless_type_conversion_p (type, inside_type))
4526 : : || (
4527 : : 1
4528 : 71962889 : && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type)))
4529 : 20611012 : && (((inter_int || inter_ptr) && final_int)
4530 : 15319818 : || (inter_float && final_float))
4531 : 77341724 : && inter_prec >= final_prec
4532 : : )
4533 : : {
4534 : 4828493 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1192;
4535 : 4828493 : {
4536 : 4828493 : tree res_op0;
4537 : 4828493 : res_op0 = captures[1];
4538 : 4828493 : tree _r;
4539 : 4828493 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4540 : 4828493 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 866, __FILE__, __LINE__, true);
4541 : 4828493 : return _r;
4542 : : }
4543 : 0 : next_after_fail1192:;
4544 : : }
4545 : : else
4546 : : {
4547 : 67134396 : if (((inter_int && inside_int) || (inter_float && inside_float))
4548 : 11227305 : && (final_int || final_float)
4549 : 11096688 : && inter_prec >= inside_prec
4550 : 9813500 : && (inter_float || inter_unsignedp == inside_unsignedp)
4551 : : )
4552 : : {
4553 : 6698580 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1193;
4554 : 6698580 : {
4555 : 6698580 : tree res_op0;
4556 : 6698580 : res_op0 = captures[1];
4557 : 6698580 : tree _r;
4558 : 6698580 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4559 : 6698580 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 867, __FILE__, __LINE__, true);
4560 : 6698580 : return _r;
4561 : : }
4562 : 0 : next_after_fail1193:;
4563 : 0 : }
4564 : : else
4565 : : {
4566 : 60435816 : if (inside_int && inter_int && final_int
4567 : 4391849 : && ((inside_prec < inter_prec && inter_prec < final_prec
4568 : 229771 : && inside_unsignedp && !inter_unsignedp)
4569 : 4188733 : || final_prec == inter_prec
4570 : 2239960 : || (inside_prec < inter_prec && inter_prec > final_prec
4571 : 147329 : && !inside_unsignedp && inter_unsignedp))
4572 : : )
4573 : : {
4574 : 2215277 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1194;
4575 : 2215277 : {
4576 : 2215277 : tree res_op0;
4577 : 2215277 : res_op0 = captures[1];
4578 : 2215277 : tree _r;
4579 : 2215277 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4580 : 2215277 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 868, __FILE__, __LINE__, true);
4581 : 2215277 : return _r;
4582 : : }
4583 : 0 : next_after_fail1194:;
4584 : 0 : }
4585 : : else
4586 : : {
4587 : 58220539 : if (! inside_float && ! inter_float && ! final_float
4588 : : && ! inside_vec && ! inter_vec && ! final_vec
4589 : 58214276 : && (inter_prec >= inside_prec || inter_prec >= final_prec)
4590 : 57424329 : && ! (inside_int && inter_int
4591 : 1517238 : && inter_unsignedp != inside_unsignedp
4592 : 1517238 : && inter_prec < final_prec)
4593 : 56191672 : && ((inter_unsignedp && inter_prec > inside_prec)
4594 : 56191672 : == (final_unsignedp && final_prec > inter_prec))
4595 : 56169215 : && ! (inside_ptr && inter_prec != final_prec)
4596 : 55694843 : && ! (final_ptr && inside_prec != inter_prec)
4597 : : )
4598 : : {
4599 : 55674082 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1195;
4600 : 55674082 : {
4601 : 55674082 : tree res_op0;
4602 : 55674082 : res_op0 = captures[1];
4603 : 55674082 : tree _r;
4604 : 55674082 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4605 : 55674082 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 869, __FILE__, __LINE__, true);
4606 : 55674082 : return _r;
4607 : : }
4608 : 0 : next_after_fail1195:;
4609 : 0 : }
4610 : : else
4611 : : {
4612 : 2546457 : if (inside_int && inter_int && final_int
4613 : 2052044 : && final_prec <= inside_prec
4614 : 730368 : && inter_prec >= inside_prec
4615 : : )
4616 : : {
4617 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1196;
4618 : 0 : {
4619 : 0 : tree res_op0;
4620 : 0 : res_op0 = captures[1];
4621 : 0 : tree _r;
4622 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4623 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 870, __FILE__, __LINE__, true);
4624 : 0 : return _r;
4625 : : }
4626 : 0 : next_after_fail1196:;
4627 : 0 : }
4628 : : else
4629 : : {
4630 : : if (0
4631 : : && final_int && inter_int && inside_int
4632 : : && final_prec >= inside_prec
4633 : : && inside_prec > inter_prec
4634 : : && inter_unsignedp
4635 : : )
4636 : : {
4637 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1197;
4638 : : {
4639 : : tree res_op0;
4640 : : {
4641 : : tree _o1[2], _r1;
4642 : : _o1[0] = captures[1];
4643 : : _o1[1] = wide_int_to_tree
4644 : : (inside_type,
4645 : : wi::mask (inter_prec, false,
4646 : : TYPE_PRECISION (inside_type)));
4647 : : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
4648 : : res_op0 = _r1;
4649 : : }
4650 : : tree _r;
4651 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4652 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 871, __FILE__, __LINE__, true);
4653 : : return _r;
4654 : : }
4655 : : next_after_fail1197:;
4656 : : }
4657 : : else
4658 : : {
4659 : : if (0
4660 : : && inside_int && inter_float && final_int &&
4661 : : (unsigned) significand_size (TYPE_MODE (inter_type))
4662 : : >= inside_prec - !inside_unsignedp
4663 : : )
4664 : : {
4665 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1198;
4666 : : {
4667 : : tree res_op0;
4668 : : res_op0 = captures[1];
4669 : : tree _r;
4670 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4671 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 872, __FILE__, __LINE__, true);
4672 : : return _r;
4673 : : }
4674 : : next_after_fail1198:;
4675 : : }
4676 : : }
4677 : : }
4678 : : }
4679 : : }
4680 : : }
4681 : : }
4682 : : }
4683 : : }
4684 : 2546457 : break;
4685 : : }
4686 : 3066 : case FLOAT_EXPR:
4687 : 3066 : {
4688 : 3066 : tree _q20 = TREE_OPERAND (_p0, 0);
4689 : 3066 : {
4690 : 3066 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
4691 : 3066 : {
4692 : 3066 : tree inside_type = TREE_TYPE (captures[1]);
4693 : 3066 : tree inter_type = TREE_TYPE (captures[0]);
4694 : 3066 : int inside_int = INTEGRAL_TYPE_P (inside_type);
4695 : 3066 : int inside_ptr = POINTER_TYPE_P (inside_type);
4696 : 3066 : int inside_float = FLOAT_TYPE_P (inside_type);
4697 : 3066 : int inside_vec = VECTOR_TYPE_P (inside_type);
4698 : 3066 : unsigned int inside_prec = element_precision (inside_type);
4699 : 3066 : int inside_unsignedp = TYPE_UNSIGNED (inside_type);
4700 : 3066 : int inter_int = INTEGRAL_TYPE_P (inter_type);
4701 : 3066 : int inter_ptr = POINTER_TYPE_P (inter_type);
4702 : 3066 : int inter_float = FLOAT_TYPE_P (inter_type);
4703 : 3066 : int inter_vec = VECTOR_TYPE_P (inter_type);
4704 : 3066 : unsigned int inter_prec = element_precision (inter_type);
4705 : 3066 : int inter_unsignedp = TYPE_UNSIGNED (inter_type);
4706 : 3066 : int final_int = INTEGRAL_TYPE_P (type);
4707 : 3066 : int final_ptr = POINTER_TYPE_P (type);
4708 : 3066 : int final_float = FLOAT_TYPE_P (type);
4709 : 3066 : int final_vec = VECTOR_TYPE_P (type);
4710 : 3066 : unsigned int final_prec = element_precision (type);
4711 : 3066 : int final_unsignedp = TYPE_UNSIGNED (type);
4712 : 3066 : if (((
4713 : :
4714 : : && useless_type_conversion_p (type, inside_type))
4715 : : || (
4716 : : 1
4717 : 3066 : && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type)))
4718 : 0 : && (((inter_int || inter_ptr) && final_int)
4719 : 0 : || (inter_float && final_float))
4720 : 3066 : && inter_prec >= final_prec
4721 : : )
4722 : : {
4723 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1199;
4724 : 0 : {
4725 : 0 : tree res_op0;
4726 : 0 : res_op0 = captures[1];
4727 : 0 : tree _r;
4728 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4729 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 866, __FILE__, __LINE__, true);
4730 : 0 : return _r;
4731 : : }
4732 : 0 : next_after_fail1199:;
4733 : : }
4734 : : else
4735 : : {
4736 : 3066 : if (((inter_int && inside_int) || (inter_float && inside_float))
4737 : 0 : && (final_int || final_float)
4738 : 0 : && inter_prec >= inside_prec
4739 : 0 : && (inter_float || inter_unsignedp == inside_unsignedp)
4740 : : )
4741 : : {
4742 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1200;
4743 : 0 : {
4744 : 0 : tree res_op0;
4745 : 0 : res_op0 = captures[1];
4746 : 0 : tree _r;
4747 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4748 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 867, __FILE__, __LINE__, true);
4749 : 0 : return _r;
4750 : : }
4751 : 0 : next_after_fail1200:;
4752 : 0 : }
4753 : : else
4754 : : {
4755 : 3066 : if (inside_int && inter_int && final_int
4756 : 0 : && ((inside_prec < inter_prec && inter_prec < final_prec
4757 : 0 : && inside_unsignedp && !inter_unsignedp)
4758 : 0 : || final_prec == inter_prec
4759 : 0 : || (inside_prec < inter_prec && inter_prec > final_prec
4760 : 0 : && !inside_unsignedp && inter_unsignedp))
4761 : : )
4762 : : {
4763 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1201;
4764 : 0 : {
4765 : 0 : tree res_op0;
4766 : 0 : res_op0 = captures[1];
4767 : 0 : tree _r;
4768 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4769 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 868, __FILE__, __LINE__, true);
4770 : 0 : return _r;
4771 : : }
4772 : 0 : next_after_fail1201:;
4773 : 0 : }
4774 : : else
4775 : : {
4776 : 3066 : if (! inside_float && ! inter_float && ! final_float
4777 : : && ! inside_vec && ! inter_vec && ! final_vec
4778 : 0 : && (inter_prec >= inside_prec || inter_prec >= final_prec)
4779 : 0 : && ! (inside_int && inter_int
4780 : 0 : && inter_unsignedp != inside_unsignedp
4781 : 0 : && inter_prec < final_prec)
4782 : 0 : && ((inter_unsignedp && inter_prec > inside_prec)
4783 : 0 : == (final_unsignedp && final_prec > inter_prec))
4784 : 0 : && ! (inside_ptr && inter_prec != final_prec)
4785 : 0 : && ! (final_ptr && inside_prec != inter_prec)
4786 : : )
4787 : : {
4788 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1202;
4789 : 0 : {
4790 : 0 : tree res_op0;
4791 : 0 : res_op0 = captures[1];
4792 : 0 : tree _r;
4793 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4794 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 869, __FILE__, __LINE__, true);
4795 : 0 : return _r;
4796 : : }
4797 : 0 : next_after_fail1202:;
4798 : 0 : }
4799 : : else
4800 : : {
4801 : 3066 : if (inside_int && inter_int && final_int
4802 : 0 : && final_prec <= inside_prec
4803 : 0 : && inter_prec >= inside_prec
4804 : : )
4805 : : {
4806 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1203;
4807 : 0 : {
4808 : 0 : tree res_op0;
4809 : 0 : res_op0 = captures[1];
4810 : 0 : tree _r;
4811 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4812 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 870, __FILE__, __LINE__, true);
4813 : 0 : return _r;
4814 : : }
4815 : 0 : next_after_fail1203:;
4816 : 0 : }
4817 : : else
4818 : : {
4819 : : if (0
4820 : : && final_int && inter_int && inside_int
4821 : : && final_prec >= inside_prec
4822 : : && inside_prec > inter_prec
4823 : : && inter_unsignedp
4824 : : )
4825 : : {
4826 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1204;
4827 : : {
4828 : : tree res_op0;
4829 : : {
4830 : : tree _o1[2], _r1;
4831 : : _o1[0] = captures[1];
4832 : : _o1[1] = wide_int_to_tree
4833 : : (inside_type,
4834 : : wi::mask (inter_prec, false,
4835 : : TYPE_PRECISION (inside_type)));
4836 : : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
4837 : : res_op0 = _r1;
4838 : : }
4839 : : tree _r;
4840 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4841 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 871, __FILE__, __LINE__, true);
4842 : : return _r;
4843 : : }
4844 : : next_after_fail1204:;
4845 : : }
4846 : : else
4847 : : {
4848 : : if (0
4849 : : && inside_int && inter_float && final_int &&
4850 : : (unsigned) significand_size (TYPE_MODE (inter_type))
4851 : : >= inside_prec - !inside_unsignedp
4852 : : )
4853 : : {
4854 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1205;
4855 : : {
4856 : : tree res_op0;
4857 : : res_op0 = captures[1];
4858 : : tree _r;
4859 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4860 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 872, __FILE__, __LINE__, true);
4861 : : return _r;
4862 : : }
4863 : : next_after_fail1205:;
4864 : : }
4865 : : }
4866 : : }
4867 : : }
4868 : : }
4869 : : }
4870 : : }
4871 : : }
4872 : : }
4873 : 3066 : break;
4874 : : }
4875 : 809062 : case BIT_AND_EXPR:
4876 : 809062 : {
4877 : 809062 : tree _q20 = TREE_OPERAND (_p0, 0);
4878 : 809062 : tree _q21 = TREE_OPERAND (_p0, 1);
4879 : 809062 : switch (TREE_CODE (_q21))
4880 : : {
4881 : 270825 : case INTEGER_CST:
4882 : 270825 : {
4883 : 270825 : {
4884 : 270825 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
4885 : 270825 : if (INTEGRAL_TYPE_P (type)
4886 : 270310 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
4887 : 270310 : && TYPE_PRECISION (type) <= TYPE_PRECISION (TREE_TYPE (captures[0]))
4888 : 400717 : && operand_equal_p (captures[1], build_low_bits_mask (TREE_TYPE (captures[1]),
4889 : 129892 : TYPE_PRECISION (type)), 0)
4890 : : )
4891 : : {
4892 : 3471 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1206;
4893 : 3471 : {
4894 : 3471 : tree res_op0;
4895 : 3471 : res_op0 = captures[0];
4896 : 3471 : tree _r;
4897 : 3471 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
4898 : 3471 : if (TREE_SIDE_EFFECTS (captures[1]))
4899 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
4900 : 3471 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 873, __FILE__, __LINE__, true);
4901 : 3471 : return _r;
4902 : : }
4903 : 0 : next_after_fail1206:;
4904 : : }
4905 : : }
4906 : 267354 : break;
4907 : : }
4908 : : default:;
4909 : : }
4910 : : break;
4911 : : }
4912 : 5 : case VEC_COND_EXPR:
4913 : 5 : {
4914 : 5 : tree _q20 = TREE_OPERAND (_p0, 0);
4915 : 5 : tree _q21 = TREE_OPERAND (_p0, 1);
4916 : 5 : tree _q22 = TREE_OPERAND (_p0, 2);
4917 : 5 : {
4918 : 5 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
4919 : 5 : if (VECTOR_TYPE_P (type)
4920 : 5 : && types_match (TREE_TYPE (captures[1]), truth_type_for (type))
4921 : : )
4922 : : {
4923 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1207;
4924 : 0 : {
4925 : 0 : tree res_op0;
4926 : 0 : res_op0 = captures[1];
4927 : 0 : tree res_op1;
4928 : 0 : {
4929 : 0 : tree _o1[1], _r1;
4930 : 0 : _o1[0] = captures[2];
4931 : 0 : if (TREE_TYPE (_o1[0]) != type)
4932 : : {
4933 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
4934 : 0 : if (EXPR_P (_r1))
4935 : 0 : goto next_after_fail1207;
4936 : : }
4937 : : else
4938 : : _r1 = _o1[0];
4939 : 0 : res_op1 = _r1;
4940 : : }
4941 : 0 : tree res_op2;
4942 : 0 : {
4943 : 0 : tree _o1[1], _r1;
4944 : 0 : _o1[0] = captures[3];
4945 : 0 : if (TREE_TYPE (_o1[0]) != type)
4946 : : {
4947 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
4948 : 0 : if (EXPR_P (_r1))
4949 : 0 : goto next_after_fail1207;
4950 : : }
4951 : : else
4952 : : _r1 = _o1[0];
4953 : 0 : res_op2 = _r1;
4954 : : }
4955 : 0 : tree _r;
4956 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
4957 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 874, __FILE__, __LINE__, true);
4958 : 0 : return _r;
4959 : : }
4960 : 5 : next_after_fail1207:;
4961 : : }
4962 : : }
4963 : 5 : break;
4964 : : }
4965 : 518459 : case COND_EXPR:
4966 : 518459 : {
4967 : 518459 : tree _q20 = TREE_OPERAND (_p0, 0);
4968 : 518459 : tree _q21 = TREE_OPERAND (_p0, 1);
4969 : 518459 : tree _q22 = TREE_OPERAND (_p0, 2);
4970 : 518459 : switch (TREE_CODE (_q21))
4971 : : {
4972 : 171042 : case INTEGER_CST:
4973 : 171042 : {
4974 : 171042 : switch (TREE_CODE (_q22))
4975 : : {
4976 : 101429 : case INTEGER_CST:
4977 : 101429 : {
4978 : 101429 : {
4979 : 101429 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
4980 : 101429 : if (INTEGRAL_TYPE_P (type)
4981 : 101429 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
4982 : : )
4983 : : {
4984 : 101429 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1208;
4985 : 101429 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1208;
4986 : 101429 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1208;
4987 : 101429 : {
4988 : 101429 : tree res_op0;
4989 : 101429 : res_op0 = captures[1];
4990 : 101429 : tree res_op1;
4991 : 101429 : {
4992 : 101429 : tree _o1[1], _r1;
4993 : 101429 : _o1[0] = captures[2];
4994 : 101429 : if (TREE_TYPE (_o1[0]) != type)
4995 : : {
4996 : 101429 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
4997 : : }
4998 : : else
4999 : : _r1 = _o1[0];
5000 : 101429 : res_op1 = _r1;
5001 : : }
5002 : 101429 : tree res_op2;
5003 : 101429 : {
5004 : 101429 : tree _o1[1], _r1;
5005 : 101429 : _o1[0] = captures[3];
5006 : 101429 : if (TREE_TYPE (_o1[0]) != type)
5007 : : {
5008 : 101429 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
5009 : : }
5010 : : else
5011 : : _r1 = _o1[0];
5012 : 101429 : res_op2 = _r1;
5013 : : }
5014 : 101429 : tree _r;
5015 : 101429 : _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
5016 : 101429 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 875, __FILE__, __LINE__, true);
5017 : 101429 : return _r;
5018 : : }
5019 : 0 : next_after_fail1208:;
5020 : : }
5021 : : }
5022 : 0 : break;
5023 : : }
5024 : : default:;
5025 : : }
5026 : : break;
5027 : : }
5028 : : default:;
5029 : : }
5030 : : break;
5031 : : }
5032 : 11568090 : case PLUS_EXPR:
5033 : 11568090 : {
5034 : 11568090 : tree _q20 = TREE_OPERAND (_p0, 0);
5035 : 11568090 : tree _q21 = TREE_OPERAND (_p0, 1);
5036 : 11568090 : switch (TREE_CODE (_q20))
5037 : : {
5038 : 4512961 : CASE_CONVERT:
5039 : 4512961 : {
5040 : 4512961 : tree _q30 = TREE_OPERAND (_q20, 0);
5041 : 4512961 : switch (TREE_CODE (_q21))
5042 : : {
5043 : 360582 : CASE_CONVERT:
5044 : 360582 : {
5045 : 360582 : tree _q50 = TREE_OPERAND (_q21, 0);
5046 : 360582 : {
5047 : 360582 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50 };
5048 : 360582 : tree res = generic_simplify_421 (loc, type, _p0, captures, PLUS_EXPR);
5049 : 360582 : if (res) return res;
5050 : : }
5051 : 360539 : break;
5052 : : }
5053 : 4512918 : default:;
5054 : : }
5055 : 4512918 : {
5056 : 4512918 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q21 };
5057 : 4512918 : tree res = generic_simplify_422 (loc, type, _p0, captures, PLUS_EXPR);
5058 : 4512918 : if (res) return res;
5059 : : }
5060 : 4499949 : break;
5061 : : }
5062 : 11555078 : default:;
5063 : : }
5064 : 11555078 : switch (TREE_CODE (_q21))
5065 : : {
5066 : 1502991 : CASE_CONVERT:
5067 : 1502991 : {
5068 : 1502991 : tree _q40 = TREE_OPERAND (_q21, 0);
5069 : 1502991 : {
5070 : 1502991 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q20, _q21, _q40 };
5071 : 1502991 : tree res = generic_simplify_423 (loc, type, _p0, captures, PLUS_EXPR);
5072 : 1502991 : if (res) return res;
5073 : : }
5074 : 1502991 : break;
5075 : : }
5076 : 11555078 : default:;
5077 : : }
5078 : 11555078 : {
5079 : 11555078 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q20, _q21, _q21 };
5080 : 11555078 : tree res = generic_simplify_424 (loc, type, _p0, captures, PLUS_EXPR);
5081 : 11555078 : if (res) return res;
5082 : : }
5083 : 11555044 : break;
5084 : : }
5085 : 911581 : case MINUS_EXPR:
5086 : 911581 : {
5087 : 911581 : tree _q20 = TREE_OPERAND (_p0, 0);
5088 : 911581 : tree _q21 = TREE_OPERAND (_p0, 1);
5089 : 911581 : switch (TREE_CODE (_q20))
5090 : : {
5091 : 352783 : CASE_CONVERT:
5092 : 352783 : {
5093 : 352783 : tree _q30 = TREE_OPERAND (_q20, 0);
5094 : 352783 : switch (TREE_CODE (_q21))
5095 : : {
5096 : 194814 : CASE_CONVERT:
5097 : 194814 : {
5098 : 194814 : tree _q50 = TREE_OPERAND (_q21, 0);
5099 : 194814 : {
5100 : 194814 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50 };
5101 : 194814 : tree res = generic_simplify_421 (loc, type, _p0, captures, MINUS_EXPR);
5102 : 194814 : if (res) return res;
5103 : : }
5104 : 194792 : break;
5105 : : }
5106 : 352761 : default:;
5107 : : }
5108 : 352761 : {
5109 : 352761 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q21 };
5110 : 352761 : tree res = generic_simplify_422 (loc, type, _p0, captures, MINUS_EXPR);
5111 : 352761 : if (res) return res;
5112 : : }
5113 : 351648 : break;
5114 : : }
5115 : 910446 : default:;
5116 : : }
5117 : 910446 : switch (TREE_CODE (_q21))
5118 : : {
5119 : 256031 : CASE_CONVERT:
5120 : 256031 : {
5121 : 256031 : tree _q40 = TREE_OPERAND (_q21, 0);
5122 : 256031 : {
5123 : 256031 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q20, _q21, _q40 };
5124 : 256031 : tree res = generic_simplify_423 (loc, type, _p0, captures, MINUS_EXPR);
5125 : 256031 : if (res) return res;
5126 : : }
5127 : 256021 : break;
5128 : : }
5129 : 910436 : default:;
5130 : : }
5131 : 910436 : {
5132 : 910436 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q20, _q21, _q21 };
5133 : 910436 : tree res = generic_simplify_424 (loc, type, _p0, captures, MINUS_EXPR);
5134 : 910436 : if (res) return res;
5135 : : }
5136 : 910404 : break;
5137 : : }
5138 : 8013704 : case MULT_EXPR:
5139 : 8013704 : {
5140 : 8013704 : tree _q20 = TREE_OPERAND (_p0, 0);
5141 : 8013704 : tree _q21 = TREE_OPERAND (_p0, 1);
5142 : 8013704 : switch (TREE_CODE (_q20))
5143 : : {
5144 : 3625726 : CASE_CONVERT:
5145 : 3625726 : {
5146 : 3625726 : tree _q30 = TREE_OPERAND (_q20, 0);
5147 : 3625726 : switch (TREE_CODE (_q21))
5148 : : {
5149 : 324304 : CASE_CONVERT:
5150 : 324304 : {
5151 : 324304 : tree _q50 = TREE_OPERAND (_q21, 0);
5152 : 324304 : {
5153 : 324304 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50 };
5154 : 324304 : tree res = generic_simplify_421 (loc, type, _p0, captures, MULT_EXPR);
5155 : 324304 : if (res) return res;
5156 : : }
5157 : 324304 : break;
5158 : : }
5159 : 3625726 : default:;
5160 : : }
5161 : 3625726 : {
5162 : 3625726 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q21 };
5163 : 3625726 : tree res = generic_simplify_422 (loc, type, _p0, captures, MULT_EXPR);
5164 : 3625726 : if (res) return res;
5165 : : }
5166 : 3625606 : break;
5167 : : }
5168 : 8013584 : default:;
5169 : : }
5170 : 8013584 : switch (TREE_CODE (_q21))
5171 : : {
5172 : 702113 : CASE_CONVERT:
5173 : 702113 : {
5174 : 702113 : tree _q40 = TREE_OPERAND (_q21, 0);
5175 : 702113 : {
5176 : 702113 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q20, _q21, _q40 };
5177 : 702113 : tree res = generic_simplify_423 (loc, type, _p0, captures, MULT_EXPR);
5178 : 702113 : if (res) return res;
5179 : : }
5180 : 702113 : break;
5181 : : }
5182 : 8013584 : default:;
5183 : : }
5184 : 8013584 : {
5185 : 8013584 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q20, _q21, _q21 };
5186 : 8013584 : tree res = generic_simplify_424 (loc, type, _p0, captures, MULT_EXPR);
5187 : 8013584 : if (res) return res;
5188 : : }
5189 : 8013551 : break;
5190 : : }
5191 : 3090 : case RDIV_EXPR:
5192 : 3090 : {
5193 : 3090 : tree _q20 = TREE_OPERAND (_p0, 0);
5194 : 3090 : tree _q21 = TREE_OPERAND (_p0, 1);
5195 : 3090 : switch (TREE_CODE (_q20))
5196 : : {
5197 : 986 : CASE_CONVERT:
5198 : 986 : {
5199 : 986 : tree _q30 = TREE_OPERAND (_q20, 0);
5200 : 986 : switch (TREE_CODE (_q21))
5201 : : {
5202 : 669 : CASE_CONVERT:
5203 : 669 : {
5204 : 669 : tree _q50 = TREE_OPERAND (_q21, 0);
5205 : 669 : {
5206 : 669 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50 };
5207 : 669 : tree res = generic_simplify_421 (loc, type, _p0, captures, RDIV_EXPR);
5208 : 669 : if (res) return res;
5209 : : }
5210 : 668 : break;
5211 : : }
5212 : 985 : default:;
5213 : : }
5214 : 985 : {
5215 : 985 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q21 };
5216 : 985 : tree res = generic_simplify_422 (loc, type, _p0, captures, RDIV_EXPR);
5217 : 985 : if (res) return res;
5218 : : }
5219 : 983 : break;
5220 : : }
5221 : 3087 : default:;
5222 : : }
5223 : 3087 : switch (TREE_CODE (_q21))
5224 : : {
5225 : 1658 : CASE_CONVERT:
5226 : 1658 : {
5227 : 1658 : tree _q40 = TREE_OPERAND (_q21, 0);
5228 : 1658 : {
5229 : 1658 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q20, _q21, _q40 };
5230 : 1658 : tree res = generic_simplify_423 (loc, type, _p0, captures, RDIV_EXPR);
5231 : 1658 : if (res) return res;
5232 : : }
5233 : 1013 : break;
5234 : : }
5235 : 2442 : default:;
5236 : : }
5237 : 2442 : {
5238 : 2442 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q20, _q21, _q21 };
5239 : 2442 : tree res = generic_simplify_424 (loc, type, _p0, captures, RDIV_EXPR);
5240 : 2442 : if (res) return res;
5241 : : }
5242 : 2400 : break;
5243 : : }
5244 : 384313 : case NEGATE_EXPR:
5245 : 384313 : {
5246 : 384313 : tree _q20 = TREE_OPERAND (_p0, 0);
5247 : 384313 : {
5248 : 384313 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
5249 : 384313 : tree res = generic_simplify_425 (loc, type, _p0, captures);
5250 : 384313 : if (res) return res;
5251 : : }
5252 : 384291 : break;
5253 : : }
5254 : : default:;
5255 : : }
5256 : : return NULL_TREE;
5257 : : }
5258 : :
5259 : : tree
5260 : 7010 : generic_simplify_CEIL_DIV_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
5261 : : {
5262 : 7010 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
5263 : 7010 : if (integer_onep (_p1))
5264 : : {
5265 : 1803 : {
5266 : 1803 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
5267 : 1803 : tree res = generic_simplify_178 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR);
5268 : 1803 : if (res) return res;
5269 : : }
5270 : : }
5271 : 5207 : if (integer_zerop (_p0))
5272 : : {
5273 : 0 : {
5274 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
5275 : 0 : tree res = generic_simplify_306 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR);
5276 : 0 : if (res) return res;
5277 : : }
5278 : : }
5279 : 5207 : switch (TREE_CODE (_p1))
5280 : : {
5281 : 34 : case SSA_NAME:
5282 : 34 : {
5283 : 34 : {
5284 : 34 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
5285 : 34 : tree res = generic_simplify_308 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR);
5286 : 34 : if (res) return res;
5287 : : }
5288 : 34 : break;
5289 : : }
5290 : 5207 : default:;
5291 : : }
5292 : 5207 : if (integer_minus_onep (_p1))
5293 : : {
5294 : 0 : {
5295 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
5296 : 0 : tree res = generic_simplify_307 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR);
5297 : 0 : if (res) return res;
5298 : : }
5299 : : }
5300 : 5207 : if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
5301 : : {
5302 : 0 : {
5303 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
5304 : 0 : tree res = generic_simplify_309 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR);
5305 : 0 : if (res) return res;
5306 : : }
5307 : : }
5308 : 5207 : switch (TREE_CODE (_p1))
5309 : : {
5310 : 0 : case ABS_EXPR:
5311 : 0 : {
5312 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
5313 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
5314 : : {
5315 : 0 : {
5316 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
5317 : 0 : tree res = generic_simplify_310 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR);
5318 : 0 : if (res) return res;
5319 : : }
5320 : : }
5321 : : break;
5322 : : }
5323 : 5207 : default:;
5324 : : }
5325 : 5207 : switch (TREE_CODE (_p0))
5326 : : {
5327 : 0 : case ABS_EXPR:
5328 : 0 : {
5329 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
5330 : 0 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
5331 : : {
5332 : 0 : {
5333 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
5334 : 0 : tree res = generic_simplify_310 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR);
5335 : 0 : if (res) return res;
5336 : : }
5337 : : }
5338 : : break;
5339 : : }
5340 : 5207 : default:;
5341 : : }
5342 : 5207 : switch (TREE_CODE (_p1))
5343 : : {
5344 : 0 : case NEGATE_EXPR:
5345 : 0 : {
5346 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
5347 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
5348 : : {
5349 : 0 : {
5350 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
5351 : 0 : tree res = generic_simplify_311 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR);
5352 : 0 : if (res) return res;
5353 : : }
5354 : : }
5355 : : break;
5356 : : }
5357 : 5207 : default:;
5358 : : }
5359 : 5207 : switch (TREE_CODE (_p0))
5360 : : {
5361 : 0 : case NEGATE_EXPR:
5362 : 0 : {
5363 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
5364 : 0 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
5365 : : {
5366 : 0 : {
5367 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
5368 : 0 : tree res = generic_simplify_311 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR);
5369 : 0 : if (res) return res;
5370 : : }
5371 : : }
5372 : : break;
5373 : : }
5374 : 536 : CASE_CONVERT:
5375 : 536 : {
5376 : 536 : tree _q20 = TREE_OPERAND (_p0, 0);
5377 : 536 : switch (TREE_CODE (_q20))
5378 : : {
5379 : 0 : case BIT_AND_EXPR:
5380 : 0 : {
5381 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
5382 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
5383 : 0 : switch (TREE_CODE (_q31))
5384 : : {
5385 : 0 : case INTEGER_CST:
5386 : 0 : {
5387 : 0 : switch (TREE_CODE (_p1))
5388 : : {
5389 : 0 : case INTEGER_CST:
5390 : 0 : {
5391 : 0 : {
5392 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
5393 : 0 : tree res = generic_simplify_313 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR);
5394 : 0 : if (res) return res;
5395 : : }
5396 : 0 : break;
5397 : : }
5398 : : default:;
5399 : : }
5400 : : break;
5401 : : }
5402 : : default:;
5403 : : }
5404 : : break;
5405 : : }
5406 : : default:;
5407 : : }
5408 : : break;
5409 : : }
5410 : 0 : case BIT_AND_EXPR:
5411 : 0 : {
5412 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
5413 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
5414 : 0 : switch (TREE_CODE (_q21))
5415 : : {
5416 : 0 : case INTEGER_CST:
5417 : 0 : {
5418 : 0 : switch (TREE_CODE (_p1))
5419 : : {
5420 : 0 : case INTEGER_CST:
5421 : 0 : {
5422 : 0 : {
5423 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
5424 : 0 : tree res = generic_simplify_313 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR);
5425 : 0 : if (res) return res;
5426 : : }
5427 : 0 : break;
5428 : : }
5429 : : default:;
5430 : : }
5431 : : break;
5432 : : }
5433 : : default:;
5434 : : }
5435 : : break;
5436 : : }
5437 : 0 : case MULT_EXPR:
5438 : 0 : {
5439 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
5440 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
5441 : 0 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
5442 : : {
5443 : 0 : {
5444 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
5445 : 0 : tree res = generic_simplify_315 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR);
5446 : 0 : if (res) return res;
5447 : : }
5448 : : }
5449 : 0 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
5450 : : {
5451 : 0 : {
5452 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
5453 : 0 : tree res = generic_simplify_315 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR);
5454 : 0 : if (res) return res;
5455 : : }
5456 : : }
5457 : 0 : switch (TREE_CODE (_q21))
5458 : : {
5459 : 0 : case INTEGER_CST:
5460 : 0 : {
5461 : 0 : switch (TREE_CODE (_p1))
5462 : : {
5463 : 0 : case MULT_EXPR:
5464 : 0 : {
5465 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
5466 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
5467 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5468 : : {
5469 : 0 : switch (TREE_CODE (_q51))
5470 : : {
5471 : 0 : case INTEGER_CST:
5472 : 0 : {
5473 : 0 : {
5474 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
5475 : 0 : tree res = generic_simplify_316 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR);
5476 : 0 : if (res) return res;
5477 : : }
5478 : 0 : break;
5479 : : }
5480 : : default:;
5481 : : }
5482 : : }
5483 : : break;
5484 : : }
5485 : : default:;
5486 : : }
5487 : : break;
5488 : : }
5489 : : default:;
5490 : : }
5491 : : break;
5492 : : }
5493 : 0 : case VEC_COND_EXPR:
5494 : 0 : {
5495 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
5496 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
5497 : 0 : tree _q22 = TREE_OPERAND (_p0, 2);
5498 : 0 : switch (TREE_CODE (_p1))
5499 : : {
5500 : 0 : case VEC_COND_EXPR:
5501 : 0 : {
5502 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
5503 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
5504 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
5505 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
5506 : : {
5507 : 0 : {
5508 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
5509 : 0 : if (VECTOR_TYPE_P (type)
5510 : 0 : && (TREE_CODE_CLASS (CEIL_DIV_EXPR) != tcc_comparison
5511 : : || types_match (type, TREE_TYPE (captures[2]))
5512 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
5513 : : || (optimize_vectors_before_lowering_p ()
5514 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
5515 : : )
5516 : : {
5517 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1716;
5518 : 0 : {
5519 : 0 : tree res_op0;
5520 : 0 : res_op0 = captures[1];
5521 : 0 : tree res_op1;
5522 : 0 : {
5523 : 0 : tree _o1[2], _r1;
5524 : 0 : _o1[0] = captures[2];
5525 : 0 : _o1[1] = captures[5];
5526 : 0 : _r1 = fold_build2_loc (loc, CEIL_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
5527 : 0 : if (EXPR_P (_r1))
5528 : 0 : goto next_after_fail1716;
5529 : 0 : res_op1 = _r1;
5530 : : }
5531 : 0 : tree res_op2;
5532 : 0 : {
5533 : 0 : tree _o1[2], _r1;
5534 : 0 : _o1[0] = captures[3];
5535 : 0 : _o1[1] = captures[6];
5536 : 0 : _r1 = fold_build2_loc (loc, CEIL_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
5537 : 0 : if (EXPR_P (_r1))
5538 : 0 : goto next_after_fail1716;
5539 : 0 : res_op2 = _r1;
5540 : : }
5541 : 0 : tree _r;
5542 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
5543 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 919, __FILE__, __LINE__, true);
5544 : 0 : return _r;
5545 : : }
5546 : 0 : next_after_fail1716:;
5547 : : }
5548 : : }
5549 : : }
5550 : : break;
5551 : : }
5552 : 0 : default:;
5553 : : }
5554 : 0 : {
5555 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
5556 : 0 : if (VECTOR_TYPE_P (type)
5557 : 0 : && (TREE_CODE_CLASS (CEIL_DIV_EXPR) != tcc_comparison
5558 : : || types_match (type, TREE_TYPE (captures[2]))
5559 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
5560 : : || (optimize_vectors_before_lowering_p ()
5561 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
5562 : : )
5563 : : {
5564 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1717;
5565 : 0 : {
5566 : 0 : if (! tree_invariant_p (captures[4])) goto next_after_fail1717;
5567 : 0 : tree res_op0;
5568 : 0 : res_op0 = captures[1];
5569 : 0 : tree res_op1;
5570 : 0 : {
5571 : 0 : tree _o1[2], _r1;
5572 : 0 : _o1[0] = captures[2];
5573 : 0 : _o1[1] = unshare_expr (captures[4]);
5574 : 0 : _r1 = fold_build2_loc (loc, CEIL_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
5575 : 0 : if (EXPR_P (_r1))
5576 : 0 : goto next_after_fail1717;
5577 : 0 : res_op1 = _r1;
5578 : : }
5579 : 0 : tree res_op2;
5580 : 0 : {
5581 : 0 : tree _o1[2], _r1;
5582 : 0 : _o1[0] = captures[3];
5583 : 0 : _o1[1] = captures[4];
5584 : 0 : _r1 = fold_build2_loc (loc, CEIL_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
5585 : 0 : if (EXPR_P (_r1))
5586 : 0 : goto next_after_fail1717;
5587 : 0 : res_op2 = _r1;
5588 : : }
5589 : 0 : tree _r;
5590 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
5591 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 920, __FILE__, __LINE__, true);
5592 : 0 : return _r;
5593 : : }
5594 : 0 : next_after_fail1717:;
5595 : : }
5596 : : }
5597 : 0 : break;
5598 : : }
5599 : 5207 : default:;
5600 : : }
5601 : 5207 : switch (TREE_CODE (_p1))
5602 : : {
5603 : 0 : case VEC_COND_EXPR:
5604 : 0 : {
5605 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
5606 : 0 : tree _q31 = TREE_OPERAND (_p1, 1);
5607 : 0 : tree _q32 = TREE_OPERAND (_p1, 2);
5608 : 0 : {
5609 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
5610 : 0 : if (VECTOR_TYPE_P (type)
5611 : 0 : && (TREE_CODE_CLASS (CEIL_DIV_EXPR) != tcc_comparison
5612 : : || types_match (type, TREE_TYPE (captures[3]))
5613 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
5614 : : || (optimize_vectors_before_lowering_p ()
5615 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
5616 : : )
5617 : : {
5618 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1718;
5619 : 0 : {
5620 : 0 : if (! tree_invariant_p (captures[0])) goto next_after_fail1718;
5621 : 0 : tree res_op0;
5622 : 0 : res_op0 = captures[2];
5623 : 0 : tree res_op1;
5624 : 0 : {
5625 : 0 : tree _o1[2], _r1;
5626 : 0 : _o1[0] = unshare_expr (captures[0]);
5627 : 0 : _o1[1] = captures[3];
5628 : 0 : _r1 = fold_build2_loc (loc, CEIL_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
5629 : 0 : if (EXPR_P (_r1))
5630 : 0 : goto next_after_fail1718;
5631 : 0 : res_op1 = _r1;
5632 : : }
5633 : 0 : tree res_op2;
5634 : 0 : {
5635 : 0 : tree _o1[2], _r1;
5636 : 0 : _o1[0] = captures[0];
5637 : 0 : _o1[1] = captures[4];
5638 : 0 : _r1 = fold_build2_loc (loc, CEIL_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
5639 : 0 : if (EXPR_P (_r1))
5640 : 0 : goto next_after_fail1718;
5641 : 0 : res_op2 = _r1;
5642 : : }
5643 : 0 : tree _r;
5644 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
5645 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 921, __FILE__, __LINE__, true);
5646 : 0 : return _r;
5647 : : }
5648 : 0 : next_after_fail1718:;
5649 : : }
5650 : : }
5651 : 0 : break;
5652 : : }
5653 : : default:;
5654 : : }
5655 : : return NULL_TREE;
5656 : : }
5657 : :
5658 : : tree
5659 : 3503545 : generic_simplify_EXACT_DIV_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
5660 : : {
5661 : 3503545 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
5662 : 3503545 : if (integer_onep (_p1))
5663 : : {
5664 : 2259965 : {
5665 : 2259965 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
5666 : 2259965 : tree res = generic_simplify_178 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5667 : 2259965 : if (res) return res;
5668 : : }
5669 : : }
5670 : 1243580 : switch (TREE_CODE (_p0))
5671 : : {
5672 : 9064 : CASE_CONVERT:
5673 : 9064 : {
5674 : 9064 : tree _q20 = TREE_OPERAND (_p0, 0);
5675 : 9064 : switch (TREE_CODE (_p1))
5676 : : {
5677 : 0 : CASE_CONVERT:
5678 : 0 : {
5679 : 0 : tree _q40 = TREE_OPERAND (_p1, 0);
5680 : 0 : switch (TREE_CODE (_q40))
5681 : : {
5682 : 0 : case LSHIFT_EXPR:
5683 : 0 : {
5684 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
5685 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
5686 : 0 : if (integer_onep (_q50))
5687 : : {
5688 : 0 : {
5689 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q50, _q51 };
5690 : 0 : tree res = generic_simplify_304 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5691 : 0 : if (res) return res;
5692 : : }
5693 : : }
5694 : : break;
5695 : : }
5696 : : default:;
5697 : : }
5698 : : break;
5699 : : }
5700 : 0 : case LSHIFT_EXPR:
5701 : 0 : {
5702 : 0 : tree _q40 = TREE_OPERAND (_p1, 0);
5703 : 0 : tree _q41 = TREE_OPERAND (_p1, 1);
5704 : 0 : if (integer_onep (_q40))
5705 : : {
5706 : 0 : {
5707 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q41 };
5708 : 0 : tree res = generic_simplify_304 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5709 : 0 : if (res) return res;
5710 : : }
5711 : : }
5712 : : break;
5713 : : }
5714 : : default:;
5715 : : }
5716 : : break;
5717 : : }
5718 : 1243580 : default:;
5719 : : }
5720 : 1243580 : switch (TREE_CODE (_p1))
5721 : : {
5722 : 2 : CASE_CONVERT:
5723 : 2 : {
5724 : 2 : tree _q30 = TREE_OPERAND (_p1, 0);
5725 : 2 : switch (TREE_CODE (_q30))
5726 : : {
5727 : 0 : case LSHIFT_EXPR:
5728 : 0 : {
5729 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
5730 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
5731 : 0 : if (integer_onep (_q40))
5732 : : {
5733 : 0 : {
5734 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q40, _q41 };
5735 : 0 : tree res = generic_simplify_305 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5736 : 0 : if (res) return res;
5737 : : }
5738 : : }
5739 : : break;
5740 : : }
5741 : : default:;
5742 : : }
5743 : : break;
5744 : : }
5745 : 0 : case LSHIFT_EXPR:
5746 : 0 : {
5747 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
5748 : 0 : tree _q31 = TREE_OPERAND (_p1, 1);
5749 : 0 : if (integer_onep (_q30))
5750 : : {
5751 : 0 : {
5752 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q30, _q31 };
5753 : 0 : tree res = generic_simplify_305 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5754 : 0 : if (res) return res;
5755 : : }
5756 : : }
5757 : : break;
5758 : : }
5759 : 1243580 : default:;
5760 : : }
5761 : 1243580 : if (integer_zerop (_p0))
5762 : : {
5763 : 0 : {
5764 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
5765 : 0 : tree res = generic_simplify_306 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5766 : 0 : if (res) return res;
5767 : : }
5768 : : }
5769 : 1243580 : switch (TREE_CODE (_p1))
5770 : : {
5771 : 0 : case SSA_NAME:
5772 : 0 : {
5773 : 0 : {
5774 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
5775 : 0 : tree res = generic_simplify_308 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5776 : 0 : if (res) return res;
5777 : : }
5778 : 0 : break;
5779 : : }
5780 : 1243580 : default:;
5781 : : }
5782 : 1243580 : if (integer_minus_onep (_p1))
5783 : : {
5784 : 0 : {
5785 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
5786 : 0 : tree res = generic_simplify_307 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5787 : 0 : if (res) return res;
5788 : : }
5789 : : }
5790 : 1243580 : if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
5791 : : {
5792 : 0 : {
5793 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
5794 : 0 : tree res = generic_simplify_309 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5795 : 0 : if (res) return res;
5796 : : }
5797 : : }
5798 : 1243580 : switch (TREE_CODE (_p1))
5799 : : {
5800 : 0 : case ABS_EXPR:
5801 : 0 : {
5802 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
5803 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
5804 : : {
5805 : 0 : {
5806 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
5807 : 0 : tree res = generic_simplify_310 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5808 : 0 : if (res) return res;
5809 : : }
5810 : : }
5811 : : break;
5812 : : }
5813 : 1243580 : default:;
5814 : : }
5815 : 1243580 : switch (TREE_CODE (_p0))
5816 : : {
5817 : 0 : case ABS_EXPR:
5818 : 0 : {
5819 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
5820 : 0 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
5821 : : {
5822 : 0 : {
5823 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
5824 : 0 : tree res = generic_simplify_310 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5825 : 0 : if (res) return res;
5826 : : }
5827 : : }
5828 : : break;
5829 : : }
5830 : 1243580 : default:;
5831 : : }
5832 : 1243580 : switch (TREE_CODE (_p1))
5833 : : {
5834 : 0 : case NEGATE_EXPR:
5835 : 0 : {
5836 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
5837 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
5838 : : {
5839 : 0 : {
5840 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
5841 : 0 : tree res = generic_simplify_311 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5842 : 0 : if (res) return res;
5843 : : }
5844 : : }
5845 : : break;
5846 : : }
5847 : 1243580 : default:;
5848 : : }
5849 : 1243580 : switch (TREE_CODE (_p0))
5850 : : {
5851 : 1450 : case NEGATE_EXPR:
5852 : 1450 : {
5853 : 1450 : tree _q20 = TREE_OPERAND (_p0, 0);
5854 : 1450 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
5855 : : {
5856 : 0 : {
5857 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
5858 : 0 : tree res = generic_simplify_311 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5859 : 0 : if (res) return res;
5860 : : }
5861 : : }
5862 : : break;
5863 : : }
5864 : 0 : case EXACT_DIV_EXPR:
5865 : 0 : {
5866 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
5867 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
5868 : 0 : switch (TREE_CODE (_q21))
5869 : : {
5870 : 0 : case INTEGER_CST:
5871 : 0 : {
5872 : 0 : switch (TREE_CODE (_p1))
5873 : : {
5874 : 0 : case INTEGER_CST:
5875 : 0 : {
5876 : 0 : {
5877 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
5878 : 0 : tree res = generic_simplify_312 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5879 : 0 : if (res) return res;
5880 : : }
5881 : 0 : break;
5882 : : }
5883 : : default:;
5884 : : }
5885 : : break;
5886 : : }
5887 : : default:;
5888 : : }
5889 : : break;
5890 : : }
5891 : 9064 : CASE_CONVERT:
5892 : 9064 : {
5893 : 9064 : tree _q20 = TREE_OPERAND (_p0, 0);
5894 : 9064 : switch (TREE_CODE (_q20))
5895 : : {
5896 : 0 : case BIT_AND_EXPR:
5897 : 0 : {
5898 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
5899 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
5900 : 0 : switch (TREE_CODE (_q31))
5901 : : {
5902 : 0 : case INTEGER_CST:
5903 : 0 : {
5904 : 0 : switch (TREE_CODE (_p1))
5905 : : {
5906 : 0 : case INTEGER_CST:
5907 : 0 : {
5908 : 0 : {
5909 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
5910 : 0 : tree res = generic_simplify_313 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5911 : 0 : if (res) return res;
5912 : : }
5913 : 0 : break;
5914 : : }
5915 : : default:;
5916 : : }
5917 : : break;
5918 : : }
5919 : : default:;
5920 : : }
5921 : : break;
5922 : : }
5923 : : default:;
5924 : : }
5925 : : break;
5926 : : }
5927 : 0 : case BIT_AND_EXPR:
5928 : 0 : {
5929 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
5930 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
5931 : 0 : switch (TREE_CODE (_q21))
5932 : : {
5933 : 0 : case INTEGER_CST:
5934 : 0 : {
5935 : 0 : switch (TREE_CODE (_p1))
5936 : : {
5937 : 0 : case INTEGER_CST:
5938 : 0 : {
5939 : 0 : {
5940 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
5941 : 0 : tree res = generic_simplify_313 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5942 : 0 : if (res) return res;
5943 : : }
5944 : 0 : break;
5945 : : }
5946 : : default:;
5947 : : }
5948 : : break;
5949 : : }
5950 : : default:;
5951 : : }
5952 : : break;
5953 : : }
5954 : 18169 : case MULT_EXPR:
5955 : 18169 : {
5956 : 18169 : tree _q20 = TREE_OPERAND (_p0, 0);
5957 : 18169 : tree _q21 = TREE_OPERAND (_p0, 1);
5958 : 18169 : if (integer_pow2p (_q21))
5959 : : {
5960 : 17120 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
5961 : : {
5962 : 17040 : {
5963 : 17040 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
5964 : 17040 : tree res = generic_simplify_314 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5965 : 17040 : if (res) return res;
5966 : : }
5967 : : }
5968 : : }
5969 : 1136 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
5970 : : {
5971 : 7 : {
5972 : 7 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
5973 : 7 : tree res = generic_simplify_315 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5974 : 7 : if (res) return res;
5975 : : }
5976 : : }
5977 : 1129 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
5978 : : {
5979 : 0 : {
5980 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
5981 : 0 : tree res = generic_simplify_315 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
5982 : 0 : if (res) return res;
5983 : : }
5984 : : }
5985 : 1129 : switch (TREE_CODE (_q21))
5986 : : {
5987 : 1129 : case INTEGER_CST:
5988 : 1129 : {
5989 : 1129 : switch (TREE_CODE (_p1))
5990 : : {
5991 : 0 : case MULT_EXPR:
5992 : 0 : {
5993 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
5994 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
5995 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5996 : : {
5997 : 0 : switch (TREE_CODE (_q51))
5998 : : {
5999 : 0 : case INTEGER_CST:
6000 : 0 : {
6001 : 0 : {
6002 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
6003 : 0 : tree res = generic_simplify_316 (loc, type, _p0, _p1, captures, EXACT_DIV_EXPR);
6004 : 0 : if (res) return res;
6005 : : }
6006 : 0 : break;
6007 : : }
6008 : : default:;
6009 : : }
6010 : : }
6011 : : break;
6012 : : }
6013 : : default:;
6014 : : }
6015 : : break;
6016 : : }
6017 : : default:;
6018 : : }
6019 : : break;
6020 : : }
6021 : 0 : case VEC_COND_EXPR:
6022 : 0 : {
6023 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
6024 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
6025 : 0 : tree _q22 = TREE_OPERAND (_p0, 2);
6026 : 0 : switch (TREE_CODE (_p1))
6027 : : {
6028 : 0 : case VEC_COND_EXPR:
6029 : 0 : {
6030 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
6031 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
6032 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
6033 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
6034 : : {
6035 : 0 : {
6036 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
6037 : 0 : if (VECTOR_TYPE_P (type)
6038 : 0 : && (TREE_CODE_CLASS (EXACT_DIV_EXPR) != tcc_comparison
6039 : : || types_match (type, TREE_TYPE (captures[2]))
6040 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
6041 : : || (optimize_vectors_before_lowering_p ()
6042 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
6043 : : )
6044 : : {
6045 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1725;
6046 : 0 : {
6047 : 0 : tree res_op0;
6048 : 0 : res_op0 = captures[1];
6049 : 0 : tree res_op1;
6050 : 0 : {
6051 : 0 : tree _o1[2], _r1;
6052 : 0 : _o1[0] = captures[2];
6053 : 0 : _o1[1] = captures[5];
6054 : 0 : _r1 = fold_build2_loc (loc, EXACT_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
6055 : 0 : if (EXPR_P (_r1))
6056 : 0 : goto next_after_fail1725;
6057 : 0 : res_op1 = _r1;
6058 : : }
6059 : 0 : tree res_op2;
6060 : 0 : {
6061 : 0 : tree _o1[2], _r1;
6062 : 0 : _o1[0] = captures[3];
6063 : 0 : _o1[1] = captures[6];
6064 : 0 : _r1 = fold_build2_loc (loc, EXACT_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
6065 : 0 : if (EXPR_P (_r1))
6066 : 0 : goto next_after_fail1725;
6067 : 0 : res_op2 = _r1;
6068 : : }
6069 : 0 : tree _r;
6070 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
6071 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 919, __FILE__, __LINE__, true);
6072 : 0 : return _r;
6073 : : }
6074 : 0 : next_after_fail1725:;
6075 : : }
6076 : : }
6077 : : }
6078 : : break;
6079 : : }
6080 : 0 : default:;
6081 : : }
6082 : 0 : {
6083 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
6084 : 0 : if (VECTOR_TYPE_P (type)
6085 : 0 : && (TREE_CODE_CLASS (EXACT_DIV_EXPR) != tcc_comparison
6086 : : || types_match (type, TREE_TYPE (captures[2]))
6087 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
6088 : : || (optimize_vectors_before_lowering_p ()
6089 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
6090 : : )
6091 : : {
6092 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1726;
6093 : 0 : {
6094 : 0 : if (! tree_invariant_p (captures[4])) goto next_after_fail1726;
6095 : 0 : tree res_op0;
6096 : 0 : res_op0 = captures[1];
6097 : 0 : tree res_op1;
6098 : 0 : {
6099 : 0 : tree _o1[2], _r1;
6100 : 0 : _o1[0] = captures[2];
6101 : 0 : _o1[1] = unshare_expr (captures[4]);
6102 : 0 : _r1 = fold_build2_loc (loc, EXACT_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
6103 : 0 : if (EXPR_P (_r1))
6104 : 0 : goto next_after_fail1726;
6105 : 0 : res_op1 = _r1;
6106 : : }
6107 : 0 : tree res_op2;
6108 : 0 : {
6109 : 0 : tree _o1[2], _r1;
6110 : 0 : _o1[0] = captures[3];
6111 : 0 : _o1[1] = captures[4];
6112 : 0 : _r1 = fold_build2_loc (loc, EXACT_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
6113 : 0 : if (EXPR_P (_r1))
6114 : 0 : goto next_after_fail1726;
6115 : 0 : res_op2 = _r1;
6116 : : }
6117 : 0 : tree _r;
6118 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
6119 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 920, __FILE__, __LINE__, true);
6120 : 0 : return _r;
6121 : : }
6122 : 0 : next_after_fail1726:;
6123 : : }
6124 : : }
6125 : 0 : break;
6126 : : }
6127 : 1226540 : default:;
6128 : : }
6129 : 1226540 : switch (TREE_CODE (_p1))
6130 : : {
6131 : 0 : case VEC_COND_EXPR:
6132 : 0 : {
6133 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
6134 : 0 : tree _q31 = TREE_OPERAND (_p1, 1);
6135 : 0 : tree _q32 = TREE_OPERAND (_p1, 2);
6136 : 0 : {
6137 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
6138 : 0 : if (VECTOR_TYPE_P (type)
6139 : 0 : && (TREE_CODE_CLASS (EXACT_DIV_EXPR) != tcc_comparison
6140 : : || types_match (type, TREE_TYPE (captures[3]))
6141 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
6142 : : || (optimize_vectors_before_lowering_p ()
6143 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
6144 : : )
6145 : : {
6146 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1727;
6147 : 0 : {
6148 : 0 : if (! tree_invariant_p (captures[0])) goto next_after_fail1727;
6149 : 0 : tree res_op0;
6150 : 0 : res_op0 = captures[2];
6151 : 0 : tree res_op1;
6152 : 0 : {
6153 : 0 : tree _o1[2], _r1;
6154 : 0 : _o1[0] = unshare_expr (captures[0]);
6155 : 0 : _o1[1] = captures[3];
6156 : 0 : _r1 = fold_build2_loc (loc, EXACT_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
6157 : 0 : if (EXPR_P (_r1))
6158 : 0 : goto next_after_fail1727;
6159 : 0 : res_op1 = _r1;
6160 : : }
6161 : 0 : tree res_op2;
6162 : 0 : {
6163 : 0 : tree _o1[2], _r1;
6164 : 0 : _o1[0] = captures[0];
6165 : 0 : _o1[1] = captures[4];
6166 : 0 : _r1 = fold_build2_loc (loc, EXACT_DIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
6167 : 0 : if (EXPR_P (_r1))
6168 : 0 : goto next_after_fail1727;
6169 : 0 : res_op2 = _r1;
6170 : : }
6171 : 0 : tree _r;
6172 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
6173 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 921, __FILE__, __LINE__, true);
6174 : 0 : return _r;
6175 : : }
6176 : 0 : next_after_fail1727:;
6177 : : }
6178 : : }
6179 : 0 : break;
6180 : : }
6181 : : default:;
6182 : : }
6183 : : return NULL_TREE;
6184 : : }
6185 : :
6186 : : tree
6187 : 8660849 : generic_simplify_LE_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
6188 : : {
6189 : 8660849 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
6190 : 8660849 : switch (TREE_CODE (_p0))
6191 : : {
6192 : 2312 : case RDIV_EXPR:
6193 : 2312 : {
6194 : 2312 : tree _q20 = TREE_OPERAND (_p0, 0);
6195 : 2312 : tree _q21 = TREE_OPERAND (_p0, 1);
6196 : 2312 : switch (TREE_CODE (_q20))
6197 : : {
6198 : 548 : case REAL_CST:
6199 : 548 : {
6200 : 548 : if (real_zerop (_p1))
6201 : : {
6202 : 2 : {
6203 : 2 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
6204 : 2 : tree res = generic_simplify_366 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR);
6205 : 2 : if (res) return res;
6206 : : }
6207 : : }
6208 : : break;
6209 : : }
6210 : : default:;
6211 : : }
6212 : : break;
6213 : : }
6214 : 3220 : case LSHIFT_EXPR:
6215 : 3220 : {
6216 : 3220 : tree _q20 = TREE_OPERAND (_p0, 0);
6217 : 3220 : tree _q21 = TREE_OPERAND (_p0, 1);
6218 : 3220 : {
6219 : 3220 : tree _p1_pops[1];
6220 : 3220 : if (tree_nop_convert (_p1, _p1_pops))
6221 : : {
6222 : 11 : tree _q50 = _p1_pops[0];
6223 : 11 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
6224 : : {
6225 : 4 : {
6226 : 4 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
6227 : 4 : tree res = generic_simplify_367 (loc, type, _p0, _p1, captures, LE_EXPR);
6228 : 4 : if (res) return res;
6229 : : }
6230 : : }
6231 : : }
6232 : : }
6233 : 3219 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
6234 : : {
6235 : 57 : {
6236 : 57 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
6237 : 57 : tree res = generic_simplify_367 (loc, type, _p0, _p1, captures, LE_EXPR);
6238 : 57 : if (res) return res;
6239 : : }
6240 : : }
6241 : : break;
6242 : : }
6243 : 8660842 : default:;
6244 : : }
6245 : 8660842 : {
6246 : 8660842 : tree _p0_pops[1];
6247 : 8660842 : if (tree_nop_convert (_p0, _p0_pops))
6248 : : {
6249 : 777954 : tree _q20 = _p0_pops[0];
6250 : 777954 : switch (TREE_CODE (_q20))
6251 : : {
6252 : 1 : case LSHIFT_EXPR:
6253 : 1 : {
6254 : 1 : tree _q30 = TREE_OPERAND (_q20, 0);
6255 : 1 : tree _q31 = TREE_OPERAND (_q20, 1);
6256 : 1 : {
6257 : 1 : tree _p1_pops[1];
6258 : 1 : if (tree_nop_convert (_p1, _p1_pops))
6259 : : {
6260 : 0 : tree _q60 = _p1_pops[0];
6261 : 0 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
6262 : : {
6263 : 0 : {
6264 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
6265 : 0 : tree res = generic_simplify_367 (loc, type, _p0, _p1, captures, LE_EXPR);
6266 : 0 : if (res) return res;
6267 : : }
6268 : : }
6269 : : }
6270 : : }
6271 : 1 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
6272 : : {
6273 : 1 : {
6274 : 1 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
6275 : 1 : tree res = generic_simplify_367 (loc, type, _p0, _p1, captures, LE_EXPR);
6276 : 1 : if (res) return res;
6277 : : }
6278 : : }
6279 : : break;
6280 : : }
6281 : 777953 : default:;
6282 : : }
6283 : 777953 : switch (TREE_CODE (_p1))
6284 : : {
6285 : 0 : case LSHIFT_EXPR:
6286 : 0 : {
6287 : 0 : tree _q40 = TREE_OPERAND (_p1, 0);
6288 : 0 : tree _q41 = TREE_OPERAND (_p1, 1);
6289 : 0 : if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
6290 : : {
6291 : 0 : {
6292 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
6293 : 0 : tree res = generic_simplify_368 (loc, type, _p0, _p1, captures, GE_EXPR);
6294 : 0 : if (res) return res;
6295 : : }
6296 : : }
6297 : : break;
6298 : : }
6299 : 777953 : default:;
6300 : : }
6301 : 777953 : {
6302 : 777953 : tree _p1_pops[1];
6303 : 777953 : if (tree_nop_convert (_p1, _p1_pops))
6304 : : {
6305 : 33962 : tree _q40 = _p1_pops[0];
6306 : 33962 : switch (TREE_CODE (_q40))
6307 : : {
6308 : 0 : case LSHIFT_EXPR:
6309 : 0 : {
6310 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
6311 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
6312 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
6313 : : {
6314 : 0 : {
6315 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q50, _q20 };
6316 : 0 : tree res = generic_simplify_368 (loc, type, _p0, _p1, captures, GE_EXPR);
6317 : 0 : if (res) return res;
6318 : : }
6319 : : }
6320 : : break;
6321 : : }
6322 : : default:;
6323 : : }
6324 : : }
6325 : : }
6326 : : }
6327 : : }
6328 : 8660841 : switch (TREE_CODE (_p1))
6329 : : {
6330 : 1127 : case LSHIFT_EXPR:
6331 : 1127 : {
6332 : 1127 : tree _q30 = TREE_OPERAND (_p1, 0);
6333 : 1127 : tree _q31 = TREE_OPERAND (_p1, 1);
6334 : 1127 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
6335 : : {
6336 : 0 : {
6337 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
6338 : 0 : tree res = generic_simplify_368 (loc, type, _p0, _p1, captures, GE_EXPR);
6339 : 0 : if (res) return res;
6340 : : }
6341 : : }
6342 : : break;
6343 : : }
6344 : 7 : case TRUNC_MOD_EXPR:
6345 : 7 : {
6346 : 7 : tree _q30 = TREE_OPERAND (_p1, 0);
6347 : 7 : tree _q31 = TREE_OPERAND (_p1, 1);
6348 : 7 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
6349 : : {
6350 : 0 : {
6351 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
6352 : 0 : tree res = generic_simplify_369 (loc, type, _p0, _p1, captures, GE_EXPR);
6353 : 0 : if (res) return res;
6354 : : }
6355 : : }
6356 : : break;
6357 : : }
6358 : 8660841 : default:;
6359 : : }
6360 : 8660841 : {
6361 : 8660841 : tree _p1_pops[1];
6362 : 8660841 : if (tree_nop_convert (_p1, _p1_pops))
6363 : : {
6364 : 136742 : tree _q30 = _p1_pops[0];
6365 : 136742 : switch (TREE_CODE (_q30))
6366 : : {
6367 : 0 : case LSHIFT_EXPR:
6368 : 0 : {
6369 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
6370 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
6371 : 0 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
6372 : : {
6373 : 0 : {
6374 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q40, _p0 };
6375 : 0 : tree res = generic_simplify_368 (loc, type, _p0, _p1, captures, GE_EXPR);
6376 : 0 : if (res) return res;
6377 : : }
6378 : : }
6379 : : break;
6380 : : }
6381 : : default:;
6382 : : }
6383 : : }
6384 : : }
6385 : 8660841 : switch (TREE_CODE (_p0))
6386 : : {
6387 : 62103 : case MULT_EXPR:
6388 : 62103 : {
6389 : 62103 : tree _q20 = TREE_OPERAND (_p0, 0);
6390 : 62103 : tree _q21 = TREE_OPERAND (_p0, 1);
6391 : 62103 : switch (TREE_CODE (_p1))
6392 : : {
6393 : 2741 : case MULT_EXPR:
6394 : 2741 : {
6395 : 2741 : tree _q50 = TREE_OPERAND (_p1, 0);
6396 : 2741 : tree _q51 = TREE_OPERAND (_p1, 1);
6397 : 2741 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
6398 : : {
6399 : 1864 : {
6400 : 1864 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
6401 : 1864 : tree res = generic_simplify_370 (loc, type, _p0, _p1, captures, LE_EXPR);
6402 : 1864 : if (res) return res;
6403 : : }
6404 : : }
6405 : 1760 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
6406 : : {
6407 : 1 : {
6408 : 1 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
6409 : 1 : tree res = generic_simplify_370 (loc, type, _p0, _p1, captures, LE_EXPR);
6410 : 1 : if (res) return res;
6411 : : }
6412 : : }
6413 : 1760 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
6414 : : {
6415 : 4 : {
6416 : 4 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
6417 : 4 : tree res = generic_simplify_370 (loc, type, _p0, _p1, captures, LE_EXPR);
6418 : 4 : if (res) return res;
6419 : : }
6420 : : }
6421 : 1760 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
6422 : : {
6423 : 309 : {
6424 : 309 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
6425 : 309 : tree res = generic_simplify_370 (loc, type, _p0, _p1, captures, LE_EXPR);
6426 : 309 : if (res) return res;
6427 : : }
6428 : : }
6429 : : break;
6430 : : }
6431 : : default:;
6432 : : }
6433 : : break;
6434 : : }
6435 : 1598317 : case PLUS_EXPR:
6436 : 1598317 : {
6437 : 1598317 : tree _q20 = TREE_OPERAND (_p0, 0);
6438 : 1598317 : tree _q21 = TREE_OPERAND (_p0, 1);
6439 : 1598317 : if (integer_minus_onep (_q21))
6440 : : {
6441 : 530649 : switch (TREE_CODE (_p1))
6442 : : {
6443 : 327659 : case INTEGER_CST:
6444 : 327659 : {
6445 : 327659 : {
6446 : 327659 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
6447 : 327659 : tree res = generic_simplify_395 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
6448 : 327659 : if (res) return res;
6449 : : }
6450 : 327657 : break;
6451 : : }
6452 : : default:;
6453 : : }
6454 : : }
6455 : 1598315 : switch (TREE_CODE (_p1))
6456 : : {
6457 : 87081 : case PLUS_EXPR:
6458 : 87081 : {
6459 : 87081 : tree _q50 = TREE_OPERAND (_p1, 0);
6460 : 87081 : tree _q51 = TREE_OPERAND (_p1, 1);
6461 : 87081 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
6462 : : {
6463 : 6838 : {
6464 : 6838 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
6465 : 6838 : tree res = generic_simplify_371 (loc, type, _p0, _p1, captures, LE_EXPR);
6466 : 6838 : if (res) return res;
6467 : : }
6468 : : }
6469 : 83160 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
6470 : : {
6471 : 13 : {
6472 : 13 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
6473 : 13 : tree res = generic_simplify_371 (loc, type, _p0, _p1, captures, LE_EXPR);
6474 : 13 : if (res) return res;
6475 : : }
6476 : : }
6477 : 83160 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
6478 : : {
6479 : 207 : {
6480 : 207 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
6481 : 207 : tree res = generic_simplify_371 (loc, type, _p0, _p1, captures, LE_EXPR);
6482 : 207 : if (res) return res;
6483 : : }
6484 : : }
6485 : 83152 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
6486 : : {
6487 : 6836 : {
6488 : 6836 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
6489 : 6836 : tree res = generic_simplify_371 (loc, type, _p0, _p1, captures, LE_EXPR);
6490 : 6836 : if (res) return res;
6491 : : }
6492 : : }
6493 : : break;
6494 : : }
6495 : 1593908 : default:;
6496 : : }
6497 : 1593908 : switch (TREE_CODE (_q21))
6498 : : {
6499 : 1473207 : case INTEGER_CST:
6500 : 1473207 : {
6501 : 1473207 : switch (TREE_CODE (_p1))
6502 : : {
6503 : 80584 : case PLUS_EXPR:
6504 : 80584 : {
6505 : 80584 : tree _q50 = TREE_OPERAND (_p1, 0);
6506 : 80584 : tree _q51 = TREE_OPERAND (_p1, 1);
6507 : 80584 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
6508 : : {
6509 : 2859 : {
6510 : 2859 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
6511 : 2859 : tree res = generic_simplify_372 (loc, type, _p0, _p1, captures, LE_EXPR);
6512 : 2859 : if (res) return res;
6513 : : }
6514 : : }
6515 : : break;
6516 : : }
6517 : : default:;
6518 : : }
6519 : : break;
6520 : : }
6521 : 1593908 : default:;
6522 : : }
6523 : 1593908 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
6524 : : {
6525 : 74053 : {
6526 : 74053 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
6527 : 74053 : tree res = generic_simplify_373 (loc, type, _p0, _p1, captures, LE_EXPR);
6528 : 74053 : if (res) return res;
6529 : : }
6530 : : }
6531 : 1552006 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
6532 : : {
6533 : 3050 : {
6534 : 3050 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
6535 : 3050 : tree res = generic_simplify_373 (loc, type, _p0, _p1, captures, LE_EXPR);
6536 : 3050 : if (res) return res;
6537 : : }
6538 : : }
6539 : : break;
6540 : : }
6541 : 1450416 : CASE_CONVERT:
6542 : 1450416 : {
6543 : 1450416 : tree _q20 = TREE_OPERAND (_p0, 0);
6544 : 1450416 : switch (TREE_CODE (_q20))
6545 : : {
6546 : 0 : case EXACT_DIV_EXPR:
6547 : 0 : {
6548 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
6549 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
6550 : 0 : switch (TREE_CODE (_q31))
6551 : : {
6552 : 0 : case INTEGER_CST:
6553 : 0 : {
6554 : 0 : switch (TREE_CODE (_p1))
6555 : : {
6556 : 0 : CASE_CONVERT:
6557 : 0 : {
6558 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
6559 : 0 : switch (TREE_CODE (_q60))
6560 : : {
6561 : 0 : case EXACT_DIV_EXPR:
6562 : 0 : {
6563 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
6564 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
6565 : 0 : if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
6566 : : {
6567 : 0 : {
6568 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _q70 };
6569 : 0 : tree res = generic_simplify_209 (loc, type, _p0, _p1, captures, LE_EXPR);
6570 : 0 : if (res) return res;
6571 : : }
6572 : : }
6573 : : break;
6574 : : }
6575 : : default:;
6576 : : }
6577 : : break;
6578 : : }
6579 : : default:;
6580 : : }
6581 : : break;
6582 : : }
6583 : : default:;
6584 : : }
6585 : : break;
6586 : : }
6587 : : default:;
6588 : : }
6589 : : break;
6590 : : }
6591 : 444 : case EXACT_DIV_EXPR:
6592 : 444 : {
6593 : 444 : tree _q20 = TREE_OPERAND (_p0, 0);
6594 : 444 : tree _q21 = TREE_OPERAND (_p0, 1);
6595 : 444 : switch (TREE_CODE (_q21))
6596 : : {
6597 : 444 : case INTEGER_CST:
6598 : 444 : {
6599 : 444 : switch (TREE_CODE (_p1))
6600 : : {
6601 : 0 : case EXACT_DIV_EXPR:
6602 : 0 : {
6603 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
6604 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
6605 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
6606 : : {
6607 : 0 : {
6608 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50 };
6609 : 0 : tree res = generic_simplify_209 (loc, type, _p0, _p1, captures, LE_EXPR);
6610 : 0 : if (res) return res;
6611 : : }
6612 : : }
6613 : : break;
6614 : : }
6615 : : default:;
6616 : : }
6617 : : break;
6618 : : }
6619 : : default:;
6620 : : }
6621 : : break;
6622 : : }
6623 : 10765 : case TRUNC_DIV_EXPR:
6624 : 10765 : {
6625 : 10765 : tree _q20 = TREE_OPERAND (_p0, 0);
6626 : 10765 : tree _q21 = TREE_OPERAND (_p0, 1);
6627 : 10765 : switch (TREE_CODE (_q21))
6628 : : {
6629 : 2853 : case INTEGER_CST:
6630 : 2853 : {
6631 : 2853 : switch (TREE_CODE (_p1))
6632 : : {
6633 : 1391 : case INTEGER_CST:
6634 : 1391 : {
6635 : 1391 : {
6636 : 1391 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
6637 : 1391 : tree res = generic_simplify_211 (loc, type, _p0, _p1, captures, LE_EXPR);
6638 : 1391 : if (res) return res;
6639 : : }
6640 : 676 : break;
6641 : : }
6642 : : default:;
6643 : : }
6644 : : break;
6645 : : }
6646 : : default:;
6647 : : }
6648 : : break;
6649 : : }
6650 : 70561 : case MINUS_EXPR:
6651 : 70561 : {
6652 : 70561 : tree _q20 = TREE_OPERAND (_p0, 0);
6653 : 70561 : tree _q21 = TREE_OPERAND (_p0, 1);
6654 : 70561 : switch (TREE_CODE (_p1))
6655 : : {
6656 : 645 : case MINUS_EXPR:
6657 : 645 : {
6658 : 645 : tree _q50 = TREE_OPERAND (_p1, 0);
6659 : 645 : tree _q51 = TREE_OPERAND (_p1, 1);
6660 : 645 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
6661 : : {
6662 : 54 : {
6663 : 54 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
6664 : 54 : tree res = generic_simplify_374 (loc, type, _p0, _p1, captures, LE_EXPR);
6665 : 54 : if (res) return res;
6666 : : }
6667 : : }
6668 : 645 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
6669 : : {
6670 : 26 : {
6671 : 26 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
6672 : 26 : tree res = generic_simplify_375 (loc, type, _p0, _p1, captures, LE_EXPR);
6673 : 26 : if (res) return res;
6674 : : }
6675 : : }
6676 : : break;
6677 : : }
6678 : : default:;
6679 : : }
6680 : : break;
6681 : : }
6682 : 5625 : case POINTER_DIFF_EXPR:
6683 : 5625 : {
6684 : 5625 : tree _q20 = TREE_OPERAND (_p0, 0);
6685 : 5625 : tree _q21 = TREE_OPERAND (_p0, 1);
6686 : 5625 : switch (TREE_CODE (_p1))
6687 : : {
6688 : 312 : case POINTER_DIFF_EXPR:
6689 : 312 : {
6690 : 312 : tree _q50 = TREE_OPERAND (_p1, 0);
6691 : 312 : tree _q51 = TREE_OPERAND (_p1, 1);
6692 : 312 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
6693 : : {
6694 : 0 : {
6695 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50 };
6696 : 0 : tree res = generic_simplify_215 (loc, type, _p0, _p1, captures, LE_EXPR);
6697 : 0 : if (res) return res;
6698 : : }
6699 : : }
6700 : 312 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
6701 : : {
6702 : 0 : {
6703 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q51 };
6704 : 0 : tree res = generic_simplify_216 (loc, type, _p0, _p1, captures, LE_EXPR);
6705 : 0 : if (res) return res;
6706 : : }
6707 : : }
6708 : : break;
6709 : : }
6710 : : default:;
6711 : : }
6712 : : break;
6713 : : }
6714 : 8612514 : default:;
6715 : : }
6716 : 8612514 : switch (TREE_CODE (_p1))
6717 : : {
6718 : 119141 : case PLUS_EXPR:
6719 : 119141 : {
6720 : 119141 : tree _q30 = TREE_OPERAND (_p1, 0);
6721 : 119141 : tree _q31 = TREE_OPERAND (_p1, 1);
6722 : 119141 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
6723 : : {
6724 : 0 : {
6725 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
6726 : 0 : tree res = generic_simplify_373 (loc, type, _p0, _p1, captures, GE_EXPR);
6727 : 0 : if (res) return res;
6728 : : }
6729 : : }
6730 : 119141 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
6731 : : {
6732 : 57 : {
6733 : 57 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q31, _p0 };
6734 : 57 : tree res = generic_simplify_373 (loc, type, _p0, _p1, captures, GE_EXPR);
6735 : 57 : if (res) return res;
6736 : : }
6737 : : }
6738 : : break;
6739 : : }
6740 : 1334 : case MINUS_EXPR:
6741 : 1334 : {
6742 : 1334 : tree _q30 = TREE_OPERAND (_p1, 0);
6743 : 1334 : tree _q31 = TREE_OPERAND (_p1, 1);
6744 : 1334 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
6745 : : {
6746 : 0 : {
6747 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
6748 : 0 : tree res = generic_simplify_214 (loc, type, _p0, _p1, captures, LE_EXPR);
6749 : 0 : if (res) return res;
6750 : : }
6751 : : }
6752 : : break;
6753 : : }
6754 : 8612487 : default:;
6755 : : }
6756 : 8612487 : switch (TREE_CODE (_p0))
6757 : : {
6758 : 70561 : case MINUS_EXPR:
6759 : 70561 : {
6760 : 70561 : tree _q20 = TREE_OPERAND (_p0, 0);
6761 : 70561 : tree _q21 = TREE_OPERAND (_p0, 1);
6762 : 70561 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
6763 : : {
6764 : 2510 : {
6765 : 2510 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
6766 : 2510 : tree res = generic_simplify_214 (loc, type, _p0, _p1, captures, GE_EXPR);
6767 : 2510 : if (res) return res;
6768 : : }
6769 : : }
6770 : : break;
6771 : : }
6772 : 5260 : case BIT_AND_EXPR:
6773 : 5260 : {
6774 : 5260 : tree _q20 = TREE_OPERAND (_p0, 0);
6775 : 5260 : tree _q21 = TREE_OPERAND (_p0, 1);
6776 : 5260 : if (tree_expr_nonnegative_p (_q20))
6777 : : {
6778 : 4460 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
6779 : : {
6780 : 0 : {
6781 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
6782 : 0 : tree res = generic_simplify_376 (loc, type, _p0, _p1, captures, LE_EXPR, BIT_AND_EXPR);
6783 : 0 : if (res) return res;
6784 : : }
6785 : : }
6786 : : }
6787 : 5260 : if (tree_expr_nonnegative_p (_q21))
6788 : : {
6789 : 4870 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
6790 : : {
6791 : 0 : {
6792 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
6793 : 0 : tree res = generic_simplify_376 (loc, type, _p0, _p1, captures, LE_EXPR, BIT_AND_EXPR);
6794 : 0 : if (res) return res;
6795 : : }
6796 : : }
6797 : : }
6798 : : break;
6799 : : }
6800 : 8612487 : default:;
6801 : : }
6802 : 8612487 : switch (TREE_CODE (_p1))
6803 : : {
6804 : 81 : case BIT_IOR_EXPR:
6805 : 81 : {
6806 : 81 : tree _q30 = TREE_OPERAND (_p1, 0);
6807 : 81 : tree _q31 = TREE_OPERAND (_p1, 1);
6808 : 81 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
6809 : : {
6810 : 0 : if (tree_expr_nonnegative_p (_q30))
6811 : : {
6812 : 0 : {
6813 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
6814 : 0 : tree res = generic_simplify_376 (loc, type, _p0, _p1, captures, GE_EXPR, BIT_IOR_EXPR);
6815 : 0 : if (res) return res;
6816 : : }
6817 : : }
6818 : : }
6819 : 81 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
6820 : : {
6821 : 0 : if (tree_expr_nonnegative_p (_q31))
6822 : : {
6823 : 0 : {
6824 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
6825 : 0 : tree res = generic_simplify_376 (loc, type, _p0, _p1, captures, GE_EXPR, BIT_IOR_EXPR);
6826 : 0 : if (res) return res;
6827 : : }
6828 : : }
6829 : : }
6830 : : break;
6831 : : }
6832 : 8612487 : default:;
6833 : : }
6834 : 8612487 : switch (TREE_CODE (_p0))
6835 : : {
6836 : 4286 : case MAX_EXPR:
6837 : 4286 : {
6838 : 4286 : tree _q20 = TREE_OPERAND (_p0, 0);
6839 : 4286 : tree _q21 = TREE_OPERAND (_p0, 1);
6840 : 4286 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
6841 : : {
6842 : 0 : {
6843 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
6844 : 0 : tree res = generic_simplify_224 (loc, type, _p0, _p1, captures, MAX_EXPR, LE_EXPR, GE_EXPR);
6845 : 0 : if (res) return res;
6846 : : }
6847 : : }
6848 : 4286 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
6849 : : {
6850 : 1 : {
6851 : 1 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
6852 : 1 : tree res = generic_simplify_224 (loc, type, _p0, _p1, captures, MAX_EXPR, LE_EXPR, GE_EXPR);
6853 : 1 : if (res) return res;
6854 : : }
6855 : : }
6856 : 4285 : switch (TREE_CODE (_q21))
6857 : : {
6858 : 4044 : case INTEGER_CST:
6859 : 4044 : {
6860 : 4044 : switch (TREE_CODE (_p1))
6861 : : {
6862 : 0 : case INTEGER_CST:
6863 : 0 : {
6864 : 0 : {
6865 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
6866 : 0 : tree res = generic_simplify_377 (loc, type, _p0, _p1, captures, MAX_EXPR, LE_EXPR, BIT_AND_EXPR);
6867 : 0 : if (res) return res;
6868 : : }
6869 : 0 : break;
6870 : : }
6871 : : default:;
6872 : : }
6873 : : break;
6874 : : }
6875 : : default:;
6876 : : }
6877 : : break;
6878 : : }
6879 : 8612486 : default:;
6880 : : }
6881 : 8612486 : switch (TREE_CODE (_p1))
6882 : : {
6883 : 276 : case MIN_EXPR:
6884 : 276 : {
6885 : 276 : tree _q30 = TREE_OPERAND (_p1, 0);
6886 : 276 : tree _q31 = TREE_OPERAND (_p1, 1);
6887 : 276 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
6888 : : {
6889 : 0 : {
6890 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
6891 : 0 : tree res = generic_simplify_224 (loc, type, _p0, _p1, captures, MIN_EXPR, GE_EXPR, LE_EXPR);
6892 : 0 : if (res) return res;
6893 : : }
6894 : : }
6895 : 276 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
6896 : : {
6897 : 0 : {
6898 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
6899 : 0 : tree res = generic_simplify_224 (loc, type, _p0, _p1, captures, MIN_EXPR, GE_EXPR, LE_EXPR);
6900 : 0 : if (res) return res;
6901 : : }
6902 : : }
6903 : : break;
6904 : : }
6905 : 113 : case MAX_EXPR:
6906 : 113 : {
6907 : 113 : tree _q30 = TREE_OPERAND (_p1, 0);
6908 : 113 : tree _q31 = TREE_OPERAND (_p1, 1);
6909 : 113 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
6910 : : {
6911 : 0 : {
6912 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
6913 : 0 : tree res = generic_simplify_378 (loc, type, _p0, _p1, captures, MAX_EXPR, LE_EXPR);
6914 : 0 : if (res) return res;
6915 : : }
6916 : : }
6917 : 113 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
6918 : : {
6919 : 0 : {
6920 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
6921 : 0 : tree res = generic_simplify_378 (loc, type, _p0, _p1, captures, MAX_EXPR, LE_EXPR);
6922 : 0 : if (res) return res;
6923 : : }
6924 : : }
6925 : : break;
6926 : : }
6927 : 8612486 : default:;
6928 : : }
6929 : 8612486 : switch (TREE_CODE (_p0))
6930 : : {
6931 : 11657 : case MIN_EXPR:
6932 : 11657 : {
6933 : 11657 : tree _q20 = TREE_OPERAND (_p0, 0);
6934 : 11657 : tree _q21 = TREE_OPERAND (_p0, 1);
6935 : 11657 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
6936 : : {
6937 : 0 : {
6938 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
6939 : 0 : tree res = generic_simplify_378 (loc, type, _p0, _p1, captures, MIN_EXPR, GE_EXPR);
6940 : 0 : if (res) return res;
6941 : : }
6942 : : }
6943 : 11657 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
6944 : : {
6945 : 0 : {
6946 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
6947 : 0 : tree res = generic_simplify_378 (loc, type, _p0, _p1, captures, MIN_EXPR, GE_EXPR);
6948 : 0 : if (res) return res;
6949 : : }
6950 : : }
6951 : 11657 : switch (TREE_CODE (_q21))
6952 : : {
6953 : 793 : case INTEGER_CST:
6954 : 793 : {
6955 : 793 : switch (TREE_CODE (_p1))
6956 : : {
6957 : 0 : case INTEGER_CST:
6958 : 0 : {
6959 : 0 : {
6960 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
6961 : 0 : tree res = generic_simplify_377 (loc, type, _p0, _p1, captures, MIN_EXPR, LE_EXPR, BIT_IOR_EXPR);
6962 : 0 : if (res) return res;
6963 : : }
6964 : 0 : break;
6965 : : }
6966 : : default:;
6967 : : }
6968 : : break;
6969 : : }
6970 : : default:;
6971 : : }
6972 : : break;
6973 : : }
6974 : 9 : case VEC_COND_EXPR:
6975 : 9 : {
6976 : 9 : tree _q20 = TREE_OPERAND (_p0, 0);
6977 : 9 : tree _q21 = TREE_OPERAND (_p0, 1);
6978 : 9 : tree _q22 = TREE_OPERAND (_p0, 2);
6979 : 9 : switch (TREE_CODE (_p1))
6980 : : {
6981 : 2 : case VEC_COND_EXPR:
6982 : 2 : {
6983 : 2 : tree _q60 = TREE_OPERAND (_p1, 0);
6984 : 2 : tree _q61 = TREE_OPERAND (_p1, 1);
6985 : 2 : tree _q62 = TREE_OPERAND (_p1, 2);
6986 : 2 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
6987 : : {
6988 : 0 : {
6989 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
6990 : 0 : if (VECTOR_TYPE_P (type)
6991 : 0 : && (TREE_CODE_CLASS (LE_EXPR) != tcc_comparison
6992 : 0 : || types_match (type, TREE_TYPE (captures[2]))
6993 : 0 : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
6994 : : || (optimize_vectors_before_lowering_p ()
6995 : 0 : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
6996 : : )
6997 : : {
6998 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1773;
6999 : 0 : {
7000 : 0 : tree res_op0;
7001 : 0 : res_op0 = captures[1];
7002 : 0 : tree res_op1;
7003 : 0 : {
7004 : 0 : tree _o1[2], _r1;
7005 : 0 : _o1[0] = captures[2];
7006 : 0 : _o1[1] = captures[5];
7007 : 0 : _r1 = fold_build2_loc (loc, LE_EXPR, type, _o1[0], _o1[1]);
7008 : 0 : if (EXPR_P (_r1))
7009 : 0 : goto next_after_fail1773;
7010 : 0 : res_op1 = _r1;
7011 : : }
7012 : 0 : tree res_op2;
7013 : 0 : {
7014 : 0 : tree _o1[2], _r1;
7015 : 0 : _o1[0] = captures[3];
7016 : 0 : _o1[1] = captures[6];
7017 : 0 : _r1 = fold_build2_loc (loc, LE_EXPR, type, _o1[0], _o1[1]);
7018 : 0 : if (EXPR_P (_r1))
7019 : 0 : goto next_after_fail1773;
7020 : 0 : res_op2 = _r1;
7021 : : }
7022 : 0 : tree _r;
7023 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
7024 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 919, __FILE__, __LINE__, true);
7025 : 0 : return _r;
7026 : : }
7027 : 0 : next_after_fail1773:;
7028 : : }
7029 : : }
7030 : : }
7031 : : break;
7032 : : }
7033 : 9 : default:;
7034 : : }
7035 : 9 : {
7036 : 9 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
7037 : 9 : if (VECTOR_TYPE_P (type)
7038 : 9 : && (TREE_CODE_CLASS (LE_EXPR) != tcc_comparison
7039 : 9 : || types_match (type, TREE_TYPE (captures[2]))
7040 : 9 : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
7041 : : || (optimize_vectors_before_lowering_p ()
7042 : 1 : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
7043 : : )
7044 : : {
7045 : 9 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1774;
7046 : 9 : {
7047 : 9 : if (! tree_invariant_p (captures[4])) goto next_after_fail1774;
7048 : 7 : tree res_op0;
7049 : 7 : res_op0 = captures[1];
7050 : 7 : tree res_op1;
7051 : 7 : {
7052 : 7 : tree _o1[2], _r1;
7053 : 7 : _o1[0] = captures[2];
7054 : 7 : _o1[1] = unshare_expr (captures[4]);
7055 : 7 : _r1 = fold_build2_loc (loc, LE_EXPR, type, _o1[0], _o1[1]);
7056 : 7 : if (EXPR_P (_r1))
7057 : 0 : goto next_after_fail1774;
7058 : 7 : res_op1 = _r1;
7059 : : }
7060 : 7 : tree res_op2;
7061 : 7 : {
7062 : 7 : tree _o1[2], _r1;
7063 : 7 : _o1[0] = captures[3];
7064 : 7 : _o1[1] = captures[4];
7065 : 7 : _r1 = fold_build2_loc (loc, LE_EXPR, type, _o1[0], _o1[1]);
7066 : 7 : if (EXPR_P (_r1))
7067 : 0 : goto next_after_fail1774;
7068 : 7 : res_op2 = _r1;
7069 : : }
7070 : 7 : tree _r;
7071 : 7 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
7072 : 7 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 920, __FILE__, __LINE__, true);
7073 : 7 : return _r;
7074 : : }
7075 : 2 : next_after_fail1774:;
7076 : : }
7077 : : }
7078 : 2 : break;
7079 : : }
7080 : 8612479 : default:;
7081 : : }
7082 : 8612479 : switch (TREE_CODE (_p1))
7083 : : {
7084 : 2 : case VEC_COND_EXPR:
7085 : 2 : {
7086 : 2 : tree _q30 = TREE_OPERAND (_p1, 0);
7087 : 2 : tree _q31 = TREE_OPERAND (_p1, 1);
7088 : 2 : tree _q32 = TREE_OPERAND (_p1, 2);
7089 : 2 : {
7090 : 2 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
7091 : 2 : if (VECTOR_TYPE_P (type)
7092 : 2 : && (TREE_CODE_CLASS (LE_EXPR) != tcc_comparison
7093 : 2 : || types_match (type, TREE_TYPE (captures[3]))
7094 : 2 : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
7095 : : || (optimize_vectors_before_lowering_p ()
7096 : 1 : && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
7097 : : )
7098 : : {
7099 : 2 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1775;
7100 : 2 : {
7101 : 2 : if (! tree_invariant_p (captures[0])) goto next_after_fail1775;
7102 : 0 : tree res_op0;
7103 : 0 : res_op0 = captures[2];
7104 : 0 : tree res_op1;
7105 : 0 : {
7106 : 0 : tree _o1[2], _r1;
7107 : 0 : _o1[0] = unshare_expr (captures[0]);
7108 : 0 : _o1[1] = captures[3];
7109 : 0 : _r1 = fold_build2_loc (loc, LE_EXPR, type, _o1[0], _o1[1]);
7110 : 0 : if (EXPR_P (_r1))
7111 : 0 : goto next_after_fail1775;
7112 : 0 : res_op1 = _r1;
7113 : : }
7114 : 0 : tree res_op2;
7115 : 0 : {
7116 : 0 : tree _o1[2], _r1;
7117 : 0 : _o1[0] = captures[0];
7118 : 0 : _o1[1] = captures[4];
7119 : 0 : _r1 = fold_build2_loc (loc, LE_EXPR, type, _o1[0], _o1[1]);
7120 : 0 : if (EXPR_P (_r1))
7121 : 0 : goto next_after_fail1775;
7122 : 0 : res_op2 = _r1;
7123 : : }
7124 : 0 : tree _r;
7125 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
7126 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 921, __FILE__, __LINE__, true);
7127 : 0 : return _r;
7128 : : }
7129 : 2 : next_after_fail1775:;
7130 : : }
7131 : : }
7132 : 2 : break;
7133 : : }
7134 : 8612479 : default:;
7135 : : }
7136 : 8612479 : if (uniform_integer_cst_p (_p1))
7137 : : {
7138 : 6272252 : {
7139 : 6272252 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
7140 : 6272252 : tree res = generic_simplify_396 (loc, type, _p0, _p1, captures, LE_EXPR, LT_EXPR);
7141 : 6272252 : if (res) return res;
7142 : : }
7143 : : }
7144 : 8518406 : switch (TREE_CODE (_p0))
7145 : : {
7146 : 60691 : case MULT_EXPR:
7147 : 60691 : {
7148 : 60691 : tree _q20 = TREE_OPERAND (_p0, 0);
7149 : 60691 : tree _q21 = TREE_OPERAND (_p0, 1);
7150 : 60691 : switch (TREE_CODE (_q21))
7151 : : {
7152 : 53546 : case INTEGER_CST:
7153 : 53546 : {
7154 : 53546 : if (integer_zerop (_p1))
7155 : : {
7156 : 958 : {
7157 : 958 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
7158 : 958 : tree res = generic_simplify_244 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR);
7159 : 958 : if (res) return res;
7160 : : }
7161 : : }
7162 : : break;
7163 : : }
7164 : : default:;
7165 : : }
7166 : : break;
7167 : : }
7168 : 8517657 : default:;
7169 : : }
7170 : 8517657 : if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
7171 : : {
7172 : 5201 : {
7173 : 5201 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
7174 : 5201 : tree res = generic_simplify_246 (loc, type, _p0, _p1, captures, LE_EXPR);
7175 : 5201 : if (res) return res;
7176 : : }
7177 : : }
7178 : 8512498 : switch (TREE_CODE (_p0))
7179 : : {
7180 : 2259 : case BIT_NOT_EXPR:
7181 : 2259 : {
7182 : 2259 : tree _q20 = TREE_OPERAND (_p0, 0);
7183 : 2259 : switch (TREE_CODE (_p1))
7184 : : {
7185 : 0 : case BIT_NOT_EXPR:
7186 : 0 : {
7187 : 0 : tree _q40 = TREE_OPERAND (_p1, 0);
7188 : 0 : {
7189 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _p1, _q40 };
7190 : 0 : tree res = generic_simplify_250 (loc, type, _p0, _p1, captures, LE_EXPR);
7191 : 0 : if (res) return res;
7192 : : }
7193 : 0 : break;
7194 : : }
7195 : 2259 : default:;
7196 : : }
7197 : 2259 : {
7198 : 2259 : tree _p1_pops[1];
7199 : 2259 : if (tree_nop_convert (_p1, _p1_pops))
7200 : : {
7201 : 1 : tree _q40 = _p1_pops[0];
7202 : 1 : switch (TREE_CODE (_q40))
7203 : : {
7204 : 0 : case BIT_NOT_EXPR:
7205 : 0 : {
7206 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
7207 : 0 : {
7208 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q40, _q50 };
7209 : 0 : tree res = generic_simplify_250 (loc, type, _p0, _p1, captures, LE_EXPR);
7210 : 0 : if (res) return res;
7211 : : }
7212 : 0 : break;
7213 : : }
7214 : : default:;
7215 : : }
7216 : : }
7217 : : }
7218 : 2259 : if (CONSTANT_CLASS_P (_p1))
7219 : : {
7220 : 2255 : {
7221 : 2255 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
7222 : 2255 : tree res = generic_simplify_249 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR);
7223 : 2255 : if (res) return res;
7224 : : }
7225 : : }
7226 : : break;
7227 : : }
7228 : 8510243 : default:;
7229 : : }
7230 : 8510243 : {
7231 : 8510243 : tree _p0_pops[1];
7232 : 8510243 : if (tree_nop_convert (_p0, _p0_pops))
7233 : : {
7234 : 775661 : tree _q20 = _p0_pops[0];
7235 : 775661 : switch (TREE_CODE (_q20))
7236 : : {
7237 : 0 : case BIT_NOT_EXPR:
7238 : 0 : {
7239 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7240 : 0 : switch (TREE_CODE (_p1))
7241 : : {
7242 : 0 : case BIT_NOT_EXPR:
7243 : 0 : {
7244 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
7245 : 0 : {
7246 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _p1, _q50 };
7247 : 0 : tree res = generic_simplify_248 (loc, type, _p0, _p1, captures, LE_EXPR);
7248 : 0 : if (res) return res;
7249 : : }
7250 : 0 : break;
7251 : : }
7252 : 0 : default:;
7253 : : }
7254 : 0 : {
7255 : 0 : tree _p1_pops[1];
7256 : 0 : if (tree_nop_convert (_p1, _p1_pops))
7257 : : {
7258 : 0 : tree _q50 = _p1_pops[0];
7259 : 0 : switch (TREE_CODE (_q50))
7260 : : {
7261 : 0 : case BIT_NOT_EXPR:
7262 : 0 : {
7263 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
7264 : 0 : {
7265 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q50, _q60 };
7266 : 0 : tree res = generic_simplify_248 (loc, type, _p0, _p1, captures, LE_EXPR);
7267 : 0 : if (res) return res;
7268 : : }
7269 : 0 : break;
7270 : : }
7271 : : default:;
7272 : : }
7273 : : }
7274 : : }
7275 : 0 : if (CONSTANT_CLASS_P (_p1))
7276 : : {
7277 : 0 : {
7278 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _p1 };
7279 : 0 : tree res = generic_simplify_249 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR);
7280 : 0 : if (res) return res;
7281 : : }
7282 : : }
7283 : : break;
7284 : : }
7285 : : default:;
7286 : : }
7287 : : }
7288 : : }
7289 : 8510243 : switch (TREE_CODE (_p1))
7290 : : {
7291 : 142050 : case REAL_CST:
7292 : 142050 : {
7293 : 142050 : {
7294 : 142050 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
7295 : 142050 : tree res = generic_simplify_251 (loc, type, _p0, _p1, captures, LE_EXPR);
7296 : 142050 : if (res) return res;
7297 : : }
7298 : 141974 : break;
7299 : : }
7300 : 8510167 : default:;
7301 : : }
7302 : 8510167 : switch (TREE_CODE (_p0))
7303 : : {
7304 : 1550367 : case PLUS_EXPR:
7305 : 1550367 : {
7306 : 1550367 : tree _q20 = TREE_OPERAND (_p0, 0);
7307 : 1550367 : tree _q21 = TREE_OPERAND (_p0, 1);
7308 : 1550367 : switch (TREE_CODE (_q21))
7309 : : {
7310 : 80 : case REAL_CST:
7311 : 80 : {
7312 : 80 : switch (TREE_CODE (_p1))
7313 : : {
7314 : 75 : case REAL_CST:
7315 : 75 : {
7316 : 75 : {
7317 : 75 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
7318 : 75 : tree res = generic_simplify_252 (loc, type, _p0, _p1, captures, PLUS_EXPR, LE_EXPR);
7319 : 75 : if (res) return res;
7320 : : }
7321 : 75 : break;
7322 : : }
7323 : : default:;
7324 : : }
7325 : : break;
7326 : : }
7327 : 1450500 : case INTEGER_CST:
7328 : 1450500 : {
7329 : 1450500 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
7330 : : {
7331 : 1972 : {
7332 : 1972 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q20, _q21 };
7333 : 1972 : tree res = generic_simplify_380 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
7334 : 1972 : if (res) return res;
7335 : : }
7336 : : }
7337 : : break;
7338 : : }
7339 : : default:;
7340 : : }
7341 : : break;
7342 : : }
7343 : 65345 : case MINUS_EXPR:
7344 : 65345 : {
7345 : 65345 : tree _q20 = TREE_OPERAND (_p0, 0);
7346 : 65345 : tree _q21 = TREE_OPERAND (_p0, 1);
7347 : 65345 : switch (TREE_CODE (_q21))
7348 : : {
7349 : 1225 : case REAL_CST:
7350 : 1225 : {
7351 : 1225 : switch (TREE_CODE (_p1))
7352 : : {
7353 : 1202 : case REAL_CST:
7354 : 1202 : {
7355 : 1202 : {
7356 : 1202 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
7357 : 1202 : tree res = generic_simplify_252 (loc, type, _p0, _p1, captures, MINUS_EXPR, LE_EXPR);
7358 : 1202 : if (res) return res;
7359 : : }
7360 : 1202 : break;
7361 : : }
7362 : : default:;
7363 : : }
7364 : : break;
7365 : : }
7366 : 65345 : default:;
7367 : : }
7368 : 65345 : switch (TREE_CODE (_q20))
7369 : : {
7370 : 2 : case REAL_CST:
7371 : 2 : {
7372 : 2 : switch (TREE_CODE (_p1))
7373 : : {
7374 : 0 : case REAL_CST:
7375 : 0 : {
7376 : 0 : {
7377 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
7378 : 0 : tree res = generic_simplify_253 (loc, type, _p0, _p1, captures, LE_EXPR);
7379 : 0 : if (res) return res;
7380 : : }
7381 : 0 : break;
7382 : : }
7383 : : default:;
7384 : : }
7385 : : break;
7386 : : }
7387 : : default:;
7388 : : }
7389 : : break;
7390 : : }
7391 : 12461 : case FLOAT_EXPR:
7392 : 12461 : {
7393 : 12461 : tree _q20 = TREE_OPERAND (_p0, 0);
7394 : 12461 : switch (TREE_CODE (_p1))
7395 : : {
7396 : 0 : case FLOAT_EXPR:
7397 : 0 : {
7398 : 0 : tree _q40 = TREE_OPERAND (_p1, 0);
7399 : 0 : {
7400 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
7401 : 0 : tree res = generic_simplify_256 (loc, type, _p0, _p1, captures, LE_EXPR, LE_EXPR);
7402 : 0 : if (res) return res;
7403 : : }
7404 : 0 : break;
7405 : : }
7406 : 235 : case REAL_CST:
7407 : 235 : {
7408 : 235 : {
7409 : 235 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
7410 : 235 : tree res = generic_simplify_257 (loc, type, _p0, _p1, captures, LE_EXPR, LE_EXPR);
7411 : 235 : if (res) return res;
7412 : : }
7413 : 156 : break;
7414 : : }
7415 : : default:;
7416 : : }
7417 : : break;
7418 : : }
7419 : 444 : case EXACT_DIV_EXPR:
7420 : 444 : {
7421 : 444 : tree _q20 = TREE_OPERAND (_p0, 0);
7422 : 444 : tree _q21 = TREE_OPERAND (_p0, 1);
7423 : 444 : switch (TREE_CODE (_q21))
7424 : : {
7425 : 444 : case INTEGER_CST:
7426 : 444 : {
7427 : 444 : switch (TREE_CODE (_p1))
7428 : : {
7429 : 349 : case INTEGER_CST:
7430 : 349 : {
7431 : 349 : {
7432 : 349 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
7433 : 349 : tree res = generic_simplify_381 (loc, type, _p0, _p1, captures, LE_EXPR);
7434 : 349 : if (res) return res;
7435 : : }
7436 : 0 : break;
7437 : : }
7438 : : default:;
7439 : : }
7440 : : break;
7441 : : }
7442 : : default:;
7443 : : }
7444 : : break;
7445 : : }
7446 : 1447222 : CASE_CONVERT:
7447 : 1447222 : {
7448 : 1447222 : tree _q20 = TREE_OPERAND (_p0, 0);
7449 : 1447222 : switch (TREE_CODE (_q20))
7450 : : {
7451 : 0 : case EXACT_DIV_EXPR:
7452 : 0 : {
7453 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7454 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7455 : 0 : switch (TREE_CODE (_q31))
7456 : : {
7457 : 0 : case INTEGER_CST:
7458 : 0 : {
7459 : 0 : switch (TREE_CODE (_p1))
7460 : : {
7461 : 0 : case INTEGER_CST:
7462 : 0 : {
7463 : 0 : {
7464 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
7465 : 0 : tree res = generic_simplify_382 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR);
7466 : 0 : if (res) return res;
7467 : : }
7468 : 0 : break;
7469 : : }
7470 : : default:;
7471 : : }
7472 : : break;
7473 : : }
7474 : : default:;
7475 : : }
7476 : : break;
7477 : : }
7478 : 1447222 : default:;
7479 : : }
7480 : 1447222 : switch (TREE_CODE (_p1))
7481 : : {
7482 : 56597 : CASE_CONVERT:
7483 : 56597 : {
7484 : 56597 : tree _q40 = TREE_OPERAND (_p1, 0);
7485 : 56597 : {
7486 : 56597 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
7487 : 56597 : tree res = generic_simplify_261 (loc, type, _p0, _p1, captures, LE_EXPR);
7488 : 56597 : if (res) return res;
7489 : : }
7490 : 28368 : break;
7491 : : }
7492 : 1418993 : default:;
7493 : : }
7494 : 1418993 : {
7495 : 1418993 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
7496 : 1418993 : tree res = generic_simplify_262 (loc, type, _p0, _p1, captures, LE_EXPR);
7497 : 1418993 : if (res) return res;
7498 : : }
7499 : 900057 : switch (TREE_CODE (_q20))
7500 : : {
7501 : 5130 : case ADDR_EXPR:
7502 : 5130 : {
7503 : 5130 : switch (TREE_CODE (_p1))
7504 : : {
7505 : 4823 : CASE_CONVERT:
7506 : 4823 : {
7507 : 4823 : tree _q40 = TREE_OPERAND (_p1, 0);
7508 : 4823 : switch (TREE_CODE (_q40))
7509 : : {
7510 : 4823 : case ADDR_EXPR:
7511 : 4823 : {
7512 : 4823 : {
7513 : 4823 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
7514 : 4823 : tree res = generic_simplify_279 (loc, type, _p0, _p1, captures, LE_EXPR);
7515 : 4823 : if (res) return res;
7516 : : }
7517 : 160 : break;
7518 : : }
7519 : : default:;
7520 : : }
7521 : : break;
7522 : : }
7523 : 0 : case ADDR_EXPR:
7524 : 0 : {
7525 : 0 : {
7526 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
7527 : 0 : tree res = generic_simplify_279 (loc, type, _p0, _p1, captures, LE_EXPR);
7528 : 0 : if (res) return res;
7529 : : }
7530 : 0 : break;
7531 : : }
7532 : : default:;
7533 : : }
7534 : : break;
7535 : : }
7536 : 895394 : default:;
7537 : : }
7538 : 895394 : if (uniform_integer_cst_p (_p1))
7539 : : {
7540 : 444994 : {
7541 : 444994 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
7542 : 444994 : tree res = generic_simplify_383 (loc, type, _p0, _p1, captures, LE_EXPR);
7543 : 444994 : if (res) return res;
7544 : : }
7545 : : }
7546 : : break;
7547 : : }
7548 : 5260 : case BIT_AND_EXPR:
7549 : 5260 : {
7550 : 5260 : tree _q20 = TREE_OPERAND (_p0, 0);
7551 : 5260 : tree _q21 = TREE_OPERAND (_p0, 1);
7552 : 5260 : switch (TREE_CODE (_q21))
7553 : : {
7554 : 4781 : case INTEGER_CST:
7555 : 4781 : {
7556 : 4781 : switch (TREE_CODE (_p1))
7557 : : {
7558 : 2714 : case INTEGER_CST:
7559 : 2714 : {
7560 : 2714 : {
7561 : 2714 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
7562 : 2714 : tree res = generic_simplify_397 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
7563 : 2714 : if (res) return res;
7564 : : }
7565 : 2667 : break;
7566 : : }
7567 : : default:;
7568 : : }
7569 : : break;
7570 : : }
7571 : : default:;
7572 : : }
7573 : : break;
7574 : : }
7575 : 6592 : case NEGATE_EXPR:
7576 : 6592 : {
7577 : 6592 : tree _q20 = TREE_OPERAND (_p0, 0);
7578 : 6592 : switch (TREE_CODE (_p1))
7579 : : {
7580 : 32 : case NEGATE_EXPR:
7581 : 32 : {
7582 : 32 : tree _q40 = TREE_OPERAND (_p1, 0);
7583 : 32 : {
7584 : 32 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
7585 : 32 : tree res = generic_simplify_259 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR);
7586 : 32 : if (res) return res;
7587 : : }
7588 : 32 : break;
7589 : : }
7590 : 6592 : default:;
7591 : : }
7592 : 6592 : if (CONSTANT_CLASS_P (_p1))
7593 : : {
7594 : 468 : {
7595 : 468 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
7596 : 468 : tree res = generic_simplify_260 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR);
7597 : 468 : if (res) return res;
7598 : : }
7599 : : }
7600 : : break;
7601 : : }
7602 : 1764 : case ADDR_EXPR:
7603 : 1764 : {
7604 : 1764 : switch (TREE_CODE (_p1))
7605 : : {
7606 : 34 : CASE_CONVERT:
7607 : 34 : {
7608 : 34 : tree _q30 = TREE_OPERAND (_p1, 0);
7609 : 34 : switch (TREE_CODE (_q30))
7610 : : {
7611 : 34 : case ADDR_EXPR:
7612 : 34 : {
7613 : 34 : {
7614 : 34 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q30 };
7615 : 34 : tree res = generic_simplify_280 (loc, type, _p0, _p1, captures, LE_EXPR);
7616 : 34 : if (res) return res;
7617 : : }
7618 : 0 : break;
7619 : : }
7620 : : default:;
7621 : : }
7622 : : break;
7623 : : }
7624 : 509 : case ADDR_EXPR:
7625 : 509 : {
7626 : 509 : {
7627 : 509 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _p1 };
7628 : 509 : tree res = generic_simplify_280 (loc, type, _p0, _p1, captures, LE_EXPR);
7629 : 509 : if (res) return res;
7630 : : }
7631 : 320 : break;
7632 : : }
7633 : : default:;
7634 : : }
7635 : : break;
7636 : : }
7637 : 66567 : case CALL_EXPR:
7638 : 66567 : switch (get_call_combined_fn (_p0))
7639 : : {
7640 : 2 : case CFN_BUILT_IN_SQRTF:
7641 : 2 : if (call_expr_nargs (_p0) == 1)
7642 : : {
7643 : 2 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
7644 : 2 : switch (TREE_CODE (_p1))
7645 : : {
7646 : 2 : case REAL_CST:
7647 : 2 : {
7648 : 2 : {
7649 : 2 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
7650 : 2 : tree res = generic_simplify_254 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF, LE_EXPR);
7651 : 2 : if (res) return res;
7652 : : }
7653 : 0 : break;
7654 : : }
7655 : 0 : case CALL_EXPR:
7656 : 0 : switch (get_call_combined_fn (_p1))
7657 : : {
7658 : 0 : case CFN_BUILT_IN_SQRTF:
7659 : 0 : if (call_expr_nargs (_p1) == 1)
7660 : : {
7661 : 0 : tree _q40 = CALL_EXPR_ARG (_p1, 0);
7662 : 0 : {
7663 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
7664 : 0 : tree res = generic_simplify_255 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF, LE_EXPR);
7665 : 0 : if (res) return res;
7666 : : }
7667 : : }
7668 : : break;
7669 : : default:;
7670 : : }
7671 : : break;
7672 : : default:;
7673 : : }
7674 : : }
7675 : : break;
7676 : 0 : case CFN_BUILT_IN_SQRTL:
7677 : 0 : if (call_expr_nargs (_p0) == 1)
7678 : : {
7679 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
7680 : 0 : switch (TREE_CODE (_p1))
7681 : : {
7682 : 0 : case REAL_CST:
7683 : 0 : {
7684 : 0 : {
7685 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
7686 : 0 : tree res = generic_simplify_254 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTL, LE_EXPR);
7687 : 0 : if (res) return res;
7688 : : }
7689 : 0 : break;
7690 : : }
7691 : 0 : case CALL_EXPR:
7692 : 0 : switch (get_call_combined_fn (_p1))
7693 : : {
7694 : 0 : case CFN_BUILT_IN_SQRTL:
7695 : 0 : if (call_expr_nargs (_p1) == 1)
7696 : : {
7697 : 0 : tree _q40 = CALL_EXPR_ARG (_p1, 0);
7698 : 0 : {
7699 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
7700 : 0 : tree res = generic_simplify_255 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTL, LE_EXPR);
7701 : 0 : if (res) return res;
7702 : : }
7703 : : }
7704 : : break;
7705 : : default:;
7706 : : }
7707 : : break;
7708 : : default:;
7709 : : }
7710 : : }
7711 : : break;
7712 : 2 : case CFN_BUILT_IN_SQRT:
7713 : 2 : if (call_expr_nargs (_p0) == 1)
7714 : : {
7715 : 2 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
7716 : 2 : switch (TREE_CODE (_p1))
7717 : : {
7718 : 2 : case REAL_CST:
7719 : 2 : {
7720 : 2 : {
7721 : 2 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
7722 : 2 : tree res = generic_simplify_254 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRT, LE_EXPR);
7723 : 2 : if (res) return res;
7724 : : }
7725 : 2 : break;
7726 : : }
7727 : 0 : case CALL_EXPR:
7728 : 0 : switch (get_call_combined_fn (_p1))
7729 : : {
7730 : 0 : case CFN_BUILT_IN_SQRT:
7731 : 0 : if (call_expr_nargs (_p1) == 1)
7732 : : {
7733 : 0 : tree _q40 = CALL_EXPR_ARG (_p1, 0);
7734 : 0 : {
7735 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
7736 : 0 : tree res = generic_simplify_255 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRT, LE_EXPR);
7737 : 0 : if (res) return res;
7738 : : }
7739 : : }
7740 : : break;
7741 : : default:;
7742 : : }
7743 : : break;
7744 : : default:;
7745 : : }
7746 : : }
7747 : : break;
7748 : 0 : case CFN_SQRT:
7749 : 0 : if (call_expr_nargs (_p0) == 1)
7750 : : {
7751 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
7752 : 0 : switch (TREE_CODE (_p1))
7753 : : {
7754 : 0 : case REAL_CST:
7755 : 0 : {
7756 : 0 : {
7757 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
7758 : 0 : tree res = generic_simplify_254 (loc, type, _p0, _p1, captures, CFN_SQRT, LE_EXPR);
7759 : 0 : if (res) return res;
7760 : : }
7761 : 0 : break;
7762 : : }
7763 : 0 : case CALL_EXPR:
7764 : 0 : switch (get_call_combined_fn (_p1))
7765 : : {
7766 : 0 : case CFN_SQRT:
7767 : 0 : if (call_expr_nargs (_p1) == 1)
7768 : : {
7769 : 0 : tree _q40 = CALL_EXPR_ARG (_p1, 0);
7770 : 0 : {
7771 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
7772 : 0 : tree res = generic_simplify_255 (loc, type, _p0, _p1, captures, CFN_SQRT, LE_EXPR);
7773 : 0 : if (res) return res;
7774 : : }
7775 : : }
7776 : : break;
7777 : : default:;
7778 : : }
7779 : : break;
7780 : : default:;
7781 : : }
7782 : : }
7783 : : break;
7784 : : default:;
7785 : : }
7786 : : break;
7787 : 7934678 : default:;
7788 : : }
7789 : 7934678 : if (uniform_integer_cst_p (_p1))
7790 : : {
7791 : 5634960 : {
7792 : 5634960 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _p1 };
7793 : 5634960 : tree res = generic_simplify_384 (loc, type, _p0, _p1, captures, LE_EXPR);
7794 : 5634960 : if (res) return res;
7795 : : }
7796 : : }
7797 : 7472498 : switch (TREE_CODE (_p0))
7798 : : {
7799 : 859157 : CASE_CONVERT:
7800 : 859157 : {
7801 : 859157 : tree _q20 = TREE_OPERAND (_p0, 0);
7802 : 859157 : switch (TREE_CODE (_q20))
7803 : : {
7804 : 96137 : case PLUS_EXPR:
7805 : 96137 : {
7806 : 96137 : tree _q30 = TREE_OPERAND (_q20, 0);
7807 : 96137 : tree _q31 = TREE_OPERAND (_q20, 1);
7808 : 96137 : switch (TREE_CODE (_q30))
7809 : : {
7810 : 81292 : CASE_CONVERT:
7811 : 81292 : {
7812 : 81292 : tree _q40 = TREE_OPERAND (_q30, 0);
7813 : 81292 : switch (TREE_CODE (_q31))
7814 : : {
7815 : 80699 : case INTEGER_CST:
7816 : 80699 : {
7817 : 80699 : if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
7818 : : {
7819 : 2 : {
7820 : 2 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q40, _q31 };
7821 : 2 : tree res = generic_simplify_385 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
7822 : 2 : if (res) return res;
7823 : : }
7824 : : }
7825 : : break;
7826 : : }
7827 : : default:;
7828 : : }
7829 : : break;
7830 : : }
7831 : : default:;
7832 : : }
7833 : : break;
7834 : : }
7835 : : default:;
7836 : : }
7837 : : break;
7838 : : }
7839 : 7472496 : default:;
7840 : : }
7841 : 7472496 : switch (TREE_CODE (_p1))
7842 : : {
7843 : 146289 : CASE_CONVERT:
7844 : 146289 : {
7845 : 146289 : tree _q30 = TREE_OPERAND (_p1, 0);
7846 : 146289 : switch (TREE_CODE (_q30))
7847 : : {
7848 : 1647 : case PLUS_EXPR:
7849 : 1647 : {
7850 : 1647 : tree _q40 = TREE_OPERAND (_q30, 0);
7851 : 1647 : tree _q41 = TREE_OPERAND (_q30, 1);
7852 : 1647 : switch (TREE_CODE (_q40))
7853 : : {
7854 : 220 : CASE_CONVERT:
7855 : 220 : {
7856 : 220 : tree _q50 = TREE_OPERAND (_q40, 0);
7857 : 220 : if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
7858 : : {
7859 : 0 : switch (TREE_CODE (_q41))
7860 : : {
7861 : 0 : case INTEGER_CST:
7862 : 0 : {
7863 : 0 : {
7864 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _p0, _q41 };
7865 : 0 : tree res = generic_simplify_385 (loc, type, _p0, _p1, captures, GE_EXPR, LE_EXPR);
7866 : 0 : if (res) return res;
7867 : : }
7868 : 0 : break;
7869 : : }
7870 : : default:;
7871 : : }
7872 : : }
7873 : : break;
7874 : : }
7875 : : default:;
7876 : : }
7877 : : break;
7878 : : }
7879 : : default:;
7880 : : }
7881 : : break;
7882 : : }
7883 : 118798 : case PLUS_EXPR:
7884 : 118798 : {
7885 : 118798 : tree _q30 = TREE_OPERAND (_p1, 0);
7886 : 118798 : tree _q31 = TREE_OPERAND (_p1, 1);
7887 : 118798 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
7888 : : {
7889 : 30 : switch (TREE_CODE (_q31))
7890 : : {
7891 : 30 : case INTEGER_CST:
7892 : 30 : {
7893 : 30 : {
7894 : 30 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _p0, _q31 };
7895 : 30 : tree res = generic_simplify_380 (loc, type, _p0, _p1, captures, GE_EXPR, LE_EXPR);
7896 : 30 : if (res) return res;
7897 : : }
7898 : 0 : break;
7899 : : }
7900 : : default:;
7901 : : }
7902 : : }
7903 : : break;
7904 : : }
7905 : 7472466 : default:;
7906 : : }
7907 : 7472466 : switch (TREE_CODE (_p0))
7908 : : {
7909 : 63276 : case MINUS_EXPR:
7910 : 63276 : {
7911 : 63276 : tree _q20 = TREE_OPERAND (_p0, 0);
7912 : 63276 : tree _q21 = TREE_OPERAND (_p0, 1);
7913 : 63276 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
7914 : : {
7915 : 2510 : {
7916 : 2510 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
7917 : 2510 : tree res = generic_simplify_386 (loc, type, _p0, _p1, captures, LE_EXPR);
7918 : 2510 : if (res) return res;
7919 : : }
7920 : : }
7921 : : break;
7922 : : }
7923 : 7472339 : default:;
7924 : : }
7925 : 7472339 : switch (TREE_CODE (_p1))
7926 : : {
7927 : 118768 : case PLUS_EXPR:
7928 : 118768 : {
7929 : 118768 : tree _q30 = TREE_OPERAND (_p1, 0);
7930 : 118768 : tree _q31 = TREE_OPERAND (_p1, 1);
7931 : 118768 : switch (TREE_CODE (_q30))
7932 : : {
7933 : 4 : case MINUS_EXPR:
7934 : 4 : {
7935 : 4 : tree _q40 = TREE_OPERAND (_q30, 0);
7936 : 4 : tree _q41 = TREE_OPERAND (_q30, 1);
7937 : 4 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
7938 : : {
7939 : 0 : if (integer_minus_onep (_q31))
7940 : : {
7941 : 0 : {
7942 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q41 };
7943 : 0 : tree res = generic_simplify_398 (loc, type, _p0, _p1, captures, GE_EXPR);
7944 : 0 : if (res) return res;
7945 : : }
7946 : : }
7947 : : }
7948 : : break;
7949 : : }
7950 : : default:;
7951 : : }
7952 : : break;
7953 : : }
7954 : 7472339 : default:;
7955 : : }
7956 : 7472339 : switch (TREE_CODE (_p0))
7957 : : {
7958 : 12 : case REALPART_EXPR:
7959 : 12 : {
7960 : 12 : tree _q20 = TREE_OPERAND (_p0, 0);
7961 : 12 : switch (TREE_CODE (_q20))
7962 : : {
7963 : 0 : case CALL_EXPR:
7964 : 0 : switch (get_call_combined_fn (_q20))
7965 : : {
7966 : 0 : case CFN_SUB_OVERFLOW:
7967 : 0 : if (call_expr_nargs (_q20) == 2)
7968 : : {
7969 : 0 : tree _q30 = CALL_EXPR_ARG (_q20, 0);
7970 : 0 : tree _q31 = CALL_EXPR_ARG (_q20, 1);
7971 : 0 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
7972 : : {
7973 : 0 : {
7974 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
7975 : 0 : tree res = generic_simplify_399 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
7976 : 0 : if (res) return res;
7977 : : }
7978 : : }
7979 : : }
7980 : : break;
7981 : : default:;
7982 : : }
7983 : : break;
7984 : : default:;
7985 : : }
7986 : : break;
7987 : : }
7988 : 7472339 : default:;
7989 : : }
7990 : 7472339 : switch (TREE_CODE (_p1))
7991 : : {
7992 : 0 : case REALPART_EXPR:
7993 : 0 : {
7994 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
7995 : 0 : switch (TREE_CODE (_q30))
7996 : : {
7997 : 0 : case CALL_EXPR:
7998 : 0 : switch (get_call_combined_fn (_q30))
7999 : : {
8000 : 0 : case CFN_ADD_OVERFLOW:
8001 : 0 : if (call_expr_nargs (_q30) == 2)
8002 : : {
8003 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
8004 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
8005 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
8006 : : {
8007 : 0 : {
8008 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _p0, _q41 };
8009 : 0 : tree res = generic_simplify_400 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
8010 : 0 : if (res) return res;
8011 : : }
8012 : : }
8013 : 0 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
8014 : : {
8015 : 0 : {
8016 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _p0, _q40 };
8017 : 0 : tree res = generic_simplify_400 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
8018 : 0 : if (res) return res;
8019 : : }
8020 : : }
8021 : : }
8022 : : break;
8023 : : default:;
8024 : : }
8025 : : break;
8026 : : default:;
8027 : : }
8028 : : break;
8029 : : }
8030 : 342 : case TRUNC_DIV_EXPR:
8031 : 342 : {
8032 : 342 : tree _q30 = TREE_OPERAND (_p1, 0);
8033 : 342 : tree _q31 = TREE_OPERAND (_p1, 1);
8034 : 342 : if (integer_all_onesp (_q30))
8035 : : {
8036 : 0 : {
8037 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q31, _p0 };
8038 : 0 : tree res = generic_simplify_401 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
8039 : 0 : if (res) return res;
8040 : : }
8041 : : }
8042 : : break;
8043 : : }
8044 : 7472339 : default:;
8045 : : }
8046 : 7472339 : switch (TREE_CODE (_p0))
8047 : : {
8048 : 57621 : case MULT_EXPR:
8049 : 57621 : {
8050 : 57621 : tree _q20 = TREE_OPERAND (_p0, 0);
8051 : 57621 : tree _q21 = TREE_OPERAND (_p0, 1);
8052 : 57621 : switch (TREE_CODE (_q21))
8053 : : {
8054 : 811 : case REAL_CST:
8055 : 811 : {
8056 : 811 : switch (TREE_CODE (_p1))
8057 : : {
8058 : 544 : case REAL_CST:
8059 : 544 : {
8060 : 544 : {
8061 : 544 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
8062 : 544 : tree res = generic_simplify_391 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR);
8063 : 544 : if (res) return res;
8064 : : }
8065 : 542 : break;
8066 : : }
8067 : : default:;
8068 : : }
8069 : : break;
8070 : : }
8071 : : default:;
8072 : : }
8073 : : break;
8074 : : }
8075 : 32 : case REAL_CST:
8076 : 32 : {
8077 : 32 : switch (TREE_CODE (_p1))
8078 : : {
8079 : 0 : case CALL_EXPR:
8080 : 0 : switch (get_call_combined_fn (_p1))
8081 : : {
8082 : 0 : case CFN_BUILT_IN_EXP:
8083 : 0 : if (call_expr_nargs (_p1) == 1)
8084 : : {
8085 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8086 : 0 : {
8087 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8088 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG, CFN_BUILT_IN_EXP, GE_EXPR);
8089 : 0 : if (res) return res;
8090 : : }
8091 : : }
8092 : : break;
8093 : 0 : case CFN_BUILT_IN_LOG:
8094 : 0 : if (call_expr_nargs (_p1) == 1)
8095 : : {
8096 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8097 : 0 : {
8098 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8099 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG, CFN_BUILT_IN_EXP, GE_EXPR);
8100 : 0 : if (res) return res;
8101 : : }
8102 : : }
8103 : : break;
8104 : 0 : case CFN_BUILT_IN_EXP10F:
8105 : 0 : if (call_expr_nargs (_p1) == 1)
8106 : : {
8107 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8108 : 0 : {
8109 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8110 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10F, CFN_BUILT_IN_EXP10F, GE_EXPR);
8111 : 0 : if (res) return res;
8112 : : }
8113 : : }
8114 : : break;
8115 : 0 : case CFN_BUILT_IN_EXP10L:
8116 : 0 : if (call_expr_nargs (_p1) == 1)
8117 : : {
8118 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8119 : 0 : {
8120 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8121 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10L, CFN_BUILT_IN_EXP10L, GE_EXPR);
8122 : 0 : if (res) return res;
8123 : : }
8124 : : }
8125 : : break;
8126 : 0 : case CFN_BUILT_IN_EXP2:
8127 : 0 : if (call_expr_nargs (_p1) == 1)
8128 : : {
8129 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8130 : 0 : {
8131 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8132 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2, CFN_BUILT_IN_EXP2, GE_EXPR);
8133 : 0 : if (res) return res;
8134 : : }
8135 : : }
8136 : : break;
8137 : 0 : case CFN_BUILT_IN_EXPF:
8138 : 0 : if (call_expr_nargs (_p1) == 1)
8139 : : {
8140 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8141 : 0 : {
8142 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8143 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOGF, CFN_BUILT_IN_EXPF, GE_EXPR);
8144 : 0 : if (res) return res;
8145 : : }
8146 : : }
8147 : : break;
8148 : 0 : case CFN_BUILT_IN_EXPL:
8149 : 0 : if (call_expr_nargs (_p1) == 1)
8150 : : {
8151 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8152 : 0 : {
8153 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8154 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOGL, CFN_BUILT_IN_EXPL, GE_EXPR);
8155 : 0 : if (res) return res;
8156 : : }
8157 : : }
8158 : : break;
8159 : 0 : case CFN_BUILT_IN_LOG2:
8160 : 0 : if (call_expr_nargs (_p1) == 1)
8161 : : {
8162 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8163 : 0 : {
8164 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8165 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2, CFN_BUILT_IN_EXP2, GE_EXPR);
8166 : 0 : if (res) return res;
8167 : : }
8168 : : }
8169 : : break;
8170 : 0 : case CFN_BUILT_IN_LOGF:
8171 : 0 : if (call_expr_nargs (_p1) == 1)
8172 : : {
8173 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8174 : 0 : {
8175 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8176 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOGF, CFN_BUILT_IN_EXPF, GE_EXPR);
8177 : 0 : if (res) return res;
8178 : : }
8179 : : }
8180 : : break;
8181 : 0 : case CFN_BUILT_IN_LOGL:
8182 : 0 : if (call_expr_nargs (_p1) == 1)
8183 : : {
8184 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8185 : 0 : {
8186 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8187 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOGL, CFN_BUILT_IN_EXPL, GE_EXPR);
8188 : 0 : if (res) return res;
8189 : : }
8190 : : }
8191 : : break;
8192 : 0 : case CFN_BUILT_IN_LOG10F:
8193 : 0 : if (call_expr_nargs (_p1) == 1)
8194 : : {
8195 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8196 : 0 : {
8197 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8198 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10F, CFN_BUILT_IN_EXP10F, GE_EXPR);
8199 : 0 : if (res) return res;
8200 : : }
8201 : : }
8202 : : break;
8203 : 0 : case CFN_BUILT_IN_LOG10L:
8204 : 0 : if (call_expr_nargs (_p1) == 1)
8205 : : {
8206 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8207 : 0 : {
8208 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8209 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10L, CFN_BUILT_IN_EXP10L, GE_EXPR);
8210 : 0 : if (res) return res;
8211 : : }
8212 : : }
8213 : : break;
8214 : 0 : case CFN_EXP:
8215 : 0 : if (call_expr_nargs (_p1) == 1)
8216 : : {
8217 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8218 : 0 : {
8219 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8220 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_LOG, CFN_EXP, GE_EXPR);
8221 : 0 : if (res) return res;
8222 : : }
8223 : : }
8224 : : break;
8225 : 0 : case CFN_LOG:
8226 : 0 : if (call_expr_nargs (_p1) == 1)
8227 : : {
8228 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8229 : 0 : {
8230 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8231 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_LOG, CFN_EXP, GE_EXPR);
8232 : 0 : if (res) return res;
8233 : : }
8234 : : }
8235 : : break;
8236 : 0 : case CFN_EXP2:
8237 : 0 : if (call_expr_nargs (_p1) == 1)
8238 : : {
8239 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8240 : 0 : {
8241 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8242 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_LOG2, CFN_EXP2, GE_EXPR);
8243 : 0 : if (res) return res;
8244 : : }
8245 : : }
8246 : : break;
8247 : 0 : case CFN_LOG2:
8248 : 0 : if (call_expr_nargs (_p1) == 1)
8249 : : {
8250 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8251 : 0 : {
8252 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8253 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_LOG2, CFN_EXP2, GE_EXPR);
8254 : 0 : if (res) return res;
8255 : : }
8256 : : }
8257 : : break;
8258 : 0 : case CFN_EXP10:
8259 : 0 : if (call_expr_nargs (_p1) == 1)
8260 : : {
8261 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8262 : 0 : {
8263 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8264 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_LOG10, CFN_EXP10, GE_EXPR);
8265 : 0 : if (res) return res;
8266 : : }
8267 : : }
8268 : : break;
8269 : 0 : case CFN_LOG10:
8270 : 0 : if (call_expr_nargs (_p1) == 1)
8271 : : {
8272 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8273 : 0 : {
8274 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8275 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_LOG10, CFN_EXP10, GE_EXPR);
8276 : 0 : if (res) return res;
8277 : : }
8278 : : }
8279 : : break;
8280 : 0 : case CFN_BUILT_IN_EXP10:
8281 : 0 : if (call_expr_nargs (_p1) == 1)
8282 : : {
8283 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8284 : 0 : {
8285 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8286 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10, CFN_BUILT_IN_EXP10, GE_EXPR);
8287 : 0 : if (res) return res;
8288 : : }
8289 : : }
8290 : : break;
8291 : 0 : case CFN_BUILT_IN_EXP2F:
8292 : 0 : if (call_expr_nargs (_p1) == 1)
8293 : : {
8294 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8295 : 0 : {
8296 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8297 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2F, CFN_BUILT_IN_EXP2F, GE_EXPR);
8298 : 0 : if (res) return res;
8299 : : }
8300 : : }
8301 : : break;
8302 : 0 : case CFN_BUILT_IN_EXP2L:
8303 : 0 : if (call_expr_nargs (_p1) == 1)
8304 : : {
8305 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8306 : 0 : {
8307 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8308 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2L, CFN_BUILT_IN_EXP2L, GE_EXPR);
8309 : 0 : if (res) return res;
8310 : : }
8311 : : }
8312 : : break;
8313 : 0 : case CFN_BUILT_IN_LOG10:
8314 : 0 : if (call_expr_nargs (_p1) == 1)
8315 : : {
8316 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8317 : 0 : {
8318 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8319 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10, CFN_BUILT_IN_EXP10, GE_EXPR);
8320 : 0 : if (res) return res;
8321 : : }
8322 : : }
8323 : : break;
8324 : 0 : case CFN_BUILT_IN_LOG2F:
8325 : 0 : if (call_expr_nargs (_p1) == 1)
8326 : : {
8327 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8328 : 0 : {
8329 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8330 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2F, CFN_BUILT_IN_EXP2F, GE_EXPR);
8331 : 0 : if (res) return res;
8332 : : }
8333 : : }
8334 : : break;
8335 : 0 : case CFN_BUILT_IN_LOG2L:
8336 : 0 : if (call_expr_nargs (_p1) == 1)
8337 : : {
8338 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
8339 : 0 : {
8340 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
8341 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2L, CFN_BUILT_IN_EXP2L, GE_EXPR);
8342 : 0 : if (res) return res;
8343 : : }
8344 : : }
8345 : : break;
8346 : : default:;
8347 : : }
8348 : : break;
8349 : : default:;
8350 : : }
8351 : : break;
8352 : : }
8353 : 1445810 : case PLUS_EXPR:
8354 : 1445810 : {
8355 : 1445810 : tree _q20 = TREE_OPERAND (_p0, 0);
8356 : 1445810 : tree _q21 = TREE_OPERAND (_p0, 1);
8357 : 1445810 : switch (TREE_CODE (_q21))
8358 : : {
8359 : 1348481 : case INTEGER_CST:
8360 : 1348481 : {
8361 : 1348481 : switch (TREE_CODE (_p1))
8362 : : {
8363 : 848042 : case INTEGER_CST:
8364 : 848042 : {
8365 : 848042 : {
8366 : 848042 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
8367 : 848042 : tree res = generic_simplify_392 (loc, type, _p0, _p1, captures, PLUS_EXPR, MINUS_EXPR, LE_EXPR, GE_EXPR);
8368 : 848042 : if (res) return res;
8369 : : }
8370 : 670848 : break;
8371 : : }
8372 : : default:;
8373 : : }
8374 : : break;
8375 : : }
8376 : : default:;
8377 : : }
8378 : : break;
8379 : : }
8380 : 63149 : case MINUS_EXPR:
8381 : 63149 : {
8382 : 63149 : tree _q20 = TREE_OPERAND (_p0, 0);
8383 : 63149 : tree _q21 = TREE_OPERAND (_p0, 1);
8384 : 63149 : switch (TREE_CODE (_q21))
8385 : : {
8386 : 2209 : case INTEGER_CST:
8387 : 2209 : {
8388 : 2209 : switch (TREE_CODE (_p1))
8389 : : {
8390 : 2209 : case INTEGER_CST:
8391 : 2209 : {
8392 : 2209 : {
8393 : 2209 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
8394 : 2209 : tree res = generic_simplify_392 (loc, type, _p0, _p1, captures, MINUS_EXPR, PLUS_EXPR, LE_EXPR, GE_EXPR);
8395 : 2209 : if (res) return res;
8396 : : }
8397 : 2208 : break;
8398 : : }
8399 : : default:;
8400 : : }
8401 : : break;
8402 : : }
8403 : 63148 : default:;
8404 : : }
8405 : 63148 : switch (TREE_CODE (_q20))
8406 : : {
8407 : 2429 : case INTEGER_CST:
8408 : 2429 : {
8409 : 2429 : switch (TREE_CODE (_p1))
8410 : : {
8411 : 1074 : case INTEGER_CST:
8412 : 1074 : {
8413 : 1074 : {
8414 : 1074 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
8415 : 1074 : tree res = generic_simplify_286 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR);
8416 : 1074 : if (res) return res;
8417 : : }
8418 : 0 : break;
8419 : : }
8420 : : default:;
8421 : : }
8422 : : break;
8423 : : }
8424 : : default:;
8425 : : }
8426 : : break;
8427 : : }
8428 : 66126 : case CALL_EXPR:
8429 : 66126 : switch (get_call_combined_fn (_p0))
8430 : : {
8431 : 18 : case CFN_BUILT_IN_CTZ:
8432 : 18 : if (call_expr_nargs (_p0) == 1)
8433 : : {
8434 : 18 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8435 : 18 : switch (TREE_CODE (_p1))
8436 : : {
8437 : 18 : case INTEGER_CST:
8438 : 18 : {
8439 : 18 : {
8440 : 18 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8441 : 18 : tree res = generic_simplify_393 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR, CFN_BUILT_IN_CTZ);
8442 : 18 : if (res) return res;
8443 : : }
8444 : 16 : break;
8445 : : }
8446 : : default:;
8447 : : }
8448 : : }
8449 : : break;
8450 : 0 : case CFN_BUILT_IN_EXP:
8451 : 0 : if (call_expr_nargs (_p0) == 1)
8452 : : {
8453 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8454 : 0 : switch (TREE_CODE (_p1))
8455 : : {
8456 : 0 : case REAL_CST:
8457 : 0 : {
8458 : 0 : {
8459 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8460 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG, CFN_BUILT_IN_EXP, LE_EXPR);
8461 : 0 : if (res) return res;
8462 : : }
8463 : 0 : break;
8464 : : }
8465 : : default:;
8466 : : }
8467 : : }
8468 : : break;
8469 : 8 : case CFN_BUILT_IN_FFS:
8470 : 8 : if (call_expr_nargs (_p0) == 1)
8471 : : {
8472 : 8 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8473 : 8 : switch (TREE_CODE (_p1))
8474 : : {
8475 : 8 : case INTEGER_CST:
8476 : 8 : {
8477 : 8 : {
8478 : 8 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8479 : 8 : tree res = generic_simplify_404 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, NE_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_FFS);
8480 : 8 : if (res) return res;
8481 : : }
8482 : 2 : break;
8483 : : }
8484 : : default:;
8485 : : }
8486 : : }
8487 : : break;
8488 : 0 : case CFN_BUILT_IN_LOG:
8489 : 0 : if (call_expr_nargs (_p0) == 1)
8490 : : {
8491 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8492 : 0 : switch (TREE_CODE (_p1))
8493 : : {
8494 : 0 : case REAL_CST:
8495 : 0 : {
8496 : 0 : {
8497 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8498 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG, CFN_BUILT_IN_EXP, LE_EXPR);
8499 : 0 : if (res) return res;
8500 : : }
8501 : 0 : break;
8502 : : }
8503 : : default:;
8504 : : }
8505 : : }
8506 : : break;
8507 : 0 : case CFN_BUILT_IN_FFSIMAX:
8508 : 0 : if (call_expr_nargs (_p0) == 1)
8509 : : {
8510 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8511 : 0 : switch (TREE_CODE (_p1))
8512 : : {
8513 : 0 : case INTEGER_CST:
8514 : 0 : {
8515 : 0 : {
8516 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8517 : 0 : tree res = generic_simplify_404 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, NE_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_FFSIMAX);
8518 : 0 : if (res) return res;
8519 : : }
8520 : 0 : break;
8521 : : }
8522 : : default:;
8523 : : }
8524 : : }
8525 : : break;
8526 : 0 : case CFN_BUILT_IN_EXP10F:
8527 : 0 : if (call_expr_nargs (_p0) == 1)
8528 : : {
8529 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8530 : 0 : switch (TREE_CODE (_p1))
8531 : : {
8532 : 0 : case REAL_CST:
8533 : 0 : {
8534 : 0 : {
8535 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8536 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10F, CFN_BUILT_IN_EXP10F, LE_EXPR);
8537 : 0 : if (res) return res;
8538 : : }
8539 : 0 : break;
8540 : : }
8541 : : default:;
8542 : : }
8543 : : }
8544 : : break;
8545 : 0 : case CFN_BUILT_IN_EXP10L:
8546 : 0 : if (call_expr_nargs (_p0) == 1)
8547 : : {
8548 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8549 : 0 : switch (TREE_CODE (_p1))
8550 : : {
8551 : 0 : case REAL_CST:
8552 : 0 : {
8553 : 0 : {
8554 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8555 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10L, CFN_BUILT_IN_EXP10L, LE_EXPR);
8556 : 0 : if (res) return res;
8557 : : }
8558 : 0 : break;
8559 : : }
8560 : : default:;
8561 : : }
8562 : : }
8563 : : break;
8564 : 37 : case CFN_BUILT_IN_POPCOUNT:
8565 : 37 : if (call_expr_nargs (_p0) == 1)
8566 : : {
8567 : 37 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8568 : 37 : if (integer_zerop (_p1))
8569 : : {
8570 : 1 : {
8571 : 1 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
8572 : 1 : tree res = generic_simplify_291 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, CFN_BUILT_IN_POPCOUNT);
8573 : 1 : if (res) return res;
8574 : : }
8575 : : }
8576 : : }
8577 : : break;
8578 : 0 : case CFN_BUILT_IN_CTZL:
8579 : 0 : if (call_expr_nargs (_p0) == 1)
8580 : : {
8581 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8582 : 0 : switch (TREE_CODE (_p1))
8583 : : {
8584 : 0 : case INTEGER_CST:
8585 : 0 : {
8586 : 0 : {
8587 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8588 : 0 : tree res = generic_simplify_393 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR, CFN_BUILT_IN_CTZL);
8589 : 0 : if (res) return res;
8590 : : }
8591 : 0 : break;
8592 : : }
8593 : : default:;
8594 : : }
8595 : : }
8596 : : break;
8597 : 0 : case CFN_BUILT_IN_EXP2:
8598 : 0 : if (call_expr_nargs (_p0) == 1)
8599 : : {
8600 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8601 : 0 : switch (TREE_CODE (_p1))
8602 : : {
8603 : 0 : case REAL_CST:
8604 : 0 : {
8605 : 0 : {
8606 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8607 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2, CFN_BUILT_IN_EXP2, LE_EXPR);
8608 : 0 : if (res) return res;
8609 : : }
8610 : 0 : break;
8611 : : }
8612 : : default:;
8613 : : }
8614 : : }
8615 : : break;
8616 : 0 : case CFN_BUILT_IN_EXPF:
8617 : 0 : if (call_expr_nargs (_p0) == 1)
8618 : : {
8619 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8620 : 0 : switch (TREE_CODE (_p1))
8621 : : {
8622 : 0 : case REAL_CST:
8623 : 0 : {
8624 : 0 : {
8625 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8626 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOGF, CFN_BUILT_IN_EXPF, LE_EXPR);
8627 : 0 : if (res) return res;
8628 : : }
8629 : 0 : break;
8630 : : }
8631 : : default:;
8632 : : }
8633 : : }
8634 : : break;
8635 : 0 : case CFN_BUILT_IN_EXPL:
8636 : 0 : if (call_expr_nargs (_p0) == 1)
8637 : : {
8638 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8639 : 0 : switch (TREE_CODE (_p1))
8640 : : {
8641 : 0 : case REAL_CST:
8642 : 0 : {
8643 : 0 : {
8644 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8645 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOGL, CFN_BUILT_IN_EXPL, LE_EXPR);
8646 : 0 : if (res) return res;
8647 : : }
8648 : 0 : break;
8649 : : }
8650 : : default:;
8651 : : }
8652 : : }
8653 : : break;
8654 : 3 : case CFN_BUILT_IN_FFSL:
8655 : 3 : if (call_expr_nargs (_p0) == 1)
8656 : : {
8657 : 3 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8658 : 3 : switch (TREE_CODE (_p1))
8659 : : {
8660 : 3 : case INTEGER_CST:
8661 : 3 : {
8662 : 3 : {
8663 : 3 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8664 : 3 : tree res = generic_simplify_404 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, NE_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_FFSL);
8665 : 3 : if (res) return res;
8666 : : }
8667 : 0 : break;
8668 : : }
8669 : : default:;
8670 : : }
8671 : : }
8672 : : break;
8673 : 0 : case CFN_BUILT_IN_LOG2:
8674 : 0 : if (call_expr_nargs (_p0) == 1)
8675 : : {
8676 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8677 : 0 : switch (TREE_CODE (_p1))
8678 : : {
8679 : 0 : case REAL_CST:
8680 : 0 : {
8681 : 0 : {
8682 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8683 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2, CFN_BUILT_IN_EXP2, LE_EXPR);
8684 : 0 : if (res) return res;
8685 : : }
8686 : 0 : break;
8687 : : }
8688 : : default:;
8689 : : }
8690 : : }
8691 : : break;
8692 : 0 : case CFN_BUILT_IN_LOGF:
8693 : 0 : if (call_expr_nargs (_p0) == 1)
8694 : : {
8695 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8696 : 0 : switch (TREE_CODE (_p1))
8697 : : {
8698 : 0 : case REAL_CST:
8699 : 0 : {
8700 : 0 : {
8701 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8702 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOGF, CFN_BUILT_IN_EXPF, LE_EXPR);
8703 : 0 : if (res) return res;
8704 : : }
8705 : 0 : break;
8706 : : }
8707 : : default:;
8708 : : }
8709 : : }
8710 : : break;
8711 : 0 : case CFN_BUILT_IN_LOGL:
8712 : 0 : if (call_expr_nargs (_p0) == 1)
8713 : : {
8714 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8715 : 0 : switch (TREE_CODE (_p1))
8716 : : {
8717 : 0 : case REAL_CST:
8718 : 0 : {
8719 : 0 : {
8720 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8721 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOGL, CFN_BUILT_IN_EXPL, LE_EXPR);
8722 : 0 : if (res) return res;
8723 : : }
8724 : 0 : break;
8725 : : }
8726 : : default:;
8727 : : }
8728 : : }
8729 : : break;
8730 : 1 : case CFN_BUILT_IN_POPCOUNTLL:
8731 : 1 : if (call_expr_nargs (_p0) == 1)
8732 : : {
8733 : 1 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8734 : 1 : if (integer_zerop (_p1))
8735 : : {
8736 : 1 : {
8737 : 1 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
8738 : 1 : tree res = generic_simplify_291 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, CFN_BUILT_IN_POPCOUNTLL);
8739 : 1 : if (res) return res;
8740 : : }
8741 : : }
8742 : : }
8743 : : break;
8744 : 0 : case CFN_BUILT_IN_LOG10F:
8745 : 0 : if (call_expr_nargs (_p0) == 1)
8746 : : {
8747 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8748 : 0 : switch (TREE_CODE (_p1))
8749 : : {
8750 : 0 : case REAL_CST:
8751 : 0 : {
8752 : 0 : {
8753 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8754 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10F, CFN_BUILT_IN_EXP10F, LE_EXPR);
8755 : 0 : if (res) return res;
8756 : : }
8757 : 0 : break;
8758 : : }
8759 : : default:;
8760 : : }
8761 : : }
8762 : : break;
8763 : 0 : case CFN_BUILT_IN_LOG10L:
8764 : 0 : if (call_expr_nargs (_p0) == 1)
8765 : : {
8766 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8767 : 0 : switch (TREE_CODE (_p1))
8768 : : {
8769 : 0 : case REAL_CST:
8770 : 0 : {
8771 : 0 : {
8772 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8773 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10L, CFN_BUILT_IN_EXP10L, LE_EXPR);
8774 : 0 : if (res) return res;
8775 : : }
8776 : 0 : break;
8777 : : }
8778 : : default:;
8779 : : }
8780 : : }
8781 : : break;
8782 : 0 : case CFN_BUILT_IN_CTZIMAX:
8783 : 0 : if (call_expr_nargs (_p0) == 1)
8784 : : {
8785 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8786 : 0 : switch (TREE_CODE (_p1))
8787 : : {
8788 : 0 : case INTEGER_CST:
8789 : 0 : {
8790 : 0 : {
8791 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8792 : 0 : tree res = generic_simplify_393 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR, CFN_BUILT_IN_CTZIMAX);
8793 : 0 : if (res) return res;
8794 : : }
8795 : 0 : break;
8796 : : }
8797 : : default:;
8798 : : }
8799 : : }
8800 : : break;
8801 : 0 : case CFN_POPCOUNT:
8802 : 0 : if (call_expr_nargs (_p0) == 1)
8803 : : {
8804 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8805 : 0 : if (integer_zerop (_p1))
8806 : : {
8807 : 0 : {
8808 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
8809 : 0 : tree res = generic_simplify_291 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, CFN_POPCOUNT);
8810 : 0 : if (res) return res;
8811 : : }
8812 : : }
8813 : : }
8814 : : break;
8815 : 0 : case CFN_CTZ:
8816 : 0 : if (call_expr_nargs (_p0) == 2)
8817 : : {
8818 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8819 : 0 : tree _q21 = CALL_EXPR_ARG (_p0, 1);
8820 : 0 : switch (TREE_CODE (_p1))
8821 : : {
8822 : 0 : case INTEGER_CST:
8823 : 0 : {
8824 : 0 : {
8825 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
8826 : 0 : tree res = generic_simplify_394 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
8827 : 0 : if (res) return res;
8828 : : }
8829 : 0 : break;
8830 : : }
8831 : : default:;
8832 : : }
8833 : : }
8834 : 0 : if (call_expr_nargs (_p0) == 1)
8835 : : {
8836 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8837 : 0 : switch (TREE_CODE (_p1))
8838 : : {
8839 : 0 : case INTEGER_CST:
8840 : 0 : {
8841 : 0 : {
8842 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8843 : 0 : tree res = generic_simplify_393 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR, CFN_CTZ);
8844 : 0 : if (res) return res;
8845 : : }
8846 : 0 : break;
8847 : : }
8848 : : default:;
8849 : : }
8850 : : }
8851 : : break;
8852 : 0 : case CFN_EXP:
8853 : 0 : if (call_expr_nargs (_p0) == 1)
8854 : : {
8855 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8856 : 0 : switch (TREE_CODE (_p1))
8857 : : {
8858 : 0 : case REAL_CST:
8859 : 0 : {
8860 : 0 : {
8861 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8862 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_LOG, CFN_EXP, LE_EXPR);
8863 : 0 : if (res) return res;
8864 : : }
8865 : 0 : break;
8866 : : }
8867 : : default:;
8868 : : }
8869 : : }
8870 : : break;
8871 : 0 : case CFN_FFS:
8872 : 0 : if (call_expr_nargs (_p0) == 1)
8873 : : {
8874 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8875 : 0 : switch (TREE_CODE (_p1))
8876 : : {
8877 : 0 : case INTEGER_CST:
8878 : 0 : {
8879 : 0 : {
8880 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8881 : 0 : tree res = generic_simplify_404 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, NE_EXPR, BIT_IOR_EXPR, CFN_FFS);
8882 : 0 : if (res) return res;
8883 : : }
8884 : 0 : break;
8885 : : }
8886 : : default:;
8887 : : }
8888 : : }
8889 : : break;
8890 : 0 : case CFN_LOG:
8891 : 0 : if (call_expr_nargs (_p0) == 1)
8892 : : {
8893 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8894 : 0 : switch (TREE_CODE (_p1))
8895 : : {
8896 : 0 : case REAL_CST:
8897 : 0 : {
8898 : 0 : {
8899 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8900 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_LOG, CFN_EXP, LE_EXPR);
8901 : 0 : if (res) return res;
8902 : : }
8903 : 0 : break;
8904 : : }
8905 : : default:;
8906 : : }
8907 : : }
8908 : : break;
8909 : 0 : case CFN_BUILT_IN_POPCOUNTIMAX:
8910 : 0 : if (call_expr_nargs (_p0) == 1)
8911 : : {
8912 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8913 : 0 : if (integer_zerop (_p1))
8914 : : {
8915 : 0 : {
8916 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
8917 : 0 : tree res = generic_simplify_291 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
8918 : 0 : if (res) return res;
8919 : : }
8920 : : }
8921 : : }
8922 : : break;
8923 : 0 : case CFN_EXP2:
8924 : 0 : if (call_expr_nargs (_p0) == 1)
8925 : : {
8926 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8927 : 0 : switch (TREE_CODE (_p1))
8928 : : {
8929 : 0 : case REAL_CST:
8930 : 0 : {
8931 : 0 : {
8932 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8933 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_LOG2, CFN_EXP2, LE_EXPR);
8934 : 0 : if (res) return res;
8935 : : }
8936 : 0 : break;
8937 : : }
8938 : : default:;
8939 : : }
8940 : : }
8941 : : break;
8942 : 0 : case CFN_LOG2:
8943 : 0 : if (call_expr_nargs (_p0) == 1)
8944 : : {
8945 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8946 : 0 : switch (TREE_CODE (_p1))
8947 : : {
8948 : 0 : case REAL_CST:
8949 : 0 : {
8950 : 0 : {
8951 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8952 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_LOG2, CFN_EXP2, LE_EXPR);
8953 : 0 : if (res) return res;
8954 : : }
8955 : 0 : break;
8956 : : }
8957 : : default:;
8958 : : }
8959 : : }
8960 : : break;
8961 : 0 : case CFN_EXP10:
8962 : 0 : if (call_expr_nargs (_p0) == 1)
8963 : : {
8964 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8965 : 0 : switch (TREE_CODE (_p1))
8966 : : {
8967 : 0 : case REAL_CST:
8968 : 0 : {
8969 : 0 : {
8970 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
8971 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_LOG10, CFN_EXP10, LE_EXPR);
8972 : 0 : if (res) return res;
8973 : : }
8974 : 0 : break;
8975 : : }
8976 : : default:;
8977 : : }
8978 : : }
8979 : : break;
8980 : 1 : case CFN_BUILT_IN_POPCOUNTL:
8981 : 1 : if (call_expr_nargs (_p0) == 1)
8982 : : {
8983 : 1 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8984 : 1 : if (integer_zerop (_p1))
8985 : : {
8986 : 1 : {
8987 : 1 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
8988 : 1 : tree res = generic_simplify_291 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, CFN_BUILT_IN_POPCOUNTL);
8989 : 1 : if (res) return res;
8990 : : }
8991 : : }
8992 : : }
8993 : : break;
8994 : 0 : case CFN_BUILT_IN_CTZLL:
8995 : 0 : if (call_expr_nargs (_p0) == 1)
8996 : : {
8997 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
8998 : 0 : switch (TREE_CODE (_p1))
8999 : : {
9000 : 0 : case INTEGER_CST:
9001 : 0 : {
9002 : 0 : {
9003 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
9004 : 0 : tree res = generic_simplify_393 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR, CFN_BUILT_IN_CTZLL);
9005 : 0 : if (res) return res;
9006 : : }
9007 : 0 : break;
9008 : : }
9009 : : default:;
9010 : : }
9011 : : }
9012 : : break;
9013 : 0 : case CFN_LOG10:
9014 : 0 : if (call_expr_nargs (_p0) == 1)
9015 : : {
9016 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
9017 : 0 : switch (TREE_CODE (_p1))
9018 : : {
9019 : 0 : case REAL_CST:
9020 : 0 : {
9021 : 0 : {
9022 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
9023 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_LOG10, CFN_EXP10, LE_EXPR);
9024 : 0 : if (res) return res;
9025 : : }
9026 : 0 : break;
9027 : : }
9028 : : default:;
9029 : : }
9030 : : }
9031 : : break;
9032 : 0 : case CFN_BUILT_IN_EXP10:
9033 : 0 : if (call_expr_nargs (_p0) == 1)
9034 : : {
9035 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
9036 : 0 : switch (TREE_CODE (_p1))
9037 : : {
9038 : 0 : case REAL_CST:
9039 : 0 : {
9040 : 0 : {
9041 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
9042 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10, CFN_BUILT_IN_EXP10, LE_EXPR);
9043 : 0 : if (res) return res;
9044 : : }
9045 : 0 : break;
9046 : : }
9047 : : default:;
9048 : : }
9049 : : }
9050 : : break;
9051 : 0 : case CFN_BUILT_IN_EXP2F:
9052 : 0 : if (call_expr_nargs (_p0) == 1)
9053 : : {
9054 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
9055 : 0 : switch (TREE_CODE (_p1))
9056 : : {
9057 : 0 : case REAL_CST:
9058 : 0 : {
9059 : 0 : {
9060 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
9061 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2F, CFN_BUILT_IN_EXP2F, LE_EXPR);
9062 : 0 : if (res) return res;
9063 : : }
9064 : 0 : break;
9065 : : }
9066 : : default:;
9067 : : }
9068 : : }
9069 : : break;
9070 : 0 : case CFN_BUILT_IN_EXP2L:
9071 : 0 : if (call_expr_nargs (_p0) == 1)
9072 : : {
9073 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
9074 : 0 : switch (TREE_CODE (_p1))
9075 : : {
9076 : 0 : case REAL_CST:
9077 : 0 : {
9078 : 0 : {
9079 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
9080 : 0 : tree res = generic_simplify_403 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2L, CFN_BUILT_IN_EXP2L, LE_EXPR);
9081 : 0 : if (res) return res;
9082 : : }
9083 : 0 : break;
9084 : : }
9085 : : default:;
9086 : : }
9087 : : }
9088 : : break;
9089 : 3 : case CFN_BUILT_IN_FFSLL:
9090 : 3 : if (call_expr_nargs (_p0) == 1)
9091 : : {
9092 : 3 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
9093 : 3 : switch (TREE_CODE (_p1))
9094 : : {
9095 : 3 : case INTEGER_CST:
9096 : 3 : {
9097 : 3 : {
9098 : 3 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
9099 : 3 : tree res = generic_simplify_404 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR, NE_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_FFSLL);
9100 : 3 : if (res) return res;
9101 : : }
9102 : 0 : break;
9103 : : }
9104 : : default:;
9105 : : }
9106 : : }
9107 : : break;
9108 : 0 : case CFN_BUILT_IN_LOG10:
9109 : 0 : if (call_expr_nargs (_p0) == 1)
9110 : : {
9111 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
9112 : 0 : switch (TREE_CODE (_p1))
9113 : : {
9114 : 0 : case REAL_CST:
9115 : 0 : {
9116 : 0 : {
9117 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
9118 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10, CFN_BUILT_IN_EXP10, LE_EXPR);
9119 : 0 : if (res) return res;
9120 : : }
9121 : 0 : break;
9122 : : }
9123 : : default:;
9124 : : }
9125 : : }
9126 : : break;
9127 : 0 : case CFN_BUILT_IN_LOG2F:
9128 : 0 : if (call_expr_nargs (_p0) == 1)
9129 : : {
9130 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
9131 : 0 : switch (TREE_CODE (_p1))
9132 : : {
9133 : 0 : case REAL_CST:
9134 : 0 : {
9135 : 0 : {
9136 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
9137 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2F, CFN_BUILT_IN_EXP2F, LE_EXPR);
9138 : 0 : if (res) return res;
9139 : : }
9140 : 0 : break;
9141 : : }
9142 : : default:;
9143 : : }
9144 : : }
9145 : : break;
9146 : 0 : case CFN_BUILT_IN_LOG2L:
9147 : 0 : if (call_expr_nargs (_p0) == 1)
9148 : : {
9149 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
9150 : 0 : switch (TREE_CODE (_p1))
9151 : : {
9152 : 0 : case REAL_CST:
9153 : 0 : {
9154 : 0 : {
9155 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
9156 : 0 : tree res = generic_simplify_402 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2L, CFN_BUILT_IN_EXP2L, LE_EXPR);
9157 : 0 : if (res) return res;
9158 : : }
9159 : 0 : break;
9160 : : }
9161 : : default:;
9162 : : }
9163 : : }
9164 : : break;
9165 : : default:;
9166 : : }
9167 : : break;
9168 : : default:;
9169 : : }
9170 : : return NULL_TREE;
9171 : : }
9172 : :
9173 : : tree
9174 : 4104 : generic_simplify_CEIL_MOD_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
9175 : : {
9176 : 4104 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
9177 : 4104 : if (integer_zerop (_p0))
9178 : : {
9179 : 0 : {
9180 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
9181 : 0 : tree res = generic_simplify_318 (loc, type, _p0, _p1, captures, CEIL_MOD_EXPR);
9182 : 0 : if (res) return res;
9183 : : }
9184 : : }
9185 : 4104 : if (integer_onep (_p1))
9186 : : {
9187 : 0 : {
9188 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
9189 : 0 : tree res = generic_simplify_319 (loc, type, _p0, _p1, captures, CEIL_MOD_EXPR);
9190 : 0 : if (res) return res;
9191 : : }
9192 : : }
9193 : 4104 : if (integer_minus_onep (_p1))
9194 : : {
9195 : 0 : {
9196 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
9197 : 0 : tree res = generic_simplify_320 (loc, type, _p0, _p1, captures, CEIL_MOD_EXPR);
9198 : 0 : if (res) return res;
9199 : : }
9200 : : }
9201 : 4104 : if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
9202 : : {
9203 : 0 : {
9204 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
9205 : 0 : tree res = generic_simplify_321 (loc, type, _p0, _p1, captures, CEIL_MOD_EXPR);
9206 : 0 : if (res) return res;
9207 : : }
9208 : : }
9209 : 4104 : switch (TREE_CODE (_p0))
9210 : : {
9211 : 0 : case CEIL_MOD_EXPR:
9212 : 0 : {
9213 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
9214 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
9215 : 0 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
9216 : : {
9217 : 0 : {
9218 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
9219 : 0 : tree res = generic_simplify_322 (loc, type, _p0, _p1, captures, CEIL_MOD_EXPR);
9220 : 0 : if (res) return res;
9221 : : }
9222 : : }
9223 : : break;
9224 : : }
9225 : 0 : case MULT_EXPR:
9226 : 0 : {
9227 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
9228 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
9229 : 0 : switch (TREE_CODE (_q21))
9230 : : {
9231 : 0 : case INTEGER_CST:
9232 : 0 : {
9233 : 0 : switch (TREE_CODE (_p1))
9234 : : {
9235 : 0 : case INTEGER_CST:
9236 : 0 : {
9237 : 0 : {
9238 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
9239 : 0 : tree res = generic_simplify_323 (loc, type, _p0, _p1, captures, CEIL_MOD_EXPR);
9240 : 0 : if (res) return res;
9241 : : }
9242 : 0 : break;
9243 : : }
9244 : : default:;
9245 : : }
9246 : : break;
9247 : : }
9248 : : default:;
9249 : : }
9250 : : break;
9251 : : }
9252 : 0 : case VEC_COND_EXPR:
9253 : 0 : {
9254 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
9255 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
9256 : 0 : tree _q22 = TREE_OPERAND (_p0, 2);
9257 : 0 : switch (TREE_CODE (_p1))
9258 : : {
9259 : 0 : case VEC_COND_EXPR:
9260 : 0 : {
9261 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
9262 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
9263 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
9264 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
9265 : : {
9266 : 0 : {
9267 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
9268 : 0 : if (VECTOR_TYPE_P (type)
9269 : 0 : && (TREE_CODE_CLASS (CEIL_MOD_EXPR) != tcc_comparison
9270 : : || types_match (type, TREE_TYPE (captures[2]))
9271 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
9272 : : || (optimize_vectors_before_lowering_p ()
9273 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
9274 : : )
9275 : : {
9276 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1783;
9277 : 0 : {
9278 : 0 : tree res_op0;
9279 : 0 : res_op0 = captures[1];
9280 : 0 : tree res_op1;
9281 : 0 : {
9282 : 0 : tree _o1[2], _r1;
9283 : 0 : _o1[0] = captures[2];
9284 : 0 : _o1[1] = captures[5];
9285 : 0 : _r1 = fold_build2_loc (loc, CEIL_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9286 : 0 : if (EXPR_P (_r1))
9287 : 0 : goto next_after_fail1783;
9288 : 0 : res_op1 = _r1;
9289 : : }
9290 : 0 : tree res_op2;
9291 : 0 : {
9292 : 0 : tree _o1[2], _r1;
9293 : 0 : _o1[0] = captures[3];
9294 : 0 : _o1[1] = captures[6];
9295 : 0 : _r1 = fold_build2_loc (loc, CEIL_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9296 : 0 : if (EXPR_P (_r1))
9297 : 0 : goto next_after_fail1783;
9298 : 0 : res_op2 = _r1;
9299 : : }
9300 : 0 : tree _r;
9301 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9302 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 919, __FILE__, __LINE__, true);
9303 : 0 : return _r;
9304 : : }
9305 : 0 : next_after_fail1783:;
9306 : : }
9307 : : }
9308 : : }
9309 : : break;
9310 : : }
9311 : 0 : default:;
9312 : : }
9313 : 0 : {
9314 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
9315 : 0 : if (VECTOR_TYPE_P (type)
9316 : 0 : && (TREE_CODE_CLASS (CEIL_MOD_EXPR) != tcc_comparison
9317 : : || types_match (type, TREE_TYPE (captures[2]))
9318 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
9319 : : || (optimize_vectors_before_lowering_p ()
9320 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
9321 : : )
9322 : : {
9323 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1784;
9324 : 0 : {
9325 : 0 : if (! tree_invariant_p (captures[4])) goto next_after_fail1784;
9326 : 0 : tree res_op0;
9327 : 0 : res_op0 = captures[1];
9328 : 0 : tree res_op1;
9329 : 0 : {
9330 : 0 : tree _o1[2], _r1;
9331 : 0 : _o1[0] = captures[2];
9332 : 0 : _o1[1] = unshare_expr (captures[4]);
9333 : 0 : _r1 = fold_build2_loc (loc, CEIL_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9334 : 0 : if (EXPR_P (_r1))
9335 : 0 : goto next_after_fail1784;
9336 : 0 : res_op1 = _r1;
9337 : : }
9338 : 0 : tree res_op2;
9339 : 0 : {
9340 : 0 : tree _o1[2], _r1;
9341 : 0 : _o1[0] = captures[3];
9342 : 0 : _o1[1] = captures[4];
9343 : 0 : _r1 = fold_build2_loc (loc, CEIL_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9344 : 0 : if (EXPR_P (_r1))
9345 : 0 : goto next_after_fail1784;
9346 : 0 : res_op2 = _r1;
9347 : : }
9348 : 0 : tree _r;
9349 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9350 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 920, __FILE__, __LINE__, true);
9351 : 0 : return _r;
9352 : : }
9353 : 0 : next_after_fail1784:;
9354 : : }
9355 : : }
9356 : 0 : break;
9357 : : }
9358 : 4104 : default:;
9359 : : }
9360 : 4104 : switch (TREE_CODE (_p1))
9361 : : {
9362 : 0 : case VEC_COND_EXPR:
9363 : 0 : {
9364 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
9365 : 0 : tree _q31 = TREE_OPERAND (_p1, 1);
9366 : 0 : tree _q32 = TREE_OPERAND (_p1, 2);
9367 : 0 : {
9368 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
9369 : 0 : if (VECTOR_TYPE_P (type)
9370 : 0 : && (TREE_CODE_CLASS (CEIL_MOD_EXPR) != tcc_comparison
9371 : : || types_match (type, TREE_TYPE (captures[3]))
9372 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
9373 : : || (optimize_vectors_before_lowering_p ()
9374 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
9375 : : )
9376 : : {
9377 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1785;
9378 : 0 : {
9379 : 0 : if (! tree_invariant_p (captures[0])) goto next_after_fail1785;
9380 : 0 : tree res_op0;
9381 : 0 : res_op0 = captures[2];
9382 : 0 : tree res_op1;
9383 : 0 : {
9384 : 0 : tree _o1[2], _r1;
9385 : 0 : _o1[0] = unshare_expr (captures[0]);
9386 : 0 : _o1[1] = captures[3];
9387 : 0 : _r1 = fold_build2_loc (loc, CEIL_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9388 : 0 : if (EXPR_P (_r1))
9389 : 0 : goto next_after_fail1785;
9390 : 0 : res_op1 = _r1;
9391 : : }
9392 : 0 : tree res_op2;
9393 : 0 : {
9394 : 0 : tree _o1[2], _r1;
9395 : 0 : _o1[0] = captures[0];
9396 : 0 : _o1[1] = captures[4];
9397 : 0 : _r1 = fold_build2_loc (loc, CEIL_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9398 : 0 : if (EXPR_P (_r1))
9399 : 0 : goto next_after_fail1785;
9400 : 0 : res_op2 = _r1;
9401 : : }
9402 : 0 : tree _r;
9403 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9404 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 921, __FILE__, __LINE__, true);
9405 : 0 : return _r;
9406 : : }
9407 : 0 : next_after_fail1785:;
9408 : : }
9409 : : }
9410 : 0 : break;
9411 : : }
9412 : : default:;
9413 : : }
9414 : : return NULL_TREE;
9415 : : }
9416 : :
9417 : : tree
9418 : 0 : generic_simplify_ROUND_MOD_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
9419 : : {
9420 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
9421 : 0 : if (integer_zerop (_p0))
9422 : : {
9423 : 0 : {
9424 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
9425 : 0 : tree res = generic_simplify_318 (loc, type, _p0, _p1, captures, ROUND_MOD_EXPR);
9426 : 0 : if (res) return res;
9427 : : }
9428 : : }
9429 : 0 : if (integer_onep (_p1))
9430 : : {
9431 : 0 : {
9432 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
9433 : 0 : tree res = generic_simplify_319 (loc, type, _p0, _p1, captures, ROUND_MOD_EXPR);
9434 : 0 : if (res) return res;
9435 : : }
9436 : : }
9437 : 0 : if (integer_minus_onep (_p1))
9438 : : {
9439 : 0 : {
9440 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
9441 : 0 : tree res = generic_simplify_320 (loc, type, _p0, _p1, captures, ROUND_MOD_EXPR);
9442 : 0 : if (res) return res;
9443 : : }
9444 : : }
9445 : 0 : if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
9446 : : {
9447 : 0 : {
9448 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
9449 : 0 : tree res = generic_simplify_321 (loc, type, _p0, _p1, captures, ROUND_MOD_EXPR);
9450 : 0 : if (res) return res;
9451 : : }
9452 : : }
9453 : 0 : switch (TREE_CODE (_p0))
9454 : : {
9455 : 0 : case ROUND_MOD_EXPR:
9456 : 0 : {
9457 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
9458 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
9459 : 0 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
9460 : : {
9461 : 0 : {
9462 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
9463 : 0 : tree res = generic_simplify_322 (loc, type, _p0, _p1, captures, ROUND_MOD_EXPR);
9464 : 0 : if (res) return res;
9465 : : }
9466 : : }
9467 : : break;
9468 : : }
9469 : 0 : case MULT_EXPR:
9470 : 0 : {
9471 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
9472 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
9473 : 0 : switch (TREE_CODE (_q21))
9474 : : {
9475 : 0 : case INTEGER_CST:
9476 : 0 : {
9477 : 0 : switch (TREE_CODE (_p1))
9478 : : {
9479 : 0 : case INTEGER_CST:
9480 : 0 : {
9481 : 0 : {
9482 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
9483 : 0 : tree res = generic_simplify_323 (loc, type, _p0, _p1, captures, ROUND_MOD_EXPR);
9484 : 0 : if (res) return res;
9485 : : }
9486 : 0 : break;
9487 : : }
9488 : : default:;
9489 : : }
9490 : : break;
9491 : : }
9492 : : default:;
9493 : : }
9494 : : break;
9495 : : }
9496 : 0 : case VEC_COND_EXPR:
9497 : 0 : {
9498 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
9499 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
9500 : 0 : tree _q22 = TREE_OPERAND (_p0, 2);
9501 : 0 : switch (TREE_CODE (_p1))
9502 : : {
9503 : 0 : case VEC_COND_EXPR:
9504 : 0 : {
9505 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
9506 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
9507 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
9508 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
9509 : : {
9510 : 0 : {
9511 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
9512 : 0 : if (VECTOR_TYPE_P (type)
9513 : 0 : && (TREE_CODE_CLASS (ROUND_MOD_EXPR) != tcc_comparison
9514 : : || types_match (type, TREE_TYPE (captures[2]))
9515 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
9516 : : || (optimize_vectors_before_lowering_p ()
9517 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
9518 : : )
9519 : : {
9520 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1786;
9521 : 0 : {
9522 : 0 : tree res_op0;
9523 : 0 : res_op0 = captures[1];
9524 : 0 : tree res_op1;
9525 : 0 : {
9526 : 0 : tree _o1[2], _r1;
9527 : 0 : _o1[0] = captures[2];
9528 : 0 : _o1[1] = captures[5];
9529 : 0 : _r1 = fold_build2_loc (loc, ROUND_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9530 : 0 : if (EXPR_P (_r1))
9531 : 0 : goto next_after_fail1786;
9532 : 0 : res_op1 = _r1;
9533 : : }
9534 : 0 : tree res_op2;
9535 : 0 : {
9536 : 0 : tree _o1[2], _r1;
9537 : 0 : _o1[0] = captures[3];
9538 : 0 : _o1[1] = captures[6];
9539 : 0 : _r1 = fold_build2_loc (loc, ROUND_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9540 : 0 : if (EXPR_P (_r1))
9541 : 0 : goto next_after_fail1786;
9542 : 0 : res_op2 = _r1;
9543 : : }
9544 : 0 : tree _r;
9545 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9546 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 919, __FILE__, __LINE__, true);
9547 : 0 : return _r;
9548 : : }
9549 : 0 : next_after_fail1786:;
9550 : : }
9551 : : }
9552 : : }
9553 : : break;
9554 : : }
9555 : 0 : default:;
9556 : : }
9557 : 0 : {
9558 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
9559 : 0 : if (VECTOR_TYPE_P (type)
9560 : 0 : && (TREE_CODE_CLASS (ROUND_MOD_EXPR) != tcc_comparison
9561 : : || types_match (type, TREE_TYPE (captures[2]))
9562 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
9563 : : || (optimize_vectors_before_lowering_p ()
9564 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
9565 : : )
9566 : : {
9567 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1787;
9568 : 0 : {
9569 : 0 : if (! tree_invariant_p (captures[4])) goto next_after_fail1787;
9570 : 0 : tree res_op0;
9571 : 0 : res_op0 = captures[1];
9572 : 0 : tree res_op1;
9573 : 0 : {
9574 : 0 : tree _o1[2], _r1;
9575 : 0 : _o1[0] = captures[2];
9576 : 0 : _o1[1] = unshare_expr (captures[4]);
9577 : 0 : _r1 = fold_build2_loc (loc, ROUND_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9578 : 0 : if (EXPR_P (_r1))
9579 : 0 : goto next_after_fail1787;
9580 : 0 : res_op1 = _r1;
9581 : : }
9582 : 0 : tree res_op2;
9583 : 0 : {
9584 : 0 : tree _o1[2], _r1;
9585 : 0 : _o1[0] = captures[3];
9586 : 0 : _o1[1] = captures[4];
9587 : 0 : _r1 = fold_build2_loc (loc, ROUND_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9588 : 0 : if (EXPR_P (_r1))
9589 : 0 : goto next_after_fail1787;
9590 : 0 : res_op2 = _r1;
9591 : : }
9592 : 0 : tree _r;
9593 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9594 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 920, __FILE__, __LINE__, true);
9595 : 0 : return _r;
9596 : : }
9597 : 0 : next_after_fail1787:;
9598 : : }
9599 : : }
9600 : 0 : break;
9601 : : }
9602 : 0 : default:;
9603 : : }
9604 : 0 : switch (TREE_CODE (_p1))
9605 : : {
9606 : 0 : case VEC_COND_EXPR:
9607 : 0 : {
9608 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
9609 : 0 : tree _q31 = TREE_OPERAND (_p1, 1);
9610 : 0 : tree _q32 = TREE_OPERAND (_p1, 2);
9611 : 0 : {
9612 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
9613 : 0 : if (VECTOR_TYPE_P (type)
9614 : 0 : && (TREE_CODE_CLASS (ROUND_MOD_EXPR) != tcc_comparison
9615 : : || types_match (type, TREE_TYPE (captures[3]))
9616 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
9617 : : || (optimize_vectors_before_lowering_p ()
9618 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
9619 : : )
9620 : : {
9621 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1788;
9622 : 0 : {
9623 : 0 : if (! tree_invariant_p (captures[0])) goto next_after_fail1788;
9624 : 0 : tree res_op0;
9625 : 0 : res_op0 = captures[2];
9626 : 0 : tree res_op1;
9627 : 0 : {
9628 : 0 : tree _o1[2], _r1;
9629 : 0 : _o1[0] = unshare_expr (captures[0]);
9630 : 0 : _o1[1] = captures[3];
9631 : 0 : _r1 = fold_build2_loc (loc, ROUND_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9632 : 0 : if (EXPR_P (_r1))
9633 : 0 : goto next_after_fail1788;
9634 : 0 : res_op1 = _r1;
9635 : : }
9636 : 0 : tree res_op2;
9637 : 0 : {
9638 : 0 : tree _o1[2], _r1;
9639 : 0 : _o1[0] = captures[0];
9640 : 0 : _o1[1] = captures[4];
9641 : 0 : _r1 = fold_build2_loc (loc, ROUND_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9642 : 0 : if (EXPR_P (_r1))
9643 : 0 : goto next_after_fail1788;
9644 : 0 : res_op2 = _r1;
9645 : : }
9646 : 0 : tree _r;
9647 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9648 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 921, __FILE__, __LINE__, true);
9649 : 0 : return _r;
9650 : : }
9651 : 0 : next_after_fail1788:;
9652 : : }
9653 : : }
9654 : 0 : break;
9655 : : }
9656 : : default:;
9657 : : }
9658 : : return NULL_TREE;
9659 : : }
9660 : :
9661 : : tree
9662 : 1841028 : generic_simplify_TRUNC_MOD_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
9663 : : {
9664 : 1841028 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
9665 : 1841028 : if (integer_zerop (_p0))
9666 : : {
9667 : 917 : {
9668 : 917 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
9669 : 917 : tree res = generic_simplify_318 (loc, type, _p0, _p1, captures, TRUNC_MOD_EXPR);
9670 : 917 : if (res) return res;
9671 : : }
9672 : : }
9673 : 1840243 : if (integer_onep (_p1))
9674 : : {
9675 : 230897 : {
9676 : 230897 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
9677 : 230897 : tree res = generic_simplify_319 (loc, type, _p0, _p1, captures, TRUNC_MOD_EXPR);
9678 : 230897 : if (res) return res;
9679 : : }
9680 : : }
9681 : 1609346 : if (integer_minus_onep (_p1))
9682 : : {
9683 : 529 : {
9684 : 529 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
9685 : 529 : tree res = generic_simplify_320 (loc, type, _p0, _p1, captures, TRUNC_MOD_EXPR);
9686 : 529 : if (res) return res;
9687 : : }
9688 : : }
9689 : 1609326 : if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
9690 : : {
9691 : 225 : {
9692 : 225 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
9693 : 225 : tree res = generic_simplify_321 (loc, type, _p0, _p1, captures, TRUNC_MOD_EXPR);
9694 : 225 : if (res) return res;
9695 : : }
9696 : : }
9697 : 1609233 : switch (TREE_CODE (_p0))
9698 : : {
9699 : 107 : case TRUNC_MOD_EXPR:
9700 : 107 : {
9701 : 107 : tree _q20 = TREE_OPERAND (_p0, 0);
9702 : 107 : tree _q21 = TREE_OPERAND (_p0, 1);
9703 : 107 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
9704 : : {
9705 : 52 : {
9706 : 52 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
9707 : 52 : tree res = generic_simplify_322 (loc, type, _p0, _p1, captures, TRUNC_MOD_EXPR);
9708 : 52 : if (res) return res;
9709 : : }
9710 : : }
9711 : : break;
9712 : : }
9713 : 7174 : case MULT_EXPR:
9714 : 7174 : {
9715 : 7174 : tree _q20 = TREE_OPERAND (_p0, 0);
9716 : 7174 : tree _q21 = TREE_OPERAND (_p0, 1);
9717 : 7174 : switch (TREE_CODE (_q21))
9718 : : {
9719 : 7081 : case INTEGER_CST:
9720 : 7081 : {
9721 : 7081 : switch (TREE_CODE (_p1))
9722 : : {
9723 : 7059 : case INTEGER_CST:
9724 : 7059 : {
9725 : 7059 : {
9726 : 7059 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
9727 : 7059 : tree res = generic_simplify_323 (loc, type, _p0, _p1, captures, TRUNC_MOD_EXPR);
9728 : 7059 : if (res) return res;
9729 : : }
9730 : 7059 : break;
9731 : : }
9732 : : default:;
9733 : : }
9734 : : break;
9735 : : }
9736 : : default:;
9737 : : }
9738 : : break;
9739 : : }
9740 : 1609181 : default:;
9741 : : }
9742 : 1609181 : switch (TREE_CODE (_p1))
9743 : : {
9744 : 1387336 : case INTEGER_CST:
9745 : 1387336 : {
9746 : 1387336 : {
9747 : 1387336 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
9748 : 1387336 : if (TYPE_SIGN (type) == SIGNED
9749 : 184955 : && !TREE_OVERFLOW (captures[1])
9750 : 1387340 : && wi::neg_p (wi::to_wide (captures[1]))
9751 : 313 : && !TYPE_OVERFLOW_TRAPS (type)
9752 : 1387649 : && !sign_bit_p (captures[1], captures[1])
9753 : : )
9754 : : {
9755 : 309 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1789;
9756 : 309 : {
9757 : 309 : tree res_op0;
9758 : 309 : res_op0 = captures[0];
9759 : 309 : tree res_op1;
9760 : 309 : {
9761 : 309 : tree _o1[1], _r1;
9762 : 309 : _o1[0] = captures[1];
9763 : 309 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
9764 : 309 : res_op1 = _r1;
9765 : : }
9766 : 309 : tree _r;
9767 : 309 : _r = fold_build2_loc (loc, TRUNC_MOD_EXPR, type, res_op0, res_op1);
9768 : 309 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1029, __FILE__, __LINE__, true);
9769 : 309 : return _r;
9770 : : }
9771 : 0 : next_after_fail1789:;
9772 : : }
9773 : : }
9774 : 1387027 : break;
9775 : : }
9776 : 40103 : CASE_CONVERT:
9777 : 40103 : {
9778 : 40103 : tree _q30 = TREE_OPERAND (_p1, 0);
9779 : 40103 : switch (TREE_CODE (_q30))
9780 : : {
9781 : 0 : case NEGATE_EXPR:
9782 : 0 : {
9783 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
9784 : 0 : {
9785 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q40 };
9786 : 0 : tree res = generic_simplify_405 (loc, type, _p0, _p1, captures);
9787 : 0 : if (res) return res;
9788 : : }
9789 : 0 : break;
9790 : : }
9791 : 40103 : default:;
9792 : : }
9793 : 40103 : {
9794 : 40103 : tree _q30_pops[1];
9795 : 40103 : if (tree_power_of_two_cand (_q30, _q30_pops))
9796 : : {
9797 : 7 : tree _q40 = _q30_pops[0];
9798 : 7 : {
9799 : 7 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q40 };
9800 : 7 : tree res = generic_simplify_324 (loc, type, _p0, _p1, captures, TRUNC_MOD_EXPR);
9801 : 7 : if (res) return res;
9802 : : }
9803 : : }
9804 : : }
9805 : 40096 : break;
9806 : : }
9807 : 94 : case NEGATE_EXPR:
9808 : 94 : {
9809 : 94 : tree _q30 = TREE_OPERAND (_p1, 0);
9810 : 94 : {
9811 : 94 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
9812 : 94 : tree res = generic_simplify_405 (loc, type, _p0, _p1, captures);
9813 : 94 : if (res) return res;
9814 : : }
9815 : 94 : break;
9816 : : }
9817 : 1608865 : default:;
9818 : : }
9819 : 1608865 : {
9820 : 1608865 : tree _p1_pops[1];
9821 : 1608865 : if (tree_power_of_two_cand (_p1, _p1_pops))
9822 : : {
9823 : 1387036 : tree _q30 = _p1_pops[0];
9824 : 1387036 : {
9825 : 1387036 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q30 };
9826 : 1387036 : tree res = generic_simplify_324 (loc, type, _p0, _p1, captures, TRUNC_MOD_EXPR);
9827 : 1387036 : if (res) return res;
9828 : : }
9829 : : }
9830 : : }
9831 : 628234 : switch (TREE_CODE (_p0))
9832 : : {
9833 : 0 : case VEC_COND_EXPR:
9834 : 0 : {
9835 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
9836 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
9837 : 0 : tree _q22 = TREE_OPERAND (_p0, 2);
9838 : 0 : switch (TREE_CODE (_p1))
9839 : : {
9840 : 0 : case VEC_COND_EXPR:
9841 : 0 : {
9842 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
9843 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
9844 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
9845 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
9846 : : {
9847 : 0 : {
9848 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
9849 : 0 : if (VECTOR_TYPE_P (type)
9850 : 0 : && (TREE_CODE_CLASS (TRUNC_MOD_EXPR) != tcc_comparison
9851 : : || types_match (type, TREE_TYPE (captures[2]))
9852 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
9853 : : || (optimize_vectors_before_lowering_p ()
9854 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
9855 : : )
9856 : : {
9857 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1790;
9858 : 0 : {
9859 : 0 : tree res_op0;
9860 : 0 : res_op0 = captures[1];
9861 : 0 : tree res_op1;
9862 : 0 : {
9863 : 0 : tree _o1[2], _r1;
9864 : 0 : _o1[0] = captures[2];
9865 : 0 : _o1[1] = captures[5];
9866 : 0 : _r1 = fold_build2_loc (loc, TRUNC_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9867 : 0 : if (EXPR_P (_r1))
9868 : 0 : goto next_after_fail1790;
9869 : 0 : res_op1 = _r1;
9870 : : }
9871 : 0 : tree res_op2;
9872 : 0 : {
9873 : 0 : tree _o1[2], _r1;
9874 : 0 : _o1[0] = captures[3];
9875 : 0 : _o1[1] = captures[6];
9876 : 0 : _r1 = fold_build2_loc (loc, TRUNC_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9877 : 0 : if (EXPR_P (_r1))
9878 : 0 : goto next_after_fail1790;
9879 : 0 : res_op2 = _r1;
9880 : : }
9881 : 0 : tree _r;
9882 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9883 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 919, __FILE__, __LINE__, true);
9884 : 0 : return _r;
9885 : : }
9886 : 0 : next_after_fail1790:;
9887 : : }
9888 : : }
9889 : : }
9890 : : break;
9891 : : }
9892 : 0 : default:;
9893 : : }
9894 : 0 : {
9895 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
9896 : 0 : if (VECTOR_TYPE_P (type)
9897 : 0 : && (TREE_CODE_CLASS (TRUNC_MOD_EXPR) != tcc_comparison
9898 : : || types_match (type, TREE_TYPE (captures[2]))
9899 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
9900 : : || (optimize_vectors_before_lowering_p ()
9901 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
9902 : : )
9903 : : {
9904 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1791;
9905 : 0 : {
9906 : 0 : if (! tree_invariant_p (captures[4])) goto next_after_fail1791;
9907 : 0 : tree res_op0;
9908 : 0 : res_op0 = captures[1];
9909 : 0 : tree res_op1;
9910 : 0 : {
9911 : 0 : tree _o1[2], _r1;
9912 : 0 : _o1[0] = captures[2];
9913 : 0 : _o1[1] = unshare_expr (captures[4]);
9914 : 0 : _r1 = fold_build2_loc (loc, TRUNC_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9915 : 0 : if (EXPR_P (_r1))
9916 : 0 : goto next_after_fail1791;
9917 : 0 : res_op1 = _r1;
9918 : : }
9919 : 0 : tree res_op2;
9920 : 0 : {
9921 : 0 : tree _o1[2], _r1;
9922 : 0 : _o1[0] = captures[3];
9923 : 0 : _o1[1] = captures[4];
9924 : 0 : _r1 = fold_build2_loc (loc, TRUNC_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9925 : 0 : if (EXPR_P (_r1))
9926 : 0 : goto next_after_fail1791;
9927 : 0 : res_op2 = _r1;
9928 : : }
9929 : 0 : tree _r;
9930 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9931 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 920, __FILE__, __LINE__, true);
9932 : 0 : return _r;
9933 : : }
9934 : 0 : next_after_fail1791:;
9935 : : }
9936 : : }
9937 : 0 : break;
9938 : : }
9939 : 628234 : default:;
9940 : : }
9941 : 628234 : switch (TREE_CODE (_p1))
9942 : : {
9943 : 7 : case VEC_COND_EXPR:
9944 : 7 : {
9945 : 7 : tree _q30 = TREE_OPERAND (_p1, 0);
9946 : 7 : tree _q31 = TREE_OPERAND (_p1, 1);
9947 : 7 : tree _q32 = TREE_OPERAND (_p1, 2);
9948 : 7 : {
9949 : 7 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
9950 : 7 : if (VECTOR_TYPE_P (type)
9951 : 7 : && (TREE_CODE_CLASS (TRUNC_MOD_EXPR) != tcc_comparison
9952 : : || types_match (type, TREE_TYPE (captures[3]))
9953 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
9954 : : || (optimize_vectors_before_lowering_p ()
9955 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
9956 : : )
9957 : : {
9958 : 7 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1792;
9959 : 7 : {
9960 : 7 : if (! tree_invariant_p (captures[0])) goto next_after_fail1792;
9961 : 0 : tree res_op0;
9962 : 0 : res_op0 = captures[2];
9963 : 0 : tree res_op1;
9964 : 0 : {
9965 : 0 : tree _o1[2], _r1;
9966 : 0 : _o1[0] = unshare_expr (captures[0]);
9967 : 0 : _o1[1] = captures[3];
9968 : 0 : _r1 = fold_build2_loc (loc, TRUNC_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9969 : 0 : if (EXPR_P (_r1))
9970 : 0 : goto next_after_fail1792;
9971 : 0 : res_op1 = _r1;
9972 : : }
9973 : 0 : tree res_op2;
9974 : 0 : {
9975 : 0 : tree _o1[2], _r1;
9976 : 0 : _o1[0] = captures[0];
9977 : 0 : _o1[1] = captures[4];
9978 : 0 : _r1 = fold_build2_loc (loc, TRUNC_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9979 : 0 : if (EXPR_P (_r1))
9980 : 0 : goto next_after_fail1792;
9981 : 0 : res_op2 = _r1;
9982 : : }
9983 : 0 : tree _r;
9984 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9985 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 921, __FILE__, __LINE__, true);
9986 : 0 : return _r;
9987 : : }
9988 : 7 : next_after_fail1792:;
9989 : : }
9990 : : }
9991 : 7 : break;
9992 : : }
9993 : : default:;
9994 : : }
9995 : : return NULL_TREE;
9996 : : }
9997 : :
9998 : : tree
9999 : 904489 : generic_simplify_RSHIFT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
10000 : : {
10001 : 904489 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
10002 : 904489 : switch (TREE_CODE (_p1))
10003 : : {
10004 : 175 : case TRUNC_MOD_EXPR:
10005 : 175 : {
10006 : 175 : tree _q30 = TREE_OPERAND (_p1, 0);
10007 : 175 : tree _q31 = TREE_OPERAND (_p1, 1);
10008 : 175 : {
10009 : 175 : tree _q31_pops[1];
10010 : 175 : if (tree_power_of_two_cand (_q31, _q31_pops))
10011 : : {
10012 : 167 : tree _q50 = _q31_pops[0];
10013 : 167 : {
10014 : 167 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _q50 };
10015 : 167 : tree res = generic_simplify_406 (loc, type, _p0, _p1, captures, RSHIFT_EXPR, TRUNC_MOD_EXPR);
10016 : 167 : if (res) return res;
10017 : : }
10018 : : }
10019 : : }
10020 : 14 : break;
10021 : : }
10022 : 0 : case FLOOR_MOD_EXPR:
10023 : 0 : {
10024 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
10025 : 0 : tree _q31 = TREE_OPERAND (_p1, 1);
10026 : 0 : {
10027 : 0 : tree _q31_pops[1];
10028 : 0 : if (tree_power_of_two_cand (_q31, _q31_pops))
10029 : : {
10030 : 0 : tree _q50 = _q31_pops[0];
10031 : 0 : {
10032 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _q50 };
10033 : 0 : tree res = generic_simplify_406 (loc, type, _p0, _p1, captures, RSHIFT_EXPR, FLOOR_MOD_EXPR);
10034 : 0 : if (res) return res;
10035 : : }
10036 : : }
10037 : : }
10038 : 0 : break;
10039 : : }
10040 : 904328 : default:;
10041 : : }
10042 : 904328 : if (uniform_integer_cst_p (_p1))
10043 : : {
10044 : 751604 : {
10045 : 751604 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
10046 : 751604 : tree res = generic_simplify_407 (loc, type, _p0, _p1, captures, RSHIFT_EXPR);
10047 : 751604 : if (res) return res;
10048 : : }
10049 : : }
10050 : 903571 : switch (TREE_CODE (_p0))
10051 : : {
10052 : 58 : case NEGATE_EXPR:
10053 : 58 : {
10054 : 58 : tree _q20 = TREE_OPERAND (_p0, 0);
10055 : 58 : switch (TREE_CODE (_p1))
10056 : : {
10057 : 57 : case INTEGER_CST:
10058 : 57 : {
10059 : 57 : {
10060 : 57 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
10061 : 57 : if (!TYPE_UNSIGNED (type)
10062 : 57 : && TYPE_OVERFLOW_UNDEFINED (type)
10063 : : )
10064 : : {
10065 : 32 : {
10066 : 32 : tree stype = TREE_TYPE (captures[2]);
10067 : 32 : tree bt = truth_type_for (type);
10068 : 32 : tree zeros = build_zero_cst (type);
10069 : 32 : tree INTEGER_CST = NULL_TREE;
10070 : 32 : if (INTEGRAL_TYPE_P (type)
10071 : : && canonicalize_math_after_vectorization_p ()
10072 : : && wi::eq_p (wi::to_wide (captures[2]), TYPE_PRECISION (type) - 1)
10073 : : )
10074 : : {
10075 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1801;
10076 : : {
10077 : : tree res_op0;
10078 : : {
10079 : : tree _o1[1], _r1;
10080 : : {
10081 : : tree _o2[2], _r2;
10082 : : _o2[0] = captures[1];
10083 : : _o2[1] = zeros;
10084 : : _r2 = fold_build2_loc (loc, GT_EXPR, boolean_type_node, _o2[0], _o2[1]);
10085 : : _o1[0] = _r2;
10086 : : }
10087 : : if (TREE_TYPE (_o1[0]) != type)
10088 : : {
10089 : : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
10090 : : }
10091 : : else
10092 : : _r1 = _o1[0];
10093 : : res_op0 = _r1;
10094 : : }
10095 : : tree _r;
10096 : : _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
10097 : : if (TREE_SIDE_EFFECTS (captures[2]))
10098 : : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
10099 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1034, __FILE__, __LINE__, true);
10100 : : return _r;
10101 : : }
10102 : : next_after_fail1801:;
10103 : : }
10104 : : else
10105 : : {
10106 : 0 : if (VECTOR_INTEGER_TYPE_P (type)
10107 : 0 : && TYPE_MODE (bt) == TYPE_MODE (type)
10108 : 0 : && expand_vec_cmp_expr_p (type, bt, GT_EXPR)
10109 : 0 : && (INTEGER_CST = uniform_integer_cst_p (captures[2])) != NULL
10110 : 32 : && wi::eq_p (wi::to_wide (INTEGER_CST), element_precision (type) - 1)
10111 : : )
10112 : : {
10113 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1802;
10114 : 0 : {
10115 : 0 : tree res_op0;
10116 : 0 : {
10117 : 0 : tree _o1[2], _r1;
10118 : 0 : _o1[0] = captures[1];
10119 : 0 : _o1[1] = zeros;
10120 : 0 : _r1 = fold_build2_loc (loc, GT_EXPR, bt, _o1[0], _o1[1]);
10121 : 0 : res_op0 = _r1;
10122 : : }
10123 : 0 : tree _r;
10124 : 0 : _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
10125 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
10126 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
10127 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1035, __FILE__, __LINE__, true);
10128 : 0 : return _r;
10129 : : }
10130 : 0 : next_after_fail1802:;
10131 : : }
10132 : : }
10133 : : }
10134 : : }
10135 : : }
10136 : 57 : break;
10137 : : }
10138 : 0 : case VECTOR_CST:
10139 : 0 : {
10140 : 0 : {
10141 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
10142 : 0 : if (!TYPE_UNSIGNED (type)
10143 : 0 : && TYPE_OVERFLOW_UNDEFINED (type)
10144 : : )
10145 : : {
10146 : 0 : {
10147 : 0 : tree stype = TREE_TYPE (captures[2]);
10148 : 0 : tree bt = truth_type_for (type);
10149 : 0 : tree zeros = build_zero_cst (type);
10150 : 0 : tree VECTOR_CST = NULL_TREE;
10151 : 0 : if (INTEGRAL_TYPE_P (type)
10152 : : && canonicalize_math_after_vectorization_p ()
10153 : : && wi::eq_p (wi::to_wide (captures[2]), TYPE_PRECISION (type) - 1)
10154 : : )
10155 : : {
10156 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1803;
10157 : : {
10158 : : tree res_op0;
10159 : : {
10160 : : tree _o1[1], _r1;
10161 : : {
10162 : : tree _o2[2], _r2;
10163 : : _o2[0] = captures[1];
10164 : : _o2[1] = zeros;
10165 : : _r2 = fold_build2_loc (loc, GT_EXPR, boolean_type_node, _o2[0], _o2[1]);
10166 : : _o1[0] = _r2;
10167 : : }
10168 : : if (TREE_TYPE (_o1[0]) != type)
10169 : : {
10170 : : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
10171 : : }
10172 : : else
10173 : : _r1 = _o1[0];
10174 : : res_op0 = _r1;
10175 : : }
10176 : : tree _r;
10177 : : _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
10178 : : if (TREE_SIDE_EFFECTS (captures[2]))
10179 : : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
10180 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1034, __FILE__, __LINE__, true);
10181 : : return _r;
10182 : : }
10183 : : next_after_fail1803:;
10184 : : }
10185 : : else
10186 : : {
10187 : 0 : if (VECTOR_INTEGER_TYPE_P (type)
10188 : 0 : && TYPE_MODE (bt) == TYPE_MODE (type)
10189 : 0 : && expand_vec_cmp_expr_p (type, bt, GT_EXPR)
10190 : 0 : && (VECTOR_CST = uniform_integer_cst_p (captures[2])) != NULL
10191 : 0 : && wi::eq_p (wi::to_wide (VECTOR_CST), element_precision (type) - 1)
10192 : : )
10193 : : {
10194 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1804;
10195 : 0 : {
10196 : 0 : tree res_op0;
10197 : 0 : {
10198 : 0 : tree _o1[2], _r1;
10199 : 0 : _o1[0] = captures[1];
10200 : 0 : _o1[1] = zeros;
10201 : 0 : _r1 = fold_build2_loc (loc, GT_EXPR, bt, _o1[0], _o1[1]);
10202 : 0 : res_op0 = _r1;
10203 : : }
10204 : 0 : tree _r;
10205 : 0 : _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
10206 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
10207 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
10208 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1035, __FILE__, __LINE__, true);
10209 : 0 : return _r;
10210 : : }
10211 : 0 : next_after_fail1804:;
10212 : : }
10213 : : }
10214 : : }
10215 : : }
10216 : : }
10217 : 0 : break;
10218 : : }
10219 : : default:;
10220 : : }
10221 : : break;
10222 : : }
10223 : 437 : case LSHIFT_EXPR:
10224 : 437 : {
10225 : 437 : tree _q20 = TREE_OPERAND (_p0, 0);
10226 : 437 : tree _q21 = TREE_OPERAND (_p0, 1);
10227 : 437 : switch (TREE_CODE (_q21))
10228 : : {
10229 : 358 : case INTEGER_CST:
10230 : 358 : {
10231 : 358 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q21, 0))
10232 : : {
10233 : 67 : {
10234 : 67 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _q21 };
10235 : 67 : tree res = generic_simplify_416 (loc, type, _p0, _p1, captures);
10236 : 67 : if (res) return res;
10237 : : }
10238 : : }
10239 : : break;
10240 : : }
10241 : : default:;
10242 : : }
10243 : : break;
10244 : : }
10245 : 903544 : default:;
10246 : : }
10247 : 903544 : {
10248 : 903544 : tree _p0_pops[1];
10249 : 903544 : if (tree_nop_convert (_p0, _p0_pops))
10250 : : {
10251 : 181836 : tree _q20 = _p0_pops[0];
10252 : 181836 : switch (TREE_CODE (_q20))
10253 : : {
10254 : 20 : case LSHIFT_EXPR:
10255 : 20 : {
10256 : 20 : tree _q30 = TREE_OPERAND (_q20, 0);
10257 : 20 : tree _q31 = TREE_OPERAND (_q20, 1);
10258 : 20 : switch (TREE_CODE (_q31))
10259 : : {
10260 : 0 : case INTEGER_CST:
10261 : 0 : {
10262 : 0 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q31, 0))
10263 : : {
10264 : 0 : {
10265 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _p1, _q31 };
10266 : 0 : tree res = generic_simplify_416 (loc, type, _p0, _p1, captures);
10267 : 0 : if (res) return res;
10268 : : }
10269 : : }
10270 : : break;
10271 : : }
10272 : : default:;
10273 : : }
10274 : : break;
10275 : : }
10276 : : default:;
10277 : : }
10278 : : }
10279 : : }
10280 : 903544 : if (integer_all_onesp (_p0))
10281 : : {
10282 : 11203 : {
10283 : 11203 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
10284 : 11203 : if (!TYPE_UNSIGNED (type)
10285 : : )
10286 : : {
10287 : 119 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1805;
10288 : 119 : {
10289 : 119 : tree _r;
10290 : 119 : _r = captures[0];
10291 : 119 : if (TREE_SIDE_EFFECTS (captures[1]))
10292 : 1 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
10293 : 119 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1036, __FILE__, __LINE__, true);
10294 : 119 : return _r;
10295 : : }
10296 : 0 : next_after_fail1805:;
10297 : : }
10298 : : }
10299 : : }
10300 : 903425 : if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
10301 : : {
10302 : 25 : {
10303 : 25 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
10304 : 25 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1806;
10305 : 25 : {
10306 : 25 : tree _r;
10307 : 25 : _r = build_zero_cst (type);
10308 : 25 : if (TREE_SIDE_EFFECTS (captures[0]))
10309 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
10310 : 25 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1037, __FILE__, __LINE__, true);
10311 : 25 : return _r;
10312 : : }
10313 : 0 : next_after_fail1806:;
10314 : : }
10315 : : }
10316 : 903400 : if (integer_zerop (_p1))
10317 : : {
10318 : 1052 : {
10319 : 1052 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
10320 : 1052 : tree res = generic_simplify_409 (loc, type, _p0, _p1, captures, RSHIFT_EXPR);
10321 : 1052 : if (res) return res;
10322 : : }
10323 : : }
10324 : 902348 : if (integer_zerop (_p0))
10325 : : {
10326 : 154 : {
10327 : 154 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
10328 : 154 : tree res = generic_simplify_410 (loc, type, _p0, _p1, captures, RSHIFT_EXPR);
10329 : 154 : if (res) return res;
10330 : : }
10331 : : }
10332 : 902194 : switch (TREE_CODE (_p1))
10333 : : {
10334 : 0 : case VECTOR_CST:
10335 : 0 : {
10336 : 0 : {
10337 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
10338 : 0 : tree res = generic_simplify_411 (loc, type, _p0, _p1, captures, RSHIFT_EXPR);
10339 : 0 : if (res) return res;
10340 : : }
10341 : 0 : break;
10342 : : }
10343 : 0 : case CONSTRUCTOR:
10344 : 0 : {
10345 : 0 : {
10346 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
10347 : 0 : tree res = generic_simplify_412 (loc, type, _p0, _p1, captures, RSHIFT_EXPR);
10348 : 0 : if (res) return res;
10349 : : }
10350 : 0 : break;
10351 : : }
10352 : 902194 : default:;
10353 : : }
10354 : 902194 : switch (TREE_CODE (_p0))
10355 : : {
10356 : 118 : case RSHIFT_EXPR:
10357 : 118 : {
10358 : 118 : tree _q20 = TREE_OPERAND (_p0, 0);
10359 : 118 : tree _q21 = TREE_OPERAND (_p0, 1);
10360 : 118 : switch (TREE_CODE (_q21))
10361 : : {
10362 : 73 : case INTEGER_CST:
10363 : 73 : {
10364 : 73 : switch (TREE_CODE (_p1))
10365 : : {
10366 : 47 : case INTEGER_CST:
10367 : 47 : {
10368 : 47 : {
10369 : 47 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
10370 : 47 : tree res = generic_simplify_413 (loc, type, _p0, _p1, captures, RSHIFT_EXPR);
10371 : 47 : if (res) return res;
10372 : : }
10373 : 0 : break;
10374 : : }
10375 : : default:;
10376 : : }
10377 : : break;
10378 : : }
10379 : : default:;
10380 : : }
10381 : : break;
10382 : : }
10383 : 212319 : CASE_CONVERT:
10384 : 212319 : {
10385 : 212319 : tree _q20 = TREE_OPERAND (_p0, 0);
10386 : 212319 : switch (TREE_CODE (_q20))
10387 : : {
10388 : 6 : case BIT_AND_EXPR:
10389 : 6 : {
10390 : 6 : tree _q30 = TREE_OPERAND (_q20, 0);
10391 : 6 : tree _q31 = TREE_OPERAND (_q20, 1);
10392 : 6 : switch (TREE_CODE (_q31))
10393 : : {
10394 : 0 : case INTEGER_CST:
10395 : 0 : {
10396 : 0 : switch (TREE_CODE (_p1))
10397 : : {
10398 : 0 : case INTEGER_CST:
10399 : 0 : {
10400 : 0 : {
10401 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1 };
10402 : 0 : tree res = generic_simplify_414 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, RSHIFT_EXPR);
10403 : 0 : if (res) return res;
10404 : : }
10405 : 0 : break;
10406 : : }
10407 : : default:;
10408 : : }
10409 : : break;
10410 : : }
10411 : : default:;
10412 : : }
10413 : : break;
10414 : : }
10415 : 14 : case BIT_XOR_EXPR:
10416 : 14 : {
10417 : 14 : tree _q30 = TREE_OPERAND (_q20, 0);
10418 : 14 : tree _q31 = TREE_OPERAND (_q20, 1);
10419 : 14 : switch (TREE_CODE (_q31))
10420 : : {
10421 : 0 : case INTEGER_CST:
10422 : 0 : {
10423 : 0 : switch (TREE_CODE (_p1))
10424 : : {
10425 : 0 : case INTEGER_CST:
10426 : 0 : {
10427 : 0 : {
10428 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1 };
10429 : 0 : tree res = generic_simplify_414 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, RSHIFT_EXPR);
10430 : 0 : if (res) return res;
10431 : : }
10432 : 0 : break;
10433 : : }
10434 : : default:;
10435 : : }
10436 : : break;
10437 : : }
10438 : : default:;
10439 : : }
10440 : : break;
10441 : : }
10442 : 44 : case BIT_IOR_EXPR:
10443 : 44 : {
10444 : 44 : tree _q30 = TREE_OPERAND (_q20, 0);
10445 : 44 : tree _q31 = TREE_OPERAND (_q20, 1);
10446 : 44 : switch (TREE_CODE (_q31))
10447 : : {
10448 : 25 : case INTEGER_CST:
10449 : 25 : {
10450 : 25 : switch (TREE_CODE (_p1))
10451 : : {
10452 : 8 : case INTEGER_CST:
10453 : 8 : {
10454 : 8 : {
10455 : 8 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1 };
10456 : 8 : tree res = generic_simplify_414 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, RSHIFT_EXPR);
10457 : 8 : if (res) return res;
10458 : : }
10459 : 1 : break;
10460 : : }
10461 : : default:;
10462 : : }
10463 : : break;
10464 : : }
10465 : : default:;
10466 : : }
10467 : : break;
10468 : : }
10469 : 59 : case CALL_EXPR:
10470 : 59 : switch (get_call_combined_fn (_q20))
10471 : : {
10472 : 0 : case CFN_BUILT_IN_BSWAP128:
10473 : 0 : if (call_expr_nargs (_q20) == 1)
10474 : : {
10475 : 0 : tree _q30 = CALL_EXPR_ARG (_q20, 0);
10476 : 0 : switch (TREE_CODE (_p1))
10477 : : {
10478 : 0 : case INTEGER_CST:
10479 : 0 : {
10480 : 0 : {
10481 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _p1 };
10482 : 0 : tree res = generic_simplify_417 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_BSWAP128);
10483 : 0 : if (res) return res;
10484 : : }
10485 : 0 : break;
10486 : : }
10487 : : default:;
10488 : : }
10489 : : }
10490 : : break;
10491 : 8 : case CFN_BUILT_IN_BSWAP16:
10492 : 8 : if (call_expr_nargs (_q20) == 1)
10493 : : {
10494 : 8 : tree _q30 = CALL_EXPR_ARG (_q20, 0);
10495 : 8 : switch (TREE_CODE (_p1))
10496 : : {
10497 : 7 : case INTEGER_CST:
10498 : 7 : {
10499 : 7 : {
10500 : 7 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _p1 };
10501 : 7 : tree res = generic_simplify_417 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_BSWAP16);
10502 : 7 : if (res) return res;
10503 : : }
10504 : 2 : break;
10505 : : }
10506 : : default:;
10507 : : }
10508 : : }
10509 : : break;
10510 : 13 : case CFN_BUILT_IN_BSWAP32:
10511 : 13 : if (call_expr_nargs (_q20) == 1)
10512 : : {
10513 : 13 : tree _q30 = CALL_EXPR_ARG (_q20, 0);
10514 : 13 : switch (TREE_CODE (_p1))
10515 : : {
10516 : 13 : case INTEGER_CST:
10517 : 13 : {
10518 : 13 : {
10519 : 13 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _p1 };
10520 : 13 : tree res = generic_simplify_417 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_BSWAP32);
10521 : 13 : if (res) return res;
10522 : : }
10523 : 9 : break;
10524 : : }
10525 : : default:;
10526 : : }
10527 : : }
10528 : : break;
10529 : 18 : case CFN_BUILT_IN_BSWAP64:
10530 : 18 : if (call_expr_nargs (_q20) == 1)
10531 : : {
10532 : 18 : tree _q30 = CALL_EXPR_ARG (_q20, 0);
10533 : 18 : switch (TREE_CODE (_p1))
10534 : : {
10535 : 18 : case INTEGER_CST:
10536 : 18 : {
10537 : 18 : {
10538 : 18 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _p1 };
10539 : 18 : tree res = generic_simplify_417 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_BSWAP64);
10540 : 18 : if (res) return res;
10541 : : }
10542 : 12 : break;
10543 : : }
10544 : : default:;
10545 : : }
10546 : : }
10547 : : break;
10548 : : default:;
10549 : : }
10550 : : break;
10551 : : default:;
10552 : : }
10553 : : break;
10554 : : }
10555 : 13818 : case BIT_AND_EXPR:
10556 : 13818 : {
10557 : 13818 : tree _q20 = TREE_OPERAND (_p0, 0);
10558 : 13818 : tree _q21 = TREE_OPERAND (_p0, 1);
10559 : 13818 : switch (TREE_CODE (_q21))
10560 : : {
10561 : 13768 : case INTEGER_CST:
10562 : 13768 : {
10563 : 13768 : switch (TREE_CODE (_p1))
10564 : : {
10565 : 13745 : case INTEGER_CST:
10566 : 13745 : {
10567 : 13745 : {
10568 : 13745 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1 };
10569 : 13745 : tree res = generic_simplify_415 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, RSHIFT_EXPR);
10570 : 13745 : if (res) return res;
10571 : : }
10572 : 0 : break;
10573 : : }
10574 : : default:;
10575 : : }
10576 : : break;
10577 : : }
10578 : : default:;
10579 : : }
10580 : : break;
10581 : : }
10582 : 233 : case BIT_XOR_EXPR:
10583 : 233 : {
10584 : 233 : tree _q20 = TREE_OPERAND (_p0, 0);
10585 : 233 : tree _q21 = TREE_OPERAND (_p0, 1);
10586 : 233 : switch (TREE_CODE (_q21))
10587 : : {
10588 : 90 : case INTEGER_CST:
10589 : 90 : {
10590 : 90 : switch (TREE_CODE (_p1))
10591 : : {
10592 : 90 : case INTEGER_CST:
10593 : 90 : {
10594 : 90 : {
10595 : 90 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1 };
10596 : 90 : tree res = generic_simplify_415 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, RSHIFT_EXPR);
10597 : 90 : if (res) return res;
10598 : : }
10599 : 0 : break;
10600 : : }
10601 : : default:;
10602 : : }
10603 : : break;
10604 : : }
10605 : : default:;
10606 : : }
10607 : : break;
10608 : : }
10609 : 55 : case BIT_IOR_EXPR:
10610 : 55 : {
10611 : 55 : tree _q20 = TREE_OPERAND (_p0, 0);
10612 : 55 : tree _q21 = TREE_OPERAND (_p0, 1);
10613 : 55 : switch (TREE_CODE (_q21))
10614 : : {
10615 : 10 : case INTEGER_CST:
10616 : 10 : {
10617 : 10 : switch (TREE_CODE (_p1))
10618 : : {
10619 : 8 : case INTEGER_CST:
10620 : 8 : {
10621 : 8 : {
10622 : 8 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1 };
10623 : 8 : tree res = generic_simplify_415 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, RSHIFT_EXPR);
10624 : 8 : if (res) return res;
10625 : : }
10626 : 0 : break;
10627 : : }
10628 : : default:;
10629 : : }
10630 : : break;
10631 : : }
10632 : : default:;
10633 : : }
10634 : : break;
10635 : : }
10636 : 0 : case VEC_COND_EXPR:
10637 : 0 : {
10638 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
10639 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
10640 : 0 : tree _q22 = TREE_OPERAND (_p0, 2);
10641 : 0 : switch (TREE_CODE (_p1))
10642 : : {
10643 : 0 : case VEC_COND_EXPR:
10644 : 0 : {
10645 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
10646 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
10647 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
10648 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
10649 : : {
10650 : 0 : {
10651 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
10652 : 0 : if (VECTOR_TYPE_P (type)
10653 : 0 : && (TREE_CODE_CLASS (RSHIFT_EXPR) != tcc_comparison
10654 : : || types_match (type, TREE_TYPE (captures[2]))
10655 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
10656 : : || (optimize_vectors_before_lowering_p ()
10657 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
10658 : : )
10659 : : {
10660 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1807;
10661 : 0 : {
10662 : 0 : tree res_op0;
10663 : 0 : res_op0 = captures[1];
10664 : 0 : tree res_op1;
10665 : 0 : {
10666 : 0 : tree _o1[2], _r1;
10667 : 0 : _o1[0] = captures[2];
10668 : 0 : _o1[1] = captures[5];
10669 : 0 : _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10670 : 0 : if (EXPR_P (_r1))
10671 : 0 : goto next_after_fail1807;
10672 : 0 : res_op1 = _r1;
10673 : : }
10674 : 0 : tree res_op2;
10675 : 0 : {
10676 : 0 : tree _o1[2], _r1;
10677 : 0 : _o1[0] = captures[3];
10678 : 0 : _o1[1] = captures[6];
10679 : 0 : _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10680 : 0 : if (EXPR_P (_r1))
10681 : 0 : goto next_after_fail1807;
10682 : 0 : res_op2 = _r1;
10683 : : }
10684 : 0 : tree _r;
10685 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10686 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 919, __FILE__, __LINE__, true);
10687 : 0 : return _r;
10688 : : }
10689 : 0 : next_after_fail1807:;
10690 : : }
10691 : : }
10692 : : }
10693 : : break;
10694 : : }
10695 : 0 : default:;
10696 : : }
10697 : 0 : {
10698 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
10699 : 0 : if (VECTOR_TYPE_P (type)
10700 : 0 : && (TREE_CODE_CLASS (RSHIFT_EXPR) != tcc_comparison
10701 : : || types_match (type, TREE_TYPE (captures[2]))
10702 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
10703 : : || (optimize_vectors_before_lowering_p ()
10704 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
10705 : : )
10706 : : {
10707 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1808;
10708 : 0 : {
10709 : 0 : if (! tree_invariant_p (captures[4])) goto next_after_fail1808;
10710 : 0 : tree res_op0;
10711 : 0 : res_op0 = captures[1];
10712 : 0 : tree res_op1;
10713 : 0 : {
10714 : 0 : tree _o1[2], _r1;
10715 : 0 : _o1[0] = captures[2];
10716 : 0 : _o1[1] = unshare_expr (captures[4]);
10717 : 0 : _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10718 : 0 : if (EXPR_P (_r1))
10719 : 0 : goto next_after_fail1808;
10720 : 0 : res_op1 = _r1;
10721 : : }
10722 : 0 : tree res_op2;
10723 : 0 : {
10724 : 0 : tree _o1[2], _r1;
10725 : 0 : _o1[0] = captures[3];
10726 : 0 : _o1[1] = captures[4];
10727 : 0 : _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10728 : 0 : if (EXPR_P (_r1))
10729 : 0 : goto next_after_fail1808;
10730 : 0 : res_op2 = _r1;
10731 : : }
10732 : 0 : tree _r;
10733 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10734 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 920, __FILE__, __LINE__, true);
10735 : 0 : return _r;
10736 : : }
10737 : 0 : next_after_fail1808:;
10738 : : }
10739 : : }
10740 : 0 : break;
10741 : : }
10742 : 433 : case CALL_EXPR:
10743 : 433 : switch (get_call_combined_fn (_p0))
10744 : : {
10745 : 0 : case CFN_BUILT_IN_BSWAP128:
10746 : 0 : if (call_expr_nargs (_p0) == 1)
10747 : : {
10748 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
10749 : 0 : switch (TREE_CODE (_p1))
10750 : : {
10751 : 0 : case INTEGER_CST:
10752 : 0 : {
10753 : 0 : {
10754 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
10755 : 0 : tree res = generic_simplify_417 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_BSWAP128);
10756 : 0 : if (res) return res;
10757 : : }
10758 : 0 : break;
10759 : : }
10760 : : default:;
10761 : : }
10762 : : }
10763 : : break;
10764 : 32 : case CFN_BUILT_IN_BSWAP16:
10765 : 32 : if (call_expr_nargs (_p0) == 1)
10766 : : {
10767 : 32 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
10768 : 32 : switch (TREE_CODE (_p1))
10769 : : {
10770 : 32 : case INTEGER_CST:
10771 : 32 : {
10772 : 32 : {
10773 : 32 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
10774 : 32 : tree res = generic_simplify_417 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_BSWAP16);
10775 : 32 : if (res) return res;
10776 : : }
10777 : 9 : break;
10778 : : }
10779 : : default:;
10780 : : }
10781 : : }
10782 : : break;
10783 : 99 : case CFN_BUILT_IN_BSWAP32:
10784 : 99 : if (call_expr_nargs (_p0) == 1)
10785 : : {
10786 : 99 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
10787 : 99 : switch (TREE_CODE (_p1))
10788 : : {
10789 : 98 : case INTEGER_CST:
10790 : 98 : {
10791 : 98 : {
10792 : 98 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
10793 : 98 : tree res = generic_simplify_417 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_BSWAP32);
10794 : 98 : if (res) return res;
10795 : : }
10796 : 59 : break;
10797 : : }
10798 : : default:;
10799 : : }
10800 : : }
10801 : : break;
10802 : 100 : case CFN_BUILT_IN_BSWAP64:
10803 : 100 : if (call_expr_nargs (_p0) == 1)
10804 : : {
10805 : 100 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
10806 : 100 : switch (TREE_CODE (_p1))
10807 : : {
10808 : 99 : case INTEGER_CST:
10809 : 99 : {
10810 : 99 : {
10811 : 99 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
10812 : 99 : tree res = generic_simplify_417 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_BSWAP64);
10813 : 99 : if (res) return res;
10814 : : }
10815 : 73 : break;
10816 : : }
10817 : : default:;
10818 : : }
10819 : : }
10820 : : break;
10821 : : default:;
10822 : : }
10823 : : break;
10824 : 888194 : default:;
10825 : : }
10826 : 888194 : if (integer_onep (_p0))
10827 : : {
10828 : 531 : {
10829 : 531 : tree captures[1] ATTRIBUTE_UNUSED = { _p1 };
10830 : 531 : if (INTEGRAL_TYPE_P (type)
10831 : : )
10832 : : {
10833 : 531 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1809;
10834 : 531 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1809;
10835 : 531 : {
10836 : 531 : tree res_op0;
10837 : 531 : {
10838 : 531 : tree _o1[2], _r1;
10839 : 531 : _o1[0] = captures[0];
10840 : 531 : _o1[1] = build_zero_cst (TREE_TYPE (captures[0]));
10841 : 531 : _r1 = fold_build2_loc (loc, EQ_EXPR, boolean_type_node, _o1[0], _o1[1]);
10842 : 531 : res_op0 = _r1;
10843 : : }
10844 : 531 : tree _r;
10845 : 531 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
10846 : 531 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1038, __FILE__, __LINE__, true);
10847 : 531 : return _r;
10848 : : }
10849 : : next_after_fail1809:;
10850 : : }
10851 : : }
10852 : : }
10853 : 887663 : switch (TREE_CODE (_p1))
10854 : : {
10855 : 11 : case VEC_COND_EXPR:
10856 : 11 : {
10857 : 11 : tree _q30 = TREE_OPERAND (_p1, 0);
10858 : 11 : tree _q31 = TREE_OPERAND (_p1, 1);
10859 : 11 : tree _q32 = TREE_OPERAND (_p1, 2);
10860 : 11 : {
10861 : 11 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
10862 : 11 : if (VECTOR_TYPE_P (type)
10863 : 11 : && (TREE_CODE_CLASS (RSHIFT_EXPR) != tcc_comparison
10864 : : || types_match (type, TREE_TYPE (captures[3]))
10865 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
10866 : : || (optimize_vectors_before_lowering_p ()
10867 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
10868 : : )
10869 : : {
10870 : 11 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1810;
10871 : 11 : {
10872 : 11 : if (! tree_invariant_p (captures[0])) goto next_after_fail1810;
10873 : 0 : tree res_op0;
10874 : 0 : res_op0 = captures[2];
10875 : 0 : tree res_op1;
10876 : 0 : {
10877 : 0 : tree _o1[2], _r1;
10878 : 0 : _o1[0] = unshare_expr (captures[0]);
10879 : 0 : _o1[1] = captures[3];
10880 : 0 : _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10881 : 0 : if (EXPR_P (_r1))
10882 : 0 : goto next_after_fail1810;
10883 : 0 : res_op1 = _r1;
10884 : : }
10885 : 0 : tree res_op2;
10886 : 0 : {
10887 : 0 : tree _o1[2], _r1;
10888 : 0 : _o1[0] = captures[0];
10889 : 0 : _o1[1] = captures[4];
10890 : 0 : _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10891 : 0 : if (EXPR_P (_r1))
10892 : 0 : goto next_after_fail1810;
10893 : 0 : res_op2 = _r1;
10894 : : }
10895 : 0 : tree _r;
10896 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10897 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 921, __FILE__, __LINE__, true);
10898 : 0 : return _r;
10899 : : }
10900 : 11 : next_after_fail1810:;
10901 : : }
10902 : : }
10903 : 11 : break;
10904 : : }
10905 : 887663 : default:;
10906 : : }
10907 : 887663 : switch (TREE_CODE (_p0))
10908 : : {
10909 : 0 : case VEC_PERM_EXPR:
10910 : 0 : {
10911 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
10912 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
10913 : 0 : tree _q22 = TREE_OPERAND (_p0, 2);
10914 : 0 : if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
10915 : : {
10916 : 0 : switch (TREE_CODE (_p1))
10917 : : {
10918 : 0 : case VEC_PERM_EXPR:
10919 : 0 : {
10920 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
10921 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
10922 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
10923 : 0 : if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
10924 : : {
10925 : 0 : if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
10926 : : {
10927 : 0 : {
10928 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
10929 : 0 : if (VECTOR_INTEGER_TYPE_P (type)
10930 : : )
10931 : : {
10932 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1811;
10933 : 0 : {
10934 : 0 : tree res_op0;
10935 : 0 : {
10936 : 0 : tree _o1[2], _r1;
10937 : 0 : _o1[0] = captures[0];
10938 : 0 : _o1[1] = captures[2];
10939 : 0 : _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10940 : 0 : captures[3] = _r1;
10941 : : }
10942 : 0 : res_op0 = unshare_expr (captures[3]);
10943 : 0 : tree res_op1;
10944 : 0 : res_op1 = captures[3];
10945 : 0 : tree res_op2;
10946 : 0 : res_op2 = captures[1];
10947 : 0 : tree _r;
10948 : 0 : _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
10949 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 922, __FILE__, __LINE__, true);
10950 : 0 : return _r;
10951 : : }
10952 : 0 : next_after_fail1811:;
10953 : : }
10954 : : }
10955 : : }
10956 : : }
10957 : : break;
10958 : : }
10959 : : default:;
10960 : : }
10961 : : }
10962 : : break;
10963 : : }
10964 : : default:;
10965 : : }
10966 : : return NULL_TREE;
10967 : : }
10968 : :
10969 : : tree
10970 : 362603 : generic_simplify_MAX_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
10971 : : {
10972 : 362603 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
10973 : 362603 : if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
10974 : : {
10975 : 0 : {
10976 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
10977 : 0 : tree res = generic_simplify_506 (loc, type, _p0, _p1, captures, MAX_EXPR);
10978 : 0 : if (res) return res;
10979 : : }
10980 : : }
10981 : 362603 : switch (TREE_CODE (_p0))
10982 : : {
10983 : 111 : case MAX_EXPR:
10984 : 111 : {
10985 : 111 : tree _q20 = TREE_OPERAND (_p0, 0);
10986 : 111 : tree _q21 = TREE_OPERAND (_p0, 1);
10987 : 111 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
10988 : : {
10989 : 0 : {
10990 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
10991 : 0 : tree res = generic_simplify_507 (loc, type, _p0, _p1, captures, MAX_EXPR);
10992 : 0 : if (res) return res;
10993 : : }
10994 : : }
10995 : 111 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
10996 : : {
10997 : 0 : {
10998 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
10999 : 0 : tree res = generic_simplify_507 (loc, type, _p0, _p1, captures, MAX_EXPR);
11000 : 0 : if (res) return res;
11001 : : }
11002 : : }
11003 : : break;
11004 : : }
11005 : 362603 : default:;
11006 : : }
11007 : 362603 : switch (TREE_CODE (_p1))
11008 : : {
11009 : 0 : case MAX_EXPR:
11010 : 0 : {
11011 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
11012 : 0 : tree _q31 = TREE_OPERAND (_p1, 1);
11013 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
11014 : : {
11015 : 0 : {
11016 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q31 };
11017 : 0 : tree res = generic_simplify_508 (loc, type, _p0, _p1, captures, MAX_EXPR);
11018 : 0 : if (res) return res;
11019 : : }
11020 : : }
11021 : 0 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
11022 : : {
11023 : 0 : {
11024 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q30 };
11025 : 0 : tree res = generic_simplify_508 (loc, type, _p0, _p1, captures, MAX_EXPR);
11026 : 0 : if (res) return res;
11027 : : }
11028 : : }
11029 : : break;
11030 : : }
11031 : 362603 : default:;
11032 : : }
11033 : 362603 : switch (TREE_CODE (_p0))
11034 : : {
11035 : 2967 : case MIN_EXPR:
11036 : 2967 : {
11037 : 2967 : tree _q20 = TREE_OPERAND (_p0, 0);
11038 : 2967 : tree _q21 = TREE_OPERAND (_p0, 1);
11039 : 2967 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
11040 : : {
11041 : 1 : {
11042 : 1 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11043 : 1 : tree res = generic_simplify_517 (loc, type, _p0, _p1, captures);
11044 : 1 : if (res) return res;
11045 : : }
11046 : : }
11047 : 2966 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
11048 : : {
11049 : 1 : {
11050 : 1 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
11051 : 1 : tree res = generic_simplify_517 (loc, type, _p0, _p1, captures);
11052 : 1 : if (res) return res;
11053 : : }
11054 : : }
11055 : : break;
11056 : : }
11057 : 362601 : default:;
11058 : : }
11059 : 362601 : switch (TREE_CODE (_p1))
11060 : : {
11061 : 0 : case MIN_EXPR:
11062 : 0 : {
11063 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
11064 : 0 : tree _q31 = TREE_OPERAND (_p1, 1);
11065 : 0 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
11066 : : {
11067 : 0 : {
11068 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
11069 : 0 : tree res = generic_simplify_517 (loc, type, _p0, _p1, captures);
11070 : 0 : if (res) return res;
11071 : : }
11072 : : }
11073 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
11074 : : {
11075 : 0 : {
11076 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q31, _p0 };
11077 : 0 : tree res = generic_simplify_517 (loc, type, _p0, _p1, captures);
11078 : 0 : if (res) return res;
11079 : : }
11080 : : }
11081 : : break;
11082 : : }
11083 : 0 : case NEGATE_EXPR:
11084 : 0 : {
11085 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
11086 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
11087 : : {
11088 : 0 : {
11089 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
11090 : 0 : tree res = generic_simplify_518 (loc, type, _p0, _p1, captures);
11091 : 0 : if (res) return res;
11092 : : }
11093 : : }
11094 : : break;
11095 : : }
11096 : 362601 : default:;
11097 : : }
11098 : 362601 : switch (TREE_CODE (_p0))
11099 : : {
11100 : 76 : case NEGATE_EXPR:
11101 : 76 : {
11102 : 76 : tree _q20 = TREE_OPERAND (_p0, 0);
11103 : 76 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
11104 : : {
11105 : 2 : {
11106 : 2 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
11107 : 2 : tree res = generic_simplify_518 (loc, type, _p0, _p1, captures);
11108 : 2 : if (res) return res;
11109 : : }
11110 : : }
11111 : : break;
11112 : : }
11113 : 362599 : default:;
11114 : : }
11115 : 362599 : {
11116 : 362599 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
11117 : 362599 : if (INTEGRAL_TYPE_P (type)
11118 : 360677 : && TYPE_MAX_VALUE (type)
11119 : 723276 : && operand_equal_p (captures[1], TYPE_MAX_VALUE (type), OEP_ONLY_CONST)
11120 : : )
11121 : : {
11122 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1878;
11123 : 0 : {
11124 : 0 : tree _r;
11125 : 0 : _r = captures[1];
11126 : 0 : if (TREE_SIDE_EFFECTS (captures[0]))
11127 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
11128 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1053, __FILE__, __LINE__, true);
11129 : 0 : return _r;
11130 : : }
11131 : 0 : next_after_fail1878:;
11132 : : }
11133 : : else
11134 : : {
11135 : 362599 : if (INTEGRAL_TYPE_P (type)
11136 : 360677 : && TYPE_MIN_VALUE (type)
11137 : 723276 : && operand_equal_p (captures[1], TYPE_MIN_VALUE (type), OEP_ONLY_CONST)
11138 : : )
11139 : : {
11140 : 11 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1879;
11141 : 11 : {
11142 : 11 : tree _r;
11143 : 11 : _r = captures[0];
11144 : 11 : if (TREE_SIDE_EFFECTS (captures[1]))
11145 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
11146 : 11 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1054, __FILE__, __LINE__, true);
11147 : 11 : return _r;
11148 : : }
11149 : 0 : next_after_fail1879:;
11150 : : }
11151 : : }
11152 : : }
11153 : 362588 : switch (TREE_CODE (_p1))
11154 : : {
11155 : 110 : case PLUS_EXPR:
11156 : 110 : {
11157 : 110 : tree _q30 = TREE_OPERAND (_p1, 0);
11158 : 110 : tree _q31 = TREE_OPERAND (_p1, 1);
11159 : 110 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
11160 : : {
11161 : 0 : switch (TREE_CODE (_q31))
11162 : : {
11163 : 0 : case INTEGER_CST:
11164 : 0 : {
11165 : 0 : {
11166 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
11167 : 0 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
11168 : : )
11169 : : {
11170 : 0 : if (tree_int_cst_sgn (captures[2]) > 0
11171 : : )
11172 : : {
11173 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1880;
11174 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1880;
11175 : 0 : {
11176 : 0 : tree _r;
11177 : 0 : _r = captures[1];
11178 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1055, __FILE__, __LINE__, true);
11179 : 0 : return _r;
11180 : : }
11181 : 0 : next_after_fail1880:;
11182 : : }
11183 : : else
11184 : : {
11185 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1881;
11186 : 0 : {
11187 : 0 : tree _r;
11188 : 0 : _r = captures[0];
11189 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
11190 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
11191 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1056, __FILE__, __LINE__, true);
11192 : 0 : return _r;
11193 : : }
11194 : 0 : next_after_fail1881:;
11195 : : }
11196 : : }
11197 : : }
11198 : 0 : break;
11199 : : }
11200 : : default:;
11201 : : }
11202 : : }
11203 : : break;
11204 : : }
11205 : 362588 : default:;
11206 : : }
11207 : 362588 : switch (TREE_CODE (_p0))
11208 : : {
11209 : 22476 : case PLUS_EXPR:
11210 : 22476 : {
11211 : 22476 : tree _q20 = TREE_OPERAND (_p0, 0);
11212 : 22476 : tree _q21 = TREE_OPERAND (_p0, 1);
11213 : 22476 : switch (TREE_CODE (_q21))
11214 : : {
11215 : 22438 : case INTEGER_CST:
11216 : 22438 : {
11217 : 22438 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
11218 : : {
11219 : 11 : {
11220 : 11 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
11221 : 11 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
11222 : : )
11223 : : {
11224 : 0 : if (tree_int_cst_sgn (captures[2]) > 0
11225 : : )
11226 : : {
11227 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1882;
11228 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1882;
11229 : 0 : {
11230 : 0 : tree _r;
11231 : 0 : _r = captures[1];
11232 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1055, __FILE__, __LINE__, true);
11233 : 0 : return _r;
11234 : : }
11235 : 11 : next_after_fail1882:;
11236 : : }
11237 : : else
11238 : : {
11239 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1883;
11240 : 0 : {
11241 : 0 : tree _r;
11242 : 0 : _r = captures[0];
11243 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
11244 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
11245 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1056, __FILE__, __LINE__, true);
11246 : 0 : return _r;
11247 : : }
11248 : 0 : next_after_fail1883:;
11249 : : }
11250 : : }
11251 : : }
11252 : : }
11253 : : break;
11254 : : }
11255 : : default:;
11256 : : }
11257 : : break;
11258 : : }
11259 : 2965 : case MIN_EXPR:
11260 : 2965 : {
11261 : 2965 : tree _q20 = TREE_OPERAND (_p0, 0);
11262 : 2965 : tree _q21 = TREE_OPERAND (_p0, 1);
11263 : 2965 : switch (TREE_CODE (_p1))
11264 : : {
11265 : 0 : case MAX_EXPR:
11266 : 0 : {
11267 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
11268 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
11269 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
11270 : : {
11271 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
11272 : : {
11273 : 0 : {
11274 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11275 : 0 : if (!HONOR_NANS (captures[0])
11276 : : )
11277 : : {
11278 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1884;
11279 : 0 : {
11280 : 0 : tree res_op0;
11281 : 0 : res_op0 = captures[0];
11282 : 0 : tree res_op1;
11283 : 0 : res_op1 = captures[1];
11284 : 0 : tree _r;
11285 : 0 : _r = fold_build2_loc (loc, MAX_EXPR, type, res_op0, res_op1);
11286 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 915, __FILE__, __LINE__, true);
11287 : 0 : return _r;
11288 : : }
11289 : 0 : next_after_fail1884:;
11290 : : }
11291 : : }
11292 : : }
11293 : : }
11294 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
11295 : : {
11296 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
11297 : : {
11298 : 0 : {
11299 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
11300 : 0 : if (!HONOR_NANS (captures[0])
11301 : : )
11302 : : {
11303 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1885;
11304 : 0 : {
11305 : 0 : tree res_op0;
11306 : 0 : res_op0 = captures[0];
11307 : 0 : tree res_op1;
11308 : 0 : res_op1 = captures[1];
11309 : 0 : tree _r;
11310 : 0 : _r = fold_build2_loc (loc, MAX_EXPR, type, res_op0, res_op1);
11311 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 915, __FILE__, __LINE__, true);
11312 : 0 : return _r;
11313 : : }
11314 : 0 : next_after_fail1885:;
11315 : : }
11316 : : }
11317 : : }
11318 : : }
11319 : : break;
11320 : : }
11321 : : default:;
11322 : : }
11323 : : break;
11324 : : }
11325 : 111 : case MAX_EXPR:
11326 : 111 : {
11327 : 111 : tree _q20 = TREE_OPERAND (_p0, 0);
11328 : 111 : tree _q21 = TREE_OPERAND (_p0, 1);
11329 : 111 : switch (TREE_CODE (_p1))
11330 : : {
11331 : 0 : case MIN_EXPR:
11332 : 0 : {
11333 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
11334 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
11335 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
11336 : : {
11337 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
11338 : : {
11339 : 0 : {
11340 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11341 : 0 : if (!HONOR_NANS (captures[0])
11342 : : )
11343 : : {
11344 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1886;
11345 : 0 : {
11346 : 0 : tree res_op0;
11347 : 0 : res_op0 = captures[0];
11348 : 0 : tree res_op1;
11349 : 0 : res_op1 = captures[1];
11350 : 0 : tree _r;
11351 : 0 : _r = fold_build2_loc (loc, MAX_EXPR, type, res_op0, res_op1);
11352 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 915, __FILE__, __LINE__, true);
11353 : 0 : return _r;
11354 : : }
11355 : 0 : next_after_fail1886:;
11356 : : }
11357 : : }
11358 : : }
11359 : : }
11360 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
11361 : : {
11362 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
11363 : : {
11364 : 0 : {
11365 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
11366 : 0 : if (!HONOR_NANS (captures[0])
11367 : : )
11368 : : {
11369 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1887;
11370 : 0 : {
11371 : 0 : tree res_op0;
11372 : 0 : res_op0 = captures[0];
11373 : 0 : tree res_op1;
11374 : 0 : res_op1 = captures[1];
11375 : 0 : tree _r;
11376 : 0 : _r = fold_build2_loc (loc, MAX_EXPR, type, res_op0, res_op1);
11377 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 915, __FILE__, __LINE__, true);
11378 : 0 : return _r;
11379 : : }
11380 : 0 : next_after_fail1887:;
11381 : : }
11382 : : }
11383 : : }
11384 : : }
11385 : : break;
11386 : : }
11387 : : default:;
11388 : : }
11389 : : break;
11390 : : }
11391 : 29466 : CASE_CONVERT:
11392 : 29466 : {
11393 : 29466 : tree _q20 = TREE_OPERAND (_p0, 0);
11394 : 29466 : switch (TREE_CODE (_q20))
11395 : : {
11396 : 0 : case ADDR_EXPR:
11397 : 0 : {
11398 : 0 : switch (TREE_CODE (_p1))
11399 : : {
11400 : 0 : CASE_CONVERT:
11401 : 0 : {
11402 : 0 : tree _q40 = TREE_OPERAND (_p1, 0);
11403 : 0 : switch (TREE_CODE (_q40))
11404 : : {
11405 : 0 : case ADDR_EXPR:
11406 : 0 : {
11407 : 0 : {
11408 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
11409 : 0 : tree res = generic_simplify_511 (loc, type, _p0, _p1, captures, MAX_EXPR, GT_EXPR);
11410 : 0 : if (res) return res;
11411 : : }
11412 : 0 : break;
11413 : : }
11414 : : default:;
11415 : : }
11416 : : break;
11417 : : }
11418 : 0 : case ADDR_EXPR:
11419 : 0 : {
11420 : 0 : {
11421 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
11422 : 0 : tree res = generic_simplify_512 (loc, type, _p0, _p1, captures, MAX_EXPR, GT_EXPR);
11423 : 0 : if (res) return res;
11424 : : }
11425 : 0 : break;
11426 : : }
11427 : : default:;
11428 : : }
11429 : : break;
11430 : : }
11431 : : default:;
11432 : : }
11433 : : break;
11434 : : }
11435 : 10 : case ADDR_EXPR:
11436 : 10 : {
11437 : 10 : switch (TREE_CODE (_p1))
11438 : : {
11439 : 0 : CASE_CONVERT:
11440 : 0 : {
11441 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
11442 : 0 : switch (TREE_CODE (_q30))
11443 : : {
11444 : 0 : case ADDR_EXPR:
11445 : 0 : {
11446 : 0 : {
11447 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _p1, _q30 };
11448 : 0 : tree res = generic_simplify_513 (loc, type, _p0, _p1, captures, MAX_EXPR, GT_EXPR);
11449 : 0 : if (res) return res;
11450 : : }
11451 : 0 : break;
11452 : : }
11453 : : default:;
11454 : : }
11455 : : break;
11456 : : }
11457 : 10 : case ADDR_EXPR:
11458 : 10 : {
11459 : 10 : {
11460 : 10 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _p1, _p1 };
11461 : 10 : tree res = generic_simplify_514 (loc, type, _p0, _p1, captures, MAX_EXPR, GT_EXPR);
11462 : 10 : if (res) return res;
11463 : : }
11464 : 10 : break;
11465 : : }
11466 : : default:;
11467 : : }
11468 : : break;
11469 : : }
11470 : 74 : case NEGATE_EXPR:
11471 : 74 : {
11472 : 74 : tree _q20 = TREE_OPERAND (_p0, 0);
11473 : 74 : switch (TREE_CODE (_p1))
11474 : : {
11475 : 0 : case NEGATE_EXPR:
11476 : 0 : {
11477 : 0 : tree _q40 = TREE_OPERAND (_p1, 0);
11478 : 0 : {
11479 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
11480 : 0 : if (FLOAT_TYPE_P (TREE_TYPE (captures[1]))
11481 : 0 : || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
11482 : 0 : && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))
11483 : : )
11484 : : {
11485 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1888;
11486 : 0 : {
11487 : 0 : tree res_op0;
11488 : 0 : {
11489 : 0 : tree _o1[2], _r1;
11490 : 0 : _o1[0] = captures[1];
11491 : 0 : _o1[1] = captures[3];
11492 : 0 : _r1 = fold_build2_loc (loc, MIN_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11493 : 0 : res_op0 = _r1;
11494 : : }
11495 : 0 : tree _r;
11496 : 0 : _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
11497 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1052, __FILE__, __LINE__, true);
11498 : 0 : return _r;
11499 : : }
11500 : 0 : next_after_fail1888:;
11501 : : }
11502 : : }
11503 : 0 : break;
11504 : : }
11505 : : default:;
11506 : : }
11507 : : break;
11508 : : }
11509 : 0 : case BIT_NOT_EXPR:
11510 : 0 : {
11511 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
11512 : 0 : switch (TREE_CODE (_p1))
11513 : : {
11514 : 0 : case BIT_NOT_EXPR:
11515 : 0 : {
11516 : 0 : tree _q40 = TREE_OPERAND (_p1, 0);
11517 : 0 : {
11518 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
11519 : 0 : tree res = generic_simplify_515 (loc, type, _p0, _p1, captures, MAX_EXPR, MIN_EXPR);
11520 : 0 : if (res) return res;
11521 : : }
11522 : 0 : break;
11523 : : }
11524 : : default:;
11525 : : }
11526 : : break;
11527 : : }
11528 : 0 : case VEC_COND_EXPR:
11529 : 0 : {
11530 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
11531 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
11532 : 0 : tree _q22 = TREE_OPERAND (_p0, 2);
11533 : 0 : switch (TREE_CODE (_p1))
11534 : : {
11535 : 0 : case VEC_COND_EXPR:
11536 : 0 : {
11537 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
11538 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
11539 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
11540 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
11541 : : {
11542 : 0 : {
11543 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
11544 : 0 : if (VECTOR_TYPE_P (type)
11545 : 0 : && (TREE_CODE_CLASS (MAX_EXPR) != tcc_comparison
11546 : : || types_match (type, TREE_TYPE (captures[2]))
11547 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
11548 : : || (optimize_vectors_before_lowering_p ()
11549 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
11550 : : )
11551 : : {
11552 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1889;
11553 : 0 : {
11554 : 0 : tree res_op0;
11555 : 0 : res_op0 = captures[1];
11556 : 0 : tree res_op1;
11557 : 0 : {
11558 : 0 : tree _o1[2], _r1;
11559 : 0 : _o1[0] = captures[2];
11560 : 0 : _o1[1] = captures[5];
11561 : 0 : _r1 = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11562 : 0 : if (EXPR_P (_r1))
11563 : 0 : goto next_after_fail1889;
11564 : 0 : res_op1 = _r1;
11565 : : }
11566 : 0 : tree res_op2;
11567 : 0 : {
11568 : 0 : tree _o1[2], _r1;
11569 : 0 : _o1[0] = captures[3];
11570 : 0 : _o1[1] = captures[6];
11571 : 0 : _r1 = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11572 : 0 : if (EXPR_P (_r1))
11573 : 0 : goto next_after_fail1889;
11574 : 0 : res_op2 = _r1;
11575 : : }
11576 : 0 : tree _r;
11577 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11578 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 919, __FILE__, __LINE__, true);
11579 : 0 : return _r;
11580 : : }
11581 : 0 : next_after_fail1889:;
11582 : : }
11583 : : }
11584 : : }
11585 : : break;
11586 : : }
11587 : 0 : default:;
11588 : : }
11589 : 0 : {
11590 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
11591 : 0 : if (VECTOR_TYPE_P (type)
11592 : 0 : && (TREE_CODE_CLASS (MAX_EXPR) != tcc_comparison
11593 : : || types_match (type, TREE_TYPE (captures[2]))
11594 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
11595 : : || (optimize_vectors_before_lowering_p ()
11596 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
11597 : : )
11598 : : {
11599 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1890;
11600 : 0 : {
11601 : 0 : if (! tree_invariant_p (captures[4])) goto next_after_fail1890;
11602 : 0 : tree res_op0;
11603 : 0 : res_op0 = captures[1];
11604 : 0 : tree res_op1;
11605 : 0 : {
11606 : 0 : tree _o1[2], _r1;
11607 : 0 : _o1[0] = captures[2];
11608 : 0 : _o1[1] = unshare_expr (captures[4]);
11609 : 0 : _r1 = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11610 : 0 : if (EXPR_P (_r1))
11611 : 0 : goto next_after_fail1890;
11612 : 0 : res_op1 = _r1;
11613 : : }
11614 : 0 : tree res_op2;
11615 : 0 : {
11616 : 0 : tree _o1[2], _r1;
11617 : 0 : _o1[0] = captures[3];
11618 : 0 : _o1[1] = captures[4];
11619 : 0 : _r1 = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11620 : 0 : if (EXPR_P (_r1))
11621 : 0 : goto next_after_fail1890;
11622 : 0 : res_op2 = _r1;
11623 : : }
11624 : 0 : tree _r;
11625 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11626 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 920, __FILE__, __LINE__, true);
11627 : 0 : return _r;
11628 : : }
11629 : 0 : next_after_fail1890:;
11630 : : }
11631 : : }
11632 : 0 : break;
11633 : : }
11634 : 362588 : default:;
11635 : : }
11636 : 362588 : switch (TREE_CODE (_p1))
11637 : : {
11638 : 0 : case VEC_COND_EXPR:
11639 : 0 : {
11640 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
11641 : 0 : tree _q31 = TREE_OPERAND (_p1, 1);
11642 : 0 : tree _q32 = TREE_OPERAND (_p1, 2);
11643 : 0 : {
11644 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
11645 : 0 : if (VECTOR_TYPE_P (type)
11646 : 0 : && (TREE_CODE_CLASS (MAX_EXPR) != tcc_comparison
11647 : : || types_match (type, TREE_TYPE (captures[3]))
11648 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
11649 : : || (optimize_vectors_before_lowering_p ()
11650 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
11651 : : )
11652 : : {
11653 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1891;
11654 : 0 : {
11655 : 0 : if (! tree_invariant_p (captures[0])) goto next_after_fail1891;
11656 : 0 : tree res_op0;
11657 : 0 : res_op0 = captures[2];
11658 : 0 : tree res_op1;
11659 : 0 : {
11660 : 0 : tree _o1[2], _r1;
11661 : 0 : _o1[0] = unshare_expr (captures[0]);
11662 : 0 : _o1[1] = captures[3];
11663 : 0 : _r1 = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11664 : 0 : if (EXPR_P (_r1))
11665 : 0 : goto next_after_fail1891;
11666 : 0 : res_op1 = _r1;
11667 : : }
11668 : 0 : tree res_op2;
11669 : 0 : {
11670 : 0 : tree _o1[2], _r1;
11671 : 0 : _o1[0] = captures[0];
11672 : 0 : _o1[1] = captures[4];
11673 : 0 : _r1 = fold_build2_loc (loc, MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
11674 : 0 : if (EXPR_P (_r1))
11675 : 0 : goto next_after_fail1891;
11676 : 0 : res_op2 = _r1;
11677 : : }
11678 : 0 : tree _r;
11679 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11680 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 921, __FILE__, __LINE__, true);
11681 : 0 : return _r;
11682 : : }
11683 : 0 : next_after_fail1891:;
11684 : : }
11685 : : }
11686 : 0 : break;
11687 : : }
11688 : 362588 : default:;
11689 : : }
11690 : 362588 : if (tree_zero_one_valued_p (_p0))
11691 : : {
11692 : 9 : if (tree_zero_one_valued_p (_p1))
11693 : : {
11694 : 0 : {
11695 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
11696 : 0 : tree res = generic_simplify_516 (loc, type, _p0, _p1, captures, MAX_EXPR, BIT_IOR_EXPR);
11697 : 0 : if (res) return res;
11698 : : }
11699 : : }
11700 : : }
11701 : : return NULL_TREE;
11702 : : }
11703 : :
11704 : : tree
11705 : 417381 : generic_simplify_UNEQ_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
11706 : : {
11707 : 417381 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
11708 : 417381 : switch (TREE_CODE (_p0))
11709 : : {
11710 : 0 : case VEC_COND_EXPR:
11711 : 0 : {
11712 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
11713 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
11714 : 0 : tree _q22 = TREE_OPERAND (_p0, 2);
11715 : 0 : switch (TREE_CODE (_p1))
11716 : : {
11717 : 0 : case VEC_COND_EXPR:
11718 : 0 : {
11719 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
11720 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
11721 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
11722 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
11723 : : {
11724 : 0 : {
11725 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
11726 : 0 : if (VECTOR_TYPE_P (type)
11727 : 0 : && (TREE_CODE_CLASS (UNEQ_EXPR) != tcc_comparison
11728 : 0 : || types_match (type, TREE_TYPE (captures[2]))
11729 : 0 : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
11730 : : || (optimize_vectors_before_lowering_p ()
11731 : 0 : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
11732 : : )
11733 : : {
11734 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1916;
11735 : 0 : {
11736 : 0 : tree res_op0;
11737 : 0 : res_op0 = captures[1];
11738 : 0 : tree res_op1;
11739 : 0 : {
11740 : 0 : tree _o1[2], _r1;
11741 : 0 : _o1[0] = captures[2];
11742 : 0 : _o1[1] = captures[5];
11743 : 0 : _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
11744 : 0 : if (EXPR_P (_r1))
11745 : 0 : goto next_after_fail1916;
11746 : 0 : res_op1 = _r1;
11747 : : }
11748 : 0 : tree res_op2;
11749 : 0 : {
11750 : 0 : tree _o1[2], _r1;
11751 : 0 : _o1[0] = captures[3];
11752 : 0 : _o1[1] = captures[6];
11753 : 0 : _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
11754 : 0 : if (EXPR_P (_r1))
11755 : 0 : goto next_after_fail1916;
11756 : 0 : res_op2 = _r1;
11757 : : }
11758 : 0 : tree _r;
11759 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11760 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 919, __FILE__, __LINE__, true);
11761 : 0 : return _r;
11762 : : }
11763 : 0 : next_after_fail1916:;
11764 : : }
11765 : : }
11766 : : }
11767 : : break;
11768 : : }
11769 : 0 : default:;
11770 : : }
11771 : 0 : {
11772 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
11773 : 0 : if (VECTOR_TYPE_P (type)
11774 : 0 : && (TREE_CODE_CLASS (UNEQ_EXPR) != tcc_comparison
11775 : 0 : || types_match (type, TREE_TYPE (captures[2]))
11776 : 0 : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
11777 : : || (optimize_vectors_before_lowering_p ()
11778 : 0 : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
11779 : : )
11780 : : {
11781 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1917;
11782 : 0 : {
11783 : 0 : if (! tree_invariant_p (captures[4])) goto next_after_fail1917;
11784 : 0 : tree res_op0;
11785 : 0 : res_op0 = captures[1];
11786 : 0 : tree res_op1;
11787 : 0 : {
11788 : 0 : tree _o1[2], _r1;
11789 : 0 : _o1[0] = captures[2];
11790 : 0 : _o1[1] = unshare_expr (captures[4]);
11791 : 0 : _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
11792 : 0 : if (EXPR_P (_r1))
11793 : 0 : goto next_after_fail1917;
11794 : 0 : res_op1 = _r1;
11795 : : }
11796 : 0 : tree res_op2;
11797 : 0 : {
11798 : 0 : tree _o1[2], _r1;
11799 : 0 : _o1[0] = captures[3];
11800 : 0 : _o1[1] = captures[4];
11801 : 0 : _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
11802 : 0 : if (EXPR_P (_r1))
11803 : 0 : goto next_after_fail1917;
11804 : 0 : res_op2 = _r1;
11805 : : }
11806 : 0 : tree _r;
11807 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11808 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 920, __FILE__, __LINE__, true);
11809 : 0 : return _r;
11810 : : }
11811 : 0 : next_after_fail1917:;
11812 : : }
11813 : : }
11814 : 0 : break;
11815 : : }
11816 : 417381 : default:;
11817 : : }
11818 : 417381 : switch (TREE_CODE (_p1))
11819 : : {
11820 : 0 : case VEC_COND_EXPR:
11821 : 0 : {
11822 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
11823 : 0 : tree _q31 = TREE_OPERAND (_p1, 1);
11824 : 0 : tree _q32 = TREE_OPERAND (_p1, 2);
11825 : 0 : {
11826 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
11827 : 0 : if (VECTOR_TYPE_P (type)
11828 : 0 : && (TREE_CODE_CLASS (UNEQ_EXPR) != tcc_comparison
11829 : 0 : || types_match (type, TREE_TYPE (captures[3]))
11830 : 0 : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
11831 : : || (optimize_vectors_before_lowering_p ()
11832 : 0 : && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
11833 : : )
11834 : : {
11835 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1918;
11836 : 0 : {
11837 : 0 : if (! tree_invariant_p (captures[0])) goto next_after_fail1918;
11838 : 0 : tree res_op0;
11839 : 0 : res_op0 = captures[2];
11840 : 0 : tree res_op1;
11841 : 0 : {
11842 : 0 : tree _o1[2], _r1;
11843 : 0 : _o1[0] = unshare_expr (captures[0]);
11844 : 0 : _o1[1] = captures[3];
11845 : 0 : _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
11846 : 0 : if (EXPR_P (_r1))
11847 : 0 : goto next_after_fail1918;
11848 : 0 : res_op1 = _r1;
11849 : : }
11850 : 0 : tree res_op2;
11851 : 0 : {
11852 : 0 : tree _o1[2], _r1;
11853 : 0 : _o1[0] = captures[0];
11854 : 0 : _o1[1] = captures[4];
11855 : 0 : _r1 = fold_build2_loc (loc, UNEQ_EXPR, type, _o1[0], _o1[1]);
11856 : 0 : if (EXPR_P (_r1))
11857 : 0 : goto next_after_fail1918;
11858 : 0 : res_op2 = _r1;
11859 : : }
11860 : 0 : tree _r;
11861 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
11862 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 921, __FILE__, __LINE__, true);
11863 : 0 : return _r;
11864 : : }
11865 : 0 : next_after_fail1918:;
11866 : : }
11867 : : }
11868 : 0 : break;
11869 : : }
11870 : 417381 : default:;
11871 : : }
11872 : 417381 : if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
11873 : : {
11874 : 0 : {
11875 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
11876 : 0 : tree res = generic_simplify_547 (loc, type, _p0, _p1, captures, UNEQ_EXPR);
11877 : 0 : if (res) return res;
11878 : : }
11879 : : }
11880 : 417381 : switch (TREE_CODE (_p0))
11881 : : {
11882 : 0 : case FLOAT_EXPR:
11883 : 0 : {
11884 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
11885 : 0 : switch (TREE_CODE (_p1))
11886 : : {
11887 : 0 : case FLOAT_EXPR:
11888 : 0 : {
11889 : 0 : tree _q40 = TREE_OPERAND (_p1, 0);
11890 : 0 : {
11891 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
11892 : 0 : tree res = generic_simplify_256 (loc, type, _p0, _p1, captures, UNEQ_EXPR, EQ_EXPR);
11893 : 0 : if (res) return res;
11894 : : }
11895 : 0 : break;
11896 : : }
11897 : : default:;
11898 : : }
11899 : : break;
11900 : : }
11901 : 0 : case NEGATE_EXPR:
11902 : 0 : {
11903 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
11904 : 0 : switch (TREE_CODE (_p1))
11905 : : {
11906 : 0 : case NEGATE_EXPR:
11907 : 0 : {
11908 : 0 : tree _q40 = TREE_OPERAND (_p1, 0);
11909 : 0 : {
11910 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
11911 : 0 : tree res = generic_simplify_259 (loc, type, _p0, _p1, captures, UNEQ_EXPR, UNEQ_EXPR);
11912 : 0 : if (res) return res;
11913 : : }
11914 : 0 : break;
11915 : : }
11916 : 0 : default:;
11917 : : }
11918 : 0 : if (CONSTANT_CLASS_P (_p1))
11919 : : {
11920 : 0 : {
11921 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
11922 : 0 : tree res = generic_simplify_260 (loc, type, _p0, _p1, captures, UNEQ_EXPR, UNEQ_EXPR);
11923 : 0 : if (res) return res;
11924 : : }
11925 : : }
11926 : : break;
11927 : : }
11928 : 417381 : default:;
11929 : : }
11930 : 417381 : switch (TREE_CODE (_p1))
11931 : : {
11932 : 154 : case REAL_CST:
11933 : 154 : {
11934 : 154 : {
11935 : 154 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
11936 : 154 : tree res = generic_simplify_545 (loc, type, _p0, _p1, captures, UNEQ_EXPR);
11937 : 154 : if (res) return res;
11938 : : }
11939 : 152 : break;
11940 : : }
11941 : : default:;
11942 : : }
11943 : : return NULL_TREE;
11944 : : }
11945 : :
11946 : : tree
11947 : 334055 : generic_simplify_VEC_COND_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1, tree _p2)
11948 : : {
11949 : 334055 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
11950 : 334055 : switch (TREE_CODE (_p0))
11951 : : {
11952 : 11962 : case VECTOR_CST:
11953 : 11962 : {
11954 : 11962 : {
11955 : 11962 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _p2 };
11956 : 11962 : if (integer_all_onesp (captures[0])
11957 : : )
11958 : : {
11959 : 554 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2025;
11960 : 554 : {
11961 : 554 : tree _r;
11962 : 554 : _r = captures[1];
11963 : 554 : if (TREE_SIDE_EFFECTS (captures[0]))
11964 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
11965 : 554 : if (TREE_SIDE_EFFECTS (captures[2]))
11966 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
11967 : 554 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1099, __FILE__, __LINE__, true);
11968 : 554 : return _r;
11969 : : }
11970 : 0 : next_after_fail2025:;
11971 : : }
11972 : : else
11973 : : {
11974 : 11408 : if (integer_zerop (captures[0])
11975 : : )
11976 : : {
11977 : 1682 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2026;
11978 : 1682 : {
11979 : 1682 : tree _r;
11980 : 1682 : _r = captures[2];
11981 : 1682 : if (TREE_SIDE_EFFECTS (captures[0]))
11982 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
11983 : 1682 : if (TREE_SIDE_EFFECTS (captures[1]))
11984 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
11985 : 1682 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1100, __FILE__, __LINE__, true);
11986 : 1682 : return _r;
11987 : : }
11988 : 0 : next_after_fail2026:;
11989 : : }
11990 : : }
11991 : : }
11992 : 9726 : break;
11993 : : }
11994 : 331819 : default:;
11995 : : }
11996 : 331819 : switch (TREE_CODE (_p1))
11997 : : {
11998 : 278520 : case VECTOR_CST:
11999 : 278520 : {
12000 : 278520 : switch (TREE_CODE (_p2))
12001 : : {
12002 : 271978 : case VECTOR_CST:
12003 : 271978 : {
12004 : 271978 : {
12005 : 271978 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _p2 };
12006 : 271978 : if (VECTOR_BOOLEAN_TYPE_P (type)
12007 : 272116 : && types_match (type, TREE_TYPE (captures[0]))
12008 : : )
12009 : : {
12010 : 131 : if (integer_zerop (captures[1]) && integer_all_onesp (captures[2])
12011 : : )
12012 : : {
12013 : 28 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2027;
12014 : 28 : {
12015 : 28 : tree res_op0;
12016 : 28 : res_op0 = captures[0];
12017 : 28 : tree _r;
12018 : 28 : _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
12019 : 28 : if (TREE_SIDE_EFFECTS (captures[1]))
12020 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
12021 : 28 : if (TREE_SIDE_EFFECTS (captures[2]))
12022 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
12023 : 28 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1101, __FILE__, __LINE__, true);
12024 : 28 : return _r;
12025 : : }
12026 : 0 : next_after_fail2027:;
12027 : : }
12028 : : else
12029 : : {
12030 : 103 : if (integer_all_onesp (captures[1]) && integer_zerop (captures[2])
12031 : : )
12032 : : {
12033 : 73 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2028;
12034 : 73 : {
12035 : 73 : tree _r;
12036 : 73 : _r = captures[0];
12037 : 73 : if (TREE_SIDE_EFFECTS (captures[1]))
12038 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
12039 : 73 : if (TREE_SIDE_EFFECTS (captures[2]))
12040 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
12041 : 73 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1102, __FILE__, __LINE__, true);
12042 : 73 : return _r;
12043 : : }
12044 : 0 : next_after_fail2028:;
12045 : : }
12046 : : }
12047 : : }
12048 : : }
12049 : 271877 : break;
12050 : : }
12051 : : default:;
12052 : : }
12053 : : break;
12054 : : }
12055 : 331718 : default:;
12056 : : }
12057 : 331718 : switch (TREE_CODE (_p0))
12058 : : {
12059 : 1251 : case NE_EXPR:
12060 : 1251 : {
12061 : 1251 : tree _q20 = TREE_OPERAND (_p0, 0);
12062 : 1251 : tree _q21 = TREE_OPERAND (_p0, 1);
12063 : 1251 : switch (TREE_CODE (_p1))
12064 : : {
12065 : 6 : case MINUS_EXPR:
12066 : 6 : {
12067 : 6 : tree _q50 = TREE_OPERAND (_p1, 0);
12068 : 6 : tree _q51 = TREE_OPERAND (_p1, 1);
12069 : 6 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
12070 : : {
12071 : 6 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
12072 : : {
12073 : 6 : if (integer_zerop (_p2))
12074 : : {
12075 : 6 : {
12076 : 6 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
12077 : 6 : tree res = generic_simplify_530 (loc, type, _p0, _p1, _p2, captures);
12078 : 6 : if (res) return res;
12079 : : }
12080 : : }
12081 : : }
12082 : : }
12083 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
12084 : : {
12085 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
12086 : : {
12087 : 0 : if (integer_zerop (_p2))
12088 : : {
12089 : 0 : {
12090 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
12091 : 0 : tree res = generic_simplify_530 (loc, type, _p0, _p1, _p2, captures);
12092 : 0 : if (res) return res;
12093 : : }
12094 : : }
12095 : : }
12096 : : }
12097 : : break;
12098 : : }
12099 : 6 : case BIT_XOR_EXPR:
12100 : 6 : {
12101 : 6 : tree _q50 = TREE_OPERAND (_p1, 0);
12102 : 6 : tree _q51 = TREE_OPERAND (_p1, 1);
12103 : 6 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
12104 : : {
12105 : 6 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
12106 : : {
12107 : 6 : if (integer_zerop (_p2))
12108 : : {
12109 : 6 : {
12110 : 6 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
12111 : 6 : tree res = generic_simplify_531 (loc, type, _p0, _p1, _p2, captures);
12112 : 6 : if (res) return res;
12113 : : }
12114 : : }
12115 : : }
12116 : : }
12117 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
12118 : : {
12119 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
12120 : : {
12121 : 0 : if (integer_zerop (_p2))
12122 : : {
12123 : 0 : {
12124 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
12125 : 0 : tree res = generic_simplify_531 (loc, type, _p0, _p1, _p2, captures);
12126 : 0 : if (res) return res;
12127 : : }
12128 : : }
12129 : : }
12130 : : }
12131 : : break;
12132 : : }
12133 : 6 : case BIT_AND_EXPR:
12134 : 6 : {
12135 : 6 : tree _q50 = TREE_OPERAND (_p1, 0);
12136 : 6 : tree _q51 = TREE_OPERAND (_p1, 1);
12137 : 6 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
12138 : : {
12139 : 6 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
12140 : : {
12141 : 6 : if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
12142 : : {
12143 : 6 : {
12144 : 6 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
12145 : 6 : tree res = generic_simplify_532 (loc, type, _p0, _p1, _p2, captures, BIT_AND_EXPR);
12146 : 6 : if (res) return res;
12147 : : }
12148 : : }
12149 : 0 : if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
12150 : : {
12151 : 0 : {
12152 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
12153 : 0 : tree res = generic_simplify_532 (loc, type, _p0, _p1, _p2, captures, BIT_AND_EXPR);
12154 : 0 : if (res) return res;
12155 : : }
12156 : : }
12157 : : }
12158 : : }
12159 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
12160 : : {
12161 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
12162 : : {
12163 : 0 : if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
12164 : : {
12165 : 0 : {
12166 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
12167 : 0 : tree res = generic_simplify_532 (loc, type, _p0, _p1, _p2, captures, BIT_AND_EXPR);
12168 : 0 : if (res) return res;
12169 : : }
12170 : : }
12171 : 0 : if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
12172 : : {
12173 : 0 : {
12174 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
12175 : 0 : tree res = generic_simplify_532 (loc, type, _p0, _p1, _p2, captures, BIT_AND_EXPR);
12176 : 0 : if (res) return res;
12177 : : }
12178 : : }
12179 : : }
12180 : : }
12181 : : break;
12182 : : }
12183 : 6 : case BIT_IOR_EXPR:
12184 : 6 : {
12185 : 6 : tree _q50 = TREE_OPERAND (_p1, 0);
12186 : 6 : tree _q51 = TREE_OPERAND (_p1, 1);
12187 : 6 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
12188 : : {
12189 : 6 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
12190 : : {
12191 : 6 : if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
12192 : : {
12193 : 6 : {
12194 : 6 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
12195 : 6 : tree res = generic_simplify_532 (loc, type, _p0, _p1, _p2, captures, BIT_IOR_EXPR);
12196 : 6 : if (res) return res;
12197 : : }
12198 : : }
12199 : 0 : if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
12200 : : {
12201 : 0 : {
12202 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
12203 : 0 : tree res = generic_simplify_532 (loc, type, _p0, _p1, _p2, captures, BIT_IOR_EXPR);
12204 : 0 : if (res) return res;
12205 : : }
12206 : : }
12207 : : }
12208 : : }
12209 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
12210 : : {
12211 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
12212 : : {
12213 : 0 : if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
12214 : : {
12215 : 0 : {
12216 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
12217 : 0 : tree res = generic_simplify_532 (loc, type, _p0, _p1, _p2, captures, BIT_IOR_EXPR);
12218 : 0 : if (res) return res;
12219 : : }
12220 : : }
12221 : 0 : if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
12222 : : {
12223 : 0 : {
12224 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
12225 : 0 : tree res = generic_simplify_532 (loc, type, _p0, _p1, _p2, captures, BIT_IOR_EXPR);
12226 : 0 : if (res) return res;
12227 : : }
12228 : : }
12229 : : }
12230 : : }
12231 : : break;
12232 : : }
12233 : 0 : case MIN_EXPR:
12234 : 0 : {
12235 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
12236 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
12237 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
12238 : : {
12239 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
12240 : : {
12241 : 0 : if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
12242 : : {
12243 : 0 : {
12244 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
12245 : 0 : tree res = generic_simplify_532 (loc, type, _p0, _p1, _p2, captures, MIN_EXPR);
12246 : 0 : if (res) return res;
12247 : : }
12248 : : }
12249 : 0 : if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
12250 : : {
12251 : 0 : {
12252 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
12253 : 0 : tree res = generic_simplify_532 (loc, type, _p0, _p1, _p2, captures, MIN_EXPR);
12254 : 0 : if (res) return res;
12255 : : }
12256 : : }
12257 : : }
12258 : : }
12259 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
12260 : : {
12261 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
12262 : : {
12263 : 0 : if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
12264 : : {
12265 : 0 : {
12266 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
12267 : 0 : tree res = generic_simplify_532 (loc, type, _p0, _p1, _p2, captures, MIN_EXPR);
12268 : 0 : if (res) return res;
12269 : : }
12270 : : }
12271 : 0 : if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
12272 : : {
12273 : 0 : {
12274 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
12275 : 0 : tree res = generic_simplify_532 (loc, type, _p0, _p1, _p2, captures, MIN_EXPR);
12276 : 0 : if (res) return res;
12277 : : }
12278 : : }
12279 : : }
12280 : : }
12281 : : break;
12282 : : }
12283 : 0 : case MAX_EXPR:
12284 : 0 : {
12285 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
12286 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
12287 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
12288 : : {
12289 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
12290 : : {
12291 : 0 : if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
12292 : : {
12293 : 0 : {
12294 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
12295 : 0 : tree res = generic_simplify_532 (loc, type, _p0, _p1, _p2, captures, MAX_EXPR);
12296 : 0 : if (res) return res;
12297 : : }
12298 : : }
12299 : 0 : if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
12300 : : {
12301 : 0 : {
12302 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
12303 : 0 : tree res = generic_simplify_532 (loc, type, _p0, _p1, _p2, captures, MAX_EXPR);
12304 : 0 : if (res) return res;
12305 : : }
12306 : : }
12307 : : }
12308 : : }
12309 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
12310 : : {
12311 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
12312 : : {
12313 : 0 : if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
12314 : : {
12315 : 0 : {
12316 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
12317 : 0 : tree res = generic_simplify_532 (loc, type, _p0, _p1, _p2, captures, MAX_EXPR);
12318 : 0 : if (res) return res;
12319 : : }
12320 : : }
12321 : 0 : if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
12322 : : {
12323 : 0 : {
12324 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
12325 : 0 : tree res = generic_simplify_532 (loc, type, _p0, _p1, _p2, captures, MAX_EXPR);
12326 : 0 : if (res) return res;
12327 : : }
12328 : : }
12329 : : }
12330 : : }
12331 : : break;
12332 : : }
12333 : 6 : case MULT_EXPR:
12334 : 6 : {
12335 : 6 : tree _q50 = TREE_OPERAND (_p1, 0);
12336 : 6 : tree _q51 = TREE_OPERAND (_p1, 1);
12337 : 6 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
12338 : : {
12339 : 6 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
12340 : : {
12341 : 6 : switch (TREE_CODE (_p2))
12342 : : {
12343 : 6 : case MULT_EXPR:
12344 : 6 : {
12345 : 6 : tree _q80 = TREE_OPERAND (_p2, 0);
12346 : 6 : tree _q81 = TREE_OPERAND (_p2, 1);
12347 : 6 : if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
12348 : : {
12349 : 6 : if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
12350 : : {
12351 : 6 : {
12352 : 6 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
12353 : 6 : const enum tree_code op = MULT_EXPR;
12354 : 6 : if (ANY_INTEGRAL_TYPE_P (type)
12355 : : )
12356 : : {
12357 : 6 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2029;
12358 : 6 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2029;
12359 : 6 : {
12360 : 6 : tree _r;
12361 : 6 : _r = captures[2];
12362 : 6 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1066, __FILE__, __LINE__, true);
12363 : 6 : return _r;
12364 : : }
12365 : 0 : next_after_fail2029:;
12366 : : }
12367 : : }
12368 : : }
12369 : : }
12370 : : break;
12371 : : }
12372 : : default:;
12373 : : }
12374 : : }
12375 : : }
12376 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
12377 : : {
12378 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
12379 : : {
12380 : 0 : switch (TREE_CODE (_p2))
12381 : : {
12382 : 0 : case MULT_EXPR:
12383 : 0 : {
12384 : 0 : tree _q80 = TREE_OPERAND (_p2, 0);
12385 : 0 : tree _q81 = TREE_OPERAND (_p2, 1);
12386 : 0 : if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
12387 : : {
12388 : 0 : if ((_q81 == _q21 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q21, 0) && types_match (_q81, _q21)))
12389 : : {
12390 : 0 : {
12391 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
12392 : 0 : const enum tree_code op = MULT_EXPR;
12393 : 0 : if (ANY_INTEGRAL_TYPE_P (type)
12394 : : )
12395 : : {
12396 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2030;
12397 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2030;
12398 : 0 : {
12399 : 0 : tree _r;
12400 : 0 : _r = captures[2];
12401 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1066, __FILE__, __LINE__, true);
12402 : 0 : return _r;
12403 : : }
12404 : 0 : next_after_fail2030:;
12405 : : }
12406 : : }
12407 : : }
12408 : : }
12409 : : break;
12410 : : }
12411 : : default:;
12412 : : }
12413 : : }
12414 : : }
12415 : : break;
12416 : : }
12417 : 23 : case PLUS_EXPR:
12418 : 23 : {
12419 : 23 : tree _q50 = TREE_OPERAND (_p1, 0);
12420 : 23 : tree _q51 = TREE_OPERAND (_p1, 1);
12421 : 23 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
12422 : : {
12423 : 12 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
12424 : : {
12425 : 12 : switch (TREE_CODE (_p2))
12426 : : {
12427 : 6 : case PLUS_EXPR:
12428 : 6 : {
12429 : 6 : tree _q80 = TREE_OPERAND (_p2, 0);
12430 : 6 : tree _q81 = TREE_OPERAND (_p2, 1);
12431 : 6 : if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
12432 : : {
12433 : 6 : if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
12434 : : {
12435 : 6 : {
12436 : 6 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
12437 : 6 : const enum tree_code op = PLUS_EXPR;
12438 : 6 : if (ANY_INTEGRAL_TYPE_P (type)
12439 : : )
12440 : : {
12441 : 6 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2031;
12442 : 6 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2031;
12443 : 6 : {
12444 : 6 : tree _r;
12445 : 6 : _r = captures[2];
12446 : 6 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1066, __FILE__, __LINE__, true);
12447 : 6 : return _r;
12448 : : }
12449 : 0 : next_after_fail2031:;
12450 : : }
12451 : : }
12452 : : }
12453 : : }
12454 : : break;
12455 : : }
12456 : 6 : case MULT_EXPR:
12457 : 6 : {
12458 : 6 : tree _q80 = TREE_OPERAND (_p2, 0);
12459 : 6 : tree _q81 = TREE_OPERAND (_p2, 1);
12460 : 6 : if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
12461 : : {
12462 : 6 : if (uniform_integer_cst_p (_q81))
12463 : : {
12464 : 6 : {
12465 : 6 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q81 };
12466 : 6 : if (wi::to_wide (uniform_integer_cst_p (captures[3])) == 2
12467 : : )
12468 : : {
12469 : 6 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2032;
12470 : 6 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2032;
12471 : 6 : {
12472 : 6 : tree _r;
12473 : 6 : _r = captures[2];
12474 : 6 : if (TREE_SIDE_EFFECTS (captures[3]))
12475 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
12476 : 6 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1067, __FILE__, __LINE__, true);
12477 : 6 : return _r;
12478 : : }
12479 : 0 : next_after_fail2032:;
12480 : : }
12481 : : }
12482 : : }
12483 : : }
12484 : 0 : if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
12485 : : {
12486 : 0 : if (uniform_integer_cst_p (_q81))
12487 : : {
12488 : 0 : {
12489 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q81 };
12490 : 0 : if (wi::to_wide (uniform_integer_cst_p (captures[3])) == 2
12491 : : )
12492 : : {
12493 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2033;
12494 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2033;
12495 : 0 : {
12496 : 0 : tree _r;
12497 : 0 : _r = captures[2];
12498 : 0 : if (TREE_SIDE_EFFECTS (captures[3]))
12499 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
12500 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1067, __FILE__, __LINE__, true);
12501 : 0 : return _r;
12502 : : }
12503 : 0 : next_after_fail2033:;
12504 : : }
12505 : : }
12506 : : }
12507 : : }
12508 : : break;
12509 : : }
12510 : : default:;
12511 : : }
12512 : : }
12513 : : }
12514 : 11 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
12515 : : {
12516 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
12517 : : {
12518 : 0 : switch (TREE_CODE (_p2))
12519 : : {
12520 : 0 : case PLUS_EXPR:
12521 : 0 : {
12522 : 0 : tree _q80 = TREE_OPERAND (_p2, 0);
12523 : 0 : tree _q81 = TREE_OPERAND (_p2, 1);
12524 : 0 : if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
12525 : : {
12526 : 0 : if ((_q81 == _q21 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q21, 0) && types_match (_q81, _q21)))
12527 : : {
12528 : 0 : {
12529 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
12530 : 0 : const enum tree_code op = PLUS_EXPR;
12531 : 0 : if (ANY_INTEGRAL_TYPE_P (type)
12532 : : )
12533 : : {
12534 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2034;
12535 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2034;
12536 : 0 : {
12537 : 0 : tree _r;
12538 : 0 : _r = captures[2];
12539 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1066, __FILE__, __LINE__, true);
12540 : 0 : return _r;
12541 : : }
12542 : 0 : next_after_fail2034:;
12543 : : }
12544 : : }
12545 : : }
12546 : : }
12547 : : break;
12548 : : }
12549 : 0 : case MULT_EXPR:
12550 : 0 : {
12551 : 0 : tree _q80 = TREE_OPERAND (_p2, 0);
12552 : 0 : tree _q81 = TREE_OPERAND (_p2, 1);
12553 : 0 : if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
12554 : : {
12555 : 0 : if (uniform_integer_cst_p (_q81))
12556 : : {
12557 : 0 : {
12558 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q81 };
12559 : 0 : if (wi::to_wide (uniform_integer_cst_p (captures[3])) == 2
12560 : : )
12561 : : {
12562 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2035;
12563 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2035;
12564 : 0 : {
12565 : 0 : tree _r;
12566 : 0 : _r = captures[2];
12567 : 0 : if (TREE_SIDE_EFFECTS (captures[3]))
12568 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
12569 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1067, __FILE__, __LINE__, true);
12570 : 0 : return _r;
12571 : : }
12572 : 0 : next_after_fail2035:;
12573 : : }
12574 : : }
12575 : : }
12576 : : }
12577 : 0 : if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
12578 : : {
12579 : 0 : if (uniform_integer_cst_p (_q81))
12580 : : {
12581 : 0 : {
12582 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q81 };
12583 : 0 : if (wi::to_wide (uniform_integer_cst_p (captures[3])) == 2
12584 : : )
12585 : : {
12586 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2036;
12587 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2036;
12588 : 0 : {
12589 : 0 : tree _r;
12590 : 0 : _r = captures[2];
12591 : 0 : if (TREE_SIDE_EFFECTS (captures[3]))
12592 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
12593 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1067, __FILE__, __LINE__, true);
12594 : 0 : return _r;
12595 : : }
12596 : 0 : next_after_fail2036:;
12597 : : }
12598 : : }
12599 : : }
12600 : : }
12601 : : break;
12602 : : }
12603 : : default:;
12604 : : }
12605 : : }
12606 : : }
12607 : : break;
12608 : : }
12609 : : default:;
12610 : : }
12611 : : break;
12612 : : }
12613 : 331676 : default:;
12614 : : }
12615 : 331676 : switch (TREE_CODE (_p1))
12616 : : {
12617 : 6 : case VEC_COND_EXPR:
12618 : 6 : {
12619 : 6 : tree _q30 = TREE_OPERAND (_p1, 0);
12620 : 6 : tree _q31 = TREE_OPERAND (_p1, 1);
12621 : 6 : tree _q32 = TREE_OPERAND (_p1, 2);
12622 : 6 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
12623 : : {
12624 : 0 : {
12625 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _p2 };
12626 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2037;
12627 : 0 : {
12628 : 0 : tree res_op0;
12629 : 0 : res_op0 = captures[0];
12630 : 0 : tree res_op1;
12631 : 0 : res_op1 = captures[1];
12632 : 0 : tree res_op2;
12633 : 0 : res_op2 = captures[3];
12634 : 0 : tree _r;
12635 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
12636 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
12637 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
12638 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1074, __FILE__, __LINE__, true);
12639 : 0 : return _r;
12640 : : }
12641 : 0 : next_after_fail2037:;
12642 : : }
12643 : : }
12644 : : break;
12645 : : }
12646 : 331676 : default:;
12647 : : }
12648 : 331676 : switch (TREE_CODE (_p2))
12649 : : {
12650 : 3 : case VEC_COND_EXPR:
12651 : 3 : {
12652 : 3 : tree _q40 = TREE_OPERAND (_p2, 0);
12653 : 3 : tree _q41 = TREE_OPERAND (_p2, 1);
12654 : 3 : tree _q42 = TREE_OPERAND (_p2, 2);
12655 : 3 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
12656 : : {
12657 : 0 : {
12658 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p1, _q41, _q42 };
12659 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2038;
12660 : 0 : {
12661 : 0 : tree res_op0;
12662 : 0 : res_op0 = captures[0];
12663 : 0 : tree res_op1;
12664 : 0 : res_op1 = captures[1];
12665 : 0 : tree res_op2;
12666 : 0 : res_op2 = captures[3];
12667 : 0 : tree _r;
12668 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
12669 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
12670 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
12671 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1075, __FILE__, __LINE__, true);
12672 : 0 : return _r;
12673 : : }
12674 : 0 : next_after_fail2038:;
12675 : : }
12676 : : }
12677 : 3 : {
12678 : 3 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42 };
12679 : 3 : if (inverse_conditions_p (captures[0], captures[2])
12680 : : )
12681 : : {
12682 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2039;
12683 : 0 : {
12684 : 0 : tree res_op0;
12685 : 0 : res_op0 = captures[0];
12686 : 0 : tree res_op1;
12687 : 0 : res_op1 = captures[1];
12688 : 0 : tree res_op2;
12689 : 0 : res_op2 = captures[3];
12690 : 0 : tree _r;
12691 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
12692 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
12693 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
12694 : 0 : if (TREE_SIDE_EFFECTS (captures[4]))
12695 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
12696 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1076, __FILE__, __LINE__, true);
12697 : 0 : return _r;
12698 : : }
12699 : 0 : next_after_fail2039:;
12700 : : }
12701 : : }
12702 : 3 : break;
12703 : : }
12704 : 331676 : default:;
12705 : : }
12706 : 331676 : switch (TREE_CODE (_p1))
12707 : : {
12708 : 6 : case VEC_COND_EXPR:
12709 : 6 : {
12710 : 6 : tree _q30 = TREE_OPERAND (_p1, 0);
12711 : 6 : tree _q31 = TREE_OPERAND (_p1, 1);
12712 : 6 : tree _q32 = TREE_OPERAND (_p1, 2);
12713 : 6 : {
12714 : 6 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _q32, _p2 };
12715 : 6 : if (inverse_conditions_p (captures[0], captures[1])
12716 : : )
12717 : : {
12718 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2040;
12719 : 0 : {
12720 : 0 : tree res_op0;
12721 : 0 : res_op0 = captures[0];
12722 : 0 : tree res_op1;
12723 : 0 : res_op1 = captures[3];
12724 : 0 : tree res_op2;
12725 : 0 : res_op2 = captures[4];
12726 : 0 : tree _r;
12727 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
12728 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
12729 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
12730 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
12731 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
12732 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1077, __FILE__, __LINE__, true);
12733 : 0 : return _r;
12734 : : }
12735 : 0 : next_after_fail2040:;
12736 : : }
12737 : : }
12738 : 6 : break;
12739 : : }
12740 : 331676 : default:;
12741 : : }
12742 : 331676 : if ((_p2 == _p1 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _p1, 0) && types_match (_p2, _p1)))
12743 : : {
12744 : 33 : {
12745 : 33 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
12746 : 33 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2041;
12747 : 33 : {
12748 : 33 : tree _r;
12749 : 33 : _r = captures[1];
12750 : 33 : if (TREE_SIDE_EFFECTS (captures[0]))
12751 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
12752 : 33 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1078, __FILE__, __LINE__, true);
12753 : 33 : return _r;
12754 : : }
12755 : 0 : next_after_fail2041:;
12756 : : }
12757 : : }
12758 : 331643 : switch (TREE_CODE (_p0))
12759 : : {
12760 : 66262 : case EQ_EXPR:
12761 : 66262 : {
12762 : 66262 : tree _q20 = TREE_OPERAND (_p0, 0);
12763 : 66262 : tree _q21 = TREE_OPERAND (_p0, 1);
12764 : 66262 : if (zerop (_q21))
12765 : : {
12766 : 587 : switch (TREE_CODE (_p2))
12767 : : {
12768 : 0 : case NEGATE_EXPR:
12769 : 0 : {
12770 : 0 : tree _q60 = TREE_OPERAND (_p2, 0);
12771 : 0 : if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
12772 : : {
12773 : 0 : {
12774 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
12775 : 0 : const enum tree_code cmp = EQ_EXPR;
12776 : 0 : if (!HONOR_SIGNED_ZEROS (type)
12777 : 0 : && bitwise_equal_p (captures[0], captures[1])
12778 : : )
12779 : : {
12780 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2042;
12781 : 0 : if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail2042;
12782 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2042;
12783 : 0 : {
12784 : 0 : tree _r;
12785 : 0 : _r = captures[2];
12786 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1079, __FILE__, __LINE__, true);
12787 : 0 : return _r;
12788 : : }
12789 : 0 : next_after_fail2042:;
12790 : : }
12791 : : }
12792 : : }
12793 : : break;
12794 : : }
12795 : 587 : default:;
12796 : : }
12797 : 587 : if (zerop (_p1))
12798 : : {
12799 : 18 : switch (TREE_CODE (_p2))
12800 : : {
12801 : 0 : case NEGATE_EXPR:
12802 : 0 : {
12803 : 0 : tree _q60 = TREE_OPERAND (_p2, 0);
12804 : 0 : {
12805 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p2, _q60 };
12806 : 0 : const enum tree_code cmp = EQ_EXPR;
12807 : 0 : if (!HONOR_SIGNED_ZEROS (type)
12808 : 0 : && bitwise_equal_p (captures[0], captures[2])
12809 : : )
12810 : : {
12811 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2043;
12812 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2043;
12813 : 0 : if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail2043;
12814 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2043;
12815 : 0 : {
12816 : 0 : tree _r;
12817 : 0 : _r = captures[1];
12818 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1080, __FILE__, __LINE__, true);
12819 : 0 : return _r;
12820 : : }
12821 : 0 : next_after_fail2043:;
12822 : : }
12823 : : }
12824 : 0 : break;
12825 : : }
12826 : : default:;
12827 : : }
12828 : : }
12829 : : }
12830 : 66262 : switch (TREE_CODE (_q20))
12831 : : {
12832 : 0 : case MINUS_EXPR:
12833 : 0 : {
12834 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
12835 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
12836 : 0 : if (zerop (_q21))
12837 : : {
12838 : 0 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
12839 : : {
12840 : 0 : switch (TREE_CODE (_p2))
12841 : : {
12842 : 0 : case MINUS_EXPR:
12843 : 0 : {
12844 : 0 : tree _q80 = TREE_OPERAND (_p2, 0);
12845 : 0 : tree _q81 = TREE_OPERAND (_p2, 1);
12846 : 0 : if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
12847 : : {
12848 : 0 : if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
12849 : : {
12850 : 0 : {
12851 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p2 };
12852 : 0 : const enum tree_code cmp = EQ_EXPR;
12853 : 0 : if (!HONOR_SIGNED_ZEROS (type)
12854 : : )
12855 : : {
12856 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2044;
12857 : 0 : if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail2044;
12858 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2044;
12859 : 0 : {
12860 : 0 : tree _r;
12861 : 0 : _r = captures[3];
12862 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1081, __FILE__, __LINE__, true);
12863 : 0 : return _r;
12864 : : }
12865 : 0 : next_after_fail2044:;
12866 : : }
12867 : : }
12868 : : }
12869 : : }
12870 : : break;
12871 : : }
12872 : : default:;
12873 : : }
12874 : : }
12875 : : }
12876 : 0 : if (integer_zerop (_q21))
12877 : : {
12878 : 0 : if (integer_zerop (_p1))
12879 : : {
12880 : 0 : switch (TREE_CODE (_p2))
12881 : : {
12882 : 0 : case MINUS_EXPR:
12883 : 0 : {
12884 : 0 : tree _q80 = TREE_OPERAND (_p2, 0);
12885 : 0 : tree _q81 = TREE_OPERAND (_p2, 1);
12886 : 0 : if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
12887 : : {
12888 : 0 : if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
12889 : : {
12890 : 0 : {
12891 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p2 };
12892 : 0 : tree res = generic_simplify_533 (loc, type, _p0, _p1, _p2, captures, EQ_EXPR);
12893 : 0 : if (res) return res;
12894 : : }
12895 : : }
12896 : : }
12897 : : break;
12898 : : }
12899 : : default:;
12900 : : }
12901 : : }
12902 : : }
12903 : : break;
12904 : : }
12905 : : default:;
12906 : : }
12907 : : break;
12908 : : }
12909 : 0 : case UNEQ_EXPR:
12910 : 0 : {
12911 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
12912 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
12913 : 0 : if (zerop (_q21))
12914 : : {
12915 : 0 : switch (TREE_CODE (_p2))
12916 : : {
12917 : 0 : case NEGATE_EXPR:
12918 : 0 : {
12919 : 0 : tree _q60 = TREE_OPERAND (_p2, 0);
12920 : 0 : if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
12921 : : {
12922 : 0 : {
12923 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
12924 : 0 : const enum tree_code cmp = UNEQ_EXPR;
12925 : 0 : if (!HONOR_SIGNED_ZEROS (type)
12926 : 0 : && bitwise_equal_p (captures[0], captures[1])
12927 : : )
12928 : : {
12929 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2045;
12930 : 0 : if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail2045;
12931 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2045;
12932 : 0 : {
12933 : 0 : tree _r;
12934 : 0 : _r = captures[2];
12935 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1079, __FILE__, __LINE__, true);
12936 : 0 : return _r;
12937 : : }
12938 : 0 : next_after_fail2045:;
12939 : : }
12940 : : }
12941 : : }
12942 : : break;
12943 : : }
12944 : 0 : default:;
12945 : : }
12946 : 0 : if (zerop (_p1))
12947 : : {
12948 : 0 : switch (TREE_CODE (_p2))
12949 : : {
12950 : 0 : case NEGATE_EXPR:
12951 : 0 : {
12952 : 0 : tree _q60 = TREE_OPERAND (_p2, 0);
12953 : 0 : {
12954 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p2, _q60 };
12955 : 0 : const enum tree_code cmp = UNEQ_EXPR;
12956 : 0 : if (!HONOR_SIGNED_ZEROS (type)
12957 : 0 : && bitwise_equal_p (captures[0], captures[2])
12958 : : )
12959 : : {
12960 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2046;
12961 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2046;
12962 : 0 : if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail2046;
12963 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2046;
12964 : 0 : {
12965 : 0 : tree _r;
12966 : 0 : _r = captures[1];
12967 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1080, __FILE__, __LINE__, true);
12968 : 0 : return _r;
12969 : : }
12970 : 0 : next_after_fail2046:;
12971 : : }
12972 : : }
12973 : 0 : break;
12974 : : }
12975 : : default:;
12976 : : }
12977 : : }
12978 : : }
12979 : 0 : switch (TREE_CODE (_q20))
12980 : : {
12981 : 0 : case MINUS_EXPR:
12982 : 0 : {
12983 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
12984 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
12985 : 0 : if (zerop (_q21))
12986 : : {
12987 : 0 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
12988 : : {
12989 : 0 : switch (TREE_CODE (_p2))
12990 : : {
12991 : 0 : case MINUS_EXPR:
12992 : 0 : {
12993 : 0 : tree _q80 = TREE_OPERAND (_p2, 0);
12994 : 0 : tree _q81 = TREE_OPERAND (_p2, 1);
12995 : 0 : if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
12996 : : {
12997 : 0 : if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
12998 : : {
12999 : 0 : {
13000 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p2 };
13001 : 0 : const enum tree_code cmp = UNEQ_EXPR;
13002 : 0 : if (!HONOR_SIGNED_ZEROS (type)
13003 : : )
13004 : : {
13005 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2047;
13006 : 0 : if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail2047;
13007 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2047;
13008 : 0 : {
13009 : 0 : tree _r;
13010 : 0 : _r = captures[3];
13011 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1081, __FILE__, __LINE__, true);
13012 : 0 : return _r;
13013 : : }
13014 : 0 : next_after_fail2047:;
13015 : : }
13016 : : }
13017 : : }
13018 : : }
13019 : : break;
13020 : : }
13021 : : default:;
13022 : : }
13023 : : }
13024 : : }
13025 : 0 : if (integer_zerop (_q21))
13026 : : {
13027 : 0 : if (integer_zerop (_p1))
13028 : : {
13029 : 0 : switch (TREE_CODE (_p2))
13030 : : {
13031 : 0 : case MINUS_EXPR:
13032 : 0 : {
13033 : 0 : tree _q80 = TREE_OPERAND (_p2, 0);
13034 : 0 : tree _q81 = TREE_OPERAND (_p2, 1);
13035 : 0 : if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
13036 : : {
13037 : 0 : if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
13038 : : {
13039 : 0 : {
13040 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p2 };
13041 : 0 : tree res = generic_simplify_533 (loc, type, _p0, _p1, _p2, captures, UNEQ_EXPR);
13042 : 0 : if (res) return res;
13043 : : }
13044 : : }
13045 : : }
13046 : : break;
13047 : : }
13048 : : default:;
13049 : : }
13050 : : }
13051 : : }
13052 : : break;
13053 : : }
13054 : : default:;
13055 : : }
13056 : : break;
13057 : : }
13058 : 1209 : case NE_EXPR:
13059 : 1209 : {
13060 : 1209 : tree _q20 = TREE_OPERAND (_p0, 0);
13061 : 1209 : tree _q21 = TREE_OPERAND (_p0, 1);
13062 : 1209 : if (zerop (_q21))
13063 : : {
13064 : 286 : switch (TREE_CODE (_p2))
13065 : : {
13066 : 0 : case NEGATE_EXPR:
13067 : 0 : {
13068 : 0 : tree _q60 = TREE_OPERAND (_p2, 0);
13069 : 0 : if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
13070 : : {
13071 : 0 : {
13072 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
13073 : 0 : const enum tree_code cmp = NE_EXPR;
13074 : 0 : if (!HONOR_SIGNED_ZEROS (type)
13075 : 0 : && bitwise_equal_p (captures[0], captures[1])
13076 : : )
13077 : : {
13078 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2048;
13079 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2048;
13080 : 0 : {
13081 : 0 : tree _r;
13082 : 0 : _r = captures[1];
13083 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1082, __FILE__, __LINE__, true);
13084 : 0 : return _r;
13085 : : }
13086 : 0 : next_after_fail2048:;
13087 : : }
13088 : : }
13089 : : }
13090 : : break;
13091 : : }
13092 : 286 : default:;
13093 : : }
13094 : 286 : if (integer_zerop (_p2))
13095 : : {
13096 : 186 : {
13097 : 186 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
13098 : 186 : const enum tree_code cmp = NE_EXPR;
13099 : 186 : if (!HONOR_SIGNED_ZEROS (type)
13100 : 186 : && bitwise_equal_p (captures[0], captures[1])
13101 : : )
13102 : : {
13103 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2049;
13104 : 0 : if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail2049;
13105 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2049;
13106 : 0 : {
13107 : 0 : tree _r;
13108 : 0 : _r = captures[1];
13109 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1083, __FILE__, __LINE__, true);
13110 : 0 : return _r;
13111 : : }
13112 : 186 : next_after_fail2049:;
13113 : : }
13114 : : }
13115 : : }
13116 : : }
13117 : 1209 : switch (TREE_CODE (_q20))
13118 : : {
13119 : 40 : case MINUS_EXPR:
13120 : 40 : {
13121 : 40 : tree _q30 = TREE_OPERAND (_q20, 0);
13122 : 40 : tree _q31 = TREE_OPERAND (_q20, 1);
13123 : 40 : if (zerop (_q21))
13124 : : {
13125 : 0 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
13126 : : {
13127 : 0 : switch (TREE_CODE (_p2))
13128 : : {
13129 : 0 : case MINUS_EXPR:
13130 : 0 : {
13131 : 0 : tree _q80 = TREE_OPERAND (_p2, 0);
13132 : 0 : tree _q81 = TREE_OPERAND (_p2, 1);
13133 : 0 : if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
13134 : : {
13135 : 0 : if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
13136 : : {
13137 : 0 : {
13138 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
13139 : 0 : const enum tree_code cmp = NE_EXPR;
13140 : 0 : if (!HONOR_SIGNED_ZEROS (type)
13141 : : )
13142 : : {
13143 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2050;
13144 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2050;
13145 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2050;
13146 : 0 : {
13147 : 0 : tree _r;
13148 : 0 : _r = captures[0];
13149 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1084, __FILE__, __LINE__, true);
13150 : 0 : return _r;
13151 : : }
13152 : 0 : next_after_fail2050:;
13153 : : }
13154 : : }
13155 : : }
13156 : : }
13157 : : break;
13158 : : }
13159 : : default:;
13160 : : }
13161 : : }
13162 : : }
13163 : 40 : if (integer_zerop (_q21))
13164 : : {
13165 : 0 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
13166 : : {
13167 : 0 : if (integer_zerop (_p2))
13168 : : {
13169 : 0 : {
13170 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
13171 : 0 : tree res = generic_simplify_534 (loc, type, _p0, _p1, _p2, captures, NE_EXPR);
13172 : 0 : if (res) return res;
13173 : : }
13174 : : }
13175 : : }
13176 : : }
13177 : : break;
13178 : : }
13179 : : default:;
13180 : : }
13181 : : break;
13182 : : }
13183 : 0 : case LTGT_EXPR:
13184 : 0 : {
13185 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
13186 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
13187 : 0 : if (zerop (_q21))
13188 : : {
13189 : 0 : switch (TREE_CODE (_p2))
13190 : : {
13191 : 0 : case NEGATE_EXPR:
13192 : 0 : {
13193 : 0 : tree _q60 = TREE_OPERAND (_p2, 0);
13194 : 0 : if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
13195 : : {
13196 : 0 : {
13197 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
13198 : 0 : const enum tree_code cmp = LTGT_EXPR;
13199 : 0 : if (!HONOR_SIGNED_ZEROS (type)
13200 : 0 : && bitwise_equal_p (captures[0], captures[1])
13201 : : )
13202 : : {
13203 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2051;
13204 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2051;
13205 : 0 : {
13206 : 0 : tree _r;
13207 : 0 : _r = captures[1];
13208 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1082, __FILE__, __LINE__, true);
13209 : 0 : return _r;
13210 : : }
13211 : 0 : next_after_fail2051:;
13212 : : }
13213 : : }
13214 : : }
13215 : : break;
13216 : : }
13217 : 0 : default:;
13218 : : }
13219 : 0 : if (integer_zerop (_p2))
13220 : : {
13221 : 0 : {
13222 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
13223 : 0 : const enum tree_code cmp = LTGT_EXPR;
13224 : 0 : if (!HONOR_SIGNED_ZEROS (type)
13225 : 0 : && bitwise_equal_p (captures[0], captures[1])
13226 : : )
13227 : : {
13228 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2052;
13229 : 0 : if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail2052;
13230 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2052;
13231 : 0 : {
13232 : 0 : tree _r;
13233 : 0 : _r = captures[1];
13234 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1083, __FILE__, __LINE__, true);
13235 : 0 : return _r;
13236 : : }
13237 : 0 : next_after_fail2052:;
13238 : : }
13239 : : }
13240 : : }
13241 : : }
13242 : 0 : switch (TREE_CODE (_q20))
13243 : : {
13244 : 0 : case MINUS_EXPR:
13245 : 0 : {
13246 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
13247 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
13248 : 0 : if (zerop (_q21))
13249 : : {
13250 : 0 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
13251 : : {
13252 : 0 : switch (TREE_CODE (_p2))
13253 : : {
13254 : 0 : case MINUS_EXPR:
13255 : 0 : {
13256 : 0 : tree _q80 = TREE_OPERAND (_p2, 0);
13257 : 0 : tree _q81 = TREE_OPERAND (_p2, 1);
13258 : 0 : if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
13259 : : {
13260 : 0 : if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
13261 : : {
13262 : 0 : {
13263 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
13264 : 0 : const enum tree_code cmp = LTGT_EXPR;
13265 : 0 : if (!HONOR_SIGNED_ZEROS (type)
13266 : : )
13267 : : {
13268 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2053;
13269 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2053;
13270 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2053;
13271 : 0 : {
13272 : 0 : tree _r;
13273 : 0 : _r = captures[0];
13274 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1084, __FILE__, __LINE__, true);
13275 : 0 : return _r;
13276 : : }
13277 : 0 : next_after_fail2053:;
13278 : : }
13279 : : }
13280 : : }
13281 : : }
13282 : : break;
13283 : : }
13284 : : default:;
13285 : : }
13286 : : }
13287 : : }
13288 : 0 : if (integer_zerop (_q21))
13289 : : {
13290 : 0 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
13291 : : {
13292 : 0 : if (integer_zerop (_p2))
13293 : : {
13294 : 0 : {
13295 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
13296 : 0 : tree res = generic_simplify_534 (loc, type, _p0, _p1, _p2, captures, LTGT_EXPR);
13297 : 0 : if (res) return res;
13298 : : }
13299 : : }
13300 : : }
13301 : : }
13302 : : break;
13303 : : }
13304 : : default:;
13305 : : }
13306 : : break;
13307 : : }
13308 : 1179 : case GE_EXPR:
13309 : 1179 : {
13310 : 1179 : tree _q20 = TREE_OPERAND (_p0, 0);
13311 : 1179 : tree _q21 = TREE_OPERAND (_p0, 1);
13312 : 1179 : switch (TREE_CODE (_q20))
13313 : : {
13314 : 3 : CASE_CONVERT:
13315 : 3 : {
13316 : 3 : tree _q30 = TREE_OPERAND (_q20, 0);
13317 : 3 : if (zerop (_q21))
13318 : : {
13319 : 0 : switch (TREE_CODE (_p2))
13320 : : {
13321 : 0 : case NEGATE_EXPR:
13322 : 0 : {
13323 : 0 : tree _q70 = TREE_OPERAND (_p2, 0);
13324 : 0 : if ((_q70 == _p1 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _p1, 0) && types_match (_q70, _p1)))
13325 : : {
13326 : 0 : {
13327 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _p1 };
13328 : 0 : const enum tree_code cmp = GE_EXPR;
13329 : 0 : if (!HONOR_SIGNED_ZEROS (TREE_TYPE (captures[1]))
13330 : 0 : && !TYPE_UNSIGNED (TREE_TYPE (captures[1]))
13331 : 0 : && element_precision (captures[1])
13332 : 0 : <= element_precision (captures[0])
13333 : 0 : && bitwise_equal_p (captures[1], captures[2])
13334 : : )
13335 : : {
13336 : 0 : if (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
13337 : : )
13338 : : {
13339 : 0 : {
13340 : 0 : tree stype = signed_type_for (TREE_TYPE (captures[2]));
13341 : 0 : if (types_match (captures[0], stype)
13342 : : )
13343 : : {
13344 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2054;
13345 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2054;
13346 : 0 : {
13347 : 0 : tree res_op0;
13348 : 0 : res_op0 = captures[0];
13349 : 0 : tree _r;
13350 : 0 : _r = fold_build1_loc (loc, ABSU_EXPR, type, res_op0);
13351 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
13352 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
13353 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1087, __FILE__, __LINE__, true);
13354 : 0 : return _r;
13355 : : }
13356 : 0 : next_after_fail2054:;
13357 : : }
13358 : : else
13359 : : {
13360 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2055;
13361 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2055;
13362 : 0 : {
13363 : 0 : tree res_op0;
13364 : 0 : {
13365 : 0 : tree _o1[1], _r1;
13366 : 0 : _o1[0] = captures[2];
13367 : 0 : if (TREE_TYPE (_o1[0]) != stype)
13368 : : {
13369 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, stype, _o1[0]);
13370 : : }
13371 : : else
13372 : : _r1 = _o1[0];
13373 : 0 : res_op0 = _r1;
13374 : : }
13375 : 0 : tree _r;
13376 : 0 : _r = fold_build1_loc (loc, ABSU_EXPR, type, res_op0);
13377 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1088, __FILE__, __LINE__, true);
13378 : 0 : return _r;
13379 : : }
13380 : 0 : next_after_fail2055:;
13381 : : }
13382 : : }
13383 : : }
13384 : : else
13385 : : {
13386 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2056;
13387 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2056;
13388 : 0 : {
13389 : 0 : tree res_op0;
13390 : 0 : res_op0 = captures[2];
13391 : 0 : tree _r;
13392 : 0 : _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
13393 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1089, __FILE__, __LINE__, true);
13394 : 0 : return _r;
13395 : : }
13396 : 0 : next_after_fail2056:;
13397 : : }
13398 : : }
13399 : : }
13400 : : }
13401 : : break;
13402 : : }
13403 : : default:;
13404 : : }
13405 : : }
13406 : : break;
13407 : : }
13408 : 1179 : default:;
13409 : : }
13410 : 1179 : if (zerop (_q21))
13411 : : {
13412 : 334 : switch (TREE_CODE (_p2))
13413 : : {
13414 : 3 : case NEGATE_EXPR:
13415 : 3 : {
13416 : 3 : tree _q60 = TREE_OPERAND (_p2, 0);
13417 : 3 : if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
13418 : : {
13419 : 3 : {
13420 : 3 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q20, _p1 };
13421 : 3 : const enum tree_code cmp = GE_EXPR;
13422 : 3 : if (!HONOR_SIGNED_ZEROS (TREE_TYPE (captures[1]))
13423 : 3 : && !TYPE_UNSIGNED (TREE_TYPE (captures[1]))
13424 : 6 : && element_precision (captures[1])
13425 : 3 : <= element_precision (captures[0])
13426 : 6 : && bitwise_equal_p (captures[1], captures[2])
13427 : : )
13428 : : {
13429 : 3 : if (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
13430 : : )
13431 : : {
13432 : 0 : {
13433 : 0 : tree stype = signed_type_for (TREE_TYPE (captures[2]));
13434 : 0 : if (types_match (captures[0], stype)
13435 : : )
13436 : : {
13437 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2057;
13438 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2057;
13439 : 0 : {
13440 : 0 : tree res_op0;
13441 : 0 : res_op0 = captures[0];
13442 : 0 : tree _r;
13443 : 0 : _r = fold_build1_loc (loc, ABSU_EXPR, type, res_op0);
13444 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
13445 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
13446 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1087, __FILE__, __LINE__, true);
13447 : 0 : return _r;
13448 : : }
13449 : 0 : next_after_fail2057:;
13450 : : }
13451 : : else
13452 : : {
13453 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2058;
13454 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2058;
13455 : 0 : {
13456 : 0 : tree res_op0;
13457 : 0 : {
13458 : 0 : tree _o1[1], _r1;
13459 : 0 : _o1[0] = captures[2];
13460 : 0 : if (TREE_TYPE (_o1[0]) != stype)
13461 : : {
13462 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, stype, _o1[0]);
13463 : : }
13464 : : else
13465 : : _r1 = _o1[0];
13466 : 0 : res_op0 = _r1;
13467 : : }
13468 : 0 : tree _r;
13469 : 0 : _r = fold_build1_loc (loc, ABSU_EXPR, type, res_op0);
13470 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1088, __FILE__, __LINE__, true);
13471 : 0 : return _r;
13472 : : }
13473 : 0 : next_after_fail2058:;
13474 : : }
13475 : : }
13476 : : }
13477 : : else
13478 : : {
13479 : 3 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2059;
13480 : 3 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2059;
13481 : 3 : {
13482 : 3 : tree res_op0;
13483 : 3 : res_op0 = captures[2];
13484 : 3 : tree _r;
13485 : 3 : _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
13486 : 3 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1089, __FILE__, __LINE__, true);
13487 : 3 : return _r;
13488 : : }
13489 : 0 : next_after_fail2059:;
13490 : : }
13491 : : }
13492 : : }
13493 : : }
13494 : : break;
13495 : : }
13496 : : default:;
13497 : : }
13498 : : }
13499 : 1176 : switch (TREE_CODE (_q20))
13500 : : {
13501 : 0 : case MINUS_EXPR:
13502 : 0 : {
13503 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
13504 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
13505 : 0 : if (zerop (_q21))
13506 : : {
13507 : 0 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
13508 : : {
13509 : 0 : switch (TREE_CODE (_p2))
13510 : : {
13511 : 0 : case MINUS_EXPR:
13512 : 0 : {
13513 : 0 : tree _q80 = TREE_OPERAND (_p2, 0);
13514 : 0 : tree _q81 = TREE_OPERAND (_p2, 1);
13515 : 0 : if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
13516 : : {
13517 : 0 : if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
13518 : : {
13519 : 0 : {
13520 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
13521 : 0 : const enum tree_code cmp = GE_EXPR;
13522 : 0 : if (!HONOR_SIGNED_ZEROS (type)
13523 : 0 : && !TYPE_UNSIGNED (type)
13524 : : )
13525 : : {
13526 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2060;
13527 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2060;
13528 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2060;
13529 : 0 : {
13530 : 0 : tree res_op0;
13531 : 0 : res_op0 = captures[0];
13532 : 0 : tree _r;
13533 : 0 : _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
13534 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1090, __FILE__, __LINE__, true);
13535 : 0 : return _r;
13536 : : }
13537 : 0 : next_after_fail2060:;
13538 : : }
13539 : : }
13540 : : }
13541 : : }
13542 : : break;
13543 : : }
13544 : : default:;
13545 : : }
13546 : : }
13547 : : }
13548 : : break;
13549 : : }
13550 : : default:;
13551 : : }
13552 : : break;
13553 : : }
13554 : 66174 : case GT_EXPR:
13555 : 66174 : {
13556 : 66174 : tree _q20 = TREE_OPERAND (_p0, 0);
13557 : 66174 : tree _q21 = TREE_OPERAND (_p0, 1);
13558 : 66174 : switch (TREE_CODE (_q20))
13559 : : {
13560 : 13 : CASE_CONVERT:
13561 : 13 : {
13562 : 13 : tree _q30 = TREE_OPERAND (_q20, 0);
13563 : 13 : if (zerop (_q21))
13564 : : {
13565 : 1 : switch (TREE_CODE (_p2))
13566 : : {
13567 : 0 : case NEGATE_EXPR:
13568 : 0 : {
13569 : 0 : tree _q70 = TREE_OPERAND (_p2, 0);
13570 : 0 : if ((_q70 == _p1 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _p1, 0) && types_match (_q70, _p1)))
13571 : : {
13572 : 0 : {
13573 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _p1 };
13574 : 0 : const enum tree_code cmp = GT_EXPR;
13575 : 0 : if (!HONOR_SIGNED_ZEROS (TREE_TYPE (captures[1]))
13576 : 0 : && !TYPE_UNSIGNED (TREE_TYPE (captures[1]))
13577 : 0 : && element_precision (captures[1])
13578 : 0 : <= element_precision (captures[0])
13579 : 0 : && bitwise_equal_p (captures[1], captures[2])
13580 : : )
13581 : : {
13582 : 0 : if (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
13583 : : )
13584 : : {
13585 : 0 : {
13586 : 0 : tree stype = signed_type_for (TREE_TYPE (captures[2]));
13587 : 0 : if (types_match (captures[0], stype)
13588 : : )
13589 : : {
13590 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2061;
13591 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2061;
13592 : 0 : {
13593 : 0 : tree res_op0;
13594 : 0 : res_op0 = captures[0];
13595 : 0 : tree _r;
13596 : 0 : _r = fold_build1_loc (loc, ABSU_EXPR, type, res_op0);
13597 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
13598 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
13599 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1087, __FILE__, __LINE__, true);
13600 : 0 : return _r;
13601 : : }
13602 : 0 : next_after_fail2061:;
13603 : : }
13604 : : else
13605 : : {
13606 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2062;
13607 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2062;
13608 : 0 : {
13609 : 0 : tree res_op0;
13610 : 0 : {
13611 : 0 : tree _o1[1], _r1;
13612 : 0 : _o1[0] = captures[2];
13613 : 0 : if (TREE_TYPE (_o1[0]) != stype)
13614 : : {
13615 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, stype, _o1[0]);
13616 : : }
13617 : : else
13618 : : _r1 = _o1[0];
13619 : 0 : res_op0 = _r1;
13620 : : }
13621 : 0 : tree _r;
13622 : 0 : _r = fold_build1_loc (loc, ABSU_EXPR, type, res_op0);
13623 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1088, __FILE__, __LINE__, true);
13624 : 0 : return _r;
13625 : : }
13626 : 0 : next_after_fail2062:;
13627 : : }
13628 : : }
13629 : : }
13630 : : else
13631 : : {
13632 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2063;
13633 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2063;
13634 : 0 : {
13635 : 0 : tree res_op0;
13636 : 0 : res_op0 = captures[2];
13637 : 0 : tree _r;
13638 : 0 : _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
13639 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1089, __FILE__, __LINE__, true);
13640 : 0 : return _r;
13641 : : }
13642 : 0 : next_after_fail2063:;
13643 : : }
13644 : : }
13645 : : }
13646 : : }
13647 : : break;
13648 : : }
13649 : : default:;
13650 : : }
13651 : : }
13652 : : break;
13653 : : }
13654 : 66174 : default:;
13655 : : }
13656 : 66174 : if (zerop (_q21))
13657 : : {
13658 : 78 : switch (TREE_CODE (_p2))
13659 : : {
13660 : 3 : case NEGATE_EXPR:
13661 : 3 : {
13662 : 3 : tree _q60 = TREE_OPERAND (_p2, 0);
13663 : 3 : if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
13664 : : {
13665 : 3 : {
13666 : 3 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q20, _p1 };
13667 : 3 : const enum tree_code cmp = GT_EXPR;
13668 : 3 : if (!HONOR_SIGNED_ZEROS (TREE_TYPE (captures[1]))
13669 : 3 : && !TYPE_UNSIGNED (TREE_TYPE (captures[1]))
13670 : 6 : && element_precision (captures[1])
13671 : 3 : <= element_precision (captures[0])
13672 : 6 : && bitwise_equal_p (captures[1], captures[2])
13673 : : )
13674 : : {
13675 : 3 : if (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
13676 : : )
13677 : : {
13678 : 0 : {
13679 : 0 : tree stype = signed_type_for (TREE_TYPE (captures[2]));
13680 : 0 : if (types_match (captures[0], stype)
13681 : : )
13682 : : {
13683 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2064;
13684 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2064;
13685 : 0 : {
13686 : 0 : tree res_op0;
13687 : 0 : res_op0 = captures[0];
13688 : 0 : tree _r;
13689 : 0 : _r = fold_build1_loc (loc, ABSU_EXPR, type, res_op0);
13690 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
13691 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
13692 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1087, __FILE__, __LINE__, true);
13693 : 0 : return _r;
13694 : : }
13695 : 0 : next_after_fail2064:;
13696 : : }
13697 : : else
13698 : : {
13699 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2065;
13700 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2065;
13701 : 0 : {
13702 : 0 : tree res_op0;
13703 : 0 : {
13704 : 0 : tree _o1[1], _r1;
13705 : 0 : _o1[0] = captures[2];
13706 : 0 : if (TREE_TYPE (_o1[0]) != stype)
13707 : : {
13708 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, stype, _o1[0]);
13709 : : }
13710 : : else
13711 : : _r1 = _o1[0];
13712 : 0 : res_op0 = _r1;
13713 : : }
13714 : 0 : tree _r;
13715 : 0 : _r = fold_build1_loc (loc, ABSU_EXPR, type, res_op0);
13716 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1088, __FILE__, __LINE__, true);
13717 : 0 : return _r;
13718 : : }
13719 : 0 : next_after_fail2065:;
13720 : : }
13721 : : }
13722 : : }
13723 : : else
13724 : : {
13725 : 3 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2066;
13726 : 3 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2066;
13727 : 3 : {
13728 : 3 : tree res_op0;
13729 : 3 : res_op0 = captures[2];
13730 : 3 : tree _r;
13731 : 3 : _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
13732 : 3 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1089, __FILE__, __LINE__, true);
13733 : 3 : return _r;
13734 : : }
13735 : 0 : next_after_fail2066:;
13736 : : }
13737 : : }
13738 : : }
13739 : : }
13740 : : break;
13741 : : }
13742 : : default:;
13743 : : }
13744 : : }
13745 : 66171 : switch (TREE_CODE (_q20))
13746 : : {
13747 : 0 : case MINUS_EXPR:
13748 : 0 : {
13749 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
13750 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
13751 : 0 : if (zerop (_q21))
13752 : : {
13753 : 0 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
13754 : : {
13755 : 0 : switch (TREE_CODE (_p2))
13756 : : {
13757 : 0 : case MINUS_EXPR:
13758 : 0 : {
13759 : 0 : tree _q80 = TREE_OPERAND (_p2, 0);
13760 : 0 : tree _q81 = TREE_OPERAND (_p2, 1);
13761 : 0 : if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
13762 : : {
13763 : 0 : if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
13764 : : {
13765 : 0 : {
13766 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
13767 : 0 : const enum tree_code cmp = GT_EXPR;
13768 : 0 : if (!HONOR_SIGNED_ZEROS (type)
13769 : 0 : && !TYPE_UNSIGNED (type)
13770 : : )
13771 : : {
13772 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2067;
13773 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2067;
13774 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2067;
13775 : 0 : {
13776 : 0 : tree res_op0;
13777 : 0 : res_op0 = captures[0];
13778 : 0 : tree _r;
13779 : 0 : _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
13780 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1090, __FILE__, __LINE__, true);
13781 : 0 : return _r;
13782 : : }
13783 : 0 : next_after_fail2067:;
13784 : : }
13785 : : }
13786 : : }
13787 : : }
13788 : : break;
13789 : : }
13790 : : default:;
13791 : : }
13792 : : }
13793 : : }
13794 : : break;
13795 : : }
13796 : : default:;
13797 : : }
13798 : : break;
13799 : : }
13800 : 897 : case LE_EXPR:
13801 : 897 : {
13802 : 897 : tree _q20 = TREE_OPERAND (_p0, 0);
13803 : 897 : tree _q21 = TREE_OPERAND (_p0, 1);
13804 : 897 : switch (TREE_CODE (_q20))
13805 : : {
13806 : 0 : CASE_CONVERT:
13807 : 0 : {
13808 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
13809 : 0 : if (zerop (_q21))
13810 : : {
13811 : 0 : switch (TREE_CODE (_p2))
13812 : : {
13813 : 0 : case NEGATE_EXPR:
13814 : 0 : {
13815 : 0 : tree _q70 = TREE_OPERAND (_p2, 0);
13816 : 0 : if ((_q70 == _p1 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _p1, 0) && types_match (_q70, _p1)))
13817 : : {
13818 : 0 : {
13819 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _p1 };
13820 : 0 : const enum tree_code cmp = LE_EXPR;
13821 : 0 : if (!HONOR_SIGNED_ZEROS (TREE_TYPE (captures[1]))
13822 : 0 : && !TYPE_UNSIGNED (TREE_TYPE (captures[1]))
13823 : 0 : && element_precision (captures[1])
13824 : 0 : <= element_precision (captures[0])
13825 : 0 : && bitwise_equal_p (captures[1], captures[2])
13826 : : )
13827 : : {
13828 : 0 : if ((ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
13829 : 0 : && !TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[2])))
13830 : 0 : || TYPE_UNSIGNED (TREE_TYPE (captures[2]))
13831 : : )
13832 : : {
13833 : 0 : {
13834 : 0 : tree stype = signed_type_for (TREE_TYPE (captures[2]));
13835 : 0 : tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
13836 : 0 : if (types_match (captures[0], stype)
13837 : : )
13838 : : {
13839 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2068;
13840 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2068;
13841 : 0 : {
13842 : 0 : tree res_op0;
13843 : 0 : {
13844 : 0 : tree _o1[1], _r1;
13845 : 0 : {
13846 : 0 : tree _o2[1], _r2;
13847 : 0 : _o2[0] = captures[0];
13848 : 0 : _r2 = fold_build1_loc (loc, ABSU_EXPR, utype, _o2[0]);
13849 : 0 : _o1[0] = _r2;
13850 : : }
13851 : 0 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
13852 : 0 : res_op0 = _r1;
13853 : : }
13854 : 0 : tree _r;
13855 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
13856 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
13857 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
13858 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1091, __FILE__, __LINE__, true);
13859 : 0 : return _r;
13860 : : }
13861 : 0 : next_after_fail2068:;
13862 : : }
13863 : : else
13864 : : {
13865 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2069;
13866 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2069;
13867 : 0 : {
13868 : 0 : tree res_op0;
13869 : 0 : {
13870 : 0 : tree _o1[1], _r1;
13871 : 0 : {
13872 : 0 : tree _o2[1], _r2;
13873 : 0 : {
13874 : 0 : tree _o3[1], _r3;
13875 : 0 : _o3[0] = captures[2];
13876 : 0 : if (TREE_TYPE (_o3[0]) != stype)
13877 : : {
13878 : 0 : _r3 = fold_build1_loc (loc, NOP_EXPR, stype, _o3[0]);
13879 : : }
13880 : : else
13881 : : _r3 = _o3[0];
13882 : 0 : _o2[0] = _r3;
13883 : : }
13884 : 0 : _r2 = fold_build1_loc (loc, ABSU_EXPR, utype, _o2[0]);
13885 : 0 : _o1[0] = _r2;
13886 : : }
13887 : 0 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
13888 : 0 : res_op0 = _r1;
13889 : : }
13890 : 0 : tree _r;
13891 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
13892 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1092, __FILE__, __LINE__, true);
13893 : 0 : return _r;
13894 : : }
13895 : 0 : next_after_fail2069:;
13896 : : }
13897 : : }
13898 : : }
13899 : : else
13900 : : {
13901 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2070;
13902 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2070;
13903 : 0 : {
13904 : 0 : tree res_op0;
13905 : 0 : {
13906 : 0 : tree _o1[1], _r1;
13907 : 0 : {
13908 : 0 : tree _o2[1], _r2;
13909 : 0 : _o2[0] = captures[2];
13910 : 0 : _r2 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
13911 : 0 : _o1[0] = _r2;
13912 : : }
13913 : 0 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
13914 : 0 : res_op0 = _r1;
13915 : : }
13916 : 0 : tree _r;
13917 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
13918 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1093, __FILE__, __LINE__, true);
13919 : 0 : return _r;
13920 : : }
13921 : 0 : next_after_fail2070:;
13922 : : }
13923 : : }
13924 : : }
13925 : : }
13926 : : break;
13927 : : }
13928 : : default:;
13929 : : }
13930 : : }
13931 : : break;
13932 : : }
13933 : 897 : default:;
13934 : : }
13935 : 897 : if (zerop (_q21))
13936 : : {
13937 : 18 : switch (TREE_CODE (_p2))
13938 : : {
13939 : 0 : case NEGATE_EXPR:
13940 : 0 : {
13941 : 0 : tree _q60 = TREE_OPERAND (_p2, 0);
13942 : 0 : if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
13943 : : {
13944 : 0 : {
13945 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q20, _p1 };
13946 : 0 : const enum tree_code cmp = LE_EXPR;
13947 : 0 : if (!HONOR_SIGNED_ZEROS (TREE_TYPE (captures[1]))
13948 : 0 : && !TYPE_UNSIGNED (TREE_TYPE (captures[1]))
13949 : 0 : && element_precision (captures[1])
13950 : 0 : <= element_precision (captures[0])
13951 : 0 : && bitwise_equal_p (captures[1], captures[2])
13952 : : )
13953 : : {
13954 : 0 : if ((ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
13955 : 0 : && !TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[2])))
13956 : 0 : || TYPE_UNSIGNED (TREE_TYPE (captures[2]))
13957 : : )
13958 : : {
13959 : 0 : {
13960 : 0 : tree stype = signed_type_for (TREE_TYPE (captures[2]));
13961 : 0 : tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
13962 : 0 : if (types_match (captures[0], stype)
13963 : : )
13964 : : {
13965 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2071;
13966 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2071;
13967 : 0 : {
13968 : 0 : tree res_op0;
13969 : 0 : {
13970 : 0 : tree _o1[1], _r1;
13971 : 0 : {
13972 : 0 : tree _o2[1], _r2;
13973 : 0 : _o2[0] = captures[0];
13974 : 0 : _r2 = fold_build1_loc (loc, ABSU_EXPR, utype, _o2[0]);
13975 : 0 : _o1[0] = _r2;
13976 : : }
13977 : 0 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
13978 : 0 : res_op0 = _r1;
13979 : : }
13980 : 0 : tree _r;
13981 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
13982 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
13983 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
13984 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1091, __FILE__, __LINE__, true);
13985 : 0 : return _r;
13986 : : }
13987 : 0 : next_after_fail2071:;
13988 : : }
13989 : : else
13990 : : {
13991 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2072;
13992 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2072;
13993 : 0 : {
13994 : 0 : tree res_op0;
13995 : 0 : {
13996 : 0 : tree _o1[1], _r1;
13997 : 0 : {
13998 : 0 : tree _o2[1], _r2;
13999 : 0 : {
14000 : 0 : tree _o3[1], _r3;
14001 : 0 : _o3[0] = captures[2];
14002 : 0 : if (TREE_TYPE (_o3[0]) != stype)
14003 : : {
14004 : 0 : _r3 = fold_build1_loc (loc, NOP_EXPR, stype, _o3[0]);
14005 : : }
14006 : : else
14007 : : _r3 = _o3[0];
14008 : 0 : _o2[0] = _r3;
14009 : : }
14010 : 0 : _r2 = fold_build1_loc (loc, ABSU_EXPR, utype, _o2[0]);
14011 : 0 : _o1[0] = _r2;
14012 : : }
14013 : 0 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
14014 : 0 : res_op0 = _r1;
14015 : : }
14016 : 0 : tree _r;
14017 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
14018 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1092, __FILE__, __LINE__, true);
14019 : 0 : return _r;
14020 : : }
14021 : 0 : next_after_fail2072:;
14022 : : }
14023 : : }
14024 : : }
14025 : : else
14026 : : {
14027 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2073;
14028 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2073;
14029 : 0 : {
14030 : 0 : tree res_op0;
14031 : 0 : {
14032 : 0 : tree _o1[1], _r1;
14033 : 0 : {
14034 : 0 : tree _o2[1], _r2;
14035 : 0 : _o2[0] = captures[2];
14036 : 0 : _r2 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
14037 : 0 : _o1[0] = _r2;
14038 : : }
14039 : 0 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
14040 : 0 : res_op0 = _r1;
14041 : : }
14042 : 0 : tree _r;
14043 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
14044 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1093, __FILE__, __LINE__, true);
14045 : 0 : return _r;
14046 : : }
14047 : 0 : next_after_fail2073:;
14048 : : }
14049 : : }
14050 : : }
14051 : : }
14052 : : break;
14053 : : }
14054 : : default:;
14055 : : }
14056 : : }
14057 : 897 : switch (TREE_CODE (_q20))
14058 : : {
14059 : 0 : case MINUS_EXPR:
14060 : 0 : {
14061 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
14062 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
14063 : 0 : if (zerop (_q21))
14064 : : {
14065 : 0 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
14066 : : {
14067 : 0 : switch (TREE_CODE (_p2))
14068 : : {
14069 : 0 : case MINUS_EXPR:
14070 : 0 : {
14071 : 0 : tree _q80 = TREE_OPERAND (_p2, 0);
14072 : 0 : tree _q81 = TREE_OPERAND (_p2, 1);
14073 : 0 : if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
14074 : : {
14075 : 0 : if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
14076 : : {
14077 : 0 : {
14078 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
14079 : 0 : const enum tree_code cmp = LE_EXPR;
14080 : 0 : if (!HONOR_SIGNED_ZEROS (type)
14081 : 0 : && !TYPE_UNSIGNED (type)
14082 : : )
14083 : : {
14084 : 0 : if (ANY_INTEGRAL_TYPE_P (type)
14085 : 0 : && !TYPE_OVERFLOW_WRAPS (type)
14086 : : )
14087 : : {
14088 : 0 : {
14089 : 0 : tree utype = unsigned_type_for (type);
14090 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2074;
14091 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2074;
14092 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2074;
14093 : 0 : {
14094 : 0 : tree res_op0;
14095 : 0 : {
14096 : 0 : tree _o1[1], _r1;
14097 : 0 : {
14098 : 0 : tree _o2[1], _r2;
14099 : 0 : _o2[0] = captures[0];
14100 : 0 : _r2 = fold_build1_loc (loc, ABSU_EXPR, utype, _o2[0]);
14101 : 0 : _o1[0] = _r2;
14102 : : }
14103 : 0 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
14104 : 0 : res_op0 = _r1;
14105 : : }
14106 : 0 : tree _r;
14107 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
14108 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1094, __FILE__, __LINE__, true);
14109 : 0 : return _r;
14110 : : }
14111 : 0 : next_after_fail2074:;
14112 : : }
14113 : : }
14114 : : else
14115 : : {
14116 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2075;
14117 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2075;
14118 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2075;
14119 : 0 : {
14120 : 0 : tree res_op0;
14121 : 0 : {
14122 : 0 : tree _o1[1], _r1;
14123 : 0 : _o1[0] = captures[0];
14124 : 0 : _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
14125 : 0 : res_op0 = _r1;
14126 : : }
14127 : 0 : tree _r;
14128 : 0 : _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
14129 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1095, __FILE__, __LINE__, true);
14130 : 0 : return _r;
14131 : : }
14132 : 0 : next_after_fail2075:;
14133 : : }
14134 : : }
14135 : : }
14136 : : }
14137 : : }
14138 : : break;
14139 : : }
14140 : : default:;
14141 : : }
14142 : : }
14143 : : }
14144 : : break;
14145 : : }
14146 : : default:;
14147 : : }
14148 : : break;
14149 : : }
14150 : 20534 : case LT_EXPR:
14151 : 20534 : {
14152 : 20534 : tree _q20 = TREE_OPERAND (_p0, 0);
14153 : 20534 : tree _q21 = TREE_OPERAND (_p0, 1);
14154 : 20534 : switch (TREE_CODE (_q20))
14155 : : {
14156 : 0 : CASE_CONVERT:
14157 : 0 : {
14158 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
14159 : 0 : if (zerop (_q21))
14160 : : {
14161 : 0 : switch (TREE_CODE (_p2))
14162 : : {
14163 : 0 : case NEGATE_EXPR:
14164 : 0 : {
14165 : 0 : tree _q70 = TREE_OPERAND (_p2, 0);
14166 : 0 : if ((_q70 == _p1 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _p1, 0) && types_match (_q70, _p1)))
14167 : : {
14168 : 0 : {
14169 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _p1 };
14170 : 0 : const enum tree_code cmp = LT_EXPR;
14171 : 0 : if (!HONOR_SIGNED_ZEROS (TREE_TYPE (captures[1]))
14172 : 0 : && !TYPE_UNSIGNED (TREE_TYPE (captures[1]))
14173 : 0 : && element_precision (captures[1])
14174 : 0 : <= element_precision (captures[0])
14175 : 0 : && bitwise_equal_p (captures[1], captures[2])
14176 : : )
14177 : : {
14178 : 0 : if ((ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
14179 : 0 : && !TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[2])))
14180 : 0 : || TYPE_UNSIGNED (TREE_TYPE (captures[2]))
14181 : : )
14182 : : {
14183 : 0 : {
14184 : 0 : tree stype = signed_type_for (TREE_TYPE (captures[2]));
14185 : 0 : tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
14186 : 0 : if (types_match (captures[0], stype)
14187 : : )
14188 : : {
14189 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2076;
14190 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2076;
14191 : 0 : {
14192 : 0 : tree res_op0;
14193 : 0 : {
14194 : 0 : tree _o1[1], _r1;
14195 : 0 : {
14196 : 0 : tree _o2[1], _r2;
14197 : 0 : _o2[0] = captures[0];
14198 : 0 : _r2 = fold_build1_loc (loc, ABSU_EXPR, utype, _o2[0]);
14199 : 0 : _o1[0] = _r2;
14200 : : }
14201 : 0 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
14202 : 0 : res_op0 = _r1;
14203 : : }
14204 : 0 : tree _r;
14205 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
14206 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
14207 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
14208 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1091, __FILE__, __LINE__, true);
14209 : 0 : return _r;
14210 : : }
14211 : 0 : next_after_fail2076:;
14212 : : }
14213 : : else
14214 : : {
14215 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2077;
14216 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2077;
14217 : 0 : {
14218 : 0 : tree res_op0;
14219 : 0 : {
14220 : 0 : tree _o1[1], _r1;
14221 : 0 : {
14222 : 0 : tree _o2[1], _r2;
14223 : 0 : {
14224 : 0 : tree _o3[1], _r3;
14225 : 0 : _o3[0] = captures[2];
14226 : 0 : if (TREE_TYPE (_o3[0]) != stype)
14227 : : {
14228 : 0 : _r3 = fold_build1_loc (loc, NOP_EXPR, stype, _o3[0]);
14229 : : }
14230 : : else
14231 : : _r3 = _o3[0];
14232 : 0 : _o2[0] = _r3;
14233 : : }
14234 : 0 : _r2 = fold_build1_loc (loc, ABSU_EXPR, utype, _o2[0]);
14235 : 0 : _o1[0] = _r2;
14236 : : }
14237 : 0 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
14238 : 0 : res_op0 = _r1;
14239 : : }
14240 : 0 : tree _r;
14241 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
14242 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1092, __FILE__, __LINE__, true);
14243 : 0 : return _r;
14244 : : }
14245 : 0 : next_after_fail2077:;
14246 : : }
14247 : : }
14248 : : }
14249 : : else
14250 : : {
14251 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2078;
14252 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2078;
14253 : 0 : {
14254 : 0 : tree res_op0;
14255 : 0 : {
14256 : 0 : tree _o1[1], _r1;
14257 : 0 : {
14258 : 0 : tree _o2[1], _r2;
14259 : 0 : _o2[0] = captures[2];
14260 : 0 : _r2 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
14261 : 0 : _o1[0] = _r2;
14262 : : }
14263 : 0 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
14264 : 0 : res_op0 = _r1;
14265 : : }
14266 : 0 : tree _r;
14267 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
14268 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1093, __FILE__, __LINE__, true);
14269 : 0 : return _r;
14270 : : }
14271 : 0 : next_after_fail2078:;
14272 : : }
14273 : : }
14274 : : }
14275 : : }
14276 : : break;
14277 : : }
14278 : : default:;
14279 : : }
14280 : : }
14281 : : break;
14282 : : }
14283 : 20534 : default:;
14284 : : }
14285 : 20534 : if (zerop (_q21))
14286 : : {
14287 : 536 : switch (TREE_CODE (_p2))
14288 : : {
14289 : 16 : case NEGATE_EXPR:
14290 : 16 : {
14291 : 16 : tree _q60 = TREE_OPERAND (_p2, 0);
14292 : 16 : if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
14293 : : {
14294 : 16 : {
14295 : 16 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q20, _p1 };
14296 : 16 : const enum tree_code cmp = LT_EXPR;
14297 : 16 : if (!HONOR_SIGNED_ZEROS (TREE_TYPE (captures[1]))
14298 : 16 : && !TYPE_UNSIGNED (TREE_TYPE (captures[1]))
14299 : 32 : && element_precision (captures[1])
14300 : 16 : <= element_precision (captures[0])
14301 : 32 : && bitwise_equal_p (captures[1], captures[2])
14302 : : )
14303 : : {
14304 : 32 : if ((ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
14305 : 16 : && !TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[2])))
14306 : 16 : || TYPE_UNSIGNED (TREE_TYPE (captures[2]))
14307 : : )
14308 : : {
14309 : 16 : {
14310 : 16 : tree stype = signed_type_for (TREE_TYPE (captures[2]));
14311 : 16 : tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
14312 : 16 : if (types_match (captures[0], stype)
14313 : : )
14314 : : {
14315 : 16 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2079;
14316 : 16 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2079;
14317 : 16 : {
14318 : 16 : tree res_op0;
14319 : 16 : {
14320 : 16 : tree _o1[1], _r1;
14321 : 16 : {
14322 : 16 : tree _o2[1], _r2;
14323 : 16 : _o2[0] = captures[0];
14324 : 16 : _r2 = fold_build1_loc (loc, ABSU_EXPR, utype, _o2[0]);
14325 : 16 : _o1[0] = _r2;
14326 : : }
14327 : 16 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
14328 : 16 : res_op0 = _r1;
14329 : : }
14330 : 16 : tree _r;
14331 : 16 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
14332 : 16 : if (TREE_SIDE_EFFECTS (captures[2]))
14333 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
14334 : 16 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1091, __FILE__, __LINE__, true);
14335 : 16 : return _r;
14336 : : }
14337 : 0 : next_after_fail2079:;
14338 : : }
14339 : : else
14340 : : {
14341 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2080;
14342 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2080;
14343 : 0 : {
14344 : 0 : tree res_op0;
14345 : 0 : {
14346 : 0 : tree _o1[1], _r1;
14347 : 0 : {
14348 : 0 : tree _o2[1], _r2;
14349 : 0 : {
14350 : 0 : tree _o3[1], _r3;
14351 : 0 : _o3[0] = captures[2];
14352 : 0 : if (TREE_TYPE (_o3[0]) != stype)
14353 : : {
14354 : 0 : _r3 = fold_build1_loc (loc, NOP_EXPR, stype, _o3[0]);
14355 : : }
14356 : : else
14357 : : _r3 = _o3[0];
14358 : 0 : _o2[0] = _r3;
14359 : : }
14360 : 0 : _r2 = fold_build1_loc (loc, ABSU_EXPR, utype, _o2[0]);
14361 : 0 : _o1[0] = _r2;
14362 : : }
14363 : 0 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
14364 : 0 : res_op0 = _r1;
14365 : : }
14366 : 0 : tree _r;
14367 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
14368 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1092, __FILE__, __LINE__, true);
14369 : 0 : return _r;
14370 : : }
14371 : 0 : next_after_fail2080:;
14372 : : }
14373 : : }
14374 : : }
14375 : : else
14376 : : {
14377 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2081;
14378 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2081;
14379 : 0 : {
14380 : 0 : tree res_op0;
14381 : 0 : {
14382 : 0 : tree _o1[1], _r1;
14383 : 0 : {
14384 : 0 : tree _o2[1], _r2;
14385 : 0 : _o2[0] = captures[2];
14386 : 0 : _r2 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
14387 : 0 : _o1[0] = _r2;
14388 : : }
14389 : 0 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
14390 : 0 : res_op0 = _r1;
14391 : : }
14392 : 0 : tree _r;
14393 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
14394 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1093, __FILE__, __LINE__, true);
14395 : 0 : return _r;
14396 : : }
14397 : 0 : next_after_fail2081:;
14398 : : }
14399 : : }
14400 : : }
14401 : : }
14402 : : break;
14403 : : }
14404 : : default:;
14405 : : }
14406 : : }
14407 : 20518 : switch (TREE_CODE (_q20))
14408 : : {
14409 : 0 : case MINUS_EXPR:
14410 : 0 : {
14411 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
14412 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
14413 : 0 : if (zerop (_q21))
14414 : : {
14415 : 0 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
14416 : : {
14417 : 0 : switch (TREE_CODE (_p2))
14418 : : {
14419 : 0 : case MINUS_EXPR:
14420 : 0 : {
14421 : 0 : tree _q80 = TREE_OPERAND (_p2, 0);
14422 : 0 : tree _q81 = TREE_OPERAND (_p2, 1);
14423 : 0 : if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
14424 : : {
14425 : 0 : if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
14426 : : {
14427 : 0 : {
14428 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
14429 : 0 : const enum tree_code cmp = LT_EXPR;
14430 : 0 : if (!HONOR_SIGNED_ZEROS (type)
14431 : 0 : && !TYPE_UNSIGNED (type)
14432 : : )
14433 : : {
14434 : 0 : if (ANY_INTEGRAL_TYPE_P (type)
14435 : 0 : && !TYPE_OVERFLOW_WRAPS (type)
14436 : : )
14437 : : {
14438 : 0 : {
14439 : 0 : tree utype = unsigned_type_for (type);
14440 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2082;
14441 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2082;
14442 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2082;
14443 : 0 : {
14444 : 0 : tree res_op0;
14445 : 0 : {
14446 : 0 : tree _o1[1], _r1;
14447 : 0 : {
14448 : 0 : tree _o2[1], _r2;
14449 : 0 : _o2[0] = captures[0];
14450 : 0 : _r2 = fold_build1_loc (loc, ABSU_EXPR, utype, _o2[0]);
14451 : 0 : _o1[0] = _r2;
14452 : : }
14453 : 0 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
14454 : 0 : res_op0 = _r1;
14455 : : }
14456 : 0 : tree _r;
14457 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
14458 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1094, __FILE__, __LINE__, true);
14459 : 0 : return _r;
14460 : : }
14461 : 0 : next_after_fail2082:;
14462 : : }
14463 : : }
14464 : : else
14465 : : {
14466 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail2083;
14467 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail2083;
14468 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2083;
14469 : 0 : {
14470 : 0 : tree res_op0;
14471 : 0 : {
14472 : 0 : tree _o1[1], _r1;
14473 : 0 : _o1[0] = captures[0];
14474 : 0 : _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
14475 : 0 : res_op0 = _r1;
14476 : : }
14477 : 0 : tree _r;
14478 : 0 : _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
14479 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1095, __FILE__, __LINE__, true);
14480 : 0 : return _r;
14481 : : }
14482 : 0 : next_after_fail2083:;
14483 : : }
14484 : : }
14485 : : }
14486 : : }
14487 : : }
14488 : : break;
14489 : : }
14490 : : default:;
14491 : : }
14492 : : }
14493 : : }
14494 : : break;
14495 : : }
14496 : : default:;
14497 : : }
14498 : : break;
14499 : : }
14500 : 331621 : default:;
14501 : : }
14502 : 331621 : {
14503 : 331621 : tree _p0_pops[1];
14504 : 331621 : if (tree_logical_inverted_value (_p0, _p0_pops))
14505 : : {
14506 : 524 : tree _q20 = _p0_pops[0];
14507 : 524 : if (tree_truth_valued_p (_q20))
14508 : : {
14509 : 0 : {
14510 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
14511 : 0 : if (VEC_COND_EXPR == VEC_COND_EXPR
14512 : : || TYPE_UNSIGNED (TREE_TYPE (captures[0]))
14513 : : )
14514 : : {
14515 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2084;
14516 : 0 : {
14517 : 0 : tree res_op0;
14518 : 0 : res_op0 = captures[0];
14519 : 0 : tree res_op1;
14520 : 0 : res_op1 = captures[2];
14521 : 0 : tree res_op2;
14522 : 0 : res_op2 = captures[1];
14523 : 0 : tree _r;
14524 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
14525 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1098, __FILE__, __LINE__, true);
14526 : 0 : return _r;
14527 : : }
14528 : 0 : next_after_fail2084:;
14529 : : }
14530 : : }
14531 : : }
14532 : : }
14533 : : }
14534 : 331621 : switch (TREE_CODE (_p1))
14535 : : {
14536 : 0 : case VIEW_CONVERT_EXPR:
14537 : 0 : {
14538 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
14539 : 0 : switch (TREE_CODE (_q30))
14540 : : {
14541 : 0 : case CALL_EXPR:
14542 : 0 : switch (get_call_combined_fn (_q30))
14543 : : {
14544 : 0 : case CFN_COND_ADD:
14545 : 0 : if (call_expr_nargs (_q30) == 4)
14546 : : {
14547 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
14548 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
14549 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
14550 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
14551 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
14552 : : {
14553 : 0 : {
14554 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
14555 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_ADD);
14556 : 0 : if (res) return res;
14557 : : }
14558 : : }
14559 : : }
14560 : : break;
14561 : 0 : case CFN_COND_AND:
14562 : 0 : if (call_expr_nargs (_q30) == 4)
14563 : : {
14564 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
14565 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
14566 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
14567 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
14568 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
14569 : : {
14570 : 0 : {
14571 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
14572 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_AND);
14573 : 0 : if (res) return res;
14574 : : }
14575 : : }
14576 : : }
14577 : : break;
14578 : 0 : case CFN_COND_DIV:
14579 : 0 : if (call_expr_nargs (_q30) == 4)
14580 : : {
14581 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
14582 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
14583 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
14584 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
14585 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
14586 : : {
14587 : 0 : {
14588 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
14589 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_DIV);
14590 : 0 : if (res) return res;
14591 : : }
14592 : : }
14593 : : }
14594 : : break;
14595 : 0 : case CFN_COND_IOR:
14596 : 0 : if (call_expr_nargs (_q30) == 4)
14597 : : {
14598 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
14599 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
14600 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
14601 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
14602 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
14603 : : {
14604 : 0 : {
14605 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
14606 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_IOR);
14607 : 0 : if (res) return res;
14608 : : }
14609 : : }
14610 : : }
14611 : : break;
14612 : 0 : case CFN_COND_MAX:
14613 : 0 : if (call_expr_nargs (_q30) == 4)
14614 : : {
14615 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
14616 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
14617 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
14618 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
14619 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
14620 : : {
14621 : 0 : {
14622 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
14623 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MAX);
14624 : 0 : if (res) return res;
14625 : : }
14626 : : }
14627 : : }
14628 : : break;
14629 : 0 : case CFN_COND_MIN:
14630 : 0 : if (call_expr_nargs (_q30) == 4)
14631 : : {
14632 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
14633 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
14634 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
14635 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
14636 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
14637 : : {
14638 : 0 : {
14639 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
14640 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MIN);
14641 : 0 : if (res) return res;
14642 : : }
14643 : : }
14644 : : }
14645 : : break;
14646 : 0 : case CFN_COND_MOD:
14647 : 0 : if (call_expr_nargs (_q30) == 4)
14648 : : {
14649 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
14650 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
14651 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
14652 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
14653 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
14654 : : {
14655 : 0 : {
14656 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
14657 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MOD);
14658 : 0 : if (res) return res;
14659 : : }
14660 : : }
14661 : : }
14662 : : break;
14663 : 0 : case CFN_COND_MUL:
14664 : 0 : if (call_expr_nargs (_q30) == 4)
14665 : : {
14666 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
14667 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
14668 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
14669 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
14670 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
14671 : : {
14672 : 0 : {
14673 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
14674 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MUL);
14675 : 0 : if (res) return res;
14676 : : }
14677 : : }
14678 : : }
14679 : : break;
14680 : 0 : case CFN_COND_SHL:
14681 : 0 : if (call_expr_nargs (_q30) == 4)
14682 : : {
14683 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
14684 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
14685 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
14686 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
14687 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
14688 : : {
14689 : 0 : {
14690 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
14691 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_SHL);
14692 : 0 : if (res) return res;
14693 : : }
14694 : : }
14695 : : }
14696 : : break;
14697 : 0 : case CFN_COND_SHR:
14698 : 0 : if (call_expr_nargs (_q30) == 4)
14699 : : {
14700 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
14701 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
14702 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
14703 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
14704 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
14705 : : {
14706 : 0 : {
14707 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
14708 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_SHR);
14709 : 0 : if (res) return res;
14710 : : }
14711 : : }
14712 : : }
14713 : : break;
14714 : 0 : case CFN_COND_SUB:
14715 : 0 : if (call_expr_nargs (_q30) == 4)
14716 : : {
14717 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
14718 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
14719 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
14720 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
14721 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
14722 : : {
14723 : 0 : {
14724 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
14725 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_SUB);
14726 : 0 : if (res) return res;
14727 : : }
14728 : : }
14729 : : }
14730 : : break;
14731 : 0 : case CFN_COND_XOR:
14732 : 0 : if (call_expr_nargs (_q30) == 4)
14733 : : {
14734 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
14735 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
14736 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
14737 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
14738 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
14739 : : {
14740 : 0 : {
14741 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
14742 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_XOR);
14743 : 0 : if (res) return res;
14744 : : }
14745 : : }
14746 : : }
14747 : : break;
14748 : 0 : case CFN_COND_COPYSIGN:
14749 : 0 : if (call_expr_nargs (_q30) == 4)
14750 : : {
14751 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
14752 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
14753 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
14754 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
14755 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
14756 : : {
14757 : 0 : {
14758 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
14759 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_COPYSIGN);
14760 : 0 : if (res) return res;
14761 : : }
14762 : : }
14763 : : }
14764 : : break;
14765 : 0 : case CFN_COND_FMAX:
14766 : 0 : if (call_expr_nargs (_q30) == 4)
14767 : : {
14768 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
14769 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
14770 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
14771 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
14772 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
14773 : : {
14774 : 0 : {
14775 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
14776 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMAX);
14777 : 0 : if (res) return res;
14778 : : }
14779 : : }
14780 : : }
14781 : : break;
14782 : 0 : case CFN_COND_FMIN:
14783 : 0 : if (call_expr_nargs (_q30) == 4)
14784 : : {
14785 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
14786 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
14787 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
14788 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
14789 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
14790 : : {
14791 : 0 : {
14792 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
14793 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMIN);
14794 : 0 : if (res) return res;
14795 : : }
14796 : : }
14797 : : }
14798 : : break;
14799 : 0 : case CFN_COND_RDIV:
14800 : 0 : if (call_expr_nargs (_q30) == 4)
14801 : : {
14802 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
14803 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
14804 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
14805 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
14806 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
14807 : : {
14808 : 0 : {
14809 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
14810 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_RDIV);
14811 : 0 : if (res) return res;
14812 : : }
14813 : : }
14814 : : }
14815 : : break;
14816 : : default:;
14817 : : }
14818 : : break;
14819 : : default:;
14820 : : }
14821 : : break;
14822 : : }
14823 : 12 : case CALL_EXPR:
14824 : 12 : switch (get_call_combined_fn (_p1))
14825 : : {
14826 : 0 : case CFN_COND_ADD:
14827 : 0 : if (call_expr_nargs (_p1) == 4)
14828 : : {
14829 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
14830 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
14831 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
14832 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
14833 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
14834 : : {
14835 : 0 : {
14836 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
14837 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_ADD);
14838 : 0 : if (res) return res;
14839 : : }
14840 : : }
14841 : : }
14842 : : break;
14843 : 0 : case CFN_COND_AND:
14844 : 0 : if (call_expr_nargs (_p1) == 4)
14845 : : {
14846 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
14847 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
14848 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
14849 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
14850 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
14851 : : {
14852 : 0 : {
14853 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
14854 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_AND);
14855 : 0 : if (res) return res;
14856 : : }
14857 : : }
14858 : : }
14859 : : break;
14860 : 0 : case CFN_COND_DIV:
14861 : 0 : if (call_expr_nargs (_p1) == 4)
14862 : : {
14863 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
14864 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
14865 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
14866 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
14867 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
14868 : : {
14869 : 0 : {
14870 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
14871 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_DIV);
14872 : 0 : if (res) return res;
14873 : : }
14874 : : }
14875 : : }
14876 : : break;
14877 : 0 : case CFN_COND_IOR:
14878 : 0 : if (call_expr_nargs (_p1) == 4)
14879 : : {
14880 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
14881 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
14882 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
14883 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
14884 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
14885 : : {
14886 : 0 : {
14887 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
14888 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_IOR);
14889 : 0 : if (res) return res;
14890 : : }
14891 : : }
14892 : : }
14893 : : break;
14894 : 0 : case CFN_COND_MAX:
14895 : 0 : if (call_expr_nargs (_p1) == 4)
14896 : : {
14897 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
14898 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
14899 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
14900 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
14901 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
14902 : : {
14903 : 0 : {
14904 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
14905 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MAX);
14906 : 0 : if (res) return res;
14907 : : }
14908 : : }
14909 : : }
14910 : : break;
14911 : 0 : case CFN_COND_MIN:
14912 : 0 : if (call_expr_nargs (_p1) == 4)
14913 : : {
14914 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
14915 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
14916 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
14917 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
14918 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
14919 : : {
14920 : 0 : {
14921 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
14922 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MIN);
14923 : 0 : if (res) return res;
14924 : : }
14925 : : }
14926 : : }
14927 : : break;
14928 : 0 : case CFN_COND_MOD:
14929 : 0 : if (call_expr_nargs (_p1) == 4)
14930 : : {
14931 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
14932 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
14933 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
14934 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
14935 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
14936 : : {
14937 : 0 : {
14938 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
14939 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MOD);
14940 : 0 : if (res) return res;
14941 : : }
14942 : : }
14943 : : }
14944 : : break;
14945 : 0 : case CFN_COND_MUL:
14946 : 0 : if (call_expr_nargs (_p1) == 4)
14947 : : {
14948 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
14949 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
14950 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
14951 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
14952 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
14953 : : {
14954 : 0 : {
14955 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
14956 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MUL);
14957 : 0 : if (res) return res;
14958 : : }
14959 : : }
14960 : : }
14961 : : break;
14962 : 0 : case CFN_COND_SHL:
14963 : 0 : if (call_expr_nargs (_p1) == 4)
14964 : : {
14965 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
14966 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
14967 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
14968 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
14969 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
14970 : : {
14971 : 0 : {
14972 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
14973 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_SHL);
14974 : 0 : if (res) return res;
14975 : : }
14976 : : }
14977 : : }
14978 : : break;
14979 : 0 : case CFN_COND_SHR:
14980 : 0 : if (call_expr_nargs (_p1) == 4)
14981 : : {
14982 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
14983 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
14984 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
14985 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
14986 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
14987 : : {
14988 : 0 : {
14989 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
14990 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_SHR);
14991 : 0 : if (res) return res;
14992 : : }
14993 : : }
14994 : : }
14995 : : break;
14996 : 0 : case CFN_COND_SUB:
14997 : 0 : if (call_expr_nargs (_p1) == 4)
14998 : : {
14999 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
15000 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
15001 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
15002 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
15003 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
15004 : : {
15005 : 0 : {
15006 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
15007 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_SUB);
15008 : 0 : if (res) return res;
15009 : : }
15010 : : }
15011 : : }
15012 : : break;
15013 : 0 : case CFN_COND_XOR:
15014 : 0 : if (call_expr_nargs (_p1) == 4)
15015 : : {
15016 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
15017 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
15018 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
15019 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
15020 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
15021 : : {
15022 : 0 : {
15023 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
15024 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_XOR);
15025 : 0 : if (res) return res;
15026 : : }
15027 : : }
15028 : : }
15029 : : break;
15030 : 0 : case CFN_COND_COPYSIGN:
15031 : 0 : if (call_expr_nargs (_p1) == 4)
15032 : : {
15033 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
15034 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
15035 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
15036 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
15037 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
15038 : : {
15039 : 0 : {
15040 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
15041 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_COPYSIGN);
15042 : 0 : if (res) return res;
15043 : : }
15044 : : }
15045 : : }
15046 : : break;
15047 : 0 : case CFN_COND_FMAX:
15048 : 0 : if (call_expr_nargs (_p1) == 4)
15049 : : {
15050 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
15051 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
15052 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
15053 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
15054 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
15055 : : {
15056 : 0 : {
15057 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
15058 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMAX);
15059 : 0 : if (res) return res;
15060 : : }
15061 : : }
15062 : : }
15063 : : break;
15064 : 0 : case CFN_COND_FMIN:
15065 : 0 : if (call_expr_nargs (_p1) == 4)
15066 : : {
15067 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
15068 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
15069 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
15070 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
15071 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
15072 : : {
15073 : 0 : {
15074 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
15075 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMIN);
15076 : 0 : if (res) return res;
15077 : : }
15078 : : }
15079 : : }
15080 : : break;
15081 : 0 : case CFN_COND_RDIV:
15082 : 0 : if (call_expr_nargs (_p1) == 4)
15083 : : {
15084 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
15085 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
15086 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
15087 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
15088 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
15089 : : {
15090 : 0 : {
15091 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
15092 : 0 : tree res = generic_simplify_535 (loc, type, _p0, _p1, _p2, captures, CFN_COND_RDIV);
15093 : 0 : if (res) return res;
15094 : : }
15095 : : }
15096 : : }
15097 : : break;
15098 : : default:;
15099 : : }
15100 : : break;
15101 : 331621 : default:;
15102 : : }
15103 : 331621 : switch (TREE_CODE (_p2))
15104 : : {
15105 : 0 : case VIEW_CONVERT_EXPR:
15106 : 0 : {
15107 : 0 : tree _q40 = TREE_OPERAND (_p2, 0);
15108 : 0 : switch (TREE_CODE (_q40))
15109 : : {
15110 : 0 : case CALL_EXPR:
15111 : 0 : switch (get_call_combined_fn (_q40))
15112 : : {
15113 : 0 : case CFN_COND_ADD:
15114 : 0 : if (call_expr_nargs (_q40) == 4)
15115 : : {
15116 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15117 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15118 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15119 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15120 : 0 : {
15121 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
15122 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_ADD);
15123 : 0 : if (res) return res;
15124 : : }
15125 : : }
15126 : : break;
15127 : 0 : case CFN_COND_AND:
15128 : 0 : if (call_expr_nargs (_q40) == 4)
15129 : : {
15130 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15131 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15132 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15133 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15134 : 0 : {
15135 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
15136 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_AND);
15137 : 0 : if (res) return res;
15138 : : }
15139 : : }
15140 : : break;
15141 : 0 : case CFN_COND_DIV:
15142 : 0 : if (call_expr_nargs (_q40) == 4)
15143 : : {
15144 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15145 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15146 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15147 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15148 : 0 : {
15149 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
15150 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_DIV);
15151 : 0 : if (res) return res;
15152 : : }
15153 : : }
15154 : : break;
15155 : 0 : case CFN_COND_IOR:
15156 : 0 : if (call_expr_nargs (_q40) == 4)
15157 : : {
15158 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15159 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15160 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15161 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15162 : 0 : {
15163 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
15164 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_IOR);
15165 : 0 : if (res) return res;
15166 : : }
15167 : : }
15168 : : break;
15169 : 0 : case CFN_COND_MAX:
15170 : 0 : if (call_expr_nargs (_q40) == 4)
15171 : : {
15172 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15173 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15174 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15175 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15176 : 0 : {
15177 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
15178 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MAX);
15179 : 0 : if (res) return res;
15180 : : }
15181 : : }
15182 : : break;
15183 : 0 : case CFN_COND_MIN:
15184 : 0 : if (call_expr_nargs (_q40) == 4)
15185 : : {
15186 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15187 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15188 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15189 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15190 : 0 : {
15191 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
15192 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MIN);
15193 : 0 : if (res) return res;
15194 : : }
15195 : : }
15196 : : break;
15197 : 0 : case CFN_COND_MOD:
15198 : 0 : if (call_expr_nargs (_q40) == 4)
15199 : : {
15200 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15201 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15202 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15203 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15204 : 0 : {
15205 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
15206 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MOD);
15207 : 0 : if (res) return res;
15208 : : }
15209 : : }
15210 : : break;
15211 : 0 : case CFN_COND_MUL:
15212 : 0 : if (call_expr_nargs (_q40) == 4)
15213 : : {
15214 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15215 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15216 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15217 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15218 : 0 : {
15219 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
15220 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MUL);
15221 : 0 : if (res) return res;
15222 : : }
15223 : : }
15224 : : break;
15225 : 0 : case CFN_COND_SHL:
15226 : 0 : if (call_expr_nargs (_q40) == 4)
15227 : : {
15228 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15229 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15230 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15231 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15232 : 0 : {
15233 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
15234 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_SHL);
15235 : 0 : if (res) return res;
15236 : : }
15237 : : }
15238 : : break;
15239 : 0 : case CFN_COND_SHR:
15240 : 0 : if (call_expr_nargs (_q40) == 4)
15241 : : {
15242 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15243 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15244 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15245 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15246 : 0 : {
15247 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
15248 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_SHR);
15249 : 0 : if (res) return res;
15250 : : }
15251 : : }
15252 : : break;
15253 : 0 : case CFN_COND_SUB:
15254 : 0 : if (call_expr_nargs (_q40) == 4)
15255 : : {
15256 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15257 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15258 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15259 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15260 : 0 : {
15261 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
15262 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_SUB);
15263 : 0 : if (res) return res;
15264 : : }
15265 : : }
15266 : : break;
15267 : 0 : case CFN_COND_XOR:
15268 : 0 : if (call_expr_nargs (_q40) == 4)
15269 : : {
15270 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15271 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15272 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15273 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15274 : 0 : {
15275 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
15276 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_XOR);
15277 : 0 : if (res) return res;
15278 : : }
15279 : : }
15280 : : break;
15281 : 0 : case CFN_COND_COPYSIGN:
15282 : 0 : if (call_expr_nargs (_q40) == 4)
15283 : : {
15284 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15285 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15286 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15287 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15288 : 0 : {
15289 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
15290 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_COPYSIGN);
15291 : 0 : if (res) return res;
15292 : : }
15293 : : }
15294 : : break;
15295 : 0 : case CFN_COND_FMAX:
15296 : 0 : if (call_expr_nargs (_q40) == 4)
15297 : : {
15298 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15299 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15300 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15301 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15302 : 0 : {
15303 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
15304 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMAX);
15305 : 0 : if (res) return res;
15306 : : }
15307 : : }
15308 : : break;
15309 : 0 : case CFN_COND_FMIN:
15310 : 0 : if (call_expr_nargs (_q40) == 4)
15311 : : {
15312 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15313 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15314 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15315 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15316 : 0 : {
15317 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
15318 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMIN);
15319 : 0 : if (res) return res;
15320 : : }
15321 : : }
15322 : : break;
15323 : 0 : case CFN_COND_RDIV:
15324 : 0 : if (call_expr_nargs (_q40) == 4)
15325 : : {
15326 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15327 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15328 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15329 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15330 : 0 : {
15331 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
15332 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_RDIV);
15333 : 0 : if (res) return res;
15334 : : }
15335 : : }
15336 : : break;
15337 : : default:;
15338 : : }
15339 : : break;
15340 : : default:;
15341 : : }
15342 : : break;
15343 : : }
15344 : 12 : case CALL_EXPR:
15345 : 12 : switch (get_call_combined_fn (_p2))
15346 : : {
15347 : 0 : case CFN_COND_ADD:
15348 : 0 : if (call_expr_nargs (_p2) == 4)
15349 : : {
15350 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15351 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15352 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15353 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15354 : 0 : {
15355 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
15356 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_ADD);
15357 : 0 : if (res) return res;
15358 : : }
15359 : : }
15360 : : break;
15361 : 0 : case CFN_COND_AND:
15362 : 0 : if (call_expr_nargs (_p2) == 4)
15363 : : {
15364 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15365 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15366 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15367 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15368 : 0 : {
15369 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
15370 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_AND);
15371 : 0 : if (res) return res;
15372 : : }
15373 : : }
15374 : : break;
15375 : 0 : case CFN_COND_DIV:
15376 : 0 : if (call_expr_nargs (_p2) == 4)
15377 : : {
15378 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15379 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15380 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15381 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15382 : 0 : {
15383 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
15384 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_DIV);
15385 : 0 : if (res) return res;
15386 : : }
15387 : : }
15388 : : break;
15389 : 0 : case CFN_COND_IOR:
15390 : 0 : if (call_expr_nargs (_p2) == 4)
15391 : : {
15392 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15393 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15394 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15395 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15396 : 0 : {
15397 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
15398 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_IOR);
15399 : 0 : if (res) return res;
15400 : : }
15401 : : }
15402 : : break;
15403 : 0 : case CFN_COND_MAX:
15404 : 0 : if (call_expr_nargs (_p2) == 4)
15405 : : {
15406 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15407 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15408 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15409 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15410 : 0 : {
15411 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
15412 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MAX);
15413 : 0 : if (res) return res;
15414 : : }
15415 : : }
15416 : : break;
15417 : 0 : case CFN_COND_MIN:
15418 : 0 : if (call_expr_nargs (_p2) == 4)
15419 : : {
15420 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15421 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15422 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15423 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15424 : 0 : {
15425 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
15426 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MIN);
15427 : 0 : if (res) return res;
15428 : : }
15429 : : }
15430 : : break;
15431 : 0 : case CFN_COND_MOD:
15432 : 0 : if (call_expr_nargs (_p2) == 4)
15433 : : {
15434 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15435 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15436 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15437 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15438 : 0 : {
15439 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
15440 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MOD);
15441 : 0 : if (res) return res;
15442 : : }
15443 : : }
15444 : : break;
15445 : 0 : case CFN_COND_MUL:
15446 : 0 : if (call_expr_nargs (_p2) == 4)
15447 : : {
15448 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15449 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15450 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15451 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15452 : 0 : {
15453 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
15454 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MUL);
15455 : 0 : if (res) return res;
15456 : : }
15457 : : }
15458 : : break;
15459 : 0 : case CFN_COND_SHL:
15460 : 0 : if (call_expr_nargs (_p2) == 4)
15461 : : {
15462 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15463 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15464 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15465 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15466 : 0 : {
15467 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
15468 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_SHL);
15469 : 0 : if (res) return res;
15470 : : }
15471 : : }
15472 : : break;
15473 : 0 : case CFN_COND_SHR:
15474 : 0 : if (call_expr_nargs (_p2) == 4)
15475 : : {
15476 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15477 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15478 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15479 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15480 : 0 : {
15481 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
15482 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_SHR);
15483 : 0 : if (res) return res;
15484 : : }
15485 : : }
15486 : : break;
15487 : 0 : case CFN_COND_SUB:
15488 : 0 : if (call_expr_nargs (_p2) == 4)
15489 : : {
15490 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15491 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15492 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15493 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15494 : 0 : {
15495 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
15496 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_SUB);
15497 : 0 : if (res) return res;
15498 : : }
15499 : : }
15500 : : break;
15501 : 0 : case CFN_COND_XOR:
15502 : 0 : if (call_expr_nargs (_p2) == 4)
15503 : : {
15504 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15505 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15506 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15507 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15508 : 0 : {
15509 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
15510 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_XOR);
15511 : 0 : if (res) return res;
15512 : : }
15513 : : }
15514 : : break;
15515 : 0 : case CFN_COND_COPYSIGN:
15516 : 0 : if (call_expr_nargs (_p2) == 4)
15517 : : {
15518 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15519 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15520 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15521 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15522 : 0 : {
15523 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
15524 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_COPYSIGN);
15525 : 0 : if (res) return res;
15526 : : }
15527 : : }
15528 : : break;
15529 : 0 : case CFN_COND_FMAX:
15530 : 0 : if (call_expr_nargs (_p2) == 4)
15531 : : {
15532 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15533 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15534 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15535 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15536 : 0 : {
15537 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
15538 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMAX);
15539 : 0 : if (res) return res;
15540 : : }
15541 : : }
15542 : : break;
15543 : 0 : case CFN_COND_FMIN:
15544 : 0 : if (call_expr_nargs (_p2) == 4)
15545 : : {
15546 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15547 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15548 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15549 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15550 : 0 : {
15551 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
15552 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMIN);
15553 : 0 : if (res) return res;
15554 : : }
15555 : : }
15556 : : break;
15557 : 0 : case CFN_COND_RDIV:
15558 : 0 : if (call_expr_nargs (_p2) == 4)
15559 : : {
15560 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15561 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15562 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15563 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15564 : 0 : {
15565 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
15566 : 0 : tree res = generic_simplify_536 (loc, type, _p0, _p1, _p2, captures, CFN_COND_RDIV);
15567 : 0 : if (res) return res;
15568 : : }
15569 : : }
15570 : : break;
15571 : : default:;
15572 : : }
15573 : : break;
15574 : 331621 : default:;
15575 : : }
15576 : 331621 : switch (TREE_CODE (_p1))
15577 : : {
15578 : 0 : case VIEW_CONVERT_EXPR:
15579 : 0 : {
15580 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
15581 : 0 : switch (TREE_CODE (_q30))
15582 : : {
15583 : 0 : case CALL_EXPR:
15584 : 0 : switch (get_call_combined_fn (_q30))
15585 : : {
15586 : 0 : case CFN_COND_FMA:
15587 : 0 : if (call_expr_nargs (_q30) == 5)
15588 : : {
15589 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
15590 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
15591 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
15592 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
15593 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
15594 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
15595 : : {
15596 : 0 : {
15597 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _p2 };
15598 : 0 : tree res = generic_simplify_537 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMA);
15599 : 0 : if (res) return res;
15600 : : }
15601 : : }
15602 : : }
15603 : : break;
15604 : 0 : case CFN_COND_FMS:
15605 : 0 : if (call_expr_nargs (_q30) == 5)
15606 : : {
15607 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
15608 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
15609 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
15610 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
15611 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
15612 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
15613 : : {
15614 : 0 : {
15615 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _p2 };
15616 : 0 : tree res = generic_simplify_537 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMS);
15617 : 0 : if (res) return res;
15618 : : }
15619 : : }
15620 : : }
15621 : : break;
15622 : 0 : case CFN_COND_FNMA:
15623 : 0 : if (call_expr_nargs (_q30) == 5)
15624 : : {
15625 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
15626 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
15627 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
15628 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
15629 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
15630 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
15631 : : {
15632 : 0 : {
15633 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _p2 };
15634 : 0 : tree res = generic_simplify_537 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FNMA);
15635 : 0 : if (res) return res;
15636 : : }
15637 : : }
15638 : : }
15639 : : break;
15640 : 0 : case CFN_COND_FNMS:
15641 : 0 : if (call_expr_nargs (_q30) == 5)
15642 : : {
15643 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
15644 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
15645 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
15646 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
15647 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
15648 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
15649 : : {
15650 : 0 : {
15651 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _p2 };
15652 : 0 : tree res = generic_simplify_537 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FNMS);
15653 : 0 : if (res) return res;
15654 : : }
15655 : : }
15656 : : }
15657 : : break;
15658 : : default:;
15659 : : }
15660 : : break;
15661 : : default:;
15662 : : }
15663 : : break;
15664 : : }
15665 : 12 : case CALL_EXPR:
15666 : 12 : switch (get_call_combined_fn (_p1))
15667 : : {
15668 : 0 : case CFN_COND_FMA:
15669 : 0 : if (call_expr_nargs (_p1) == 5)
15670 : : {
15671 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
15672 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
15673 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
15674 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
15675 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
15676 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
15677 : : {
15678 : 0 : {
15679 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _p2 };
15680 : 0 : tree res = generic_simplify_537 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMA);
15681 : 0 : if (res) return res;
15682 : : }
15683 : : }
15684 : : }
15685 : : break;
15686 : 0 : case CFN_COND_FMS:
15687 : 0 : if (call_expr_nargs (_p1) == 5)
15688 : : {
15689 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
15690 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
15691 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
15692 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
15693 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
15694 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
15695 : : {
15696 : 0 : {
15697 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _p2 };
15698 : 0 : tree res = generic_simplify_537 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMS);
15699 : 0 : if (res) return res;
15700 : : }
15701 : : }
15702 : : }
15703 : : break;
15704 : 0 : case CFN_COND_FNMA:
15705 : 0 : if (call_expr_nargs (_p1) == 5)
15706 : : {
15707 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
15708 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
15709 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
15710 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
15711 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
15712 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
15713 : : {
15714 : 0 : {
15715 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _p2 };
15716 : 0 : tree res = generic_simplify_537 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FNMA);
15717 : 0 : if (res) return res;
15718 : : }
15719 : : }
15720 : : }
15721 : : break;
15722 : 0 : case CFN_COND_FNMS:
15723 : 0 : if (call_expr_nargs (_p1) == 5)
15724 : : {
15725 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
15726 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
15727 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
15728 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
15729 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
15730 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
15731 : : {
15732 : 0 : {
15733 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _p2 };
15734 : 0 : tree res = generic_simplify_537 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FNMS);
15735 : 0 : if (res) return res;
15736 : : }
15737 : : }
15738 : : }
15739 : : break;
15740 : : default:;
15741 : : }
15742 : : break;
15743 : 331621 : default:;
15744 : : }
15745 : 331621 : switch (TREE_CODE (_p2))
15746 : : {
15747 : 0 : case VIEW_CONVERT_EXPR:
15748 : 0 : {
15749 : 0 : tree _q40 = TREE_OPERAND (_p2, 0);
15750 : 0 : switch (TREE_CODE (_q40))
15751 : : {
15752 : 0 : case CALL_EXPR:
15753 : 0 : switch (get_call_combined_fn (_q40))
15754 : : {
15755 : 0 : case CFN_COND_FMA:
15756 : 0 : if (call_expr_nargs (_q40) == 5)
15757 : : {
15758 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15759 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15760 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15761 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15762 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
15763 : 0 : {
15764 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54 };
15765 : 0 : tree res = generic_simplify_538 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMA);
15766 : 0 : if (res) return res;
15767 : : }
15768 : : }
15769 : : break;
15770 : 0 : case CFN_COND_FMS:
15771 : 0 : if (call_expr_nargs (_q40) == 5)
15772 : : {
15773 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15774 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15775 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15776 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15777 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
15778 : 0 : {
15779 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54 };
15780 : 0 : tree res = generic_simplify_538 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMS);
15781 : 0 : if (res) return res;
15782 : : }
15783 : : }
15784 : : break;
15785 : 0 : case CFN_COND_FNMA:
15786 : 0 : if (call_expr_nargs (_q40) == 5)
15787 : : {
15788 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15789 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15790 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15791 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15792 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
15793 : 0 : {
15794 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54 };
15795 : 0 : tree res = generic_simplify_538 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FNMA);
15796 : 0 : if (res) return res;
15797 : : }
15798 : : }
15799 : : break;
15800 : 0 : case CFN_COND_FNMS:
15801 : 0 : if (call_expr_nargs (_q40) == 5)
15802 : : {
15803 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
15804 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
15805 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
15806 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
15807 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
15808 : 0 : {
15809 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54 };
15810 : 0 : tree res = generic_simplify_538 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FNMS);
15811 : 0 : if (res) return res;
15812 : : }
15813 : : }
15814 : : break;
15815 : : default:;
15816 : : }
15817 : : break;
15818 : : default:;
15819 : : }
15820 : : break;
15821 : : }
15822 : 12 : case CALL_EXPR:
15823 : 12 : switch (get_call_combined_fn (_p2))
15824 : : {
15825 : 0 : case CFN_COND_FMA:
15826 : 0 : if (call_expr_nargs (_p2) == 5)
15827 : : {
15828 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15829 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15830 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15831 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15832 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
15833 : 0 : {
15834 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44 };
15835 : 0 : tree res = generic_simplify_538 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMA);
15836 : 0 : if (res) return res;
15837 : : }
15838 : : }
15839 : : break;
15840 : 0 : case CFN_COND_FMS:
15841 : 0 : if (call_expr_nargs (_p2) == 5)
15842 : : {
15843 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15844 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15845 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15846 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15847 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
15848 : 0 : {
15849 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44 };
15850 : 0 : tree res = generic_simplify_538 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMS);
15851 : 0 : if (res) return res;
15852 : : }
15853 : : }
15854 : : break;
15855 : 0 : case CFN_COND_FNMA:
15856 : 0 : if (call_expr_nargs (_p2) == 5)
15857 : : {
15858 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15859 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15860 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15861 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15862 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
15863 : 0 : {
15864 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44 };
15865 : 0 : tree res = generic_simplify_538 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FNMA);
15866 : 0 : if (res) return res;
15867 : : }
15868 : : }
15869 : : break;
15870 : 0 : case CFN_COND_FNMS:
15871 : 0 : if (call_expr_nargs (_p2) == 5)
15872 : : {
15873 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
15874 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
15875 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
15876 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
15877 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
15878 : 0 : {
15879 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44 };
15880 : 0 : tree res = generic_simplify_538 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FNMS);
15881 : 0 : if (res) return res;
15882 : : }
15883 : : }
15884 : : break;
15885 : : default:;
15886 : : }
15887 : : break;
15888 : 331621 : default:;
15889 : : }
15890 : 331621 : switch (TREE_CODE (_p1))
15891 : : {
15892 : 0 : case VIEW_CONVERT_EXPR:
15893 : 0 : {
15894 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
15895 : 0 : switch (TREE_CODE (_q30))
15896 : : {
15897 : 0 : case CALL_EXPR:
15898 : 0 : switch (get_call_combined_fn (_q30))
15899 : : {
15900 : 0 : case CFN_COND_LEN_ADD:
15901 : 0 : if (call_expr_nargs (_q30) == 6)
15902 : : {
15903 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
15904 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
15905 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
15906 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
15907 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
15908 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
15909 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
15910 : : {
15911 : 0 : {
15912 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
15913 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_ADD);
15914 : 0 : if (res) return res;
15915 : : }
15916 : : }
15917 : : }
15918 : : break;
15919 : 0 : case CFN_COND_LEN_AND:
15920 : 0 : if (call_expr_nargs (_q30) == 6)
15921 : : {
15922 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
15923 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
15924 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
15925 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
15926 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
15927 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
15928 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
15929 : : {
15930 : 0 : {
15931 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
15932 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_AND);
15933 : 0 : if (res) return res;
15934 : : }
15935 : : }
15936 : : }
15937 : : break;
15938 : 0 : case CFN_COND_LEN_DIV:
15939 : 0 : if (call_expr_nargs (_q30) == 6)
15940 : : {
15941 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
15942 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
15943 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
15944 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
15945 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
15946 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
15947 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
15948 : : {
15949 : 0 : {
15950 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
15951 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_DIV);
15952 : 0 : if (res) return res;
15953 : : }
15954 : : }
15955 : : }
15956 : : break;
15957 : 0 : case CFN_COND_LEN_IOR:
15958 : 0 : if (call_expr_nargs (_q30) == 6)
15959 : : {
15960 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
15961 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
15962 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
15963 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
15964 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
15965 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
15966 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
15967 : : {
15968 : 0 : {
15969 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
15970 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_IOR);
15971 : 0 : if (res) return res;
15972 : : }
15973 : : }
15974 : : }
15975 : : break;
15976 : 0 : case CFN_COND_LEN_MAX:
15977 : 0 : if (call_expr_nargs (_q30) == 6)
15978 : : {
15979 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
15980 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
15981 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
15982 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
15983 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
15984 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
15985 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
15986 : : {
15987 : 0 : {
15988 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
15989 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_MAX);
15990 : 0 : if (res) return res;
15991 : : }
15992 : : }
15993 : : }
15994 : : break;
15995 : 0 : case CFN_COND_LEN_MIN:
15996 : 0 : if (call_expr_nargs (_q30) == 6)
15997 : : {
15998 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
15999 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
16000 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
16001 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
16002 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
16003 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
16004 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
16005 : : {
16006 : 0 : {
16007 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
16008 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_MIN);
16009 : 0 : if (res) return res;
16010 : : }
16011 : : }
16012 : : }
16013 : : break;
16014 : 0 : case CFN_COND_LEN_MOD:
16015 : 0 : if (call_expr_nargs (_q30) == 6)
16016 : : {
16017 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
16018 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
16019 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
16020 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
16021 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
16022 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
16023 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
16024 : : {
16025 : 0 : {
16026 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
16027 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_MOD);
16028 : 0 : if (res) return res;
16029 : : }
16030 : : }
16031 : : }
16032 : : break;
16033 : 0 : case CFN_COND_LEN_MUL:
16034 : 0 : if (call_expr_nargs (_q30) == 6)
16035 : : {
16036 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
16037 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
16038 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
16039 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
16040 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
16041 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
16042 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
16043 : : {
16044 : 0 : {
16045 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
16046 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_MUL);
16047 : 0 : if (res) return res;
16048 : : }
16049 : : }
16050 : : }
16051 : : break;
16052 : 0 : case CFN_COND_LEN_SHL:
16053 : 0 : if (call_expr_nargs (_q30) == 6)
16054 : : {
16055 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
16056 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
16057 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
16058 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
16059 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
16060 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
16061 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
16062 : : {
16063 : 0 : {
16064 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
16065 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_SHL);
16066 : 0 : if (res) return res;
16067 : : }
16068 : : }
16069 : : }
16070 : : break;
16071 : 0 : case CFN_COND_LEN_SHR:
16072 : 0 : if (call_expr_nargs (_q30) == 6)
16073 : : {
16074 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
16075 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
16076 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
16077 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
16078 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
16079 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
16080 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
16081 : : {
16082 : 0 : {
16083 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
16084 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_SHR);
16085 : 0 : if (res) return res;
16086 : : }
16087 : : }
16088 : : }
16089 : : break;
16090 : 0 : case CFN_COND_LEN_SUB:
16091 : 0 : if (call_expr_nargs (_q30) == 6)
16092 : : {
16093 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
16094 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
16095 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
16096 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
16097 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
16098 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
16099 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
16100 : : {
16101 : 0 : {
16102 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
16103 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_SUB);
16104 : 0 : if (res) return res;
16105 : : }
16106 : : }
16107 : : }
16108 : : break;
16109 : 0 : case CFN_COND_LEN_XOR:
16110 : 0 : if (call_expr_nargs (_q30) == 6)
16111 : : {
16112 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
16113 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
16114 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
16115 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
16116 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
16117 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
16118 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
16119 : : {
16120 : 0 : {
16121 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
16122 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_XOR);
16123 : 0 : if (res) return res;
16124 : : }
16125 : : }
16126 : : }
16127 : : break;
16128 : 0 : case CFN_COND_LEN_FMAX:
16129 : 0 : if (call_expr_nargs (_q30) == 6)
16130 : : {
16131 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
16132 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
16133 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
16134 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
16135 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
16136 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
16137 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
16138 : : {
16139 : 0 : {
16140 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
16141 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FMAX);
16142 : 0 : if (res) return res;
16143 : : }
16144 : : }
16145 : : }
16146 : : break;
16147 : 0 : case CFN_COND_LEN_FMIN:
16148 : 0 : if (call_expr_nargs (_q30) == 6)
16149 : : {
16150 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
16151 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
16152 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
16153 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
16154 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
16155 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
16156 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
16157 : : {
16158 : 0 : {
16159 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
16160 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FMIN);
16161 : 0 : if (res) return res;
16162 : : }
16163 : : }
16164 : : }
16165 : : break;
16166 : 0 : case CFN_COND_LEN_RDIV:
16167 : 0 : if (call_expr_nargs (_q30) == 6)
16168 : : {
16169 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
16170 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
16171 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
16172 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
16173 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
16174 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
16175 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
16176 : : {
16177 : 0 : {
16178 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
16179 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_RDIV);
16180 : 0 : if (res) return res;
16181 : : }
16182 : : }
16183 : : }
16184 : : break;
16185 : 0 : case CFN_COND_LEN_COPYSIGN:
16186 : 0 : if (call_expr_nargs (_q30) == 6)
16187 : : {
16188 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
16189 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
16190 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
16191 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
16192 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
16193 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
16194 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
16195 : : {
16196 : 0 : {
16197 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
16198 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_COPYSIGN);
16199 : 0 : if (res) return res;
16200 : : }
16201 : : }
16202 : : }
16203 : : break;
16204 : : default:;
16205 : : }
16206 : : break;
16207 : : default:;
16208 : : }
16209 : : break;
16210 : : }
16211 : 12 : case CALL_EXPR:
16212 : 12 : switch (get_call_combined_fn (_p1))
16213 : : {
16214 : 0 : case CFN_COND_LEN_ADD:
16215 : 0 : if (call_expr_nargs (_p1) == 6)
16216 : : {
16217 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
16218 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
16219 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
16220 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
16221 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
16222 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
16223 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
16224 : : {
16225 : 0 : {
16226 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
16227 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_ADD);
16228 : 0 : if (res) return res;
16229 : : }
16230 : : }
16231 : : }
16232 : : break;
16233 : 0 : case CFN_COND_LEN_AND:
16234 : 0 : if (call_expr_nargs (_p1) == 6)
16235 : : {
16236 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
16237 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
16238 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
16239 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
16240 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
16241 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
16242 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
16243 : : {
16244 : 0 : {
16245 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
16246 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_AND);
16247 : 0 : if (res) return res;
16248 : : }
16249 : : }
16250 : : }
16251 : : break;
16252 : 0 : case CFN_COND_LEN_DIV:
16253 : 0 : if (call_expr_nargs (_p1) == 6)
16254 : : {
16255 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
16256 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
16257 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
16258 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
16259 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
16260 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
16261 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
16262 : : {
16263 : 0 : {
16264 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
16265 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_DIV);
16266 : 0 : if (res) return res;
16267 : : }
16268 : : }
16269 : : }
16270 : : break;
16271 : 0 : case CFN_COND_LEN_IOR:
16272 : 0 : if (call_expr_nargs (_p1) == 6)
16273 : : {
16274 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
16275 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
16276 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
16277 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
16278 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
16279 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
16280 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
16281 : : {
16282 : 0 : {
16283 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
16284 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_IOR);
16285 : 0 : if (res) return res;
16286 : : }
16287 : : }
16288 : : }
16289 : : break;
16290 : 0 : case CFN_COND_LEN_MAX:
16291 : 0 : if (call_expr_nargs (_p1) == 6)
16292 : : {
16293 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
16294 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
16295 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
16296 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
16297 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
16298 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
16299 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
16300 : : {
16301 : 0 : {
16302 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
16303 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_MAX);
16304 : 0 : if (res) return res;
16305 : : }
16306 : : }
16307 : : }
16308 : : break;
16309 : 0 : case CFN_COND_LEN_MIN:
16310 : 0 : if (call_expr_nargs (_p1) == 6)
16311 : : {
16312 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
16313 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
16314 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
16315 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
16316 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
16317 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
16318 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
16319 : : {
16320 : 0 : {
16321 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
16322 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_MIN);
16323 : 0 : if (res) return res;
16324 : : }
16325 : : }
16326 : : }
16327 : : break;
16328 : 0 : case CFN_COND_LEN_MOD:
16329 : 0 : if (call_expr_nargs (_p1) == 6)
16330 : : {
16331 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
16332 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
16333 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
16334 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
16335 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
16336 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
16337 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
16338 : : {
16339 : 0 : {
16340 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
16341 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_MOD);
16342 : 0 : if (res) return res;
16343 : : }
16344 : : }
16345 : : }
16346 : : break;
16347 : 0 : case CFN_COND_LEN_MUL:
16348 : 0 : if (call_expr_nargs (_p1) == 6)
16349 : : {
16350 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
16351 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
16352 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
16353 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
16354 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
16355 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
16356 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
16357 : : {
16358 : 0 : {
16359 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
16360 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_MUL);
16361 : 0 : if (res) return res;
16362 : : }
16363 : : }
16364 : : }
16365 : : break;
16366 : 0 : case CFN_COND_LEN_SHL:
16367 : 0 : if (call_expr_nargs (_p1) == 6)
16368 : : {
16369 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
16370 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
16371 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
16372 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
16373 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
16374 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
16375 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
16376 : : {
16377 : 0 : {
16378 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
16379 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_SHL);
16380 : 0 : if (res) return res;
16381 : : }
16382 : : }
16383 : : }
16384 : : break;
16385 : 0 : case CFN_COND_LEN_SHR:
16386 : 0 : if (call_expr_nargs (_p1) == 6)
16387 : : {
16388 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
16389 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
16390 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
16391 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
16392 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
16393 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
16394 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
16395 : : {
16396 : 0 : {
16397 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
16398 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_SHR);
16399 : 0 : if (res) return res;
16400 : : }
16401 : : }
16402 : : }
16403 : : break;
16404 : 0 : case CFN_COND_LEN_SUB:
16405 : 0 : if (call_expr_nargs (_p1) == 6)
16406 : : {
16407 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
16408 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
16409 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
16410 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
16411 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
16412 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
16413 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
16414 : : {
16415 : 0 : {
16416 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
16417 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_SUB);
16418 : 0 : if (res) return res;
16419 : : }
16420 : : }
16421 : : }
16422 : : break;
16423 : 0 : case CFN_COND_LEN_XOR:
16424 : 0 : if (call_expr_nargs (_p1) == 6)
16425 : : {
16426 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
16427 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
16428 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
16429 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
16430 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
16431 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
16432 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
16433 : : {
16434 : 0 : {
16435 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
16436 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_XOR);
16437 : 0 : if (res) return res;
16438 : : }
16439 : : }
16440 : : }
16441 : : break;
16442 : 0 : case CFN_COND_LEN_FMAX:
16443 : 0 : if (call_expr_nargs (_p1) == 6)
16444 : : {
16445 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
16446 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
16447 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
16448 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
16449 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
16450 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
16451 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
16452 : : {
16453 : 0 : {
16454 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
16455 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FMAX);
16456 : 0 : if (res) return res;
16457 : : }
16458 : : }
16459 : : }
16460 : : break;
16461 : 0 : case CFN_COND_LEN_FMIN:
16462 : 0 : if (call_expr_nargs (_p1) == 6)
16463 : : {
16464 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
16465 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
16466 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
16467 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
16468 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
16469 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
16470 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
16471 : : {
16472 : 0 : {
16473 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
16474 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FMIN);
16475 : 0 : if (res) return res;
16476 : : }
16477 : : }
16478 : : }
16479 : : break;
16480 : 0 : case CFN_COND_LEN_RDIV:
16481 : 0 : if (call_expr_nargs (_p1) == 6)
16482 : : {
16483 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
16484 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
16485 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
16486 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
16487 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
16488 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
16489 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
16490 : : {
16491 : 0 : {
16492 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
16493 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_RDIV);
16494 : 0 : if (res) return res;
16495 : : }
16496 : : }
16497 : : }
16498 : : break;
16499 : 0 : case CFN_COND_LEN_COPYSIGN:
16500 : 0 : if (call_expr_nargs (_p1) == 6)
16501 : : {
16502 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
16503 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
16504 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
16505 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
16506 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
16507 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
16508 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
16509 : : {
16510 : 0 : {
16511 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
16512 : 0 : tree res = generic_simplify_539 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_COPYSIGN);
16513 : 0 : if (res) return res;
16514 : : }
16515 : : }
16516 : : }
16517 : : break;
16518 : : default:;
16519 : : }
16520 : : break;
16521 : 331621 : default:;
16522 : : }
16523 : 331621 : switch (TREE_CODE (_p2))
16524 : : {
16525 : 0 : case VIEW_CONVERT_EXPR:
16526 : 0 : {
16527 : 0 : tree _q40 = TREE_OPERAND (_p2, 0);
16528 : 0 : switch (TREE_CODE (_q40))
16529 : : {
16530 : 0 : case CALL_EXPR:
16531 : 0 : switch (get_call_combined_fn (_q40))
16532 : : {
16533 : 0 : case CFN_COND_LEN_ADD:
16534 : 0 : if (call_expr_nargs (_q40) == 6)
16535 : : {
16536 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
16537 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
16538 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
16539 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
16540 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
16541 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
16542 : 0 : {
16543 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
16544 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_ADD);
16545 : 0 : if (res) return res;
16546 : : }
16547 : : }
16548 : : break;
16549 : 0 : case CFN_COND_LEN_AND:
16550 : 0 : if (call_expr_nargs (_q40) == 6)
16551 : : {
16552 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
16553 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
16554 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
16555 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
16556 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
16557 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
16558 : 0 : {
16559 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
16560 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_AND);
16561 : 0 : if (res) return res;
16562 : : }
16563 : : }
16564 : : break;
16565 : 0 : case CFN_COND_LEN_DIV:
16566 : 0 : if (call_expr_nargs (_q40) == 6)
16567 : : {
16568 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
16569 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
16570 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
16571 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
16572 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
16573 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
16574 : 0 : {
16575 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
16576 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_DIV);
16577 : 0 : if (res) return res;
16578 : : }
16579 : : }
16580 : : break;
16581 : 0 : case CFN_COND_LEN_IOR:
16582 : 0 : if (call_expr_nargs (_q40) == 6)
16583 : : {
16584 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
16585 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
16586 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
16587 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
16588 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
16589 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
16590 : 0 : {
16591 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
16592 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_IOR);
16593 : 0 : if (res) return res;
16594 : : }
16595 : : }
16596 : : break;
16597 : 0 : case CFN_COND_LEN_MAX:
16598 : 0 : if (call_expr_nargs (_q40) == 6)
16599 : : {
16600 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
16601 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
16602 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
16603 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
16604 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
16605 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
16606 : 0 : {
16607 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
16608 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_MAX);
16609 : 0 : if (res) return res;
16610 : : }
16611 : : }
16612 : : break;
16613 : 0 : case CFN_COND_LEN_MIN:
16614 : 0 : if (call_expr_nargs (_q40) == 6)
16615 : : {
16616 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
16617 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
16618 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
16619 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
16620 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
16621 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
16622 : 0 : {
16623 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
16624 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_MIN);
16625 : 0 : if (res) return res;
16626 : : }
16627 : : }
16628 : : break;
16629 : 0 : case CFN_COND_LEN_MOD:
16630 : 0 : if (call_expr_nargs (_q40) == 6)
16631 : : {
16632 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
16633 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
16634 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
16635 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
16636 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
16637 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
16638 : 0 : {
16639 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
16640 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_MOD);
16641 : 0 : if (res) return res;
16642 : : }
16643 : : }
16644 : : break;
16645 : 0 : case CFN_COND_LEN_MUL:
16646 : 0 : if (call_expr_nargs (_q40) == 6)
16647 : : {
16648 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
16649 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
16650 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
16651 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
16652 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
16653 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
16654 : 0 : {
16655 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
16656 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_MUL);
16657 : 0 : if (res) return res;
16658 : : }
16659 : : }
16660 : : break;
16661 : 0 : case CFN_COND_LEN_SHL:
16662 : 0 : if (call_expr_nargs (_q40) == 6)
16663 : : {
16664 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
16665 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
16666 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
16667 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
16668 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
16669 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
16670 : 0 : {
16671 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
16672 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_SHL);
16673 : 0 : if (res) return res;
16674 : : }
16675 : : }
16676 : : break;
16677 : 0 : case CFN_COND_LEN_SHR:
16678 : 0 : if (call_expr_nargs (_q40) == 6)
16679 : : {
16680 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
16681 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
16682 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
16683 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
16684 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
16685 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
16686 : 0 : {
16687 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
16688 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_SHR);
16689 : 0 : if (res) return res;
16690 : : }
16691 : : }
16692 : : break;
16693 : 0 : case CFN_COND_LEN_SUB:
16694 : 0 : if (call_expr_nargs (_q40) == 6)
16695 : : {
16696 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
16697 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
16698 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
16699 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
16700 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
16701 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
16702 : 0 : {
16703 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
16704 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_SUB);
16705 : 0 : if (res) return res;
16706 : : }
16707 : : }
16708 : : break;
16709 : 0 : case CFN_COND_LEN_XOR:
16710 : 0 : if (call_expr_nargs (_q40) == 6)
16711 : : {
16712 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
16713 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
16714 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
16715 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
16716 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
16717 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
16718 : 0 : {
16719 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
16720 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_XOR);
16721 : 0 : if (res) return res;
16722 : : }
16723 : : }
16724 : : break;
16725 : 0 : case CFN_COND_LEN_FMAX:
16726 : 0 : if (call_expr_nargs (_q40) == 6)
16727 : : {
16728 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
16729 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
16730 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
16731 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
16732 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
16733 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
16734 : 0 : {
16735 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
16736 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FMAX);
16737 : 0 : if (res) return res;
16738 : : }
16739 : : }
16740 : : break;
16741 : 0 : case CFN_COND_LEN_FMIN:
16742 : 0 : if (call_expr_nargs (_q40) == 6)
16743 : : {
16744 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
16745 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
16746 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
16747 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
16748 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
16749 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
16750 : 0 : {
16751 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
16752 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FMIN);
16753 : 0 : if (res) return res;
16754 : : }
16755 : : }
16756 : : break;
16757 : 0 : case CFN_COND_LEN_RDIV:
16758 : 0 : if (call_expr_nargs (_q40) == 6)
16759 : : {
16760 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
16761 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
16762 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
16763 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
16764 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
16765 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
16766 : 0 : {
16767 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
16768 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_RDIV);
16769 : 0 : if (res) return res;
16770 : : }
16771 : : }
16772 : : break;
16773 : 0 : case CFN_COND_LEN_COPYSIGN:
16774 : 0 : if (call_expr_nargs (_q40) == 6)
16775 : : {
16776 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
16777 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
16778 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
16779 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
16780 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
16781 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
16782 : 0 : {
16783 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
16784 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_COPYSIGN);
16785 : 0 : if (res) return res;
16786 : : }
16787 : : }
16788 : : break;
16789 : : default:;
16790 : : }
16791 : : break;
16792 : : default:;
16793 : : }
16794 : : break;
16795 : : }
16796 : 12 : case CALL_EXPR:
16797 : 12 : switch (get_call_combined_fn (_p2))
16798 : : {
16799 : 0 : case CFN_COND_LEN_ADD:
16800 : 0 : if (call_expr_nargs (_p2) == 6)
16801 : : {
16802 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
16803 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
16804 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
16805 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
16806 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
16807 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
16808 : 0 : {
16809 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
16810 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_ADD);
16811 : 0 : if (res) return res;
16812 : : }
16813 : : }
16814 : : break;
16815 : 0 : case CFN_COND_LEN_AND:
16816 : 0 : if (call_expr_nargs (_p2) == 6)
16817 : : {
16818 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
16819 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
16820 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
16821 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
16822 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
16823 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
16824 : 0 : {
16825 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
16826 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_AND);
16827 : 0 : if (res) return res;
16828 : : }
16829 : : }
16830 : : break;
16831 : 0 : case CFN_COND_LEN_DIV:
16832 : 0 : if (call_expr_nargs (_p2) == 6)
16833 : : {
16834 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
16835 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
16836 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
16837 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
16838 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
16839 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
16840 : 0 : {
16841 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
16842 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_DIV);
16843 : 0 : if (res) return res;
16844 : : }
16845 : : }
16846 : : break;
16847 : 0 : case CFN_COND_LEN_IOR:
16848 : 0 : if (call_expr_nargs (_p2) == 6)
16849 : : {
16850 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
16851 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
16852 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
16853 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
16854 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
16855 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
16856 : 0 : {
16857 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
16858 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_IOR);
16859 : 0 : if (res) return res;
16860 : : }
16861 : : }
16862 : : break;
16863 : 0 : case CFN_COND_LEN_MAX:
16864 : 0 : if (call_expr_nargs (_p2) == 6)
16865 : : {
16866 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
16867 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
16868 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
16869 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
16870 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
16871 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
16872 : 0 : {
16873 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
16874 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_MAX);
16875 : 0 : if (res) return res;
16876 : : }
16877 : : }
16878 : : break;
16879 : 0 : case CFN_COND_LEN_MIN:
16880 : 0 : if (call_expr_nargs (_p2) == 6)
16881 : : {
16882 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
16883 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
16884 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
16885 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
16886 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
16887 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
16888 : 0 : {
16889 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
16890 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_MIN);
16891 : 0 : if (res) return res;
16892 : : }
16893 : : }
16894 : : break;
16895 : 0 : case CFN_COND_LEN_MOD:
16896 : 0 : if (call_expr_nargs (_p2) == 6)
16897 : : {
16898 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
16899 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
16900 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
16901 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
16902 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
16903 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
16904 : 0 : {
16905 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
16906 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_MOD);
16907 : 0 : if (res) return res;
16908 : : }
16909 : : }
16910 : : break;
16911 : 0 : case CFN_COND_LEN_MUL:
16912 : 0 : if (call_expr_nargs (_p2) == 6)
16913 : : {
16914 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
16915 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
16916 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
16917 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
16918 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
16919 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
16920 : 0 : {
16921 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
16922 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_MUL);
16923 : 0 : if (res) return res;
16924 : : }
16925 : : }
16926 : : break;
16927 : 0 : case CFN_COND_LEN_SHL:
16928 : 0 : if (call_expr_nargs (_p2) == 6)
16929 : : {
16930 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
16931 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
16932 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
16933 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
16934 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
16935 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
16936 : 0 : {
16937 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
16938 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_SHL);
16939 : 0 : if (res) return res;
16940 : : }
16941 : : }
16942 : : break;
16943 : 0 : case CFN_COND_LEN_SHR:
16944 : 0 : if (call_expr_nargs (_p2) == 6)
16945 : : {
16946 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
16947 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
16948 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
16949 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
16950 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
16951 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
16952 : 0 : {
16953 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
16954 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_SHR);
16955 : 0 : if (res) return res;
16956 : : }
16957 : : }
16958 : : break;
16959 : 0 : case CFN_COND_LEN_SUB:
16960 : 0 : if (call_expr_nargs (_p2) == 6)
16961 : : {
16962 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
16963 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
16964 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
16965 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
16966 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
16967 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
16968 : 0 : {
16969 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
16970 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_SUB);
16971 : 0 : if (res) return res;
16972 : : }
16973 : : }
16974 : : break;
16975 : 0 : case CFN_COND_LEN_XOR:
16976 : 0 : if (call_expr_nargs (_p2) == 6)
16977 : : {
16978 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
16979 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
16980 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
16981 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
16982 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
16983 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
16984 : 0 : {
16985 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
16986 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_XOR);
16987 : 0 : if (res) return res;
16988 : : }
16989 : : }
16990 : : break;
16991 : 0 : case CFN_COND_LEN_FMAX:
16992 : 0 : if (call_expr_nargs (_p2) == 6)
16993 : : {
16994 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
16995 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
16996 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
16997 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
16998 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
16999 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
17000 : 0 : {
17001 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
17002 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FMAX);
17003 : 0 : if (res) return res;
17004 : : }
17005 : : }
17006 : : break;
17007 : 0 : case CFN_COND_LEN_FMIN:
17008 : 0 : if (call_expr_nargs (_p2) == 6)
17009 : : {
17010 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
17011 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
17012 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
17013 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
17014 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
17015 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
17016 : 0 : {
17017 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
17018 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FMIN);
17019 : 0 : if (res) return res;
17020 : : }
17021 : : }
17022 : : break;
17023 : 0 : case CFN_COND_LEN_RDIV:
17024 : 0 : if (call_expr_nargs (_p2) == 6)
17025 : : {
17026 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
17027 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
17028 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
17029 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
17030 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
17031 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
17032 : 0 : {
17033 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
17034 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_RDIV);
17035 : 0 : if (res) return res;
17036 : : }
17037 : : }
17038 : : break;
17039 : 0 : case CFN_COND_LEN_COPYSIGN:
17040 : 0 : if (call_expr_nargs (_p2) == 6)
17041 : : {
17042 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
17043 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
17044 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
17045 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
17046 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
17047 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
17048 : 0 : {
17049 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
17050 : 0 : tree res = generic_simplify_540 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_COPYSIGN);
17051 : 0 : if (res) return res;
17052 : : }
17053 : : }
17054 : : break;
17055 : : default:;
17056 : : }
17057 : : break;
17058 : 331621 : default:;
17059 : : }
17060 : 331621 : switch (TREE_CODE (_p1))
17061 : : {
17062 : 0 : case VIEW_CONVERT_EXPR:
17063 : 0 : {
17064 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
17065 : 0 : switch (TREE_CODE (_q30))
17066 : : {
17067 : 0 : case CALL_EXPR:
17068 : 0 : switch (get_call_combined_fn (_q30))
17069 : : {
17070 : 0 : case CFN_COND_LEN_FMA:
17071 : 0 : if (call_expr_nargs (_q30) == 7)
17072 : : {
17073 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
17074 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
17075 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
17076 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
17077 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
17078 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
17079 : 0 : tree _q46 = CALL_EXPR_ARG (_q30, 6);
17080 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
17081 : : {
17082 : 0 : {
17083 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _q46, _p2 };
17084 : 0 : tree res = generic_simplify_541 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FMA);
17085 : 0 : if (res) return res;
17086 : : }
17087 : : }
17088 : : }
17089 : : break;
17090 : 0 : case CFN_COND_LEN_FMS:
17091 : 0 : if (call_expr_nargs (_q30) == 7)
17092 : : {
17093 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
17094 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
17095 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
17096 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
17097 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
17098 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
17099 : 0 : tree _q46 = CALL_EXPR_ARG (_q30, 6);
17100 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
17101 : : {
17102 : 0 : {
17103 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _q46, _p2 };
17104 : 0 : tree res = generic_simplify_541 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FMS);
17105 : 0 : if (res) return res;
17106 : : }
17107 : : }
17108 : : }
17109 : : break;
17110 : 0 : case CFN_COND_LEN_FNMA:
17111 : 0 : if (call_expr_nargs (_q30) == 7)
17112 : : {
17113 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
17114 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
17115 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
17116 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
17117 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
17118 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
17119 : 0 : tree _q46 = CALL_EXPR_ARG (_q30, 6);
17120 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
17121 : : {
17122 : 0 : {
17123 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _q46, _p2 };
17124 : 0 : tree res = generic_simplify_541 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FNMA);
17125 : 0 : if (res) return res;
17126 : : }
17127 : : }
17128 : : }
17129 : : break;
17130 : 0 : case CFN_COND_LEN_FNMS:
17131 : 0 : if (call_expr_nargs (_q30) == 7)
17132 : : {
17133 : 0 : tree _q40 = CALL_EXPR_ARG (_q30, 0);
17134 : 0 : tree _q41 = CALL_EXPR_ARG (_q30, 1);
17135 : 0 : tree _q42 = CALL_EXPR_ARG (_q30, 2);
17136 : 0 : tree _q43 = CALL_EXPR_ARG (_q30, 3);
17137 : 0 : tree _q44 = CALL_EXPR_ARG (_q30, 4);
17138 : 0 : tree _q45 = CALL_EXPR_ARG (_q30, 5);
17139 : 0 : tree _q46 = CALL_EXPR_ARG (_q30, 6);
17140 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
17141 : : {
17142 : 0 : {
17143 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _q46, _p2 };
17144 : 0 : tree res = generic_simplify_541 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FNMS);
17145 : 0 : if (res) return res;
17146 : : }
17147 : : }
17148 : : }
17149 : : break;
17150 : : default:;
17151 : : }
17152 : : break;
17153 : : default:;
17154 : : }
17155 : : break;
17156 : : }
17157 : 12 : case CALL_EXPR:
17158 : 12 : switch (get_call_combined_fn (_p1))
17159 : : {
17160 : 0 : case CFN_COND_LEN_FMA:
17161 : 0 : if (call_expr_nargs (_p1) == 7)
17162 : : {
17163 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17164 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17165 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17166 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17167 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
17168 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
17169 : 0 : tree _q36 = CALL_EXPR_ARG (_p1, 6);
17170 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
17171 : : {
17172 : 0 : {
17173 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _q36, _p2 };
17174 : 0 : tree res = generic_simplify_541 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FMA);
17175 : 0 : if (res) return res;
17176 : : }
17177 : : }
17178 : : }
17179 : : break;
17180 : 0 : case CFN_COND_LEN_FMS:
17181 : 0 : if (call_expr_nargs (_p1) == 7)
17182 : : {
17183 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17184 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17185 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17186 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17187 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
17188 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
17189 : 0 : tree _q36 = CALL_EXPR_ARG (_p1, 6);
17190 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
17191 : : {
17192 : 0 : {
17193 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _q36, _p2 };
17194 : 0 : tree res = generic_simplify_541 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FMS);
17195 : 0 : if (res) return res;
17196 : : }
17197 : : }
17198 : : }
17199 : : break;
17200 : 0 : case CFN_COND_LEN_FNMA:
17201 : 0 : if (call_expr_nargs (_p1) == 7)
17202 : : {
17203 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17204 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17205 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17206 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17207 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
17208 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
17209 : 0 : tree _q36 = CALL_EXPR_ARG (_p1, 6);
17210 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
17211 : : {
17212 : 0 : {
17213 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _q36, _p2 };
17214 : 0 : tree res = generic_simplify_541 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FNMA);
17215 : 0 : if (res) return res;
17216 : : }
17217 : : }
17218 : : }
17219 : : break;
17220 : 0 : case CFN_COND_LEN_FNMS:
17221 : 0 : if (call_expr_nargs (_p1) == 7)
17222 : : {
17223 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17224 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17225 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17226 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17227 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
17228 : 0 : tree _q35 = CALL_EXPR_ARG (_p1, 5);
17229 : 0 : tree _q36 = CALL_EXPR_ARG (_p1, 6);
17230 : 0 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
17231 : : {
17232 : 0 : {
17233 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _q36, _p2 };
17234 : 0 : tree res = generic_simplify_541 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FNMS);
17235 : 0 : if (res) return res;
17236 : : }
17237 : : }
17238 : : }
17239 : : break;
17240 : : default:;
17241 : : }
17242 : : break;
17243 : 331621 : default:;
17244 : : }
17245 : 331621 : switch (TREE_CODE (_p2))
17246 : : {
17247 : 0 : case VIEW_CONVERT_EXPR:
17248 : 0 : {
17249 : 0 : tree _q40 = TREE_OPERAND (_p2, 0);
17250 : 0 : switch (TREE_CODE (_q40))
17251 : : {
17252 : 0 : case CALL_EXPR:
17253 : 0 : switch (get_call_combined_fn (_q40))
17254 : : {
17255 : 0 : case CFN_COND_LEN_FMA:
17256 : 0 : if (call_expr_nargs (_q40) == 7)
17257 : : {
17258 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
17259 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
17260 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
17261 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
17262 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
17263 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
17264 : 0 : tree _q56 = CALL_EXPR_ARG (_q40, 6);
17265 : 0 : {
17266 : 0 : tree captures[9] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55, _q56 };
17267 : 0 : tree res = generic_simplify_542 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FMA);
17268 : 0 : if (res) return res;
17269 : : }
17270 : : }
17271 : : break;
17272 : 0 : case CFN_COND_LEN_FMS:
17273 : 0 : if (call_expr_nargs (_q40) == 7)
17274 : : {
17275 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
17276 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
17277 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
17278 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
17279 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
17280 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
17281 : 0 : tree _q56 = CALL_EXPR_ARG (_q40, 6);
17282 : 0 : {
17283 : 0 : tree captures[9] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55, _q56 };
17284 : 0 : tree res = generic_simplify_542 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FMS);
17285 : 0 : if (res) return res;
17286 : : }
17287 : : }
17288 : : break;
17289 : 0 : case CFN_COND_LEN_FNMA:
17290 : 0 : if (call_expr_nargs (_q40) == 7)
17291 : : {
17292 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
17293 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
17294 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
17295 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
17296 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
17297 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
17298 : 0 : tree _q56 = CALL_EXPR_ARG (_q40, 6);
17299 : 0 : {
17300 : 0 : tree captures[9] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55, _q56 };
17301 : 0 : tree res = generic_simplify_542 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FNMA);
17302 : 0 : if (res) return res;
17303 : : }
17304 : : }
17305 : : break;
17306 : 0 : case CFN_COND_LEN_FNMS:
17307 : 0 : if (call_expr_nargs (_q40) == 7)
17308 : : {
17309 : 0 : tree _q50 = CALL_EXPR_ARG (_q40, 0);
17310 : 0 : tree _q51 = CALL_EXPR_ARG (_q40, 1);
17311 : 0 : tree _q52 = CALL_EXPR_ARG (_q40, 2);
17312 : 0 : tree _q53 = CALL_EXPR_ARG (_q40, 3);
17313 : 0 : tree _q54 = CALL_EXPR_ARG (_q40, 4);
17314 : 0 : tree _q55 = CALL_EXPR_ARG (_q40, 5);
17315 : 0 : tree _q56 = CALL_EXPR_ARG (_q40, 6);
17316 : 0 : {
17317 : 0 : tree captures[9] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55, _q56 };
17318 : 0 : tree res = generic_simplify_542 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FNMS);
17319 : 0 : if (res) return res;
17320 : : }
17321 : : }
17322 : : break;
17323 : : default:;
17324 : : }
17325 : : break;
17326 : : default:;
17327 : : }
17328 : : break;
17329 : : }
17330 : 12 : case CALL_EXPR:
17331 : 12 : switch (get_call_combined_fn (_p2))
17332 : : {
17333 : 0 : case CFN_COND_LEN_FMA:
17334 : 0 : if (call_expr_nargs (_p2) == 7)
17335 : : {
17336 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
17337 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
17338 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
17339 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
17340 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
17341 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
17342 : 0 : tree _q46 = CALL_EXPR_ARG (_p2, 6);
17343 : 0 : {
17344 : 0 : tree captures[9] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45, _q46 };
17345 : 0 : tree res = generic_simplify_542 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FMA);
17346 : 0 : if (res) return res;
17347 : : }
17348 : : }
17349 : : break;
17350 : 0 : case CFN_COND_LEN_FMS:
17351 : 0 : if (call_expr_nargs (_p2) == 7)
17352 : : {
17353 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
17354 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
17355 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
17356 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
17357 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
17358 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
17359 : 0 : tree _q46 = CALL_EXPR_ARG (_p2, 6);
17360 : 0 : {
17361 : 0 : tree captures[9] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45, _q46 };
17362 : 0 : tree res = generic_simplify_542 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FMS);
17363 : 0 : if (res) return res;
17364 : : }
17365 : : }
17366 : : break;
17367 : 0 : case CFN_COND_LEN_FNMA:
17368 : 0 : if (call_expr_nargs (_p2) == 7)
17369 : : {
17370 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
17371 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
17372 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
17373 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
17374 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
17375 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
17376 : 0 : tree _q46 = CALL_EXPR_ARG (_p2, 6);
17377 : 0 : {
17378 : 0 : tree captures[9] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45, _q46 };
17379 : 0 : tree res = generic_simplify_542 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FNMA);
17380 : 0 : if (res) return res;
17381 : : }
17382 : : }
17383 : : break;
17384 : 0 : case CFN_COND_LEN_FNMS:
17385 : 0 : if (call_expr_nargs (_p2) == 7)
17386 : : {
17387 : 0 : tree _q40 = CALL_EXPR_ARG (_p2, 0);
17388 : 0 : tree _q41 = CALL_EXPR_ARG (_p2, 1);
17389 : 0 : tree _q42 = CALL_EXPR_ARG (_p2, 2);
17390 : 0 : tree _q43 = CALL_EXPR_ARG (_p2, 3);
17391 : 0 : tree _q44 = CALL_EXPR_ARG (_p2, 4);
17392 : 0 : tree _q45 = CALL_EXPR_ARG (_p2, 5);
17393 : 0 : tree _q46 = CALL_EXPR_ARG (_p2, 6);
17394 : 0 : {
17395 : 0 : tree captures[9] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45, _q46 };
17396 : 0 : tree res = generic_simplify_542 (loc, type, _p0, _p1, _p2, captures, CFN_COND_LEN_FNMS);
17397 : 0 : if (res) return res;
17398 : : }
17399 : : }
17400 : : break;
17401 : : default:;
17402 : : }
17403 : : break;
17404 : 331621 : default:;
17405 : : }
17406 : 331621 : switch (TREE_CODE (_p1))
17407 : : {
17408 : 12 : case CALL_EXPR:
17409 : 12 : switch (get_call_combined_fn (_p1))
17410 : : {
17411 : 0 : case CFN_COND_ADD:
17412 : 0 : if (call_expr_nargs (_p1) == 4)
17413 : : {
17414 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17415 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17416 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17417 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17418 : 0 : if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
17419 : : {
17420 : 0 : {
17421 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
17422 : 0 : tree res = generic_simplify_543 (loc, type, _p0, _p1, _p2, captures, CFN_COND_ADD);
17423 : 0 : if (res) return res;
17424 : : }
17425 : : }
17426 : : }
17427 : : break;
17428 : 0 : case CFN_COND_AND:
17429 : 0 : if (call_expr_nargs (_p1) == 4)
17430 : : {
17431 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17432 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17433 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17434 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17435 : 0 : if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
17436 : : {
17437 : 0 : {
17438 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
17439 : 0 : tree res = generic_simplify_543 (loc, type, _p0, _p1, _p2, captures, CFN_COND_AND);
17440 : 0 : if (res) return res;
17441 : : }
17442 : : }
17443 : : }
17444 : : break;
17445 : 0 : case CFN_COND_DIV:
17446 : 0 : if (call_expr_nargs (_p1) == 4)
17447 : : {
17448 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17449 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17450 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17451 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17452 : 0 : if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
17453 : : {
17454 : 0 : {
17455 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
17456 : 0 : tree res = generic_simplify_543 (loc, type, _p0, _p1, _p2, captures, CFN_COND_DIV);
17457 : 0 : if (res) return res;
17458 : : }
17459 : : }
17460 : : }
17461 : : break;
17462 : 0 : case CFN_COND_FMA:
17463 : 0 : if (call_expr_nargs (_p1) == 5)
17464 : : {
17465 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17466 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17467 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17468 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17469 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
17470 : 0 : if ((_p2 == _q34 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q34, 0) && types_match (_p2, _q34)))
17471 : : {
17472 : 0 : {
17473 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33, _q34 };
17474 : 0 : tree res = generic_simplify_544 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMA);
17475 : 0 : if (res) return res;
17476 : : }
17477 : : }
17478 : : }
17479 : : break;
17480 : 0 : case CFN_COND_FMS:
17481 : 0 : if (call_expr_nargs (_p1) == 5)
17482 : : {
17483 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17484 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17485 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17486 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17487 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
17488 : 0 : if ((_p2 == _q34 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q34, 0) && types_match (_p2, _q34)))
17489 : : {
17490 : 0 : {
17491 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33, _q34 };
17492 : 0 : tree res = generic_simplify_544 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMS);
17493 : 0 : if (res) return res;
17494 : : }
17495 : : }
17496 : : }
17497 : : break;
17498 : 0 : case CFN_COND_IOR:
17499 : 0 : if (call_expr_nargs (_p1) == 4)
17500 : : {
17501 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17502 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17503 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17504 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17505 : 0 : if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
17506 : : {
17507 : 0 : {
17508 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
17509 : 0 : tree res = generic_simplify_543 (loc, type, _p0, _p1, _p2, captures, CFN_COND_IOR);
17510 : 0 : if (res) return res;
17511 : : }
17512 : : }
17513 : : }
17514 : : break;
17515 : 0 : case CFN_COND_MAX:
17516 : 0 : if (call_expr_nargs (_p1) == 4)
17517 : : {
17518 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17519 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17520 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17521 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17522 : 0 : if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
17523 : : {
17524 : 0 : {
17525 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
17526 : 0 : tree res = generic_simplify_543 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MAX);
17527 : 0 : if (res) return res;
17528 : : }
17529 : : }
17530 : : }
17531 : : break;
17532 : 0 : case CFN_COND_MIN:
17533 : 0 : if (call_expr_nargs (_p1) == 4)
17534 : : {
17535 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17536 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17537 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17538 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17539 : 0 : if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
17540 : : {
17541 : 0 : {
17542 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
17543 : 0 : tree res = generic_simplify_543 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MIN);
17544 : 0 : if (res) return res;
17545 : : }
17546 : : }
17547 : : }
17548 : : break;
17549 : 0 : case CFN_COND_MOD:
17550 : 0 : if (call_expr_nargs (_p1) == 4)
17551 : : {
17552 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17553 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17554 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17555 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17556 : 0 : if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
17557 : : {
17558 : 0 : {
17559 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
17560 : 0 : tree res = generic_simplify_543 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MOD);
17561 : 0 : if (res) return res;
17562 : : }
17563 : : }
17564 : : }
17565 : : break;
17566 : 0 : case CFN_COND_MUL:
17567 : 0 : if (call_expr_nargs (_p1) == 4)
17568 : : {
17569 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17570 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17571 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17572 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17573 : 0 : if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
17574 : : {
17575 : 0 : {
17576 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
17577 : 0 : tree res = generic_simplify_543 (loc, type, _p0, _p1, _p2, captures, CFN_COND_MUL);
17578 : 0 : if (res) return res;
17579 : : }
17580 : : }
17581 : : }
17582 : : break;
17583 : 0 : case CFN_COND_SHL:
17584 : 0 : if (call_expr_nargs (_p1) == 4)
17585 : : {
17586 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17587 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17588 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17589 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17590 : 0 : if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
17591 : : {
17592 : 0 : {
17593 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
17594 : 0 : tree res = generic_simplify_543 (loc, type, _p0, _p1, _p2, captures, CFN_COND_SHL);
17595 : 0 : if (res) return res;
17596 : : }
17597 : : }
17598 : : }
17599 : : break;
17600 : 0 : case CFN_COND_SHR:
17601 : 0 : if (call_expr_nargs (_p1) == 4)
17602 : : {
17603 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17604 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17605 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17606 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17607 : 0 : if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
17608 : : {
17609 : 0 : {
17610 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
17611 : 0 : tree res = generic_simplify_543 (loc, type, _p0, _p1, _p2, captures, CFN_COND_SHR);
17612 : 0 : if (res) return res;
17613 : : }
17614 : : }
17615 : : }
17616 : : break;
17617 : 0 : case CFN_COND_SUB:
17618 : 0 : if (call_expr_nargs (_p1) == 4)
17619 : : {
17620 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17621 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17622 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17623 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17624 : 0 : if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
17625 : : {
17626 : 0 : {
17627 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
17628 : 0 : tree res = generic_simplify_543 (loc, type, _p0, _p1, _p2, captures, CFN_COND_SUB);
17629 : 0 : if (res) return res;
17630 : : }
17631 : : }
17632 : : }
17633 : : break;
17634 : 0 : case CFN_COND_XOR:
17635 : 0 : if (call_expr_nargs (_p1) == 4)
17636 : : {
17637 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17638 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17639 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17640 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17641 : 0 : if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
17642 : : {
17643 : 0 : {
17644 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
17645 : 0 : tree res = generic_simplify_543 (loc, type, _p0, _p1, _p2, captures, CFN_COND_XOR);
17646 : 0 : if (res) return res;
17647 : : }
17648 : : }
17649 : : }
17650 : : break;
17651 : 0 : case CFN_COND_COPYSIGN:
17652 : 0 : if (call_expr_nargs (_p1) == 4)
17653 : : {
17654 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17655 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17656 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17657 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17658 : 0 : if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
17659 : : {
17660 : 0 : {
17661 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
17662 : 0 : tree res = generic_simplify_543 (loc, type, _p0, _p1, _p2, captures, CFN_COND_COPYSIGN);
17663 : 0 : if (res) return res;
17664 : : }
17665 : : }
17666 : : }
17667 : : break;
17668 : 0 : case CFN_COND_FMAX:
17669 : 0 : if (call_expr_nargs (_p1) == 4)
17670 : : {
17671 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17672 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17673 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17674 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17675 : 0 : if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
17676 : : {
17677 : 0 : {
17678 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
17679 : 0 : tree res = generic_simplify_543 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMAX);
17680 : 0 : if (res) return res;
17681 : : }
17682 : : }
17683 : : }
17684 : : break;
17685 : 0 : case CFN_COND_FMIN:
17686 : 0 : if (call_expr_nargs (_p1) == 4)
17687 : : {
17688 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17689 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17690 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17691 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17692 : 0 : if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
17693 : : {
17694 : 0 : {
17695 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
17696 : 0 : tree res = generic_simplify_543 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FMIN);
17697 : 0 : if (res) return res;
17698 : : }
17699 : : }
17700 : : }
17701 : : break;
17702 : 0 : case CFN_COND_FNMA:
17703 : 0 : if (call_expr_nargs (_p1) == 5)
17704 : : {
17705 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17706 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17707 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17708 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17709 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
17710 : 0 : if ((_p2 == _q34 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q34, 0) && types_match (_p2, _q34)))
17711 : : {
17712 : 0 : {
17713 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33, _q34 };
17714 : 0 : tree res = generic_simplify_544 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FNMA);
17715 : 0 : if (res) return res;
17716 : : }
17717 : : }
17718 : : }
17719 : : break;
17720 : 0 : case CFN_COND_FNMS:
17721 : 0 : if (call_expr_nargs (_p1) == 5)
17722 : : {
17723 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17724 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17725 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17726 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17727 : 0 : tree _q34 = CALL_EXPR_ARG (_p1, 4);
17728 : 0 : if ((_p2 == _q34 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q34, 0) && types_match (_p2, _q34)))
17729 : : {
17730 : 0 : {
17731 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33, _q34 };
17732 : 0 : tree res = generic_simplify_544 (loc, type, _p0, _p1, _p2, captures, CFN_COND_FNMS);
17733 : 0 : if (res) return res;
17734 : : }
17735 : : }
17736 : : }
17737 : : break;
17738 : 0 : case CFN_COND_RDIV:
17739 : 0 : if (call_expr_nargs (_p1) == 4)
17740 : : {
17741 : 0 : tree _q30 = CALL_EXPR_ARG (_p1, 0);
17742 : 0 : tree _q31 = CALL_EXPR_ARG (_p1, 1);
17743 : 0 : tree _q32 = CALL_EXPR_ARG (_p1, 2);
17744 : 0 : tree _q33 = CALL_EXPR_ARG (_p1, 3);
17745 : 0 : if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
17746 : : {
17747 : 0 : {
17748 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
17749 : 0 : tree res = generic_simplify_543 (loc, type, _p0, _p1, _p2, captures, CFN_COND_RDIV);
17750 : 0 : if (res) return res;
17751 : : }
17752 : : }
17753 : : }
17754 : : break;
17755 : : default:;
17756 : : }
17757 : : break;
17758 : : default:;
17759 : : }
17760 : : return NULL_TREE;
17761 : : }
17762 : : #pragma GCC diagnostic pop
|