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 : 1677183 : tree_power_of_two_cand (tree t, tree *res_ops)
11 : : {
12 : 1677183 : const tree type = TREE_TYPE (t);
13 : 1677183 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
14 : 1677183 : if (TREE_SIDE_EFFECTS (t)) return false;
15 : 1676479 : switch (TREE_CODE (t))
16 : : {
17 : 1405091 : case INTEGER_CST:
18 : 1405091 : {
19 : 1405091 : {
20 : 1405091 : tree captures[1] ATTRIBUTE_UNUSED = { t };
21 : 1405091 : {
22 : 1405091 : res_ops[0] = captures[0];
23 : 1405091 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 12, __FILE__, __LINE__, false);
24 : : return true;
25 : : }
26 : : }
27 : 16 : break;
28 : : }
29 : 16 : case LSHIFT_EXPR:
30 : 16 : {
31 : 16 : tree _p0 = TREE_OPERAND (t, 0);
32 : 16 : tree _p1 = TREE_OPERAND (t, 1);
33 : 16 : switch (TREE_CODE (_p0))
34 : : {
35 : 16 : case INTEGER_CST:
36 : 16 : {
37 : 16 : {
38 : 16 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
39 : 16 : {
40 : 16 : res_ops[0] = captures[0];
41 : 16 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 13, __FILE__, __LINE__, false);
42 : 16 : return true;
43 : : }
44 : : }
45 : : break;
46 : : }
47 : : default:;
48 : : }
49 : : break;
50 : : }
51 : : default:;
52 : : }
53 : : return false;
54 : : }
55 : :
56 : : bool
57 : 78855961 : tree_with_possible_nonzero_bits (tree t)
58 : : {
59 : 78855961 : const tree type = TREE_TYPE (t);
60 : 78855961 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
61 : 78855961 : if (TREE_SIDE_EFFECTS (t)) return false;
62 : 73893141 : switch (TREE_CODE (t))
63 : : {
64 : 2095229 : case BIT_AND_EXPR:
65 : 2095229 : {
66 : 2095229 : tree _p0 = TREE_OPERAND (t, 0);
67 : 2095229 : tree _p1 = TREE_OPERAND (t, 1);
68 : 2095229 : if (tree_with_possible_nonzero_bits_1 (_p0))
69 : : {
70 : 996864 : {
71 : 996864 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
72 : 996864 : {
73 : 996864 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 35, __FILE__, __LINE__, false);
74 : 996864 : return true;
75 : : }
76 : : }
77 : : }
78 : 1098365 : if (tree_with_possible_nonzero_bits_1 (_p1))
79 : : {
80 : 945957 : {
81 : 945957 : tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
82 : 945957 : {
83 : 945957 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 35, __FILE__, __LINE__, false);
84 : 945957 : return true;
85 : : }
86 : : }
87 : : }
88 : : break;
89 : : }
90 : 71950320 : default:;
91 : : }
92 : 71950320 : if (tree_with_possible_nonzero_bits_1 (t))
93 : : {
94 : 41912164 : {
95 : 41912164 : tree captures[1] ATTRIBUTE_UNUSED = { t };
96 : 41912164 : {
97 : 41912164 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 36, __FILE__, __LINE__, false);
98 : 41912164 : return true;
99 : : }
100 : : }
101 : : }
102 : : return false;
103 : : }
104 : :
105 : : bool
106 : 714793 : tree_vec_same_elem_p (tree t)
107 : : {
108 : 714793 : const tree type = TREE_TYPE (t);
109 : 714793 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
110 : 714793 : if (TREE_SIDE_EFFECTS (t)) return false;
111 : 714793 : switch (TREE_CODE (t))
112 : : {
113 : 0 : case VEC_DUPLICATE_EXPR:
114 : 0 : {
115 : 0 : tree _p0 = TREE_OPERAND (t, 0);
116 : 0 : {
117 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
118 : 0 : {
119 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 46, __FILE__, __LINE__, false);
120 : 0 : return true;
121 : : }
122 : : }
123 : : break;
124 : : }
125 : : case CONSTRUCTOR:
126 : : {
127 : : {
128 : : tree captures[1] ATTRIBUTE_UNUSED = { t };
129 : : if (TREE_CODE (captures[0]) == SSA_NAME
130 : : && uniform_vector_p (gimple_assign_rhs1 (SSA_NAME_DEF_STMT (captures[0])))
131 : : )
132 : : {
133 : : {
134 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 47, __FILE__, __LINE__, false);
135 : : return true;
136 : : }
137 : : }
138 : : }
139 : : break;
140 : : }
141 : 714793 : default:;
142 : : }
143 : 714793 : {
144 : 714793 : tree captures[1] ATTRIBUTE_UNUSED = { t };
145 : 714793 : if (uniform_vector_p (captures[0])
146 : : )
147 : : {
148 : 13839 : {
149 : 13839 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 48, __FILE__, __LINE__, false);
150 : 13839 : return true;
151 : : }
152 : : }
153 : : }
154 : : return false;
155 : : }
156 : :
157 : : tree
158 : 47680 : generic_simplify_13 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
159 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
160 : : {
161 : 47680 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
162 : 47680 : if (!TYPE_SATURATING (type)
163 : : )
164 : : {
165 : 47680 : if ((!FLOAT_TYPE_P (type) || flag_associative_math)
166 : 95286 : && !FIXED_POINT_TYPE_P (type)
167 : : )
168 : : {
169 : 47606 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail85;
170 : 47606 : {
171 : 47606 : tree res_op0;
172 : 47606 : res_op0 = captures[0];
173 : 47606 : tree _r;
174 : 47606 : _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
175 : 47606 : if (TREE_SIDE_EFFECTS (captures[1]))
176 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
177 : 47606 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 62, __FILE__, __LINE__, true);
178 : 47606 : return _r;
179 : : }
180 : 0 : next_after_fail85:;
181 : : }
182 : : }
183 : : return NULL_TREE;
184 : : }
185 : :
186 : : tree
187 : 10 : generic_simplify_20 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
188 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
189 : : {
190 : 10 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
191 : 10 : if (!TYPE_SATURATING (type)
192 : : )
193 : : {
194 : 10 : if ((!FLOAT_TYPE_P (type) || flag_associative_math)
195 : 20 : && !FIXED_POINT_TYPE_P (type)
196 : : )
197 : : {
198 : 10 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail100;
199 : 10 : {
200 : 10 : tree res_op0;
201 : 10 : res_op0 = captures[2];
202 : 10 : tree res_op1;
203 : 10 : res_op1 = captures[1];
204 : 10 : tree _r;
205 : 10 : _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
206 : 10 : if (TREE_SIDE_EFFECTS (captures[0]))
207 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
208 : 10 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 77, __FILE__, __LINE__, true);
209 : 10 : return _r;
210 : : }
211 : 0 : next_after_fail100:;
212 : : }
213 : : }
214 : : return NULL_TREE;
215 : : }
216 : :
217 : : tree
218 : 378122 : generic_simplify_27 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
219 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
220 : : const enum tree_code ARG_UNUSED (plusminus))
221 : : {
222 : 378122 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
223 : 378122 : if (!TYPE_SATURATING (type)
224 : 378122 : && (!FLOAT_TYPE_P (type) || flag_associative_math)
225 : : )
226 : : {
227 : 377582 : if (!ALL_FRACT_MODE_P (TYPE_MODE (type))
228 : : )
229 : : {
230 : 55 : if ((!ANY_INTEGRAL_TYPE_P (type)
231 : 377541 : || TYPE_OVERFLOW_WRAPS (type)
232 : 88371 : || (INTEGRAL_TYPE_P (type)
233 : 88357 : && ((tree_expr_nonzero_p (captures[1])
234 : 61042 : && (plusminus == MINUS_EXPR
235 : 60901 : || expr_not_equal_to (captures[1],
236 : 438483 : wi::minus_one (TYPE_PRECISION (type)),
237 : : gimple_match_ctx (captures[0]))))
238 : 27315 : || expr_not_equal_to (captures[2],
239 : : (plusminus == PLUS_EXPR
240 : 404897 : ? wi::max_value (TYPE_PRECISION (type), SIGNED)
241 : 1568 : : wi::min_value (TYPE_PRECISION (type), SIGNED)),
242 : : gimple_match_ctx (captures[0])))))
243 : 377582 : && single_use (captures[0])
244 : : )
245 : : {
246 : 376204 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail108;
247 : 376204 : {
248 : 376204 : tree res_op0;
249 : 376204 : {
250 : 376204 : tree _o1[2], _r1;
251 : 376204 : _o1[0] = captures[2];
252 : 376204 : _o1[1] = build_one_cst (type);
253 : 376204 : _r1 = fold_build2_loc (loc, plusminus, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
254 : 376204 : res_op0 = _r1;
255 : : }
256 : 376204 : tree res_op1;
257 : 376204 : res_op1 = captures[1];
258 : 376204 : tree _r;
259 : 376204 : _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
260 : 376204 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 85, __FILE__, __LINE__, true);
261 : 376204 : return _r;
262 : : }
263 : 0 : next_after_fail108:;
264 : : }
265 : : }
266 : : }
267 : : return NULL_TREE;
268 : : }
269 : :
270 : : tree
271 : 1 : generic_simplify_34 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
272 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
273 : : const combined_fn ARG_UNUSED (logs))
274 : : {
275 : 1 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
276 : 1 : if (flag_unsafe_math_optimizations
277 : : )
278 : : {
279 : 1 : if (! HONOR_SIGN_DEPENDENT_ROUNDING (type)
280 : 1 : && ! HONOR_NANS (type) && ! HONOR_INFINITIES (type)
281 : 1 : && ! flag_trapping_math
282 : 2 : && ! flag_errno_math
283 : : )
284 : : {
285 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail116;
286 : 1 : {
287 : 1 : tree res_op0;
288 : 1 : {
289 : 1 : tree _o1[2], _r1;
290 : 1 : _o1[0] = captures[1];
291 : 1 : _o1[1] = captures[3];
292 : 1 : _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
293 : 1 : res_op0 = _r1;
294 : : }
295 : 1 : tree _r;
296 : 1 : _r = maybe_build_call_expr_loc (loc, logs, type, 1, res_op0);
297 : 1 : if (!_r)
298 : 0 : goto next_after_fail116;
299 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 93, __FILE__, __LINE__, true);
300 : 1 : return _r;
301 : : }
302 : : next_after_fail116:;
303 : : }
304 : : }
305 : : return NULL_TREE;
306 : : }
307 : :
308 : : tree
309 : 21 : generic_simplify_42 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
310 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
311 : : {
312 : 21 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
313 : 21 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail124;
314 : 21 : {
315 : 21 : tree res_op0;
316 : 21 : {
317 : 21 : tree _o1[2], _r1;
318 : 21 : _o1[0] = captures[1];
319 : 21 : _o1[1] = unshare_expr (captures[2]);
320 : 21 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
321 : 21 : res_op0 = _r1;
322 : : }
323 : 21 : tree res_op1;
324 : 21 : res_op1 = captures[2];
325 : 21 : tree _r;
326 : 21 : _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
327 : 21 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 101, __FILE__, __LINE__, true);
328 : : return _r;
329 : : }
330 : 0 : next_after_fail124:;
331 : 0 : return NULL_TREE;
332 : : }
333 : :
334 : : tree
335 : 1512 : generic_simplify_49 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
336 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
337 : : {
338 : 1512 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
339 : 1512 : if (!TYPE_SATURATING (type)
340 : : )
341 : : {
342 : 1512 : if (tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
343 : 1512 : && !TYPE_OVERFLOW_SANITIZED (type)
344 : : )
345 : : {
346 : 5 : {
347 : 5 : tree t1 = type;
348 : 5 : if (INTEGRAL_TYPE_P (type)
349 : 5 : && TYPE_OVERFLOW_WRAPS (type) != TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1])))
350 : 0 : t1 = TYPE_OVERFLOW_WRAPS (type) ? type : TREE_TYPE (captures[1]);
351 : 5 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail131;
352 : 5 : {
353 : 5 : tree res_op0;
354 : 5 : {
355 : 5 : tree _o1[2], _r1;
356 : 5 : {
357 : 5 : tree _o2[1], _r2;
358 : 5 : _o2[0] = captures[0];
359 : 5 : if (TREE_TYPE (_o2[0]) != t1)
360 : : {
361 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, t1, _o2[0]);
362 : : }
363 : : else
364 : : _r2 = _o2[0];
365 : 5 : _o1[0] = _r2;
366 : : }
367 : 5 : {
368 : 5 : tree _o2[1], _r2;
369 : 5 : _o2[0] = captures[1];
370 : 5 : if (TREE_TYPE (_o2[0]) != t1)
371 : : {
372 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, t1, _o2[0]);
373 : : }
374 : : else
375 : : _r2 = _o2[0];
376 : 5 : _o1[1] = _r2;
377 : : }
378 : 5 : _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
379 : 5 : res_op0 = _r1;
380 : : }
381 : 5 : tree _r;
382 : 5 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
383 : 5 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 107, __FILE__, __LINE__, true);
384 : 5 : return _r;
385 : : }
386 : 0 : next_after_fail131:;
387 : : }
388 : : }
389 : : }
390 : : return NULL_TREE;
391 : : }
392 : :
393 : : tree
394 : 0 : generic_simplify_61 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
395 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
396 : : {
397 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
398 : 0 : if (VECTOR_TYPE_P (type)
399 : 0 : && known_eq (TYPE_VECTOR_SUBPARTS (type),
400 : : TYPE_VECTOR_SUBPARTS (TREE_TYPE (captures[3])))
401 : 0 : && (TYPE_MODE (TREE_TYPE (type))
402 : 0 : == TYPE_MODE (TREE_TYPE (TREE_TYPE (captures[3]))))
403 : : )
404 : : {
405 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail149;
406 : 0 : {
407 : 0 : tree res_op0;
408 : 0 : res_op0 = captures[0];
409 : 0 : tree res_op1;
410 : 0 : {
411 : 0 : tree _o1[1], _r1;
412 : 0 : {
413 : 0 : tree _o2[3], _r2;
414 : 0 : _o2[0] = captures[2];
415 : 0 : {
416 : 0 : tree _o3[1], _r3;
417 : 0 : _o3[0] = captures[3];
418 : 0 : _r3 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o3[0]), _o3[0]);
419 : 0 : _o2[1] = _r3;
420 : : }
421 : 0 : _o2[2] = captures[4];
422 : 0 : _r2 = fold_build3_loc (loc, VEC_COND_EXPR, TREE_TYPE (_o2[1]), _o2[0], _o2[1], _o2[2]);
423 : 0 : _o1[0] = _r2;
424 : : }
425 : 0 : if (TREE_TYPE (_o1[0]) != type)
426 : : {
427 : 0 : _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o1[0]);
428 : : }
429 : : else
430 : : _r1 = _o1[0];
431 : 0 : res_op1 = _r1;
432 : : }
433 : 0 : tree _r;
434 : 0 : _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
435 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 125, __FILE__, __LINE__, true);
436 : 0 : return _r;
437 : : }
438 : 0 : next_after_fail149:;
439 : : }
440 : : return NULL_TREE;
441 : : }
442 : :
443 : : tree
444 : 0 : generic_simplify_68 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
445 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
446 : : const enum tree_code ARG_UNUSED (bitop),
447 : : const enum tree_code ARG_UNUSED (cmp))
448 : : {
449 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
450 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
451 : 0 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
452 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (TREE_TYPE (captures[2]))
453 : : )
454 : : {
455 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail156;
456 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail156;
457 : 0 : {
458 : 0 : tree res_op0;
459 : 0 : {
460 : 0 : tree _o1[2], _r1;
461 : 0 : _o1[0] = captures[0];
462 : 0 : {
463 : 0 : tree _o2[1], _r2;
464 : 0 : _o2[0] = captures[2];
465 : 0 : if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o1[0]))
466 : : {
467 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
468 : : }
469 : : else
470 : : _r2 = _o2[0];
471 : 0 : _o1[1] = _r2;
472 : : }
473 : 0 : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
474 : 0 : res_op0 = _r1;
475 : : }
476 : 0 : tree res_op1;
477 : 0 : res_op1 = captures[1];
478 : 0 : tree _r;
479 : 0 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
480 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 132, __FILE__, __LINE__, true);
481 : 0 : return _r;
482 : : }
483 : : next_after_fail156:;
484 : : }
485 : : return NULL_TREE;
486 : : }
487 : :
488 : : tree
489 : 0 : generic_simplify_80 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
490 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
491 : : const enum tree_code ARG_UNUSED (op))
492 : : {
493 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
494 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail172;
495 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail172;
496 : 0 : {
497 : 0 : tree _r;
498 : 0 : _r = captures[0];
499 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 143, __FILE__, __LINE__, true);
500 : : return _r;
501 : : }
502 : : next_after_fail172:;
503 : : return NULL_TREE;
504 : : }
505 : :
506 : : tree
507 : 251 : generic_simplify_89 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
508 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
509 : : const enum tree_code ARG_UNUSED (bitop))
510 : : {
511 : 251 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
512 : 251 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail181;
513 : 251 : {
514 : 251 : tree res_op0;
515 : 251 : res_op0 = captures[0];
516 : 251 : tree _r;
517 : 251 : _r = non_lvalue_loc (loc, res_op0);
518 : 251 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 148, __FILE__, __LINE__, true);
519 : : return _r;
520 : : }
521 : 0 : next_after_fail181:;
522 : 0 : return NULL_TREE;
523 : : }
524 : :
525 : : tree
526 : 17944 : generic_simplify_98 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
527 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
528 : : {
529 : 17944 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
530 : 17944 : {
531 : 17944 : bool wascmp;
532 : 17944 : if ((bitwise_inverted_equal_p (captures[0], captures[2], wascmp)
533 : 17944 : || bitwise_inverted_equal_p (captures[1], captures[2], wascmp))
534 : 17944 : && (!wascmp || element_precision (type) == 1)
535 : : )
536 : : {
537 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail190;
538 : 0 : {
539 : 0 : tree _r;
540 : 0 : _r = build_all_ones_cst (TREE_TYPE (captures[0]));
541 : 0 : if (TREE_SIDE_EFFECTS (captures[0]))
542 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
543 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
544 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
545 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
546 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
547 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 155, __FILE__, __LINE__, true);
548 : 0 : return _r;
549 : : }
550 : 0 : next_after_fail190:;
551 : : }
552 : : }
553 : 17944 : return NULL_TREE;
554 : : }
555 : :
556 : : tree
557 : 2 : generic_simplify_107 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
558 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
559 : : const enum tree_code ARG_UNUSED (bitop),
560 : : const enum tree_code ARG_UNUSED (rbitop))
561 : : {
562 : 2 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
563 : 2 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail203;
564 : 2 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail203;
565 : 2 : {
566 : 2 : tree _r;
567 : 2 : _r = captures[2];
568 : 2 : if (TREE_SIDE_EFFECTS (captures[1]))
569 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
570 : 2 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 161, __FILE__, __LINE__, true);
571 : : return _r;
572 : : }
573 : : next_after_fail203:;
574 : : return NULL_TREE;
575 : : }
576 : :
577 : : tree
578 : 0 : generic_simplify_111 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
579 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
580 : : const enum tree_code ARG_UNUSED (bitop),
581 : : const enum tree_code ARG_UNUSED (rbitop))
582 : : {
583 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
584 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail207;
585 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail207;
586 : 0 : {
587 : 0 : tree _r;
588 : 0 : _r = captures[2];
589 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
590 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
591 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 161, __FILE__, __LINE__, true);
592 : : return _r;
593 : : }
594 : : next_after_fail207:;
595 : : return NULL_TREE;
596 : : }
597 : :
598 : : tree
599 : 599 : generic_simplify_119 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
600 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
601 : : const enum tree_code ARG_UNUSED (bitop))
602 : : {
603 : 599 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
604 : 599 : if (!CONSTANT_CLASS_P (captures[0])
605 : : )
606 : : {
607 : 599 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail216;
608 : 599 : {
609 : 599 : tree res_op0;
610 : 599 : res_op0 = captures[0];
611 : 599 : tree res_op1;
612 : 599 : {
613 : 599 : tree _o1[2], _r1;
614 : 599 : _o1[0] = captures[1];
615 : 599 : _o1[1] = captures[2];
616 : 599 : _r1 = fold_build2_loc (loc, bitop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
617 : 599 : if (EXPR_P (_r1))
618 : 0 : goto next_after_fail216;
619 : 599 : res_op1 = _r1;
620 : : }
621 : 599 : tree _r;
622 : 599 : _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
623 : 599 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 169, __FILE__, __LINE__, true);
624 : 599 : return _r;
625 : : }
626 : : next_after_fail216:;
627 : : }
628 : : else
629 : : {
630 : 0 : {
631 : 0 : tree cst1 = const_binop (bitop, type, captures[0], captures[2]);
632 : 0 : if (cst1
633 : : )
634 : : {
635 : 0 : if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail217;
636 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail217;
637 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail217;
638 : 0 : {
639 : 0 : tree res_op0;
640 : 0 : res_op0 = captures[1];
641 : 0 : tree res_op1;
642 : 0 : res_op1 = cst1;
643 : 0 : tree _r;
644 : 0 : _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
645 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 170, __FILE__, __LINE__, true);
646 : 0 : return _r;
647 : : }
648 : : next_after_fail217:;
649 : : }
650 : : else
651 : : {
652 : 0 : {
653 : 0 : tree cst2 = const_binop (bitop, type, captures[1], captures[2]);
654 : 0 : if (cst2
655 : : )
656 : : {
657 : 0 : if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail218;
658 : 0 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail218;
659 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail218;
660 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail218;
661 : 0 : {
662 : 0 : tree res_op0;
663 : 0 : res_op0 = captures[0];
664 : 0 : tree res_op1;
665 : 0 : res_op1 = cst2;
666 : 0 : tree _r;
667 : 0 : _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
668 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 171, __FILE__, __LINE__, true);
669 : 0 : return _r;
670 : : }
671 : : next_after_fail218:;
672 : : }
673 : : }
674 : : }
675 : : }
676 : : }
677 : : return NULL_TREE;
678 : : }
679 : :
680 : : tree
681 : 0 : generic_simplify_135 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
682 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
683 : : {
684 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
685 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail256;
686 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail256;
687 : 0 : {
688 : 0 : tree _r;
689 : 0 : _r = captures[2];
690 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
691 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
692 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 182, __FILE__, __LINE__, true);
693 : : return _r;
694 : : }
695 : : next_after_fail256:;
696 : : return NULL_TREE;
697 : : }
698 : :
699 : : tree
700 : 8 : generic_simplify_140 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
701 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
702 : : const enum tree_code ARG_UNUSED (eqne))
703 : : {
704 : 8 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
705 : 8 : if (eqne == EQ_EXPR
706 : : )
707 : : {
708 : 4 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail274;
709 : 4 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail274;
710 : 4 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail274;
711 : 4 : {
712 : 4 : tree _r;
713 : 4 : _r = captures[0];
714 : 4 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 201, __FILE__, __LINE__, true);
715 : 4 : return _r;
716 : : }
717 : : next_after_fail274:;
718 : : }
719 : : else
720 : : {
721 : 4 : if (eqne == NE_EXPR
722 : : )
723 : : {
724 : 4 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail275;
725 : 4 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail275;
726 : 4 : {
727 : 4 : tree _r;
728 : 4 : _r = constant_boolean_node (true, type);
729 : 4 : if (TREE_SIDE_EFFECTS (captures[2]))
730 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
731 : 4 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 202, __FILE__, __LINE__, true);
732 : 4 : return _r;
733 : : }
734 : : next_after_fail275:;
735 : : }
736 : : }
737 : : return NULL_TREE;
738 : : }
739 : :
740 : : tree
741 : 7 : generic_simplify_146 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
742 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
743 : : const enum tree_code ARG_UNUSED (op))
744 : : {
745 : 7 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
746 : 14 : if (INTEGRAL_TYPE_P (type)
747 : 7 : && tree_int_cst_sgn (captures[2]) > 0
748 : 7 : && tree_int_cst_sgn (captures[4]) > 0
749 : 28 : && (tree_nonzero_bits (captures[0]) & tree_nonzero_bits (captures[3])) == 0
750 : : )
751 : : {
752 : 4 : {
753 : 4 : tree t = type;
754 : 4 : if (!TYPE_OVERFLOW_WRAPS (t))
755 : 4 : t = unsigned_type_for (t);
756 : 4 : wide_int wone = wi::one (TYPE_PRECISION (t));
757 : 8 : wide_int c = wi::add (wi::lshift (wone, wi::to_wide (captures[2])),
758 : 8 : wi::lshift (wone, wi::to_wide (captures[4])));
759 : 4 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail281;
760 : 4 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail281;
761 : 4 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail281;
762 : 4 : {
763 : 4 : tree res_op0;
764 : 4 : {
765 : 4 : tree _o1[2], _r1;
766 : 4 : {
767 : 4 : tree _o2[1], _r2;
768 : 4 : _o2[0] = captures[1];
769 : 4 : if (TREE_TYPE (_o2[0]) != t)
770 : : {
771 : 4 : _r2 = fold_build1_loc (loc, NOP_EXPR, t, _o2[0]);
772 : : }
773 : : else
774 : : _r2 = _o2[0];
775 : 4 : _o1[0] = _r2;
776 : : }
777 : 4 : _o1[1] = wide_int_to_tree (t,c);
778 : 4 : _r1 = fold_build2_loc (loc, MULT_EXPR, t, _o1[0], _o1[1]);
779 : 4 : res_op0 = _r1;
780 : : }
781 : 4 : tree _r;
782 : 4 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
783 : 4 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 204, __FILE__, __LINE__, true);
784 : 4 : return _r;
785 : : }
786 : 0 : next_after_fail281:;
787 : 4 : }
788 : : }
789 : : return NULL_TREE;
790 : : }
791 : :
792 : : tree
793 : 0 : generic_simplify_152 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
794 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
795 : : {
796 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
797 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail287;
798 : 0 : {
799 : 0 : tree res_op0;
800 : 0 : res_op0 = captures[1];
801 : 0 : tree res_op1;
802 : 0 : res_op1 = captures[2];
803 : 0 : tree _r;
804 : 0 : _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
805 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 209, __FILE__, __LINE__, true);
806 : : return _r;
807 : : }
808 : 0 : next_after_fail287:;
809 : 0 : return NULL_TREE;
810 : : }
811 : :
812 : : tree
813 : 1 : generic_simplify_157 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
814 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
815 : : {
816 : 1 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
817 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail292;
818 : 1 : {
819 : 1 : tree res_op0;
820 : 1 : res_op0 = captures[1];
821 : 1 : tree res_op1;
822 : 1 : {
823 : 1 : tree _o1[1], _r1;
824 : 1 : _o1[0] = captures[2];
825 : 1 : _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
826 : 1 : res_op1 = _r1;
827 : : }
828 : 1 : tree _r;
829 : 1 : _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
830 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 214, __FILE__, __LINE__, true);
831 : : return _r;
832 : : }
833 : 0 : next_after_fail292:;
834 : 0 : return NULL_TREE;
835 : : }
836 : :
837 : : tree
838 : 10 : generic_simplify_163 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
839 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
840 : : {
841 : 10 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
842 : 10 : if (element_precision (type) <= element_precision (TREE_TYPE (captures[0]))
843 : 10 : && element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
844 : : )
845 : : {
846 : 10 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail298;
847 : 10 : {
848 : 10 : tree res_op0;
849 : 10 : {
850 : 10 : tree _o1[1], _r1;
851 : 10 : _o1[0] = captures[0];
852 : 10 : if (TREE_TYPE (_o1[0]) != type)
853 : : {
854 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
855 : : }
856 : : else
857 : : _r1 = _o1[0];
858 : 10 : res_op0 = _r1;
859 : : }
860 : 10 : tree res_op1;
861 : 10 : {
862 : 10 : tree _o1[1], _r1;
863 : 10 : _o1[0] = captures[1];
864 : 10 : if (TREE_TYPE (_o1[0]) != type)
865 : : {
866 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
867 : : }
868 : : else
869 : : _r1 = _o1[0];
870 : 10 : res_op1 = _r1;
871 : : }
872 : 10 : tree _r;
873 : 10 : _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
874 : 10 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 220, __FILE__, __LINE__, true);
875 : 10 : return _r;
876 : : }
877 : 0 : next_after_fail298:;
878 : : }
879 : : return NULL_TREE;
880 : : }
881 : :
882 : : tree
883 : 18 : generic_simplify_171 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
884 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
885 : : const enum tree_code ARG_UNUSED (cmp))
886 : : {
887 : 18 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
888 : 36 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
889 : 18 : && !TYPE_UNSIGNED (TREE_TYPE (captures[1]))
890 : 36 : && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[3]))
891 : : )
892 : : {
893 : 18 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail307;
894 : 18 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail307;
895 : 18 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail307;
896 : 18 : {
897 : 18 : tree res_op0;
898 : 18 : {
899 : 18 : tree _o1[2], _r1;
900 : 18 : _o1[0] = captures[1];
901 : 18 : _o1[1] = captures[3];
902 : 18 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
903 : 18 : res_op0 = _r1;
904 : : }
905 : 18 : tree res_op1;
906 : 18 : res_op1 = build_zero_cst (TREE_TYPE (captures[1]));
907 : 18 : tree _r;
908 : 18 : _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
909 : 18 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 228, __FILE__, __LINE__, true);
910 : 18 : return _r;
911 : : }
912 : : next_after_fail307:;
913 : : }
914 : : return NULL_TREE;
915 : : }
916 : :
917 : : tree
918 : 3128 : generic_simplify_180 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
919 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
920 : : {
921 : 3128 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
922 : 3128 : if (! FLOAT_TYPE_P (type)
923 : 6256 : && tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
924 : : )
925 : : {
926 : 3127 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail317;
927 : 3127 : {
928 : 3127 : tree res_op0;
929 : 3127 : res_op0 = captures[0];
930 : 3127 : tree res_op1;
931 : 3127 : res_op1 = captures[2];
932 : 3127 : tree _r;
933 : 3127 : _r = fold_build2_loc (loc, LSHIFT_EXPR, type, res_op0, res_op1);
934 : 3127 : if (TREE_SIDE_EFFECTS (captures[1]))
935 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
936 : 3127 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 236, __FILE__, __LINE__, true);
937 : 3127 : return _r;
938 : : }
939 : 0 : next_after_fail317:;
940 : : }
941 : : return NULL_TREE;
942 : : }
943 : :
944 : : tree
945 : 141361 : generic_simplify_190 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
946 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
947 : : {
948 : 141361 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
949 : 141361 : {
950 : 141361 : poly_widest_int factor;
951 : 141361 : if (multiple_p (wi::to_poly_widest (captures[2]), wi::to_widest (captures[1]), &factor)
952 : : )
953 : : {
954 : 46792 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail329;
955 : 46792 : {
956 : 46792 : tree res_op0;
957 : 46792 : {
958 : 46792 : tree _o1[1], _r1;
959 : 46792 : _o1[0] = captures[0];
960 : 46792 : if (TREE_TYPE (_o1[0]) != type)
961 : : {
962 : 3351 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
963 : : }
964 : : else
965 : : _r1 = _o1[0];
966 : 46792 : res_op0 = _r1;
967 : : }
968 : 46792 : tree res_op1;
969 : 46792 : res_op1 = wide_int_to_tree (type, factor);
970 : 46792 : tree _r;
971 : 46792 : _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
972 : 46792 : if (TREE_SIDE_EFFECTS (captures[1]))
973 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
974 : 46792 : if (TREE_SIDE_EFFECTS (captures[2]))
975 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
976 : 46792 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 244, __FILE__, __LINE__, true);
977 : 46792 : return _r;
978 : : }
979 : 0 : next_after_fail329:;
980 : : }
981 : 141361 : }
982 : 94569 : return NULL_TREE;
983 : : }
984 : :
985 : : tree
986 : 171 : generic_simplify_200 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
987 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
988 : : const enum tree_code ARG_UNUSED (cmp))
989 : : {
990 : 171 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
991 : 342 : if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
992 : 338 : && !TYPE_OVERFLOW_WRAPS (TREE_TYPE(captures[0]))
993 : : )
994 : : {
995 : 3 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail340;
996 : 3 : {
997 : 3 : tree res_op0;
998 : 3 : res_op0 = captures[0];
999 : 3 : tree res_op1;
1000 : 3 : res_op1 = build_zero_cst (TREE_TYPE(captures[0]));
1001 : 3 : tree _r;
1002 : 3 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1003 : 3 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 255, __FILE__, __LINE__, true);
1004 : 3 : return _r;
1005 : : }
1006 : 0 : next_after_fail340:;
1007 : : }
1008 : : return NULL_TREE;
1009 : : }
1010 : :
1011 : : tree
1012 : 0 : generic_simplify_208 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1013 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1014 : : const enum tree_code ARG_UNUSED (neeq))
1015 : : {
1016 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1017 : 0 : if (TREE_CODE (TREE_TYPE (captures[0])) == BOOLEAN_TYPE
1018 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[0])) == 1
1019 : 0 : && TYPE_UNSIGNED (TREE_TYPE (captures[0]))
1020 : : )
1021 : : {
1022 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail351;
1023 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail351;
1024 : 0 : {
1025 : 0 : tree res_op0;
1026 : 0 : res_op0 = captures[1];
1027 : 0 : tree res_op1;
1028 : 0 : res_op1 = build_zero_cst (TREE_TYPE (captures[1]));
1029 : 0 : tree _r;
1030 : 0 : _r = fold_build2_loc (loc, neeq, type, res_op0, res_op1);
1031 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 265, __FILE__, __LINE__, true);
1032 : 0 : return _r;
1033 : : }
1034 : : next_after_fail351:;
1035 : : }
1036 : : return NULL_TREE;
1037 : : }
1038 : :
1039 : : tree
1040 : 0 : generic_simplify_216 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1041 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1042 : : const enum tree_code ARG_UNUSED (op))
1043 : : {
1044 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1045 : 0 : if (!TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[1]))
1046 : : )
1047 : : {
1048 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail372;
1049 : 0 : {
1050 : 0 : tree res_op0;
1051 : 0 : res_op0 = captures[3];
1052 : 0 : tree res_op1;
1053 : 0 : res_op1 = captures[2];
1054 : 0 : tree _r;
1055 : 0 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
1056 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
1057 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1058 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 286, __FILE__, __LINE__, true);
1059 : 0 : return _r;
1060 : : }
1061 : 0 : next_after_fail372:;
1062 : : }
1063 : : return NULL_TREE;
1064 : : }
1065 : :
1066 : : tree
1067 : 40868320 : generic_simplify_222 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1068 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1069 : : const enum tree_code ARG_UNUSED (cmp))
1070 : : {
1071 : 40868320 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1072 : 81736786 : if (wi::bit_and_not (get_known_nonzero_bits (captures[1]),
1073 : 122604960 : get_nonzero_bits (captures[0])) != 0
1074 : : )
1075 : : {
1076 : 81359 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail378;
1077 : 81359 : {
1078 : 81359 : tree _r;
1079 : 81359 : _r = constant_boolean_node (cmp == NE_EXPR, type);
1080 : 81359 : if (TREE_SIDE_EFFECTS (captures[0]))
1081 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1082 : 81359 : if (TREE_SIDE_EFFECTS (captures[1]))
1083 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1084 : 81359 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 291, __FILE__, __LINE__, true);
1085 : 81359 : return _r;
1086 : : }
1087 : 0 : next_after_fail378:;
1088 : : }
1089 : : return NULL_TREE;
1090 : : }
1091 : :
1092 : : tree
1093 : 0 : generic_simplify_230 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1094 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1095 : : const enum tree_code ARG_UNUSED (cmp),
1096 : : const enum tree_code ARG_UNUSED (icmp))
1097 : : {
1098 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1099 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
1100 : : )
1101 : : {
1102 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail390;
1103 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail390;
1104 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail390;
1105 : 0 : {
1106 : 0 : tree res_op0;
1107 : 0 : res_op0 = captures[0];
1108 : 0 : tree res_op1;
1109 : 0 : res_op1 = wide_int_to_tree (TREE_TYPE (captures[0]),
1110 : 0 : wi::exact_log2 (wi::to_wide (captures[1])));
1111 : 0 : tree _r;
1112 : 0 : _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
1113 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 303, __FILE__, __LINE__, true);
1114 : 0 : return _r;
1115 : : }
1116 : : next_after_fail390:;
1117 : : }
1118 : : return NULL_TREE;
1119 : : }
1120 : :
1121 : : tree
1122 : 0 : generic_simplify_234 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1123 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1124 : : const enum tree_code ARG_UNUSED (rotate),
1125 : : const enum tree_code ARG_UNUSED (invrot),
1126 : : const enum tree_code ARG_UNUSED (cmp))
1127 : : {
1128 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1129 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail402;
1130 : 0 : {
1131 : 0 : tree res_op0;
1132 : 0 : res_op0 = captures[0];
1133 : 0 : tree res_op1;
1134 : 0 : res_op1 = captures[2];
1135 : 0 : tree _r;
1136 : 0 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1137 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
1138 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1139 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 315, __FILE__, __LINE__, true);
1140 : : return _r;
1141 : : }
1142 : 0 : next_after_fail402:;
1143 : 0 : return NULL_TREE;
1144 : : }
1145 : :
1146 : : tree
1147 : 22 : generic_simplify_239 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1148 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1149 : : const enum tree_code ARG_UNUSED (cmp),
1150 : : const combined_fn ARG_UNUSED (bswap))
1151 : : {
1152 : 22 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1153 : 22 : {
1154 : 22 : tree ctype = TREE_TYPE (captures[1]);
1155 : 22 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail407;
1156 : 22 : {
1157 : 22 : tree res_op0;
1158 : 22 : {
1159 : 22 : tree _o1[1], _r1;
1160 : 22 : _o1[0] = captures[0];
1161 : 22 : if (TREE_TYPE (_o1[0]) != ctype)
1162 : : {
1163 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, ctype, _o1[0]);
1164 : : }
1165 : : else
1166 : : _r1 = _o1[0];
1167 : 22 : res_op0 = _r1;
1168 : : }
1169 : 22 : tree res_op1;
1170 : 22 : {
1171 : 22 : tree _o1[1], _r1;
1172 : 22 : _o1[0] = captures[1];
1173 : 22 : _r1 = maybe_build_call_expr_loc (loc, bswap, TREE_TYPE (_o1[0]), 1, _o1[0]);
1174 : 22 : if (!_r1)
1175 : 0 : goto next_after_fail407;
1176 : 22 : if (EXPR_P (_r1))
1177 : 22 : goto next_after_fail407;
1178 : 0 : res_op1 = _r1;
1179 : : }
1180 : 0 : tree _r;
1181 : 0 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1182 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 320, __FILE__, __LINE__, true);
1183 : : return _r;
1184 : : }
1185 : : next_after_fail407:;
1186 : : }
1187 : : return NULL_TREE;
1188 : : }
1189 : :
1190 : : tree
1191 : 0 : generic_simplify_248 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1192 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1193 : : const enum tree_code ARG_UNUSED (cmp))
1194 : : {
1195 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1196 : 0 : if (single_use (captures[1]) && single_use (captures[3])
1197 : : )
1198 : : {
1199 : 0 : {
1200 : 0 : tree otype = TREE_TYPE (captures[0]);
1201 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail422;
1202 : 0 : {
1203 : 0 : tree res_op0;
1204 : 0 : {
1205 : 0 : tree _o1[1], _r1;
1206 : 0 : _o1[0] = captures[4];
1207 : 0 : if (TREE_TYPE (_o1[0]) != otype)
1208 : : {
1209 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, otype, _o1[0]);
1210 : : }
1211 : : else
1212 : : _r1 = _o1[0];
1213 : 0 : res_op0 = _r1;
1214 : : }
1215 : 0 : tree res_op1;
1216 : 0 : {
1217 : 0 : tree _o1[1], _r1;
1218 : 0 : _o1[0] = captures[2];
1219 : 0 : if (TREE_TYPE (_o1[0]) != otype)
1220 : : {
1221 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, otype, _o1[0]);
1222 : : }
1223 : : else
1224 : : _r1 = _o1[0];
1225 : 0 : res_op1 = _r1;
1226 : : }
1227 : 0 : tree _r;
1228 : 0 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1229 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 334, __FILE__, __LINE__, true);
1230 : 0 : return _r;
1231 : : }
1232 : 0 : next_after_fail422:;
1233 : : }
1234 : : }
1235 : 0 : return NULL_TREE;
1236 : : }
1237 : :
1238 : : tree
1239 : 22 : generic_simplify_254 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1240 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1241 : : const combined_fn ARG_UNUSED (sq),
1242 : : const enum tree_code ARG_UNUSED (cmp))
1243 : : {
1244 : 22 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1245 : 22 : if (flag_unsafe_math_optimizations && ! flag_errno_math
1246 : : )
1247 : : {
1248 : 20 : if (REAL_VALUE_NEGATIVE (TREE_REAL_CST (captures[1]))
1249 : : )
1250 : : {
1251 : 2 : if (cmp == EQ_EXPR || cmp == LT_EXPR || cmp == LE_EXPR
1252 : : )
1253 : : {
1254 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail442;
1255 : 1 : {
1256 : 1 : tree _r;
1257 : 1 : _r = constant_boolean_node (false, type);
1258 : 1 : if (TREE_SIDE_EFFECTS (captures[0]))
1259 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1260 : 1 : if (TREE_SIDE_EFFECTS (captures[1]))
1261 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1262 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 353, __FILE__, __LINE__, true);
1263 : 1 : return _r;
1264 : : }
1265 : 0 : next_after_fail442:;
1266 : 0 : }
1267 : : else
1268 : : {
1269 : 1 : if (cmp == NE_EXPR || !HONOR_NANS (captures[0])
1270 : : )
1271 : : {
1272 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail443;
1273 : 1 : {
1274 : 1 : tree _r;
1275 : 1 : _r = constant_boolean_node (true, type);
1276 : 1 : if (TREE_SIDE_EFFECTS (captures[0]))
1277 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1278 : 1 : if (TREE_SIDE_EFFECTS (captures[1]))
1279 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1280 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 354, __FILE__, __LINE__, true);
1281 : 1 : return _r;
1282 : : }
1283 : 0 : next_after_fail443:;
1284 : : }
1285 : : else
1286 : : {
1287 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail444;
1288 : 0 : {
1289 : 0 : tree res_op0;
1290 : 0 : res_op0 = captures[0];
1291 : 0 : tree res_op1;
1292 : 0 : res_op1 = build_real (TREE_TYPE (captures[0]), dconst0);
1293 : 0 : tree _r;
1294 : 0 : _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
1295 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
1296 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1297 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 355, __FILE__, __LINE__, true);
1298 : 0 : return _r;
1299 : : }
1300 : 0 : next_after_fail444:;
1301 : : }
1302 : : }
1303 : : }
1304 : : else
1305 : : {
1306 : 18 : if (real_equal (TREE_REAL_CST_PTR (captures[1]), &dconst0)
1307 : : )
1308 : : {
1309 : 0 : if (cmp == LT_EXPR
1310 : : )
1311 : : {
1312 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail445;
1313 : 0 : {
1314 : 0 : tree _r;
1315 : 0 : _r = constant_boolean_node (false, type);
1316 : 0 : if (TREE_SIDE_EFFECTS (captures[0]))
1317 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1318 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
1319 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1320 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 356, __FILE__, __LINE__, true);
1321 : 0 : return _r;
1322 : : }
1323 : 0 : next_after_fail445:;
1324 : : }
1325 : : else
1326 : : {
1327 : 0 : if (cmp == GE_EXPR && !HONOR_NANS (captures[0])
1328 : : )
1329 : : {
1330 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail446;
1331 : 0 : {
1332 : 0 : tree _r;
1333 : 0 : _r = constant_boolean_node (true, type);
1334 : 0 : if (TREE_SIDE_EFFECTS (captures[0]))
1335 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1336 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
1337 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1338 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 357, __FILE__, __LINE__, true);
1339 : 0 : return _r;
1340 : : }
1341 : 0 : next_after_fail446:;
1342 : : }
1343 : : else
1344 : : {
1345 : 0 : if (cmp == LE_EXPR
1346 : : )
1347 : : {
1348 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail447;
1349 : 0 : {
1350 : 0 : tree res_op0;
1351 : 0 : res_op0 = captures[0];
1352 : 0 : tree res_op1;
1353 : 0 : res_op1 = captures[1];
1354 : 0 : tree _r;
1355 : 0 : _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
1356 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 358, __FILE__, __LINE__, true);
1357 : 0 : return _r;
1358 : : }
1359 : 0 : next_after_fail447:;
1360 : : }
1361 : : else
1362 : : {
1363 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail448;
1364 : 0 : {
1365 : 0 : tree res_op0;
1366 : 0 : res_op0 = captures[0];
1367 : 0 : tree res_op1;
1368 : 0 : res_op1 = captures[1];
1369 : 0 : tree _r;
1370 : 0 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1371 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 359, __FILE__, __LINE__, true);
1372 : 0 : return _r;
1373 : : }
1374 : 0 : next_after_fail448:;
1375 : : }
1376 : : }
1377 : : }
1378 : : }
1379 : : else
1380 : : {
1381 : 18 : if ((cmp == LT_EXPR
1382 : : || cmp == LE_EXPR
1383 : : || cmp == GT_EXPR
1384 : 18 : || cmp == GE_EXPR)
1385 : 16 : && !REAL_VALUE_ISNAN (TREE_REAL_CST (captures[1]))
1386 : 34 : && !HONOR_SIGN_DEPENDENT_ROUNDING (TREE_TYPE (captures[0]))
1387 : : )
1388 : : {
1389 : 16 : {
1390 : 16 : REAL_VALUE_TYPE c2;
1391 : 16 : enum tree_code ncmp = cmp;
1392 : 16 : const real_format *fmt
1393 : 16 : = REAL_MODE_FORMAT (TYPE_MODE (TREE_TYPE (captures[0])));
1394 : 32 : real_arithmetic (&c2, MULT_EXPR,
1395 : 16 : &TREE_REAL_CST (captures[1]), &TREE_REAL_CST (captures[1]));
1396 : 16 : real_convert (&c2, fmt, &c2);
1397 : 16 : if (!REAL_VALUE_ISINF (c2))
1398 : : {
1399 : 13 : tree c3 = fold_const_call (CFN_SQRT, TREE_TYPE (captures[0]),
1400 : 13 : build_real (TREE_TYPE (captures[0]), c2));
1401 : 13 : if (c3 == NULL_TREE || TREE_CODE (c3) != REAL_CST)
1402 : : ncmp = ERROR_MARK;
1403 : 13 : else if ((cmp == LT_EXPR || cmp == GE_EXPR)
1404 : 13 : && real_less (&TREE_REAL_CST (c3), &TREE_REAL_CST (captures[1])))
1405 : 4 : ncmp = cmp == LT_EXPR ? LE_EXPR : GT_EXPR;
1406 : 9 : else if ((cmp == LE_EXPR || cmp == GT_EXPR)
1407 : 13 : && real_less (&TREE_REAL_CST (captures[1]), &TREE_REAL_CST (c3)))
1408 : 1 : ncmp = cmp == LE_EXPR ? LT_EXPR : GE_EXPR;
1409 : : else
1410 : : {
1411 : 8 : REAL_VALUE_TYPE c2alt, tow;
1412 : 8 : if (cmp == LT_EXPR || cmp == GE_EXPR)
1413 : 5 : tow = dconst0;
1414 : : else
1415 : 3 : tow = dconstinf;
1416 : 8 : real_nextafter (&c2alt, fmt, &c2, &tow);
1417 : 8 : real_convert (&c2alt, fmt, &c2alt);
1418 : 8 : if (REAL_VALUE_ISINF (c2alt))
1419 : : ncmp = ERROR_MARK;
1420 : : else
1421 : : {
1422 : 8 : c3 = fold_const_call (CFN_SQRT, TREE_TYPE (captures[0]),
1423 : 8 : build_real (TREE_TYPE (captures[0]), c2alt));
1424 : 8 : if (c3 == NULL_TREE || TREE_CODE (c3) != REAL_CST)
1425 : : ncmp = ERROR_MARK;
1426 : 8 : else if (real_equal (&TREE_REAL_CST (c3),
1427 : 8 : &TREE_REAL_CST (captures[1])))
1428 : 8 : c2 = c2alt;
1429 : : }
1430 : : }
1431 : : }
1432 : 12 : if (cmp == GT_EXPR || cmp == GE_EXPR
1433 : : )
1434 : : {
1435 : 5 : if (REAL_VALUE_ISINF (c2)
1436 : : )
1437 : : {
1438 : 1 : if (HONOR_INFINITIES (captures[0])
1439 : : )
1440 : : {
1441 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail449;
1442 : 0 : {
1443 : 0 : tree res_op0;
1444 : 0 : res_op0 = captures[0];
1445 : 0 : tree res_op1;
1446 : 0 : res_op1 = build_real (TREE_TYPE (captures[0]), c2);
1447 : 0 : tree _r;
1448 : 0 : _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
1449 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
1450 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1451 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 360, __FILE__, __LINE__, true);
1452 : 14 : return _r;
1453 : : }
1454 : 0 : next_after_fail449:;
1455 : : }
1456 : : else
1457 : : {
1458 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail450;
1459 : 1 : {
1460 : 1 : tree _r;
1461 : 1 : _r = constant_boolean_node (false, type);
1462 : 1 : if (TREE_SIDE_EFFECTS (captures[0]))
1463 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1464 : 1 : if (TREE_SIDE_EFFECTS (captures[1]))
1465 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1466 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 361, __FILE__, __LINE__, true);
1467 : 1 : return _r;
1468 : : }
1469 : 0 : next_after_fail450:;
1470 : : }
1471 : : }
1472 : : else
1473 : : {
1474 : 4 : if (ncmp != ERROR_MARK
1475 : : )
1476 : : {
1477 : 4 : if (ncmp == GE_EXPR
1478 : : )
1479 : : {
1480 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail451;
1481 : 1 : {
1482 : 1 : tree res_op0;
1483 : 1 : res_op0 = captures[0];
1484 : 1 : tree res_op1;
1485 : 1 : res_op1 = build_real (TREE_TYPE (captures[0]), c2);
1486 : 1 : tree _r;
1487 : 1 : _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
1488 : 1 : if (TREE_SIDE_EFFECTS (captures[1]))
1489 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1490 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 362, __FILE__, __LINE__, true);
1491 : 1 : return _r;
1492 : : }
1493 : 0 : next_after_fail451:;
1494 : : }
1495 : : else
1496 : : {
1497 : 3 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail452;
1498 : 3 : {
1499 : 3 : tree res_op0;
1500 : 3 : res_op0 = captures[0];
1501 : 3 : tree res_op1;
1502 : 3 : res_op1 = build_real (TREE_TYPE (captures[0]), c2);
1503 : 3 : tree _r;
1504 : 3 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
1505 : 3 : if (TREE_SIDE_EFFECTS (captures[1]))
1506 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1507 : 3 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 363, __FILE__, __LINE__, true);
1508 : 3 : return _r;
1509 : : }
1510 : 0 : next_after_fail452:;
1511 : : }
1512 : : }
1513 : : }
1514 : : }
1515 : : else
1516 : : {
1517 : 11 : if (REAL_VALUE_ISINF (c2)
1518 : : )
1519 : : {
1520 : 2 : if (! HONOR_NANS (captures[0]) && ! HONOR_INFINITIES (captures[0])
1521 : : )
1522 : : {
1523 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail453;
1524 : 1 : {
1525 : 1 : tree _r;
1526 : 1 : _r = constant_boolean_node (true, type);
1527 : 1 : if (TREE_SIDE_EFFECTS (captures[0]))
1528 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1529 : 1 : if (TREE_SIDE_EFFECTS (captures[1]))
1530 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1531 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 364, __FILE__, __LINE__, true);
1532 : 1 : return _r;
1533 : : }
1534 : 0 : next_after_fail453:;
1535 : : }
1536 : : else
1537 : : {
1538 : 1 : if (! HONOR_NANS (captures[0])
1539 : : )
1540 : : {
1541 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail454;
1542 : 0 : {
1543 : 0 : tree res_op0;
1544 : 0 : res_op0 = captures[0];
1545 : 0 : tree res_op1;
1546 : 0 : res_op1 = build_real (TREE_TYPE (captures[0]), c2);
1547 : 0 : tree _r;
1548 : 0 : _r = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1);
1549 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
1550 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1551 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 365, __FILE__, __LINE__, true);
1552 : 0 : return _r;
1553 : : }
1554 : 0 : next_after_fail454:;
1555 : : }
1556 : : else
1557 : : {
1558 : 1 : if (! HONOR_INFINITIES (captures[0])
1559 : : )
1560 : : {
1561 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail455;
1562 : 0 : {
1563 : 0 : tree res_op0;
1564 : 0 : res_op0 = captures[0];
1565 : 0 : tree res_op1;
1566 : 0 : res_op1 = build_real (TREE_TYPE (captures[0]), dconst0);
1567 : 0 : tree _r;
1568 : 0 : _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
1569 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
1570 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1571 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 366, __FILE__, __LINE__, true);
1572 : 0 : return _r;
1573 : : }
1574 : 0 : next_after_fail455:;
1575 : : }
1576 : : else
1577 : : {
1578 : 1 : if (1
1579 : : )
1580 : : {
1581 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail456;
1582 : 1 : {
1583 : 1 : if (! tree_invariant_p (captures[0])) goto next_after_fail456;
1584 : 0 : tree res_op0;
1585 : 0 : {
1586 : 0 : tree _o1[2], _r1;
1587 : 0 : _o1[0] = unshare_expr (captures[0]);
1588 : 0 : _o1[1] = build_real (TREE_TYPE (captures[0]), dconst0);
1589 : 0 : _r1 = fold_build2_loc (loc, GE_EXPR, type, _o1[0], _o1[1]);
1590 : 0 : res_op0 = _r1;
1591 : : }
1592 : 0 : tree res_op1;
1593 : 0 : {
1594 : 0 : tree _o1[2], _r1;
1595 : 0 : _o1[0] = captures[0];
1596 : 0 : _o1[1] = build_real (TREE_TYPE (captures[0]), c2);
1597 : 0 : _r1 = fold_build2_loc (loc, NE_EXPR, type, _o1[0], _o1[1]);
1598 : 0 : res_op1 = _r1;
1599 : : }
1600 : 0 : tree _r;
1601 : 0 : _r = fold_build2_loc (loc, TRUTH_ANDIF_EXPR, type, res_op0, res_op1);
1602 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
1603 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1604 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 367, __FILE__, __LINE__, true);
1605 : 0 : return _r;
1606 : : }
1607 : 2 : next_after_fail456:;
1608 : : }
1609 : : }
1610 : : }
1611 : : }
1612 : : }
1613 : : else
1614 : : {
1615 : 9 : if (ncmp != ERROR_MARK && ! HONOR_NANS (captures[0])
1616 : : )
1617 : : {
1618 : 8 : if (ncmp == LT_EXPR
1619 : : )
1620 : : {
1621 : 4 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail457;
1622 : 4 : {
1623 : 4 : tree res_op0;
1624 : 4 : res_op0 = captures[0];
1625 : 4 : tree res_op1;
1626 : 4 : res_op1 = build_real (TREE_TYPE (captures[0]), c2);
1627 : 4 : tree _r;
1628 : 4 : _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
1629 : 4 : if (TREE_SIDE_EFFECTS (captures[1]))
1630 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1631 : 4 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 368, __FILE__, __LINE__, true);
1632 : 4 : return _r;
1633 : : }
1634 : 0 : next_after_fail457:;
1635 : : }
1636 : : else
1637 : : {
1638 : 4 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail458;
1639 : 4 : {
1640 : 4 : tree res_op0;
1641 : 4 : res_op0 = captures[0];
1642 : 4 : tree res_op1;
1643 : 4 : res_op1 = build_real (TREE_TYPE (captures[0]), c2);
1644 : 4 : tree _r;
1645 : 4 : _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
1646 : 4 : if (TREE_SIDE_EFFECTS (captures[1]))
1647 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1648 : 4 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 369, __FILE__, __LINE__, true);
1649 : 4 : return _r;
1650 : : }
1651 : 0 : next_after_fail458:;
1652 : : }
1653 : : }
1654 : : else
1655 : : {
1656 : 1 : if (ncmp != ERROR_MARK &&
1657 : : 1
1658 : : )
1659 : : {
1660 : 1 : if (ncmp == LT_EXPR
1661 : : )
1662 : : {
1663 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail459;
1664 : 1 : {
1665 : 1 : if (! tree_invariant_p (captures[0])) goto next_after_fail459;
1666 : 0 : tree res_op0;
1667 : 0 : {
1668 : 0 : tree _o1[2], _r1;
1669 : 0 : _o1[0] = unshare_expr (captures[0]);
1670 : 0 : _o1[1] = build_real (TREE_TYPE (captures[0]), dconst0);
1671 : 0 : _r1 = fold_build2_loc (loc, GE_EXPR, type, _o1[0], _o1[1]);
1672 : 0 : res_op0 = _r1;
1673 : : }
1674 : 0 : tree res_op1;
1675 : 0 : {
1676 : 0 : tree _o1[2], _r1;
1677 : 0 : _o1[0] = captures[0];
1678 : 0 : _o1[1] = build_real (TREE_TYPE (captures[0]), c2);
1679 : 0 : _r1 = fold_build2_loc (loc, LT_EXPR, type, _o1[0], _o1[1]);
1680 : 0 : res_op1 = _r1;
1681 : : }
1682 : 0 : tree _r;
1683 : 0 : _r = fold_build2_loc (loc, TRUTH_ANDIF_EXPR, type, res_op0, res_op1);
1684 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
1685 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1686 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 370, __FILE__, __LINE__, true);
1687 : 0 : return _r;
1688 : : }
1689 : 2 : next_after_fail459:;
1690 : : }
1691 : : else
1692 : : {
1693 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail460;
1694 : 0 : {
1695 : 0 : if (! tree_invariant_p (captures[0])) goto next_after_fail460;
1696 : 0 : tree res_op0;
1697 : 0 : {
1698 : 0 : tree _o1[2], _r1;
1699 : 0 : _o1[0] = unshare_expr (captures[0]);
1700 : 0 : _o1[1] = build_real (TREE_TYPE (captures[0]), dconst0);
1701 : 0 : _r1 = fold_build2_loc (loc, GE_EXPR, type, _o1[0], _o1[1]);
1702 : 0 : res_op0 = _r1;
1703 : : }
1704 : 0 : tree res_op1;
1705 : 0 : {
1706 : 0 : tree _o1[2], _r1;
1707 : 0 : _o1[0] = captures[0];
1708 : 0 : _o1[1] = build_real (TREE_TYPE (captures[0]), c2);
1709 : 0 : _r1 = fold_build2_loc (loc, LE_EXPR, type, _o1[0], _o1[1]);
1710 : 0 : res_op1 = _r1;
1711 : : }
1712 : 0 : tree _r;
1713 : 0 : _r = fold_build2_loc (loc, TRUTH_ANDIF_EXPR, type, res_op0, res_op1);
1714 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
1715 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1716 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 371, __FILE__, __LINE__, true);
1717 : 0 : return _r;
1718 : : }
1719 : 2 : next_after_fail460:;
1720 : : }
1721 : : }
1722 : : }
1723 : : }
1724 : : }
1725 : : }
1726 : : }
1727 : : }
1728 : : }
1729 : : }
1730 : : return NULL_TREE;
1731 : : }
1732 : :
1733 : : tree
1734 : 6 : generic_simplify_331 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1735 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1736 : : const combined_fn ARG_UNUSED (COS),
1737 : : const combined_fn ARG_UNUSED (SIN),
1738 : : const combined_fn ARG_UNUSED (TAN))
1739 : : {
1740 : 6 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1741 : 6 : if (flag_unsafe_math_optimizations && canonicalize_math_p ()
1742 : : )
1743 : : {
1744 : 6 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail600;
1745 : 6 : {
1746 : 6 : tree res_op0;
1747 : 6 : res_op0 = build_one_cst (type);
1748 : 6 : tree res_op1;
1749 : 6 : {
1750 : 6 : tree _o1[1], _r1;
1751 : 6 : _o1[0] = captures[1];
1752 : 6 : _r1 = maybe_build_call_expr_loc (loc, TAN, TREE_TYPE (_o1[0]), 1, _o1[0]);
1753 : 6 : if (!_r1)
1754 : 0 : goto next_after_fail600;
1755 : 6 : res_op1 = _r1;
1756 : : }
1757 : 6 : tree _r;
1758 : 6 : _r = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1);
1759 : 6 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 492, __FILE__, __LINE__, true);
1760 : 6 : return _r;
1761 : : }
1762 : : next_after_fail600:;
1763 : : }
1764 : : return NULL_TREE;
1765 : : }
1766 : :
1767 : : tree
1768 : 47 : generic_simplify_339 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1769 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
1770 : : const enum tree_code ARG_UNUSED (cmp),
1771 : : const enum tree_code ARG_UNUSED (minmax))
1772 : : {
1773 : 47 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1774 : 47 : {
1775 : 47 : tree_code code = minmax_from_comparison (cmp, captures[0], captures[1], captures[0], captures[4]);
1776 : 47 : if ((cmp == LT_EXPR || cmp == LE_EXPR)
1777 : 15 : && code == MIN_EXPR
1778 : 51 : && integer_nonzerop (fold_build2 (LE_EXPR, boolean_type_node, captures[3], captures[4]))
1779 : : )
1780 : : {
1781 : 4 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail612;
1782 : 4 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail612;
1783 : 4 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail612;
1784 : 4 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail612;
1785 : 4 : {
1786 : 4 : tree res_op0;
1787 : 4 : res_op0 = captures[2];
1788 : 4 : tree res_op1;
1789 : 4 : res_op1 = captures[4];
1790 : 4 : tree _r;
1791 : 4 : _r = fold_build2_loc (loc, MIN_EXPR, type, res_op0, res_op1);
1792 : 4 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 504, __FILE__, __LINE__, true);
1793 : 4 : return _r;
1794 : : }
1795 : : next_after_fail612:;
1796 : : }
1797 : : else
1798 : : {
1799 : 43 : if ((cmp == GT_EXPR || cmp == GE_EXPR)
1800 : 32 : && code == MAX_EXPR
1801 : 67 : && integer_nonzerop (fold_build2 (GE_EXPR, boolean_type_node, captures[3], captures[4]))
1802 : : )
1803 : : {
1804 : 10 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail613;
1805 : 10 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail613;
1806 : 10 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail613;
1807 : 10 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail613;
1808 : 10 : {
1809 : 10 : tree res_op0;
1810 : 10 : res_op0 = captures[2];
1811 : 10 : tree res_op1;
1812 : 10 : res_op1 = captures[4];
1813 : 10 : tree _r;
1814 : 10 : _r = fold_build2_loc (loc, MAX_EXPR, type, res_op0, res_op1);
1815 : 10 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 505, __FILE__, __LINE__, true);
1816 : 10 : return _r;
1817 : : }
1818 : : next_after_fail613:;
1819 : : }
1820 : : }
1821 : : }
1822 : : return NULL_TREE;
1823 : : }
1824 : :
1825 : : tree
1826 : 0 : generic_simplify_349 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1827 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
1828 : : {
1829 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1830 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail624;
1831 : 0 : if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail624;
1832 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail624;
1833 : 0 : {
1834 : 0 : tree _r;
1835 : 0 : _r = captures[2];
1836 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 515, __FILE__, __LINE__, true);
1837 : : return _r;
1838 : : }
1839 : : next_after_fail624:;
1840 : : return NULL_TREE;
1841 : : }
1842 : :
1843 : : tree
1844 : 0 : generic_simplify_356 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1845 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
1846 : : const enum tree_code ARG_UNUSED (op))
1847 : : {
1848 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1849 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail631;
1850 : 0 : if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail631;
1851 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail631;
1852 : 0 : {
1853 : 0 : tree _r;
1854 : 0 : _r = captures[2];
1855 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 522, __FILE__, __LINE__, true);
1856 : : return _r;
1857 : : }
1858 : : next_after_fail631:;
1859 : : return NULL_TREE;
1860 : : }
1861 : :
1862 : : tree
1863 : 3 : generic_simplify_363 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1864 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
1865 : : const combined_fn ARG_UNUSED (func))
1866 : : {
1867 : 3 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1868 : 3 : if (wi::to_widest (captures[4]) == TYPE_PRECISION (TREE_TYPE (captures[3])) - 1
1869 : : )
1870 : : {
1871 : 3 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail639;
1872 : 3 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail639;
1873 : 3 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail639;
1874 : 3 : {
1875 : 3 : tree _r;
1876 : 3 : _r = captures[2];
1877 : 3 : if (TREE_SIDE_EFFECTS (captures[1]))
1878 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1879 : 3 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 529, __FILE__, __LINE__, true);
1880 : 3 : return _r;
1881 : : }
1882 : : next_after_fail639:;
1883 : : }
1884 : : return NULL_TREE;
1885 : : }
1886 : :
1887 : : tree
1888 : 997 : generic_simplify_372 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1889 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1890 : : const enum tree_code ARG_UNUSED (op))
1891 : : {
1892 : 997 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1893 : 1994 : if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
1894 : 1994 : && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
1895 : : )
1896 : : {
1897 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail652;
1898 : 0 : {
1899 : 0 : tree res_op0;
1900 : 0 : res_op0 = captures[0];
1901 : 0 : tree res_op1;
1902 : 0 : res_op1 = captures[2];
1903 : 0 : tree _r;
1904 : 0 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
1905 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
1906 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1907 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 542, __FILE__, __LINE__, true);
1908 : 0 : return _r;
1909 : : }
1910 : 0 : next_after_fail652:;
1911 : : }
1912 : : return NULL_TREE;
1913 : : }
1914 : :
1915 : : tree
1916 : 64 : generic_simplify_375 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1917 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1918 : : const enum tree_code ARG_UNUSED (minmax),
1919 : : const enum tree_code ARG_UNUSED (cmp),
1920 : : const enum tree_code ARG_UNUSED (comb))
1921 : : {
1922 : 64 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1923 : 64 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail656;
1924 : 64 : {
1925 : 64 : if (! tree_invariant_p (captures[2])) goto next_after_fail656;
1926 : 64 : tree res_op0;
1927 : 64 : {
1928 : 64 : tree _o1[2], _r1;
1929 : 64 : _o1[0] = captures[0];
1930 : 64 : _o1[1] = unshare_expr (captures[2]);
1931 : 64 : _r1 = fold_build2_loc (loc, cmp, type, _o1[0], _o1[1]);
1932 : 64 : res_op0 = _r1;
1933 : : }
1934 : 64 : tree res_op1;
1935 : 64 : {
1936 : 64 : tree _o1[2], _r1;
1937 : 64 : _o1[0] = captures[1];
1938 : 64 : _o1[1] = captures[2];
1939 : 64 : _r1 = fold_build2_loc (loc, cmp, type, _o1[0], _o1[1]);
1940 : 64 : res_op1 = _r1;
1941 : : }
1942 : 64 : tree _r;
1943 : 64 : _r = fold_build2_loc (loc, comb, type, res_op0, res_op1);
1944 : 64 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 546, __FILE__, __LINE__, true);
1945 : : return _r;
1946 : : }
1947 : : next_after_fail656:;
1948 : : return NULL_TREE;
1949 : : }
1950 : :
1951 : : tree
1952 : 2 : generic_simplify_385 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1953 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1954 : : const enum tree_code ARG_UNUSED (cmp))
1955 : : {
1956 : 2 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1957 : 4 : if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
1958 : 4 : && TYPE_UNSIGNED (TREE_TYPE (captures[0]))
1959 : : )
1960 : : {
1961 : 2 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail698;
1962 : 2 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail698;
1963 : 2 : {
1964 : 2 : tree res_op0;
1965 : 2 : res_op0 = captures[1];
1966 : 2 : tree res_op1;
1967 : 2 : res_op1 = captures[0];
1968 : 2 : tree _r;
1969 : 2 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1970 : 2 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 571, __FILE__, __LINE__, true);
1971 : 2 : return _r;
1972 : : }
1973 : : next_after_fail698:;
1974 : : }
1975 : : return NULL_TREE;
1976 : : }
1977 : :
1978 : : tree
1979 : 2454135 : generic_simplify_390 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1980 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1981 : : const enum tree_code ARG_UNUSED (op),
1982 : : const enum tree_code ARG_UNUSED (rop),
1983 : : const enum tree_code ARG_UNUSED (cmp),
1984 : : const enum tree_code ARG_UNUSED (rcmp))
1985 : : {
1986 : 2454135 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1987 : 4908256 : if (!TREE_OVERFLOW (captures[2]) && !TREE_OVERFLOW (captures[3])
1988 : 4908256 : && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1]))
1989 : : )
1990 : : {
1991 : 869944 : {
1992 : 869944 : tree res = int_const_binop (rop, captures[3], captures[2]);
1993 : 869944 : if (TREE_OVERFLOW (res)
1994 : : )
1995 : : {
1996 : 12557 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail704;
1997 : 12557 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail704;
1998 : 12557 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail704;
1999 : 12557 : {
2000 : 12557 : tree _r;
2001 : 12557 : fold_overflow_warning (("assuming signed overflow does not occur "
2002 : : "when simplifying conditional to constant"),
2003 : : WARN_STRICT_OVERFLOW_CONDITIONAL);
2004 : 12557 : bool less = cmp == LE_EXPR || cmp == LT_EXPR;
2005 : 12557 : bool ovf_high = wi::lt_p (wi::to_wide (captures[2]), 0,
2006 : 12557 : TYPE_SIGN (TREE_TYPE (captures[2])))
2007 : 12557 : != (op == MINUS_EXPR); _r =
2008 : 12557 : constant_boolean_node (less == ovf_high, type);
2009 : 12557 : if (TREE_SIDE_EFFECTS (captures[1]))
2010 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2011 : 12557 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 577, __FILE__, __LINE__, true);
2012 : 12557 : return _r;
2013 : : }
2014 : : next_after_fail704:;
2015 : : }
2016 : : else
2017 : : {
2018 : 857387 : if (single_use (captures[0])
2019 : : )
2020 : : {
2021 : 857387 : {
2022 : 857387 : fold_overflow_warning (("assuming signed overflow does not occur "
2023 : : "when changing X +- C1 cmp C2 to "
2024 : : "X cmp C2 -+ C1"),
2025 : : WARN_STRICT_OVERFLOW_COMPARISON);
2026 : 857387 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail705;
2027 : 857387 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail705;
2028 : 857387 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail705;
2029 : 857387 : {
2030 : 857387 : tree res_op0;
2031 : 857387 : res_op0 = captures[1];
2032 : 857387 : tree res_op1;
2033 : 857387 : res_op1 = res;
2034 : 857387 : tree _r;
2035 : 857387 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
2036 : 857387 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 578, __FILE__, __LINE__, true);
2037 : 857387 : return _r;
2038 : : }
2039 : : next_after_fail705:;
2040 : : }
2041 : : }
2042 : : }
2043 : : }
2044 : : }
2045 : : else
2046 : : {
2047 : 1584191 : if (TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
2048 : : )
2049 : : {
2050 : 1584068 : {
2051 : 1584068 : wide_int max = wi::max_value (TREE_TYPE (captures[1]));
2052 : 1584068 : wide_int min = wi::min_value (TREE_TYPE (captures[1]));
2053 : 1584068 : wide_int c2 = rop == PLUS_EXPR
2054 : 1584068 : ? wi::add (wi::to_wide (captures[3]), wi::to_wide (captures[2]))
2055 : 1584068 : : wi::sub (wi::to_wide (captures[3]), wi::to_wide (captures[2]));
2056 : 1511753 : if (((cmp == LE_EXPR || cmp == GT_EXPR) && wi::eq_p (c2, max))
2057 : 3069542 : || ((cmp == LT_EXPR || cmp == GE_EXPR) && wi::eq_p (c2, min))
2058 : : )
2059 : : {
2060 : 26435 : {
2061 : 26435 : wide_int c1 = rop == PLUS_EXPR
2062 : 26435 : ? wi::add (wi::bit_not (c2), wi::to_wide (captures[2]))
2063 : 52870 : : wi::sub (wi::bit_not (c2), wi::to_wide (captures[2]));
2064 : 26435 : tree c1_cst = wide_int_to_tree (TREE_TYPE (captures[1]), c1);
2065 : 26435 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail706;
2066 : 26435 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail706;
2067 : 26435 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail706;
2068 : 26435 : {
2069 : 26435 : tree res_op0;
2070 : 26435 : res_op0 = captures[1];
2071 : 26435 : tree res_op1;
2072 : 26435 : res_op1 = c1_cst;
2073 : 26435 : tree _r;
2074 : 26435 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
2075 : 26435 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 579, __FILE__, __LINE__, true);
2076 : 26435 : return _r;
2077 : : }
2078 : 0 : next_after_fail706:;
2079 : 26435 : }
2080 : : }
2081 : 1584070 : }
2082 : : }
2083 : : }
2084 : : return NULL_TREE;
2085 : : }
2086 : :
2087 : : tree
2088 : 0 : generic_simplify_409 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2089 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2090 : : const enum tree_code ARG_UNUSED (shiftrotate))
2091 : : {
2092 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2093 : 0 : {
2094 : 0 : tree tem = uniform_vector_p (captures[1]);
2095 : 0 : if (tem
2096 : : )
2097 : : {
2098 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail733;
2099 : 0 : {
2100 : 0 : tree res_op0;
2101 : 0 : res_op0 = captures[0];
2102 : 0 : tree res_op1;
2103 : 0 : res_op1 = tem;
2104 : 0 : tree _r;
2105 : 0 : _r = fold_build2_loc (loc, shiftrotate, type, res_op0, res_op1);
2106 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
2107 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2108 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 602, __FILE__, __LINE__, true);
2109 : 0 : return _r;
2110 : : }
2111 : 0 : next_after_fail733:;
2112 : : }
2113 : : }
2114 : : return NULL_TREE;
2115 : : }
2116 : :
2117 : : tree
2118 : 3167618 : generic_simplify_416 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2119 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
2120 : : const enum tree_code ARG_UNUSED (bitop))
2121 : : {
2122 : 3167618 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2123 : 3167618 : if (0
2124 : : && TREE_CODE (captures[3]) != INTEGER_CST
2125 : : && tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
2126 : : && types_match (type, captures[2])
2127 : : && !POINTER_TYPE_P (TREE_TYPE (captures[2]))
2128 : : && TREE_CODE (TREE_TYPE (captures[2])) != OFFSET_TYPE
2129 : : )
2130 : : {
2131 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail747;
2132 : : {
2133 : : tree res_op0;
2134 : : res_op0 = captures[2];
2135 : : tree res_op1;
2136 : : {
2137 : : tree _o1[1], _r1;
2138 : : _o1[0] = captures[3];
2139 : : if (TREE_TYPE (_o1[0]) != type)
2140 : : {
2141 : : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
2142 : : }
2143 : : else
2144 : : _r1 = _o1[0];
2145 : : res_op1 = _r1;
2146 : : }
2147 : : tree _r;
2148 : : _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
2149 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 614, __FILE__, __LINE__, true);
2150 : : return _r;
2151 : : }
2152 : : next_after_fail747:;
2153 : : }
2154 : 3167618 : return NULL_TREE;
2155 : : }
2156 : :
2157 : : tree
2158 : 885078 : generic_simplify_420 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2159 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
2160 : : const enum tree_code ARG_UNUSED (op))
2161 : : {
2162 : 885078 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2163 : 885078 : if (INTEGRAL_TYPE_P (type)
2164 : 775661 : && op != MULT_EXPR
2165 : 775661 : && op != RDIV_EXPR
2166 : 459039 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
2167 : 403371 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
2168 : 403371 : && type_has_mode_precision_p (TREE_TYPE (captures[2]))
2169 : 346140 : && type_has_mode_precision_p (TREE_TYPE (captures[4]))
2170 : 345869 : && type_has_mode_precision_p (type)
2171 : 345847 : && TYPE_PRECISION (TREE_TYPE (captures[1])) > TYPE_PRECISION (TREE_TYPE (captures[2]))
2172 : 27294 : && types_match (captures[2], type)
2173 : 890427 : && (types_match (captures[2], captures[4])
2174 : 5300 : || poly_int_tree_p (captures[3]))
2175 : : )
2176 : : {
2177 : 49 : if (TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[2]))
2178 : : )
2179 : : {
2180 : 9 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail752;
2181 : 9 : {
2182 : 9 : tree res_op0;
2183 : 9 : res_op0 = captures[2];
2184 : 9 : tree res_op1;
2185 : 9 : {
2186 : 9 : tree _o1[1], _r1;
2187 : 9 : _o1[0] = captures[4];
2188 : 9 : if (TREE_TYPE (_o1[0]) != type)
2189 : : {
2190 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
2191 : : }
2192 : : else
2193 : : _r1 = _o1[0];
2194 : 9 : res_op1 = _r1;
2195 : : }
2196 : 9 : tree _r;
2197 : 9 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
2198 : 9 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 619, __FILE__, __LINE__, true);
2199 : 9 : return _r;
2200 : : }
2201 : 0 : next_after_fail752:;
2202 : : }
2203 : : else
2204 : : {
2205 : 40 : {
2206 : 40 : tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
2207 : 40 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail753;
2208 : 40 : {
2209 : 40 : tree res_op0;
2210 : 40 : {
2211 : 40 : tree _o1[2], _r1;
2212 : 40 : {
2213 : 40 : tree _o2[1], _r2;
2214 : 40 : _o2[0] = captures[2];
2215 : 40 : if (TREE_TYPE (_o2[0]) != utype)
2216 : : {
2217 : 40 : _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
2218 : : }
2219 : : else
2220 : : _r2 = _o2[0];
2221 : 40 : _o1[0] = _r2;
2222 : : }
2223 : 40 : {
2224 : 40 : tree _o2[1], _r2;
2225 : 40 : _o2[0] = captures[4];
2226 : 40 : if (TREE_TYPE (_o2[0]) != utype)
2227 : : {
2228 : 40 : _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
2229 : : }
2230 : : else
2231 : : _r2 = _o2[0];
2232 : 40 : _o1[1] = _r2;
2233 : : }
2234 : 40 : _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2235 : 40 : res_op0 = _r1;
2236 : : }
2237 : 40 : tree _r;
2238 : 40 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
2239 : 40 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 620, __FILE__, __LINE__, true);
2240 : 40 : return _r;
2241 : : }
2242 : 0 : next_after_fail753:;
2243 : : }
2244 : : }
2245 : : }
2246 : : else
2247 : : {
2248 : 867872 : if (FLOAT_TYPE_P (type)
2249 : 902186 : && DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
2250 : 17157 : == DECIMAL_FLOAT_TYPE_P (type)
2251 : : )
2252 : : {
2253 : 17134 : {
2254 : 17134 : tree arg0 = strip_float_extensions (captures[2]);
2255 : 17134 : tree arg1 = strip_float_extensions (captures[4]);
2256 : 17134 : tree itype = TREE_TYPE (captures[0]);
2257 : 17134 : tree ty1 = TREE_TYPE (arg0);
2258 : 17134 : tree ty2 = TREE_TYPE (arg1);
2259 : 17134 : enum tree_code code = TREE_CODE (itype);
2260 : 0 : if (FLOAT_TYPE_P (ty1)
2261 : 17134 : && FLOAT_TYPE_P (ty2)
2262 : : )
2263 : : {
2264 : 17134 : {
2265 : 17134 : tree newtype = type;
2266 : 17134 : if (TYPE_MODE (ty1) == SDmode
2267 : 17125 : || TYPE_MODE (ty2) == SDmode
2268 : 34259 : || TYPE_MODE (type) == SDmode)
2269 : 9 : newtype = dfloat32_type_node;
2270 : 17134 : if (TYPE_MODE (ty1) == DDmode
2271 : 17128 : || TYPE_MODE (ty2) == DDmode
2272 : 34262 : || TYPE_MODE (type) == DDmode)
2273 : 6 : newtype = dfloat64_type_node;
2274 : 17134 : if (TYPE_MODE (ty1) == TDmode
2275 : 17134 : || TYPE_MODE (ty2) == TDmode
2276 : 34268 : || TYPE_MODE (type) == TDmode)
2277 : 15 : newtype = dfloat128_type_node;
2278 : 17134 : if ((newtype == dfloat32_type_node
2279 : 17134 : || newtype == dfloat64_type_node
2280 : 17134 : || newtype == dfloat128_type_node)
2281 : 15 : && newtype == type
2282 : 17140 : && types_match (newtype, type)
2283 : : )
2284 : : {
2285 : 6 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail754;
2286 : 0 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail754;
2287 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail754;
2288 : 0 : {
2289 : 0 : tree res_op0;
2290 : 0 : {
2291 : 0 : tree _o1[1], _r1;
2292 : 0 : _o1[0] = captures[2];
2293 : 0 : if (TREE_TYPE (_o1[0]) != newtype)
2294 : : {
2295 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
2296 : : }
2297 : : else
2298 : : _r1 = _o1[0];
2299 : 0 : res_op0 = _r1;
2300 : : }
2301 : 0 : tree res_op1;
2302 : 0 : {
2303 : 0 : tree _o1[1], _r1;
2304 : 0 : _o1[0] = captures[4];
2305 : 0 : if (TREE_TYPE (_o1[0]) != newtype)
2306 : : {
2307 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
2308 : : }
2309 : : else
2310 : : _r1 = _o1[0];
2311 : 0 : res_op1 = _r1;
2312 : : }
2313 : 0 : tree _r;
2314 : 0 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
2315 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 621, __FILE__, __LINE__, true);
2316 : 0 : return _r;
2317 : : }
2318 : : next_after_fail754:;
2319 : : }
2320 : : else
2321 : : {
2322 : 17128 : {
2323 : 17128 : if (element_precision (ty1) > element_precision (newtype))
2324 : 4 : newtype = ty1;
2325 : 17128 : if (element_precision (ty2) > element_precision (newtype))
2326 : 1 : newtype = ty2;
2327 : 17128 : if (element_precision (newtype) < element_precision (itype)
2328 : 16882 : && (!VECTOR_MODE_P (TYPE_MODE (newtype))
2329 : 0 : || target_supports_op_p (newtype, op, optab_default))
2330 : 16882 : && (flag_unsafe_math_optimizations
2331 : 16865 : || (element_precision (newtype) == element_precision (type)
2332 : 16861 : && real_can_shorten_arithmetic (element_mode (itype),
2333 : : element_mode (type))
2334 : 6748 : && !excess_precision_type (newtype)))
2335 : 17153 : && !types_match (itype, newtype)
2336 : : )
2337 : : {
2338 : 25 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail755;
2339 : 25 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail755;
2340 : 17 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail755;
2341 : 17 : {
2342 : 17 : tree res_op0;
2343 : 17 : {
2344 : 17 : tree _o1[2], _r1;
2345 : 17 : {
2346 : 17 : tree _o2[1], _r2;
2347 : 17 : _o2[0] = captures[2];
2348 : 17 : if (TREE_TYPE (_o2[0]) != newtype)
2349 : : {
2350 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, newtype, _o2[0]);
2351 : : }
2352 : : else
2353 : : _r2 = _o2[0];
2354 : 17 : _o1[0] = _r2;
2355 : : }
2356 : 17 : {
2357 : 17 : tree _o2[1], _r2;
2358 : 17 : _o2[0] = captures[4];
2359 : 17 : if (TREE_TYPE (_o2[0]) != newtype)
2360 : : {
2361 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, newtype, _o2[0]);
2362 : : }
2363 : : else
2364 : : _r2 = _o2[0];
2365 : 17 : _o1[1] = _r2;
2366 : : }
2367 : 17 : _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2368 : 17 : res_op0 = _r1;
2369 : : }
2370 : 17 : tree _r;
2371 : 17 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
2372 : 17 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 622, __FILE__, __LINE__, true);
2373 : 17 : return _r;
2374 : : }
2375 : : next_after_fail755:;
2376 : : }
2377 : : }
2378 : : }
2379 : : }
2380 : : }
2381 : : }
2382 : : }
2383 : : }
2384 : : return NULL_TREE;
2385 : : }
2386 : :
2387 : : tree
2388 : 15 : generic_simplify_448 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2389 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2390 : : const enum tree_code ARG_UNUSED (bitop))
2391 : : {
2392 : 15 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2393 : 15 : {
2394 : 15 : tree pmop[2];
2395 : 15 : tree utype = fold_bit_and_mask (TREE_TYPE (captures[1]), captures[4], NEGATE_EXPR, captures[1],
2396 : : bitop, captures[2], captures[3], NULL_TREE, ERROR_MARK,
2397 : : NULL_TREE, NULL_TREE, pmop);
2398 : 15 : if (utype
2399 : : )
2400 : : {
2401 : 7 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail792;
2402 : 7 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail792;
2403 : 7 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail792;
2404 : 7 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail792;
2405 : 7 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail792;
2406 : 7 : {
2407 : 7 : tree res_op0;
2408 : 7 : {
2409 : 7 : tree _o1[2], _r1;
2410 : 7 : {
2411 : 7 : tree _o2[1], _r2;
2412 : 7 : {
2413 : 7 : tree _o3[1], _r3;
2414 : 7 : _o3[0] = pmop[0];
2415 : 7 : if (TREE_TYPE (_o3[0]) != utype)
2416 : : {
2417 : 4 : _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
2418 : : }
2419 : : else
2420 : : _r3 = _o3[0];
2421 : 7 : _o2[0] = _r3;
2422 : : }
2423 : 7 : _r2 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
2424 : 7 : _o1[0] = _r2;
2425 : : }
2426 : 7 : {
2427 : 7 : tree _o2[1], _r2;
2428 : 7 : _o2[0] = captures[4];
2429 : 7 : if (TREE_TYPE (_o2[0]) != utype)
2430 : : {
2431 : 4 : _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
2432 : : }
2433 : : else
2434 : : _r2 = _o2[0];
2435 : 7 : _o1[1] = _r2;
2436 : : }
2437 : 7 : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2438 : 7 : res_op0 = _r1;
2439 : : }
2440 : 7 : tree _r;
2441 : 7 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
2442 : 7 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 646, __FILE__, __LINE__, true);
2443 : 7 : return _r;
2444 : : }
2445 : 8 : next_after_fail792:;
2446 : : }
2447 : : }
2448 : 8 : return NULL_TREE;
2449 : : }
2450 : :
2451 : : tree
2452 : 234 : generic_simplify_460 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2453 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2454 : : const combined_fn ARG_UNUSED (bswap))
2455 : : {
2456 : 234 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2457 : 234 : if (BITS_PER_UNIT == 8
2458 : 234 : && tree_fits_uhwi_p (captures[3])
2459 : 234 : && tree_fits_uhwi_p (captures[4])
2460 : : )
2461 : : {
2462 : 234 : {
2463 : 234 : unsigned HOST_WIDE_INT prec = TYPE_PRECISION (TREE_TYPE (captures[1]));
2464 : 234 : unsigned HOST_WIDE_INT bits = tree_to_uhwi (captures[3]);
2465 : 234 : unsigned HOST_WIDE_INT mask = tree_to_uhwi (captures[4]);
2466 : 234 : unsigned HOST_WIDE_INT lo = bits & 7;
2467 : 234 : unsigned HOST_WIDE_INT hi = bits - lo;
2468 : 234 : if (bits < prec
2469 : 234 : && mask < (256u>>lo)
2470 : 468 : && bits < TYPE_PRECISION (TREE_TYPE(captures[0]))
2471 : : )
2472 : : {
2473 : 234 : {
2474 : 234 : unsigned HOST_WIDE_INT ns = (prec - (hi + 8)) + lo;
2475 : 234 : if (ns == 0
2476 : : )
2477 : : {
2478 : 1 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail808;
2479 : 1 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail808;
2480 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail808;
2481 : 1 : {
2482 : 1 : tree res_op0;
2483 : 1 : {
2484 : 1 : tree _o1[1], _r1;
2485 : 1 : _o1[0] = captures[2];
2486 : 1 : if (TREE_TYPE (_o1[0]) != type)
2487 : : {
2488 : 1 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
2489 : : }
2490 : : else
2491 : : _r1 = _o1[0];
2492 : 1 : res_op0 = _r1;
2493 : : }
2494 : 1 : tree res_op1;
2495 : 1 : res_op1 = captures[4];
2496 : 1 : tree _r;
2497 : 1 : _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
2498 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 658, __FILE__, __LINE__, true);
2499 : 1 : return _r;
2500 : : }
2501 : : next_after_fail808:;
2502 : : }
2503 : : else
2504 : : {
2505 : 233 : {
2506 : 233 : tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
2507 : 233 : tree nst = build_int_cst (integer_type_node, ns);
2508 : 233 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail809;
2509 : 233 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail809;
2510 : 233 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail809;
2511 : 233 : {
2512 : 233 : tree res_op0;
2513 : 233 : {
2514 : 233 : tree _o1[1], _r1;
2515 : 233 : {
2516 : 233 : tree _o2[2], _r2;
2517 : 233 : {
2518 : 233 : tree _o3[1], _r3;
2519 : 233 : _o3[0] = captures[2];
2520 : 233 : if (TREE_TYPE (_o3[0]) != utype)
2521 : : {
2522 : 0 : _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
2523 : : }
2524 : : else
2525 : : _r3 = _o3[0];
2526 : 233 : _o2[0] = _r3;
2527 : : }
2528 : 233 : _o2[1] = nst;
2529 : 233 : _r2 = fold_build2_loc (loc, RSHIFT_EXPR, utype, _o2[0], _o2[1]);
2530 : 233 : _o1[0] = _r2;
2531 : : }
2532 : 233 : if (TREE_TYPE (_o1[0]) != type)
2533 : : {
2534 : 101 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
2535 : : }
2536 : : else
2537 : : _r1 = _o1[0];
2538 : 233 : res_op0 = _r1;
2539 : : }
2540 : 233 : tree res_op1;
2541 : 233 : res_op1 = captures[4];
2542 : 233 : tree _r;
2543 : 233 : _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
2544 : 233 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 659, __FILE__, __LINE__, true);
2545 : 233 : return _r;
2546 : : }
2547 : : next_after_fail809:;
2548 : : }
2549 : : }
2550 : : }
2551 : : }
2552 : : }
2553 : : }
2554 : : return NULL_TREE;
2555 : : }
2556 : :
2557 : : tree
2558 : 4 : generic_simplify_475 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2559 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
2560 : : {
2561 : 4 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2562 : 4 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail858;
2563 : 4 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail858;
2564 : 4 : {
2565 : 4 : tree _r;
2566 : 4 : _r = captures[2];
2567 : 4 : if (TREE_SIDE_EFFECTS (captures[1]))
2568 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2569 : 4 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 680, __FILE__, __LINE__, true);
2570 : : return _r;
2571 : : }
2572 : : next_after_fail858:;
2573 : : return NULL_TREE;
2574 : : }
2575 : :
2576 : : tree
2577 : 86056 : generic_simplify_478 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2578 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2579 : : const enum tree_code ARG_UNUSED (shift))
2580 : : {
2581 : 86056 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2582 : 86056 : if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
2583 : 86056 : && TYPE_PRECISION (type) <= HOST_BITS_PER_WIDE_INT
2584 : 85914 : && tree_fits_uhwi_p (captures[4])
2585 : 85865 : && tree_to_uhwi (captures[4]) > 0
2586 : 171920 : && tree_to_uhwi (captures[4]) < TYPE_PRECISION (type)
2587 : : )
2588 : : {
2589 : 85864 : {
2590 : 85864 : unsigned int shiftc = tree_to_uhwi (captures[4]);
2591 : 85864 : unsigned HOST_WIDE_INT mask = TREE_INT_CST_LOW (captures[5]);
2592 : 85864 : unsigned HOST_WIDE_INT newmask, zerobits = 0;
2593 : 85864 : tree shift_type = TREE_TYPE (captures[2]);
2594 : 85864 : unsigned int prec;
2595 : 85864 : if (shift == LSHIFT_EXPR)
2596 : 29409 : zerobits = ((HOST_WIDE_INT_1U << shiftc) - 1);
2597 : 56455 : else if (shift == RSHIFT_EXPR
2598 : 56455 : && type_has_mode_precision_p (shift_type))
2599 : : {
2600 : 56455 : prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
2601 : 56455 : tree arg00 = captures[3];
2602 : 56455 : if (captures[2] != captures[3]
2603 : 56455 : && TYPE_UNSIGNED (TREE_TYPE (captures[3])))
2604 : : {
2605 : 0 : tree inner_type = TREE_TYPE (captures[3]);
2606 : 0 : if (type_has_mode_precision_p (inner_type)
2607 : 0 : && TYPE_PRECISION (inner_type) < prec)
2608 : : {
2609 : 0 : prec = TYPE_PRECISION (inner_type);
2610 : 0 : if (shiftc < prec)
2611 : 0 : shift_type = inner_type;
2612 : : }
2613 : : }
2614 : 56455 : zerobits = HOST_WIDE_INT_M1U;
2615 : 56455 : if (shiftc < prec)
2616 : : {
2617 : 56455 : zerobits >>= HOST_BITS_PER_WIDE_INT - shiftc;
2618 : 56455 : zerobits <<= prec - shiftc;
2619 : : }
2620 : 56455 : if (!TYPE_UNSIGNED (TREE_TYPE (captures[2]))
2621 : 56455 : && prec == TYPE_PRECISION (TREE_TYPE (captures[2])))
2622 : : {
2623 : 2861 : if ((mask & zerobits) == 0)
2624 : 2850 : shift_type = unsigned_type_for (TREE_TYPE (captures[2]));
2625 : : else
2626 : : zerobits = 0;
2627 : : }
2628 : : }
2629 : 85853 : if ((mask & zerobits) == mask
2630 : : )
2631 : : {
2632 : 3 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail863;
2633 : 3 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail863;
2634 : 3 : if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail863;
2635 : 3 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail863;
2636 : 3 : {
2637 : 3 : tree _r;
2638 : 3 : _r = build_int_cst (type, 0);
2639 : 3 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 655, __FILE__, __LINE__, true);
2640 : 3 : return _r;
2641 : : }
2642 : : next_after_fail863:;
2643 : : }
2644 : : else
2645 : : {
2646 : 85861 : {
2647 : 85861 : newmask = mask | zerobits;
2648 : 85861 : if (newmask != mask && (newmask & (newmask + 1)) == 0
2649 : : )
2650 : : {
2651 : : {
2652 : 18190 : for (prec = BITS_PER_UNIT;
2653 : 33528 : prec < HOST_BITS_PER_WIDE_INT; prec <<= 1)
2654 : 31475 : if (newmask == (HOST_WIDE_INT_1U << prec) - 1)
2655 : : break;
2656 : 15338 : if (prec < HOST_BITS_PER_WIDE_INT
2657 : 2053 : || newmask == HOST_WIDE_INT_M1U
2658 : : )
2659 : : {
2660 : 13439 : {
2661 : 13439 : tree newmaskt = build_int_cst_type (TREE_TYPE (captures[5]), newmask);
2662 : 13439 : if (!tree_int_cst_equal (newmaskt, captures[5])
2663 : : )
2664 : : {
2665 : 13439 : if (shift_type != TREE_TYPE (captures[2])
2666 : : )
2667 : : {
2668 : 84 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail864;
2669 : 84 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail864;
2670 : 84 : if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail864;
2671 : 84 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail864;
2672 : 84 : {
2673 : 84 : tree res_op0;
2674 : 84 : {
2675 : 84 : tree _o1[1], _r1;
2676 : 84 : {
2677 : 84 : tree _o2[2], _r2;
2678 : 84 : {
2679 : 84 : tree _o3[1], _r3;
2680 : 84 : _o3[0] = captures[2];
2681 : 84 : if (TREE_TYPE (_o3[0]) != shift_type)
2682 : : {
2683 : 84 : _r3 = fold_build1_loc (loc, NOP_EXPR, shift_type, _o3[0]);
2684 : : }
2685 : : else
2686 : : _r3 = _o3[0];
2687 : 84 : _o2[0] = _r3;
2688 : : }
2689 : 84 : _o2[1] = captures[4];
2690 : 84 : _r2 = fold_build2_loc (loc, shift, shift_type, _o2[0], _o2[1]);
2691 : 84 : _o1[0] = _r2;
2692 : : }
2693 : 84 : if (TREE_TYPE (_o1[0]) != type)
2694 : : {
2695 : 84 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
2696 : : }
2697 : : else
2698 : : _r1 = _o1[0];
2699 : 84 : res_op0 = _r1;
2700 : : }
2701 : 84 : tree res_op1;
2702 : 84 : res_op1 = newmaskt;
2703 : 84 : tree _r;
2704 : 84 : _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
2705 : 84 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 656, __FILE__, __LINE__, true);
2706 : 84 : return _r;
2707 : : }
2708 : : next_after_fail864:;
2709 : : }
2710 : : else
2711 : : {
2712 : 13355 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail865;
2713 : 12395 : if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail865;
2714 : 12395 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail865;
2715 : 12395 : {
2716 : 12395 : tree res_op0;
2717 : 12395 : res_op0 = captures[0];
2718 : 12395 : tree res_op1;
2719 : 12395 : res_op1 = newmaskt;
2720 : 12395 : tree _r;
2721 : 12395 : _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
2722 : 12395 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 657, __FILE__, __LINE__, true);
2723 : 12395 : return _r;
2724 : : }
2725 : : next_after_fail865:;
2726 : : }
2727 : : }
2728 : : }
2729 : : }
2730 : : }
2731 : : }
2732 : : }
2733 : : }
2734 : : }
2735 : : }
2736 : : return NULL_TREE;
2737 : : }
2738 : :
2739 : : tree
2740 : 147 : generic_simplify_500 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2741 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
2742 : : {
2743 : 147 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2744 : 147 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail889;
2745 : 147 : {
2746 : 147 : tree res_op0;
2747 : 147 : {
2748 : 147 : tree _o1[1], _r1;
2749 : 147 : _o1[0] = captures[0];
2750 : 147 : if (TREE_TYPE (_o1[0]) != type)
2751 : : {
2752 : 0 : _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o1[0]);
2753 : : }
2754 : : else
2755 : : _r1 = _o1[0];
2756 : 147 : res_op0 = _r1;
2757 : : }
2758 : 147 : tree res_op1;
2759 : 147 : res_op1 = build_each_one_cst (type);
2760 : 147 : tree _r;
2761 : 147 : _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
2762 : 147 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 702, __FILE__, __LINE__, true);
2763 : : return _r;
2764 : : }
2765 : 0 : next_after_fail889:;
2766 : 0 : return NULL_TREE;
2767 : : }
2768 : :
2769 : : tree
2770 : 4 : generic_simplify_508 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2771 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
2772 : : {
2773 : 4 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2774 : 4 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail898;
2775 : 4 : {
2776 : 4 : tree _r;
2777 : 4 : _r = captures[1];
2778 : 4 : if (TREE_SIDE_EFFECTS (captures[0]))
2779 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
2780 : 4 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 710, __FILE__, __LINE__, true);
2781 : : return _r;
2782 : : }
2783 : 0 : next_after_fail898:;
2784 : 0 : return NULL_TREE;
2785 : : }
2786 : :
2787 : : tree
2788 : 2 : generic_simplify_516 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2789 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
2790 : : {
2791 : 2 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2792 : 2 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail918;
2793 : 2 : {
2794 : 2 : tree _r;
2795 : 2 : _r = captures[1];
2796 : 2 : if (TREE_SIDE_EFFECTS (captures[0]))
2797 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
2798 : 2 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 718, __FILE__, __LINE__, true);
2799 : : return _r;
2800 : : }
2801 : 0 : next_after_fail918:;
2802 : 0 : return NULL_TREE;
2803 : : }
2804 : :
2805 : : tree
2806 : 0 : generic_simplify_519 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2807 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2808 : : const combined_fn ARG_UNUSED (minmax))
2809 : : {
2810 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2811 : 0 : if (real_isnan (TREE_REAL_CST_PTR (captures[1]))
2812 : 0 : && (!HONOR_SNANS (captures[1]) || !TREE_REAL_CST (captures[1]).signalling)
2813 : 0 : && !tree_expr_maybe_signaling_nan_p (captures[0])
2814 : : )
2815 : : {
2816 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail921;
2817 : 0 : {
2818 : 0 : tree _r;
2819 : 0 : _r = captures[0];
2820 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
2821 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2822 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 721, __FILE__, __LINE__, true);
2823 : 0 : return _r;
2824 : : }
2825 : 0 : next_after_fail921:;
2826 : : }
2827 : : return NULL_TREE;
2828 : : }
2829 : :
2830 : : tree
2831 : 0 : generic_simplify_528 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2832 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
2833 : : const enum tree_code ARG_UNUSED (bitop),
2834 : : const combined_fn ARG_UNUSED (bswap))
2835 : : {
2836 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2837 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail933;
2838 : 0 : {
2839 : 0 : tree res_op0;
2840 : 0 : res_op0 = captures[0];
2841 : 0 : tree res_op1;
2842 : 0 : {
2843 : 0 : tree _o1[1], _r1;
2844 : 0 : _o1[0] = captures[1];
2845 : 0 : _r1 = maybe_build_call_expr_loc (loc, bswap, TREE_TYPE (_o1[0]), 1, _o1[0]);
2846 : 0 : if (!_r1)
2847 : 0 : goto next_after_fail933;
2848 : 0 : res_op1 = _r1;
2849 : : }
2850 : 0 : tree _r;
2851 : 0 : _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
2852 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 733, __FILE__, __LINE__, true);
2853 : : return _r;
2854 : : }
2855 : : next_after_fail933:;
2856 : : return NULL_TREE;
2857 : : }
2858 : :
2859 : : tree
2860 : 0 : generic_simplify_536 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2861 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
2862 : : const combined_fn ARG_UNUSED (cond_op))
2863 : : {
2864 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2865 : 0 : {
2866 : 0 : tree op_type = TREE_TYPE (captures[4]);
2867 : 0 : if (element_precision (type) == element_precision (op_type)
2868 : : )
2869 : : {
2870 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail941;
2871 : 0 : {
2872 : 0 : tree res_op0;
2873 : 0 : {
2874 : 0 : tree _o1[5], _r1;
2875 : 0 : _o1[0] = captures[0];
2876 : 0 : _o1[1] = captures[1];
2877 : 0 : _o1[2] = captures[2];
2878 : 0 : _o1[3] = captures[3];
2879 : 0 : {
2880 : 0 : tree _o2[1], _r2;
2881 : 0 : _o2[0] = captures[5];
2882 : 0 : if (TREE_TYPE (_o2[0]) != op_type)
2883 : : {
2884 : 0 : _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, op_type, _o2[0]);
2885 : : }
2886 : : else
2887 : : _r2 = _o2[0];
2888 : 0 : _o1[4] = _r2;
2889 : : }
2890 : 0 : _r1 = maybe_build_call_expr_loc (loc, cond_op, TREE_TYPE (_o1[1]), 5, _o1[0], _o1[1], _o1[2], _o1[3], _o1[4]);
2891 : 0 : if (!_r1)
2892 : 0 : goto next_after_fail941;
2893 : 0 : res_op0 = _r1;
2894 : : }
2895 : 0 : tree _r;
2896 : 0 : _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
2897 : 0 : if (TREE_SIDE_EFFECTS (captures[4]))
2898 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
2899 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 736, __FILE__, __LINE__, true);
2900 : 0 : return _r;
2901 : : }
2902 : : next_after_fail941:;
2903 : : }
2904 : : }
2905 : : return NULL_TREE;
2906 : : }
2907 : :
2908 : : tree
2909 : 0 : generic_simplify_545 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2910 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2911 : : const enum tree_code ARG_UNUSED (cmp))
2912 : : {
2913 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2914 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail950;
2915 : 0 : {
2916 : 0 : tree res_op0;
2917 : 0 : res_op0 = unshare_expr (captures[0]);
2918 : 0 : tree res_op1;
2919 : 0 : res_op1 = captures[0];
2920 : 0 : tree _r;
2921 : 0 : _r = fold_build2_loc (loc, UNORDERED_EXPR, type, res_op0, res_op1);
2922 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 745, __FILE__, __LINE__, true);
2923 : : return _r;
2924 : : }
2925 : 0 : next_after_fail950:;
2926 : 0 : return NULL_TREE;
2927 : : }
2928 : :
2929 : : tree
2930 : 0 : generic_simplify_551 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2931 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
2932 : : const combined_fn ARG_UNUSED (logs),
2933 : : const combined_fn ARG_UNUSED (pows))
2934 : : {
2935 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2936 : 0 : if (flag_unsafe_math_optimizations
2937 : : )
2938 : : {
2939 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail956;
2940 : 0 : {
2941 : 0 : tree res_op0;
2942 : 0 : res_op0 = captures[1];
2943 : 0 : tree res_op1;
2944 : 0 : {
2945 : 0 : tree _o1[1], _r1;
2946 : 0 : _o1[0] = captures[0];
2947 : 0 : _r1 = maybe_build_call_expr_loc (loc, logs, TREE_TYPE (_o1[0]), 1, _o1[0]);
2948 : 0 : if (!_r1)
2949 : 0 : goto next_after_fail956;
2950 : 0 : res_op1 = _r1;
2951 : : }
2952 : 0 : tree _r;
2953 : 0 : _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
2954 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 751, __FILE__, __LINE__, true);
2955 : 0 : return _r;
2956 : : }
2957 : : next_after_fail956:;
2958 : : }
2959 : : return NULL_TREE;
2960 : : }
2961 : :
2962 : : tree
2963 : 0 : generic_simplify_562 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2964 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
2965 : : const combined_fn ARG_UNUSED (froms),
2966 : : const combined_fn ARG_UNUSED (tos))
2967 : : {
2968 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2969 : 0 : if (optimize && canonicalize_math_p ()
2970 : : )
2971 : : {
2972 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail967;
2973 : 0 : {
2974 : 0 : tree res_op0;
2975 : 0 : res_op0 = captures[0];
2976 : 0 : tree _r;
2977 : 0 : _r = maybe_build_call_expr_loc (loc, tos, type, 1, res_op0);
2978 : 0 : if (!_r)
2979 : 0 : goto next_after_fail967;
2980 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 762, __FILE__, __LINE__, true);
2981 : 0 : return _r;
2982 : : }
2983 : : next_after_fail967:;
2984 : : }
2985 : : return NULL_TREE;
2986 : : }
2987 : :
2988 : : tree
2989 : 0 : generic_simplify_570 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2990 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
2991 : : const combined_fn ARG_UNUSED (SIGNBIT))
2992 : : {
2993 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2994 : 0 : if (!HONOR_SIGNED_ZEROS (captures[0])
2995 : : )
2996 : : {
2997 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail975;
2998 : 0 : {
2999 : 0 : tree res_op0;
3000 : 0 : {
3001 : 0 : tree _o1[2], _r1;
3002 : 0 : _o1[0] = captures[0];
3003 : 0 : _o1[1] = build_real (TREE_TYPE (captures[0]), dconst0);
3004 : 0 : _r1 = fold_build2_loc (loc, LT_EXPR, boolean_type_node, _o1[0], _o1[1]);
3005 : 0 : res_op0 = _r1;
3006 : : }
3007 : 0 : tree _r;
3008 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3009 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 770, __FILE__, __LINE__, true);
3010 : 0 : return _r;
3011 : : }
3012 : 0 : next_after_fail975:;
3013 : : }
3014 : : return NULL_TREE;
3015 : : }
3016 : :
3017 : : tree
3018 : 0 : generic_simplify_579 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3019 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
3020 : : {
3021 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3022 : 0 : if (canonicalize_math_after_vectorization_p ()
3023 : : )
3024 : : {
3025 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail984;
3026 : : {
3027 : : tree res_op0;
3028 : : res_op0 = captures[0];
3029 : : tree res_op1;
3030 : : res_op1 = captures[1];
3031 : : tree res_op2;
3032 : : res_op2 = captures[2];
3033 : : tree _r;
3034 : : _r = maybe_build_call_expr_loc (loc, CFN_FMA, type, 3, res_op0, res_op1, res_op2);
3035 : : if (!_r)
3036 : : goto next_after_fail984;
3037 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 779, __FILE__, __LINE__, true);
3038 : : return _r;
3039 : : }
3040 : 0 : next_after_fail984:;
3041 : : }
3042 : 0 : return NULL_TREE;
3043 : : }
3044 : :
3045 : : tree
3046 : 0 : generic_simplify_589 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3047 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
3048 : : const combined_fn ARG_UNUSED (PARITY))
3049 : : {
3050 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3051 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail995;
3052 : 0 : {
3053 : 0 : tree res_op0;
3054 : 0 : res_op0 = captures[0];
3055 : 0 : tree _r;
3056 : 0 : _r = maybe_build_call_expr_loc (loc, PARITY, type, 1, res_op0);
3057 : 0 : if (!_r)
3058 : 0 : goto next_after_fail995;
3059 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 785, __FILE__, __LINE__, true);
3060 : : return _r;
3061 : : }
3062 : : next_after_fail995:;
3063 : : return NULL_TREE;
3064 : : }
3065 : :
3066 : : tree
3067 : 0 : generic_simplify_594 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
3068 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
3069 : : const combined_fn ARG_UNUSED (reduc))
3070 : : {
3071 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3072 : 0 : {
3073 : 0 : int i = single_nonzero_element (captures[1]);
3074 : 0 : if (i >= 0
3075 : : )
3076 : : {
3077 : 0 : {
3078 : 0 : tree elt = vector_cst_elt (captures[1], i);
3079 : 0 : tree elt_type = TREE_TYPE (elt);
3080 : 0 : unsigned int elt_bits = tree_to_uhwi (TYPE_SIZE (elt_type));
3081 : 0 : tree size = bitsize_int (elt_bits);
3082 : 0 : tree pos = bitsize_int (elt_bits * i);
3083 : 0 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1000;
3084 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1000;
3085 : 0 : {
3086 : 0 : tree res_op0;
3087 : 0 : {
3088 : 0 : tree _o1[2], _r1;
3089 : 0 : {
3090 : 0 : tree _o2[3], _r2;
3091 : 0 : _o2[0] = captures[0];
3092 : 0 : _o2[1] = size;
3093 : 0 : _o2[2] = pos;
3094 : 0 : _r2 = fold_build3_loc (loc, BIT_FIELD_REF, elt_type, _o2[0], _o2[1], _o2[2]);
3095 : 0 : _o1[0] = _r2;
3096 : : }
3097 : 0 : _o1[1] = elt;
3098 : 0 : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, elt_type, _o1[0], _o1[1]);
3099 : 0 : res_op0 = _r1;
3100 : : }
3101 : 0 : tree _r;
3102 : 0 : _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
3103 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 788, __FILE__, __LINE__, true);
3104 : 0 : return _r;
3105 : : }
3106 : : next_after_fail1000:;
3107 : : }
3108 : : }
3109 : : }
3110 : : return NULL_TREE;
3111 : : }
3112 : :
3113 : : tree
3114 : 525103 : generic_simplify_FIX_TRUNC_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0)
3115 : : {
3116 : 525103 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3117 : 525103 : {
3118 : 525103 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
3119 : 1050206 : if ((
3120 : :
3121 : : && useless_type_conversion_p (type, TREE_TYPE (captures[0])))
3122 : : || (
3123 : : 1
3124 : 525103 : && type == TREE_TYPE (captures[0]))
3125 : : )
3126 : : {
3127 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1079;
3128 : 0 : {
3129 : 0 : tree _r;
3130 : 0 : _r = captures[0];
3131 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 803, __FILE__, __LINE__, true);
3132 : 0 : return _r;
3133 : : }
3134 : 0 : next_after_fail1079:;
3135 : : }
3136 : : }
3137 : 525103 : switch (TREE_CODE (_p0))
3138 : : {
3139 : 14978 : CASE_CONVERT:
3140 : 14978 : {
3141 : 14978 : tree _q20 = TREE_OPERAND (_p0, 0);
3142 : 14978 : {
3143 : 14978 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
3144 : 14978 : {
3145 : 14978 : tree inside_type = TREE_TYPE (captures[1]);
3146 : 14978 : tree inter_type = TREE_TYPE (captures[0]);
3147 : 14978 : int inside_int = INTEGRAL_TYPE_P (inside_type);
3148 : 14978 : int inside_ptr = POINTER_TYPE_P (inside_type);
3149 : 14978 : int inside_float = FLOAT_TYPE_P (inside_type);
3150 : 14978 : int inside_vec = VECTOR_TYPE_P (inside_type);
3151 : 14978 : unsigned int inside_prec = element_precision (inside_type);
3152 : 14978 : int inside_unsignedp = TYPE_UNSIGNED (inside_type);
3153 : 14978 : int inter_int = INTEGRAL_TYPE_P (inter_type);
3154 : 14978 : int inter_ptr = POINTER_TYPE_P (inter_type);
3155 : 14978 : int inter_float = FLOAT_TYPE_P (inter_type);
3156 : 14978 : int inter_vec = VECTOR_TYPE_P (inter_type);
3157 : 14978 : unsigned int inter_prec = element_precision (inter_type);
3158 : 14978 : int inter_unsignedp = TYPE_UNSIGNED (inter_type);
3159 : 14978 : int final_int = INTEGRAL_TYPE_P (type);
3160 : 14978 : int final_ptr = POINTER_TYPE_P (type);
3161 : 14978 : int final_float = FLOAT_TYPE_P (type);
3162 : 14978 : int final_vec = VECTOR_TYPE_P (type);
3163 : 14978 : unsigned int final_prec = element_precision (type);
3164 : 14978 : int final_unsignedp = TYPE_UNSIGNED (type);
3165 : 14978 : if (((
3166 : :
3167 : : && useless_type_conversion_p (type, inside_type))
3168 : : || (
3169 : : 1
3170 : 14978 : && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type)))
3171 : 0 : && (((inter_int || inter_ptr) && final_int)
3172 : 0 : || (inter_float && final_float))
3173 : 14978 : && inter_prec >= final_prec
3174 : : )
3175 : : {
3176 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1080;
3177 : 0 : {
3178 : 0 : tree res_op0;
3179 : 0 : res_op0 = captures[1];
3180 : 0 : tree _r;
3181 : 0 : _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
3182 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 804, __FILE__, __LINE__, true);
3183 : 0 : return _r;
3184 : : }
3185 : 0 : next_after_fail1080:;
3186 : : }
3187 : : else
3188 : : {
3189 : 14978 : if (((inter_int && inside_int) || (inter_float && inside_float))
3190 : 14978 : && (final_int || final_float)
3191 : 14978 : && inter_prec >= inside_prec
3192 : 14760 : && (inter_float || inter_unsignedp == inside_unsignedp)
3193 : : )
3194 : : {
3195 : 14760 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1081;
3196 : 14760 : {
3197 : 14760 : tree res_op0;
3198 : 14760 : res_op0 = captures[1];
3199 : 14760 : tree _r;
3200 : 14760 : _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
3201 : 14760 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 805, __FILE__, __LINE__, true);
3202 : 14760 : return _r;
3203 : : }
3204 : 0 : next_after_fail1081:;
3205 : 0 : }
3206 : : else
3207 : : {
3208 : 218 : if (inside_int && inter_int && final_int
3209 : 0 : && ((inside_prec < inter_prec && inter_prec < final_prec
3210 : 0 : && inside_unsignedp && !inter_unsignedp)
3211 : 0 : || final_prec == inter_prec
3212 : 0 : || (inside_prec < inter_prec && inter_prec > final_prec
3213 : 0 : && !inside_unsignedp && inter_unsignedp))
3214 : : )
3215 : : {
3216 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1082;
3217 : 0 : {
3218 : 0 : tree res_op0;
3219 : 0 : res_op0 = captures[1];
3220 : 0 : tree _r;
3221 : 0 : _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
3222 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 806, __FILE__, __LINE__, true);
3223 : 0 : return _r;
3224 : : }
3225 : 0 : next_after_fail1082:;
3226 : 0 : }
3227 : : else
3228 : : {
3229 : 218 : if (! inside_float && ! inter_float && ! final_float
3230 : : && ! inside_vec && ! inter_vec && ! final_vec
3231 : 0 : && (inter_prec >= inside_prec || inter_prec >= final_prec)
3232 : 0 : && ! (inside_int && inter_int
3233 : 0 : && inter_unsignedp != inside_unsignedp
3234 : 0 : && inter_prec < final_prec)
3235 : 0 : && ((inter_unsignedp && inter_prec > inside_prec)
3236 : 0 : == (final_unsignedp && final_prec > inter_prec))
3237 : 0 : && ! (inside_ptr && inter_prec != final_prec)
3238 : 0 : && ! (final_ptr && inside_prec != inter_prec)
3239 : : )
3240 : : {
3241 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1083;
3242 : 0 : {
3243 : 0 : tree res_op0;
3244 : 0 : res_op0 = captures[1];
3245 : 0 : tree _r;
3246 : 0 : _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
3247 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 807, __FILE__, __LINE__, true);
3248 : 0 : return _r;
3249 : : }
3250 : 0 : next_after_fail1083:;
3251 : 0 : }
3252 : : else
3253 : : {
3254 : 218 : if (inside_int && inter_int && final_int
3255 : 0 : && final_prec <= inside_prec
3256 : 0 : && inter_prec >= inside_prec
3257 : : )
3258 : : {
3259 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1084;
3260 : 0 : {
3261 : 0 : tree res_op0;
3262 : 0 : res_op0 = captures[1];
3263 : 0 : tree _r;
3264 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3265 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 808, __FILE__, __LINE__, true);
3266 : 0 : return _r;
3267 : : }
3268 : 0 : next_after_fail1084:;
3269 : 0 : }
3270 : : else
3271 : : {
3272 : : if (0
3273 : : && final_int && inter_int && inside_int
3274 : : && final_prec >= inside_prec
3275 : : && inside_prec > inter_prec
3276 : : && inter_unsignedp
3277 : : )
3278 : : {
3279 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1085;
3280 : : {
3281 : : tree res_op0;
3282 : : {
3283 : : tree _o1[2], _r1;
3284 : : _o1[0] = captures[1];
3285 : : _o1[1] = wide_int_to_tree
3286 : : (inside_type,
3287 : : wi::mask (inter_prec, false,
3288 : : TYPE_PRECISION (inside_type)));
3289 : : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
3290 : : res_op0 = _r1;
3291 : : }
3292 : : tree _r;
3293 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3294 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 809, __FILE__, __LINE__, true);
3295 : : return _r;
3296 : : }
3297 : : next_after_fail1085:;
3298 : : }
3299 : : else
3300 : : {
3301 : : if (0
3302 : : && inside_int && inter_float && final_int &&
3303 : : (unsigned) significand_size (TYPE_MODE (inter_type))
3304 : : >= inside_prec - !inside_unsignedp
3305 : : )
3306 : : {
3307 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1086;
3308 : : {
3309 : : tree res_op0;
3310 : : res_op0 = captures[1];
3311 : : tree _r;
3312 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3313 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 810, __FILE__, __LINE__, true);
3314 : : return _r;
3315 : : }
3316 : : next_after_fail1086:;
3317 : : }
3318 : : }
3319 : : }
3320 : : }
3321 : : }
3322 : : }
3323 : : }
3324 : : }
3325 : : }
3326 : 218 : break;
3327 : : }
3328 : 589 : case FLOAT_EXPR:
3329 : 589 : {
3330 : 589 : tree _q20 = TREE_OPERAND (_p0, 0);
3331 : 589 : {
3332 : 589 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
3333 : 589 : {
3334 : 589 : tree inside_type = TREE_TYPE (captures[1]);
3335 : 589 : tree inter_type = TREE_TYPE (captures[0]);
3336 : 589 : int inside_int = INTEGRAL_TYPE_P (inside_type);
3337 : 589 : int inside_ptr = POINTER_TYPE_P (inside_type);
3338 : 589 : int inside_float = FLOAT_TYPE_P (inside_type);
3339 : 589 : int inside_vec = VECTOR_TYPE_P (inside_type);
3340 : 589 : unsigned int inside_prec = element_precision (inside_type);
3341 : 589 : int inside_unsignedp = TYPE_UNSIGNED (inside_type);
3342 : 589 : int inter_int = INTEGRAL_TYPE_P (inter_type);
3343 : 589 : int inter_ptr = POINTER_TYPE_P (inter_type);
3344 : 589 : int inter_float = FLOAT_TYPE_P (inter_type);
3345 : 589 : int inter_vec = VECTOR_TYPE_P (inter_type);
3346 : 589 : unsigned int inter_prec = element_precision (inter_type);
3347 : 589 : int inter_unsignedp = TYPE_UNSIGNED (inter_type);
3348 : 589 : int final_int = INTEGRAL_TYPE_P (type);
3349 : 589 : int final_ptr = POINTER_TYPE_P (type);
3350 : 589 : int final_float = FLOAT_TYPE_P (type);
3351 : 589 : int final_vec = VECTOR_TYPE_P (type);
3352 : 589 : unsigned int final_prec = element_precision (type);
3353 : 589 : int final_unsignedp = TYPE_UNSIGNED (type);
3354 : 589 : if (((
3355 : :
3356 : : && useless_type_conversion_p (type, inside_type))
3357 : : || (
3358 : : 1
3359 : 589 : && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type)))
3360 : 44 : && (((inter_int || inter_ptr) && final_int)
3361 : 44 : || (inter_float && final_float))
3362 : 589 : && inter_prec >= final_prec
3363 : : )
3364 : : {
3365 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1087;
3366 : 0 : {
3367 : 0 : tree res_op0;
3368 : 0 : res_op0 = captures[1];
3369 : 0 : tree _r;
3370 : 0 : _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
3371 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 804, __FILE__, __LINE__, true);
3372 : 0 : return _r;
3373 : : }
3374 : 0 : next_after_fail1087:;
3375 : : }
3376 : : else
3377 : : {
3378 : 589 : if (((inter_int && inside_int) || (inter_float && inside_float))
3379 : 0 : && (final_int || final_float)
3380 : 0 : && inter_prec >= inside_prec
3381 : 0 : && (inter_float || inter_unsignedp == inside_unsignedp)
3382 : : )
3383 : : {
3384 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1088;
3385 : 0 : {
3386 : 0 : tree res_op0;
3387 : 0 : res_op0 = captures[1];
3388 : 0 : tree _r;
3389 : 0 : _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
3390 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 805, __FILE__, __LINE__, true);
3391 : 0 : return _r;
3392 : : }
3393 : 0 : next_after_fail1088:;
3394 : 0 : }
3395 : : else
3396 : : {
3397 : 589 : if (inside_int && inter_int && final_int
3398 : 0 : && ((inside_prec < inter_prec && inter_prec < final_prec
3399 : 0 : && inside_unsignedp && !inter_unsignedp)
3400 : 0 : || final_prec == inter_prec
3401 : 0 : || (inside_prec < inter_prec && inter_prec > final_prec
3402 : 0 : && !inside_unsignedp && inter_unsignedp))
3403 : : )
3404 : : {
3405 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1089;
3406 : 0 : {
3407 : 0 : tree res_op0;
3408 : 0 : res_op0 = captures[1];
3409 : 0 : tree _r;
3410 : 0 : _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
3411 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 806, __FILE__, __LINE__, true);
3412 : 0 : return _r;
3413 : : }
3414 : 0 : next_after_fail1089:;
3415 : 0 : }
3416 : : else
3417 : : {
3418 : 589 : if (! inside_float && ! inter_float && ! final_float
3419 : : && ! inside_vec && ! inter_vec && ! final_vec
3420 : 0 : && (inter_prec >= inside_prec || inter_prec >= final_prec)
3421 : 0 : && ! (inside_int && inter_int
3422 : 0 : && inter_unsignedp != inside_unsignedp
3423 : 0 : && inter_prec < final_prec)
3424 : 0 : && ((inter_unsignedp && inter_prec > inside_prec)
3425 : 0 : == (final_unsignedp && final_prec > inter_prec))
3426 : 0 : && ! (inside_ptr && inter_prec != final_prec)
3427 : 0 : && ! (final_ptr && inside_prec != inter_prec)
3428 : : )
3429 : : {
3430 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1090;
3431 : 0 : {
3432 : 0 : tree res_op0;
3433 : 0 : res_op0 = captures[1];
3434 : 0 : tree _r;
3435 : 0 : _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
3436 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 807, __FILE__, __LINE__, true);
3437 : 0 : return _r;
3438 : : }
3439 : 0 : next_after_fail1090:;
3440 : 0 : }
3441 : : else
3442 : : {
3443 : 589 : if (inside_int && inter_int && final_int
3444 : 0 : && final_prec <= inside_prec
3445 : 0 : && inter_prec >= inside_prec
3446 : : )
3447 : : {
3448 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1091;
3449 : 0 : {
3450 : 0 : tree res_op0;
3451 : 0 : res_op0 = captures[1];
3452 : 0 : tree _r;
3453 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3454 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 808, __FILE__, __LINE__, true);
3455 : 0 : return _r;
3456 : : }
3457 : 0 : next_after_fail1091:;
3458 : 0 : }
3459 : : else
3460 : : {
3461 : : if (0
3462 : : && final_int && inter_int && inside_int
3463 : : && final_prec >= inside_prec
3464 : : && inside_prec > inter_prec
3465 : : && inter_unsignedp
3466 : : )
3467 : : {
3468 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1092;
3469 : : {
3470 : : tree res_op0;
3471 : : {
3472 : : tree _o1[2], _r1;
3473 : : _o1[0] = captures[1];
3474 : : _o1[1] = wide_int_to_tree
3475 : : (inside_type,
3476 : : wi::mask (inter_prec, false,
3477 : : TYPE_PRECISION (inside_type)));
3478 : : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
3479 : : res_op0 = _r1;
3480 : : }
3481 : : tree _r;
3482 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3483 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 809, __FILE__, __LINE__, true);
3484 : : return _r;
3485 : : }
3486 : : next_after_fail1092:;
3487 : : }
3488 : : else
3489 : : {
3490 : : if (0
3491 : : && inside_int && inter_float && final_int &&
3492 : : (unsigned) significand_size (TYPE_MODE (inter_type))
3493 : : >= inside_prec - !inside_unsignedp
3494 : : )
3495 : : {
3496 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1093;
3497 : : {
3498 : : tree res_op0;
3499 : : res_op0 = captures[1];
3500 : : tree _r;
3501 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3502 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 810, __FILE__, __LINE__, true);
3503 : : return _r;
3504 : : }
3505 : : next_after_fail1093:;
3506 : : }
3507 : : }
3508 : : }
3509 : : }
3510 : : }
3511 : : }
3512 : : }
3513 : : }
3514 : : }
3515 : 589 : break;
3516 : : }
3517 : : default:;
3518 : : }
3519 : : return NULL_TREE;
3520 : : }
3521 : :
3522 : : tree
3523 : 764812 : generic_simplify_BIT_XOR_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
3524 : : {
3525 : 764812 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3526 : 764812 : if (integer_zerop (_p1))
3527 : : {
3528 : 536 : {
3529 : 536 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
3530 : 536 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1256;
3531 : 536 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1256;
3532 : 536 : {
3533 : 536 : tree res_op0;
3534 : 536 : res_op0 = captures[0];
3535 : 536 : tree _r;
3536 : 536 : _r = non_lvalue_loc (loc, res_op0);
3537 : 536 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 850, __FILE__, __LINE__, true);
3538 : 536 : return _r;
3539 : : }
3540 : : next_after_fail1256:;
3541 : : }
3542 : : }
3543 : 764276 : switch (TREE_CODE (_p0))
3544 : : {
3545 : 2953 : case LSHIFT_EXPR:
3546 : 2953 : {
3547 : 2953 : tree _q20 = TREE_OPERAND (_p0, 0);
3548 : 2953 : tree _q21 = TREE_OPERAND (_p0, 1);
3549 : 2953 : switch (TREE_CODE (_p1))
3550 : : {
3551 : 10 : case LSHIFT_EXPR:
3552 : 10 : {
3553 : 10 : tree _q50 = TREE_OPERAND (_p1, 0);
3554 : 10 : tree _q51 = TREE_OPERAND (_p1, 1);
3555 : 10 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
3556 : : {
3557 : 1 : {
3558 : 1 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
3559 : 1 : tree res = generic_simplify_65 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
3560 : 1 : if (res) return res;
3561 : : }
3562 : : }
3563 : : break;
3564 : : }
3565 : : default:;
3566 : : }
3567 : : break;
3568 : : }
3569 : 9522 : case RSHIFT_EXPR:
3570 : 9522 : {
3571 : 9522 : tree _q20 = TREE_OPERAND (_p0, 0);
3572 : 9522 : tree _q21 = TREE_OPERAND (_p0, 1);
3573 : 9522 : switch (TREE_CODE (_p1))
3574 : : {
3575 : 20 : case RSHIFT_EXPR:
3576 : 20 : {
3577 : 20 : tree _q50 = TREE_OPERAND (_p1, 0);
3578 : 20 : tree _q51 = TREE_OPERAND (_p1, 1);
3579 : 20 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
3580 : : {
3581 : 10 : {
3582 : 10 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
3583 : 10 : tree res = generic_simplify_66 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
3584 : 10 : if (res) return res;
3585 : : }
3586 : : }
3587 : : break;
3588 : : }
3589 : : default:;
3590 : : }
3591 : : break;
3592 : : }
3593 : 2846 : case BIT_AND_EXPR:
3594 : 2846 : {
3595 : 2846 : tree _q20 = TREE_OPERAND (_p0, 0);
3596 : 2846 : tree _q21 = TREE_OPERAND (_p0, 1);
3597 : 2846 : switch (TREE_CODE (_p1))
3598 : : {
3599 : 354 : case BIT_AND_EXPR:
3600 : 354 : {
3601 : 354 : tree _q50 = TREE_OPERAND (_p1, 0);
3602 : 354 : tree _q51 = TREE_OPERAND (_p1, 1);
3603 : 354 : {
3604 : 354 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51 };
3605 : 354 : tree res = generic_simplify_7 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
3606 : 354 : if (res) return res;
3607 : : }
3608 : 354 : {
3609 : 354 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q50 };
3610 : 354 : tree res = generic_simplify_7 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
3611 : 354 : if (res) return res;
3612 : : }
3613 : 354 : {
3614 : 354 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q51 };
3615 : 354 : tree res = generic_simplify_7 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
3616 : 354 : if (res) return res;
3617 : : }
3618 : 354 : {
3619 : 354 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q50 };
3620 : 354 : tree res = generic_simplify_7 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
3621 : 354 : if (res) return res;
3622 : : }
3623 : 354 : break;
3624 : : }
3625 : 2846 : default:;
3626 : : }
3627 : 2846 : switch (TREE_CODE (_q21))
3628 : : {
3629 : 41 : case BIT_NOT_EXPR:
3630 : 41 : {
3631 : 41 : tree _q40 = TREE_OPERAND (_q21, 0);
3632 : 41 : switch (TREE_CODE (_p1))
3633 : : {
3634 : 0 : case BIT_NOT_EXPR:
3635 : 0 : {
3636 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
3637 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
3638 : : {
3639 : 0 : {
3640 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
3641 : 0 : tree res = generic_simplify_151 (loc, type, _p0, _p1, captures);
3642 : 0 : if (res) return res;
3643 : : }
3644 : : }
3645 : : break;
3646 : : }
3647 : : default:;
3648 : : }
3649 : : break;
3650 : : }
3651 : 2846 : default:;
3652 : : }
3653 : 2846 : switch (TREE_CODE (_q20))
3654 : : {
3655 : 90 : case BIT_NOT_EXPR:
3656 : 90 : {
3657 : 90 : tree _q30 = TREE_OPERAND (_q20, 0);
3658 : 90 : switch (TREE_CODE (_p1))
3659 : : {
3660 : 0 : case BIT_NOT_EXPR:
3661 : 0 : {
3662 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
3663 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
3664 : : {
3665 : 0 : {
3666 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q30 };
3667 : 0 : tree res = generic_simplify_151 (loc, type, _p0, _p1, captures);
3668 : 0 : if (res) return res;
3669 : : }
3670 : : }
3671 : : break;
3672 : : }
3673 : 90 : default:;
3674 : : }
3675 : 90 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
3676 : : {
3677 : 0 : {
3678 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q21 };
3679 : 0 : tree res = generic_simplify_152 (loc, type, _p0, _p1, captures);
3680 : 0 : if (res) return res;
3681 : : }
3682 : : }
3683 : : break;
3684 : : }
3685 : 2846 : default:;
3686 : : }
3687 : 2846 : switch (TREE_CODE (_q21))
3688 : : {
3689 : 41 : case BIT_NOT_EXPR:
3690 : 41 : {
3691 : 41 : tree _q40 = TREE_OPERAND (_q21, 0);
3692 : 41 : if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
3693 : : {
3694 : 0 : {
3695 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q20 };
3696 : 0 : tree res = generic_simplify_152 (loc, type, _p0, _p1, captures);
3697 : 0 : if (res) return res;
3698 : : }
3699 : : }
3700 : : break;
3701 : : }
3702 : : default:;
3703 : : }
3704 : : break;
3705 : : }
3706 : 498 : case BIT_NOT_EXPR:
3707 : 498 : {
3708 : 498 : tree _q20 = TREE_OPERAND (_p0, 0);
3709 : 498 : switch (TREE_CODE (_p1))
3710 : : {
3711 : 51 : case BIT_AND_EXPR:
3712 : 51 : {
3713 : 51 : tree _q40 = TREE_OPERAND (_p1, 0);
3714 : 51 : tree _q41 = TREE_OPERAND (_p1, 1);
3715 : 51 : if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
3716 : : {
3717 : 0 : switch (TREE_CODE (_q41))
3718 : : {
3719 : 0 : case BIT_NOT_EXPR:
3720 : 0 : {
3721 : 0 : tree _q60 = TREE_OPERAND (_q41, 0);
3722 : 0 : {
3723 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q60 };
3724 : 0 : tree res = generic_simplify_151 (loc, type, _p0, _p1, captures);
3725 : 0 : if (res) return res;
3726 : : }
3727 : 0 : break;
3728 : : }
3729 : : default:;
3730 : : }
3731 : : }
3732 : 51 : switch (TREE_CODE (_q40))
3733 : : {
3734 : 7 : case BIT_NOT_EXPR:
3735 : 7 : {
3736 : 7 : tree _q50 = TREE_OPERAND (_q40, 0);
3737 : 7 : if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
3738 : : {
3739 : 0 : {
3740 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q50 };
3741 : 0 : tree res = generic_simplify_151 (loc, type, _p0, _p1, captures);
3742 : 0 : if (res) return res;
3743 : : }
3744 : : }
3745 : : break;
3746 : : }
3747 : : default:;
3748 : : }
3749 : : break;
3750 : : }
3751 : : default:;
3752 : : }
3753 : : break;
3754 : : }
3755 : 764265 : default:;
3756 : : }
3757 : 764265 : switch (TREE_CODE (_p1))
3758 : : {
3759 : 707 : case BIT_AND_EXPR:
3760 : 707 : {
3761 : 707 : tree _q30 = TREE_OPERAND (_p1, 0);
3762 : 707 : tree _q31 = TREE_OPERAND (_p1, 1);
3763 : 707 : switch (TREE_CODE (_q30))
3764 : : {
3765 : 57 : case BIT_NOT_EXPR:
3766 : 57 : {
3767 : 57 : tree _q40 = TREE_OPERAND (_q30, 0);
3768 : 57 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
3769 : : {
3770 : 0 : {
3771 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q31 };
3772 : 0 : tree res = generic_simplify_152 (loc, type, _p0, _p1, captures);
3773 : 0 : if (res) return res;
3774 : : }
3775 : : }
3776 : : break;
3777 : : }
3778 : 707 : default:;
3779 : : }
3780 : 707 : switch (TREE_CODE (_q31))
3781 : : {
3782 : 8 : case BIT_NOT_EXPR:
3783 : 8 : {
3784 : 8 : tree _q50 = TREE_OPERAND (_q31, 0);
3785 : 8 : if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
3786 : : {
3787 : 0 : {
3788 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q30 };
3789 : 0 : tree res = generic_simplify_152 (loc, type, _p0, _p1, captures);
3790 : 0 : if (res) return res;
3791 : : }
3792 : : }
3793 : : break;
3794 : : }
3795 : : default:;
3796 : : }
3797 : : break;
3798 : : }
3799 : 764265 : default:;
3800 : : }
3801 : 764265 : switch (TREE_CODE (_p0))
3802 : : {
3803 : 21336 : case PLUS_EXPR:
3804 : 21336 : {
3805 : 21336 : tree _q20 = TREE_OPERAND (_p0, 0);
3806 : 21336 : tree _q21 = TREE_OPERAND (_p0, 1);
3807 : 21336 : if (integer_minus_onep (_q21))
3808 : : {
3809 : 10406 : switch (TREE_CODE (_p1))
3810 : : {
3811 : 11 : case NEGATE_EXPR:
3812 : 11 : {
3813 : 11 : tree _q50 = TREE_OPERAND (_p1, 0);
3814 : 11 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
3815 : : {
3816 : 11 : {
3817 : 11 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
3818 : 11 : tree res = generic_simplify_75 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
3819 : 11 : if (res) return res;
3820 : : }
3821 : : }
3822 : : break;
3823 : : }
3824 : : default:;
3825 : : }
3826 : : }
3827 : : break;
3828 : : }
3829 : 142 : case NEGATE_EXPR:
3830 : 142 : {
3831 : 142 : tree _q20 = TREE_OPERAND (_p0, 0);
3832 : 142 : switch (TREE_CODE (_p1))
3833 : : {
3834 : 0 : case PLUS_EXPR:
3835 : 0 : {
3836 : 0 : tree _q40 = TREE_OPERAND (_p1, 0);
3837 : 0 : tree _q41 = TREE_OPERAND (_p1, 1);
3838 : 0 : if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
3839 : : {
3840 : 0 : if (integer_minus_onep (_q41))
3841 : : {
3842 : 0 : {
3843 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
3844 : 0 : tree res = generic_simplify_76 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
3845 : 0 : if (res) return res;
3846 : : }
3847 : : }
3848 : : }
3849 : : break;
3850 : : }
3851 : 0 : case MINUS_EXPR:
3852 : 0 : {
3853 : 0 : tree _q40 = TREE_OPERAND (_p1, 0);
3854 : 0 : tree _q41 = TREE_OPERAND (_p1, 1);
3855 : 0 : if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
3856 : : {
3857 : 0 : if (integer_onep (_q41))
3858 : : {
3859 : 0 : {
3860 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
3861 : 0 : tree res = generic_simplify_77 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
3862 : 0 : if (res) return res;
3863 : : }
3864 : : }
3865 : : }
3866 : : break;
3867 : : }
3868 : : default:;
3869 : : }
3870 : : break;
3871 : : }
3872 : 102 : case MINUS_EXPR:
3873 : 102 : {
3874 : 102 : tree _q20 = TREE_OPERAND (_p0, 0);
3875 : 102 : tree _q21 = TREE_OPERAND (_p0, 1);
3876 : 102 : if (integer_onep (_q21))
3877 : : {
3878 : 0 : switch (TREE_CODE (_p1))
3879 : : {
3880 : 0 : case NEGATE_EXPR:
3881 : 0 : {
3882 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
3883 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
3884 : : {
3885 : 0 : {
3886 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
3887 : 0 : tree res = generic_simplify_78 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
3888 : 0 : if (res) return res;
3889 : : }
3890 : : }
3891 : : break;
3892 : : }
3893 : : default:;
3894 : : }
3895 : : }
3896 : : break;
3897 : : }
3898 : 1310 : case BIT_IOR_EXPR:
3899 : 1310 : {
3900 : 1310 : tree _q20 = TREE_OPERAND (_p0, 0);
3901 : 1310 : tree _q21 = TREE_OPERAND (_p0, 1);
3902 : 1310 : switch (TREE_CODE (_q20))
3903 : : {
3904 : 481 : case BIT_NOT_EXPR:
3905 : 481 : {
3906 : 481 : tree _q30 = TREE_OPERAND (_q20, 0);
3907 : 481 : {
3908 : 481 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _p1 };
3909 : 481 : tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
3910 : 481 : if (res) return res;
3911 : : }
3912 : 480 : break;
3913 : : }
3914 : 1309 : default:;
3915 : : }
3916 : 1309 : switch (TREE_CODE (_q21))
3917 : : {
3918 : 62 : case BIT_NOT_EXPR:
3919 : 62 : {
3920 : 62 : tree _q40 = TREE_OPERAND (_q21, 0);
3921 : 62 : {
3922 : 62 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q20, _p1 };
3923 : 62 : tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
3924 : 62 : if (res) return res;
3925 : : }
3926 : 62 : break;
3927 : : }
3928 : : default:;
3929 : : }
3930 : : break;
3931 : : }
3932 : 764253 : default:;
3933 : : }
3934 : 764253 : switch (TREE_CODE (_p1))
3935 : : {
3936 : 521 : case BIT_IOR_EXPR:
3937 : 521 : {
3938 : 521 : tree _q30 = TREE_OPERAND (_p1, 0);
3939 : 521 : tree _q31 = TREE_OPERAND (_p1, 1);
3940 : 521 : switch (TREE_CODE (_q30))
3941 : : {
3942 : 21 : case BIT_NOT_EXPR:
3943 : 21 : {
3944 : 21 : tree _q40 = TREE_OPERAND (_q30, 0);
3945 : 21 : {
3946 : 21 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q31, _p0 };
3947 : 21 : tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
3948 : 21 : if (res) return res;
3949 : : }
3950 : 21 : break;
3951 : : }
3952 : 521 : default:;
3953 : : }
3954 : 521 : switch (TREE_CODE (_q31))
3955 : : {
3956 : 25 : case BIT_NOT_EXPR:
3957 : 25 : {
3958 : 25 : tree _q50 = TREE_OPERAND (_q31, 0);
3959 : 25 : {
3960 : 25 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q31, _q50, _q30, _p0 };
3961 : 25 : tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
3962 : 25 : if (res) return res;
3963 : : }
3964 : 25 : break;
3965 : : }
3966 : : default:;
3967 : : }
3968 : : break;
3969 : : }
3970 : 764253 : default:;
3971 : : }
3972 : 764253 : switch (TREE_CODE (_p0))
3973 : : {
3974 : 2846 : case BIT_AND_EXPR:
3975 : 2846 : {
3976 : 2846 : tree _q20 = TREE_OPERAND (_p0, 0);
3977 : 2846 : tree _q21 = TREE_OPERAND (_p0, 1);
3978 : 2846 : switch (TREE_CODE (_q20))
3979 : : {
3980 : 90 : case BIT_NOT_EXPR:
3981 : 90 : {
3982 : 90 : tree _q30 = TREE_OPERAND (_q20, 0);
3983 : 90 : {
3984 : 90 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _p1 };
3985 : 90 : tree res = generic_simplify_154 (loc, type, _p0, _p1, captures);
3986 : 90 : if (res) return res;
3987 : : }
3988 : 89 : break;
3989 : : }
3990 : 2845 : default:;
3991 : : }
3992 : 2845 : switch (TREE_CODE (_q21))
3993 : : {
3994 : 41 : case BIT_NOT_EXPR:
3995 : 41 : {
3996 : 41 : tree _q40 = TREE_OPERAND (_q21, 0);
3997 : 41 : {
3998 : 41 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q20, _p1 };
3999 : 41 : tree res = generic_simplify_154 (loc, type, _p0, _p1, captures);
4000 : 41 : if (res) return res;
4001 : : }
4002 : 41 : break;
4003 : : }
4004 : : default:;
4005 : : }
4006 : : break;
4007 : : }
4008 : 764252 : default:;
4009 : : }
4010 : 764252 : switch (TREE_CODE (_p1))
4011 : : {
4012 : 707 : case BIT_AND_EXPR:
4013 : 707 : {
4014 : 707 : tree _q30 = TREE_OPERAND (_p1, 0);
4015 : 707 : tree _q31 = TREE_OPERAND (_p1, 1);
4016 : 707 : switch (TREE_CODE (_q30))
4017 : : {
4018 : 57 : case BIT_NOT_EXPR:
4019 : 57 : {
4020 : 57 : tree _q40 = TREE_OPERAND (_q30, 0);
4021 : 57 : {
4022 : 57 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q31, _p0 };
4023 : 57 : tree res = generic_simplify_154 (loc, type, _p0, _p1, captures);
4024 : 57 : if (res) return res;
4025 : : }
4026 : 57 : break;
4027 : : }
4028 : 707 : default:;
4029 : : }
4030 : 707 : switch (TREE_CODE (_q31))
4031 : : {
4032 : 8 : case BIT_NOT_EXPR:
4033 : 8 : {
4034 : 8 : tree _q50 = TREE_OPERAND (_q31, 0);
4035 : 8 : {
4036 : 8 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q31, _q50, _q30, _p0 };
4037 : 8 : tree res = generic_simplify_154 (loc, type, _p0, _p1, captures);
4038 : 8 : if (res) return res;
4039 : : }
4040 : 8 : break;
4041 : : }
4042 : : default:;
4043 : : }
4044 : : break;
4045 : : }
4046 : 764252 : default:;
4047 : : }
4048 : 764252 : switch (TREE_CODE (_p0))
4049 : : {
4050 : 541587 : CASE_CONVERT:
4051 : 541587 : {
4052 : 541587 : tree _q20 = TREE_OPERAND (_p0, 0);
4053 : 541587 : switch (TREE_CODE (_p1))
4054 : : {
4055 : 537523 : CASE_CONVERT:
4056 : 537523 : {
4057 : 537523 : tree _q40 = TREE_OPERAND (_p1, 0);
4058 : 537523 : {
4059 : 537523 : tree _q40_pops[1];
4060 : 537523 : if (tree_maybe_bit_not (_q40, _q40_pops))
4061 : : {
4062 : 0 : tree _q50 = _q40_pops[0];
4063 : 0 : {
4064 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
4065 : 0 : tree res = generic_simplify_88 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4066 : 0 : if (res) return res;
4067 : : }
4068 : : }
4069 : : }
4070 : 537523 : break;
4071 : : }
4072 : 541587 : default:;
4073 : : }
4074 : 541587 : {
4075 : 541587 : tree _q20_pops[1];
4076 : 541587 : if (tree_maybe_bit_not (_q20, _q20_pops))
4077 : : {
4078 : 23395 : tree _q30 = _q20_pops[0];
4079 : 23395 : switch (TREE_CODE (_p1))
4080 : : {
4081 : 23345 : CASE_CONVERT:
4082 : 23345 : {
4083 : 23345 : tree _q50 = TREE_OPERAND (_p1, 0);
4084 : 23345 : {
4085 : 23345 : tree captures[2] ATTRIBUTE_UNUSED = { _q50, _q30 };
4086 : 23345 : tree res = generic_simplify_88 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4087 : 23345 : if (res) return res;
4088 : : }
4089 : 23345 : break;
4090 : : }
4091 : : default:;
4092 : : }
4093 : : }
4094 : : }
4095 : 541587 : break;
4096 : : }
4097 : 764252 : default:;
4098 : : }
4099 : 764252 : {
4100 : 764252 : tree _p1_pops[1];
4101 : 764252 : if (tree_maybe_bit_not (_p1, _p1_pops))
4102 : : {
4103 : 8714 : tree _q30 = _p1_pops[0];
4104 : 8714 : {
4105 : 8714 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
4106 : 8714 : tree res = generic_simplify_88 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4107 : 8714 : if (res) return res;
4108 : : }
4109 : : }
4110 : : }
4111 : 764252 : {
4112 : 764252 : tree _p0_pops[1];
4113 : 764252 : if (tree_maybe_bit_not (_p0, _p0_pops))
4114 : : {
4115 : 1039 : tree _q20 = _p0_pops[0];
4116 : 1039 : {
4117 : 1039 : tree captures[2] ATTRIBUTE_UNUSED = { _p1, _q20 };
4118 : 1039 : tree res = generic_simplify_88 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4119 : 1039 : if (res) return res;
4120 : : }
4121 : : }
4122 : : }
4123 : 764231 : if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
4124 : : {
4125 : 151 : {
4126 : 151 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
4127 : 151 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1257;
4128 : 151 : {
4129 : 151 : tree _r;
4130 : 151 : _r = build_zero_cst (type);
4131 : 151 : if (TREE_SIDE_EFFECTS (captures[0]))
4132 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
4133 : 151 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 905, __FILE__, __LINE__, true);
4134 : 151 : return _r;
4135 : : }
4136 : 0 : next_after_fail1257:;
4137 : : }
4138 : : }
4139 : 764080 : if (integer_all_onesp (_p1))
4140 : : {
4141 : 1040 : {
4142 : 1040 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
4143 : 1040 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1258;
4144 : 1040 : {
4145 : 1040 : tree res_op0;
4146 : 1040 : res_op0 = captures[0];
4147 : 1040 : tree _r;
4148 : 1040 : _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
4149 : 1040 : if (TREE_SIDE_EFFECTS (captures[1]))
4150 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
4151 : 1040 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 906, __FILE__, __LINE__, true);
4152 : 1040 : return _r;
4153 : : }
4154 : 0 : next_after_fail1258:;
4155 : : }
4156 : : }
4157 : 763040 : switch (TREE_CODE (_p0))
4158 : : {
4159 : 1302 : case BIT_IOR_EXPR:
4160 : 1302 : {
4161 : 1302 : tree _q20 = TREE_OPERAND (_p0, 0);
4162 : 1302 : tree _q21 = TREE_OPERAND (_p0, 1);
4163 : 1302 : switch (TREE_CODE (_p1))
4164 : : {
4165 : 179 : case BIT_IOR_EXPR:
4166 : 179 : {
4167 : 179 : tree _q50 = TREE_OPERAND (_p1, 0);
4168 : 179 : tree _q51 = TREE_OPERAND (_p1, 1);
4169 : 179 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
4170 : : {
4171 : 0 : switch (TREE_CODE (_q51))
4172 : : {
4173 : 0 : case BIT_NOT_EXPR:
4174 : 0 : {
4175 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
4176 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
4177 : : {
4178 : 0 : {
4179 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
4180 : 0 : tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
4181 : 0 : if (res) return res;
4182 : : }
4183 : : }
4184 : : break;
4185 : : }
4186 : : default:;
4187 : : }
4188 : : }
4189 : 179 : switch (TREE_CODE (_q50))
4190 : : {
4191 : 20 : case BIT_NOT_EXPR:
4192 : 20 : {
4193 : 20 : tree _q60 = TREE_OPERAND (_q50, 0);
4194 : 20 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
4195 : : {
4196 : 2 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
4197 : : {
4198 : 1 : {
4199 : 1 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
4200 : 1 : tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
4201 : 1 : if (res) return res;
4202 : : }
4203 : : }
4204 : : }
4205 : 19 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
4206 : : {
4207 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4208 : : {
4209 : 0 : {
4210 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
4211 : 0 : tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
4212 : 0 : if (res) return res;
4213 : : }
4214 : : }
4215 : : }
4216 : : break;
4217 : : }
4218 : 178 : default:;
4219 : : }
4220 : 178 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
4221 : : {
4222 : 0 : switch (TREE_CODE (_q51))
4223 : : {
4224 : 0 : case BIT_NOT_EXPR:
4225 : 0 : {
4226 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
4227 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
4228 : : {
4229 : 0 : {
4230 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
4231 : 0 : tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
4232 : 0 : if (res) return res;
4233 : : }
4234 : : }
4235 : : break;
4236 : : }
4237 : : default:;
4238 : : }
4239 : : }
4240 : : break;
4241 : : }
4242 : 1301 : default:;
4243 : : }
4244 : 1301 : switch (TREE_CODE (_q21))
4245 : : {
4246 : 62 : case BIT_NOT_EXPR:
4247 : 62 : {
4248 : 62 : tree _q40 = TREE_OPERAND (_q21, 0);
4249 : 62 : switch (TREE_CODE (_p1))
4250 : : {
4251 : 9 : case BIT_IOR_EXPR:
4252 : 9 : {
4253 : 9 : tree _q60 = TREE_OPERAND (_p1, 0);
4254 : 9 : tree _q61 = TREE_OPERAND (_p1, 1);
4255 : 9 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
4256 : : {
4257 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
4258 : : {
4259 : 0 : {
4260 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
4261 : 0 : tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
4262 : 0 : if (res) return res;
4263 : : }
4264 : : }
4265 : : }
4266 : : break;
4267 : : }
4268 : : default:;
4269 : : }
4270 : : break;
4271 : : }
4272 : 1301 : default:;
4273 : : }
4274 : 1301 : switch (TREE_CODE (_q20))
4275 : : {
4276 : 480 : case BIT_NOT_EXPR:
4277 : 480 : {
4278 : 480 : tree _q30 = TREE_OPERAND (_q20, 0);
4279 : 480 : switch (TREE_CODE (_p1))
4280 : : {
4281 : 28 : case BIT_IOR_EXPR:
4282 : 28 : {
4283 : 28 : tree _q60 = TREE_OPERAND (_p1, 0);
4284 : 28 : tree _q61 = TREE_OPERAND (_p1, 1);
4285 : 28 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
4286 : : {
4287 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
4288 : : {
4289 : 0 : {
4290 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q30 };
4291 : 0 : tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
4292 : 0 : if (res) return res;
4293 : : }
4294 : : }
4295 : : }
4296 : 28 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
4297 : : {
4298 : 9 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
4299 : : {
4300 : 0 : {
4301 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q30 };
4302 : 0 : tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
4303 : 0 : if (res) return res;
4304 : : }
4305 : : }
4306 : 9 : switch (TREE_CODE (_q61))
4307 : : {
4308 : 0 : case BIT_NOT_EXPR:
4309 : 0 : {
4310 : 0 : tree _q80 = TREE_OPERAND (_q61, 0);
4311 : 0 : if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
4312 : : {
4313 : 0 : {
4314 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
4315 : 0 : tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
4316 : 0 : if (res) return res;
4317 : : }
4318 : : }
4319 : : break;
4320 : : }
4321 : : default:;
4322 : : }
4323 : : }
4324 : 28 : switch (TREE_CODE (_q60))
4325 : : {
4326 : 1 : case BIT_NOT_EXPR:
4327 : 1 : {
4328 : 1 : tree _q70 = TREE_OPERAND (_q60, 0);
4329 : 1 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
4330 : : {
4331 : 1 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
4332 : : {
4333 : 1 : {
4334 : 1 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
4335 : 1 : tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
4336 : 1 : if (res) return res;
4337 : : }
4338 : : }
4339 : : }
4340 : : break;
4341 : : }
4342 : : default:;
4343 : : }
4344 : : break;
4345 : : }
4346 : 9 : case BIT_XOR_EXPR:
4347 : 9 : {
4348 : 9 : tree _q60 = TREE_OPERAND (_p1, 0);
4349 : 9 : tree _q61 = TREE_OPERAND (_p1, 1);
4350 : 9 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
4351 : : {
4352 : 0 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
4353 : : {
4354 : 0 : {
4355 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q21, _p1 };
4356 : 0 : tree res = generic_simplify_157 (loc, type, _p0, _p1, captures);
4357 : 0 : if (res) return res;
4358 : : }
4359 : : }
4360 : : }
4361 : : break;
4362 : : }
4363 : 479 : default:;
4364 : : }
4365 : 479 : {
4366 : 479 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p1 };
4367 : 479 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
4368 : 479 : if (res) return res;
4369 : : }
4370 : 431 : break;
4371 : : }
4372 : 1252 : default:;
4373 : : }
4374 : 1252 : switch (TREE_CODE (_q21))
4375 : : {
4376 : 62 : case BIT_NOT_EXPR:
4377 : 62 : {
4378 : 62 : tree _q40 = TREE_OPERAND (_q21, 0);
4379 : 62 : switch (TREE_CODE (_p1))
4380 : : {
4381 : 9 : case BIT_IOR_EXPR:
4382 : 9 : {
4383 : 9 : tree _q60 = TREE_OPERAND (_p1, 0);
4384 : 9 : tree _q61 = TREE_OPERAND (_p1, 1);
4385 : 9 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
4386 : : {
4387 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
4388 : : {
4389 : 0 : {
4390 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
4391 : 0 : tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
4392 : 0 : if (res) return res;
4393 : : }
4394 : : }
4395 : : }
4396 : : break;
4397 : : }
4398 : 9 : case BIT_XOR_EXPR:
4399 : 9 : {
4400 : 9 : tree _q60 = TREE_OPERAND (_p1, 0);
4401 : 9 : tree _q61 = TREE_OPERAND (_p1, 1);
4402 : 9 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
4403 : : {
4404 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
4405 : : {
4406 : 0 : {
4407 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q40, _q20, _p1 };
4408 : 0 : tree res = generic_simplify_157 (loc, type, _p0, _p1, captures);
4409 : 0 : if (res) return res;
4410 : : }
4411 : : }
4412 : : }
4413 : : break;
4414 : : }
4415 : : default:;
4416 : : }
4417 : : break;
4418 : : }
4419 : 1252 : default:;
4420 : : }
4421 : 1252 : switch (TREE_CODE (_p1))
4422 : : {
4423 : 65 : case BIT_AND_EXPR:
4424 : 65 : {
4425 : 65 : tree _q50 = TREE_OPERAND (_p1, 0);
4426 : 65 : tree _q51 = TREE_OPERAND (_p1, 1);
4427 : 65 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
4428 : : {
4429 : 6 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4430 : : {
4431 : 0 : {
4432 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
4433 : 0 : tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
4434 : 0 : if (res) return res;
4435 : : }
4436 : : }
4437 : : }
4438 : : break;
4439 : : }
4440 : 36 : case BIT_XOR_EXPR:
4441 : 36 : {
4442 : 36 : tree _q50 = TREE_OPERAND (_p1, 0);
4443 : 36 : tree _q51 = TREE_OPERAND (_p1, 1);
4444 : 36 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
4445 : : {
4446 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4447 : : {
4448 : 0 : {
4449 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
4450 : 0 : tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
4451 : 0 : if (res) return res;
4452 : : }
4453 : : }
4454 : : }
4455 : : break;
4456 : : }
4457 : 1252 : default:;
4458 : : }
4459 : 1252 : switch (TREE_CODE (_q21))
4460 : : {
4461 : 62 : case BIT_NOT_EXPR:
4462 : 62 : {
4463 : 62 : tree _q40 = TREE_OPERAND (_q21, 0);
4464 : 62 : switch (TREE_CODE (_p1))
4465 : : {
4466 : 9 : case BIT_IOR_EXPR:
4467 : 9 : {
4468 : 9 : tree _q60 = TREE_OPERAND (_p1, 0);
4469 : 9 : tree _q61 = TREE_OPERAND (_p1, 1);
4470 : 9 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
4471 : : {
4472 : 0 : switch (TREE_CODE (_q61))
4473 : : {
4474 : 0 : case BIT_NOT_EXPR:
4475 : 0 : {
4476 : 0 : tree _q80 = TREE_OPERAND (_q61, 0);
4477 : 0 : if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
4478 : : {
4479 : 0 : {
4480 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
4481 : 0 : tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
4482 : 0 : if (res) return res;
4483 : : }
4484 : : }
4485 : : break;
4486 : : }
4487 : : default:;
4488 : : }
4489 : : }
4490 : 9 : switch (TREE_CODE (_q60))
4491 : : {
4492 : 0 : case BIT_NOT_EXPR:
4493 : 0 : {
4494 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
4495 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
4496 : : {
4497 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
4498 : : {
4499 : 0 : {
4500 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
4501 : 0 : tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
4502 : 0 : if (res) return res;
4503 : : }
4504 : : }
4505 : : }
4506 : : break;
4507 : : }
4508 : : default:;
4509 : : }
4510 : : break;
4511 : : }
4512 : : default:;
4513 : : }
4514 : : break;
4515 : : }
4516 : 1252 : default:;
4517 : : }
4518 : 1252 : switch (TREE_CODE (_p1))
4519 : : {
4520 : 24 : CASE_CONVERT:
4521 : 24 : {
4522 : 24 : tree _q50 = TREE_OPERAND (_p1, 0);
4523 : 24 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
4524 : : {
4525 : 0 : {
4526 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q20 };
4527 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
4528 : 0 : if (res) return res;
4529 : : }
4530 : : }
4531 : 24 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
4532 : : {
4533 : 0 : {
4534 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q21 };
4535 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
4536 : 0 : if (res) return res;
4537 : : }
4538 : : }
4539 : : break;
4540 : : }
4541 : 1252 : default:;
4542 : : }
4543 : 1252 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q20, 0))
4544 : : {
4545 : 3 : {
4546 : 3 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q20 };
4547 : 3 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
4548 : 3 : if (res) return res;
4549 : : }
4550 : : }
4551 : 1249 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q21, 0))
4552 : : {
4553 : 3 : {
4554 : 3 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q21 };
4555 : 3 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
4556 : 3 : if (res) return res;
4557 : : }
4558 : : }
4559 : 1246 : {
4560 : 1246 : tree _q20_pops[1];
4561 : 1246 : if (tree_nop_convert (_q20, _q20_pops))
4562 : : {
4563 : 8 : tree _q30 = _q20_pops[0];
4564 : 8 : switch (TREE_CODE (_q30))
4565 : : {
4566 : 8 : case BIT_NOT_EXPR:
4567 : 8 : {
4568 : 8 : tree _q40 = TREE_OPERAND (_q30, 0);
4569 : 8 : {
4570 : 8 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q21, _p1 };
4571 : 8 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
4572 : 8 : if (res) return res;
4573 : : }
4574 : 0 : break;
4575 : : }
4576 : : default:;
4577 : : }
4578 : : }
4579 : : }
4580 : 1238 : switch (TREE_CODE (_q21))
4581 : : {
4582 : 62 : case BIT_NOT_EXPR:
4583 : 62 : {
4584 : 62 : tree _q40 = TREE_OPERAND (_q21, 0);
4585 : 62 : {
4586 : 62 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q20, _p1 };
4587 : 62 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
4588 : 62 : if (res) return res;
4589 : : }
4590 : 54 : break;
4591 : : }
4592 : 1230 : default:;
4593 : : }
4594 : 1230 : {
4595 : 1230 : tree _q21_pops[1];
4596 : 1230 : if (tree_nop_convert (_q21, _q21_pops))
4597 : : {
4598 : 0 : tree _q40 = _q21_pops[0];
4599 : 0 : switch (TREE_CODE (_q40))
4600 : : {
4601 : 0 : case BIT_NOT_EXPR:
4602 : 0 : {
4603 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
4604 : 0 : {
4605 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q20, _p1 };
4606 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
4607 : 0 : if (res) return res;
4608 : : }
4609 : 0 : break;
4610 : : }
4611 : : default:;
4612 : : }
4613 : : }
4614 : : }
4615 : 1230 : break;
4616 : : }
4617 : 3897 : case BIT_XOR_EXPR:
4618 : 3897 : {
4619 : 3897 : tree _q20 = TREE_OPERAND (_p0, 0);
4620 : 3897 : tree _q21 = TREE_OPERAND (_p0, 1);
4621 : 3897 : switch (TREE_CODE (_p1))
4622 : : {
4623 : 203 : case BIT_IOR_EXPR:
4624 : 203 : {
4625 : 203 : tree _q50 = TREE_OPERAND (_p1, 0);
4626 : 203 : tree _q51 = TREE_OPERAND (_p1, 1);
4627 : 203 : switch (TREE_CODE (_q50))
4628 : : {
4629 : 1 : case BIT_NOT_EXPR:
4630 : 1 : {
4631 : 1 : tree _q60 = TREE_OPERAND (_q50, 0);
4632 : 1 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
4633 : : {
4634 : 1 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4635 : : {
4636 : 1 : {
4637 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _q21, _p0 };
4638 : 1 : tree res = generic_simplify_157 (loc, type, _p0, _p1, captures);
4639 : 1 : if (res) return res;
4640 : : }
4641 : : }
4642 : : }
4643 : : break;
4644 : : }
4645 : 202 : default:;
4646 : : }
4647 : 202 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
4648 : : {
4649 : 0 : switch (TREE_CODE (_q51))
4650 : : {
4651 : 0 : case BIT_NOT_EXPR:
4652 : 0 : {
4653 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
4654 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
4655 : : {
4656 : 0 : {
4657 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _q21, _p0 };
4658 : 0 : tree res = generic_simplify_157 (loc, type, _p0, _p1, captures);
4659 : 0 : if (res) return res;
4660 : : }
4661 : : }
4662 : : break;
4663 : : }
4664 : : default:;
4665 : : }
4666 : : }
4667 : 202 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
4668 : : {
4669 : 1 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4670 : : {
4671 : 0 : {
4672 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
4673 : 0 : tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
4674 : 0 : if (res) return res;
4675 : : }
4676 : : }
4677 : : }
4678 : : break;
4679 : : }
4680 : 41 : case BIT_AND_EXPR:
4681 : 41 : {
4682 : 41 : tree _q50 = TREE_OPERAND (_p1, 0);
4683 : 41 : tree _q51 = TREE_OPERAND (_p1, 1);
4684 : 41 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
4685 : : {
4686 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4687 : : {
4688 : 0 : {
4689 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
4690 : 0 : tree res = generic_simplify_9 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4691 : 0 : if (res) return res;
4692 : : }
4693 : : }
4694 : : }
4695 : : break;
4696 : : }
4697 : 198 : CASE_CONVERT:
4698 : 198 : {
4699 : 198 : tree _q50 = TREE_OPERAND (_p1, 0);
4700 : 198 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
4701 : : {
4702 : 0 : {
4703 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q21 };
4704 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
4705 : 0 : if (res) return res;
4706 : : }
4707 : : }
4708 : 198 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
4709 : : {
4710 : 0 : {
4711 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q20 };
4712 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
4713 : 0 : if (res) return res;
4714 : : }
4715 : : }
4716 : : break;
4717 : : }
4718 : 3896 : default:;
4719 : : }
4720 : 3896 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q21, 0))
4721 : : {
4722 : 0 : {
4723 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q21 };
4724 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
4725 : 0 : if (res) return res;
4726 : : }
4727 : : }
4728 : 3896 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q20, 0))
4729 : : {
4730 : 11 : {
4731 : 11 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q20 };
4732 : 11 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
4733 : 11 : if (res) return res;
4734 : : }
4735 : : }
4736 : : break;
4737 : : }
4738 : 2845 : case BIT_AND_EXPR:
4739 : 2845 : {
4740 : 2845 : tree _q20 = TREE_OPERAND (_p0, 0);
4741 : 2845 : tree _q21 = TREE_OPERAND (_p0, 1);
4742 : 2845 : switch (TREE_CODE (_p1))
4743 : : {
4744 : 74 : case BIT_IOR_EXPR:
4745 : 74 : {
4746 : 74 : tree _q50 = TREE_OPERAND (_p1, 0);
4747 : 74 : tree _q51 = TREE_OPERAND (_p1, 1);
4748 : 74 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
4749 : : {
4750 : 18 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4751 : : {
4752 : 0 : {
4753 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
4754 : 0 : tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
4755 : 0 : if (res) return res;
4756 : : }
4757 : : }
4758 : : }
4759 : : break;
4760 : : }
4761 : 30 : case BIT_XOR_EXPR:
4762 : 30 : {
4763 : 30 : tree _q50 = TREE_OPERAND (_p1, 0);
4764 : 30 : tree _q51 = TREE_OPERAND (_p1, 1);
4765 : 30 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
4766 : : {
4767 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4768 : : {
4769 : 0 : {
4770 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
4771 : 0 : tree res = generic_simplify_9 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4772 : 0 : if (res) return res;
4773 : : }
4774 : : }
4775 : : }
4776 : : break;
4777 : : }
4778 : 2845 : default:;
4779 : : }
4780 : 2845 : switch (TREE_CODE (_q21))
4781 : : {
4782 : 1020 : case INTEGER_CST:
4783 : 1020 : {
4784 : 1020 : switch (TREE_CODE (_p1))
4785 : : {
4786 : 15 : CASE_CONVERT:
4787 : 15 : {
4788 : 15 : tree _q50 = TREE_OPERAND (_p1, 0);
4789 : 15 : switch (TREE_CODE (_q50))
4790 : : {
4791 : 0 : case BIT_AND_EXPR:
4792 : 0 : {
4793 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
4794 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
4795 : 0 : switch (TREE_CODE (_q61))
4796 : : {
4797 : 0 : case INTEGER_CST:
4798 : 0 : {
4799 : 0 : {
4800 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50, _q60, _q61 };
4801 : 0 : tree res = generic_simplify_11 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4802 : 0 : if (res) return res;
4803 : : }
4804 : 0 : break;
4805 : : }
4806 : : default:;
4807 : : }
4808 : : break;
4809 : : }
4810 : : default:;
4811 : : }
4812 : : break;
4813 : : }
4814 : 210 : case BIT_AND_EXPR:
4815 : 210 : {
4816 : 210 : tree _q50 = TREE_OPERAND (_p1, 0);
4817 : 210 : tree _q51 = TREE_OPERAND (_p1, 1);
4818 : 210 : switch (TREE_CODE (_q51))
4819 : : {
4820 : 210 : case INTEGER_CST:
4821 : 210 : {
4822 : 210 : {
4823 : 210 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
4824 : 210 : tree res = generic_simplify_11 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4825 : 210 : if (res) return res;
4826 : : }
4827 : 209 : break;
4828 : : }
4829 : : default:;
4830 : : }
4831 : : break;
4832 : : }
4833 : : default:;
4834 : : }
4835 : : break;
4836 : : }
4837 : : default:;
4838 : : }
4839 : : break;
4840 : : }
4841 : 541430 : CASE_CONVERT:
4842 : 541430 : {
4843 : 541430 : tree _q20 = TREE_OPERAND (_p0, 0);
4844 : 541430 : switch (TREE_CODE (_q20))
4845 : : {
4846 : 24 : case BIT_AND_EXPR:
4847 : 24 : {
4848 : 24 : tree _q30 = TREE_OPERAND (_q20, 0);
4849 : 24 : tree _q31 = TREE_OPERAND (_q20, 1);
4850 : 24 : switch (TREE_CODE (_q31))
4851 : : {
4852 : 0 : case INTEGER_CST:
4853 : 0 : {
4854 : 0 : switch (TREE_CODE (_p1))
4855 : : {
4856 : 0 : CASE_CONVERT:
4857 : 0 : {
4858 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
4859 : 0 : switch (TREE_CODE (_q60))
4860 : : {
4861 : 0 : case BIT_AND_EXPR:
4862 : 0 : {
4863 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
4864 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
4865 : 0 : switch (TREE_CODE (_q71))
4866 : : {
4867 : 0 : case INTEGER_CST:
4868 : 0 : {
4869 : 0 : {
4870 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q60, _q70, _q71 };
4871 : 0 : tree res = generic_simplify_11 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4872 : 0 : if (res) return res;
4873 : : }
4874 : 0 : break;
4875 : : }
4876 : : default:;
4877 : : }
4878 : : break;
4879 : : }
4880 : : default:;
4881 : : }
4882 : : break;
4883 : : }
4884 : 0 : case BIT_AND_EXPR:
4885 : 0 : {
4886 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
4887 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
4888 : 0 : switch (TREE_CODE (_q61))
4889 : : {
4890 : 0 : case INTEGER_CST:
4891 : 0 : {
4892 : 0 : {
4893 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1, _q60, _q61 };
4894 : 0 : tree res = generic_simplify_11 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4895 : 0 : if (res) return res;
4896 : : }
4897 : 0 : break;
4898 : : }
4899 : : default:;
4900 : : }
4901 : : break;
4902 : : }
4903 : : default:;
4904 : : }
4905 : : break;
4906 : : }
4907 : : default:;
4908 : : }
4909 : : break;
4910 : : }
4911 : 17 : case BIT_IOR_EXPR:
4912 : 17 : {
4913 : 17 : tree _q30 = TREE_OPERAND (_q20, 0);
4914 : 17 : tree _q31 = TREE_OPERAND (_q20, 1);
4915 : 17 : switch (TREE_CODE (_p1))
4916 : : {
4917 : 16 : CASE_CONVERT:
4918 : 16 : {
4919 : 16 : tree _q60 = TREE_OPERAND (_p1, 0);
4920 : 16 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q30, 0))
4921 : : {
4922 : 0 : {
4923 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q30 };
4924 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
4925 : 0 : if (res) return res;
4926 : : }
4927 : : }
4928 : 16 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q31, 0))
4929 : : {
4930 : 0 : {
4931 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q31 };
4932 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
4933 : 0 : if (res) return res;
4934 : : }
4935 : : }
4936 : : break;
4937 : : }
4938 : 17 : default:;
4939 : : }
4940 : 17 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q30, 0))
4941 : : {
4942 : 0 : {
4943 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q30 };
4944 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
4945 : 0 : if (res) return res;
4946 : : }
4947 : : }
4948 : 17 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q31, 0))
4949 : : {
4950 : 0 : {
4951 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q31 };
4952 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
4953 : 0 : if (res) return res;
4954 : : }
4955 : : }
4956 : : break;
4957 : : }
4958 : 541430 : default:;
4959 : : }
4960 : 541430 : switch (TREE_CODE (_p1))
4961 : : {
4962 : 537516 : CASE_CONVERT:
4963 : 537516 : {
4964 : 537516 : tree _q40 = TREE_OPERAND (_p1, 0);
4965 : 537516 : switch (TREE_CODE (_q40))
4966 : : {
4967 : 0 : case BIT_IOR_EXPR:
4968 : 0 : {
4969 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
4970 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
4971 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
4972 : : {
4973 : 0 : {
4974 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q20 };
4975 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
4976 : 0 : if (res) return res;
4977 : : }
4978 : : }
4979 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
4980 : : {
4981 : 0 : {
4982 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q20 };
4983 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
4984 : 0 : if (res) return res;
4985 : : }
4986 : : }
4987 : : break;
4988 : : }
4989 : : default:;
4990 : : }
4991 : : break;
4992 : : }
4993 : 26 : case BIT_IOR_EXPR:
4994 : 26 : {
4995 : 26 : tree _q40 = TREE_OPERAND (_p1, 0);
4996 : 26 : tree _q41 = TREE_OPERAND (_p1, 1);
4997 : 26 : if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _q20, 0))
4998 : : {
4999 : 0 : {
5000 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q20 };
5001 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
5002 : 0 : if (res) return res;
5003 : : }
5004 : : }
5005 : 26 : if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _q20, 0))
5006 : : {
5007 : 0 : {
5008 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q20 };
5009 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
5010 : 0 : if (res) return res;
5011 : : }
5012 : : }
5013 : : break;
5014 : : }
5015 : : default:;
5016 : : }
5017 : : break;
5018 : : }
5019 : 762955 : default:;
5020 : : }
5021 : 762955 : switch (TREE_CODE (_p1))
5022 : : {
5023 : 595181 : CASE_CONVERT:
5024 : 595181 : {
5025 : 595181 : tree _q30 = TREE_OPERAND (_p1, 0);
5026 : 595181 : switch (TREE_CODE (_q30))
5027 : : {
5028 : 6 : case BIT_IOR_EXPR:
5029 : 6 : {
5030 : 6 : tree _q40 = TREE_OPERAND (_q30, 0);
5031 : 6 : tree _q41 = TREE_OPERAND (_q30, 1);
5032 : 6 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _p0, 0))
5033 : : {
5034 : 0 : {
5035 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _p0 };
5036 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
5037 : 0 : if (res) return res;
5038 : : }
5039 : : }
5040 : 6 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _p0, 0))
5041 : : {
5042 : 0 : {
5043 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _p0 };
5044 : 0 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
5045 : 0 : if (res) return res;
5046 : : }
5047 : : }
5048 : : break;
5049 : : }
5050 : : default:;
5051 : : }
5052 : : break;
5053 : : }
5054 : 518 : case BIT_IOR_EXPR:
5055 : 518 : {
5056 : 518 : tree _q30 = TREE_OPERAND (_p1, 0);
5057 : 518 : tree _q31 = TREE_OPERAND (_p1, 1);
5058 : 518 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || operand_equal_p (_q30, _p0, 0))
5059 : : {
5060 : 1 : {
5061 : 1 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
5062 : 1 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
5063 : 1 : if (res) return res;
5064 : : }
5065 : : }
5066 : 517 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || operand_equal_p (_q31, _p0, 0))
5067 : : {
5068 : 1 : {
5069 : 1 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _p0 };
5070 : 1 : tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
5071 : 1 : if (res) return res;
5072 : : }
5073 : : }
5074 : : break;
5075 : : }
5076 : 762953 : default:;
5077 : : }
5078 : 762953 : {
5079 : 762953 : tree _p0_pops[1];
5080 : 762953 : if (tree_nop_convert (_p0, _p0_pops))
5081 : : {
5082 : 503019 : tree _q20 = _p0_pops[0];
5083 : 503019 : switch (TREE_CODE (_q20))
5084 : : {
5085 : 16 : case BIT_IOR_EXPR:
5086 : 16 : {
5087 : 16 : tree _q30 = TREE_OPERAND (_q20, 0);
5088 : 16 : tree _q31 = TREE_OPERAND (_q20, 1);
5089 : 16 : {
5090 : 16 : tree _q30_pops[1];
5091 : 16 : if (tree_nop_convert (_q30, _q30_pops))
5092 : : {
5093 : 0 : tree _q40 = _q30_pops[0];
5094 : 0 : switch (TREE_CODE (_q40))
5095 : : {
5096 : 0 : case BIT_NOT_EXPR:
5097 : 0 : {
5098 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
5099 : 0 : {
5100 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q31, _p1 };
5101 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
5102 : 0 : if (res) return res;
5103 : : }
5104 : 0 : break;
5105 : : }
5106 : : default:;
5107 : : }
5108 : : }
5109 : : }
5110 : 16 : {
5111 : 16 : tree _q31_pops[1];
5112 : 16 : if (tree_nop_convert (_q31, _q31_pops))
5113 : : {
5114 : 0 : tree _q50 = _q31_pops[0];
5115 : 0 : switch (TREE_CODE (_q50))
5116 : : {
5117 : 0 : case BIT_NOT_EXPR:
5118 : 0 : {
5119 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
5120 : 0 : {
5121 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q30, _p1 };
5122 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
5123 : 0 : if (res) return res;
5124 : : }
5125 : 0 : break;
5126 : : }
5127 : : default:;
5128 : : }
5129 : : }
5130 : : }
5131 : 16 : switch (TREE_CODE (_q30))
5132 : : {
5133 : 16 : case BIT_NOT_EXPR:
5134 : 16 : {
5135 : 16 : tree _q40 = TREE_OPERAND (_q30, 0);
5136 : 16 : {
5137 : 16 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q31, _p1 };
5138 : 16 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
5139 : 16 : if (res) return res;
5140 : : }
5141 : 0 : break;
5142 : : }
5143 : 0 : default:;
5144 : : }
5145 : 0 : switch (TREE_CODE (_q31))
5146 : : {
5147 : 0 : case BIT_NOT_EXPR:
5148 : 0 : {
5149 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
5150 : 0 : {
5151 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q30, _p1 };
5152 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
5153 : 0 : if (res) return res;
5154 : : }
5155 : 0 : break;
5156 : : }
5157 : : default:;
5158 : : }
5159 : : break;
5160 : : }
5161 : : default:;
5162 : : }
5163 : : }
5164 : : }
5165 : 762937 : switch (TREE_CODE (_p1))
5166 : : {
5167 : 516 : case BIT_IOR_EXPR:
5168 : 516 : {
5169 : 516 : tree _q30 = TREE_OPERAND (_p1, 0);
5170 : 516 : tree _q31 = TREE_OPERAND (_p1, 1);
5171 : 516 : {
5172 : 516 : tree _q30_pops[1];
5173 : 516 : if (tree_nop_convert (_q30, _q30_pops))
5174 : : {
5175 : 2 : tree _q40 = _q30_pops[0];
5176 : 2 : switch (TREE_CODE (_q40))
5177 : : {
5178 : 0 : case BIT_NOT_EXPR:
5179 : 0 : {
5180 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
5181 : 0 : {
5182 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q31, _p0 };
5183 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
5184 : 0 : if (res) return res;
5185 : : }
5186 : 0 : break;
5187 : : }
5188 : : default:;
5189 : : }
5190 : : }
5191 : : }
5192 : 516 : {
5193 : 516 : tree _q31_pops[1];
5194 : 516 : if (tree_nop_convert (_q31, _q31_pops))
5195 : : {
5196 : 2 : tree _q50 = _q31_pops[0];
5197 : 2 : switch (TREE_CODE (_q50))
5198 : : {
5199 : 0 : case BIT_NOT_EXPR:
5200 : 0 : {
5201 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
5202 : 0 : {
5203 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q30, _p0 };
5204 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
5205 : 0 : if (res) return res;
5206 : : }
5207 : 0 : break;
5208 : : }
5209 : : default:;
5210 : : }
5211 : : }
5212 : : }
5213 : 516 : switch (TREE_CODE (_q30))
5214 : : {
5215 : 18 : case BIT_NOT_EXPR:
5216 : 18 : {
5217 : 18 : tree _q40 = TREE_OPERAND (_q30, 0);
5218 : 18 : {
5219 : 18 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q31, _p0 };
5220 : 18 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
5221 : 18 : if (res) return res;
5222 : : }
5223 : 18 : break;
5224 : : }
5225 : 516 : default:;
5226 : : }
5227 : 516 : switch (TREE_CODE (_q31))
5228 : : {
5229 : 25 : case BIT_NOT_EXPR:
5230 : 25 : {
5231 : 25 : tree _q50 = TREE_OPERAND (_q31, 0);
5232 : 25 : {
5233 : 25 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q30, _p0 };
5234 : 25 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
5235 : 25 : if (res) return res;
5236 : : }
5237 : 17 : break;
5238 : : }
5239 : : default:;
5240 : : }
5241 : : break;
5242 : : }
5243 : 762929 : default:;
5244 : : }
5245 : 762929 : {
5246 : 762929 : tree _p1_pops[1];
5247 : 762929 : if (tree_nop_convert (_p1, _p1_pops))
5248 : : {
5249 : 559220 : tree _q30 = _p1_pops[0];
5250 : 559220 : switch (TREE_CODE (_q30))
5251 : : {
5252 : 0 : case BIT_IOR_EXPR:
5253 : 0 : {
5254 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
5255 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
5256 : 0 : {
5257 : 0 : tree _q40_pops[1];
5258 : 0 : if (tree_nop_convert (_q40, _q40_pops))
5259 : : {
5260 : 0 : tree _q50 = _q40_pops[0];
5261 : 0 : switch (TREE_CODE (_q50))
5262 : : {
5263 : 0 : case BIT_NOT_EXPR:
5264 : 0 : {
5265 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
5266 : 0 : {
5267 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q41, _p0 };
5268 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
5269 : 0 : if (res) return res;
5270 : : }
5271 : 0 : break;
5272 : : }
5273 : : default:;
5274 : : }
5275 : : }
5276 : : }
5277 : 0 : {
5278 : 0 : tree _q41_pops[1];
5279 : 0 : if (tree_nop_convert (_q41, _q41_pops))
5280 : : {
5281 : 0 : tree _q60 = _q41_pops[0];
5282 : 0 : switch (TREE_CODE (_q60))
5283 : : {
5284 : 0 : case BIT_NOT_EXPR:
5285 : 0 : {
5286 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
5287 : 0 : {
5288 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q40, _p0 };
5289 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
5290 : 0 : if (res) return res;
5291 : : }
5292 : 0 : break;
5293 : : }
5294 : : default:;
5295 : : }
5296 : : }
5297 : : }
5298 : 0 : switch (TREE_CODE (_q40))
5299 : : {
5300 : 0 : case BIT_NOT_EXPR:
5301 : 0 : {
5302 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
5303 : 0 : {
5304 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q41, _p0 };
5305 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
5306 : 0 : if (res) return res;
5307 : : }
5308 : 0 : break;
5309 : : }
5310 : 0 : default:;
5311 : : }
5312 : 0 : switch (TREE_CODE (_q41))
5313 : : {
5314 : 0 : case BIT_NOT_EXPR:
5315 : 0 : {
5316 : 0 : tree _q60 = TREE_OPERAND (_q41, 0);
5317 : 0 : {
5318 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q40, _p0 };
5319 : 0 : tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
5320 : 0 : if (res) return res;
5321 : : }
5322 : 0 : break;
5323 : : }
5324 : : default:;
5325 : : }
5326 : : break;
5327 : : }
5328 : : default:;
5329 : : }
5330 : : }
5331 : : }
5332 : 762929 : switch (TREE_CODE (_p0))
5333 : : {
5334 : 541406 : CASE_CONVERT:
5335 : 541406 : {
5336 : 541406 : tree _q20 = TREE_OPERAND (_p0, 0);
5337 : 541406 : switch (TREE_CODE (_q20))
5338 : : {
5339 : 50 : case BIT_NOT_EXPR:
5340 : 50 : {
5341 : 50 : tree _q30 = TREE_OPERAND (_q20, 0);
5342 : 50 : switch (TREE_CODE (_p1))
5343 : : {
5344 : 0 : CASE_CONVERT:
5345 : 0 : {
5346 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
5347 : 0 : switch (TREE_CODE (_q50))
5348 : : {
5349 : 0 : case BIT_NOT_EXPR:
5350 : 0 : {
5351 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
5352 : 0 : {
5353 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q60 };
5354 : 0 : tree res = generic_simplify_163 (loc, type, _p0, _p1, captures);
5355 : 0 : if (res) return res;
5356 : : }
5357 : 0 : break;
5358 : : }
5359 : : default:;
5360 : : }
5361 : : break;
5362 : : }
5363 : 0 : case BIT_NOT_EXPR:
5364 : 0 : {
5365 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
5366 : 0 : {
5367 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q50 };
5368 : 0 : tree res = generic_simplify_163 (loc, type, _p0, _p1, captures);
5369 : 0 : if (res) return res;
5370 : : }
5371 : 0 : break;
5372 : : }
5373 : 26 : case INTEGER_CST:
5374 : 26 : {
5375 : 26 : {
5376 : 26 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p1 };
5377 : 26 : tree res = generic_simplify_164 (loc, type, _p0, _p1, captures);
5378 : 26 : if (res) return res;
5379 : : }
5380 : 24 : break;
5381 : : }
5382 : : default:;
5383 : : }
5384 : : break;
5385 : : }
5386 : : default:;
5387 : : }
5388 : : break;
5389 : : }
5390 : 477 : case BIT_NOT_EXPR:
5391 : 477 : {
5392 : 477 : tree _q20 = TREE_OPERAND (_p0, 0);
5393 : 477 : switch (TREE_CODE (_p1))
5394 : : {
5395 : 18 : CASE_CONVERT:
5396 : 18 : {
5397 : 18 : tree _q40 = TREE_OPERAND (_p1, 0);
5398 : 18 : switch (TREE_CODE (_q40))
5399 : : {
5400 : 0 : case BIT_NOT_EXPR:
5401 : 0 : {
5402 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
5403 : 0 : {
5404 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
5405 : 0 : tree res = generic_simplify_163 (loc, type, _p0, _p1, captures);
5406 : 0 : if (res) return res;
5407 : : }
5408 : 0 : break;
5409 : : }
5410 : : default:;
5411 : : }
5412 : : break;
5413 : : }
5414 : 10 : case BIT_NOT_EXPR:
5415 : 10 : {
5416 : 10 : tree _q40 = TREE_OPERAND (_p1, 0);
5417 : 10 : {
5418 : 10 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
5419 : 10 : tree res = generic_simplify_163 (loc, type, _p0, _p1, captures);
5420 : 10 : if (res) return res;
5421 : : }
5422 : 0 : break;
5423 : : }
5424 : 24 : case INTEGER_CST:
5425 : 24 : {
5426 : 24 : {
5427 : 24 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
5428 : 24 : tree res = generic_simplify_164 (loc, type, _p0, _p1, captures);
5429 : 24 : if (res) return res;
5430 : : }
5431 : 0 : break;
5432 : : }
5433 : 443 : default:;
5434 : : }
5435 : 443 : {
5436 : 443 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _p1 };
5437 : 443 : tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
5438 : 443 : if (res) return res;
5439 : : }
5440 : 0 : break;
5441 : : }
5442 : 2842 : case BIT_AND_EXPR:
5443 : 2842 : {
5444 : 2842 : tree _q20 = TREE_OPERAND (_p0, 0);
5445 : 2842 : tree _q21 = TREE_OPERAND (_p0, 1);
5446 : 2842 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
5447 : : {
5448 : 75 : {
5449 : 75 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
5450 : 75 : tree res = generic_simplify_166 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
5451 : 75 : if (res) return res;
5452 : : }
5453 : : }
5454 : 2767 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
5455 : : {
5456 : 3 : {
5457 : 3 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
5458 : 3 : tree res = generic_simplify_166 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
5459 : 3 : if (res) return res;
5460 : : }
5461 : : }
5462 : 2764 : switch (TREE_CODE (_p1))
5463 : : {
5464 : 353 : case BIT_AND_EXPR:
5465 : 353 : {
5466 : 353 : tree _q50 = TREE_OPERAND (_p1, 0);
5467 : 353 : tree _q51 = TREE_OPERAND (_p1, 1);
5468 : 353 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
5469 : : {
5470 : 21 : {
5471 : 21 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q20 };
5472 : 21 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
5473 : 21 : if (res) return res;
5474 : : }
5475 : : }
5476 : 332 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
5477 : : {
5478 : 0 : {
5479 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q20 };
5480 : 0 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
5481 : 0 : if (res) return res;
5482 : : }
5483 : : }
5484 : 332 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
5485 : : {
5486 : 0 : {
5487 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q21 };
5488 : 0 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
5489 : 0 : if (res) return res;
5490 : : }
5491 : : }
5492 : 332 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q21, 0))
5493 : : {
5494 : 201 : {
5495 : 201 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q21 };
5496 : 201 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
5497 : 201 : if (res) return res;
5498 : : }
5499 : : }
5500 : : break;
5501 : : }
5502 : : default:;
5503 : : }
5504 : : break;
5505 : : }
5506 : 762150 : default:;
5507 : : }
5508 : 762150 : switch (TREE_CODE (_p1))
5509 : : {
5510 : 431 : case BIT_AND_EXPR:
5511 : 431 : {
5512 : 431 : tree _q30 = TREE_OPERAND (_p1, 0);
5513 : 431 : tree _q31 = TREE_OPERAND (_p1, 1);
5514 : 431 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
5515 : : {
5516 : 0 : {
5517 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
5518 : 0 : tree res = generic_simplify_166 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
5519 : 0 : if (res) return res;
5520 : : }
5521 : : }
5522 : 431 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
5523 : : {
5524 : 0 : {
5525 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q31, _p0 };
5526 : 0 : tree res = generic_simplify_166 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
5527 : 0 : if (res) return res;
5528 : : }
5529 : : }
5530 : : break;
5531 : : }
5532 : 762150 : default:;
5533 : : }
5534 : 762150 : switch (TREE_CODE (_p0))
5535 : : {
5536 : 541404 : CASE_CONVERT:
5537 : 541404 : {
5538 : 541404 : tree _q20 = TREE_OPERAND (_p0, 0);
5539 : 541404 : switch (TREE_CODE (_q20))
5540 : : {
5541 : 24 : case BIT_AND_EXPR:
5542 : 24 : {
5543 : 24 : tree _q30 = TREE_OPERAND (_q20, 0);
5544 : 24 : tree _q31 = TREE_OPERAND (_q20, 1);
5545 : 24 : switch (TREE_CODE (_p1))
5546 : : {
5547 : 8 : CASE_CONVERT:
5548 : 8 : {
5549 : 8 : tree _q60 = TREE_OPERAND (_p1, 0);
5550 : 8 : switch (TREE_CODE (_q60))
5551 : : {
5552 : 0 : case BIT_AND_EXPR:
5553 : 0 : {
5554 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
5555 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
5556 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || operand_equal_p (_q70, _q30, 0))
5557 : : {
5558 : 0 : {
5559 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q71, _q30 };
5560 : 0 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
5561 : 0 : if (res) return res;
5562 : : }
5563 : : }
5564 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || operand_equal_p (_q71, _q30, 0))
5565 : : {
5566 : 0 : {
5567 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q70, _q30 };
5568 : 0 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
5569 : 0 : if (res) return res;
5570 : : }
5571 : : }
5572 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || operand_equal_p (_q70, _q31, 0))
5573 : : {
5574 : 0 : {
5575 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q71, _q31 };
5576 : 0 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
5577 : 0 : if (res) return res;
5578 : : }
5579 : : }
5580 : 0 : if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || operand_equal_p (_q71, _q31, 0))
5581 : : {
5582 : 0 : {
5583 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q70, _q31 };
5584 : 0 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
5585 : 0 : if (res) return res;
5586 : : }
5587 : : }
5588 : : break;
5589 : : }
5590 : : default:;
5591 : : }
5592 : : break;
5593 : : }
5594 : : default:;
5595 : : }
5596 : : break;
5597 : : }
5598 : 23458 : case BIT_XOR_EXPR:
5599 : 23458 : {
5600 : 23458 : tree _q30 = TREE_OPERAND (_q20, 0);
5601 : 23458 : tree _q31 = TREE_OPERAND (_q20, 1);
5602 : 23458 : switch (TREE_CODE (_p1))
5603 : : {
5604 : 23393 : CASE_CONVERT:
5605 : 23393 : {
5606 : 23393 : tree _q60 = TREE_OPERAND (_p1, 0);
5607 : 23393 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q31, 0))
5608 : : {
5609 : 0 : {
5610 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q31 };
5611 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
5612 : 0 : if (res) return res;
5613 : : }
5614 : : }
5615 : 23393 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q30, 0))
5616 : : {
5617 : 0 : {
5618 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q30 };
5619 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
5620 : 0 : if (res) return res;
5621 : : }
5622 : : }
5623 : : break;
5624 : : }
5625 : 23458 : default:;
5626 : : }
5627 : 23458 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q31, 0))
5628 : : {
5629 : 0 : {
5630 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q31 };
5631 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
5632 : 0 : if (res) return res;
5633 : : }
5634 : : }
5635 : 23458 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q30, 0))
5636 : : {
5637 : 0 : {
5638 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q30 };
5639 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
5640 : 0 : if (res) return res;
5641 : : }
5642 : : }
5643 : : break;
5644 : : }
5645 : 541404 : default:;
5646 : : }
5647 : 541404 : switch (TREE_CODE (_p1))
5648 : : {
5649 : 537500 : CASE_CONVERT:
5650 : 537500 : {
5651 : 537500 : tree _q40 = TREE_OPERAND (_p1, 0);
5652 : 537500 : switch (TREE_CODE (_q40))
5653 : : {
5654 : 0 : case BIT_XOR_EXPR:
5655 : 0 : {
5656 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
5657 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
5658 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
5659 : : {
5660 : 0 : {
5661 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q20 };
5662 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
5663 : 0 : if (res) return res;
5664 : : }
5665 : : }
5666 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
5667 : : {
5668 : 0 : {
5669 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q20 };
5670 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
5671 : 0 : if (res) return res;
5672 : : }
5673 : : }
5674 : : break;
5675 : : }
5676 : : default:;
5677 : : }
5678 : : break;
5679 : : }
5680 : 2 : case BIT_XOR_EXPR:
5681 : 2 : {
5682 : 2 : tree _q40 = TREE_OPERAND (_p1, 0);
5683 : 2 : tree _q41 = TREE_OPERAND (_p1, 1);
5684 : 2 : if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _q20, 0))
5685 : : {
5686 : 0 : {
5687 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q20 };
5688 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
5689 : 0 : if (res) return res;
5690 : : }
5691 : : }
5692 : 2 : if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _q20, 0))
5693 : : {
5694 : 0 : {
5695 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q20 };
5696 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
5697 : 0 : if (res) return res;
5698 : : }
5699 : : }
5700 : : break;
5701 : : }
5702 : : default:;
5703 : : }
5704 : : break;
5705 : : }
5706 : 762150 : default:;
5707 : : }
5708 : 762150 : switch (TREE_CODE (_p1))
5709 : : {
5710 : 595147 : CASE_CONVERT:
5711 : 595147 : {
5712 : 595147 : tree _q30 = TREE_OPERAND (_p1, 0);
5713 : 595147 : switch (TREE_CODE (_q30))
5714 : : {
5715 : 8 : case BIT_XOR_EXPR:
5716 : 8 : {
5717 : 8 : tree _q40 = TREE_OPERAND (_q30, 0);
5718 : 8 : tree _q41 = TREE_OPERAND (_q30, 1);
5719 : 8 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _p0, 0))
5720 : : {
5721 : 0 : {
5722 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _p0 };
5723 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
5724 : 0 : if (res) return res;
5725 : : }
5726 : : }
5727 : 8 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _p0, 0))
5728 : : {
5729 : 0 : {
5730 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _p0 };
5731 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
5732 : 0 : if (res) return res;
5733 : : }
5734 : : }
5735 : : break;
5736 : : }
5737 : : default:;
5738 : : }
5739 : : break;
5740 : : }
5741 : 78 : case BIT_XOR_EXPR:
5742 : 78 : {
5743 : 78 : tree _q30 = TREE_OPERAND (_p1, 0);
5744 : 78 : tree _q31 = TREE_OPERAND (_p1, 1);
5745 : 78 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || operand_equal_p (_q31, _p0, 0))
5746 : : {
5747 : 0 : {
5748 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
5749 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
5750 : 0 : if (res) return res;
5751 : : }
5752 : : }
5753 : 78 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || operand_equal_p (_q30, _p0, 0))
5754 : : {
5755 : 0 : {
5756 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _p0 };
5757 : 0 : tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
5758 : 0 : if (res) return res;
5759 : : }
5760 : : }
5761 : : break;
5762 : : }
5763 : 762150 : default:;
5764 : : }
5765 : 762150 : switch (TREE_CODE (_p0))
5766 : : {
5767 : 541404 : CASE_CONVERT:
5768 : 541404 : {
5769 : 541404 : tree _q20 = TREE_OPERAND (_p0, 0);
5770 : 541404 : switch (TREE_CODE (_q20))
5771 : : {
5772 : 23458 : case BIT_XOR_EXPR:
5773 : 23458 : {
5774 : 23458 : tree _q30 = TREE_OPERAND (_q20, 0);
5775 : 23458 : tree _q31 = TREE_OPERAND (_q20, 1);
5776 : 23458 : switch (TREE_CODE (_p1))
5777 : : {
5778 : 23393 : CASE_CONVERT:
5779 : 23393 : {
5780 : 23393 : tree _q60 = TREE_OPERAND (_p1, 0);
5781 : 23393 : switch (TREE_CODE (_q60))
5782 : : {
5783 : 0 : case BIT_XOR_EXPR:
5784 : 0 : {
5785 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
5786 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
5787 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
5788 : : {
5789 : 0 : {
5790 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q71 };
5791 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
5792 : 0 : if (res) return res;
5793 : : }
5794 : : }
5795 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
5796 : : {
5797 : 0 : {
5798 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q70 };
5799 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
5800 : 0 : if (res) return res;
5801 : : }
5802 : : }
5803 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
5804 : : {
5805 : 0 : {
5806 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q71 };
5807 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
5808 : 0 : if (res) return res;
5809 : : }
5810 : : }
5811 : 0 : if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
5812 : : {
5813 : 0 : {
5814 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q70 };
5815 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
5816 : 0 : if (res) return res;
5817 : : }
5818 : : }
5819 : : break;
5820 : : }
5821 : : default:;
5822 : : }
5823 : : break;
5824 : : }
5825 : 0 : case BIT_XOR_EXPR:
5826 : 0 : {
5827 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
5828 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
5829 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
5830 : : {
5831 : 0 : {
5832 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q61 };
5833 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
5834 : 0 : if (res) return res;
5835 : : }
5836 : : }
5837 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
5838 : : {
5839 : 0 : {
5840 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q60 };
5841 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
5842 : 0 : if (res) return res;
5843 : : }
5844 : : }
5845 : 0 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
5846 : : {
5847 : 0 : {
5848 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q61 };
5849 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
5850 : 0 : if (res) return res;
5851 : : }
5852 : : }
5853 : 0 : if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
5854 : : {
5855 : 0 : {
5856 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q60 };
5857 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
5858 : 0 : if (res) return res;
5859 : : }
5860 : : }
5861 : : break;
5862 : : }
5863 : : default:;
5864 : : }
5865 : : break;
5866 : : }
5867 : 541404 : default:;
5868 : : }
5869 : 541404 : switch (TREE_CODE (_p1))
5870 : : {
5871 : 537500 : CASE_CONVERT:
5872 : 537500 : {
5873 : 537500 : tree _q40 = TREE_OPERAND (_p1, 0);
5874 : 537500 : {
5875 : 537500 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
5876 : 537500 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5877 : 537500 : if (res) return res;
5878 : : }
5879 : 501857 : break;
5880 : : }
5881 : 505761 : default:;
5882 : : }
5883 : 505761 : {
5884 : 505761 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
5885 : 505761 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5886 : 505761 : if (res) return res;
5887 : : }
5888 : 505653 : break;
5889 : : }
5890 : 3885 : case BIT_XOR_EXPR:
5891 : 3885 : {
5892 : 3885 : tree _q20 = TREE_OPERAND (_p0, 0);
5893 : 3885 : tree _q21 = TREE_OPERAND (_p0, 1);
5894 : 3885 : switch (TREE_CODE (_p1))
5895 : : {
5896 : 198 : CASE_CONVERT:
5897 : 198 : {
5898 : 198 : tree _q50 = TREE_OPERAND (_p1, 0);
5899 : 198 : switch (TREE_CODE (_q50))
5900 : : {
5901 : 0 : case BIT_XOR_EXPR:
5902 : 0 : {
5903 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
5904 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
5905 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
5906 : : {
5907 : 0 : {
5908 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q61 };
5909 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
5910 : 0 : if (res) return res;
5911 : : }
5912 : : }
5913 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
5914 : : {
5915 : 0 : {
5916 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q60 };
5917 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
5918 : 0 : if (res) return res;
5919 : : }
5920 : : }
5921 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
5922 : : {
5923 : 0 : {
5924 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q61 };
5925 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
5926 : 0 : if (res) return res;
5927 : : }
5928 : : }
5929 : 0 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
5930 : : {
5931 : 0 : {
5932 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q60 };
5933 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
5934 : 0 : if (res) return res;
5935 : : }
5936 : : }
5937 : : break;
5938 : : }
5939 : : default:;
5940 : : }
5941 : : break;
5942 : : }
5943 : 10 : case BIT_XOR_EXPR:
5944 : 10 : {
5945 : 10 : tree _q50 = TREE_OPERAND (_p1, 0);
5946 : 10 : tree _q51 = TREE_OPERAND (_p1, 1);
5947 : 10 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5948 : : {
5949 : 0 : {
5950 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
5951 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
5952 : 0 : if (res) return res;
5953 : : }
5954 : : }
5955 : 10 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
5956 : : {
5957 : 0 : {
5958 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
5959 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
5960 : 0 : if (res) return res;
5961 : : }
5962 : : }
5963 : 10 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
5964 : : {
5965 : 0 : {
5966 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
5967 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
5968 : 0 : if (res) return res;
5969 : : }
5970 : : }
5971 : 10 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5972 : : {
5973 : 0 : {
5974 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
5975 : 0 : tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
5976 : 0 : if (res) return res;
5977 : : }
5978 : : }
5979 : : break;
5980 : : }
5981 : 3885 : default:;
5982 : : }
5983 : 3885 : if (CONSTANT_CLASS_P (_q21))
5984 : : {
5985 : 49 : if (CONSTANT_CLASS_P (_p1))
5986 : : {
5987 : 30 : {
5988 : 30 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
5989 : 30 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5990 : 30 : if (res) return res;
5991 : : }
5992 : : }
5993 : : }
5994 : : break;
5995 : : }
5996 : 63 : case COND_EXPR:
5997 : 63 : {
5998 : 63 : tree _q20 = TREE_OPERAND (_p0, 0);
5999 : 63 : tree _q21 = TREE_OPERAND (_p0, 1);
6000 : 63 : tree _q22 = TREE_OPERAND (_p0, 2);
6001 : 63 : if (integer_zerop (_q22))
6002 : : {
6003 : 63 : switch (TREE_CODE (_p1))
6004 : : {
6005 : 4 : case COND_EXPR:
6006 : 4 : {
6007 : 4 : tree _q60 = TREE_OPERAND (_p1, 0);
6008 : 4 : tree _q61 = TREE_OPERAND (_p1, 1);
6009 : 4 : tree _q62 = TREE_OPERAND (_p1, 2);
6010 : 4 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
6011 : : {
6012 : 0 : if (integer_zerop (_q61))
6013 : : {
6014 : 0 : {
6015 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q62 };
6016 : 0 : const enum tree_code op = BIT_XOR_EXPR;
6017 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1259;
6018 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1259;
6019 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1259;
6020 : 0 : {
6021 : 0 : tree res_op0;
6022 : 0 : res_op0 = captures[1];
6023 : 0 : tree res_op1;
6024 : 0 : res_op1 = captures[2];
6025 : 0 : tree res_op2;
6026 : 0 : res_op2 = captures[4];
6027 : 0 : tree _r;
6028 : 0 : _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
6029 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 852, __FILE__, __LINE__, true);
6030 : 0 : return _r;
6031 : : }
6032 : 0 : next_after_fail1259:;
6033 : : }
6034 : : }
6035 : : }
6036 : : break;
6037 : : }
6038 : : default:;
6039 : : }
6040 : : }
6041 : 63 : if (integer_zerop (_q21))
6042 : : {
6043 : 0 : switch (TREE_CODE (_p1))
6044 : : {
6045 : 0 : case COND_EXPR:
6046 : 0 : {
6047 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
6048 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
6049 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
6050 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
6051 : : {
6052 : 0 : if (integer_zerop (_q62))
6053 : : {
6054 : 0 : {
6055 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q20, _q61, _p0, _q22 };
6056 : 0 : const enum tree_code op = BIT_XOR_EXPR;
6057 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1260;
6058 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1260;
6059 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1260;
6060 : 0 : {
6061 : 0 : tree res_op0;
6062 : 0 : res_op0 = captures[1];
6063 : 0 : tree res_op1;
6064 : 0 : res_op1 = captures[2];
6065 : 0 : tree res_op2;
6066 : 0 : res_op2 = captures[4];
6067 : 0 : tree _r;
6068 : 0 : _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
6069 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 852, __FILE__, __LINE__, true);
6070 : 0 : return _r;
6071 : : }
6072 : 0 : next_after_fail1260:;
6073 : : }
6074 : : }
6075 : : }
6076 : : break;
6077 : : }
6078 : : default:;
6079 : : }
6080 : : }
6081 : 63 : switch (TREE_CODE (_q20))
6082 : : {
6083 : 0 : case LT_EXPR:
6084 : 0 : {
6085 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
6086 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
6087 : 0 : if (zerop (_q22))
6088 : : {
6089 : 0 : switch (TREE_CODE (_p1))
6090 : : {
6091 : 0 : case COND_EXPR:
6092 : 0 : {
6093 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6094 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6095 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6096 : 0 : switch (TREE_CODE (_q80))
6097 : : {
6098 : 0 : case GE_EXPR:
6099 : 0 : {
6100 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6101 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6102 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6103 : : {
6104 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6105 : : {
6106 : 0 : if (zerop (_q82))
6107 : : {
6108 : 0 : {
6109 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
6110 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LT_EXPR, GE_EXPR);
6111 : 0 : if (res) return res;
6112 : : }
6113 : : }
6114 : : }
6115 : : }
6116 : : break;
6117 : : }
6118 : : default:;
6119 : : }
6120 : : break;
6121 : : }
6122 : : default:;
6123 : : }
6124 : : }
6125 : : break;
6126 : : }
6127 : 32 : case LE_EXPR:
6128 : 32 : {
6129 : 32 : tree _q30 = TREE_OPERAND (_q20, 0);
6130 : 32 : tree _q31 = TREE_OPERAND (_q20, 1);
6131 : 32 : if (zerop (_q22))
6132 : : {
6133 : 32 : switch (TREE_CODE (_p1))
6134 : : {
6135 : 0 : case COND_EXPR:
6136 : 0 : {
6137 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6138 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6139 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6140 : 0 : switch (TREE_CODE (_q80))
6141 : : {
6142 : 0 : case GT_EXPR:
6143 : 0 : {
6144 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6145 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6146 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6147 : : {
6148 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6149 : : {
6150 : 0 : if (zerop (_q82))
6151 : : {
6152 : 0 : {
6153 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
6154 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LE_EXPR, GT_EXPR);
6155 : 0 : if (res) return res;
6156 : : }
6157 : : }
6158 : : }
6159 : : }
6160 : : break;
6161 : : }
6162 : : default:;
6163 : : }
6164 : : break;
6165 : : }
6166 : : default:;
6167 : : }
6168 : : }
6169 : : break;
6170 : : }
6171 : 0 : case EQ_EXPR:
6172 : 0 : {
6173 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
6174 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
6175 : 0 : if (zerop (_q22))
6176 : : {
6177 : 0 : switch (TREE_CODE (_p1))
6178 : : {
6179 : 0 : case COND_EXPR:
6180 : 0 : {
6181 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6182 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6183 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6184 : 0 : switch (TREE_CODE (_q80))
6185 : : {
6186 : 0 : case NE_EXPR:
6187 : 0 : {
6188 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6189 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6190 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6191 : : {
6192 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6193 : : {
6194 : 0 : if (zerop (_q82))
6195 : : {
6196 : 0 : {
6197 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
6198 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, EQ_EXPR, NE_EXPR);
6199 : 0 : if (res) return res;
6200 : : }
6201 : : }
6202 : : }
6203 : : }
6204 : : break;
6205 : : }
6206 : : default:;
6207 : : }
6208 : : break;
6209 : : }
6210 : : default:;
6211 : : }
6212 : : }
6213 : : break;
6214 : : }
6215 : 31 : case NE_EXPR:
6216 : 31 : {
6217 : 31 : tree _q30 = TREE_OPERAND (_q20, 0);
6218 : 31 : tree _q31 = TREE_OPERAND (_q20, 1);
6219 : 31 : if (zerop (_q22))
6220 : : {
6221 : 31 : switch (TREE_CODE (_p1))
6222 : : {
6223 : 4 : case COND_EXPR:
6224 : 4 : {
6225 : 4 : tree _q80 = TREE_OPERAND (_p1, 0);
6226 : 4 : tree _q81 = TREE_OPERAND (_p1, 1);
6227 : 4 : tree _q82 = TREE_OPERAND (_p1, 2);
6228 : 4 : switch (TREE_CODE (_q80))
6229 : : {
6230 : 0 : case EQ_EXPR:
6231 : 0 : {
6232 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6233 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6234 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6235 : : {
6236 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6237 : : {
6238 : 0 : if (zerop (_q82))
6239 : : {
6240 : 0 : {
6241 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
6242 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, NE_EXPR, EQ_EXPR);
6243 : 0 : if (res) return res;
6244 : : }
6245 : : }
6246 : : }
6247 : : }
6248 : : break;
6249 : : }
6250 : : default:;
6251 : : }
6252 : : break;
6253 : : }
6254 : : default:;
6255 : : }
6256 : : }
6257 : : break;
6258 : : }
6259 : 0 : case GE_EXPR:
6260 : 0 : {
6261 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
6262 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
6263 : 0 : if (zerop (_q22))
6264 : : {
6265 : 0 : switch (TREE_CODE (_p1))
6266 : : {
6267 : 0 : case COND_EXPR:
6268 : 0 : {
6269 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6270 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6271 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6272 : 0 : switch (TREE_CODE (_q80))
6273 : : {
6274 : 0 : case LT_EXPR:
6275 : 0 : {
6276 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6277 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6278 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6279 : : {
6280 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6281 : : {
6282 : 0 : if (zerop (_q82))
6283 : : {
6284 : 0 : {
6285 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
6286 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, GE_EXPR, LT_EXPR);
6287 : 0 : if (res) return res;
6288 : : }
6289 : : }
6290 : : }
6291 : : }
6292 : : break;
6293 : : }
6294 : : default:;
6295 : : }
6296 : : break;
6297 : : }
6298 : : default:;
6299 : : }
6300 : : }
6301 : : break;
6302 : : }
6303 : 0 : case GT_EXPR:
6304 : 0 : {
6305 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
6306 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
6307 : 0 : if (zerop (_q22))
6308 : : {
6309 : 0 : switch (TREE_CODE (_p1))
6310 : : {
6311 : 0 : case COND_EXPR:
6312 : 0 : {
6313 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6314 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6315 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6316 : 0 : switch (TREE_CODE (_q80))
6317 : : {
6318 : 0 : case LE_EXPR:
6319 : 0 : {
6320 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6321 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6322 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6323 : : {
6324 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6325 : : {
6326 : 0 : if (zerop (_q82))
6327 : : {
6328 : 0 : {
6329 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
6330 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, GT_EXPR, LE_EXPR);
6331 : 0 : if (res) return res;
6332 : : }
6333 : : }
6334 : : }
6335 : : }
6336 : : break;
6337 : : }
6338 : : default:;
6339 : : }
6340 : : break;
6341 : : }
6342 : : default:;
6343 : : }
6344 : : }
6345 : : break;
6346 : : }
6347 : 0 : case UNORDERED_EXPR:
6348 : 0 : {
6349 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
6350 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
6351 : 0 : if (zerop (_q22))
6352 : : {
6353 : 0 : switch (TREE_CODE (_p1))
6354 : : {
6355 : 0 : case COND_EXPR:
6356 : 0 : {
6357 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6358 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6359 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6360 : 0 : switch (TREE_CODE (_q80))
6361 : : {
6362 : 0 : case ORDERED_EXPR:
6363 : 0 : {
6364 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6365 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6366 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6367 : : {
6368 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6369 : : {
6370 : 0 : if (zerop (_q82))
6371 : : {
6372 : 0 : {
6373 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
6374 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNORDERED_EXPR, ORDERED_EXPR);
6375 : 0 : if (res) return res;
6376 : : }
6377 : : }
6378 : : }
6379 : : }
6380 : : break;
6381 : : }
6382 : : default:;
6383 : : }
6384 : : break;
6385 : : }
6386 : : default:;
6387 : : }
6388 : : }
6389 : : break;
6390 : : }
6391 : 0 : case ORDERED_EXPR:
6392 : 0 : {
6393 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
6394 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
6395 : 0 : if (zerop (_q22))
6396 : : {
6397 : 0 : switch (TREE_CODE (_p1))
6398 : : {
6399 : 0 : case COND_EXPR:
6400 : 0 : {
6401 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6402 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6403 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6404 : 0 : switch (TREE_CODE (_q80))
6405 : : {
6406 : 0 : case UNORDERED_EXPR:
6407 : 0 : {
6408 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6409 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6410 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6411 : : {
6412 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6413 : : {
6414 : 0 : if (zerop (_q82))
6415 : : {
6416 : 0 : {
6417 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
6418 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, ORDERED_EXPR, UNORDERED_EXPR);
6419 : 0 : if (res) return res;
6420 : : }
6421 : : }
6422 : : }
6423 : : }
6424 : : break;
6425 : : }
6426 : : default:;
6427 : : }
6428 : : break;
6429 : : }
6430 : : default:;
6431 : : }
6432 : : }
6433 : : break;
6434 : : }
6435 : 0 : case UNLT_EXPR:
6436 : 0 : {
6437 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
6438 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
6439 : 0 : if (zerop (_q22))
6440 : : {
6441 : 0 : switch (TREE_CODE (_p1))
6442 : : {
6443 : 0 : case COND_EXPR:
6444 : 0 : {
6445 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6446 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6447 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6448 : 0 : switch (TREE_CODE (_q80))
6449 : : {
6450 : 0 : case GE_EXPR:
6451 : 0 : {
6452 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6453 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6454 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6455 : : {
6456 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6457 : : {
6458 : 0 : if (zerop (_q82))
6459 : : {
6460 : 0 : {
6461 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
6462 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNLT_EXPR, GE_EXPR);
6463 : 0 : if (res) return res;
6464 : : }
6465 : : }
6466 : : }
6467 : : }
6468 : : break;
6469 : : }
6470 : : default:;
6471 : : }
6472 : : break;
6473 : : }
6474 : : default:;
6475 : : }
6476 : : }
6477 : : break;
6478 : : }
6479 : 0 : case UNLE_EXPR:
6480 : 0 : {
6481 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
6482 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
6483 : 0 : if (zerop (_q22))
6484 : : {
6485 : 0 : switch (TREE_CODE (_p1))
6486 : : {
6487 : 0 : case COND_EXPR:
6488 : 0 : {
6489 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6490 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6491 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6492 : 0 : switch (TREE_CODE (_q80))
6493 : : {
6494 : 0 : case GT_EXPR:
6495 : 0 : {
6496 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6497 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6498 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6499 : : {
6500 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6501 : : {
6502 : 0 : if (zerop (_q82))
6503 : : {
6504 : 0 : {
6505 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
6506 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNLE_EXPR, GT_EXPR);
6507 : 0 : if (res) return res;
6508 : : }
6509 : : }
6510 : : }
6511 : : }
6512 : : break;
6513 : : }
6514 : : default:;
6515 : : }
6516 : : break;
6517 : : }
6518 : : default:;
6519 : : }
6520 : : }
6521 : : break;
6522 : : }
6523 : 0 : case UNGT_EXPR:
6524 : 0 : {
6525 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
6526 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
6527 : 0 : if (zerop (_q22))
6528 : : {
6529 : 0 : switch (TREE_CODE (_p1))
6530 : : {
6531 : 0 : case COND_EXPR:
6532 : 0 : {
6533 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6534 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6535 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6536 : 0 : switch (TREE_CODE (_q80))
6537 : : {
6538 : 0 : case LE_EXPR:
6539 : 0 : {
6540 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6541 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6542 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6543 : : {
6544 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6545 : : {
6546 : 0 : if (zerop (_q82))
6547 : : {
6548 : 0 : {
6549 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
6550 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNGT_EXPR, LE_EXPR);
6551 : 0 : if (res) return res;
6552 : : }
6553 : : }
6554 : : }
6555 : : }
6556 : : break;
6557 : : }
6558 : : default:;
6559 : : }
6560 : : break;
6561 : : }
6562 : : default:;
6563 : : }
6564 : : }
6565 : : break;
6566 : : }
6567 : 0 : case UNGE_EXPR:
6568 : 0 : {
6569 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
6570 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
6571 : 0 : if (zerop (_q22))
6572 : : {
6573 : 0 : switch (TREE_CODE (_p1))
6574 : : {
6575 : 0 : case COND_EXPR:
6576 : 0 : {
6577 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6578 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6579 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6580 : 0 : switch (TREE_CODE (_q80))
6581 : : {
6582 : 0 : case LT_EXPR:
6583 : 0 : {
6584 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6585 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6586 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6587 : : {
6588 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6589 : : {
6590 : 0 : if (zerop (_q82))
6591 : : {
6592 : 0 : {
6593 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
6594 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNGE_EXPR, LT_EXPR);
6595 : 0 : if (res) return res;
6596 : : }
6597 : : }
6598 : : }
6599 : : }
6600 : : break;
6601 : : }
6602 : : default:;
6603 : : }
6604 : : break;
6605 : : }
6606 : : default:;
6607 : : }
6608 : : }
6609 : : break;
6610 : : }
6611 : 0 : case UNEQ_EXPR:
6612 : 0 : {
6613 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
6614 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
6615 : 0 : if (zerop (_q22))
6616 : : {
6617 : 0 : switch (TREE_CODE (_p1))
6618 : : {
6619 : 0 : case COND_EXPR:
6620 : 0 : {
6621 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6622 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6623 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6624 : 0 : switch (TREE_CODE (_q80))
6625 : : {
6626 : 0 : case LTGT_EXPR:
6627 : 0 : {
6628 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6629 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6630 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6631 : : {
6632 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6633 : : {
6634 : 0 : if (zerop (_q82))
6635 : : {
6636 : 0 : {
6637 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
6638 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNEQ_EXPR, LTGT_EXPR);
6639 : 0 : if (res) return res;
6640 : : }
6641 : : }
6642 : : }
6643 : : }
6644 : : break;
6645 : : }
6646 : : default:;
6647 : : }
6648 : : break;
6649 : : }
6650 : : default:;
6651 : : }
6652 : : }
6653 : : break;
6654 : : }
6655 : 0 : case LTGT_EXPR:
6656 : 0 : {
6657 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
6658 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
6659 : 0 : if (zerop (_q22))
6660 : : {
6661 : 0 : switch (TREE_CODE (_p1))
6662 : : {
6663 : 0 : case COND_EXPR:
6664 : 0 : {
6665 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6666 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6667 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6668 : 0 : switch (TREE_CODE (_q80))
6669 : : {
6670 : 0 : case UNEQ_EXPR:
6671 : 0 : {
6672 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6673 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6674 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6675 : : {
6676 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6677 : : {
6678 : 0 : if (zerop (_q82))
6679 : : {
6680 : 0 : {
6681 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
6682 : 0 : tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LTGT_EXPR, UNEQ_EXPR);
6683 : 0 : if (res) return res;
6684 : : }
6685 : : }
6686 : : }
6687 : : }
6688 : : break;
6689 : : }
6690 : : default:;
6691 : : }
6692 : : break;
6693 : : }
6694 : : default:;
6695 : : }
6696 : : }
6697 : : break;
6698 : : }
6699 : : default:;
6700 : : }
6701 : : break;
6702 : : }
6703 : 1 : case VEC_COND_EXPR:
6704 : 1 : {
6705 : 1 : tree _q20 = TREE_OPERAND (_p0, 0);
6706 : 1 : tree _q21 = TREE_OPERAND (_p0, 1);
6707 : 1 : tree _q22 = TREE_OPERAND (_p0, 2);
6708 : 1 : if (integer_zerop (_q22))
6709 : : {
6710 : 1 : switch (TREE_CODE (_p1))
6711 : : {
6712 : 0 : case VEC_COND_EXPR:
6713 : 0 : {
6714 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
6715 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
6716 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
6717 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
6718 : : {
6719 : 0 : if (integer_zerop (_q61))
6720 : : {
6721 : 0 : {
6722 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q62 };
6723 : 0 : const enum tree_code op = BIT_XOR_EXPR;
6724 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1261;
6725 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1261;
6726 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1261;
6727 : 0 : {
6728 : 0 : tree res_op0;
6729 : 0 : res_op0 = captures[1];
6730 : 0 : tree res_op1;
6731 : 0 : res_op1 = captures[2];
6732 : 0 : tree res_op2;
6733 : 0 : res_op2 = captures[4];
6734 : 0 : tree _r;
6735 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
6736 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 852, __FILE__, __LINE__, true);
6737 : 0 : return _r;
6738 : : }
6739 : 0 : next_after_fail1261:;
6740 : : }
6741 : : }
6742 : : }
6743 : : break;
6744 : : }
6745 : : default:;
6746 : : }
6747 : : }
6748 : 1 : if (integer_zerop (_q21))
6749 : : {
6750 : 0 : switch (TREE_CODE (_p1))
6751 : : {
6752 : 0 : case VEC_COND_EXPR:
6753 : 0 : {
6754 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
6755 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
6756 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
6757 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
6758 : : {
6759 : 0 : if (integer_zerop (_q62))
6760 : : {
6761 : 0 : {
6762 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q20, _q61, _p0, _q22 };
6763 : 0 : const enum tree_code op = BIT_XOR_EXPR;
6764 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1262;
6765 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1262;
6766 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1262;
6767 : 0 : {
6768 : 0 : tree res_op0;
6769 : 0 : res_op0 = captures[1];
6770 : 0 : tree res_op1;
6771 : 0 : res_op1 = captures[2];
6772 : 0 : tree res_op2;
6773 : 0 : res_op2 = captures[4];
6774 : 0 : tree _r;
6775 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
6776 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 852, __FILE__, __LINE__, true);
6777 : 0 : return _r;
6778 : : }
6779 : 0 : next_after_fail1262:;
6780 : : }
6781 : : }
6782 : : }
6783 : : break;
6784 : : }
6785 : : default:;
6786 : : }
6787 : : }
6788 : 1 : switch (TREE_CODE (_q20))
6789 : : {
6790 : 0 : case LT_EXPR:
6791 : 0 : {
6792 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
6793 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
6794 : 0 : if (integer_zerop (_q22))
6795 : : {
6796 : 0 : switch (TREE_CODE (_p1))
6797 : : {
6798 : 0 : case VEC_COND_EXPR:
6799 : 0 : {
6800 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6801 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6802 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6803 : 0 : switch (TREE_CODE (_q80))
6804 : : {
6805 : 0 : case GE_EXPR:
6806 : 0 : {
6807 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6808 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6809 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6810 : : {
6811 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6812 : : {
6813 : 0 : if (integer_zerop (_q82))
6814 : : {
6815 : 0 : {
6816 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
6817 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LT_EXPR, GE_EXPR);
6818 : 0 : if (res) return res;
6819 : : }
6820 : : }
6821 : : }
6822 : : }
6823 : : break;
6824 : : }
6825 : : default:;
6826 : : }
6827 : : break;
6828 : : }
6829 : : default:;
6830 : : }
6831 : : }
6832 : : break;
6833 : : }
6834 : 0 : case LE_EXPR:
6835 : 0 : {
6836 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
6837 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
6838 : 0 : if (integer_zerop (_q22))
6839 : : {
6840 : 0 : switch (TREE_CODE (_p1))
6841 : : {
6842 : 0 : case VEC_COND_EXPR:
6843 : 0 : {
6844 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6845 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6846 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6847 : 0 : switch (TREE_CODE (_q80))
6848 : : {
6849 : 0 : case GT_EXPR:
6850 : 0 : {
6851 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6852 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6853 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6854 : : {
6855 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6856 : : {
6857 : 0 : if (integer_zerop (_q82))
6858 : : {
6859 : 0 : {
6860 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
6861 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LE_EXPR, GT_EXPR);
6862 : 0 : if (res) return res;
6863 : : }
6864 : : }
6865 : : }
6866 : : }
6867 : : break;
6868 : : }
6869 : : default:;
6870 : : }
6871 : : break;
6872 : : }
6873 : : default:;
6874 : : }
6875 : : }
6876 : : break;
6877 : : }
6878 : 0 : case EQ_EXPR:
6879 : 0 : {
6880 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
6881 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
6882 : 0 : if (integer_zerop (_q22))
6883 : : {
6884 : 0 : switch (TREE_CODE (_p1))
6885 : : {
6886 : 0 : case VEC_COND_EXPR:
6887 : 0 : {
6888 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6889 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6890 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6891 : 0 : switch (TREE_CODE (_q80))
6892 : : {
6893 : 0 : case NE_EXPR:
6894 : 0 : {
6895 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6896 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6897 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6898 : : {
6899 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6900 : : {
6901 : 0 : if (integer_zerop (_q82))
6902 : : {
6903 : 0 : {
6904 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
6905 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, EQ_EXPR, NE_EXPR);
6906 : 0 : if (res) return res;
6907 : : }
6908 : : }
6909 : : }
6910 : : }
6911 : : break;
6912 : : }
6913 : : default:;
6914 : : }
6915 : : break;
6916 : : }
6917 : : default:;
6918 : : }
6919 : : }
6920 : : break;
6921 : : }
6922 : 1 : case NE_EXPR:
6923 : 1 : {
6924 : 1 : tree _q30 = TREE_OPERAND (_q20, 0);
6925 : 1 : tree _q31 = TREE_OPERAND (_q20, 1);
6926 : 1 : if (integer_zerop (_q22))
6927 : : {
6928 : 1 : switch (TREE_CODE (_p1))
6929 : : {
6930 : 0 : case VEC_COND_EXPR:
6931 : 0 : {
6932 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6933 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6934 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6935 : 0 : switch (TREE_CODE (_q80))
6936 : : {
6937 : 0 : case EQ_EXPR:
6938 : 0 : {
6939 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6940 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6941 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6942 : : {
6943 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6944 : : {
6945 : 0 : if (integer_zerop (_q82))
6946 : : {
6947 : 0 : {
6948 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
6949 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, NE_EXPR, EQ_EXPR);
6950 : 0 : if (res) return res;
6951 : : }
6952 : : }
6953 : : }
6954 : : }
6955 : : break;
6956 : : }
6957 : : default:;
6958 : : }
6959 : : break;
6960 : : }
6961 : : default:;
6962 : : }
6963 : : }
6964 : : break;
6965 : : }
6966 : 0 : case GE_EXPR:
6967 : 0 : {
6968 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
6969 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
6970 : 0 : if (integer_zerop (_q22))
6971 : : {
6972 : 0 : switch (TREE_CODE (_p1))
6973 : : {
6974 : 0 : case VEC_COND_EXPR:
6975 : 0 : {
6976 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6977 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6978 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
6979 : 0 : switch (TREE_CODE (_q80))
6980 : : {
6981 : 0 : case LT_EXPR:
6982 : 0 : {
6983 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6984 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
6985 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
6986 : : {
6987 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
6988 : : {
6989 : 0 : if (integer_zerop (_q82))
6990 : : {
6991 : 0 : {
6992 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
6993 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, GE_EXPR, LT_EXPR);
6994 : 0 : if (res) return res;
6995 : : }
6996 : : }
6997 : : }
6998 : : }
6999 : : break;
7000 : : }
7001 : : default:;
7002 : : }
7003 : : break;
7004 : : }
7005 : : default:;
7006 : : }
7007 : : }
7008 : : break;
7009 : : }
7010 : 0 : case GT_EXPR:
7011 : 0 : {
7012 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7013 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7014 : 0 : if (integer_zerop (_q22))
7015 : : {
7016 : 0 : switch (TREE_CODE (_p1))
7017 : : {
7018 : 0 : case VEC_COND_EXPR:
7019 : 0 : {
7020 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7021 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7022 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7023 : 0 : switch (TREE_CODE (_q80))
7024 : : {
7025 : 0 : case LE_EXPR:
7026 : 0 : {
7027 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7028 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7029 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7030 : : {
7031 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7032 : : {
7033 : 0 : if (integer_zerop (_q82))
7034 : : {
7035 : 0 : {
7036 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
7037 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, GT_EXPR, LE_EXPR);
7038 : 0 : if (res) return res;
7039 : : }
7040 : : }
7041 : : }
7042 : : }
7043 : : break;
7044 : : }
7045 : : default:;
7046 : : }
7047 : : break;
7048 : : }
7049 : : default:;
7050 : : }
7051 : : }
7052 : : break;
7053 : : }
7054 : 0 : case UNORDERED_EXPR:
7055 : 0 : {
7056 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7057 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7058 : 0 : if (integer_zerop (_q22))
7059 : : {
7060 : 0 : switch (TREE_CODE (_p1))
7061 : : {
7062 : 0 : case VEC_COND_EXPR:
7063 : 0 : {
7064 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7065 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7066 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7067 : 0 : switch (TREE_CODE (_q80))
7068 : : {
7069 : 0 : case ORDERED_EXPR:
7070 : 0 : {
7071 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7072 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7073 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7074 : : {
7075 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7076 : : {
7077 : 0 : if (integer_zerop (_q82))
7078 : : {
7079 : 0 : {
7080 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
7081 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNORDERED_EXPR, ORDERED_EXPR);
7082 : 0 : if (res) return res;
7083 : : }
7084 : : }
7085 : : }
7086 : : }
7087 : : break;
7088 : : }
7089 : : default:;
7090 : : }
7091 : : break;
7092 : : }
7093 : : default:;
7094 : : }
7095 : : }
7096 : : break;
7097 : : }
7098 : 0 : case ORDERED_EXPR:
7099 : 0 : {
7100 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7101 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7102 : 0 : if (integer_zerop (_q22))
7103 : : {
7104 : 0 : switch (TREE_CODE (_p1))
7105 : : {
7106 : 0 : case VEC_COND_EXPR:
7107 : 0 : {
7108 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7109 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7110 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7111 : 0 : switch (TREE_CODE (_q80))
7112 : : {
7113 : 0 : case UNORDERED_EXPR:
7114 : 0 : {
7115 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7116 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7117 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7118 : : {
7119 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7120 : : {
7121 : 0 : if (integer_zerop (_q82))
7122 : : {
7123 : 0 : {
7124 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
7125 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, ORDERED_EXPR, UNORDERED_EXPR);
7126 : 0 : if (res) return res;
7127 : : }
7128 : : }
7129 : : }
7130 : : }
7131 : : break;
7132 : : }
7133 : : default:;
7134 : : }
7135 : : break;
7136 : : }
7137 : : default:;
7138 : : }
7139 : : }
7140 : : break;
7141 : : }
7142 : 0 : case UNLT_EXPR:
7143 : 0 : {
7144 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7145 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7146 : 0 : if (integer_zerop (_q22))
7147 : : {
7148 : 0 : switch (TREE_CODE (_p1))
7149 : : {
7150 : 0 : case VEC_COND_EXPR:
7151 : 0 : {
7152 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7153 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7154 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7155 : 0 : switch (TREE_CODE (_q80))
7156 : : {
7157 : 0 : case GE_EXPR:
7158 : 0 : {
7159 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7160 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7161 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7162 : : {
7163 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7164 : : {
7165 : 0 : if (integer_zerop (_q82))
7166 : : {
7167 : 0 : {
7168 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
7169 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNLT_EXPR, GE_EXPR);
7170 : 0 : if (res) return res;
7171 : : }
7172 : : }
7173 : : }
7174 : : }
7175 : : break;
7176 : : }
7177 : : default:;
7178 : : }
7179 : : break;
7180 : : }
7181 : : default:;
7182 : : }
7183 : : }
7184 : : break;
7185 : : }
7186 : 0 : case UNLE_EXPR:
7187 : 0 : {
7188 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7189 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7190 : 0 : if (integer_zerop (_q22))
7191 : : {
7192 : 0 : switch (TREE_CODE (_p1))
7193 : : {
7194 : 0 : case VEC_COND_EXPR:
7195 : 0 : {
7196 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7197 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7198 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7199 : 0 : switch (TREE_CODE (_q80))
7200 : : {
7201 : 0 : case GT_EXPR:
7202 : 0 : {
7203 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7204 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7205 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7206 : : {
7207 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7208 : : {
7209 : 0 : if (integer_zerop (_q82))
7210 : : {
7211 : 0 : {
7212 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
7213 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNLE_EXPR, GT_EXPR);
7214 : 0 : if (res) return res;
7215 : : }
7216 : : }
7217 : : }
7218 : : }
7219 : : break;
7220 : : }
7221 : : default:;
7222 : : }
7223 : : break;
7224 : : }
7225 : : default:;
7226 : : }
7227 : : }
7228 : : break;
7229 : : }
7230 : 0 : case UNGT_EXPR:
7231 : 0 : {
7232 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7233 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7234 : 0 : if (integer_zerop (_q22))
7235 : : {
7236 : 0 : switch (TREE_CODE (_p1))
7237 : : {
7238 : 0 : case VEC_COND_EXPR:
7239 : 0 : {
7240 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7241 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7242 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7243 : 0 : switch (TREE_CODE (_q80))
7244 : : {
7245 : 0 : case LE_EXPR:
7246 : 0 : {
7247 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7248 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7249 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7250 : : {
7251 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7252 : : {
7253 : 0 : if (integer_zerop (_q82))
7254 : : {
7255 : 0 : {
7256 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
7257 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNGT_EXPR, LE_EXPR);
7258 : 0 : if (res) return res;
7259 : : }
7260 : : }
7261 : : }
7262 : : }
7263 : : break;
7264 : : }
7265 : : default:;
7266 : : }
7267 : : break;
7268 : : }
7269 : : default:;
7270 : : }
7271 : : }
7272 : : break;
7273 : : }
7274 : 0 : case UNGE_EXPR:
7275 : 0 : {
7276 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7277 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7278 : 0 : if (integer_zerop (_q22))
7279 : : {
7280 : 0 : switch (TREE_CODE (_p1))
7281 : : {
7282 : 0 : case VEC_COND_EXPR:
7283 : 0 : {
7284 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7285 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7286 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7287 : 0 : switch (TREE_CODE (_q80))
7288 : : {
7289 : 0 : case LT_EXPR:
7290 : 0 : {
7291 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7292 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7293 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7294 : : {
7295 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7296 : : {
7297 : 0 : if (integer_zerop (_q82))
7298 : : {
7299 : 0 : {
7300 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
7301 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNGE_EXPR, LT_EXPR);
7302 : 0 : if (res) return res;
7303 : : }
7304 : : }
7305 : : }
7306 : : }
7307 : : break;
7308 : : }
7309 : : default:;
7310 : : }
7311 : : break;
7312 : : }
7313 : : default:;
7314 : : }
7315 : : }
7316 : : break;
7317 : : }
7318 : 0 : case UNEQ_EXPR:
7319 : 0 : {
7320 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7321 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7322 : 0 : if (integer_zerop (_q22))
7323 : : {
7324 : 0 : switch (TREE_CODE (_p1))
7325 : : {
7326 : 0 : case VEC_COND_EXPR:
7327 : 0 : {
7328 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7329 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7330 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7331 : 0 : switch (TREE_CODE (_q80))
7332 : : {
7333 : 0 : case LTGT_EXPR:
7334 : 0 : {
7335 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7336 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7337 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7338 : : {
7339 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7340 : : {
7341 : 0 : if (integer_zerop (_q82))
7342 : : {
7343 : 0 : {
7344 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
7345 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNEQ_EXPR, LTGT_EXPR);
7346 : 0 : if (res) return res;
7347 : : }
7348 : : }
7349 : : }
7350 : : }
7351 : : break;
7352 : : }
7353 : : default:;
7354 : : }
7355 : : break;
7356 : : }
7357 : : default:;
7358 : : }
7359 : : }
7360 : : break;
7361 : : }
7362 : 0 : case LTGT_EXPR:
7363 : 0 : {
7364 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
7365 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
7366 : 0 : if (integer_zerop (_q22))
7367 : : {
7368 : 0 : switch (TREE_CODE (_p1))
7369 : : {
7370 : 0 : case VEC_COND_EXPR:
7371 : 0 : {
7372 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7373 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7374 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
7375 : 0 : switch (TREE_CODE (_q80))
7376 : : {
7377 : 0 : case UNEQ_EXPR:
7378 : 0 : {
7379 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7380 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
7381 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
7382 : : {
7383 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
7384 : : {
7385 : 0 : if (integer_zerop (_q82))
7386 : : {
7387 : 0 : {
7388 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
7389 : 0 : tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LTGT_EXPR, UNEQ_EXPR);
7390 : 0 : if (res) return res;
7391 : : }
7392 : : }
7393 : : }
7394 : : }
7395 : : break;
7396 : : }
7397 : : default:;
7398 : : }
7399 : : break;
7400 : : }
7401 : : default:;
7402 : : }
7403 : : }
7404 : : break;
7405 : : }
7406 : : default:;
7407 : : }
7408 : : break;
7409 : : }
7410 : 2542 : case BIT_AND_EXPR:
7411 : 2542 : {
7412 : 2542 : tree _q20 = TREE_OPERAND (_p0, 0);
7413 : 2542 : tree _q21 = TREE_OPERAND (_p0, 1);
7414 : 2542 : if (tree_truth_valued_p (_q20))
7415 : : {
7416 : 0 : if (tree_truth_valued_p (_q21))
7417 : : {
7418 : 0 : switch (TREE_CODE (_p1))
7419 : : {
7420 : 0 : case EQ_EXPR:
7421 : 0 : {
7422 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
7423 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
7424 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
7425 : : {
7426 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
7427 : : {
7428 : 0 : {
7429 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
7430 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1263;
7431 : 0 : {
7432 : 0 : tree res_op0;
7433 : 0 : {
7434 : 0 : tree _o1[2], _r1;
7435 : 0 : _o1[0] = captures[0];
7436 : 0 : _o1[1] = captures[1];
7437 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
7438 : 0 : res_op0 = _r1;
7439 : : }
7440 : 0 : tree _r;
7441 : 0 : _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
7442 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 907, __FILE__, __LINE__, true);
7443 : 0 : return _r;
7444 : : }
7445 : 0 : next_after_fail1263:;
7446 : : }
7447 : : }
7448 : : }
7449 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
7450 : : {
7451 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
7452 : : {
7453 : 0 : {
7454 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
7455 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1264;
7456 : 0 : {
7457 : 0 : tree res_op0;
7458 : 0 : {
7459 : 0 : tree _o1[2], _r1;
7460 : 0 : _o1[0] = captures[0];
7461 : 0 : _o1[1] = captures[1];
7462 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
7463 : 0 : res_op0 = _r1;
7464 : : }
7465 : 0 : tree _r;
7466 : 0 : _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
7467 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 907, __FILE__, __LINE__, true);
7468 : 0 : return _r;
7469 : : }
7470 : 0 : next_after_fail1264:;
7471 : : }
7472 : : }
7473 : : }
7474 : : break;
7475 : : }
7476 : : default:;
7477 : : }
7478 : : }
7479 : : }
7480 : : break;
7481 : : }
7482 : 118 : case EQ_EXPR:
7483 : 118 : {
7484 : 118 : tree _q20 = TREE_OPERAND (_p0, 0);
7485 : 118 : tree _q21 = TREE_OPERAND (_p0, 1);
7486 : 118 : switch (TREE_CODE (_p1))
7487 : : {
7488 : 0 : case BIT_AND_EXPR:
7489 : 0 : {
7490 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
7491 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
7492 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
7493 : : {
7494 : 0 : if (tree_truth_valued_p (_q50))
7495 : : {
7496 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
7497 : : {
7498 : 0 : if (tree_truth_valued_p (_q51))
7499 : : {
7500 : 0 : {
7501 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
7502 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1265;
7503 : 0 : {
7504 : 0 : tree res_op0;
7505 : 0 : {
7506 : 0 : tree _o1[2], _r1;
7507 : 0 : _o1[0] = captures[0];
7508 : 0 : _o1[1] = captures[1];
7509 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
7510 : 0 : res_op0 = _r1;
7511 : : }
7512 : 0 : tree _r;
7513 : 0 : _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
7514 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 907, __FILE__, __LINE__, true);
7515 : 0 : return _r;
7516 : : }
7517 : 0 : next_after_fail1265:;
7518 : : }
7519 : : }
7520 : : }
7521 : : }
7522 : : }
7523 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
7524 : : {
7525 : 0 : if (tree_truth_valued_p (_q50))
7526 : : {
7527 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
7528 : : {
7529 : 0 : if (tree_truth_valued_p (_q51))
7530 : : {
7531 : 0 : {
7532 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
7533 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1266;
7534 : 0 : {
7535 : 0 : tree res_op0;
7536 : 0 : {
7537 : 0 : tree _o1[2], _r1;
7538 : 0 : _o1[0] = captures[0];
7539 : 0 : _o1[1] = captures[1];
7540 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
7541 : 0 : res_op0 = _r1;
7542 : : }
7543 : 0 : tree _r;
7544 : 0 : _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
7545 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 907, __FILE__, __LINE__, true);
7546 : 0 : return _r;
7547 : : }
7548 : 0 : next_after_fail1266:;
7549 : : }
7550 : : }
7551 : : }
7552 : : }
7553 : : }
7554 : : break;
7555 : : }
7556 : : default:;
7557 : : }
7558 : : break;
7559 : : }
7560 : 726369 : default:;
7561 : : }
7562 : 726369 : {
7563 : 726369 : tree _p0_pops[1];
7564 : 726369 : if (tree_logical_inverted_value (_p0, _p0_pops))
7565 : : {
7566 : 45 : tree _q20 = _p0_pops[0];
7567 : 45 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
7568 : : {
7569 : 4 : if (tree_truth_valued_p (_p1))
7570 : : {
7571 : 4 : {
7572 : 4 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
7573 : 4 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7574 : 4 : if (res) return res;
7575 : : }
7576 : : }
7577 : : }
7578 : : }
7579 : : }
7580 : 726365 : {
7581 : 726365 : tree _p0_pops[1];
7582 : 726365 : if (tree_nop_convert (_p0, _p0_pops))
7583 : : {
7584 : 503001 : tree _q20 = _p0_pops[0];
7585 : 503001 : switch (TREE_CODE (_q20))
7586 : : {
7587 : 24 : case BIT_NOT_EXPR:
7588 : 24 : {
7589 : 24 : tree _q30 = TREE_OPERAND (_q20, 0);
7590 : 24 : {
7591 : 24 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _p1 };
7592 : 24 : tree res = generic_simplify_168 (loc, type, _p0, _p1, captures);
7593 : 24 : if (res) return res;
7594 : : }
7595 : 0 : break;
7596 : : }
7597 : 20 : case MULT_EXPR:
7598 : 20 : {
7599 : 20 : tree _q30 = TREE_OPERAND (_q20, 0);
7600 : 20 : tree _q31 = TREE_OPERAND (_q20, 1);
7601 : 20 : {
7602 : 20 : tree _q30_pops[1];
7603 : 20 : if (tree_nop_convert (_q30, _q30_pops))
7604 : : {
7605 : 0 : tree _q40 = _q30_pops[0];
7606 : 0 : switch (TREE_CODE (_q31))
7607 : : {
7608 : 0 : case INTEGER_CST:
7609 : 0 : {
7610 : 0 : switch (TREE_CODE (_p1))
7611 : : {
7612 : 0 : case LSHIFT_EXPR:
7613 : 0 : {
7614 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
7615 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
7616 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
7617 : : {
7618 : 0 : switch (TREE_CODE (_q71))
7619 : : {
7620 : 0 : case INTEGER_CST:
7621 : 0 : {
7622 : 0 : {
7623 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31, _p1, _q71 };
7624 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7625 : 0 : if (res) return res;
7626 : : }
7627 : 0 : break;
7628 : : }
7629 : : default:;
7630 : : }
7631 : : }
7632 : : break;
7633 : : }
7634 : 0 : default:;
7635 : : }
7636 : 0 : {
7637 : 0 : tree _p1_pops[1];
7638 : 0 : if (tree_nop_convert (_p1, _p1_pops))
7639 : : {
7640 : 0 : tree _q70 = _p1_pops[0];
7641 : 0 : switch (TREE_CODE (_q70))
7642 : : {
7643 : 0 : case MULT_EXPR:
7644 : 0 : {
7645 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
7646 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
7647 : 0 : {
7648 : 0 : tree _q80_pops[1];
7649 : 0 : if (tree_nop_convert (_q80, _q80_pops))
7650 : : {
7651 : 0 : tree _q90 = _q80_pops[0];
7652 : 0 : switch (TREE_CODE (_q81))
7653 : : {
7654 : 0 : case INTEGER_CST:
7655 : 0 : {
7656 : 0 : {
7657 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31, _p1, _q70, _q90, _q81 };
7658 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7659 : 0 : if (res) return res;
7660 : : }
7661 : 0 : break;
7662 : : }
7663 : : default:;
7664 : : }
7665 : : }
7666 : : }
7667 : 0 : break;
7668 : : }
7669 : : default:;
7670 : : }
7671 : : }
7672 : : }
7673 : 0 : if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
7674 : : {
7675 : 0 : {
7676 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31 };
7677 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7678 : 0 : if (res) return res;
7679 : : }
7680 : : }
7681 : : break;
7682 : : }
7683 : : default:;
7684 : : }
7685 : : }
7686 : : }
7687 : 20 : break;
7688 : : }
7689 : : default:;
7690 : : }
7691 : : }
7692 : : }
7693 : 726341 : if (tree_truth_valued_p (_p0))
7694 : : {
7695 : 53932 : {
7696 : 53932 : tree _p1_pops[1];
7697 : 53932 : if (tree_logical_inverted_value (_p1, _p1_pops))
7698 : : {
7699 : 7 : tree _q30 = _p1_pops[0];
7700 : 7 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
7701 : : {
7702 : 0 : {
7703 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
7704 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
7705 : 0 : if (res) return res;
7706 : : }
7707 : : }
7708 : : }
7709 : : }
7710 : : }
7711 : 726341 : switch (TREE_CODE (_p1))
7712 : : {
7713 : 288 : case BIT_NOT_EXPR:
7714 : 288 : {
7715 : 288 : tree _q30 = TREE_OPERAND (_p1, 0);
7716 : 288 : {
7717 : 288 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _p0 };
7718 : 288 : tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
7719 : 288 : if (res) return res;
7720 : : }
7721 : 0 : break;
7722 : : }
7723 : 726053 : default:;
7724 : : }
7725 : 726053 : {
7726 : 726053 : tree _p1_pops[1];
7727 : 726053 : if (tree_nop_convert (_p1, _p1_pops))
7728 : : {
7729 : 559211 : tree _q30 = _p1_pops[0];
7730 : 559211 : switch (TREE_CODE (_q30))
7731 : : {
7732 : 0 : case BIT_NOT_EXPR:
7733 : 0 : {
7734 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
7735 : 0 : {
7736 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _p0 };
7737 : 0 : tree res = generic_simplify_168 (loc, type, _p0, _p1, captures);
7738 : 0 : if (res) return res;
7739 : : }
7740 : 0 : break;
7741 : : }
7742 : : default:;
7743 : : }
7744 : : }
7745 : : }
7746 : 726053 : switch (TREE_CODE (_p0))
7747 : : {
7748 : 1131 : case BIT_IOR_EXPR:
7749 : 1131 : {
7750 : 1131 : tree _q20 = TREE_OPERAND (_p0, 0);
7751 : 1131 : tree _q21 = TREE_OPERAND (_p0, 1);
7752 : 1131 : switch (TREE_CODE (_q21))
7753 : : {
7754 : 23 : case INTEGER_CST:
7755 : 23 : {
7756 : 23 : switch (TREE_CODE (_p1))
7757 : : {
7758 : 23 : case INTEGER_CST:
7759 : 23 : {
7760 : 23 : {
7761 : 23 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
7762 : 23 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_XOR_EXPR);
7763 : 23 : if (res) return res;
7764 : : }
7765 : 23 : break;
7766 : : }
7767 : : default:;
7768 : : }
7769 : : break;
7770 : : }
7771 : : default:;
7772 : : }
7773 : : break;
7774 : : }
7775 : 90 : case LT_EXPR:
7776 : 90 : {
7777 : 90 : tree _q20 = TREE_OPERAND (_p0, 0);
7778 : 90 : tree _q21 = TREE_OPERAND (_p0, 1);
7779 : 90 : switch (TREE_CODE (_p1))
7780 : : {
7781 : 0 : case GT_EXPR:
7782 : 0 : {
7783 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
7784 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
7785 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
7786 : : {
7787 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
7788 : : {
7789 : 0 : {
7790 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
7791 : 0 : const enum tree_code cmp1 = LT_EXPR;
7792 : 0 : const enum tree_code cmp2 = GT_EXPR;
7793 : 0 : const enum tree_code rcmp = NE_EXPR;
7794 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
7795 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
7796 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
7797 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
7798 : : )
7799 : : {
7800 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1267;
7801 : 0 : {
7802 : 0 : tree res_op0;
7803 : 0 : res_op0 = captures[0];
7804 : 0 : tree res_op1;
7805 : 0 : res_op1 = captures[1];
7806 : 0 : tree _r;
7807 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
7808 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
7809 : 0 : return _r;
7810 : : }
7811 : 0 : next_after_fail1267:;
7812 : : }
7813 : : }
7814 : : }
7815 : : }
7816 : : break;
7817 : : }
7818 : 0 : case EQ_EXPR:
7819 : 0 : {
7820 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
7821 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
7822 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
7823 : : {
7824 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
7825 : : {
7826 : 0 : {
7827 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
7828 : 0 : const enum tree_code cmp1 = LT_EXPR;
7829 : 0 : const enum tree_code cmp2 = EQ_EXPR;
7830 : 0 : const enum tree_code rcmp = LE_EXPR;
7831 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
7832 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
7833 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
7834 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
7835 : : )
7836 : : {
7837 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1268;
7838 : 0 : {
7839 : 0 : tree res_op0;
7840 : 0 : res_op0 = captures[0];
7841 : 0 : tree res_op1;
7842 : 0 : res_op1 = captures[1];
7843 : 0 : tree _r;
7844 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
7845 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
7846 : 0 : return _r;
7847 : : }
7848 : 0 : next_after_fail1268:;
7849 : : }
7850 : : }
7851 : : }
7852 : : }
7853 : : break;
7854 : : }
7855 : 0 : case NE_EXPR:
7856 : 0 : {
7857 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
7858 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
7859 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
7860 : : {
7861 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
7862 : : {
7863 : 0 : {
7864 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
7865 : 0 : const enum tree_code cmp1 = LT_EXPR;
7866 : 0 : const enum tree_code cmp2 = NE_EXPR;
7867 : 0 : const enum tree_code rcmp = GT_EXPR;
7868 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
7869 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
7870 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
7871 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
7872 : : )
7873 : : {
7874 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1269;
7875 : 0 : {
7876 : 0 : tree res_op0;
7877 : 0 : res_op0 = captures[0];
7878 : 0 : tree res_op1;
7879 : 0 : res_op1 = captures[1];
7880 : 0 : tree _r;
7881 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
7882 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
7883 : 0 : return _r;
7884 : : }
7885 : 0 : next_after_fail1269:;
7886 : : }
7887 : : }
7888 : : }
7889 : : }
7890 : : break;
7891 : : }
7892 : : default:;
7893 : : }
7894 : : break;
7895 : : }
7896 : 78 : case LE_EXPR:
7897 : 78 : {
7898 : 78 : tree _q20 = TREE_OPERAND (_p0, 0);
7899 : 78 : tree _q21 = TREE_OPERAND (_p0, 1);
7900 : 78 : switch (TREE_CODE (_p1))
7901 : : {
7902 : 0 : case GE_EXPR:
7903 : 0 : {
7904 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
7905 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
7906 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
7907 : : {
7908 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
7909 : : {
7910 : 0 : {
7911 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
7912 : 0 : const enum tree_code cmp1 = LE_EXPR;
7913 : 0 : const enum tree_code cmp2 = GE_EXPR;
7914 : 0 : const enum tree_code rcmp = NE_EXPR;
7915 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
7916 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
7917 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
7918 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
7919 : : )
7920 : : {
7921 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1270;
7922 : 0 : {
7923 : 0 : tree res_op0;
7924 : 0 : res_op0 = captures[0];
7925 : 0 : tree res_op1;
7926 : 0 : res_op1 = captures[1];
7927 : 0 : tree _r;
7928 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
7929 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
7930 : 0 : return _r;
7931 : : }
7932 : 0 : next_after_fail1270:;
7933 : : }
7934 : : }
7935 : : }
7936 : : }
7937 : : break;
7938 : : }
7939 : 0 : case EQ_EXPR:
7940 : 0 : {
7941 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
7942 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
7943 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
7944 : : {
7945 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
7946 : : {
7947 : 0 : {
7948 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
7949 : 0 : const enum tree_code cmp1 = LE_EXPR;
7950 : 0 : const enum tree_code cmp2 = EQ_EXPR;
7951 : 0 : const enum tree_code rcmp = LT_EXPR;
7952 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
7953 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
7954 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
7955 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
7956 : : )
7957 : : {
7958 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1271;
7959 : 0 : {
7960 : 0 : tree res_op0;
7961 : 0 : res_op0 = captures[0];
7962 : 0 : tree res_op1;
7963 : 0 : res_op1 = captures[1];
7964 : 0 : tree _r;
7965 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
7966 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
7967 : 0 : return _r;
7968 : : }
7969 : 0 : next_after_fail1271:;
7970 : : }
7971 : : }
7972 : : }
7973 : : }
7974 : : break;
7975 : : }
7976 : 0 : case NE_EXPR:
7977 : 0 : {
7978 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
7979 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
7980 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
7981 : : {
7982 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
7983 : : {
7984 : 0 : {
7985 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
7986 : 0 : const enum tree_code cmp1 = LE_EXPR;
7987 : 0 : const enum tree_code cmp2 = NE_EXPR;
7988 : 0 : const enum tree_code rcmp = GE_EXPR;
7989 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
7990 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
7991 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
7992 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
7993 : : )
7994 : : {
7995 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1272;
7996 : 0 : {
7997 : 0 : tree res_op0;
7998 : 0 : res_op0 = captures[0];
7999 : 0 : tree res_op1;
8000 : 0 : res_op1 = captures[1];
8001 : 0 : tree _r;
8002 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8003 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8004 : 0 : return _r;
8005 : : }
8006 : 0 : next_after_fail1272:;
8007 : : }
8008 : : }
8009 : : }
8010 : : }
8011 : : break;
8012 : : }
8013 : : default:;
8014 : : }
8015 : : break;
8016 : : }
8017 : 100 : case GT_EXPR:
8018 : 100 : {
8019 : 100 : tree _q20 = TREE_OPERAND (_p0, 0);
8020 : 100 : tree _q21 = TREE_OPERAND (_p0, 1);
8021 : 100 : switch (TREE_CODE (_p1))
8022 : : {
8023 : 0 : case GT_EXPR:
8024 : 0 : {
8025 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8026 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8027 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
8028 : : {
8029 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
8030 : : {
8031 : 0 : {
8032 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
8033 : 0 : const enum tree_code cmp1 = LT_EXPR;
8034 : 0 : const enum tree_code cmp2 = GT_EXPR;
8035 : 0 : const enum tree_code rcmp = NE_EXPR;
8036 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8037 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8038 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8039 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8040 : : )
8041 : : {
8042 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1273;
8043 : 0 : {
8044 : 0 : tree res_op0;
8045 : 0 : res_op0 = captures[0];
8046 : 0 : tree res_op1;
8047 : 0 : res_op1 = captures[1];
8048 : 0 : tree _r;
8049 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8050 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8051 : 0 : return _r;
8052 : : }
8053 : 0 : next_after_fail1273:;
8054 : : }
8055 : : }
8056 : 0 : {
8057 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
8058 : 0 : const enum tree_code cmp1 = LT_EXPR;
8059 : 0 : const enum tree_code cmp2 = GT_EXPR;
8060 : 0 : const enum tree_code rcmp = NE_EXPR;
8061 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8062 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8063 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8064 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8065 : : )
8066 : : {
8067 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1274;
8068 : 0 : {
8069 : 0 : tree res_op0;
8070 : 0 : res_op0 = captures[0];
8071 : 0 : tree res_op1;
8072 : 0 : res_op1 = captures[1];
8073 : 0 : tree _r;
8074 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8075 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8076 : 0 : return _r;
8077 : : }
8078 : 0 : next_after_fail1274:;
8079 : : }
8080 : : }
8081 : : }
8082 : : }
8083 : : break;
8084 : : }
8085 : 0 : case EQ_EXPR:
8086 : 0 : {
8087 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8088 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8089 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
8090 : : {
8091 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
8092 : : {
8093 : 0 : {
8094 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
8095 : 0 : const enum tree_code cmp1 = LT_EXPR;
8096 : 0 : const enum tree_code cmp2 = EQ_EXPR;
8097 : 0 : const enum tree_code rcmp = LE_EXPR;
8098 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8099 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8100 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8101 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8102 : : )
8103 : : {
8104 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1275;
8105 : 0 : {
8106 : 0 : tree res_op0;
8107 : 0 : res_op0 = captures[0];
8108 : 0 : tree res_op1;
8109 : 0 : res_op1 = captures[1];
8110 : 0 : tree _r;
8111 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8112 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8113 : 0 : return _r;
8114 : : }
8115 : 0 : next_after_fail1275:;
8116 : : }
8117 : : }
8118 : : }
8119 : : }
8120 : : break;
8121 : : }
8122 : 12 : case NE_EXPR:
8123 : 12 : {
8124 : 12 : tree _q50 = TREE_OPERAND (_p1, 0);
8125 : 12 : tree _q51 = TREE_OPERAND (_p1, 1);
8126 : 12 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
8127 : : {
8128 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
8129 : : {
8130 : 0 : {
8131 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
8132 : 0 : const enum tree_code cmp1 = LT_EXPR;
8133 : 0 : const enum tree_code cmp2 = NE_EXPR;
8134 : 0 : const enum tree_code rcmp = GT_EXPR;
8135 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8136 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8137 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8138 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8139 : : )
8140 : : {
8141 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1276;
8142 : 0 : {
8143 : 0 : tree res_op0;
8144 : 0 : res_op0 = captures[0];
8145 : 0 : tree res_op1;
8146 : 0 : res_op1 = captures[1];
8147 : 0 : tree _r;
8148 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8149 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8150 : 0 : return _r;
8151 : : }
8152 : 0 : next_after_fail1276:;
8153 : : }
8154 : : }
8155 : : }
8156 : : }
8157 : : break;
8158 : : }
8159 : 0 : case LT_EXPR:
8160 : 0 : {
8161 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8162 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8163 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
8164 : : {
8165 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
8166 : : {
8167 : 0 : {
8168 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
8169 : 0 : const enum tree_code cmp1 = LT_EXPR;
8170 : 0 : const enum tree_code cmp2 = GT_EXPR;
8171 : 0 : const enum tree_code rcmp = NE_EXPR;
8172 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8173 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8174 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8175 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8176 : : )
8177 : : {
8178 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1277;
8179 : 0 : {
8180 : 0 : tree res_op0;
8181 : 0 : res_op0 = captures[0];
8182 : 0 : tree res_op1;
8183 : 0 : res_op1 = captures[1];
8184 : 0 : tree _r;
8185 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8186 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8187 : 0 : return _r;
8188 : : }
8189 : 0 : next_after_fail1277:;
8190 : : }
8191 : : }
8192 : : }
8193 : : }
8194 : : break;
8195 : : }
8196 : : default:;
8197 : : }
8198 : : break;
8199 : : }
8200 : 62 : case GE_EXPR:
8201 : 62 : {
8202 : 62 : tree _q20 = TREE_OPERAND (_p0, 0);
8203 : 62 : tree _q21 = TREE_OPERAND (_p0, 1);
8204 : 62 : switch (TREE_CODE (_p1))
8205 : : {
8206 : 1 : case GE_EXPR:
8207 : 1 : {
8208 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
8209 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
8210 : 1 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
8211 : : {
8212 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
8213 : : {
8214 : 0 : {
8215 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
8216 : 0 : const enum tree_code cmp1 = LE_EXPR;
8217 : 0 : const enum tree_code cmp2 = GE_EXPR;
8218 : 0 : const enum tree_code rcmp = NE_EXPR;
8219 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8220 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8221 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8222 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8223 : : )
8224 : : {
8225 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1278;
8226 : 0 : {
8227 : 0 : tree res_op0;
8228 : 0 : res_op0 = captures[0];
8229 : 0 : tree res_op1;
8230 : 0 : res_op1 = captures[1];
8231 : 0 : tree _r;
8232 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8233 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8234 : 0 : return _r;
8235 : : }
8236 : 0 : next_after_fail1278:;
8237 : : }
8238 : : }
8239 : 0 : {
8240 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
8241 : 0 : const enum tree_code cmp1 = LE_EXPR;
8242 : 0 : const enum tree_code cmp2 = GE_EXPR;
8243 : 0 : const enum tree_code rcmp = NE_EXPR;
8244 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8245 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8246 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8247 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8248 : : )
8249 : : {
8250 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1279;
8251 : 0 : {
8252 : 0 : tree res_op0;
8253 : 0 : res_op0 = captures[0];
8254 : 0 : tree res_op1;
8255 : 0 : res_op1 = captures[1];
8256 : 0 : tree _r;
8257 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8258 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8259 : 0 : return _r;
8260 : : }
8261 : 0 : next_after_fail1279:;
8262 : : }
8263 : : }
8264 : : }
8265 : : }
8266 : : break;
8267 : : }
8268 : 0 : case EQ_EXPR:
8269 : 0 : {
8270 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8271 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8272 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
8273 : : {
8274 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
8275 : : {
8276 : 0 : {
8277 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
8278 : 0 : const enum tree_code cmp1 = LE_EXPR;
8279 : 0 : const enum tree_code cmp2 = EQ_EXPR;
8280 : 0 : const enum tree_code rcmp = LT_EXPR;
8281 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8282 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8283 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8284 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8285 : : )
8286 : : {
8287 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1280;
8288 : 0 : {
8289 : 0 : tree res_op0;
8290 : 0 : res_op0 = captures[0];
8291 : 0 : tree res_op1;
8292 : 0 : res_op1 = captures[1];
8293 : 0 : tree _r;
8294 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8295 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8296 : 0 : return _r;
8297 : : }
8298 : 0 : next_after_fail1280:;
8299 : : }
8300 : : }
8301 : : }
8302 : : }
8303 : : break;
8304 : : }
8305 : 8 : case NE_EXPR:
8306 : 8 : {
8307 : 8 : tree _q50 = TREE_OPERAND (_p1, 0);
8308 : 8 : tree _q51 = TREE_OPERAND (_p1, 1);
8309 : 8 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
8310 : : {
8311 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
8312 : : {
8313 : 0 : {
8314 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
8315 : 0 : const enum tree_code cmp1 = LE_EXPR;
8316 : 0 : const enum tree_code cmp2 = NE_EXPR;
8317 : 0 : const enum tree_code rcmp = GE_EXPR;
8318 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8319 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8320 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8321 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8322 : : )
8323 : : {
8324 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1281;
8325 : 0 : {
8326 : 0 : tree res_op0;
8327 : 0 : res_op0 = captures[0];
8328 : 0 : tree res_op1;
8329 : 0 : res_op1 = captures[1];
8330 : 0 : tree _r;
8331 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8332 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8333 : 0 : return _r;
8334 : : }
8335 : 0 : next_after_fail1281:;
8336 : : }
8337 : : }
8338 : : }
8339 : : }
8340 : : break;
8341 : : }
8342 : 0 : case LE_EXPR:
8343 : 0 : {
8344 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8345 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8346 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
8347 : : {
8348 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
8349 : : {
8350 : 0 : {
8351 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
8352 : 0 : const enum tree_code cmp1 = LE_EXPR;
8353 : 0 : const enum tree_code cmp2 = GE_EXPR;
8354 : 0 : const enum tree_code rcmp = NE_EXPR;
8355 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8356 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8357 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8358 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8359 : : )
8360 : : {
8361 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1282;
8362 : 0 : {
8363 : 0 : tree res_op0;
8364 : 0 : res_op0 = captures[0];
8365 : 0 : tree res_op1;
8366 : 0 : res_op1 = captures[1];
8367 : 0 : tree _r;
8368 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8369 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8370 : 0 : return _r;
8371 : : }
8372 : 0 : next_after_fail1282:;
8373 : : }
8374 : : }
8375 : : }
8376 : : }
8377 : : break;
8378 : : }
8379 : : default:;
8380 : : }
8381 : : break;
8382 : : }
8383 : 118 : case EQ_EXPR:
8384 : 118 : {
8385 : 118 : tree _q20 = TREE_OPERAND (_p0, 0);
8386 : 118 : tree _q21 = TREE_OPERAND (_p0, 1);
8387 : 118 : switch (TREE_CODE (_p1))
8388 : : {
8389 : 0 : case LT_EXPR:
8390 : 0 : {
8391 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8392 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8393 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
8394 : : {
8395 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
8396 : : {
8397 : 0 : {
8398 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
8399 : 0 : const enum tree_code cmp1 = LT_EXPR;
8400 : 0 : const enum tree_code cmp2 = EQ_EXPR;
8401 : 0 : const enum tree_code rcmp = LE_EXPR;
8402 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8403 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8404 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8405 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8406 : : )
8407 : : {
8408 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1283;
8409 : 0 : {
8410 : 0 : tree res_op0;
8411 : 0 : res_op0 = captures[0];
8412 : 0 : tree res_op1;
8413 : 0 : res_op1 = captures[1];
8414 : 0 : tree _r;
8415 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8416 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8417 : 0 : return _r;
8418 : : }
8419 : 0 : next_after_fail1283:;
8420 : : }
8421 : : }
8422 : : }
8423 : : }
8424 : : break;
8425 : : }
8426 : 0 : case LE_EXPR:
8427 : 0 : {
8428 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8429 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8430 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
8431 : : {
8432 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
8433 : : {
8434 : 0 : {
8435 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
8436 : 0 : const enum tree_code cmp1 = LE_EXPR;
8437 : 0 : const enum tree_code cmp2 = EQ_EXPR;
8438 : 0 : const enum tree_code rcmp = LT_EXPR;
8439 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8440 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8441 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8442 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8443 : : )
8444 : : {
8445 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1284;
8446 : 0 : {
8447 : 0 : tree res_op0;
8448 : 0 : res_op0 = captures[0];
8449 : 0 : tree res_op1;
8450 : 0 : res_op1 = captures[1];
8451 : 0 : tree _r;
8452 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8453 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8454 : 0 : return _r;
8455 : : }
8456 : 0 : next_after_fail1284:;
8457 : : }
8458 : : }
8459 : : }
8460 : : }
8461 : : break;
8462 : : }
8463 : 0 : case GT_EXPR:
8464 : 0 : {
8465 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8466 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8467 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
8468 : : {
8469 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
8470 : : {
8471 : 0 : {
8472 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
8473 : 0 : const enum tree_code cmp1 = LT_EXPR;
8474 : 0 : const enum tree_code cmp2 = EQ_EXPR;
8475 : 0 : const enum tree_code rcmp = LE_EXPR;
8476 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8477 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8478 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8479 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8480 : : )
8481 : : {
8482 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1285;
8483 : 0 : {
8484 : 0 : tree res_op0;
8485 : 0 : res_op0 = captures[0];
8486 : 0 : tree res_op1;
8487 : 0 : res_op1 = captures[1];
8488 : 0 : tree _r;
8489 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8490 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8491 : 0 : return _r;
8492 : : }
8493 : 0 : next_after_fail1285:;
8494 : : }
8495 : : }
8496 : : }
8497 : : }
8498 : : break;
8499 : : }
8500 : 8 : case GE_EXPR:
8501 : 8 : {
8502 : 8 : tree _q50 = TREE_OPERAND (_p1, 0);
8503 : 8 : tree _q51 = TREE_OPERAND (_p1, 1);
8504 : 8 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
8505 : : {
8506 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
8507 : : {
8508 : 0 : {
8509 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
8510 : 0 : const enum tree_code cmp1 = LE_EXPR;
8511 : 0 : const enum tree_code cmp2 = EQ_EXPR;
8512 : 0 : const enum tree_code rcmp = LT_EXPR;
8513 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8514 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8515 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8516 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8517 : : )
8518 : : {
8519 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1286;
8520 : 0 : {
8521 : 0 : tree res_op0;
8522 : 0 : res_op0 = captures[0];
8523 : 0 : tree res_op1;
8524 : 0 : res_op1 = captures[1];
8525 : 0 : tree _r;
8526 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8527 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8528 : 0 : return _r;
8529 : : }
8530 : 0 : next_after_fail1286:;
8531 : : }
8532 : : }
8533 : : }
8534 : : }
8535 : : break;
8536 : : }
8537 : : default:;
8538 : : }
8539 : : break;
8540 : : }
8541 : 113 : case NE_EXPR:
8542 : 113 : {
8543 : 113 : tree _q20 = TREE_OPERAND (_p0, 0);
8544 : 113 : tree _q21 = TREE_OPERAND (_p0, 1);
8545 : 113 : switch (TREE_CODE (_p1))
8546 : : {
8547 : 0 : case LT_EXPR:
8548 : 0 : {
8549 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8550 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8551 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
8552 : : {
8553 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
8554 : : {
8555 : 0 : {
8556 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
8557 : 0 : const enum tree_code cmp1 = LT_EXPR;
8558 : 0 : const enum tree_code cmp2 = NE_EXPR;
8559 : 0 : const enum tree_code rcmp = GT_EXPR;
8560 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8561 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8562 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8563 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8564 : : )
8565 : : {
8566 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1287;
8567 : 0 : {
8568 : 0 : tree res_op0;
8569 : 0 : res_op0 = captures[0];
8570 : 0 : tree res_op1;
8571 : 0 : res_op1 = captures[1];
8572 : 0 : tree _r;
8573 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8574 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8575 : 0 : return _r;
8576 : : }
8577 : 0 : next_after_fail1287:;
8578 : : }
8579 : : }
8580 : : }
8581 : : }
8582 : : break;
8583 : : }
8584 : 0 : case LE_EXPR:
8585 : 0 : {
8586 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8587 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8588 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
8589 : : {
8590 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
8591 : : {
8592 : 0 : {
8593 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
8594 : 0 : const enum tree_code cmp1 = LE_EXPR;
8595 : 0 : const enum tree_code cmp2 = NE_EXPR;
8596 : 0 : const enum tree_code rcmp = GE_EXPR;
8597 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8598 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8599 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8600 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8601 : : )
8602 : : {
8603 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1288;
8604 : 0 : {
8605 : 0 : tree res_op0;
8606 : 0 : res_op0 = captures[0];
8607 : 0 : tree res_op1;
8608 : 0 : res_op1 = captures[1];
8609 : 0 : tree _r;
8610 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8611 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8612 : 0 : return _r;
8613 : : }
8614 : 0 : next_after_fail1288:;
8615 : : }
8616 : : }
8617 : : }
8618 : : }
8619 : : break;
8620 : : }
8621 : 0 : case GT_EXPR:
8622 : 0 : {
8623 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8624 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8625 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
8626 : : {
8627 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
8628 : : {
8629 : 0 : {
8630 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
8631 : 0 : const enum tree_code cmp1 = LT_EXPR;
8632 : 0 : const enum tree_code cmp2 = NE_EXPR;
8633 : 0 : const enum tree_code rcmp = GT_EXPR;
8634 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8635 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8636 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8637 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8638 : : )
8639 : : {
8640 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1289;
8641 : 0 : {
8642 : 0 : tree res_op0;
8643 : 0 : res_op0 = captures[0];
8644 : 0 : tree res_op1;
8645 : 0 : res_op1 = captures[1];
8646 : 0 : tree _r;
8647 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8648 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8649 : 0 : return _r;
8650 : : }
8651 : 0 : next_after_fail1289:;
8652 : : }
8653 : : }
8654 : : }
8655 : : }
8656 : : break;
8657 : : }
8658 : 6 : case GE_EXPR:
8659 : 6 : {
8660 : 6 : tree _q50 = TREE_OPERAND (_p1, 0);
8661 : 6 : tree _q51 = TREE_OPERAND (_p1, 1);
8662 : 6 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
8663 : : {
8664 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
8665 : : {
8666 : 0 : {
8667 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
8668 : 0 : const enum tree_code cmp1 = LE_EXPR;
8669 : 0 : const enum tree_code cmp2 = NE_EXPR;
8670 : 0 : const enum tree_code rcmp = GE_EXPR;
8671 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
8672 : 0 : || POINTER_TYPE_P (TREE_TYPE (captures[0]))
8673 : 0 : || (VECTOR_TYPE_P (TREE_TYPE (captures[1]))
8674 : 0 : && expand_vec_cmp_expr_p (TREE_TYPE (captures[0]), type, rcmp))
8675 : : )
8676 : : {
8677 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1290;
8678 : 0 : {
8679 : 0 : tree res_op0;
8680 : 0 : res_op0 = captures[0];
8681 : 0 : tree res_op1;
8682 : 0 : res_op1 = captures[1];
8683 : 0 : tree _r;
8684 : 0 : _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
8685 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
8686 : 0 : return _r;
8687 : : }
8688 : 0 : next_after_fail1290:;
8689 : : }
8690 : : }
8691 : : }
8692 : : }
8693 : : break;
8694 : : }
8695 : : default:;
8696 : : }
8697 : : break;
8698 : : }
8699 : 523 : case MULT_EXPR:
8700 : 523 : {
8701 : 523 : tree _q20 = TREE_OPERAND (_p0, 0);
8702 : 523 : tree _q21 = TREE_OPERAND (_p0, 1);
8703 : 523 : switch (TREE_CODE (_q21))
8704 : : {
8705 : 498 : case INTEGER_CST:
8706 : 498 : {
8707 : 498 : switch (TREE_CODE (_p1))
8708 : : {
8709 : 12 : case MULT_EXPR:
8710 : 12 : {
8711 : 12 : tree _q50 = TREE_OPERAND (_p1, 0);
8712 : 12 : tree _q51 = TREE_OPERAND (_p1, 1);
8713 : 12 : switch (TREE_CODE (_q51))
8714 : : {
8715 : 12 : case INTEGER_CST:
8716 : 12 : {
8717 : 12 : {
8718 : 12 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1, _p1, _q50, _q51 };
8719 : 12 : tree res = generic_simplify_143 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
8720 : 12 : if (res) return res;
8721 : : }
8722 : 12 : break;
8723 : : }
8724 : : default:;
8725 : : }
8726 : : break;
8727 : : }
8728 : 0 : case LSHIFT_EXPR:
8729 : 0 : {
8730 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8731 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8732 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
8733 : : {
8734 : 0 : switch (TREE_CODE (_q51))
8735 : : {
8736 : 0 : case INTEGER_CST:
8737 : 0 : {
8738 : 0 : {
8739 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1, _q51 };
8740 : 0 : tree res = generic_simplify_144 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
8741 : 0 : if (res) return res;
8742 : : }
8743 : 0 : break;
8744 : : }
8745 : : default:;
8746 : : }
8747 : : }
8748 : : break;
8749 : : }
8750 : 498 : default:;
8751 : : }
8752 : 498 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
8753 : : {
8754 : 18 : {
8755 : 18 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
8756 : 18 : tree res = generic_simplify_145 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
8757 : 18 : if (res) return res;
8758 : : }
8759 : : }
8760 : : break;
8761 : : }
8762 : 523 : default:;
8763 : : }
8764 : 523 : switch (TREE_CODE (_q20))
8765 : : {
8766 : 0 : case BIT_XOR_EXPR:
8767 : 0 : {
8768 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8769 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8770 : 0 : if (tree_zero_one_valued_p (_q21))
8771 : : {
8772 : 0 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
8773 : : {
8774 : 0 : {
8775 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q21 };
8776 : 0 : tree res = generic_simplify_169 (loc, type, _p0, _p1, captures);
8777 : 0 : if (res) return res;
8778 : : }
8779 : : }
8780 : 0 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
8781 : : {
8782 : 0 : {
8783 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q21 };
8784 : 0 : tree res = generic_simplify_169 (loc, type, _p0, _p1, captures);
8785 : 0 : if (res) return res;
8786 : : }
8787 : : }
8788 : : }
8789 : : break;
8790 : : }
8791 : 523 : default:;
8792 : : }
8793 : 523 : if (tree_zero_one_valued_p (_q20))
8794 : : {
8795 : 8 : switch (TREE_CODE (_q21))
8796 : : {
8797 : 2 : case BIT_XOR_EXPR:
8798 : 2 : {
8799 : 2 : tree _q40 = TREE_OPERAND (_q21, 0);
8800 : 2 : tree _q41 = TREE_OPERAND (_q21, 1);
8801 : 2 : if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
8802 : : {
8803 : 2 : {
8804 : 2 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q20 };
8805 : 2 : tree res = generic_simplify_169 (loc, type, _p0, _p1, captures);
8806 : 2 : if (res) return res;
8807 : : }
8808 : : }
8809 : 0 : if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
8810 : : {
8811 : 0 : {
8812 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q20 };
8813 : 0 : tree res = generic_simplify_169 (loc, type, _p0, _p1, captures);
8814 : 0 : if (res) return res;
8815 : : }
8816 : : }
8817 : : break;
8818 : : }
8819 : : default:;
8820 : : }
8821 : : }
8822 : : break;
8823 : : }
8824 : 2489 : case LSHIFT_EXPR:
8825 : 2489 : {
8826 : 2489 : tree _q20 = TREE_OPERAND (_p0, 0);
8827 : 2489 : tree _q21 = TREE_OPERAND (_p0, 1);
8828 : 2489 : switch (TREE_CODE (_q21))
8829 : : {
8830 : 1108 : case INTEGER_CST:
8831 : 1108 : {
8832 : 1108 : switch (TREE_CODE (_p1))
8833 : : {
8834 : 0 : case MULT_EXPR:
8835 : 0 : {
8836 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
8837 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
8838 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
8839 : : {
8840 : 0 : switch (TREE_CODE (_q51))
8841 : : {
8842 : 0 : case INTEGER_CST:
8843 : 0 : {
8844 : 0 : {
8845 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _p1, _q20, _q51, _p0, _q21 };
8846 : 0 : tree res = generic_simplify_144 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
8847 : 0 : if (res) return res;
8848 : : }
8849 : 0 : break;
8850 : : }
8851 : : default:;
8852 : : }
8853 : : }
8854 : : break;
8855 : : }
8856 : 1108 : default:;
8857 : : }
8858 : 1108 : {
8859 : 1108 : tree _p1_pops[1];
8860 : 1108 : if (tree_nop_convert (_p1, _p1_pops))
8861 : : {
8862 : 23 : tree _q50 = _p1_pops[0];
8863 : 23 : switch (TREE_CODE (_q50))
8864 : : {
8865 : 0 : case MULT_EXPR:
8866 : 0 : {
8867 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
8868 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
8869 : 0 : {
8870 : 0 : tree _q60_pops[1];
8871 : 0 : if (tree_nop_convert (_q60, _q60_pops))
8872 : : {
8873 : 0 : tree _q70 = _q60_pops[0];
8874 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
8875 : : {
8876 : 0 : switch (TREE_CODE (_q61))
8877 : : {
8878 : 0 : case INTEGER_CST:
8879 : 0 : {
8880 : 0 : {
8881 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q50, _q20, _q61, _p0, _q21 };
8882 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
8883 : 0 : if (res) return res;
8884 : : }
8885 : 0 : break;
8886 : : }
8887 : : default:;
8888 : : }
8889 : : }
8890 : : }
8891 : : }
8892 : 0 : break;
8893 : : }
8894 : : default:;
8895 : : }
8896 : : }
8897 : : }
8898 : 1108 : break;
8899 : : }
8900 : : default:;
8901 : : }
8902 : : break;
8903 : : }
8904 : 726051 : default:;
8905 : : }
8906 : 726051 : switch (TREE_CODE (_p1))
8907 : : {
8908 : 243 : case MULT_EXPR:
8909 : 243 : {
8910 : 243 : tree _q30 = TREE_OPERAND (_p1, 0);
8911 : 243 : tree _q31 = TREE_OPERAND (_p1, 1);
8912 : 243 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
8913 : : {
8914 : 0 : switch (TREE_CODE (_q31))
8915 : : {
8916 : 0 : case INTEGER_CST:
8917 : 0 : {
8918 : 0 : {
8919 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _p0, _q31 };
8920 : 0 : tree res = generic_simplify_145 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
8921 : 0 : if (res) return res;
8922 : : }
8923 : 0 : break;
8924 : : }
8925 : : default:;
8926 : : }
8927 : : }
8928 : : break;
8929 : : }
8930 : 726051 : default:;
8931 : : }
8932 : 726051 : {
8933 : 726051 : tree _p1_pops[1];
8934 : 726051 : if (tree_nop_convert (_p1, _p1_pops))
8935 : : {
8936 : 559211 : tree _q30 = _p1_pops[0];
8937 : 559211 : switch (TREE_CODE (_q30))
8938 : : {
8939 : 17 : case MULT_EXPR:
8940 : 17 : {
8941 : 17 : tree _q40 = TREE_OPERAND (_q30, 0);
8942 : 17 : tree _q41 = TREE_OPERAND (_q30, 1);
8943 : 17 : {
8944 : 17 : tree _q40_pops[1];
8945 : 17 : if (tree_nop_convert (_q40, _q40_pops))
8946 : : {
8947 : 0 : tree _q50 = _q40_pops[0];
8948 : 0 : if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
8949 : : {
8950 : 0 : switch (TREE_CODE (_q41))
8951 : : {
8952 : 0 : case INTEGER_CST:
8953 : 0 : {
8954 : 0 : {
8955 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _p0, _q41 };
8956 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
8957 : 0 : if (res) return res;
8958 : : }
8959 : 0 : break;
8960 : : }
8961 : : default:;
8962 : : }
8963 : : }
8964 : : }
8965 : : }
8966 : 17 : break;
8967 : : }
8968 : : default:;
8969 : : }
8970 : : }
8971 : : }
8972 : 726051 : switch (TREE_CODE (_p0))
8973 : : {
8974 : 2489 : case LSHIFT_EXPR:
8975 : 2489 : {
8976 : 2489 : tree _q20 = TREE_OPERAND (_p0, 0);
8977 : 2489 : tree _q21 = TREE_OPERAND (_p0, 1);
8978 : 2489 : switch (TREE_CODE (_q21))
8979 : : {
8980 : 1108 : case INTEGER_CST:
8981 : 1108 : {
8982 : 1108 : switch (TREE_CODE (_p1))
8983 : : {
8984 : 9 : case LSHIFT_EXPR:
8985 : 9 : {
8986 : 9 : tree _q50 = TREE_OPERAND (_p1, 0);
8987 : 9 : tree _q51 = TREE_OPERAND (_p1, 1);
8988 : 9 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
8989 : : {
8990 : 3 : switch (TREE_CODE (_q51))
8991 : : {
8992 : 3 : case INTEGER_CST:
8993 : 3 : {
8994 : 3 : {
8995 : 3 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
8996 : 3 : tree res = generic_simplify_146 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
8997 : 3 : if (res) return res;
8998 : : }
8999 : 1 : break;
9000 : : }
9001 : : default:;
9002 : : }
9003 : : }
9004 : : break;
9005 : : }
9006 : 1106 : default:;
9007 : : }
9008 : 1106 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
9009 : : {
9010 : 57 : {
9011 : 57 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
9012 : 57 : tree res = generic_simplify_147 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
9013 : 57 : if (res) return res;
9014 : : }
9015 : : }
9016 : : break;
9017 : : }
9018 : : default:;
9019 : : }
9020 : : break;
9021 : : }
9022 : 726049 : default:;
9023 : : }
9024 : 726049 : switch (TREE_CODE (_p1))
9025 : : {
9026 : 1982 : case LSHIFT_EXPR:
9027 : 1982 : {
9028 : 1982 : tree _q30 = TREE_OPERAND (_p1, 0);
9029 : 1982 : tree _q31 = TREE_OPERAND (_p1, 1);
9030 : 1982 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
9031 : : {
9032 : 3 : switch (TREE_CODE (_q31))
9033 : : {
9034 : 3 : case INTEGER_CST:
9035 : 3 : {
9036 : 3 : {
9037 : 3 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q31 };
9038 : 3 : tree res = generic_simplify_147 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
9039 : 3 : if (res) return res;
9040 : : }
9041 : 0 : break;
9042 : : }
9043 : : default:;
9044 : : }
9045 : : }
9046 : : break;
9047 : : }
9048 : 726046 : default:;
9049 : : }
9050 : 726046 : switch (TREE_CODE (_p0))
9051 : : {
9052 : 0 : case MIN_EXPR:
9053 : 0 : {
9054 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
9055 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
9056 : 0 : switch (TREE_CODE (_p1))
9057 : : {
9058 : 0 : case MAX_EXPR:
9059 : 0 : {
9060 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9061 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9062 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
9063 : : {
9064 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
9065 : : {
9066 : 0 : {
9067 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9068 : 0 : if (!HONOR_NANS (captures[0])
9069 : : )
9070 : : {
9071 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1291;
9072 : 0 : {
9073 : 0 : tree res_op0;
9074 : 0 : res_op0 = captures[0];
9075 : 0 : tree res_op1;
9076 : 0 : res_op1 = captures[1];
9077 : 0 : tree _r;
9078 : 0 : _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
9079 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 853, __FILE__, __LINE__, true);
9080 : 0 : return _r;
9081 : : }
9082 : 0 : next_after_fail1291:;
9083 : : }
9084 : : }
9085 : : }
9086 : : }
9087 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
9088 : : {
9089 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
9090 : : {
9091 : 0 : {
9092 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
9093 : 0 : if (!HONOR_NANS (captures[0])
9094 : : )
9095 : : {
9096 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1292;
9097 : 0 : {
9098 : 0 : tree res_op0;
9099 : 0 : res_op0 = captures[0];
9100 : 0 : tree res_op1;
9101 : 0 : res_op1 = captures[1];
9102 : 0 : tree _r;
9103 : 0 : _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
9104 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 853, __FILE__, __LINE__, true);
9105 : 0 : return _r;
9106 : : }
9107 : 0 : next_after_fail1292:;
9108 : : }
9109 : : }
9110 : : }
9111 : : }
9112 : : break;
9113 : : }
9114 : : default:;
9115 : : }
9116 : : break;
9117 : : }
9118 : 0 : case MAX_EXPR:
9119 : 0 : {
9120 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
9121 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
9122 : 0 : switch (TREE_CODE (_p1))
9123 : : {
9124 : 0 : case MIN_EXPR:
9125 : 0 : {
9126 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
9127 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
9128 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
9129 : : {
9130 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
9131 : : {
9132 : 0 : {
9133 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9134 : 0 : if (!HONOR_NANS (captures[0])
9135 : : )
9136 : : {
9137 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1293;
9138 : 0 : {
9139 : 0 : tree res_op0;
9140 : 0 : res_op0 = captures[0];
9141 : 0 : tree res_op1;
9142 : 0 : res_op1 = captures[1];
9143 : 0 : tree _r;
9144 : 0 : _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
9145 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 853, __FILE__, __LINE__, true);
9146 : 0 : return _r;
9147 : : }
9148 : 0 : next_after_fail1293:;
9149 : : }
9150 : : }
9151 : : }
9152 : : }
9153 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
9154 : : {
9155 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
9156 : : {
9157 : 0 : {
9158 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
9159 : 0 : if (!HONOR_NANS (captures[0])
9160 : : )
9161 : : {
9162 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1294;
9163 : 0 : {
9164 : 0 : tree res_op0;
9165 : 0 : res_op0 = captures[0];
9166 : 0 : tree res_op1;
9167 : 0 : res_op1 = captures[1];
9168 : 0 : tree _r;
9169 : 0 : _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
9170 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 853, __FILE__, __LINE__, true);
9171 : 0 : return _r;
9172 : : }
9173 : 0 : next_after_fail1294:;
9174 : : }
9175 : : }
9176 : : }
9177 : : }
9178 : : break;
9179 : : }
9180 : : default:;
9181 : : }
9182 : : break;
9183 : : }
9184 : 726046 : default:;
9185 : : }
9186 : 726046 : switch (TREE_CODE (_p1))
9187 : : {
9188 : 243 : case MULT_EXPR:
9189 : 243 : {
9190 : 243 : tree _q30 = TREE_OPERAND (_p1, 0);
9191 : 243 : tree _q31 = TREE_OPERAND (_p1, 1);
9192 : 243 : switch (TREE_CODE (_q30))
9193 : : {
9194 : 0 : case BIT_XOR_EXPR:
9195 : 0 : {
9196 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
9197 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
9198 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
9199 : : {
9200 : 0 : if (tree_zero_one_valued_p (_q31))
9201 : : {
9202 : 0 : {
9203 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q41, _q31 };
9204 : 0 : tree res = generic_simplify_169 (loc, type, _p0, _p1, captures);
9205 : 0 : if (res) return res;
9206 : : }
9207 : : }
9208 : : }
9209 : 0 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
9210 : : {
9211 : 0 : if (tree_zero_one_valued_p (_q31))
9212 : : {
9213 : 0 : {
9214 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q31 };
9215 : 0 : tree res = generic_simplify_169 (loc, type, _p0, _p1, captures);
9216 : 0 : if (res) return res;
9217 : : }
9218 : : }
9219 : : }
9220 : : break;
9221 : : }
9222 : 243 : default:;
9223 : : }
9224 : 243 : if (tree_zero_one_valued_p (_q30))
9225 : : {
9226 : 17 : switch (TREE_CODE (_q31))
9227 : : {
9228 : 0 : case BIT_XOR_EXPR:
9229 : 0 : {
9230 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
9231 : 0 : tree _q51 = TREE_OPERAND (_q31, 1);
9232 : 0 : if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
9233 : : {
9234 : 0 : {
9235 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q51, _q30 };
9236 : 0 : tree res = generic_simplify_169 (loc, type, _p0, _p1, captures);
9237 : 0 : if (res) return res;
9238 : : }
9239 : : }
9240 : 0 : if ((_q51 == _p0 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _p0, 0) && types_match (_q51, _p0)))
9241 : : {
9242 : 0 : {
9243 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q50, _q30 };
9244 : 0 : tree res = generic_simplify_169 (loc, type, _p0, _p1, captures);
9245 : 0 : if (res) return res;
9246 : : }
9247 : : }
9248 : : break;
9249 : : }
9250 : : default:;
9251 : : }
9252 : : }
9253 : : break;
9254 : : }
9255 : 726046 : default:;
9256 : : }
9257 : 726046 : switch (TREE_CODE (_p0))
9258 : : {
9259 : 1 : case VEC_COND_EXPR:
9260 : 1 : {
9261 : 1 : tree _q20 = TREE_OPERAND (_p0, 0);
9262 : 1 : tree _q21 = TREE_OPERAND (_p0, 1);
9263 : 1 : tree _q22 = TREE_OPERAND (_p0, 2);
9264 : 1 : switch (TREE_CODE (_p1))
9265 : : {
9266 : 0 : case VEC_COND_EXPR:
9267 : 0 : {
9268 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
9269 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
9270 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
9271 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
9272 : : {
9273 : 0 : {
9274 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
9275 : 0 : if (VECTOR_TYPE_P (type)
9276 : 0 : && (TREE_CODE_CLASS (BIT_XOR_EXPR) != tcc_comparison
9277 : : || types_match (type, TREE_TYPE (captures[2]))
9278 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
9279 : : || (optimize_vectors_before_lowering_p ()
9280 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
9281 : : )
9282 : : {
9283 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1295;
9284 : 0 : {
9285 : 0 : tree res_op0;
9286 : 0 : res_op0 = captures[1];
9287 : 0 : tree res_op1;
9288 : 0 : {
9289 : 0 : tree _o1[2], _r1;
9290 : 0 : _o1[0] = captures[2];
9291 : 0 : _o1[1] = captures[5];
9292 : 0 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9293 : 0 : if (EXPR_P (_r1))
9294 : 0 : goto next_after_fail1295;
9295 : 0 : res_op1 = _r1;
9296 : : }
9297 : 0 : tree res_op2;
9298 : 0 : {
9299 : 0 : tree _o1[2], _r1;
9300 : 0 : _o1[0] = captures[3];
9301 : 0 : _o1[1] = captures[6];
9302 : 0 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9303 : 0 : if (EXPR_P (_r1))
9304 : 0 : goto next_after_fail1295;
9305 : 0 : res_op2 = _r1;
9306 : : }
9307 : 0 : tree _r;
9308 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9309 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 857, __FILE__, __LINE__, true);
9310 : 0 : return _r;
9311 : : }
9312 : 0 : next_after_fail1295:;
9313 : : }
9314 : : }
9315 : : }
9316 : : break;
9317 : : }
9318 : 1 : default:;
9319 : : }
9320 : 1 : if (integer_minus_onep (_q21))
9321 : : {
9322 : 1 : if (integer_zerop (_q22))
9323 : : {
9324 : 1 : switch (TREE_CODE (_p1))
9325 : : {
9326 : 0 : case VEC_COND_EXPR:
9327 : 0 : {
9328 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
9329 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
9330 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
9331 : 0 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
9332 : : {
9333 : 0 : if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
9334 : : {
9335 : 0 : {
9336 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9337 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9338 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9339 : : )
9340 : : {
9341 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1296;
9342 : 0 : {
9343 : 0 : tree res_op0;
9344 : 0 : {
9345 : 0 : tree _o1[2], _r1;
9346 : 0 : _o1[0] = captures[0];
9347 : 0 : _o1[1] = captures[3];
9348 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9349 : 0 : res_op0 = _r1;
9350 : : }
9351 : 0 : tree res_op1;
9352 : 0 : res_op1 = captures[1];
9353 : 0 : tree res_op2;
9354 : 0 : res_op2 = captures[2];
9355 : 0 : tree _r;
9356 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9357 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9358 : 0 : return _r;
9359 : : }
9360 : 0 : next_after_fail1296:;
9361 : : }
9362 : : }
9363 : 0 : {
9364 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9365 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9366 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9367 : : )
9368 : : {
9369 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1297;
9370 : 0 : {
9371 : 0 : tree res_op0;
9372 : 0 : {
9373 : 0 : tree _o1[2], _r1;
9374 : 0 : _o1[0] = captures[0];
9375 : 0 : _o1[1] = captures[3];
9376 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9377 : 0 : res_op0 = _r1;
9378 : : }
9379 : 0 : tree res_op1;
9380 : 0 : res_op1 = captures[1];
9381 : 0 : tree res_op2;
9382 : 0 : res_op2 = captures[2];
9383 : 0 : tree _r;
9384 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9385 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9386 : 0 : return _r;
9387 : : }
9388 : 0 : next_after_fail1297:;
9389 : : }
9390 : : }
9391 : 0 : {
9392 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9393 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9394 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9395 : : )
9396 : : {
9397 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1298;
9398 : 0 : {
9399 : 0 : tree res_op0;
9400 : 0 : {
9401 : 0 : tree _o1[2], _r1;
9402 : 0 : _o1[0] = captures[0];
9403 : 0 : _o1[1] = captures[3];
9404 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9405 : 0 : res_op0 = _r1;
9406 : : }
9407 : 0 : tree res_op1;
9408 : 0 : res_op1 = captures[1];
9409 : 0 : tree res_op2;
9410 : 0 : res_op2 = captures[2];
9411 : 0 : tree _r;
9412 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9413 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9414 : 0 : return _r;
9415 : : }
9416 : 0 : next_after_fail1298:;
9417 : : }
9418 : : }
9419 : 0 : {
9420 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9421 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9422 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9423 : : )
9424 : : {
9425 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1299;
9426 : 0 : {
9427 : 0 : tree res_op0;
9428 : 0 : {
9429 : 0 : tree _o1[2], _r1;
9430 : 0 : _o1[0] = captures[0];
9431 : 0 : _o1[1] = captures[3];
9432 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9433 : 0 : res_op0 = _r1;
9434 : : }
9435 : 0 : tree res_op1;
9436 : 0 : res_op1 = captures[1];
9437 : 0 : tree res_op2;
9438 : 0 : res_op2 = captures[2];
9439 : 0 : tree _r;
9440 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9441 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9442 : 0 : return _r;
9443 : : }
9444 : 0 : next_after_fail1299:;
9445 : : }
9446 : : }
9447 : 0 : {
9448 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9449 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9450 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9451 : : )
9452 : : {
9453 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1300;
9454 : 0 : {
9455 : 0 : tree res_op0;
9456 : 0 : {
9457 : 0 : tree _o1[2], _r1;
9458 : 0 : _o1[0] = captures[0];
9459 : 0 : _o1[1] = captures[3];
9460 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9461 : 0 : res_op0 = _r1;
9462 : : }
9463 : 0 : tree res_op1;
9464 : 0 : res_op1 = captures[1];
9465 : 0 : tree res_op2;
9466 : 0 : res_op2 = captures[2];
9467 : 0 : tree _r;
9468 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9469 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9470 : 0 : return _r;
9471 : : }
9472 : 0 : next_after_fail1300:;
9473 : : }
9474 : : }
9475 : 0 : {
9476 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9477 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9478 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9479 : : )
9480 : : {
9481 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1301;
9482 : 0 : {
9483 : 0 : tree res_op0;
9484 : 0 : {
9485 : 0 : tree _o1[2], _r1;
9486 : 0 : _o1[0] = captures[0];
9487 : 0 : _o1[1] = captures[3];
9488 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9489 : 0 : res_op0 = _r1;
9490 : : }
9491 : 0 : tree res_op1;
9492 : 0 : res_op1 = captures[1];
9493 : 0 : tree res_op2;
9494 : 0 : res_op2 = captures[2];
9495 : 0 : tree _r;
9496 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9497 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9498 : 0 : return _r;
9499 : : }
9500 : 0 : next_after_fail1301:;
9501 : : }
9502 : : }
9503 : 0 : {
9504 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9505 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9506 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9507 : : )
9508 : : {
9509 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1302;
9510 : 0 : {
9511 : 0 : tree res_op0;
9512 : 0 : {
9513 : 0 : tree _o1[2], _r1;
9514 : 0 : _o1[0] = captures[0];
9515 : 0 : _o1[1] = captures[3];
9516 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9517 : 0 : res_op0 = _r1;
9518 : : }
9519 : 0 : tree res_op1;
9520 : 0 : res_op1 = captures[1];
9521 : 0 : tree res_op2;
9522 : 0 : res_op2 = captures[2];
9523 : 0 : tree _r;
9524 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9525 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9526 : 0 : return _r;
9527 : : }
9528 : 0 : next_after_fail1302:;
9529 : : }
9530 : : }
9531 : 0 : {
9532 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9533 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9534 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9535 : : )
9536 : : {
9537 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1303;
9538 : 0 : {
9539 : 0 : tree res_op0;
9540 : 0 : {
9541 : 0 : tree _o1[2], _r1;
9542 : 0 : _o1[0] = captures[0];
9543 : 0 : _o1[1] = captures[3];
9544 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9545 : 0 : res_op0 = _r1;
9546 : : }
9547 : 0 : tree res_op1;
9548 : 0 : res_op1 = captures[1];
9549 : 0 : tree res_op2;
9550 : 0 : res_op2 = captures[2];
9551 : 0 : tree _r;
9552 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9553 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9554 : 0 : return _r;
9555 : : }
9556 : 0 : next_after_fail1303:;
9557 : : }
9558 : : }
9559 : 0 : {
9560 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9561 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9562 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9563 : : )
9564 : : {
9565 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1304;
9566 : 0 : {
9567 : 0 : tree res_op0;
9568 : 0 : {
9569 : 0 : tree _o1[2], _r1;
9570 : 0 : _o1[0] = captures[0];
9571 : 0 : _o1[1] = captures[3];
9572 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9573 : 0 : res_op0 = _r1;
9574 : : }
9575 : 0 : tree res_op1;
9576 : 0 : res_op1 = captures[1];
9577 : 0 : tree res_op2;
9578 : 0 : res_op2 = captures[2];
9579 : 0 : tree _r;
9580 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9581 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9582 : 0 : return _r;
9583 : : }
9584 : 0 : next_after_fail1304:;
9585 : : }
9586 : : }
9587 : 0 : {
9588 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9589 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9590 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9591 : : )
9592 : : {
9593 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1305;
9594 : 0 : {
9595 : 0 : tree res_op0;
9596 : 0 : {
9597 : 0 : tree _o1[2], _r1;
9598 : 0 : _o1[0] = captures[0];
9599 : 0 : _o1[1] = captures[3];
9600 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9601 : 0 : res_op0 = _r1;
9602 : : }
9603 : 0 : tree res_op1;
9604 : 0 : res_op1 = captures[1];
9605 : 0 : tree res_op2;
9606 : 0 : res_op2 = captures[2];
9607 : 0 : tree _r;
9608 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9609 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9610 : 0 : return _r;
9611 : : }
9612 : 0 : next_after_fail1305:;
9613 : : }
9614 : : }
9615 : 0 : {
9616 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9617 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9618 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9619 : : )
9620 : : {
9621 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1306;
9622 : 0 : {
9623 : 0 : tree res_op0;
9624 : 0 : {
9625 : 0 : tree _o1[2], _r1;
9626 : 0 : _o1[0] = captures[0];
9627 : 0 : _o1[1] = captures[3];
9628 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9629 : 0 : res_op0 = _r1;
9630 : : }
9631 : 0 : tree res_op1;
9632 : 0 : res_op1 = captures[1];
9633 : 0 : tree res_op2;
9634 : 0 : res_op2 = captures[2];
9635 : 0 : tree _r;
9636 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9637 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9638 : 0 : return _r;
9639 : : }
9640 : 0 : next_after_fail1306:;
9641 : : }
9642 : : }
9643 : 0 : {
9644 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9645 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9646 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9647 : : )
9648 : : {
9649 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1307;
9650 : 0 : {
9651 : 0 : tree res_op0;
9652 : 0 : {
9653 : 0 : tree _o1[2], _r1;
9654 : 0 : _o1[0] = captures[0];
9655 : 0 : _o1[1] = captures[3];
9656 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9657 : 0 : res_op0 = _r1;
9658 : : }
9659 : 0 : tree res_op1;
9660 : 0 : res_op1 = captures[1];
9661 : 0 : tree res_op2;
9662 : 0 : res_op2 = captures[2];
9663 : 0 : tree _r;
9664 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9665 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9666 : 0 : return _r;
9667 : : }
9668 : 0 : next_after_fail1307:;
9669 : : }
9670 : : }
9671 : 0 : {
9672 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9673 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9674 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9675 : : )
9676 : : {
9677 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1308;
9678 : 0 : {
9679 : 0 : tree res_op0;
9680 : 0 : {
9681 : 0 : tree _o1[2], _r1;
9682 : 0 : _o1[0] = captures[0];
9683 : 0 : _o1[1] = captures[3];
9684 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9685 : 0 : res_op0 = _r1;
9686 : : }
9687 : 0 : tree res_op1;
9688 : 0 : res_op1 = captures[1];
9689 : 0 : tree res_op2;
9690 : 0 : res_op2 = captures[2];
9691 : 0 : tree _r;
9692 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9693 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9694 : 0 : return _r;
9695 : : }
9696 : 0 : next_after_fail1308:;
9697 : : }
9698 : : }
9699 : 0 : {
9700 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9701 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9702 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9703 : : )
9704 : : {
9705 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1309;
9706 : 0 : {
9707 : 0 : tree res_op0;
9708 : 0 : {
9709 : 0 : tree _o1[2], _r1;
9710 : 0 : _o1[0] = captures[0];
9711 : 0 : _o1[1] = captures[3];
9712 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9713 : 0 : res_op0 = _r1;
9714 : : }
9715 : 0 : tree res_op1;
9716 : 0 : res_op1 = captures[1];
9717 : 0 : tree res_op2;
9718 : 0 : res_op2 = captures[2];
9719 : 0 : tree _r;
9720 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9721 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9722 : 0 : return _r;
9723 : : }
9724 : 0 : next_after_fail1309:;
9725 : : }
9726 : : }
9727 : 0 : {
9728 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9729 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9730 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9731 : : )
9732 : : {
9733 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1310;
9734 : 0 : {
9735 : 0 : tree res_op0;
9736 : 0 : {
9737 : 0 : tree _o1[2], _r1;
9738 : 0 : _o1[0] = captures[0];
9739 : 0 : _o1[1] = captures[3];
9740 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9741 : 0 : res_op0 = _r1;
9742 : : }
9743 : 0 : tree res_op1;
9744 : 0 : res_op1 = captures[1];
9745 : 0 : tree res_op2;
9746 : 0 : res_op2 = captures[2];
9747 : 0 : tree _r;
9748 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9749 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9750 : 0 : return _r;
9751 : : }
9752 : 0 : next_after_fail1310:;
9753 : : }
9754 : : }
9755 : 0 : {
9756 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9757 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9758 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9759 : : )
9760 : : {
9761 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1311;
9762 : 0 : {
9763 : 0 : tree res_op0;
9764 : 0 : {
9765 : 0 : tree _o1[2], _r1;
9766 : 0 : _o1[0] = captures[0];
9767 : 0 : _o1[1] = captures[3];
9768 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9769 : 0 : res_op0 = _r1;
9770 : : }
9771 : 0 : tree res_op1;
9772 : 0 : res_op1 = captures[1];
9773 : 0 : tree res_op2;
9774 : 0 : res_op2 = captures[2];
9775 : 0 : tree _r;
9776 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9777 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9778 : 0 : return _r;
9779 : : }
9780 : 0 : next_after_fail1311:;
9781 : : }
9782 : : }
9783 : 0 : {
9784 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9785 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9786 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9787 : : )
9788 : : {
9789 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1312;
9790 : 0 : {
9791 : 0 : tree res_op0;
9792 : 0 : {
9793 : 0 : tree _o1[2], _r1;
9794 : 0 : _o1[0] = captures[0];
9795 : 0 : _o1[1] = captures[3];
9796 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9797 : 0 : res_op0 = _r1;
9798 : : }
9799 : 0 : tree res_op1;
9800 : 0 : res_op1 = captures[1];
9801 : 0 : tree res_op2;
9802 : 0 : res_op2 = captures[2];
9803 : 0 : tree _r;
9804 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9805 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9806 : 0 : return _r;
9807 : : }
9808 : 0 : next_after_fail1312:;
9809 : : }
9810 : : }
9811 : 0 : {
9812 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9813 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9814 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9815 : : )
9816 : : {
9817 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1313;
9818 : 0 : {
9819 : 0 : tree res_op0;
9820 : 0 : {
9821 : 0 : tree _o1[2], _r1;
9822 : 0 : _o1[0] = captures[0];
9823 : 0 : _o1[1] = captures[3];
9824 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9825 : 0 : res_op0 = _r1;
9826 : : }
9827 : 0 : tree res_op1;
9828 : 0 : res_op1 = captures[1];
9829 : 0 : tree res_op2;
9830 : 0 : res_op2 = captures[2];
9831 : 0 : tree _r;
9832 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9833 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9834 : 0 : return _r;
9835 : : }
9836 : 0 : next_after_fail1313:;
9837 : : }
9838 : : }
9839 : 0 : {
9840 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9841 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9842 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9843 : : )
9844 : : {
9845 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1314;
9846 : 0 : {
9847 : 0 : tree res_op0;
9848 : 0 : {
9849 : 0 : tree _o1[2], _r1;
9850 : 0 : _o1[0] = captures[0];
9851 : 0 : _o1[1] = captures[3];
9852 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9853 : 0 : res_op0 = _r1;
9854 : : }
9855 : 0 : tree res_op1;
9856 : 0 : res_op1 = captures[1];
9857 : 0 : tree res_op2;
9858 : 0 : res_op2 = captures[2];
9859 : 0 : tree _r;
9860 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9861 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9862 : 0 : return _r;
9863 : : }
9864 : 0 : next_after_fail1314:;
9865 : : }
9866 : : }
9867 : 0 : {
9868 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9869 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9870 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9871 : : )
9872 : : {
9873 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1315;
9874 : 0 : {
9875 : 0 : tree res_op0;
9876 : 0 : {
9877 : 0 : tree _o1[2], _r1;
9878 : 0 : _o1[0] = captures[0];
9879 : 0 : _o1[1] = captures[3];
9880 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9881 : 0 : res_op0 = _r1;
9882 : : }
9883 : 0 : tree res_op1;
9884 : 0 : res_op1 = captures[1];
9885 : 0 : tree res_op2;
9886 : 0 : res_op2 = captures[2];
9887 : 0 : tree _r;
9888 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9889 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9890 : 0 : return _r;
9891 : : }
9892 : 0 : next_after_fail1315:;
9893 : : }
9894 : : }
9895 : 0 : {
9896 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9897 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9898 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9899 : : )
9900 : : {
9901 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1316;
9902 : 0 : {
9903 : 0 : tree res_op0;
9904 : 0 : {
9905 : 0 : tree _o1[2], _r1;
9906 : 0 : _o1[0] = captures[0];
9907 : 0 : _o1[1] = captures[3];
9908 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9909 : 0 : res_op0 = _r1;
9910 : : }
9911 : 0 : tree res_op1;
9912 : 0 : res_op1 = captures[1];
9913 : 0 : tree res_op2;
9914 : 0 : res_op2 = captures[2];
9915 : 0 : tree _r;
9916 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9917 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9918 : 0 : return _r;
9919 : : }
9920 : 0 : next_after_fail1316:;
9921 : : }
9922 : : }
9923 : 0 : {
9924 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9925 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9926 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9927 : : )
9928 : : {
9929 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1317;
9930 : 0 : {
9931 : 0 : tree res_op0;
9932 : 0 : {
9933 : 0 : tree _o1[2], _r1;
9934 : 0 : _o1[0] = captures[0];
9935 : 0 : _o1[1] = captures[3];
9936 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9937 : 0 : res_op0 = _r1;
9938 : : }
9939 : 0 : tree res_op1;
9940 : 0 : res_op1 = captures[1];
9941 : 0 : tree res_op2;
9942 : 0 : res_op2 = captures[2];
9943 : 0 : tree _r;
9944 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9945 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9946 : 0 : return _r;
9947 : : }
9948 : 0 : next_after_fail1317:;
9949 : : }
9950 : : }
9951 : 0 : {
9952 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9953 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9954 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9955 : : )
9956 : : {
9957 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1318;
9958 : 0 : {
9959 : 0 : tree res_op0;
9960 : 0 : {
9961 : 0 : tree _o1[2], _r1;
9962 : 0 : _o1[0] = captures[0];
9963 : 0 : _o1[1] = captures[3];
9964 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9965 : 0 : res_op0 = _r1;
9966 : : }
9967 : 0 : tree res_op1;
9968 : 0 : res_op1 = captures[1];
9969 : 0 : tree res_op2;
9970 : 0 : res_op2 = captures[2];
9971 : 0 : tree _r;
9972 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
9973 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
9974 : 0 : return _r;
9975 : : }
9976 : 0 : next_after_fail1318:;
9977 : : }
9978 : : }
9979 : 0 : {
9980 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
9981 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
9982 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
9983 : : )
9984 : : {
9985 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1319;
9986 : 0 : {
9987 : 0 : tree res_op0;
9988 : 0 : {
9989 : 0 : tree _o1[2], _r1;
9990 : 0 : _o1[0] = captures[0];
9991 : 0 : _o1[1] = captures[3];
9992 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
9993 : 0 : res_op0 = _r1;
9994 : : }
9995 : 0 : tree res_op1;
9996 : 0 : res_op1 = captures[1];
9997 : 0 : tree res_op2;
9998 : 0 : res_op2 = captures[2];
9999 : 0 : tree _r;
10000 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10001 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
10002 : 0 : return _r;
10003 : : }
10004 : 0 : next_after_fail1319:;
10005 : : }
10006 : : }
10007 : 0 : {
10008 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10009 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10010 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10011 : : )
10012 : : {
10013 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1320;
10014 : 0 : {
10015 : 0 : tree res_op0;
10016 : 0 : {
10017 : 0 : tree _o1[2], _r1;
10018 : 0 : _o1[0] = captures[0];
10019 : 0 : _o1[1] = captures[3];
10020 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10021 : 0 : res_op0 = _r1;
10022 : : }
10023 : 0 : tree res_op1;
10024 : 0 : res_op1 = captures[1];
10025 : 0 : tree res_op2;
10026 : 0 : res_op2 = captures[2];
10027 : 0 : tree _r;
10028 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10029 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
10030 : 0 : return _r;
10031 : : }
10032 : 0 : next_after_fail1320:;
10033 : : }
10034 : : }
10035 : 0 : {
10036 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10037 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10038 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10039 : : )
10040 : : {
10041 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1321;
10042 : 0 : {
10043 : 0 : tree res_op0;
10044 : 0 : {
10045 : 0 : tree _o1[2], _r1;
10046 : 0 : _o1[0] = captures[0];
10047 : 0 : _o1[1] = captures[3];
10048 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10049 : 0 : res_op0 = _r1;
10050 : : }
10051 : 0 : tree res_op1;
10052 : 0 : res_op1 = captures[1];
10053 : 0 : tree res_op2;
10054 : 0 : res_op2 = captures[2];
10055 : 0 : tree _r;
10056 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10057 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
10058 : 0 : return _r;
10059 : : }
10060 : 0 : next_after_fail1321:;
10061 : : }
10062 : : }
10063 : 0 : {
10064 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10065 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10066 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10067 : : )
10068 : : {
10069 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1322;
10070 : 0 : {
10071 : 0 : tree res_op0;
10072 : 0 : {
10073 : 0 : tree _o1[2], _r1;
10074 : 0 : _o1[0] = captures[0];
10075 : 0 : _o1[1] = captures[3];
10076 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10077 : 0 : res_op0 = _r1;
10078 : : }
10079 : 0 : tree res_op1;
10080 : 0 : res_op1 = captures[1];
10081 : 0 : tree res_op2;
10082 : 0 : res_op2 = captures[2];
10083 : 0 : tree _r;
10084 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10085 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
10086 : 0 : return _r;
10087 : : }
10088 : 0 : next_after_fail1322:;
10089 : : }
10090 : : }
10091 : 0 : {
10092 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10093 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10094 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10095 : : )
10096 : : {
10097 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1323;
10098 : 0 : {
10099 : 0 : tree res_op0;
10100 : 0 : {
10101 : 0 : tree _o1[2], _r1;
10102 : 0 : _o1[0] = captures[0];
10103 : 0 : _o1[1] = captures[3];
10104 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10105 : 0 : res_op0 = _r1;
10106 : : }
10107 : 0 : tree res_op1;
10108 : 0 : res_op1 = captures[1];
10109 : 0 : tree res_op2;
10110 : 0 : res_op2 = captures[2];
10111 : 0 : tree _r;
10112 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10113 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
10114 : 0 : return _r;
10115 : : }
10116 : 0 : next_after_fail1323:;
10117 : : }
10118 : : }
10119 : 0 : {
10120 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10121 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10122 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10123 : : )
10124 : : {
10125 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1324;
10126 : 0 : {
10127 : 0 : tree res_op0;
10128 : 0 : {
10129 : 0 : tree _o1[2], _r1;
10130 : 0 : _o1[0] = captures[0];
10131 : 0 : _o1[1] = captures[3];
10132 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10133 : 0 : res_op0 = _r1;
10134 : : }
10135 : 0 : tree res_op1;
10136 : 0 : res_op1 = captures[1];
10137 : 0 : tree res_op2;
10138 : 0 : res_op2 = captures[2];
10139 : 0 : tree _r;
10140 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10141 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
10142 : 0 : return _r;
10143 : : }
10144 : 0 : next_after_fail1324:;
10145 : : }
10146 : : }
10147 : 0 : {
10148 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10149 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10150 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10151 : : )
10152 : : {
10153 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1325;
10154 : 0 : {
10155 : 0 : tree res_op0;
10156 : 0 : {
10157 : 0 : tree _o1[2], _r1;
10158 : 0 : _o1[0] = captures[0];
10159 : 0 : _o1[1] = captures[3];
10160 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10161 : 0 : res_op0 = _r1;
10162 : : }
10163 : 0 : tree res_op1;
10164 : 0 : res_op1 = captures[1];
10165 : 0 : tree res_op2;
10166 : 0 : res_op2 = captures[2];
10167 : 0 : tree _r;
10168 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10169 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
10170 : 0 : return _r;
10171 : : }
10172 : 0 : next_after_fail1325:;
10173 : : }
10174 : : }
10175 : 0 : {
10176 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10177 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10178 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10179 : : )
10180 : : {
10181 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1326;
10182 : 0 : {
10183 : 0 : tree res_op0;
10184 : 0 : {
10185 : 0 : tree _o1[2], _r1;
10186 : 0 : _o1[0] = captures[0];
10187 : 0 : _o1[1] = captures[3];
10188 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10189 : 0 : res_op0 = _r1;
10190 : : }
10191 : 0 : tree res_op1;
10192 : 0 : res_op1 = captures[1];
10193 : 0 : tree res_op2;
10194 : 0 : res_op2 = captures[2];
10195 : 0 : tree _r;
10196 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10197 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
10198 : 0 : return _r;
10199 : : }
10200 : 0 : next_after_fail1326:;
10201 : : }
10202 : : }
10203 : 0 : {
10204 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10205 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10206 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10207 : : )
10208 : : {
10209 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1327;
10210 : 0 : {
10211 : 0 : tree res_op0;
10212 : 0 : {
10213 : 0 : tree _o1[2], _r1;
10214 : 0 : _o1[0] = captures[0];
10215 : 0 : _o1[1] = captures[3];
10216 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10217 : 0 : res_op0 = _r1;
10218 : : }
10219 : 0 : tree res_op1;
10220 : 0 : res_op1 = captures[1];
10221 : 0 : tree res_op2;
10222 : 0 : res_op2 = captures[2];
10223 : 0 : tree _r;
10224 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10225 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
10226 : 0 : return _r;
10227 : : }
10228 : 0 : next_after_fail1327:;
10229 : : }
10230 : : }
10231 : 0 : {
10232 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10233 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10234 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10235 : : )
10236 : : {
10237 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1328;
10238 : 0 : {
10239 : 0 : tree res_op0;
10240 : 0 : {
10241 : 0 : tree _o1[2], _r1;
10242 : 0 : _o1[0] = captures[0];
10243 : 0 : _o1[1] = captures[3];
10244 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10245 : 0 : res_op0 = _r1;
10246 : : }
10247 : 0 : tree res_op1;
10248 : 0 : res_op1 = captures[1];
10249 : 0 : tree res_op2;
10250 : 0 : res_op2 = captures[2];
10251 : 0 : tree _r;
10252 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10253 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
10254 : 0 : return _r;
10255 : : }
10256 : 0 : next_after_fail1328:;
10257 : : }
10258 : : }
10259 : 0 : {
10260 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _q60 };
10261 : 0 : const enum tree_code lop = BIT_XOR_EXPR;
10262 : 0 : if (target_supports_op_p (TREE_TYPE (captures[0]), lop, optab_vector)
10263 : : )
10264 : : {
10265 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1329;
10266 : 0 : {
10267 : 0 : tree res_op0;
10268 : 0 : {
10269 : 0 : tree _o1[2], _r1;
10270 : 0 : _o1[0] = captures[0];
10271 : 0 : _o1[1] = captures[3];
10272 : 0 : _r1 = fold_build2_loc (loc, lop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10273 : 0 : res_op0 = _r1;
10274 : : }
10275 : 0 : tree res_op1;
10276 : 0 : res_op1 = captures[1];
10277 : 0 : tree res_op2;
10278 : 0 : res_op2 = captures[2];
10279 : 0 : tree _r;
10280 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10281 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
10282 : 0 : return _r;
10283 : : }
10284 : 0 : next_after_fail1329:;
10285 : : }
10286 : : }
10287 : : }
10288 : : }
10289 : : break;
10290 : : }
10291 : : default:;
10292 : : }
10293 : : }
10294 : : }
10295 : 1 : {
10296 : 1 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
10297 : 1 : if (VECTOR_TYPE_P (type)
10298 : 1 : && (TREE_CODE_CLASS (BIT_XOR_EXPR) != tcc_comparison
10299 : : || types_match (type, TREE_TYPE (captures[2]))
10300 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
10301 : : || (optimize_vectors_before_lowering_p ()
10302 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
10303 : : )
10304 : : {
10305 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1330;
10306 : 1 : {
10307 : 1 : if (! tree_invariant_p (captures[4])) goto next_after_fail1330;
10308 : 0 : tree res_op0;
10309 : 0 : res_op0 = captures[1];
10310 : 0 : tree res_op1;
10311 : 0 : {
10312 : 0 : tree _o1[2], _r1;
10313 : 0 : _o1[0] = captures[2];
10314 : 0 : _o1[1] = unshare_expr (captures[4]);
10315 : 0 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10316 : 0 : if (EXPR_P (_r1))
10317 : 0 : goto next_after_fail1330;
10318 : 0 : res_op1 = _r1;
10319 : : }
10320 : 0 : tree res_op2;
10321 : 0 : {
10322 : 0 : tree _o1[2], _r1;
10323 : 0 : _o1[0] = captures[3];
10324 : 0 : _o1[1] = captures[4];
10325 : 0 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10326 : 0 : if (EXPR_P (_r1))
10327 : 0 : goto next_after_fail1330;
10328 : 0 : res_op2 = _r1;
10329 : : }
10330 : 0 : tree _r;
10331 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10332 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 858, __FILE__, __LINE__, true);
10333 : 0 : return _r;
10334 : : }
10335 : 1 : next_after_fail1330:;
10336 : : }
10337 : : }
10338 : 1 : break;
10339 : : }
10340 : 726046 : default:;
10341 : : }
10342 : 726046 : switch (TREE_CODE (_p1))
10343 : : {
10344 : 0 : case VEC_COND_EXPR:
10345 : 0 : {
10346 : 0 : tree _q30 = TREE_OPERAND (_p1, 0);
10347 : 0 : tree _q31 = TREE_OPERAND (_p1, 1);
10348 : 0 : tree _q32 = TREE_OPERAND (_p1, 2);
10349 : 0 : {
10350 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
10351 : 0 : if (VECTOR_TYPE_P (type)
10352 : 0 : && (TREE_CODE_CLASS (BIT_XOR_EXPR) != tcc_comparison
10353 : : || types_match (type, TREE_TYPE (captures[3]))
10354 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
10355 : : || (optimize_vectors_before_lowering_p ()
10356 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
10357 : : )
10358 : : {
10359 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1331;
10360 : 0 : {
10361 : 0 : if (! tree_invariant_p (captures[0])) goto next_after_fail1331;
10362 : 0 : tree res_op0;
10363 : 0 : res_op0 = captures[2];
10364 : 0 : tree res_op1;
10365 : 0 : {
10366 : 0 : tree _o1[2], _r1;
10367 : 0 : _o1[0] = unshare_expr (captures[0]);
10368 : 0 : _o1[1] = captures[3];
10369 : 0 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10370 : 0 : if (EXPR_P (_r1))
10371 : 0 : goto next_after_fail1331;
10372 : 0 : res_op1 = _r1;
10373 : : }
10374 : 0 : tree res_op2;
10375 : 0 : {
10376 : 0 : tree _o1[2], _r1;
10377 : 0 : _o1[0] = captures[0];
10378 : 0 : _o1[1] = captures[4];
10379 : 0 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10380 : 0 : if (EXPR_P (_r1))
10381 : 0 : goto next_after_fail1331;
10382 : 0 : res_op2 = _r1;
10383 : : }
10384 : 0 : tree _r;
10385 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
10386 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 859, __FILE__, __LINE__, true);
10387 : 0 : return _r;
10388 : : }
10389 : 0 : next_after_fail1331:;
10390 : : }
10391 : : }
10392 : 0 : break;
10393 : : }
10394 : 726046 : default:;
10395 : : }
10396 : 726046 : switch (TREE_CODE (_p0))
10397 : : {
10398 : 90 : case LT_EXPR:
10399 : 90 : {
10400 : 90 : tree _q20 = TREE_OPERAND (_p0, 0);
10401 : 90 : tree _q21 = TREE_OPERAND (_p0, 1);
10402 : 90 : if (integer_truep (_p1))
10403 : : {
10404 : 14 : {
10405 : 14 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
10406 : 14 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR, UNGE_EXPR);
10407 : 14 : if (res) return res;
10408 : : }
10409 : : }
10410 : 76 : if (integer_zerop (_q21))
10411 : : {
10412 : 24 : switch (TREE_CODE (_p1))
10413 : : {
10414 : 17 : case LT_EXPR:
10415 : 17 : {
10416 : 17 : tree _q50 = TREE_OPERAND (_p1, 0);
10417 : 17 : tree _q51 = TREE_OPERAND (_p1, 1);
10418 : 17 : if (integer_zerop (_q51))
10419 : : {
10420 : 17 : {
10421 : 17 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q50 };
10422 : 17 : tree res = generic_simplify_171 (loc, type, _p0, _p1, captures, LT_EXPR);
10423 : 17 : if (res) return res;
10424 : : }
10425 : : }
10426 : : break;
10427 : : }
10428 : 0 : case GE_EXPR:
10429 : 0 : {
10430 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
10431 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
10432 : 0 : if (integer_zerop (_q51))
10433 : : {
10434 : 0 : {
10435 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q50 };
10436 : 0 : tree res = generic_simplify_172 (loc, type, _p0, _p1, captures);
10437 : 0 : if (res) return res;
10438 : : }
10439 : : }
10440 : : break;
10441 : : }
10442 : : default:;
10443 : : }
10444 : : }
10445 : : break;
10446 : : }
10447 : 78 : case LE_EXPR:
10448 : 78 : {
10449 : 78 : tree _q20 = TREE_OPERAND (_p0, 0);
10450 : 78 : tree _q21 = TREE_OPERAND (_p0, 1);
10451 : 78 : if (integer_truep (_p1))
10452 : : {
10453 : 15 : {
10454 : 15 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
10455 : 15 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR, UNGT_EXPR);
10456 : 15 : if (res) return res;
10457 : : }
10458 : : }
10459 : : break;
10460 : : }
10461 : 118 : case EQ_EXPR:
10462 : 118 : {
10463 : 118 : tree _q20 = TREE_OPERAND (_p0, 0);
10464 : 118 : tree _q21 = TREE_OPERAND (_p0, 1);
10465 : 118 : if (integer_truep (_p1))
10466 : : {
10467 : 14 : {
10468 : 14 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
10469 : 14 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR, NE_EXPR);
10470 : 14 : if (res) return res;
10471 : : }
10472 : : }
10473 : : break;
10474 : : }
10475 : 113 : case NE_EXPR:
10476 : 113 : {
10477 : 113 : tree _q20 = TREE_OPERAND (_p0, 0);
10478 : 113 : tree _q21 = TREE_OPERAND (_p0, 1);
10479 : 113 : if (integer_truep (_p1))
10480 : : {
10481 : 7 : {
10482 : 7 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
10483 : 7 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR, EQ_EXPR);
10484 : 7 : if (res) return res;
10485 : : }
10486 : : }
10487 : : break;
10488 : : }
10489 : 62 : case GE_EXPR:
10490 : 62 : {
10491 : 62 : tree _q20 = TREE_OPERAND (_p0, 0);
10492 : 62 : tree _q21 = TREE_OPERAND (_p0, 1);
10493 : 62 : if (integer_truep (_p1))
10494 : : {
10495 : 0 : {
10496 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
10497 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR, UNLT_EXPR);
10498 : 0 : if (res) return res;
10499 : : }
10500 : : }
10501 : 62 : if (integer_zerop (_q21))
10502 : : {
10503 : 26 : switch (TREE_CODE (_p1))
10504 : : {
10505 : 1 : case GE_EXPR:
10506 : 1 : {
10507 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
10508 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
10509 : 1 : if (integer_zerop (_q51))
10510 : : {
10511 : 1 : {
10512 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q50 };
10513 : 1 : tree res = generic_simplify_171 (loc, type, _p0, _p1, captures, GE_EXPR);
10514 : 1 : if (res) return res;
10515 : : }
10516 : : }
10517 : : break;
10518 : : }
10519 : 5 : case LT_EXPR:
10520 : 5 : {
10521 : 5 : tree _q50 = TREE_OPERAND (_p1, 0);
10522 : 5 : tree _q51 = TREE_OPERAND (_p1, 1);
10523 : 5 : if (integer_zerop (_q51))
10524 : : {
10525 : 5 : {
10526 : 5 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q50, _p0, _q20 };
10527 : 5 : tree res = generic_simplify_172 (loc, type, _p0, _p1, captures);
10528 : 5 : if (res) return res;
10529 : : }
10530 : : }
10531 : : break;
10532 : : }
10533 : : default:;
10534 : : }
10535 : : }
10536 : : break;
10537 : : }
10538 : 100 : case GT_EXPR:
10539 : 100 : {
10540 : 100 : tree _q20 = TREE_OPERAND (_p0, 0);
10541 : 100 : tree _q21 = TREE_OPERAND (_p0, 1);
10542 : 100 : if (integer_truep (_p1))
10543 : : {
10544 : 14 : {
10545 : 14 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
10546 : 14 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR, UNLE_EXPR);
10547 : 14 : if (res) return res;
10548 : : }
10549 : : }
10550 : : break;
10551 : : }
10552 : 0 : case UNORDERED_EXPR:
10553 : 0 : {
10554 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
10555 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
10556 : 0 : if (integer_truep (_p1))
10557 : : {
10558 : 0 : {
10559 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
10560 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR, ORDERED_EXPR);
10561 : 0 : if (res) return res;
10562 : : }
10563 : : }
10564 : : break;
10565 : : }
10566 : 0 : case ORDERED_EXPR:
10567 : 0 : {
10568 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
10569 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
10570 : 0 : if (integer_truep (_p1))
10571 : : {
10572 : 0 : {
10573 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
10574 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR, UNORDERED_EXPR);
10575 : 0 : if (res) return res;
10576 : : }
10577 : : }
10578 : : break;
10579 : : }
10580 : 0 : case UNLT_EXPR:
10581 : 0 : {
10582 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
10583 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
10584 : 0 : if (integer_truep (_p1))
10585 : : {
10586 : 0 : {
10587 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
10588 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR, GE_EXPR);
10589 : 0 : if (res) return res;
10590 : : }
10591 : : }
10592 : : break;
10593 : : }
10594 : 0 : case UNLE_EXPR:
10595 : 0 : {
10596 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
10597 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
10598 : 0 : if (integer_truep (_p1))
10599 : : {
10600 : 0 : {
10601 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
10602 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR, GT_EXPR);
10603 : 0 : if (res) return res;
10604 : : }
10605 : : }
10606 : : break;
10607 : : }
10608 : 0 : case UNGT_EXPR:
10609 : 0 : {
10610 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
10611 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
10612 : 0 : if (integer_truep (_p1))
10613 : : {
10614 : 0 : {
10615 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
10616 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR, LE_EXPR);
10617 : 0 : if (res) return res;
10618 : : }
10619 : : }
10620 : : break;
10621 : : }
10622 : 0 : case UNGE_EXPR:
10623 : 0 : {
10624 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
10625 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
10626 : 0 : if (integer_truep (_p1))
10627 : : {
10628 : 0 : {
10629 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
10630 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR, LT_EXPR);
10631 : 0 : if (res) return res;
10632 : : }
10633 : : }
10634 : : break;
10635 : : }
10636 : 0 : case UNEQ_EXPR:
10637 : 0 : {
10638 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
10639 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
10640 : 0 : if (integer_truep (_p1))
10641 : : {
10642 : 0 : {
10643 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
10644 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR, LTGT_EXPR);
10645 : 0 : if (res) return res;
10646 : : }
10647 : : }
10648 : : break;
10649 : : }
10650 : 0 : case LTGT_EXPR:
10651 : 0 : {
10652 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
10653 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
10654 : 0 : if (integer_truep (_p1))
10655 : : {
10656 : 0 : {
10657 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
10658 : 0 : tree res = generic_simplify_170 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR, UNEQ_EXPR);
10659 : 0 : if (res) return res;
10660 : : }
10661 : : }
10662 : : break;
10663 : : }
10664 : 7 : case VEC_PERM_EXPR:
10665 : 7 : {
10666 : 7 : tree _q20 = TREE_OPERAND (_p0, 0);
10667 : 7 : tree _q21 = TREE_OPERAND (_p0, 1);
10668 : 7 : tree _q22 = TREE_OPERAND (_p0, 2);
10669 : 7 : if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
10670 : : {
10671 : 0 : switch (TREE_CODE (_p1))
10672 : : {
10673 : 0 : case VEC_PERM_EXPR:
10674 : 0 : {
10675 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
10676 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
10677 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
10678 : 0 : if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
10679 : : {
10680 : 0 : if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
10681 : : {
10682 : 0 : {
10683 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
10684 : 0 : if (VECTOR_INTEGER_TYPE_P (type)
10685 : : )
10686 : : {
10687 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1332;
10688 : 0 : {
10689 : 0 : tree res_op0;
10690 : 0 : {
10691 : 0 : tree _o1[2], _r1;
10692 : 0 : _o1[0] = captures[0];
10693 : 0 : _o1[1] = captures[2];
10694 : 0 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
10695 : 0 : captures[3] = _r1;
10696 : : }
10697 : 0 : res_op0 = unshare_expr (captures[3]);
10698 : 0 : tree res_op1;
10699 : 0 : res_op1 = captures[3];
10700 : 0 : tree res_op2;
10701 : 0 : res_op2 = captures[1];
10702 : 0 : tree _r;
10703 : 0 : _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
10704 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 860, __FILE__, __LINE__, true);
10705 : 0 : return _r;
10706 : : }
10707 : 0 : next_after_fail1332:;
10708 : : }
10709 : : }
10710 : : }
10711 : : }
10712 : : break;
10713 : : }
10714 : : default:;
10715 : : }
10716 : : }
10717 : : break;
10718 : : }
10719 : 2963 : case CALL_EXPR:
10720 : 2963 : switch (get_call_combined_fn (_p0))
10721 : : {
10722 : 1 : case CFN_PARITY:
10723 : 1 : if (call_expr_nargs (_p0) == 1)
10724 : : {
10725 : 1 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
10726 : 1 : switch (TREE_CODE (_p1))
10727 : : {
10728 : 1 : case CALL_EXPR:
10729 : 1 : switch (get_call_combined_fn (_p1))
10730 : : {
10731 : 1 : case CFN_PARITY:
10732 : 1 : if (call_expr_nargs (_p1) == 1)
10733 : : {
10734 : 1 : tree _q40 = CALL_EXPR_ARG (_p1, 0);
10735 : 1 : {
10736 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
10737 : 1 : tree res = generic_simplify_173 (loc, type, _p0, _p1, captures, CFN_PARITY);
10738 : 1 : if (res) return res;
10739 : : }
10740 : : }
10741 : : break;
10742 : : default:;
10743 : : }
10744 : : break;
10745 : : default:;
10746 : : }
10747 : : }
10748 : : break;
10749 : 1 : case CFN_BUILT_IN_PARITYL:
10750 : 1 : if (call_expr_nargs (_p0) == 1)
10751 : : {
10752 : 1 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
10753 : 1 : switch (TREE_CODE (_p1))
10754 : : {
10755 : 1 : case CALL_EXPR:
10756 : 1 : switch (get_call_combined_fn (_p1))
10757 : : {
10758 : 1 : case CFN_BUILT_IN_PARITYL:
10759 : 1 : if (call_expr_nargs (_p1) == 1)
10760 : : {
10761 : 1 : tree _q40 = CALL_EXPR_ARG (_p1, 0);
10762 : 1 : {
10763 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
10764 : 1 : tree res = generic_simplify_173 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_PARITYL);
10765 : 1 : if (res) return res;
10766 : : }
10767 : : }
10768 : : break;
10769 : : default:;
10770 : : }
10771 : : break;
10772 : : default:;
10773 : : }
10774 : : }
10775 : : break;
10776 : 0 : case CFN_BUILT_IN_PARITYIMAX:
10777 : 0 : if (call_expr_nargs (_p0) == 1)
10778 : : {
10779 : 0 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
10780 : 0 : switch (TREE_CODE (_p1))
10781 : : {
10782 : 0 : case CALL_EXPR:
10783 : 0 : switch (get_call_combined_fn (_p1))
10784 : : {
10785 : 0 : case CFN_BUILT_IN_PARITYIMAX:
10786 : 0 : if (call_expr_nargs (_p1) == 1)
10787 : : {
10788 : 0 : tree _q40 = CALL_EXPR_ARG (_p1, 0);
10789 : 0 : {
10790 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
10791 : 0 : tree res = generic_simplify_173 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_PARITYIMAX);
10792 : 0 : if (res) return res;
10793 : : }
10794 : : }
10795 : : break;
10796 : : default:;
10797 : : }
10798 : : break;
10799 : : default:;
10800 : : }
10801 : : }
10802 : : break;
10803 : 1 : case CFN_BUILT_IN_PARITY:
10804 : 1 : if (call_expr_nargs (_p0) == 1)
10805 : : {
10806 : 1 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
10807 : 1 : switch (TREE_CODE (_p1))
10808 : : {
10809 : 1 : case CALL_EXPR:
10810 : 1 : switch (get_call_combined_fn (_p1))
10811 : : {
10812 : 1 : case CFN_BUILT_IN_PARITY:
10813 : 1 : if (call_expr_nargs (_p1) == 1)
10814 : : {
10815 : 1 : tree _q40 = CALL_EXPR_ARG (_p1, 0);
10816 : 1 : {
10817 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
10818 : 1 : tree res = generic_simplify_173 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_PARITY);
10819 : 1 : if (res) return res;
10820 : : }
10821 : : }
10822 : : break;
10823 : : default:;
10824 : : }
10825 : : break;
10826 : : default:;
10827 : : }
10828 : : }
10829 : : break;
10830 : 8 : case CFN_BUILT_IN_PARITYLL:
10831 : 8 : if (call_expr_nargs (_p0) == 1)
10832 : : {
10833 : 8 : tree _q20 = CALL_EXPR_ARG (_p0, 0);
10834 : 8 : switch (TREE_CODE (_p1))
10835 : : {
10836 : 8 : case CALL_EXPR:
10837 : 8 : switch (get_call_combined_fn (_p1))
10838 : : {
10839 : 8 : case CFN_BUILT_IN_PARITYLL:
10840 : 8 : if (call_expr_nargs (_p1) == 1)
10841 : : {
10842 : 8 : tree _q40 = CALL_EXPR_ARG (_p1, 0);
10843 : 8 : {
10844 : 8 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
10845 : 8 : tree res = generic_simplify_173 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_PARITYLL);
10846 : 8 : if (res) return res;
10847 : : }
10848 : : }
10849 : : break;
10850 : : default:;
10851 : : }
10852 : : break;
10853 : : default:;
10854 : : }
10855 : : }
10856 : : break;
10857 : : default:;
10858 : : }
10859 : : break;
10860 : : default:;
10861 : : }
10862 : : return NULL_TREE;
10863 : : }
10864 : :
10865 : : tree
10866 : 34521801 : generic_simplify (location_t loc, enum tree_code code, const tree type ATTRIBUTE_UNUSED, tree _p0, tree _p1, tree _p2)
10867 : : {
10868 : 34521801 : switch (code)
10869 : : {
10870 : 11816119 : case COND_EXPR:
10871 : 11816119 : return generic_simplify_COND_EXPR (loc, code, type, _p0, _p1, _p2);
10872 : 333984 : case VEC_COND_EXPR:
10873 : 333984 : return generic_simplify_VEC_COND_EXPR (loc, code, type, _p0, _p1, _p2);
10874 : 637704 : case BIT_FIELD_REF:
10875 : 637704 : return generic_simplify_BIT_FIELD_REF (loc, code, type, _p0, _p1, _p2);
10876 : 14440 : case BIT_INSERT_EXPR:
10877 : 14440 : return generic_simplify_BIT_INSERT_EXPR (loc, code, type, _p0, _p1, _p2);
10878 : 725818 : case VEC_PERM_EXPR:
10879 : 725818 : return generic_simplify_VEC_PERM_EXPR (loc, code, type, _p0, _p1, _p2);
10880 : : default:;
10881 : : }
10882 : : return NULL_TREE;
10883 : : }
10884 : :
10885 : : tree
10886 : 0 : generic_simplify (location_t, enum tree_code,
10887 : : const tree, tree, tree, tree, tree)
10888 : : {
10889 : 0 : return NULL_TREE;
10890 : : }
10891 : :
10892 : : tree
10893 : 0 : generic_simplify (location_t, enum tree_code,
10894 : : const tree, tree, tree, tree, tree, tree)
10895 : : {
10896 : 0 : return NULL_TREE;
10897 : : }
10898 : :
10899 : : tree
10900 : 0 : generic_simplify (location_t, enum tree_code,
10901 : : const tree, tree, tree, tree, tree, tree, tree)
10902 : : {
10903 : 0 : return NULL_TREE;
10904 : : }
10905 : :
10906 : : tree
10907 : 0 : generic_simplify (location_t, enum tree_code,
10908 : : const tree, tree, tree, tree, tree, tree, tree, tree)
10909 : : {
10910 : 0 : return NULL_TREE;
10911 : : }
10912 : : void
10913 : 19451 : generic_dump_logs (const char *file1, int line1_id, const char *file2, int line2, bool simplify)
10914 : : {
10915 : 19451 : static int dbg_line_numbers[1072] = {
10916 : : /* 0 */ 161, 164, 173, 175, 178, 181, 183, 189, 197, 195,
10917 : : /* 10 */ 199, 201, 960, 962, 2144, 2150, 2152, 2155, 2160, 2163,
10918 : : /* 20 */ 2401, 2405, 2407, 2409, 2411, 2413, 2415, 2417, 2444, 2460,
10919 : : /* 30 */ 2468, 2450, 3022, 3024, 3026, 3033, 3030, 3040, 3042, 3049,
10920 : : /* 40 */ 3046, 3257, 3267, 6040, 9354, 9375, 11552, 11555, 11560, 2111,
10921 : : /* 50 */ 9174, 254, 281, 282, 493, 1329, 1499, 1835, 1885, 1890,
10922 : : /* 60 */ 1994, 1953, 4344, 4282, 2534, 2566, 4387, 4388, 4392, 4393,
10923 : : /* 70 */ 4403, 4407, 4411, 4426, 4429, 4433, 4359, 4362, 4367, 4513,
10924 : : /* 80 */ 4519, 4525, 4705, 4706, 4735, 4756, 4775, 5118, 5939, 7292,
10925 : : /* 90 */ 7377, 7379, 8802, 8877, 10480, 10528, 10542, 11579, 12004, 944,
10926 : : /* 100 */ 950, 1479, 1488, 1971, 1962, 1909, 2683, 4295, 4335, 4340,
10927 : : /* 110 */ 4341, 4349, 4350, 4353, 4370, 4445, 4448, 4452, 4533, 4555,
10928 : : /* 120 */ 4593, 4604, 4643, 4658, 5124, 7302, 8882, 10538, 11583, 1335,
10929 : : /* 130 */ 1339, 1465, 1474, 1504, 1509, 1551, 1536, 1543, 1566, 1567,
10930 : : /* 140 */ 1571, 1572, 1593, 2048, 1598, 1605, 1625, 1728, 1752, 1842,
10931 : : /* 150 */ 1847, 1857, 1867, 1981, 2040, 2068, 2078, 2080, 2303, 2334,
10932 : : /* 160 */ 2342, 2347, 2352, 2368, 2358, 2359, 4832, 4845, 4855, 2382,
10933 : : /* 170 */ 2393, 2396, 2428, 2517, 2546, 2548, 2553, 2555, 2676, 3099,
10934 : : /* 180 */ 3101, 3868, 3883, 3901, 4101, 4102, 4103, 4111, 4119, 4128,
10935 : : /* 190 */ 4137, 4169, 4170, 4175, 4176, 4181, 4186, 4190, 4245, 4259,
10936 : : /* 200 */ 3873, 3892, 3894, 3878, 4869, 4881, 7965, 9751, 1514, 1519,
10937 : : /* 210 */ 1630, 1635, 1852, 1942, 1862, 2006, 1872, 1877, 2000, 2052,
10938 : : /* 220 */ 2013, 2019, 2657, 2026, 2086, 5130, 7361, 7363, 7428, 7436,
10939 : : /* 230 */ 10625, 10631, 461, 467, 499, 1274, 1294, 1299, 2136, 2137,
10940 : : /* 240 */ 2174, 2692, 5624, 5925, 5932, 5982, 5985, 6035, 8795, 9209,
10941 : : /* 250 */ 9039, 9046, 9203, 9248, 9253, 329, 906, 1347, 2941, 2759,
10942 : : /* 260 */ 2765, 2768, 2773, 2433, 2671, 2486, 2710, 2720, 2789, 2791,
10943 : : /* 270 */ 2792, 2795, 2797, 2798, 2800, 2802, 2804, 2806, 2808, 2810,
10944 : : /* 280 */ 2824, 2825, 2859, 2947, 2972, 2888, 2915, 2955, 2960, 2985,
10945 : : /* 290 */ 2992, 3058, 4217, 5060, 5068, 5071, 5077, 5080, 5107, 5416,
10946 : : /* 300 */ 5417, 5451, 5455, 5584, 5424, 5425, 5469, 5472, 5473, 5478,
10947 : : /* 310 */ 5481, 5484, 5485, 5437, 5440, 5657, 5661, 5666, 5950, 6102,
10948 : : /* 320 */ 6106, 7388, 7404, 7406, 7418, 7448, 7454, 7455, 7470, 7471,
10949 : : /* 330 */ 7475, 7493, 7498, 7530, 7538, 7548, 7557, 7561, 7567, 7574,
10950 : : /* 340 */ 7590, 7594, 7598, 7605, 7606, 7611, 7612, 7619, 7620, 7622,
10951 : : /* 350 */ 7623, 7639, 7650, 7662, 7666, 7668, 7673, 7676, 7679, 7687,
10952 : : /* 360 */ 7749, 7750, 7754, 7755, 7762, 7766, 7770, 7773, 7779, 7780,
10953 : : /* 370 */ 7784, 7787, 7794, 7814, 7817, 7820, 7823, 7872, 7875, 7879,
10954 : : /* 380 */ 7886, 7892, 7900, 7909, 7910, 8008, 8018, 8057, 8063, 8079,
10955 : : /* 390 */ 8092, 8094, 8096, 8122, 8164, 8143, 8144, 8151, 8153, 8169,
10956 : : /* 400 */ 8175, 8180, 8189, 8195, 8201, 8206, 8211, 8243, 8306, 8225,
10957 : : /* 410 */ 8235, 8344, 8346, 8348, 8350, 8352, 8354, 8358, 8360, 8383,
10958 : : /* 420 */ 8406, 8518, 8525, 8526, 8534, 8535, 8715, 9795, 9797, 9885,
10959 : : /* 430 */ 9887, 9888, 9894, 9910, 9912, 9914, 9932, 9933, 10265, 10268,
10960 : : /* 440 */ 10282, 10291, 10355, 10356, 10410, 10412, 10488, 10897, 10899, 10901,
10961 : : /* 450 */ 11334, 7384, 7395, 7397, 7505, 473, 1247, 1268, 9159, 9164,
10962 : : /* 460 */ 9169, 533, 534, 545, 550, 557, 566, 574, 583, 629,
10963 : : /* 470 */ 632, 841, 995, 1023, 1054, 594, 871, 875, 880, 886,
10964 : : /* 480 */ 890, 898, 987, 745, 755, 757, 759, 8789, 9214, 9236,
10965 : : /* 490 */ 9219, 9224, 9229, 9243, 9277, 9282, 816, 6710, 6712, 6714,
10966 : : /* 500 */ 6814, 6817, 6991, 6993, 7007, 7011, 7034, 7040, 7098, 3829,
10967 : : /* 510 */ 5160, 5203, 5216, 6636, 6924, 6928, 6936, 5148, 5167, 5174,
10968 : : /* 520 */ 5180, 5186, 5192, 7104, 7236, 9768, 9769, 7246, 10685, 10693,
10969 : : /* 530 */ 8259, 8260, 8274, 8275, 828, 831, 1703, 2733, 2736, 2833,
10970 : : /* 540 */ 2845, 2930, 2874, 2901, 3013, 3016, 5098, 5090, 7326, 8645,
10971 : : /* 550 */ 7922, 7925, 7951, 7952, 8431, 8433, 8435, 8437, 8441, 8443,
10972 : : /* 560 */ 8445, 8447, 8451, 8456, 8463, 8468, 8488, 8490, 8492, 8494,
10973 : : /* 570 */ 8658, 8666, 8676, 8684, 8694, 8816, 8818, 9809, 9828, 9868,
10974 : : /* 580 */ 10333, 10335, 10336, 10391, 10394, 10396, 2749, 7316, 7995, 8890,
10975 : : /* 590 */ 8895, 10918, 10920, 10922, 10924, 10928, 933, 969, 1319, 5236,
10976 : : /* 600 */ 5306, 5309, 5317, 5385, 5387, 5388, 5389, 5596, 5287, 5296,
10977 : : /* 610 */ 6156, 6159, 6160, 6168, 2314, 2326, 4228, 4233, 5002, 9634,
10978 : : /* 620 */ 9636, 9667, 9702, 11948, 1211, 9107, 9128, 1220, 8851, 8857,
10979 : : /* 630 */ 9154, 9581, 1234, 1238, 9149, 9332, 1447, 1531, 1579, 1524,
10980 : : /* 640 */ 1556, 1587, 1620, 1661, 1672, 1683, 1695, 2578, 1924, 1932,
10981 : : /* 650 */ 1937, 2060, 2423, 2698, 3253, 5555, 5573, 5574, 6127, 6133,
10982 : : /* 660 */ 6181, 3838, 3840, 3850, 3852, 3959, 3960, 3961, 3969, 3977,
10983 : : /* 670 */ 3986, 3995, 4029, 4030, 4035, 4036, 4041, 4046, 4050, 3858,
10984 : : /* 680 */ 3863, 3908, 7520, 7968, 9737, 9739, 10523, 1610, 1615, 2636,
10985 : : /* 690 */ 1783, 2641, 5635, 2616, 2647, 2651, 5649, 5045, 7353, 7355,
10986 : : /* 700 */ 2181, 2195, 2621, 4320, 2220, 2243, 2244, 10208, 4888, 4892,
10987 : : /* 710 */ 4902, 4920, 4985, 4987, 4989, 4991, 5040, 9759, 4906, 4913,
10988 : : /* 720 */ 4898, 5012, 5021, 5024, 5223, 5357, 5367, 8744, 8747, 8766,
10989 : : /* 730 */ 6078, 6090, 6093, 6097, 11127, 11133, 11141, 11147, 11156, 11162,
10990 : : /* 740 */ 11170, 11176, 11222, 11230, 8550, 7513, 7509, 8725, 8732, 8867,
10991 : : /* 750 */ 8872, 8973, 9070, 9087, 9119, 9139, 9144, 9395, 9372, 9351,
10992 : : /* 760 */ 9180, 9184, 9475, 9485, 9492, 9501, 9519, 9526, 9507, 9774,
10993 : : /* 770 */ 9780, 10198, 10204, 10201, 10212, 10218, 10226, 10232, 10240, 10246,
10994 : : /* 780 */ 10300, 10503, 10518, 10784, 10787, 10592, 10606, 10619, 11303, 11318,
10995 : : /* 790 */ 11409, 11410, 12057, 219, 2092, 2102, 6213, 2120, 1161, 2589,
10996 : : /* 800 */ 3234, 5677, 5679, 5689, 5806, 5817, 5830, 5853, 5863, 5872,
10997 : : /* 810 */ 5884, 5910, 6221, 6642, 1780, 1794, 1801, 1823, 1830, 2438,
10998 : : /* 820 */ 2664, 2097, 2115, 2124, 2190, 2226, 2232, 4307, 7279, 4315,
10999 : : /* 830 */ 10222, 10236, 10250, 5694, 5704, 5713, 5740, 5750, 5756, 6230,
11000 : : /* 840 */ 5765, 5762, 6048, 6056, 6064, 6068, 6051, 6059, 6072, 6084,
11001 : : /* 850 */ 237, 727, 2502, 4967, 5997, 6003, 6005, 6248, 6268, 6277,
11002 : : /* 860 */ 11963, 3106, 3110, 242, 3127, 3131, 3162, 3170, 3143, 3157,
11003 : : /* 870 */ 260, 297, 1483, 1789, 1897, 1904, 1914, 1919, 2201, 3178,
11004 : : /* 880 */ 3190, 3184, 3196, 2212, 2854, 2882, 2909, 2893, 2920, 4567,
11005 : : /* 890 */ 4539, 4614, 4623, 4666, 4677, 6010, 6021, 11929, 11930, 1708,
11006 : : /* 900 */ 1713, 6257, 7958, 11281, 11285, 1736, 1741, 2629, 4205, 247,
11007 : : /* 910 */ 300, 2863, 2866, 3203, 3210, 3217, 3223, 4576, 3228, 4632,
11008 : : /* 920 */ 4686, 6013, 373, 304, 341, 350, 358, 432, 447, 455,
11009 : : /* 930 */ 646, 686, 1004, 1199, 1204, 1302, 1305, 1439, 2492, 6026,
11010 : : /* 940 */ 8824, 8830, 9021, 9271, 2609, 6434, 6442, 8025, 8582, 8625,
11011 : : /* 950 */ 8626, 2599, 8576, 609, 612, 736, 765, 771, 777, 785,
11012 : : /* 960 */ 790, 795, 859, 863, 8836, 8842, 8500, 917, 1394, 5252,
11013 : : /* 970 */ 1383, 1386, 1418, 1429, 5229, 5301, 5395, 1453, 1642, 1718,
11014 : : /* 980 */ 1746, 2373, 5401, 5402, 7962, 11936, 4927, 4931, 4959, 4960,
11015 : : /* 990 */ 5033, 4938, 4942, 4950, 4951, 5338, 6045, 8558, 8560, 8567,
11016 : : /* 1000 */ 8569, 7517, 7111, 5136, 6943, 6948, 7073, 7079, 7088, 7089,
11017 : : /* 1010 */ 6199, 6201, 7117, 7120, 7129, 7133, 7138, 7167, 7172, 7233,
11018 : : /* 1020 */ 7180, 7185, 7243, 8289, 8291, 7202, 7203, 7204, 7254, 7223,
11019 : : /* 1030 */ 7224, 7225, 7266, 7267, 8320, 8325, 7146, 6205, 6207, 6453,
11020 : : /* 1040 */ 6455, 9940, 9946, 9951, 9960, 9962, 9982, 10027, 10030, 10031,
11021 : : /* 1050 */ 10063, 10069, 10071, 10072, 10128, 10129, 10150, 10155, 10160, 10190,
11022 : : /* 1060 */ 11433, 11435, 11470, 11544, 11547, 11632, 11567, 11573, 11701, 11703,
11023 : : /* 1070 */ 11765, 11767
11024 : : };
11025 : :
11026 : 29171 : fprintf (dump_file, "%s %s:%d, %s:%d\n",
11027 : : simplify ? "Applying pattern" : "Matching expression", file1, dbg_line_numbers[line1_id], file2, line2);
11028 : 19451 : }
11029 : :
11030 : : #pragma GCC diagnostic pop
|