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 : 82802795 : tree_zero_one_valued_p (tree t)
11 : : {
12 : 82802795 : const tree type = TREE_TYPE (t);
13 : 82802795 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
14 : 82802795 : if (TREE_SIDE_EFFECTS (t)) return false;
15 : 78404374 : {
16 : 78404374 : tree captures[1] ATTRIBUTE_UNUSED = { t };
17 : 156808748 : if (INTEGRAL_TYPE_P (type)
18 : 54083482 : && (TYPE_UNSIGNED (type)
19 : 11620067 : || TYPE_PRECISION (type) > 1)
20 : 186571317 : && wi::leu_p (tree_nonzero_bits (captures[0]), 1)
21 : : )
22 : : {
23 : 472996 : {
24 : 472996 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 18, __FILE__, __LINE__, false);
25 : 472996 : return true;
26 : : }
27 : : }
28 : : }
29 : 77931378 : switch (TREE_CODE (t))
30 : : {
31 : 263036 : case BIT_AND_EXPR:
32 : 263036 : {
33 : 263036 : tree _p0 = TREE_OPERAND (t, 0);
34 : 263036 : tree _p1 = TREE_OPERAND (t, 1);
35 : 263036 : if (integer_onep (_p1))
36 : : {
37 : 0 : {
38 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { t, _p0 };
39 : 0 : if (INTEGRAL_TYPE_P (type)
40 : : )
41 : : {
42 : 0 : {
43 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 19, __FILE__, __LINE__, false);
44 : 0 : return true;
45 : : }
46 : : }
47 : : }
48 : : }
49 : 263036 : if (integer_onep (_p0))
50 : : {
51 : 0 : {
52 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { t, _p1 };
53 : 0 : if (INTEGRAL_TYPE_P (type)
54 : : )
55 : : {
56 : 0 : {
57 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 19, __FILE__, __LINE__, false);
58 : 0 : return true;
59 : : }
60 : : }
61 : : }
62 : : }
63 : : break;
64 : : }
65 : 34795108 : CASE_CONVERT:
66 : 34795108 : {
67 : 34795108 : tree _p0 = TREE_OPERAND (t, 0);
68 : 34795108 : {
69 : 34795108 : tree captures[2] ATTRIBUTE_UNUSED = { t, _p0 };
70 : 69583509 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
71 : 30610898 : && (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
72 : 26629457 : || TYPE_PRECISION (TREE_TYPE (captures[1])) > 1)
73 : 30610898 : && INTEGRAL_TYPE_P (type)
74 : 30610881 : && (TYPE_UNSIGNED (type)
75 : 1667277 : || TYPE_PRECISION (type) > 1)
76 : 100201097 : && wi::leu_p (tree_nonzero_bits (captures[1]), 1)
77 : : )
78 : : {
79 : 0 : {
80 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 20, __FILE__, __LINE__, false);
81 : 0 : return true;
82 : : }
83 : : }
84 : : }
85 : : break;
86 : : }
87 : 77931378 : default:;
88 : : }
89 : 77931378 : if (tree_truth_valued_p (t))
90 : : {
91 : 57028 : {
92 : 57028 : tree captures[1] ATTRIBUTE_UNUSED = { t };
93 : 57028 : if (INTEGRAL_TYPE_P (type)
94 : 57028 : && (TYPE_UNSIGNED (type)
95 : 56998 : || TYPE_PRECISION (type) > 1)
96 : : )
97 : : {
98 : 57007 : {
99 : 57007 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
100 : 57007 : return true;
101 : : }
102 : : }
103 : : }
104 : : }
105 : : return false;
106 : : }
107 : :
108 : : tree
109 : 88 : generic_simplify_4 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
110 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
111 : : {
112 : 88 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
113 : 88 : if (ANY_INTEGRAL_TYPE_P (type) && TYPE_OVERFLOW_UNDEFINED (type)
114 : : )
115 : : {
116 : 88 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail85;
117 : 88 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail85;
118 : 88 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail85;
119 : 88 : {
120 : 88 : tree res_op0;
121 : 88 : res_op0 = captures[0];
122 : 88 : tree _r;
123 : 88 : _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
124 : 88 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 44, __FILE__, __LINE__, true);
125 : 88 : return _r;
126 : : }
127 : : next_after_fail85:;
128 : : }
129 : : return NULL_TREE;
130 : : }
131 : :
132 : : tree
133 : 0 : generic_simplify_9 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
134 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
135 : : {
136 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
137 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail90;
138 : 0 : {
139 : 0 : tree res_op0;
140 : 0 : res_op0 = captures[0];
141 : 0 : tree res_op1;
142 : 0 : res_op1 = captures[1];
143 : 0 : tree _r;
144 : 0 : _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
145 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 49, __FILE__, __LINE__, true);
146 : : return _r;
147 : : }
148 : 0 : next_after_fail90:;
149 : 0 : return NULL_TREE;
150 : : }
151 : :
152 : : tree
153 : 170591 : generic_simplify_15 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
154 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
155 : : const enum tree_code ARG_UNUSED (outer_op))
156 : : {
157 : 170591 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
158 : 170591 : if (!TYPE_SATURATING (type)
159 : : )
160 : : {
161 : 170591 : if ((!FLOAT_TYPE_P (type) || flag_associative_math)
162 : 341175 : && !FIXED_POINT_TYPE_P (type)
163 : : )
164 : : {
165 : 170584 : if (!ANY_INTEGRAL_TYPE_P (type) || TYPE_OVERFLOW_WRAPS (type)
166 : : )
167 : : {
168 : 161165 : if (!CONSTANT_CLASS_P (captures[1])
169 : : )
170 : : {
171 : 161165 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail102;
172 : 161165 : {
173 : 161165 : tree res_op0;
174 : 161165 : {
175 : 161165 : tree _o1[2], _r1;
176 : 161165 : {
177 : 161165 : tree _o2[1], _r2;
178 : 161165 : _o2[0] = captures[0];
179 : 161165 : _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o2[0]);
180 : 161165 : _o1[0] = _r2;
181 : : }
182 : 161165 : _o1[1] = captures[2];
183 : 161165 : _r1 = fold_build2_loc (loc, outer_op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
184 : 161165 : if (EXPR_P (_r1))
185 : 0 : goto next_after_fail102;
186 : 161165 : res_op0 = _r1;
187 : : }
188 : 161165 : tree res_op1;
189 : 161165 : {
190 : 161165 : tree _o1[1], _r1;
191 : 161165 : _o1[0] = captures[1];
192 : 161165 : _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o1[0]);
193 : 161165 : res_op1 = _r1;
194 : : }
195 : 161165 : tree _r;
196 : 161165 : _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
197 : 161165 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 61, __FILE__, __LINE__, true);
198 : 161165 : return _r;
199 : : }
200 : : next_after_fail102:;
201 : : }
202 : : }
203 : : else
204 : : {
205 : 18838 : if (!ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
206 : 18838 : || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
207 : : )
208 : : {
209 : 2437 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail103;
210 : 2437 : {
211 : 2437 : tree res_op0;
212 : 2437 : {
213 : 2437 : tree _o1[2], _r1;
214 : 2437 : {
215 : 2437 : tree _o2[2], _r2;
216 : 2437 : _o2[0] = captures[0];
217 : 2437 : {
218 : 2437 : tree _o3[1], _r3;
219 : 2437 : _o3[0] = captures[2];
220 : 2437 : _r3 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, TREE_TYPE (_o2[0]), _o3[0]);
221 : 2437 : _o2[1] = _r3;
222 : : }
223 : 2437 : _r2 = fold_build2_loc (loc, outer_op, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
224 : 2437 : if (EXPR_P (_r2))
225 : 0 : goto next_after_fail103;
226 : 2437 : _o1[0] = _r2;
227 : : }
228 : 2437 : _o1[1] = captures[1];
229 : 2437 : _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
230 : 2437 : res_op0 = _r1;
231 : : }
232 : 2437 : tree _r;
233 : 2437 : _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
234 : 2437 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 62, __FILE__, __LINE__, true);
235 : 2437 : return _r;
236 : : }
237 : : next_after_fail103:;
238 : : }
239 : : else
240 : : {
241 : 6982 : if (types_match (type, captures[1]) && !TYPE_OVERFLOW_SANITIZED (type)
242 : : )
243 : : {
244 : 6949 : {
245 : 6949 : tree cst = const_binop (outer_op, type, captures[0], captures[2]);
246 : 6949 : if (cst && !TREE_OVERFLOW (cst)
247 : : )
248 : : {
249 : 6940 : if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail104;
250 : 6940 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail104;
251 : 6940 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail104;
252 : 6940 : {
253 : 6940 : tree res_op0;
254 : 6940 : res_op0 = cst;
255 : 6940 : tree res_op1;
256 : 6940 : res_op1 = captures[1];
257 : 6940 : tree _r;
258 : 6940 : _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
259 : 6940 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 63, __FILE__, __LINE__, true);
260 : 6940 : return _r;
261 : : }
262 : : next_after_fail104:;
263 : : }
264 : : }
265 : : }
266 : : }
267 : : }
268 : : }
269 : : }
270 : : return NULL_TREE;
271 : : }
272 : :
273 : : tree
274 : 82 : generic_simplify_34 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
275 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
276 : : {
277 : 82 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
278 : 82 : if (INTEGRAL_TYPE_P (type) || VECTOR_INTEGER_TYPE_P (type)
279 : : )
280 : : {
281 : 82 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail124;
282 : 82 : {
283 : 82 : tree res_op0;
284 : 82 : {
285 : 82 : tree _o1[2], _r1;
286 : 82 : _o1[0] = captures[0];
287 : 82 : _o1[1] = captures[1];
288 : 82 : _r1 = fold_build2_loc (loc, TRUNC_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
289 : 82 : res_op0 = _r1;
290 : : }
291 : 82 : tree _r;
292 : 82 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
293 : 82 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 83, __FILE__, __LINE__, true);
294 : 82 : return _r;
295 : : }
296 : 0 : next_after_fail124:;
297 : : }
298 : : return NULL_TREE;
299 : : }
300 : :
301 : : tree
302 : 1 : generic_simplify_39 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
303 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
304 : : {
305 : 1 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
306 : 1 : if (!TYPE_OVERFLOW_SANITIZED (type) && !TYPE_OVERFLOW_TRAPS (type)
307 : 1 : && !TYPE_SATURATING (type) && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[0]))
308 : 1 : && !TYPE_OVERFLOW_TRAPS (TREE_TYPE (captures[0]))
309 : 2 : && !TYPE_SATURATING (TREE_TYPE (captures[0]))
310 : : )
311 : : {
312 : 1 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail129;
313 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail129;
314 : 1 : {
315 : 1 : tree res_op0;
316 : 1 : {
317 : 1 : tree _o1[1], _r1;
318 : 1 : {
319 : 1 : tree _o2[2], _r2;
320 : 1 : _o2[0] = captures[1];
321 : 1 : _o2[1] = captures[2];
322 : 1 : _r2 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
323 : 1 : _o1[0] = _r2;
324 : : }
325 : 1 : if (TREE_TYPE (_o1[0]) != type)
326 : : {
327 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
328 : : }
329 : : else
330 : : _r1 = _o1[0];
331 : 1 : res_op0 = _r1;
332 : : }
333 : 1 : tree _r;
334 : 1 : _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
335 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 88, __FILE__, __LINE__, true);
336 : 1 : return _r;
337 : : }
338 : : next_after_fail129:;
339 : : }
340 : : return NULL_TREE;
341 : : }
342 : :
343 : : tree
344 : 0 : generic_simplify_48 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
345 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
346 : : {
347 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
348 : 0 : if (!TYPE_SATURATING (type)
349 : : )
350 : : {
351 : 0 : if ((!FLOAT_TYPE_P (type) || flag_associative_math)
352 : 0 : && !FIXED_POINT_TYPE_P (type)
353 : : )
354 : : {
355 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail140;
356 : 0 : {
357 : 0 : tree res_op0;
358 : 0 : res_op0 = captures[1];
359 : 0 : tree res_op1;
360 : 0 : res_op1 = captures[2];
361 : 0 : tree _r;
362 : 0 : _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
363 : 0 : if (TREE_SIDE_EFFECTS (captures[0]))
364 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
365 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 98, __FILE__, __LINE__, true);
366 : 0 : return _r;
367 : : }
368 : 0 : next_after_fail140:;
369 : : }
370 : : }
371 : : return NULL_TREE;
372 : : }
373 : :
374 : : tree
375 : 9 : generic_simplify_54 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
376 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
377 : : {
378 : 9 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
379 : 9 : if (INTEGRAL_TYPE_P (type)
380 : 9 : && (
381 : :
382 : 9 : || !TREE_SIDE_EFFECTS (captures[1]))
383 : : )
384 : : {
385 : 2 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail150;
386 : 2 : {
387 : 2 : tree res_op0;
388 : 2 : {
389 : 2 : tree _o1[1], _r1;
390 : 2 : _o1[0] = captures[2];
391 : 2 : if (TREE_TYPE (_o1[0]) != boolean_type_node)
392 : : {
393 : 2 : _r1 = fold_build1_loc (loc, NOP_EXPR, boolean_type_node, _o1[0]);
394 : : }
395 : : else
396 : : _r1 = _o1[0];
397 : 2 : res_op0 = _r1;
398 : : }
399 : 2 : tree res_op1;
400 : 2 : res_op1 = captures[1];
401 : 2 : tree res_op2;
402 : 2 : res_op2 = captures[0];
403 : 2 : tree _r;
404 : 2 : _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
405 : 2 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 108, __FILE__, __LINE__, true);
406 : 2 : return _r;
407 : : }
408 : 0 : next_after_fail150:;
409 : : }
410 : : return NULL_TREE;
411 : : }
412 : :
413 : : tree
414 : 10 : generic_simplify_60 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
415 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
416 : : const enum tree_code ARG_UNUSED (bitop),
417 : : const enum tree_code ARG_UNUSED (cmp))
418 : : {
419 : 10 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
420 : 20 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
421 : 10 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
422 : 20 : && TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (TREE_TYPE (captures[2]))
423 : : )
424 : : {
425 : 10 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail156;
426 : 10 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail156;
427 : 10 : {
428 : 10 : tree res_op0;
429 : 10 : {
430 : 10 : tree _o1[2], _r1;
431 : 10 : _o1[0] = captures[0];
432 : 10 : {
433 : 10 : tree _o2[1], _r2;
434 : 10 : _o2[0] = captures[2];
435 : 10 : if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o1[0]))
436 : : {
437 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
438 : : }
439 : : else
440 : : _r2 = _o2[0];
441 : 10 : _o1[1] = _r2;
442 : : }
443 : 10 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
444 : 10 : res_op0 = _r1;
445 : : }
446 : 10 : tree res_op1;
447 : 10 : res_op1 = captures[1];
448 : 10 : tree _r;
449 : 10 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
450 : 10 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 114, __FILE__, __LINE__, true);
451 : 10 : return _r;
452 : : }
453 : : next_after_fail156:;
454 : : }
455 : : return NULL_TREE;
456 : : }
457 : :
458 : : tree
459 : 0 : generic_simplify_70 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
460 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
461 : : const enum tree_code ARG_UNUSED (op))
462 : : {
463 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
464 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail166;
465 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail166;
466 : 0 : {
467 : 0 : tree _r;
468 : 0 : _r = captures[0];
469 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 121, __FILE__, __LINE__, true);
470 : : return _r;
471 : : }
472 : : next_after_fail166:;
473 : : return NULL_TREE;
474 : : }
475 : :
476 : : tree
477 : 3200794 : generic_simplify_77 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
478 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
479 : : const enum tree_code ARG_UNUSED (op))
480 : : {
481 : 3200794 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
482 : 3200794 : {
483 : 3200794 : bool wascmp;
484 : 3200794 : if (types_match (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
485 : 3200794 : && bitwise_inverted_equal_p (captures[0], captures[1], wascmp)
486 : : )
487 : : {
488 : 47 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail173;
489 : 47 : {
490 : 47 : tree res_op0;
491 : 94 : res_op0 = wascmp
492 : 47 : ? constant_boolean_node (true, type)
493 : 40 : : build_all_ones_cst (TREE_TYPE (captures[0]));
494 : 47 : tree _r;
495 : 47 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
496 : 47 : if (TREE_SIDE_EFFECTS (captures[0]))
497 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
498 : 47 : if (TREE_SIDE_EFFECTS (captures[1]))
499 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
500 : 47 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 126, __FILE__, __LINE__, true);
501 : 47 : return _r;
502 : : }
503 : 0 : next_after_fail173:;
504 : : }
505 : : }
506 : 3200747 : return NULL_TREE;
507 : : }
508 : :
509 : : tree
510 : 0 : generic_simplify_89 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
511 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
512 : : const enum tree_code ARG_UNUSED (op))
513 : : {
514 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
515 : 0 : if (tree_nop_conversion_p (type, TREE_TYPE (captures[3]))
516 : 0 : && tree_nop_conversion_p (type, TREE_TYPE (captures[6]))
517 : : )
518 : : {
519 : 0 : if (single_use (captures[4]) && single_use (captures[5])
520 : : )
521 : : {
522 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail186;
523 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail186;
524 : 0 : {
525 : 0 : tree res_op0;
526 : 0 : res_op0 = captures[0];
527 : 0 : tree res_op1;
528 : 0 : {
529 : 0 : tree _o1[1], _r1;
530 : 0 : _o1[0] = captures[6];
531 : 0 : if (TREE_TYPE (_o1[0]) != type)
532 : : {
533 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
534 : : }
535 : : else
536 : : _r1 = _o1[0];
537 : 0 : res_op1 = _r1;
538 : : }
539 : 0 : tree _r;
540 : 0 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
541 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 135, __FILE__, __LINE__, true);
542 : 0 : return _r;
543 : : }
544 : : next_after_fail186:;
545 : : }
546 : : else
547 : : {
548 : : if (single_use (captures[0]) && single_use (captures[1])
549 : : )
550 : : {
551 : : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail187;
552 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail187;
553 : : {
554 : : tree res_op0;
555 : : {
556 : : tree _o1[1], _r1;
557 : : _o1[0] = captures[3];
558 : : if (TREE_TYPE (_o1[0]) != type)
559 : : {
560 : : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
561 : : }
562 : : else
563 : : _r1 = _o1[0];
564 : : res_op0 = _r1;
565 : : }
566 : : tree res_op1;
567 : : res_op1 = captures[4];
568 : : tree _r;
569 : : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
570 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 136, __FILE__, __LINE__, true);
571 : : return _r;
572 : : }
573 : : next_after_fail187:;
574 : : }
575 : : }
576 : : }
577 : : return NULL_TREE;
578 : : }
579 : :
580 : : tree
581 : 2 : generic_simplify_102 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
582 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
583 : : const enum tree_code ARG_UNUSED (bitop),
584 : : const enum tree_code ARG_UNUSED (rbitop))
585 : : {
586 : 2 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
587 : 2 : if (bitop == BIT_AND_EXPR
588 : : )
589 : : {
590 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail202;
591 : 1 : {
592 : 1 : tree _r;
593 : 1 : _r = build_zero_cst (type);
594 : 1 : if (TREE_SIDE_EFFECTS (captures[0]))
595 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
596 : 1 : if (TREE_SIDE_EFFECTS (captures[1]))
597 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
598 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 143, __FILE__, __LINE__, true);
599 : 1 : return _r;
600 : : }
601 : 0 : next_after_fail202:;
602 : : }
603 : : else
604 : : {
605 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail203;
606 : 1 : {
607 : 1 : tree _r;
608 : 1 : _r = build_minus_one_cst (type);
609 : 1 : if (TREE_SIDE_EFFECTS (captures[0]))
610 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
611 : 1 : if (TREE_SIDE_EFFECTS (captures[1]))
612 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
613 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 144, __FILE__, __LINE__, true);
614 : 1 : return _r;
615 : : }
616 : 0 : next_after_fail203:;
617 : : }
618 : : return NULL_TREE;
619 : : }
620 : :
621 : : tree
622 : 0 : generic_simplify_114 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
623 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
624 : : {
625 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
626 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail221;
627 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail221;
628 : 0 : {
629 : 0 : tree _r;
630 : 0 : _r = captures[2];
631 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
632 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
633 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 160, __FILE__, __LINE__, true);
634 : : return _r;
635 : : }
636 : : next_after_fail221:;
637 : : return NULL_TREE;
638 : : }
639 : :
640 : : tree
641 : 0 : generic_simplify_120 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
642 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
643 : : {
644 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
645 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail245;
646 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail245;
647 : 0 : {
648 : 0 : tree _r;
649 : 0 : _r = constant_boolean_node (true, type);
650 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
651 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
652 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 176, __FILE__, __LINE__, true);
653 : : return _r;
654 : : }
655 : : next_after_fail245:;
656 : : return NULL_TREE;
657 : : }
658 : :
659 : : tree
660 : 0 : generic_simplify_125 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
661 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
662 : : {
663 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
664 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail263;
665 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail263;
666 : 0 : {
667 : 0 : tree _r;
668 : 0 : _r = constant_boolean_node (true, type);
669 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
670 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
671 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 176, __FILE__, __LINE__, true);
672 : : return _r;
673 : : }
674 : : next_after_fail263:;
675 : : return NULL_TREE;
676 : : }
677 : :
678 : : tree
679 : 2 : generic_simplify_128 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
680 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
681 : : {
682 : 2 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
683 : 4 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
684 : 4 : && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
685 : : )
686 : : {
687 : 2 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail267;
688 : 2 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail267;
689 : 2 : {
690 : 2 : tree res_op0;
691 : 2 : res_op0 = captures[3];
692 : 2 : tree res_op1;
693 : 2 : {
694 : 2 : tree _o1[2], _r1;
695 : 2 : _o1[0] = captures[1];
696 : 2 : _o1[1] = build_int_cst (TREE_TYPE (captures[1]), 1);
697 : 2 : _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
698 : 2 : res_op1 = _r1;
699 : : }
700 : 2 : tree _r;
701 : 2 : _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
702 : 2 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 161, __FILE__, __LINE__, true);
703 : 2 : return _r;
704 : : }
705 : : next_after_fail267:;
706 : : }
707 : : return NULL_TREE;
708 : : }
709 : :
710 : : tree
711 : 494 : generic_simplify_133 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
712 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
713 : : const enum tree_code ARG_UNUSED (op))
714 : : {
715 : 494 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
716 : 988 : if (INTEGRAL_TYPE_P (type)
717 : 493 : && tree_int_cst_sgn (captures[2]) > 0
718 : 2467 : && (tree_nonzero_bits (captures[0]) & tree_nonzero_bits (captures[1])) == 0
719 : : )
720 : : {
721 : 6 : {
722 : 6 : tree t = type;
723 : 6 : if (!TYPE_OVERFLOW_WRAPS (t))
724 : 6 : t = unsigned_type_for (t);
725 : 6 : wide_int wone = wi::one (TYPE_PRECISION (t));
726 : 6 : wide_int c = wi::add (wi::lshift (wone, wi::to_wide (captures[2])), wone);
727 : 6 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail272;
728 : 6 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail272;
729 : 6 : {
730 : 6 : tree res_op0;
731 : 6 : {
732 : 6 : tree _o1[2], _r1;
733 : 6 : {
734 : 6 : tree _o2[1], _r2;
735 : 6 : _o2[0] = captures[1];
736 : 6 : if (TREE_TYPE (_o2[0]) != t)
737 : : {
738 : 6 : _r2 = fold_build1_loc (loc, NOP_EXPR, t, _o2[0]);
739 : : }
740 : : else
741 : : _r2 = _o2[0];
742 : 6 : _o1[0] = _r2;
743 : : }
744 : 6 : _o1[1] = wide_int_to_tree (t, c);
745 : 6 : _r1 = fold_build2_loc (loc, MULT_EXPR, t, _o1[0], _o1[1]);
746 : 6 : res_op0 = _r1;
747 : : }
748 : 6 : tree _r;
749 : 6 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
750 : 6 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 184, __FILE__, __LINE__, true);
751 : 6 : return _r;
752 : : }
753 : 0 : next_after_fail272:;
754 : 6 : }
755 : : }
756 : : return NULL_TREE;
757 : : }
758 : :
759 : : tree
760 : 8 : generic_simplify_141 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
761 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
762 : : {
763 : 8 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
764 : 8 : if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
765 : : )
766 : : {
767 : 8 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail280;
768 : 8 : {
769 : 8 : tree res_op0;
770 : 8 : {
771 : 8 : tree _o1[2], _r1;
772 : 8 : _o1[0] = captures[1];
773 : 8 : {
774 : 8 : tree _o2[1], _r2;
775 : 8 : _o2[0] = captures[0];
776 : 8 : _r2 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
777 : 8 : _o1[1] = _r2;
778 : : }
779 : 8 : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
780 : 8 : res_op0 = _r1;
781 : : }
782 : 8 : tree _r;
783 : 8 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
784 : 8 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 191, __FILE__, __LINE__, true);
785 : 8 : return _r;
786 : : }
787 : 0 : next_after_fail280:;
788 : : }
789 : : return NULL_TREE;
790 : : }
791 : :
792 : : tree
793 : 0 : generic_simplify_147 (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_fail286;
798 : 0 : {
799 : 0 : tree res_op0;
800 : 0 : res_op0 = captures[0];
801 : 0 : tree res_op1;
802 : 0 : res_op1 = captures[1];
803 : 0 : tree _r;
804 : 0 : _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
805 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 197, __FILE__, __LINE__, true);
806 : : return _r;
807 : : }
808 : 0 : next_after_fail286:;
809 : 0 : return NULL_TREE;
810 : : }
811 : :
812 : : tree
813 : 90 : generic_simplify_152 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
814 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
815 : : const enum tree_code ARG_UNUSED (opo),
816 : : const enum tree_code ARG_UNUSED (opi))
817 : : {
818 : 90 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
819 : 90 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail291;
820 : 90 : {
821 : 90 : tree res_op0;
822 : 90 : {
823 : 90 : tree _o1[1], _r1;
824 : 90 : _o1[0] = captures[1];
825 : 90 : _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
826 : 90 : res_op0 = _r1;
827 : : }
828 : 90 : tree res_op1;
829 : 90 : res_op1 = captures[2];
830 : 90 : tree _r;
831 : 90 : _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
832 : 90 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 202, __FILE__, __LINE__, true);
833 : : return _r;
834 : : }
835 : 0 : next_after_fail291:;
836 : 0 : return NULL_TREE;
837 : : }
838 : :
839 : : tree
840 : 5 : generic_simplify_158 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
841 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
842 : : {
843 : 5 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
844 : 10 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
845 : 5 : && !TYPE_UNSIGNED (TREE_TYPE (captures[1]))
846 : 10 : && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[3]))
847 : : )
848 : : {
849 : 5 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail298;
850 : 5 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail298;
851 : 5 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail298;
852 : 5 : {
853 : 5 : tree res_op0;
854 : 5 : {
855 : 5 : tree _o1[2], _r1;
856 : 5 : _o1[0] = captures[1];
857 : 5 : _o1[1] = captures[3];
858 : 5 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
859 : 5 : res_op0 = _r1;
860 : : }
861 : 5 : tree res_op1;
862 : 5 : res_op1 = build_zero_cst (TREE_TYPE (captures[1]));
863 : 5 : tree _r;
864 : 5 : _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
865 : 5 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 208, __FILE__, __LINE__, true);
866 : 5 : return _r;
867 : : }
868 : : next_after_fail298:;
869 : : }
870 : : return NULL_TREE;
871 : : }
872 : :
873 : : tree
874 : 6 : generic_simplify_169 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
875 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
876 : : {
877 : 6 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
878 : 6 : if (INTEGRAL_TYPE_P (type)
879 : 6 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
880 : 12 : && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
881 : : )
882 : : {
883 : 6 : if (TYPE_UNSIGNED (type)
884 : : )
885 : : {
886 : 5 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail310;
887 : 5 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail310;
888 : 5 : {
889 : 5 : tree res_op0;
890 : 5 : res_op0 = captures[0];
891 : 5 : tree _r;
892 : 5 : _r = fold_build1_loc (loc, ABSU_EXPR, type, res_op0);
893 : 5 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 217, __FILE__, __LINE__, true);
894 : 5 : return _r;
895 : : }
896 : : next_after_fail310:;
897 : : }
898 : : else
899 : : {
900 : 1 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail311;
901 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail311;
902 : 1 : {
903 : 1 : tree res_op0;
904 : 1 : res_op0 = captures[0];
905 : 1 : tree _r;
906 : 1 : _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
907 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 218, __FILE__, __LINE__, true);
908 : 1 : return _r;
909 : : }
910 : : next_after_fail311:;
911 : : }
912 : : }
913 : : return NULL_TREE;
914 : : }
915 : :
916 : : tree
917 : 2 : generic_simplify_181 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
918 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
919 : : const combined_fn ARG_UNUSED (POW))
920 : : {
921 : 2 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
922 : 2 : if (flag_unsafe_math_optimizations && canonicalize_math_p ()
923 : : )
924 : : {
925 : 2 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail325;
926 : 2 : {
927 : 2 : tree res_op0;
928 : 2 : {
929 : 2 : tree _o1[2], _r1;
930 : 2 : _o1[0] = captures[1];
931 : 2 : _o1[1] = captures[4];
932 : 2 : _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
933 : 2 : res_op0 = _r1;
934 : : }
935 : 2 : tree res_op1;
936 : 2 : res_op1 = captures[2];
937 : 2 : tree _r;
938 : 2 : _r = maybe_build_call_expr_loc (loc, POW, type, 2, res_op0, res_op1);
939 : 2 : if (!_r)
940 : 0 : goto next_after_fail325;
941 : 2 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 229, __FILE__, __LINE__, true);
942 : 2 : return _r;
943 : : }
944 : : next_after_fail325:;
945 : : }
946 : : return NULL_TREE;
947 : : }
948 : :
949 : : tree
950 : 3325 : generic_simplify_192 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
951 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
952 : : const enum tree_code ARG_UNUSED (op))
953 : : {
954 : 3325 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
955 : 3325 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail352;
956 : 3325 : {
957 : 3325 : tree res_op0;
958 : 3325 : res_op0 = captures[1];
959 : 3325 : tree res_op1;
960 : 3325 : res_op1 = captures[2];
961 : 3325 : tree _r;
962 : 3325 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
963 : 3325 : if (TREE_SIDE_EFFECTS (captures[0]))
964 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
965 : 3325 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 255, __FILE__, __LINE__, true);
966 : : return _r;
967 : : }
968 : 0 : next_after_fail352:;
969 : 0 : return NULL_TREE;
970 : : }
971 : :
972 : : tree
973 : 1 : generic_simplify_197 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
974 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
975 : : const enum tree_code ARG_UNUSED (op))
976 : : {
977 : 1 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
978 : 1 : if (tree_nop_conversion_p (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
979 : 1 : && tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[2]))
980 : 1 : && (CONSTANT_CLASS_P (captures[3]) || (single_use (captures[1]) && single_use (captures[0])))
981 : : )
982 : : {
983 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail357;
984 : 1 : {
985 : 1 : tree res_op0;
986 : 1 : res_op0 = captures[3];
987 : 1 : tree res_op1;
988 : 1 : res_op1 = build_zero_cst (TREE_TYPE (captures[3]));
989 : 1 : tree _r;
990 : 1 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
991 : 1 : if (TREE_SIDE_EFFECTS (captures[2]))
992 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
993 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 256, __FILE__, __LINE__, true);
994 : 1 : return _r;
995 : : }
996 : 0 : next_after_fail357:;
997 : : }
998 : : return NULL_TREE;
999 : : }
1000 : :
1001 : : tree
1002 : 0 : generic_simplify_205 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1003 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1004 : : const enum tree_code ARG_UNUSED (cmp))
1005 : : {
1006 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1007 : 0 : if (wi::lt_p (wi::to_wide (captures[1]), wi::to_wide (captures[2]),
1008 : 0 : TYPE_SIGN (TREE_TYPE (captures[0])))
1009 : : )
1010 : : {
1011 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail365;
1012 : 0 : {
1013 : 0 : tree _r;
1014 : 0 : _r = constant_boolean_node (cmp == NE_EXPR, type);
1015 : 0 : if (TREE_SIDE_EFFECTS (captures[0]))
1016 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1017 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
1018 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1019 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
1020 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
1021 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 267, __FILE__, __LINE__, true);
1022 : 0 : return _r;
1023 : : }
1024 : 0 : next_after_fail365:;
1025 : : }
1026 : : else
1027 : : {
1028 : 0 : if (wi::gt_p (wi::to_wide (captures[1]), wi::to_wide (captures[2]),
1029 : 0 : TYPE_SIGN (TREE_TYPE (captures[0])))
1030 : : )
1031 : : {
1032 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail366;
1033 : 0 : {
1034 : 0 : tree res_op0;
1035 : 0 : res_op0 = captures[0];
1036 : 0 : tree res_op1;
1037 : 0 : res_op1 = captures[2];
1038 : 0 : tree _r;
1039 : 0 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1040 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
1041 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1042 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 268, __FILE__, __LINE__, true);
1043 : 0 : return _r;
1044 : : }
1045 : 0 : next_after_fail366:;
1046 : : }
1047 : : }
1048 : : return NULL_TREE;
1049 : : }
1050 : :
1051 : : tree
1052 : 124 : generic_simplify_215 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1053 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1054 : : const enum tree_code ARG_UNUSED (rotate),
1055 : : const enum tree_code ARG_UNUSED (invrot),
1056 : : const enum tree_code ARG_UNUSED (cmp))
1057 : : {
1058 : 124 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1059 : 124 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail387;
1060 : 124 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail387;
1061 : 124 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail387;
1062 : 124 : {
1063 : 124 : tree res_op0;
1064 : 124 : res_op0 = captures[0];
1065 : 124 : tree res_op1;
1066 : 124 : res_op1 = const_binop (invrot, TREE_TYPE (captures[0]), captures[2], captures[1]);
1067 : 124 : tree _r;
1068 : 124 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1069 : 124 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 289, __FILE__, __LINE__, true);
1070 : : return _r;
1071 : : }
1072 : : next_after_fail387:;
1073 : : return NULL_TREE;
1074 : : }
1075 : :
1076 : : tree
1077 : 21239 : generic_simplify_221 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1078 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1079 : : const enum tree_code ARG_UNUSED (cmp),
1080 : : const enum tree_code ARG_UNUSED (icmp),
1081 : : const enum tree_code ARG_UNUSED (ncmp))
1082 : : {
1083 : 21239 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1084 : 21239 : if (types_match (type, TREE_TYPE (captures[0]))
1085 : : )
1086 : : {
1087 : 20320 : {
1088 : 20320 : enum tree_code ic = invert_tree_comparison
1089 : 20320 : (cmp, HONOR_NANS (captures[1]));
1090 : 20320 : if (ic == icmp
1091 : : )
1092 : : {
1093 : 20082 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail393;
1094 : 20082 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail393;
1095 : 20082 : {
1096 : 20082 : tree res_op0;
1097 : 20082 : res_op0 = captures[1];
1098 : 20082 : tree res_op1;
1099 : 20082 : res_op1 = captures[2];
1100 : 20082 : tree _r;
1101 : 20082 : _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
1102 : 20082 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 295, __FILE__, __LINE__, true);
1103 : 20082 : return _r;
1104 : : }
1105 : : next_after_fail393:;
1106 : : }
1107 : : else
1108 : : {
1109 : 238 : if (ic == ncmp
1110 : : )
1111 : : {
1112 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail394;
1113 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail394;
1114 : 0 : {
1115 : 0 : tree res_op0;
1116 : 0 : res_op0 = captures[1];
1117 : 0 : tree res_op1;
1118 : 0 : res_op1 = captures[2];
1119 : 0 : tree _r;
1120 : 0 : _r = fold_build2_loc (loc, ncmp, type, res_op0, res_op1);
1121 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 296, __FILE__, __LINE__, true);
1122 : 0 : return _r;
1123 : : }
1124 : : next_after_fail394:;
1125 : : }
1126 : : }
1127 : : }
1128 : : }
1129 : : return NULL_TREE;
1130 : : }
1131 : :
1132 : : tree
1133 : 9062 : generic_simplify_232 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1134 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1135 : : const enum tree_code ARG_UNUSED (op),
1136 : : const enum tree_code ARG_UNUSED (cmp))
1137 : : {
1138 : 9062 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1139 : 9062 : if (flag_unsafe_math_optimizations
1140 : : )
1141 : : {
1142 : 5 : {
1143 : 8 : tree tem = const_binop (op == PLUS_EXPR ? MINUS_EXPR : PLUS_EXPR,
1144 : 5 : TREE_TYPE (captures[1]), captures[2], captures[1]);
1145 : 5 : if (tem && !TREE_OVERFLOW (tem)
1146 : : )
1147 : : {
1148 : 4 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail424;
1149 : 4 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail424;
1150 : 4 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail424;
1151 : 4 : {
1152 : 4 : tree res_op0;
1153 : 4 : res_op0 = captures[0];
1154 : 4 : tree res_op1;
1155 : 4 : res_op1 = tem;
1156 : 4 : tree _r;
1157 : 4 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1158 : 4 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 324, __FILE__, __LINE__, true);
1159 : 4 : return _r;
1160 : : }
1161 : : next_after_fail424:;
1162 : : }
1163 : : }
1164 : : }
1165 : : return NULL_TREE;
1166 : : }
1167 : :
1168 : : tree
1169 : 68 : generic_simplify_238 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1170 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1171 : : const enum tree_code ARG_UNUSED (cmp))
1172 : : {
1173 : 68 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1174 : 68 : if (!integer_zerop (captures[1])
1175 : : )
1176 : : {
1177 : 68 : if (wi::to_wide (captures[2]) == 0
1178 : : )
1179 : : {
1180 : 20 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail455;
1181 : 20 : {
1182 : 20 : tree res_op0;
1183 : 20 : res_op0 = captures[0];
1184 : 20 : tree res_op1;
1185 : 20 : res_op1 = captures[2];
1186 : 20 : tree _r;
1187 : 20 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1188 : 20 : if (TREE_SIDE_EFFECTS (captures[1]))
1189 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1190 : 20 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 355, __FILE__, __LINE__, true);
1191 : 20 : return _r;
1192 : : }
1193 : 0 : next_after_fail455:;
1194 : : }
1195 : : else
1196 : : {
1197 : 48 : if (TREE_CODE (captures[1]) == INTEGER_CST
1198 : : )
1199 : : {
1200 : 48 : {
1201 : 48 : wi::overflow_type ovf;
1202 : 48 : wide_int prod = wi::mul (wi::to_wide (captures[2]), wi::to_wide (captures[1]),
1203 : 96 : TYPE_SIGN (TREE_TYPE (captures[1])), &ovf);
1204 : 48 : if (ovf
1205 : : )
1206 : : {
1207 : 0 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail456;
1208 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail456;
1209 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail456;
1210 : 0 : {
1211 : 0 : tree _r;
1212 : 0 : _r = constant_boolean_node (cmp == NE_EXPR, type);
1213 : 0 : if (TREE_SIDE_EFFECTS (captures[0]))
1214 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1215 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 356, __FILE__, __LINE__, true);
1216 : 0 : return _r;
1217 : : }
1218 : 0 : next_after_fail456:;
1219 : : }
1220 : : else
1221 : : {
1222 : 48 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail457;
1223 : 48 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail457;
1224 : 48 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail457;
1225 : 48 : {
1226 : 48 : tree res_op0;
1227 : 48 : res_op0 = captures[0];
1228 : 48 : tree res_op1;
1229 : 48 : res_op1 = wide_int_to_tree (TREE_TYPE (captures[0]), prod);
1230 : 48 : tree _r;
1231 : 48 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1232 : 48 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 357, __FILE__, __LINE__, true);
1233 : 48 : return _r;
1234 : : }
1235 : 0 : next_after_fail457:;
1236 : : }
1237 : 48 : }
1238 : : }
1239 : : }
1240 : : }
1241 : : return NULL_TREE;
1242 : : }
1243 : :
1244 : : tree
1245 : 6409 : generic_simplify_245 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1246 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1247 : : const enum tree_code ARG_UNUSED (cmp))
1248 : : {
1249 : 6409 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1250 : 6409 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail479;
1251 : 6409 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail479;
1252 : 6409 : {
1253 : 6409 : tree res_op0;
1254 : 6409 : res_op0 = captures[0];
1255 : 6409 : tree res_op1;
1256 : 6409 : res_op1 = captures[1];
1257 : 6409 : tree _r;
1258 : 6409 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1259 : 6409 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 372, __FILE__, __LINE__, true);
1260 : : return _r;
1261 : : }
1262 : : next_after_fail479:;
1263 : : return NULL_TREE;
1264 : : }
1265 : :
1266 : : tree
1267 : 151419 : generic_simplify_247 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1268 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1269 : : const enum tree_code ARG_UNUSED (cmp))
1270 : : {
1271 : 151419 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1272 : 151419 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail481;
1273 : 151419 : {
1274 : 151419 : tree res_op0;
1275 : 151419 : {
1276 : 151419 : tree _o1[2], _r1;
1277 : 151419 : _o1[0] = captures[0];
1278 : 151419 : {
1279 : 151419 : tree _o2[1], _r2;
1280 : 151419 : _o2[0] = captures[1];
1281 : 151419 : _r2 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
1282 : 151419 : if (EXPR_P (_r2))
1283 : 140094 : goto next_after_fail481;
1284 : 11325 : _o1[1] = _r2;
1285 : : }
1286 : 11325 : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
1287 : 11325 : res_op0 = _r1;
1288 : : }
1289 : 11325 : tree res_op1;
1290 : 11325 : res_op1 = build_zero_cst (TREE_TYPE (captures[0]));
1291 : 11325 : tree _r;
1292 : 11325 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1293 : 11325 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 374, __FILE__, __LINE__, true);
1294 : : return _r;
1295 : : }
1296 : : next_after_fail481:;
1297 : : return NULL_TREE;
1298 : : }
1299 : :
1300 : : tree
1301 : 26862974 : generic_simplify_251 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1302 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1303 : : const enum tree_code ARG_UNUSED (cmp))
1304 : : {
1305 : 26862974 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1306 : 26862974 : if (tree_expr_nonzero_p (captures[0])
1307 : : )
1308 : : {
1309 : 903173 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail485;
1310 : 903173 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail485;
1311 : 903173 : {
1312 : 903173 : tree _r;
1313 : 903173 : _r = constant_boolean_node (cmp == NE_EXPR, type);
1314 : 903173 : if (TREE_SIDE_EFFECTS (captures[0]))
1315 : 4992 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1316 : 903173 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 378, __FILE__, __LINE__, true);
1317 : 903173 : return _r;
1318 : : }
1319 : : next_after_fail485:;
1320 : : }
1321 : : return NULL_TREE;
1322 : : }
1323 : :
1324 : : tree
1325 : 4 : generic_simplify_257 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1326 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1327 : : const enum tree_code ARG_UNUSED (cmp),
1328 : : const enum tree_code ARG_UNUSED (ncmp))
1329 : : {
1330 : 4 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1331 : 8 : if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
1332 : 4 : && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
1333 : 8 : && types_match (captures[0], captures[2])
1334 : : )
1335 : : {
1336 : 4 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail491;
1337 : 4 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail491;
1338 : 4 : {
1339 : 4 : tree res_op0;
1340 : 4 : {
1341 : 4 : tree _o1[2], _r1;
1342 : 4 : _o1[0] = captures[0];
1343 : 4 : _o1[1] = captures[2];
1344 : 4 : _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
1345 : 4 : res_op0 = _r1;
1346 : : }
1347 : 4 : tree res_op1;
1348 : 4 : res_op1 = captures[1];
1349 : 4 : tree _r;
1350 : 4 : _r = fold_build2_loc (loc, ncmp, type, res_op0, res_op1);
1351 : 4 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 383, __FILE__, __LINE__, true);
1352 : 4 : return _r;
1353 : : }
1354 : : next_after_fail491:;
1355 : : }
1356 : : return NULL_TREE;
1357 : : }
1358 : :
1359 : : tree
1360 : 47356389 : generic_simplify_261 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1361 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1362 : : const enum tree_code ARG_UNUSED (neeq))
1363 : : {
1364 : 47356389 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1365 : 84793540 : if (POINTER_TYPE_P (TREE_TYPE (captures[0]))
1366 : 47374600 : && ptrs_compare_unequal (captures[0], captures[1])
1367 : : )
1368 : : {
1369 : 952 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail509;
1370 : 952 : {
1371 : 952 : tree _r;
1372 : 952 : _r = constant_boolean_node (neeq != EQ_EXPR, type);
1373 : 952 : if (TREE_SIDE_EFFECTS (captures[0]))
1374 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1375 : 952 : if (TREE_SIDE_EFFECTS (captures[1]))
1376 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1377 : 952 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 392, __FILE__, __LINE__, true);
1378 : 952 : return _r;
1379 : : }
1380 : 0 : next_after_fail509:;
1381 : : }
1382 : : return NULL_TREE;
1383 : : }
1384 : :
1385 : : tree
1386 : 869998 : generic_simplify_265 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1387 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1388 : : const enum tree_code ARG_UNUSED (op),
1389 : : const enum tree_code ARG_UNUSED (rop),
1390 : : const enum tree_code ARG_UNUSED (cmp))
1391 : : {
1392 : 869998 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1393 : 1739996 : if (!TREE_OVERFLOW (captures[2]) && !TREE_OVERFLOW (captures[3])
1394 : 869998 : && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[1]))
1395 : 869693 : && !TYPE_OVERFLOW_TRAPS (TREE_TYPE (captures[1]))
1396 : 1739552 : && !TYPE_SATURATING (TREE_TYPE (captures[1]))
1397 : : )
1398 : : {
1399 : 869554 : {
1400 : 869554 : tree res = int_const_binop (rop, captures[3], captures[2]);
1401 : 869554 : if (TREE_OVERFLOW (res)
1402 : 869554 : && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1]))
1403 : : )
1404 : : {
1405 : 6716 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail517;
1406 : 6716 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail517;
1407 : 6716 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail517;
1408 : 6716 : {
1409 : 6716 : tree _r;
1410 : 6716 : _r = constant_boolean_node (cmp == NE_EXPR, type);
1411 : 6716 : if (TREE_SIDE_EFFECTS (captures[1]))
1412 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1413 : 6716 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 400, __FILE__, __LINE__, true);
1414 : 6716 : return _r;
1415 : : }
1416 : : next_after_fail517:;
1417 : : }
1418 : : else
1419 : : {
1420 : 862838 : if (single_use (captures[0])
1421 : : )
1422 : : {
1423 : 862838 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail518;
1424 : 862838 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail518;
1425 : 862838 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail518;
1426 : 862838 : {
1427 : 862838 : tree res_op0;
1428 : 862838 : res_op0 = captures[1];
1429 : 862838 : tree res_op1;
1430 : 862838 : res_op1 = TREE_OVERFLOW (res)
1431 : 862838 : ? drop_tree_overflow (res) : res;
1432 : 862838 : tree _r;
1433 : 862838 : _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
1434 : 862838 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 401, __FILE__, __LINE__, true);
1435 : 862838 : return _r;
1436 : : }
1437 : : next_after_fail518:;
1438 : : }
1439 : : }
1440 : : }
1441 : : }
1442 : : return NULL_TREE;
1443 : : }
1444 : :
1445 : : tree
1446 : 322 : generic_simplify_268 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1447 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1448 : : const enum tree_code ARG_UNUSED (op),
1449 : : const combined_fn ARG_UNUSED (ctz))
1450 : : {
1451 : 322 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1452 : 322 : {
1453 : 322 : tree type0 = TREE_TYPE (captures[1]);
1454 : 322 : int prec = TYPE_PRECISION (type0);
1455 : 644 : if (prec <= MAX_FIXED_MODE_SIZE
1456 : : )
1457 : : {
1458 : 322 : if (tree_int_cst_sgn (captures[2]) < 0 || wi::to_widest (captures[2]) >= prec
1459 : : )
1460 : : {
1461 : 48 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail523;
1462 : 48 : {
1463 : 48 : tree _r;
1464 : 48 : _r = constant_boolean_node (op == EQ_EXPR ? false : true, type);
1465 : 48 : if (TREE_SIDE_EFFECTS (captures[1]))
1466 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1467 : 48 : if (TREE_SIDE_EFFECTS (captures[2]))
1468 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
1469 : 48 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 406, __FILE__, __LINE__, true);
1470 : 322 : return _r;
1471 : : }
1472 : 0 : next_after_fail523:;
1473 : : }
1474 : : else
1475 : : {
1476 : 274 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail524;
1477 : 274 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail524;
1478 : 274 : {
1479 : 274 : tree res_op0;
1480 : 274 : {
1481 : 274 : tree _o1[2], _r1;
1482 : 274 : _o1[0] = captures[1];
1483 : 274 : _o1[1] = wide_int_to_tree (type0,
1484 : 274 : wi::mask (tree_to_uhwi (captures[2]) + 1,
1485 : : false, prec));
1486 : 274 : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
1487 : 274 : res_op0 = _r1;
1488 : : }
1489 : 274 : tree res_op1;
1490 : 274 : res_op1 = wide_int_to_tree (type0,
1491 : 274 : wi::shifted_mask (tree_to_uhwi (captures[2]), 1,
1492 : : false, prec));
1493 : 274 : tree _r;
1494 : 274 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
1495 : 274 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 407, __FILE__, __LINE__, true);
1496 : 274 : return _r;
1497 : : }
1498 : 0 : next_after_fail524:;
1499 : : }
1500 : : }
1501 : : }
1502 : 0 : return NULL_TREE;
1503 : : }
1504 : :
1505 : : tree
1506 : 0 : generic_simplify_279 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1507 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1508 : : const combined_fn ARG_UNUSED (COPYSIGN_ALL))
1509 : : {
1510 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1511 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail539;
1512 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail539;
1513 : 0 : {
1514 : 0 : tree _r;
1515 : 0 : _r = captures[1];
1516 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 422, __FILE__, __LINE__, true);
1517 : : return _r;
1518 : : }
1519 : : next_after_fail539:;
1520 : : return NULL_TREE;
1521 : : }
1522 : :
1523 : : tree
1524 : 2362 : generic_simplify_284 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1525 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1526 : : const enum tree_code ARG_UNUSED (div))
1527 : : {
1528 : 2362 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1529 : 2362 : if (!TYPE_UNSIGNED (type)
1530 : : )
1531 : : {
1532 : 1664 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail546;
1533 : 1664 : {
1534 : 1664 : tree res_op0;
1535 : 1664 : res_op0 = captures[0];
1536 : 1664 : tree _r;
1537 : 1664 : _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
1538 : 1664 : if (TREE_SIDE_EFFECTS (captures[1]))
1539 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1540 : 1664 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 427, __FILE__, __LINE__, true);
1541 : 1664 : return _r;
1542 : : }
1543 : 0 : next_after_fail546:;
1544 : : }
1545 : : return NULL_TREE;
1546 : : }
1547 : :
1548 : : tree
1549 : 3907 : generic_simplify_291 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1550 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1551 : : const enum tree_code ARG_UNUSED (div))
1552 : : {
1553 : 3907 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1554 : 3907 : if (ANY_INTEGRAL_TYPE_P (type)
1555 : : )
1556 : : {
1557 : 3907 : if (TYPE_OVERFLOW_UNDEFINED (type) && !TYPE_OVERFLOW_SANITIZED (type)
1558 : : )
1559 : : {
1560 : 108 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail554;
1561 : 108 : {
1562 : 108 : tree _r;
1563 : 108 : _r = captures[0];
1564 : 108 : if (TREE_SIDE_EFFECTS (captures[1]))
1565 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1566 : 108 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 435, __FILE__, __LINE__, true);
1567 : 108 : return _r;
1568 : : }
1569 : 0 : next_after_fail554:;
1570 : : }
1571 : : }
1572 : : return NULL_TREE;
1573 : : }
1574 : :
1575 : : tree
1576 : 312 : generic_simplify_296 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1577 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1578 : : const enum tree_code ARG_UNUSED (mod))
1579 : : {
1580 : 312 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1581 : 312 : if (!TYPE_UNSIGNED (type)
1582 : : )
1583 : : {
1584 : 20 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail559;
1585 : 20 : {
1586 : 20 : tree _r;
1587 : 20 : _r = build_zero_cst (type);
1588 : 20 : if (TREE_SIDE_EFFECTS (captures[0]))
1589 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1590 : 20 : if (TREE_SIDE_EFFECTS (captures[1]))
1591 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1592 : 20 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 440, __FILE__, __LINE__, true);
1593 : 20 : return _r;
1594 : : }
1595 : 0 : next_after_fail559:;
1596 : : }
1597 : : return NULL_TREE;
1598 : : }
1599 : :
1600 : : tree
1601 : 3 : generic_simplify_305 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1602 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1603 : : const combined_fn ARG_UNUSED (SINH),
1604 : : const combined_fn ARG_UNUSED (COSH),
1605 : : const combined_fn ARG_UNUSED (TANH))
1606 : : {
1607 : 3 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1608 : 3 : if (flag_unsafe_math_optimizations && canonicalize_math_p ()
1609 : : )
1610 : : {
1611 : 3 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail570;
1612 : 3 : {
1613 : 3 : tree res_op0;
1614 : 3 : res_op0 = captures[1];
1615 : 3 : tree _r;
1616 : 3 : _r = maybe_build_call_expr_loc (loc, TANH, type, 1, res_op0);
1617 : 3 : if (!_r)
1618 : 0 : goto next_after_fail570;
1619 : 3 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 451, __FILE__, __LINE__, true);
1620 : 3 : return _r;
1621 : : }
1622 : : next_after_fail570:;
1623 : : }
1624 : : return NULL_TREE;
1625 : : }
1626 : :
1627 : : tree
1628 : 404 : generic_simplify_311 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1629 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1630 : : const enum tree_code ARG_UNUSED (op),
1631 : : const enum tree_code ARG_UNUSED (neg_op))
1632 : : {
1633 : 404 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1634 : 404 : if (flag_unsafe_math_optimizations
1635 : : )
1636 : : {
1637 : 4 : if (!HONOR_SIGNED_ZEROS (captures[1]) && !HONOR_INFINITIES (captures[1])
1638 : : )
1639 : : {
1640 : 4 : if (real_less (&dconst0, TREE_REAL_CST_PTR (captures[0]))
1641 : : )
1642 : : {
1643 : 2 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail576;
1644 : 2 : {
1645 : 2 : tree res_op0;
1646 : 2 : res_op0 = captures[1];
1647 : 2 : tree res_op1;
1648 : 2 : res_op1 = captures[2];
1649 : 2 : tree _r;
1650 : 2 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
1651 : 2 : if (TREE_SIDE_EFFECTS (captures[0]))
1652 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1653 : 2 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 457, __FILE__, __LINE__, true);
1654 : 2 : return _r;
1655 : : }
1656 : 0 : next_after_fail576:;
1657 : : }
1658 : : else
1659 : : {
1660 : 2 : if (real_less (TREE_REAL_CST_PTR (captures[0]), &dconst0)
1661 : : )
1662 : : {
1663 : 2 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail577;
1664 : 2 : {
1665 : 2 : tree res_op0;
1666 : 2 : res_op0 = captures[1];
1667 : 2 : tree res_op1;
1668 : 2 : res_op1 = captures[2];
1669 : 2 : tree _r;
1670 : 2 : _r = fold_build2_loc (loc, neg_op, type, res_op0, res_op1);
1671 : 2 : if (TREE_SIDE_EFFECTS (captures[0]))
1672 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
1673 : 2 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 458, __FILE__, __LINE__, true);
1674 : 2 : return _r;
1675 : : }
1676 : 0 : next_after_fail577:;
1677 : : }
1678 : : }
1679 : : }
1680 : : }
1681 : : return NULL_TREE;
1682 : : }
1683 : :
1684 : : tree
1685 : 900357 : generic_simplify_326 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
1686 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
1687 : : const enum tree_code ARG_UNUSED (cmp))
1688 : : {
1689 : 900357 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
1690 : 1800714 : if ((INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
1691 : 344 : || POINTER_TYPE_P (TREE_TYPE (captures[2]))
1692 : 1 : || VECTOR_INTEGER_TYPE_P (TREE_TYPE (captures[2])))
1693 : 1800714 : && tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
1694 : : )
1695 : : {
1696 : 744656 : {
1697 : 744656 : tree cst = uniform_integer_cst_p (captures[2]);
1698 : 744656 : tree arg1_type = TREE_TYPE (cst);
1699 : 744656 : unsigned int prec = TYPE_PRECISION (arg1_type);
1700 : 744656 : wide_int max = wi::max_value (arg1_type);
1701 : 744656 : wide_int signed_max = wi::max_value (prec, SIGNED);
1702 : 744656 : wide_int min = wi::min_value (arg1_type);
1703 : 744656 : if (wi::to_wide (cst) == max
1704 : : )
1705 : : {
1706 : 2857 : if (cmp == GT_EXPR
1707 : : )
1708 : : {
1709 : 2207 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail596;
1710 : 2207 : {
1711 : 2207 : tree _r;
1712 : 2207 : _r = constant_boolean_node (false, type);
1713 : 2207 : if (TREE_SIDE_EFFECTS (captures[1]))
1714 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1715 : 2207 : if (TREE_SIDE_EFFECTS (captures[2]))
1716 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
1717 : 2207 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 477, __FILE__, __LINE__, true);
1718 : 2207 : return _r;
1719 : : }
1720 : 0 : next_after_fail596:;
1721 : : }
1722 : : else
1723 : : {
1724 : 650 : if (cmp == GE_EXPR
1725 : : )
1726 : : {
1727 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail597;
1728 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail597;
1729 : 0 : {
1730 : 0 : tree res_op0;
1731 : 0 : res_op0 = captures[0];
1732 : 0 : tree res_op1;
1733 : 0 : res_op1 = captures[2];
1734 : 0 : tree _r;
1735 : 0 : _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
1736 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 478, __FILE__, __LINE__, true);
1737 : 0 : return _r;
1738 : : }
1739 : 698468 : next_after_fail597:;
1740 : : }
1741 : : else
1742 : : {
1743 : 650 : if (cmp == LE_EXPR
1744 : : )
1745 : : {
1746 : 650 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail598;
1747 : 650 : {
1748 : 650 : tree _r;
1749 : 650 : _r = constant_boolean_node (true, type);
1750 : 650 : if (TREE_SIDE_EFFECTS (captures[1]))
1751 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1752 : 650 : if (TREE_SIDE_EFFECTS (captures[2]))
1753 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
1754 : 650 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 479, __FILE__, __LINE__, true);
1755 : 650 : return _r;
1756 : : }
1757 : 0 : next_after_fail598:;
1758 : : }
1759 : : else
1760 : : {
1761 : 0 : if (cmp == LT_EXPR
1762 : : )
1763 : : {
1764 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail599;
1765 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail599;
1766 : 0 : {
1767 : 0 : tree res_op0;
1768 : 0 : res_op0 = captures[0];
1769 : 0 : tree res_op1;
1770 : 0 : res_op1 = captures[2];
1771 : 0 : tree _r;
1772 : 0 : _r = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1);
1773 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 480, __FILE__, __LINE__, true);
1774 : 0 : return _r;
1775 : : }
1776 : 698468 : next_after_fail599:;
1777 : : }
1778 : : }
1779 : : }
1780 : : }
1781 : : }
1782 : : else
1783 : : {
1784 : 741799 : if (wi::to_wide (cst) == min
1785 : : )
1786 : : {
1787 : 34428 : if (cmp == LT_EXPR
1788 : : )
1789 : : {
1790 : 2260 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail600;
1791 : 2260 : {
1792 : 2260 : tree _r;
1793 : 2260 : _r = constant_boolean_node (false, type);
1794 : 2260 : if (TREE_SIDE_EFFECTS (captures[1]))
1795 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1796 : 2260 : if (TREE_SIDE_EFFECTS (captures[2]))
1797 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
1798 : 2260 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 481, __FILE__, __LINE__, true);
1799 : 2260 : return _r;
1800 : : }
1801 : 0 : next_after_fail600:;
1802 : : }
1803 : : else
1804 : : {
1805 : 32168 : if (cmp == LE_EXPR
1806 : : )
1807 : : {
1808 : 13634 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail601;
1809 : 13634 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail601;
1810 : 13634 : {
1811 : 13634 : tree res_op0;
1812 : 13634 : res_op0 = captures[0];
1813 : 13634 : tree res_op1;
1814 : 13634 : res_op1 = captures[2];
1815 : 13634 : tree _r;
1816 : 13634 : _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
1817 : 13634 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 482, __FILE__, __LINE__, true);
1818 : 13634 : return _r;
1819 : : }
1820 : 698468 : next_after_fail601:;
1821 : : }
1822 : : else
1823 : : {
1824 : 18534 : if (cmp == GE_EXPR
1825 : : )
1826 : : {
1827 : 7661 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail602;
1828 : 7661 : {
1829 : 7661 : tree _r;
1830 : 7661 : _r = constant_boolean_node (true, type);
1831 : 7661 : if (TREE_SIDE_EFFECTS (captures[1]))
1832 : 15 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
1833 : 7661 : if (TREE_SIDE_EFFECTS (captures[2]))
1834 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
1835 : 7661 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 483, __FILE__, __LINE__, true);
1836 : 7661 : return _r;
1837 : : }
1838 : 0 : next_after_fail602:;
1839 : : }
1840 : : else
1841 : : {
1842 : 10873 : if (cmp == GT_EXPR
1843 : : )
1844 : : {
1845 : 10873 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail603;
1846 : 9809 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail603;
1847 : 9809 : {
1848 : 9809 : tree res_op0;
1849 : 9809 : res_op0 = captures[0];
1850 : 9809 : tree res_op1;
1851 : 9809 : res_op1 = captures[2];
1852 : 9809 : tree _r;
1853 : 9809 : _r = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1);
1854 : 9809 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 484, __FILE__, __LINE__, true);
1855 : 9809 : return _r;
1856 : : }
1857 : 698468 : next_after_fail603:;
1858 : : }
1859 : : }
1860 : : }
1861 : : }
1862 : : }
1863 : : else
1864 : : {
1865 : 707371 : if (wi::to_wide (cst) == max - 1
1866 : : )
1867 : : {
1868 : 5599 : if (cmp == GT_EXPR
1869 : : )
1870 : : {
1871 : 628 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail604;
1872 : 628 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail604;
1873 : 628 : {
1874 : 628 : tree res_op0;
1875 : 628 : res_op0 = captures[0];
1876 : 628 : tree res_op1;
1877 : 628 : res_op1 = build_uniform_cst (TREE_TYPE (captures[2]),
1878 : 628 : wide_int_to_tree (TREE_TYPE (cst),
1879 : 628 : wi::to_wide (cst)
1880 : 1256 : + 1));
1881 : 628 : tree _r;
1882 : 628 : _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
1883 : 628 : if (TREE_SIDE_EFFECTS (captures[2]))
1884 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
1885 : 628 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 485, __FILE__, __LINE__, true);
1886 : 628 : return _r;
1887 : : }
1888 : 698468 : next_after_fail604:;
1889 : : }
1890 : : else
1891 : : {
1892 : 4971 : if (cmp == LE_EXPR
1893 : : )
1894 : : {
1895 : 4971 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail605;
1896 : 4971 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail605;
1897 : 4971 : {
1898 : 4971 : tree res_op0;
1899 : 4971 : res_op0 = captures[0];
1900 : 4971 : tree res_op1;
1901 : 4971 : res_op1 = build_uniform_cst (TREE_TYPE (captures[2]),
1902 : 4971 : wide_int_to_tree (TREE_TYPE (cst),
1903 : 4971 : wi::to_wide (cst)
1904 : 9942 : + 1));
1905 : 4971 : tree _r;
1906 : 4971 : _r = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1);
1907 : 4971 : if (TREE_SIDE_EFFECTS (captures[2]))
1908 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
1909 : 4971 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 486, __FILE__, __LINE__, true);
1910 : 4971 : return _r;
1911 : : }
1912 : 698468 : next_after_fail605:;
1913 : : }
1914 : : }
1915 : : }
1916 : : else
1917 : : {
1918 : 701772 : if (wi::to_wide (cst) == min + 1
1919 : : )
1920 : : {
1921 : 36618 : if (cmp == GE_EXPR
1922 : : )
1923 : : {
1924 : 1571 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail606;
1925 : 1571 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail606;
1926 : 1571 : {
1927 : 1571 : tree res_op0;
1928 : 1571 : res_op0 = captures[0];
1929 : 1571 : tree res_op1;
1930 : 1571 : res_op1 = build_uniform_cst (TREE_TYPE (captures[2]),
1931 : 1571 : wide_int_to_tree (TREE_TYPE (cst),
1932 : 1571 : wi::to_wide (cst)
1933 : 3142 : - 1));
1934 : 1571 : tree _r;
1935 : 1571 : _r = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1);
1936 : 1571 : if (TREE_SIDE_EFFECTS (captures[2]))
1937 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
1938 : 1571 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 487, __FILE__, __LINE__, true);
1939 : 1571 : return _r;
1940 : : }
1941 : 698468 : next_after_fail606:;
1942 : : }
1943 : : else
1944 : : {
1945 : 35047 : if (cmp == LT_EXPR
1946 : : )
1947 : : {
1948 : 292 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail607;
1949 : 292 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail607;
1950 : 292 : {
1951 : 292 : tree res_op0;
1952 : 292 : res_op0 = captures[0];
1953 : 292 : tree res_op1;
1954 : 292 : res_op1 = build_uniform_cst (TREE_TYPE (captures[2]),
1955 : 292 : wide_int_to_tree (TREE_TYPE (cst),
1956 : 292 : wi::to_wide (cst)
1957 : 584 : - 1));
1958 : 292 : tree _r;
1959 : 292 : _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
1960 : 292 : if (TREE_SIDE_EFFECTS (captures[2]))
1961 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
1962 : 292 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 488, __FILE__, __LINE__, true);
1963 : 292 : return _r;
1964 : : }
1965 : 698468 : next_after_fail607:;
1966 : : }
1967 : : }
1968 : : }
1969 : : else
1970 : : {
1971 : 665154 : if (wi::to_wide (cst) == signed_max
1972 : 2505 : && TYPE_UNSIGNED (arg1_type)
1973 : 2505 : && TYPE_MODE (arg1_type) != BLKmode
1974 : 665154 : && prec == GET_MODE_PRECISION (SCALAR_INT_TYPE_MODE (arg1_type))
1975 : 667659 : && INTEGRAL_TYPE_P (arg1_type)
1976 : : )
1977 : : {
1978 : 2505 : if (cmp == LE_EXPR || cmp == GT_EXPR
1979 : : )
1980 : : {
1981 : 2505 : {
1982 : 2505 : tree st = signed_type_for (TREE_TYPE (captures[2]));
1983 : 2505 : if (cst == captures[2] && cmp == LE_EXPR
1984 : : )
1985 : : {
1986 : 2384 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail608;
1987 : 2384 : {
1988 : 2384 : tree res_op0;
1989 : 2384 : {
1990 : 2384 : tree _o1[1], _r1;
1991 : 2384 : _o1[0] = captures[1];
1992 : 2384 : if (TREE_TYPE (_o1[0]) != st)
1993 : : {
1994 : 2380 : _r1 = fold_build1_loc (loc, NOP_EXPR, st, _o1[0]);
1995 : : }
1996 : : else
1997 : : _r1 = _o1[0];
1998 : 2384 : res_op0 = _r1;
1999 : : }
2000 : 2384 : tree res_op1;
2001 : 2384 : res_op1 = build_zero_cst (st);
2002 : 2384 : tree _r;
2003 : 2384 : _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
2004 : 2384 : if (TREE_SIDE_EFFECTS (captures[2]))
2005 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
2006 : 2384 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 489, __FILE__, __LINE__, true);
2007 : 2384 : return _r;
2008 : : }
2009 : 0 : next_after_fail608:;
2010 : 0 : }
2011 : : else
2012 : : {
2013 : 121 : if (cst == captures[2] && cmp == GT_EXPR
2014 : : )
2015 : : {
2016 : 121 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail609;
2017 : 121 : {
2018 : 121 : tree res_op0;
2019 : 121 : {
2020 : 121 : tree _o1[1], _r1;
2021 : 121 : _o1[0] = captures[1];
2022 : 121 : if (TREE_TYPE (_o1[0]) != st)
2023 : : {
2024 : 121 : _r1 = fold_build1_loc (loc, NOP_EXPR, st, _o1[0]);
2025 : : }
2026 : : else
2027 : : _r1 = _o1[0];
2028 : 121 : res_op0 = _r1;
2029 : : }
2030 : 121 : tree res_op1;
2031 : 121 : res_op1 = build_zero_cst (st);
2032 : 121 : tree _r;
2033 : 121 : _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
2034 : 121 : if (TREE_SIDE_EFFECTS (captures[2]))
2035 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
2036 : 121 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 490, __FILE__, __LINE__, true);
2037 : 121 : return _r;
2038 : : }
2039 : 0 : next_after_fail609:;
2040 : 0 : }
2041 : : else
2042 : : {
2043 : 0 : if (cmp == LE_EXPR
2044 : : )
2045 : : {
2046 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail610;
2047 : 0 : {
2048 : 0 : tree res_op0;
2049 : 0 : {
2050 : 0 : tree _o1[1], _r1;
2051 : 0 : _o1[0] = captures[1];
2052 : 0 : _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, st, _o1[0]);
2053 : 0 : res_op0 = _r1;
2054 : : }
2055 : 0 : tree res_op1;
2056 : 0 : res_op1 = build_zero_cst (st);
2057 : 0 : tree _r;
2058 : 0 : _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
2059 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
2060 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
2061 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 491, __FILE__, __LINE__, true);
2062 : 0 : return _r;
2063 : : }
2064 : 0 : next_after_fail610:;
2065 : : }
2066 : : else
2067 : : {
2068 : 0 : if (cmp == GT_EXPR
2069 : : )
2070 : : {
2071 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail611;
2072 : 0 : {
2073 : 0 : tree res_op0;
2074 : 0 : {
2075 : 0 : tree _o1[1], _r1;
2076 : 0 : _o1[0] = captures[1];
2077 : 0 : _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, st, _o1[0]);
2078 : 0 : res_op0 = _r1;
2079 : : }
2080 : 0 : tree res_op1;
2081 : 0 : res_op1 = build_zero_cst (st);
2082 : 0 : tree _r;
2083 : 0 : _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
2084 : 0 : if (TREE_SIDE_EFFECTS (captures[2]))
2085 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
2086 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 492, __FILE__, __LINE__, true);
2087 : 0 : return _r;
2088 : : }
2089 : 0 : next_after_fail611:;
2090 : : }
2091 : : }
2092 : : }
2093 : : }
2094 : : }
2095 : : }
2096 : : }
2097 : : }
2098 : : }
2099 : : }
2100 : : }
2101 : 744656 : }
2102 : : }
2103 : : return NULL_TREE;
2104 : : }
2105 : :
2106 : : tree
2107 : 681250 : generic_simplify_387 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2108 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2109 : : const enum tree_code ARG_UNUSED (op))
2110 : : {
2111 : 681250 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2112 : 681250 : {
2113 : 681250 : tree pmop[2];
2114 : 681250 : tree utype = fold_bit_and_mask (TREE_TYPE (captures[1]), captures[3], op, captures[1], ERROR_MARK,
2115 : : NULL_TREE, NULL_TREE, captures[2], ERROR_MARK,
2116 : : NULL_TREE, NULL_TREE, pmop);
2117 : 681250 : if (utype
2118 : : )
2119 : : {
2120 : 238475 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail717;
2121 : 238475 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail717;
2122 : 238475 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail717;
2123 : 238475 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail717;
2124 : 238475 : {
2125 : 238475 : tree res_op0;
2126 : 238475 : {
2127 : 238475 : tree _o1[2], _r1;
2128 : 238475 : {
2129 : 238475 : tree _o2[2], _r2;
2130 : 238475 : {
2131 : 238475 : tree _o3[1], _r3;
2132 : 238475 : _o3[0] = pmop[0];
2133 : 238475 : if (TREE_TYPE (_o3[0]) != utype)
2134 : : {
2135 : 328 : _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
2136 : : }
2137 : : else
2138 : : _r3 = _o3[0];
2139 : 238475 : _o2[0] = _r3;
2140 : : }
2141 : 238475 : {
2142 : 238475 : tree _o3[1], _r3;
2143 : 238475 : _o3[0] = pmop[1];
2144 : 238475 : if (TREE_TYPE (_o3[0]) != utype)
2145 : : {
2146 : 328 : _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
2147 : : }
2148 : : else
2149 : : _r3 = _o3[0];
2150 : 238475 : _o2[1] = _r3;
2151 : : }
2152 : 238475 : _r2 = fold_build2_loc (loc, op, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
2153 : 238475 : _o1[0] = _r2;
2154 : : }
2155 : 238475 : {
2156 : 238475 : tree _o2[1], _r2;
2157 : 238475 : _o2[0] = captures[3];
2158 : 238475 : if (TREE_TYPE (_o2[0]) != utype)
2159 : : {
2160 : 328 : _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
2161 : : }
2162 : : else
2163 : : _r2 = _o2[0];
2164 : 238475 : _o1[1] = _r2;
2165 : : }
2166 : 238475 : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2167 : 238475 : res_op0 = _r1;
2168 : : }
2169 : 238475 : tree _r;
2170 : 238475 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
2171 : 238475 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 562, __FILE__, __LINE__, true);
2172 : 238475 : return _r;
2173 : : }
2174 : 442775 : next_after_fail717:;
2175 : : }
2176 : : }
2177 : 442775 : return NULL_TREE;
2178 : : }
2179 : :
2180 : : tree
2181 : 34 : generic_simplify_401 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2182 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2183 : : const combined_fn ARG_UNUSED (bswap))
2184 : : {
2185 : 34 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2186 : 34 : if (BITS_PER_UNIT == 8
2187 : 34 : && tree_fits_uhwi_p (captures[2])
2188 : 34 : && tree_to_uhwi (captures[2]) < 256
2189 : : )
2190 : : {
2191 : 32 : {
2192 : 32 : unsigned HOST_WIDE_INT prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
2193 : 32 : tree utype = unsigned_type_for (TREE_TYPE (captures[1]));
2194 : 32 : tree nst = build_int_cst (integer_type_node, prec - 8);
2195 : 32 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail736;
2196 : 32 : {
2197 : 32 : tree res_op0;
2198 : 32 : {
2199 : 32 : tree _o1[1], _r1;
2200 : 32 : {
2201 : 32 : tree _o2[2], _r2;
2202 : 32 : {
2203 : 32 : tree _o3[1], _r3;
2204 : 32 : _o3[0] = captures[1];
2205 : 32 : if (TREE_TYPE (_o3[0]) != utype)
2206 : : {
2207 : 10 : _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
2208 : : }
2209 : : else
2210 : : _r3 = _o3[0];
2211 : 32 : _o2[0] = _r3;
2212 : : }
2213 : 32 : _o2[1] = nst;
2214 : 32 : _r2 = fold_build2_loc (loc, RSHIFT_EXPR, utype, _o2[0], _o2[1]);
2215 : 32 : _o1[0] = _r2;
2216 : : }
2217 : 32 : if (TREE_TYPE (_o1[0]) != type)
2218 : : {
2219 : 18 : _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
2220 : : }
2221 : : else
2222 : : _r1 = _o1[0];
2223 : 32 : res_op0 = _r1;
2224 : : }
2225 : 32 : tree res_op1;
2226 : 32 : res_op1 = captures[2];
2227 : 32 : tree _r;
2228 : 32 : _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
2229 : 32 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 577, __FILE__, __LINE__, true);
2230 : 32 : return _r;
2231 : : }
2232 : 0 : next_after_fail736:;
2233 : : }
2234 : : }
2235 : : return NULL_TREE;
2236 : : }
2237 : :
2238 : : tree
2239 : 0 : generic_simplify_410 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2240 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
2241 : : {
2242 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2243 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail767;
2244 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail767;
2245 : 0 : {
2246 : 0 : tree _r;
2247 : 0 : _r = captures[2];
2248 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
2249 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2250 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 597, __FILE__, __LINE__, true);
2251 : : return _r;
2252 : : }
2253 : : next_after_fail767:;
2254 : : return NULL_TREE;
2255 : : }
2256 : :
2257 : : tree
2258 : 3 : generic_simplify_413 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2259 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
2260 : : {
2261 : 3 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2262 : 6 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
2263 : 6 : && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
2264 : : )
2265 : : {
2266 : 3 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail782;
2267 : 3 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail782;
2268 : 3 : {
2269 : 3 : tree res_op0;
2270 : 3 : res_op0 = captures[3];
2271 : 3 : tree res_op1;
2272 : 3 : {
2273 : 3 : tree _o1[2], _r1;
2274 : 3 : _o1[0] = captures[1];
2275 : 3 : _o1[1] = build_int_cst (TREE_TYPE (captures[1]), 1);
2276 : 3 : _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2277 : 3 : res_op1 = _r1;
2278 : : }
2279 : 3 : tree _r;
2280 : 3 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
2281 : 3 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 598, __FILE__, __LINE__, true);
2282 : 3 : return _r;
2283 : : }
2284 : : next_after_fail782:;
2285 : : }
2286 : : return NULL_TREE;
2287 : : }
2288 : :
2289 : : tree
2290 : 0 : generic_simplify_416 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2291 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
2292 : : {
2293 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2294 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
2295 : 0 : && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
2296 : : )
2297 : : {
2298 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail785;
2299 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail785;
2300 : 0 : {
2301 : 0 : tree res_op0;
2302 : 0 : res_op0 = captures[3];
2303 : 0 : tree res_op1;
2304 : 0 : {
2305 : 0 : tree _o1[2], _r1;
2306 : 0 : _o1[0] = captures[1];
2307 : 0 : _o1[1] = build_int_cst (TREE_TYPE (captures[1]), 1);
2308 : 0 : _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2309 : 0 : res_op1 = _r1;
2310 : : }
2311 : 0 : tree _r;
2312 : 0 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
2313 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 598, __FILE__, __LINE__, true);
2314 : 0 : return _r;
2315 : : }
2316 : : next_after_fail785:;
2317 : : }
2318 : : return NULL_TREE;
2319 : : }
2320 : :
2321 : : tree
2322 : 0 : generic_simplify_419 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2323 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
2324 : : {
2325 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2326 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail792;
2327 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail792;
2328 : 0 : {
2329 : 0 : tree _r;
2330 : 0 : _r = captures[1];
2331 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 599, __FILE__, __LINE__, true);
2332 : : return _r;
2333 : : }
2334 : : next_after_fail792:;
2335 : : return NULL_TREE;
2336 : : }
2337 : :
2338 : : tree
2339 : 3 : generic_simplify_422 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2340 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2341 : : const combined_fn ARG_UNUSED (POPCOUNT),
2342 : : const combined_fn ARG_UNUSED (PARITY))
2343 : : {
2344 : 3 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2345 : 3 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail796;
2346 : 3 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail796;
2347 : 3 : {
2348 : 3 : tree res_op0;
2349 : 3 : res_op0 = captures[0];
2350 : 3 : tree _r;
2351 : 3 : _r = maybe_build_call_expr_loc (loc, PARITY, type, 1, res_op0);
2352 : 3 : if (!_r)
2353 : 0 : goto next_after_fail796;
2354 : 3 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 602, __FILE__, __LINE__, true);
2355 : : return _r;
2356 : : }
2357 : : next_after_fail796:;
2358 : : return NULL_TREE;
2359 : : }
2360 : :
2361 : : tree
2362 : 28 : generic_simplify_425 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2363 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
2364 : : {
2365 : 28 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2366 : 28 : if (element_precision (type) <= element_precision (TREE_TYPE (captures[0]))
2367 : 28 : || !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
2368 : : )
2369 : : {
2370 : 28 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail799;
2371 : 28 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail799;
2372 : 28 : {
2373 : 28 : tree res_op0;
2374 : 28 : {
2375 : 28 : tree _o1[1], _r1;
2376 : 28 : _o1[0] = captures[0];
2377 : 28 : _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
2378 : 28 : res_op0 = _r1;
2379 : : }
2380 : 28 : tree _r;
2381 : 28 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
2382 : 28 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 605, __FILE__, __LINE__, true);
2383 : 28 : return _r;
2384 : : }
2385 : : next_after_fail799:;
2386 : : }
2387 : : return NULL_TREE;
2388 : : }
2389 : :
2390 : : tree
2391 : 158 : generic_simplify_429 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2392 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
2393 : : {
2394 : 158 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2395 : 158 : if (element_precision (type) <= element_precision (TREE_TYPE (captures[0]))
2396 : 158 : || !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
2397 : : )
2398 : : {
2399 : 158 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail803;
2400 : 158 : {
2401 : 158 : tree res_op0;
2402 : 158 : {
2403 : 158 : tree _o1[2], _r1;
2404 : 158 : _o1[0] = captures[0];
2405 : 158 : _o1[1] = build_each_one_cst (TREE_TYPE (captures[0]));
2406 : 158 : _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2407 : 158 : res_op0 = _r1;
2408 : : }
2409 : 158 : tree _r;
2410 : 158 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
2411 : 158 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 609, __FILE__, __LINE__, true);
2412 : 158 : return _r;
2413 : : }
2414 : 0 : next_after_fail803:;
2415 : : }
2416 : : return NULL_TREE;
2417 : : }
2418 : :
2419 : : tree
2420 : 0 : generic_simplify_433 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2421 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
2422 : : const enum tree_code ARG_UNUSED (rotate))
2423 : : {
2424 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2425 : 0 : if ((element_precision (TREE_TYPE (captures[2]))
2426 : 0 : <= element_precision (TREE_TYPE (captures[3]))
2427 : 0 : || !TYPE_UNSIGNED (TREE_TYPE (captures[3])))
2428 : 0 : && (element_precision (type) <= element_precision (TREE_TYPE (captures[2]))
2429 : 0 : || !TYPE_UNSIGNED (TREE_TYPE (captures[2])))
2430 : : )
2431 : : {
2432 : 0 : {
2433 : 0 : tree rotate_type = TREE_TYPE (captures[2]);
2434 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail807;
2435 : 0 : {
2436 : 0 : tree res_op0;
2437 : 0 : {
2438 : 0 : tree _o1[2], _r1;
2439 : 0 : {
2440 : 0 : tree _o2[1], _r2;
2441 : 0 : _o2[0] = captures[3];
2442 : 0 : if (TREE_TYPE (_o2[0]) != rotate_type)
2443 : : {
2444 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, rotate_type, _o2[0]);
2445 : : }
2446 : : else
2447 : : _r2 = _o2[0];
2448 : 0 : _o1[0] = _r2;
2449 : : }
2450 : 0 : _o1[1] = captures[4];
2451 : 0 : _r1 = fold_build2_loc (loc, rotate, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2452 : 0 : res_op0 = _r1;
2453 : : }
2454 : 0 : tree _r;
2455 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
2456 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 612, __FILE__, __LINE__, true);
2457 : 0 : return _r;
2458 : : }
2459 : 0 : next_after_fail807:;
2460 : : }
2461 : : }
2462 : : return NULL_TREE;
2463 : : }
2464 : :
2465 : : tree
2466 : 0 : generic_simplify_443 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2467 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2468 : : const enum tree_code ARG_UNUSED (minmax))
2469 : : {
2470 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2471 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail819;
2472 : 0 : {
2473 : 0 : tree _r;
2474 : 0 : _r = captures[0];
2475 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 623, __FILE__, __LINE__, true);
2476 : : return _r;
2477 : : }
2478 : 0 : next_after_fail819:;
2479 : 0 : return NULL_TREE;
2480 : : }
2481 : :
2482 : : tree
2483 : 20 : generic_simplify_451 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2484 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2485 : : const enum tree_code ARG_UNUSED (minmax),
2486 : : const enum tree_code ARG_UNUSED (cmp))
2487 : : {
2488 : 20 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2489 : 20 : {
2490 : 20 : poly_int64 off0, off1;
2491 : 20 : tree base0, base1;
2492 : 20 : int equal = address_compare (cmp, TREE_TYPE (captures[0]), captures[1], captures[3], base0, base1,
2493 : : off0, off1,
2494 : : 1
2495 : : );
2496 : 20 : if (equal == 1
2497 : : )
2498 : : {
2499 : 0 : if (minmax == MIN_EXPR
2500 : : )
2501 : : {
2502 : 0 : if (known_le (off0, off1)
2503 : : )
2504 : : {
2505 : 0 : if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail836;
2506 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail836;
2507 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail836;
2508 : 0 : {
2509 : 0 : tree _r;
2510 : 0 : _r = captures[0];
2511 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 627, __FILE__, __LINE__, true);
2512 : 0 : return _r;
2513 : : }
2514 : 20 : next_after_fail836:;
2515 : : }
2516 : : else
2517 : : {
2518 : 0 : if (known_gt (off0, off1)
2519 : : )
2520 : : {
2521 : 0 : if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail837;
2522 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail837;
2523 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail837;
2524 : 0 : {
2525 : 0 : tree _r;
2526 : 0 : _r = captures[2];
2527 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 628, __FILE__, __LINE__, true);
2528 : 0 : return _r;
2529 : : }
2530 : 20 : next_after_fail837:;
2531 : : }
2532 : : }
2533 : : }
2534 : : else
2535 : : {
2536 : 0 : if (known_ge (off0, off1)
2537 : : )
2538 : : {
2539 : 0 : if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail838;
2540 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail838;
2541 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail838;
2542 : 0 : {
2543 : 0 : tree _r;
2544 : 0 : _r = captures[0];
2545 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 629, __FILE__, __LINE__, true);
2546 : 0 : return _r;
2547 : : }
2548 : 20 : next_after_fail838:;
2549 : : }
2550 : : else
2551 : : {
2552 : 0 : if (known_lt (off0, off1)
2553 : : )
2554 : : {
2555 : 0 : if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail839;
2556 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail839;
2557 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail839;
2558 : 0 : {
2559 : 0 : tree _r;
2560 : 0 : _r = captures[2];
2561 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 630, __FILE__, __LINE__, true);
2562 : 0 : return _r;
2563 : : }
2564 : 20 : next_after_fail839:;
2565 : : }
2566 : : }
2567 : : }
2568 : : }
2569 : : }
2570 : 20 : return NULL_TREE;
2571 : : }
2572 : :
2573 : : tree
2574 : 4 : generic_simplify_470 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2575 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
2576 : : const enum tree_code ARG_UNUSED (op))
2577 : : {
2578 : 4 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2579 : 4 : if (INTEGRAL_TYPE_P (type)
2580 : 4 : && TYPE_PRECISION (type) > 1
2581 : 8 : && (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])))
2582 : : )
2583 : : {
2584 : 4 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail863;
2585 : 4 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail863;
2586 : 4 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail863;
2587 : 4 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail863;
2588 : 4 : {
2589 : 4 : tree res_op0;
2590 : 4 : {
2591 : 4 : tree _o1[2], _r1;
2592 : 4 : {
2593 : 4 : tree _o2[1], _r2;
2594 : 4 : _o2[0] = captures[0];
2595 : 4 : if (TREE_TYPE (_o2[0]) != type)
2596 : : {
2597 : 0 : _r2 = fold_build1_loc (loc, NOP_EXPR, type, _o2[0]);
2598 : : }
2599 : : else
2600 : : _r2 = _o2[0];
2601 : 4 : _o1[0] = _r2;
2602 : : }
2603 : 4 : _o1[1] = captures[1];
2604 : 4 : _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
2605 : 4 : res_op0 = _r1;
2606 : : }
2607 : 4 : tree res_op1;
2608 : 4 : res_op1 = captures[2];
2609 : 4 : tree _r;
2610 : 4 : _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
2611 : 4 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 654, __FILE__, __LINE__, true);
2612 : 4 : return _r;
2613 : : }
2614 : : next_after_fail863:;
2615 : : }
2616 : : return NULL_TREE;
2617 : : }
2618 : :
2619 : : tree
2620 : 0 : generic_simplify_482 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2621 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2622 : : const enum tree_code ARG_UNUSED (rotate))
2623 : : {
2624 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2625 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail878;
2626 : 0 : {
2627 : 0 : tree _r;
2628 : 0 : _r = captures[0];
2629 : 0 : if (TREE_SIDE_EFFECTS (captures[1]))
2630 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
2631 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 668, __FILE__, __LINE__, true);
2632 : : return _r;
2633 : : }
2634 : 0 : next_after_fail878:;
2635 : 0 : return NULL_TREE;
2636 : : }
2637 : :
2638 : : tree
2639 : 0 : generic_simplify_486 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2640 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
2641 : : const combined_fn ARG_UNUSED (bswap))
2642 : : {
2643 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2644 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail884;
2645 : 0 : {
2646 : 0 : tree res_op0;
2647 : 0 : res_op0 = captures[0];
2648 : 0 : tree _r;
2649 : 0 : _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
2650 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 674, __FILE__, __LINE__, true);
2651 : : return _r;
2652 : : }
2653 : 0 : next_after_fail884:;
2654 : 0 : return NULL_TREE;
2655 : : }
2656 : :
2657 : : tree
2658 : 0 : generic_simplify_492 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2659 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
2660 : : const enum tree_code ARG_UNUSED (cmp))
2661 : : {
2662 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2663 : 0 : if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail890;
2664 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail890;
2665 : 0 : if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail890;
2666 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail890;
2667 : 0 : {
2668 : 0 : tree _r;
2669 : 0 : _r = captures[0];
2670 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 661, __FILE__, __LINE__, true);
2671 : : return _r;
2672 : : }
2673 : : next_after_fail890:;
2674 : : return NULL_TREE;
2675 : : }
2676 : :
2677 : : tree
2678 : 0 : generic_simplify_499 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2679 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
2680 : : const combined_fn ARG_UNUSED (cond_len_op))
2681 : : {
2682 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2683 : 0 : {
2684 : 0 : tree op_type = TREE_TYPE (captures[4]);
2685 : 0 : if (element_precision (type) == element_precision (op_type)
2686 : : )
2687 : : {
2688 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail897;
2689 : 0 : {
2690 : 0 : tree res_op0;
2691 : 0 : {
2692 : 0 : tree _o1[7], _r1;
2693 : 0 : _o1[0] = captures[0];
2694 : 0 : _o1[1] = captures[1];
2695 : 0 : _o1[2] = captures[2];
2696 : 0 : _o1[3] = captures[3];
2697 : 0 : {
2698 : 0 : tree _o2[1], _r2;
2699 : 0 : _o2[0] = captures[7];
2700 : 0 : _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, op_type, _o2[0]);
2701 : 0 : _o1[4] = _r2;
2702 : : }
2703 : 0 : _o1[5] = captures[5];
2704 : 0 : _o1[6] = captures[6];
2705 : 0 : _r1 = maybe_build_call_expr_loc (loc, cond_len_op, TREE_TYPE (_o1[1]), 7, _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5], _o1[6]);
2706 : 0 : if (!_r1)
2707 : 0 : goto next_after_fail897;
2708 : 0 : res_op0 = _r1;
2709 : : }
2710 : 0 : tree _r;
2711 : 0 : _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
2712 : 0 : if (TREE_SIDE_EFFECTS (captures[4]))
2713 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
2714 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 682, __FILE__, __LINE__, true);
2715 : 0 : return _r;
2716 : : }
2717 : : next_after_fail897:;
2718 : : }
2719 : : }
2720 : : return NULL_TREE;
2721 : : }
2722 : :
2723 : : tree
2724 : 0 : generic_simplify_507 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2725 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
2726 : : const combined_fn ARG_UNUSED (ovf))
2727 : : {
2728 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2729 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
2730 : 0 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
2731 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[1])) > TYPE_PRECISION (TREE_TYPE (captures[2]))
2732 : 0 : && (!TYPE_UNSIGNED (TREE_TYPE (captures[1])) || TYPE_UNSIGNED (TREE_TYPE (captures[2])))
2733 : : )
2734 : : {
2735 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail905;
2736 : 0 : {
2737 : 0 : tree res_op0;
2738 : 0 : res_op0 = captures[0];
2739 : 0 : tree res_op1;
2740 : 0 : res_op1 = captures[2];
2741 : 0 : tree _r;
2742 : 0 : _r = maybe_build_call_expr_loc (loc, ovf, type, 2, res_op0, res_op1);
2743 : 0 : if (!_r)
2744 : 0 : goto next_after_fail905;
2745 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 690, __FILE__, __LINE__, true);
2746 : 0 : return _r;
2747 : : }
2748 : : next_after_fail905:;
2749 : : }
2750 : : return NULL_TREE;
2751 : : }
2752 : :
2753 : : tree
2754 : 0 : generic_simplify_519 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2755 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
2756 : : const combined_fn ARG_UNUSED (froms),
2757 : : const combined_fn ARG_UNUSED (tos))
2758 : : {
2759 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2760 : 0 : if (optimize && canonicalize_math_p ()
2761 : : )
2762 : : {
2763 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail917;
2764 : 0 : {
2765 : 0 : tree res_op0;
2766 : 0 : res_op0 = captures[0];
2767 : 0 : tree _r;
2768 : 0 : _r = maybe_build_call_expr_loc (loc, tos, type, 1, res_op0);
2769 : 0 : if (!_r)
2770 : 0 : goto next_after_fail917;
2771 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 702, __FILE__, __LINE__, true);
2772 : 0 : return _r;
2773 : : }
2774 : : next_after_fail917:;
2775 : : }
2776 : : return NULL_TREE;
2777 : : }
2778 : :
2779 : : tree
2780 : 0 : generic_simplify_527 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2781 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
2782 : : const combined_fn ARG_UNUSED (SIGNBIT))
2783 : : {
2784 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2785 : 0 : if (!HONOR_SIGNED_ZEROS (captures[0])
2786 : : )
2787 : : {
2788 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail925;
2789 : 0 : {
2790 : 0 : tree res_op0;
2791 : 0 : {
2792 : 0 : tree _o1[2], _r1;
2793 : 0 : _o1[0] = captures[0];
2794 : 0 : _o1[1] = build_real (TREE_TYPE (captures[0]), dconst0);
2795 : 0 : _r1 = fold_build2_loc (loc, LT_EXPR, boolean_type_node, _o1[0], _o1[1]);
2796 : 0 : res_op0 = _r1;
2797 : : }
2798 : 0 : tree _r;
2799 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
2800 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 710, __FILE__, __LINE__, true);
2801 : 0 : return _r;
2802 : : }
2803 : 0 : next_after_fail925:;
2804 : : }
2805 : : return NULL_TREE;
2806 : : }
2807 : :
2808 : : tree
2809 : 0 : generic_simplify_536 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2810 : : tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
2811 : : {
2812 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2813 : 0 : if (canonicalize_math_after_vectorization_p ()
2814 : : )
2815 : : {
2816 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail934;
2817 : : {
2818 : : tree res_op0;
2819 : : res_op0 = captures[0];
2820 : : tree res_op1;
2821 : : res_op1 = captures[1];
2822 : : tree res_op2;
2823 : : res_op2 = captures[2];
2824 : : tree _r;
2825 : : _r = maybe_build_call_expr_loc (loc, CFN_FMA, type, 3, res_op0, res_op1, res_op2);
2826 : : if (!_r)
2827 : : goto next_after_fail934;
2828 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 719, __FILE__, __LINE__, true);
2829 : : return _r;
2830 : : }
2831 : 0 : next_after_fail934:;
2832 : : }
2833 : 0 : return NULL_TREE;
2834 : : }
2835 : :
2836 : : tree
2837 : 0 : generic_simplify_546 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
2838 : : tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
2839 : : const enum tree_code ARG_UNUSED (rot),
2840 : : const combined_fn ARG_UNUSED (parity))
2841 : : {
2842 : 0 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2843 : 0 : if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
2844 : 0 : && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
2845 : 0 : && (
2846 : :
2847 : 0 : || !TREE_SIDE_EFFECTS (captures[3]))
2848 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[0]))
2849 : 0 : >= TYPE_PRECISION (TREE_TYPE (captures[1]))
2850 : : )
2851 : : {
2852 : 0 : {
2853 : 0 : tree type0 = TREE_TYPE (captures[0]);
2854 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail945;
2855 : 0 : {
2856 : 0 : tree res_op0;
2857 : 0 : {
2858 : 0 : tree _o1[1], _r1;
2859 : 0 : _o1[0] = captures[2];
2860 : 0 : if (TREE_TYPE (_o1[0]) != type0)
2861 : : {
2862 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, type0, _o1[0]);
2863 : : }
2864 : : else
2865 : : _r1 = _o1[0];
2866 : 0 : res_op0 = _r1;
2867 : : }
2868 : 0 : tree _r;
2869 : 0 : _r = maybe_build_call_expr_loc (loc, parity, type, 1, res_op0);
2870 : 0 : if (!_r)
2871 : 0 : goto next_after_fail945;
2872 : 0 : if (TREE_SIDE_EFFECTS (captures[3]))
2873 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
2874 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 726, __FILE__, __LINE__, true);
2875 : 0 : return _r;
2876 : : }
2877 : : next_after_fail945:;
2878 : : }
2879 : : }
2880 : : return NULL_TREE;
2881 : : }
2882 : :
2883 : : tree
2884 : 6480679 : generic_simplify_FLOAT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0)
2885 : : {
2886 : 6480679 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
2887 : 6480679 : {
2888 : 6480679 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
2889 : 12961358 : if ((
2890 : :
2891 : : && useless_type_conversion_p (type, TREE_TYPE (captures[0])))
2892 : : || (
2893 : : 1
2894 : 6480679 : && type == TREE_TYPE (captures[0]))
2895 : : )
2896 : : {
2897 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1009;
2898 : 0 : {
2899 : 0 : tree _r;
2900 : 0 : _r = captures[0];
2901 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 741, __FILE__, __LINE__, true);
2902 : 0 : return _r;
2903 : : }
2904 : 0 : next_after_fail1009:;
2905 : : }
2906 : : }
2907 : 6480679 : switch (TREE_CODE (_p0))
2908 : : {
2909 : 551576 : CASE_CONVERT:
2910 : 551576 : {
2911 : 551576 : tree _q20 = TREE_OPERAND (_p0, 0);
2912 : 551576 : {
2913 : 551576 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
2914 : 551576 : {
2915 : 551576 : tree inside_type = TREE_TYPE (captures[1]);
2916 : 551576 : tree inter_type = TREE_TYPE (captures[0]);
2917 : 551576 : int inside_int = INTEGRAL_TYPE_P (inside_type);
2918 : 551576 : int inside_ptr = POINTER_TYPE_P (inside_type);
2919 : 551576 : int inside_float = FLOAT_TYPE_P (inside_type);
2920 : 551576 : int inside_vec = VECTOR_TYPE_P (inside_type);
2921 : 551576 : unsigned int inside_prec = element_precision (inside_type);
2922 : 551576 : int inside_unsignedp = TYPE_UNSIGNED (inside_type);
2923 : 551576 : int inter_int = INTEGRAL_TYPE_P (inter_type);
2924 : 551576 : int inter_ptr = POINTER_TYPE_P (inter_type);
2925 : 551576 : int inter_float = FLOAT_TYPE_P (inter_type);
2926 : 551576 : int inter_vec = VECTOR_TYPE_P (inter_type);
2927 : 551576 : unsigned int inter_prec = element_precision (inter_type);
2928 : 551576 : int inter_unsignedp = TYPE_UNSIGNED (inter_type);
2929 : 551576 : int final_int = INTEGRAL_TYPE_P (type);
2930 : 551576 : int final_ptr = POINTER_TYPE_P (type);
2931 : 551576 : int final_float = FLOAT_TYPE_P (type);
2932 : 551576 : int final_vec = VECTOR_TYPE_P (type);
2933 : 551576 : unsigned int final_prec = element_precision (type);
2934 : 551576 : int final_unsignedp = TYPE_UNSIGNED (type);
2935 : 551576 : if (((
2936 : :
2937 : : && useless_type_conversion_p (type, inside_type))
2938 : : || (
2939 : : 1
2940 : 551576 : && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type)))
2941 : 0 : && (((inter_int || inter_ptr) && final_int)
2942 : 0 : || (inter_float && final_float))
2943 : 551576 : && inter_prec >= final_prec
2944 : : )
2945 : : {
2946 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1010;
2947 : 0 : {
2948 : 0 : tree res_op0;
2949 : 0 : res_op0 = captures[1];
2950 : 0 : tree _r;
2951 : 0 : _r = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0);
2952 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 742, __FILE__, __LINE__, true);
2953 : 0 : return _r;
2954 : : }
2955 : 0 : next_after_fail1010:;
2956 : : }
2957 : : else
2958 : : {
2959 : 551576 : if (((inter_int && inside_int) || (inter_float && inside_float))
2960 : 551570 : && (final_int || final_float)
2961 : 551570 : && inter_prec >= inside_prec
2962 : 550607 : && (inter_float || inter_unsignedp == inside_unsignedp)
2963 : : )
2964 : : {
2965 : 548332 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1011;
2966 : 548332 : {
2967 : 548332 : tree res_op0;
2968 : 548332 : res_op0 = captures[1];
2969 : 548332 : tree _r;
2970 : 548332 : _r = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0);
2971 : 548332 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 743, __FILE__, __LINE__, true);
2972 : 548332 : return _r;
2973 : : }
2974 : 0 : next_after_fail1011:;
2975 : 0 : }
2976 : : else
2977 : : {
2978 : 3244 : if (inside_int && inter_int && final_int
2979 : 0 : && ((inside_prec < inter_prec && inter_prec < final_prec
2980 : 0 : && inside_unsignedp && !inter_unsignedp)
2981 : 0 : || final_prec == inter_prec
2982 : 0 : || (inside_prec < inter_prec && inter_prec > final_prec
2983 : 0 : && !inside_unsignedp && inter_unsignedp))
2984 : : )
2985 : : {
2986 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1012;
2987 : 0 : {
2988 : 0 : tree res_op0;
2989 : 0 : res_op0 = captures[1];
2990 : 0 : tree _r;
2991 : 0 : _r = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0);
2992 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 744, __FILE__, __LINE__, true);
2993 : 0 : return _r;
2994 : : }
2995 : 0 : next_after_fail1012:;
2996 : 0 : }
2997 : : else
2998 : : {
2999 : 3244 : if (! inside_float && ! inter_float && ! final_float
3000 : : && ! inside_vec && ! inter_vec && ! final_vec
3001 : 0 : && (inter_prec >= inside_prec || inter_prec >= final_prec)
3002 : 0 : && ! (inside_int && inter_int
3003 : 0 : && inter_unsignedp != inside_unsignedp
3004 : 0 : && inter_prec < final_prec)
3005 : 0 : && ((inter_unsignedp && inter_prec > inside_prec)
3006 : 0 : == (final_unsignedp && final_prec > inter_prec))
3007 : 0 : && ! (inside_ptr && inter_prec != final_prec)
3008 : 0 : && ! (final_ptr && inside_prec != inter_prec)
3009 : : )
3010 : : {
3011 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1013;
3012 : 0 : {
3013 : 0 : tree res_op0;
3014 : 0 : res_op0 = captures[1];
3015 : 0 : tree _r;
3016 : 0 : _r = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0);
3017 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 745, __FILE__, __LINE__, true);
3018 : 0 : return _r;
3019 : : }
3020 : 0 : next_after_fail1013:;
3021 : 0 : }
3022 : : else
3023 : : {
3024 : 3244 : if (inside_int && inter_int && final_int
3025 : 3238 : && final_prec <= inside_prec
3026 : 0 : && inter_prec >= inside_prec
3027 : : )
3028 : : {
3029 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1014;
3030 : 0 : {
3031 : 0 : tree res_op0;
3032 : 0 : res_op0 = captures[1];
3033 : 0 : tree _r;
3034 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3035 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 746, __FILE__, __LINE__, true);
3036 : 0 : return _r;
3037 : : }
3038 : 0 : next_after_fail1014:;
3039 : 0 : }
3040 : : else
3041 : : {
3042 : : if (0
3043 : : && final_int && inter_int && inside_int
3044 : : && final_prec == inside_prec
3045 : : && final_prec > inter_prec
3046 : : && inter_unsignedp
3047 : : )
3048 : : {
3049 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1015;
3050 : : {
3051 : : tree res_op0;
3052 : : {
3053 : : tree _o1[2], _r1;
3054 : : _o1[0] = captures[1];
3055 : : _o1[1] = wide_int_to_tree
3056 : : (inside_type,
3057 : : wi::mask (inter_prec, false,
3058 : : TYPE_PRECISION (inside_type)));
3059 : : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
3060 : : res_op0 = _r1;
3061 : : }
3062 : : tree _r;
3063 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3064 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 747, __FILE__, __LINE__, true);
3065 : : return _r;
3066 : : }
3067 : : next_after_fail1015:;
3068 : : }
3069 : : else
3070 : : {
3071 : : if (0
3072 : : && inside_int && inter_float && final_int &&
3073 : : (unsigned) significand_size (TYPE_MODE (inter_type))
3074 : : >= inside_prec - !inside_unsignedp
3075 : : )
3076 : : {
3077 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1016;
3078 : : {
3079 : : tree res_op0;
3080 : : res_op0 = captures[1];
3081 : : tree _r;
3082 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3083 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 748, __FILE__, __LINE__, true);
3084 : : return _r;
3085 : : }
3086 : : next_after_fail1016:;
3087 : : }
3088 : : }
3089 : : }
3090 : : }
3091 : : }
3092 : : }
3093 : : }
3094 : : }
3095 : : }
3096 : 3244 : break;
3097 : : }
3098 : 0 : case FLOAT_EXPR:
3099 : 0 : {
3100 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
3101 : 0 : {
3102 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
3103 : 0 : {
3104 : 0 : tree inside_type = TREE_TYPE (captures[1]);
3105 : 0 : tree inter_type = TREE_TYPE (captures[0]);
3106 : 0 : int inside_int = INTEGRAL_TYPE_P (inside_type);
3107 : 0 : int inside_ptr = POINTER_TYPE_P (inside_type);
3108 : 0 : int inside_float = FLOAT_TYPE_P (inside_type);
3109 : 0 : int inside_vec = VECTOR_TYPE_P (inside_type);
3110 : 0 : unsigned int inside_prec = element_precision (inside_type);
3111 : 0 : int inside_unsignedp = TYPE_UNSIGNED (inside_type);
3112 : 0 : int inter_int = INTEGRAL_TYPE_P (inter_type);
3113 : 0 : int inter_ptr = POINTER_TYPE_P (inter_type);
3114 : 0 : int inter_float = FLOAT_TYPE_P (inter_type);
3115 : 0 : int inter_vec = VECTOR_TYPE_P (inter_type);
3116 : 0 : unsigned int inter_prec = element_precision (inter_type);
3117 : 0 : int inter_unsignedp = TYPE_UNSIGNED (inter_type);
3118 : 0 : int final_int = INTEGRAL_TYPE_P (type);
3119 : 0 : int final_ptr = POINTER_TYPE_P (type);
3120 : 0 : int final_float = FLOAT_TYPE_P (type);
3121 : 0 : int final_vec = VECTOR_TYPE_P (type);
3122 : 0 : unsigned int final_prec = element_precision (type);
3123 : 0 : int final_unsignedp = TYPE_UNSIGNED (type);
3124 : 0 : if (((
3125 : :
3126 : : && useless_type_conversion_p (type, inside_type))
3127 : : || (
3128 : : 1
3129 : 0 : && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type)))
3130 : 0 : && (((inter_int || inter_ptr) && final_int)
3131 : 0 : || (inter_float && final_float))
3132 : 0 : && inter_prec >= final_prec
3133 : : )
3134 : : {
3135 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1017;
3136 : 0 : {
3137 : 0 : tree res_op0;
3138 : 0 : res_op0 = captures[1];
3139 : 0 : tree _r;
3140 : 0 : _r = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0);
3141 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 742, __FILE__, __LINE__, true);
3142 : 0 : return _r;
3143 : : }
3144 : 0 : next_after_fail1017:;
3145 : : }
3146 : : else
3147 : : {
3148 : 0 : if (((inter_int && inside_int) || (inter_float && inside_float))
3149 : 0 : && (final_int || final_float)
3150 : 0 : && inter_prec >= inside_prec
3151 : 0 : && (inter_float || inter_unsignedp == inside_unsignedp)
3152 : : )
3153 : : {
3154 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1018;
3155 : 0 : {
3156 : 0 : tree res_op0;
3157 : 0 : res_op0 = captures[1];
3158 : 0 : tree _r;
3159 : 0 : _r = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0);
3160 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 743, __FILE__, __LINE__, true);
3161 : 0 : return _r;
3162 : : }
3163 : 0 : next_after_fail1018:;
3164 : 0 : }
3165 : : else
3166 : : {
3167 : 0 : if (inside_int && inter_int && final_int
3168 : 0 : && ((inside_prec < inter_prec && inter_prec < final_prec
3169 : 0 : && inside_unsignedp && !inter_unsignedp)
3170 : 0 : || final_prec == inter_prec
3171 : 0 : || (inside_prec < inter_prec && inter_prec > final_prec
3172 : 0 : && !inside_unsignedp && inter_unsignedp))
3173 : : )
3174 : : {
3175 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1019;
3176 : 0 : {
3177 : 0 : tree res_op0;
3178 : 0 : res_op0 = captures[1];
3179 : 0 : tree _r;
3180 : 0 : _r = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0);
3181 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 744, __FILE__, __LINE__, true);
3182 : 0 : return _r;
3183 : : }
3184 : 0 : next_after_fail1019:;
3185 : 0 : }
3186 : : else
3187 : : {
3188 : 0 : if (! inside_float && ! inter_float && ! final_float
3189 : : && ! inside_vec && ! inter_vec && ! final_vec
3190 : 0 : && (inter_prec >= inside_prec || inter_prec >= final_prec)
3191 : 0 : && ! (inside_int && inter_int
3192 : 0 : && inter_unsignedp != inside_unsignedp
3193 : 0 : && inter_prec < final_prec)
3194 : 0 : && ((inter_unsignedp && inter_prec > inside_prec)
3195 : 0 : == (final_unsignedp && final_prec > inter_prec))
3196 : 0 : && ! (inside_ptr && inter_prec != final_prec)
3197 : 0 : && ! (final_ptr && inside_prec != inter_prec)
3198 : : )
3199 : : {
3200 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1020;
3201 : 0 : {
3202 : 0 : tree res_op0;
3203 : 0 : res_op0 = captures[1];
3204 : 0 : tree _r;
3205 : 0 : _r = fold_build1_loc (loc, FLOAT_EXPR, type, res_op0);
3206 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 745, __FILE__, __LINE__, true);
3207 : 0 : return _r;
3208 : : }
3209 : 0 : next_after_fail1020:;
3210 : 0 : }
3211 : : else
3212 : : {
3213 : 0 : if (inside_int && inter_int && final_int
3214 : 0 : && final_prec <= inside_prec
3215 : 0 : && inter_prec >= inside_prec
3216 : : )
3217 : : {
3218 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1021;
3219 : 0 : {
3220 : 0 : tree res_op0;
3221 : 0 : res_op0 = captures[1];
3222 : 0 : tree _r;
3223 : 0 : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3224 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 746, __FILE__, __LINE__, true);
3225 : 0 : return _r;
3226 : : }
3227 : 0 : next_after_fail1021:;
3228 : 0 : }
3229 : : else
3230 : : {
3231 : : if (0
3232 : : && final_int && inter_int && inside_int
3233 : : && final_prec == inside_prec
3234 : : && final_prec > inter_prec
3235 : : && inter_unsignedp
3236 : : )
3237 : : {
3238 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1022;
3239 : : {
3240 : : tree res_op0;
3241 : : {
3242 : : tree _o1[2], _r1;
3243 : : _o1[0] = captures[1];
3244 : : _o1[1] = wide_int_to_tree
3245 : : (inside_type,
3246 : : wi::mask (inter_prec, false,
3247 : : TYPE_PRECISION (inside_type)));
3248 : : _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
3249 : : res_op0 = _r1;
3250 : : }
3251 : : tree _r;
3252 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3253 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 747, __FILE__, __LINE__, true);
3254 : : return _r;
3255 : : }
3256 : : next_after_fail1022:;
3257 : : }
3258 : : else
3259 : : {
3260 : : if (0
3261 : : && inside_int && inter_float && final_int &&
3262 : : (unsigned) significand_size (TYPE_MODE (inter_type))
3263 : : >= inside_prec - !inside_unsignedp
3264 : : )
3265 : : {
3266 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1023;
3267 : : {
3268 : : tree res_op0;
3269 : : res_op0 = captures[1];
3270 : : tree _r;
3271 : : _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
3272 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 748, __FILE__, __LINE__, true);
3273 : : return _r;
3274 : : }
3275 : : next_after_fail1023:;
3276 : : }
3277 : : }
3278 : : }
3279 : : }
3280 : : }
3281 : : }
3282 : : }
3283 : : }
3284 : : }
3285 : 0 : break;
3286 : : }
3287 : : default:;
3288 : : }
3289 : : return NULL_TREE;
3290 : : }
3291 : :
3292 : : tree
3293 : 1614462 : generic_simplify_BIT_IOR_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
3294 : : {
3295 : 1614462 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
3296 : 1614462 : if (integer_zerop (_p1))
3297 : : {
3298 : 2462 : {
3299 : 2462 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
3300 : 2462 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1124;
3301 : 2462 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1124;
3302 : 2462 : {
3303 : 2462 : tree res_op0;
3304 : 2462 : res_op0 = captures[0];
3305 : 2462 : tree _r;
3306 : 2462 : _r = non_lvalue_loc (loc, res_op0);
3307 : 2462 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 788, __FILE__, __LINE__, true);
3308 : 2462 : return _r;
3309 : : }
3310 : : next_after_fail1124:;
3311 : : }
3312 : : }
3313 : 1612000 : switch (TREE_CODE (_p0))
3314 : : {
3315 : 323005 : case LSHIFT_EXPR:
3316 : 323005 : {
3317 : 323005 : tree _q20 = TREE_OPERAND (_p0, 0);
3318 : 323005 : tree _q21 = TREE_OPERAND (_p0, 1);
3319 : 323005 : switch (TREE_CODE (_p1))
3320 : : {
3321 : 1130 : case LSHIFT_EXPR:
3322 : 1130 : {
3323 : 1130 : tree _q50 = TREE_OPERAND (_p1, 0);
3324 : 1130 : tree _q51 = TREE_OPERAND (_p1, 1);
3325 : 1130 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
3326 : : {
3327 : 1 : {
3328 : 1 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
3329 : 1 : tree res = generic_simplify_58 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
3330 : 1 : if (res) return res;
3331 : : }
3332 : : }
3333 : : break;
3334 : : }
3335 : : default:;
3336 : : }
3337 : : break;
3338 : : }
3339 : 23365 : case RSHIFT_EXPR:
3340 : 23365 : {
3341 : 23365 : tree _q20 = TREE_OPERAND (_p0, 0);
3342 : 23365 : tree _q21 = TREE_OPERAND (_p0, 1);
3343 : 23365 : switch (TREE_CODE (_p1))
3344 : : {
3345 : 4 : case RSHIFT_EXPR:
3346 : 4 : {
3347 : 4 : tree _q50 = TREE_OPERAND (_p1, 0);
3348 : 4 : tree _q51 = TREE_OPERAND (_p1, 1);
3349 : 4 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
3350 : : {
3351 : 3 : {
3352 : 3 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
3353 : 3 : tree res = generic_simplify_59 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
3354 : 3 : if (res) return res;
3355 : : }
3356 : : }
3357 : : break;
3358 : : }
3359 : : default:;
3360 : : }
3361 : : break;
3362 : : }
3363 : 267 : case NE_EXPR:
3364 : 267 : {
3365 : 267 : tree _q20 = TREE_OPERAND (_p0, 0);
3366 : 267 : tree _q21 = TREE_OPERAND (_p0, 1);
3367 : 267 : if (integer_zerop (_q21))
3368 : : {
3369 : 87 : switch (TREE_CODE (_p1))
3370 : : {
3371 : 1 : case NE_EXPR:
3372 : 1 : {
3373 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
3374 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
3375 : 1 : if (integer_zerop (_q51))
3376 : : {
3377 : 0 : {
3378 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
3379 : 0 : tree res = generic_simplify_60 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, NE_EXPR);
3380 : 0 : if (res) return res;
3381 : : }
3382 : : }
3383 : : break;
3384 : : }
3385 : : default:;
3386 : : }
3387 : : }
3388 : 267 : if (integer_all_onesp (_q21))
3389 : : {
3390 : 0 : switch (TREE_CODE (_p1))
3391 : : {
3392 : 0 : case NE_EXPR:
3393 : 0 : {
3394 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
3395 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
3396 : 0 : if (integer_all_onesp (_q51))
3397 : : {
3398 : 0 : {
3399 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
3400 : 0 : tree res = generic_simplify_61 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, NE_EXPR);
3401 : 0 : if (res) return res;
3402 : : }
3403 : : }
3404 : : break;
3405 : : }
3406 : : default:;
3407 : : }
3408 : : }
3409 : : break;
3410 : : }
3411 : 108096 : case BIT_AND_EXPR:
3412 : 108096 : {
3413 : 108096 : tree _q20 = TREE_OPERAND (_p0, 0);
3414 : 108096 : tree _q21 = TREE_OPERAND (_p0, 1);
3415 : 108096 : switch (TREE_CODE (_p1))
3416 : : {
3417 : 16387 : case BIT_AND_EXPR:
3418 : 16387 : {
3419 : 16387 : tree _q50 = TREE_OPERAND (_p1, 0);
3420 : 16387 : tree _q51 = TREE_OPERAND (_p1, 1);
3421 : 16387 : {
3422 : 16387 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51 };
3423 : 16387 : tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
3424 : 16387 : if (res) return res;
3425 : : }
3426 : 16387 : {
3427 : 16387 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q50 };
3428 : 16387 : tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
3429 : 16387 : if (res) return res;
3430 : : }
3431 : 16383 : {
3432 : 16383 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q51 };
3433 : 16383 : tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
3434 : 16383 : if (res) return res;
3435 : : }
3436 : 16383 : {
3437 : 16383 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q50 };
3438 : 16383 : tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
3439 : 16383 : if (res) return res;
3440 : : }
3441 : 16383 : break;
3442 : : }
3443 : : default:;
3444 : : }
3445 : : break;
3446 : : }
3447 : 2278 : case BIT_XOR_EXPR:
3448 : 2278 : {
3449 : 2278 : tree _q20 = TREE_OPERAND (_p0, 0);
3450 : 2278 : tree _q21 = TREE_OPERAND (_p0, 1);
3451 : 2278 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
3452 : : {
3453 : 1 : {
3454 : 1 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
3455 : 1 : tree res = generic_simplify_62 (loc, type, _p0, _p1, captures);
3456 : 1 : if (res) return res;
3457 : : }
3458 : : }
3459 : 2277 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
3460 : : {
3461 : 0 : {
3462 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
3463 : 0 : tree res = generic_simplify_62 (loc, type, _p0, _p1, captures);
3464 : 0 : if (res) return res;
3465 : : }
3466 : : }
3467 : 2277 : switch (TREE_CODE (_p1))
3468 : : {
3469 : 24 : case BIT_AND_EXPR:
3470 : 24 : {
3471 : 24 : tree _q50 = TREE_OPERAND (_p1, 0);
3472 : 24 : tree _q51 = TREE_OPERAND (_p1, 1);
3473 : 24 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
3474 : : {
3475 : 0 : switch (TREE_CODE (_q51))
3476 : : {
3477 : 0 : case BIT_NOT_EXPR:
3478 : 0 : {
3479 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
3480 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
3481 : : {
3482 : 0 : {
3483 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p0 };
3484 : 0 : tree res = generic_simplify_63 (loc, type, _p0, _p1, captures);
3485 : 0 : if (res) return res;
3486 : : }
3487 : : }
3488 : : break;
3489 : : }
3490 : : default:;
3491 : : }
3492 : : }
3493 : 24 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
3494 : : {
3495 : 0 : switch (TREE_CODE (_q51))
3496 : : {
3497 : 0 : case BIT_NOT_EXPR:
3498 : 0 : {
3499 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
3500 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
3501 : : {
3502 : 0 : {
3503 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p0 };
3504 : 0 : tree res = generic_simplify_63 (loc, type, _p0, _p1, captures);
3505 : 0 : if (res) return res;
3506 : : }
3507 : : }
3508 : : break;
3509 : : }
3510 : : default:;
3511 : : }
3512 : : }
3513 : 24 : switch (TREE_CODE (_q50))
3514 : : {
3515 : 16 : case BIT_NOT_EXPR:
3516 : 16 : {
3517 : 16 : tree _q60 = TREE_OPERAND (_q50, 0);
3518 : 16 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
3519 : : {
3520 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
3521 : : {
3522 : 0 : {
3523 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p0 };
3524 : 0 : tree res = generic_simplify_63 (loc, type, _p0, _p1, captures);
3525 : 0 : if (res) return res;
3526 : : }
3527 : : }
3528 : : }
3529 : 16 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
3530 : : {
3531 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
3532 : : {
3533 : 0 : {
3534 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p0 };
3535 : 0 : tree res = generic_simplify_63 (loc, type, _p0, _p1, captures);
3536 : 0 : if (res) return res;
3537 : : }
3538 : : }
3539 : : }
3540 : : break;
3541 : : }
3542 : : default:;
3543 : : }
3544 : : break;
3545 : : }
3546 : 2277 : default:;
3547 : : }
3548 : 2277 : {
3549 : 2277 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p0, _q20, _q21 };
3550 : 2277 : tree res = generic_simplify_64 (loc, type, _p0, _p1, captures);
3551 : 2277 : if (res) return res;
3552 : : }
3553 : 2277 : {
3554 : 2277 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p0, _q21, _q20 };
3555 : 2277 : tree res = generic_simplify_64 (loc, type, _p0, _p1, captures);
3556 : 2277 : if (res) return res;
3557 : : }
3558 : 2277 : break;
3559 : : }
3560 : 1611991 : default:;
3561 : : }
3562 : 1611991 : switch (TREE_CODE (_p1))
3563 : : {
3564 : 83 : case BIT_XOR_EXPR:
3565 : 83 : {
3566 : 83 : tree _q30 = TREE_OPERAND (_p1, 0);
3567 : 83 : tree _q31 = TREE_OPERAND (_p1, 1);
3568 : 83 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
3569 : : {
3570 : 15 : {
3571 : 15 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
3572 : 15 : tree res = generic_simplify_62 (loc, type, _p0, _p1, captures);
3573 : 15 : if (res) return res;
3574 : : }
3575 : : }
3576 : 68 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
3577 : : {
3578 : 0 : {
3579 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
3580 : 0 : tree res = generic_simplify_62 (loc, type, _p0, _p1, captures);
3581 : 0 : if (res) return res;
3582 : : }
3583 : : }
3584 : : break;
3585 : : }
3586 : 1611976 : default:;
3587 : : }
3588 : 1611976 : switch (TREE_CODE (_p0))
3589 : : {
3590 : 108092 : case BIT_AND_EXPR:
3591 : 108092 : {
3592 : 108092 : tree _q20 = TREE_OPERAND (_p0, 0);
3593 : 108092 : tree _q21 = TREE_OPERAND (_p0, 1);
3594 : 108092 : switch (TREE_CODE (_q21))
3595 : : {
3596 : 75 : case BIT_NOT_EXPR:
3597 : 75 : {
3598 : 75 : tree _q40 = TREE_OPERAND (_q21, 0);
3599 : 75 : switch (TREE_CODE (_p1))
3600 : : {
3601 : 0 : case BIT_XOR_EXPR:
3602 : 0 : {
3603 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
3604 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
3605 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
3606 : : {
3607 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
3608 : : {
3609 : 0 : {
3610 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q40, _p1 };
3611 : 0 : tree res = generic_simplify_65 (loc, type, _p0, _p1, captures);
3612 : 0 : if (res) return res;
3613 : : }
3614 : : }
3615 : : }
3616 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
3617 : : {
3618 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
3619 : : {
3620 : 0 : {
3621 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q40, _p1 };
3622 : 0 : tree res = generic_simplify_65 (loc, type, _p0, _p1, captures);
3623 : 0 : if (res) return res;
3624 : : }
3625 : : }
3626 : : }
3627 : : break;
3628 : : }
3629 : : default:;
3630 : : }
3631 : : break;
3632 : : }
3633 : 108092 : default:;
3634 : : }
3635 : 108092 : switch (TREE_CODE (_q20))
3636 : : {
3637 : 186 : case BIT_NOT_EXPR:
3638 : 186 : {
3639 : 186 : tree _q30 = TREE_OPERAND (_q20, 0);
3640 : 186 : switch (TREE_CODE (_p1))
3641 : : {
3642 : 0 : case BIT_XOR_EXPR:
3643 : 0 : {
3644 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
3645 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
3646 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
3647 : : {
3648 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
3649 : : {
3650 : 0 : {
3651 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q30, _p1 };
3652 : 0 : tree res = generic_simplify_65 (loc, type, _p0, _p1, captures);
3653 : 0 : if (res) return res;
3654 : : }
3655 : : }
3656 : : }
3657 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
3658 : : {
3659 : 0 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
3660 : : {
3661 : 0 : {
3662 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q30, _p1 };
3663 : 0 : tree res = generic_simplify_65 (loc, type, _p0, _p1, captures);
3664 : 0 : if (res) return res;
3665 : : }
3666 : : }
3667 : : }
3668 : : break;
3669 : : }
3670 : : default:;
3671 : : }
3672 : : break;
3673 : : }
3674 : : default:;
3675 : : }
3676 : : break;
3677 : : }
3678 : 1611976 : default:;
3679 : : }
3680 : 1611976 : switch (TREE_CODE (_p1))
3681 : : {
3682 : 294 : case BIT_NOT_EXPR:
3683 : 294 : {
3684 : 294 : tree _q30 = TREE_OPERAND (_p1, 0);
3685 : 294 : switch (TREE_CODE (_q30))
3686 : : {
3687 : 40 : case BIT_XOR_EXPR:
3688 : 40 : {
3689 : 40 : tree _q40 = TREE_OPERAND (_q30, 0);
3690 : 40 : tree _q41 = TREE_OPERAND (_q30, 1);
3691 : 40 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
3692 : : {
3693 : 0 : {
3694 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q41 };
3695 : 0 : tree res = generic_simplify_66 (loc, type, _p0, _p1, captures);
3696 : 0 : if (res) return res;
3697 : : }
3698 : : }
3699 : 40 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
3700 : : {
3701 : 0 : {
3702 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q40 };
3703 : 0 : tree res = generic_simplify_66 (loc, type, _p0, _p1, captures);
3704 : 0 : if (res) return res;
3705 : : }
3706 : : }
3707 : : break;
3708 : : }
3709 : : default:;
3710 : : }
3711 : : break;
3712 : : }
3713 : 1611976 : default:;
3714 : : }
3715 : 1611976 : switch (TREE_CODE (_p0))
3716 : : {
3717 : 20604 : case BIT_NOT_EXPR:
3718 : 20604 : {
3719 : 20604 : tree _q20 = TREE_OPERAND (_p0, 0);
3720 : 20604 : switch (TREE_CODE (_q20))
3721 : : {
3722 : 24 : case BIT_XOR_EXPR:
3723 : 24 : {
3724 : 24 : tree _q30 = TREE_OPERAND (_q20, 0);
3725 : 24 : tree _q31 = TREE_OPERAND (_q20, 1);
3726 : 24 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
3727 : : {
3728 : 0 : {
3729 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _p0, _q31 };
3730 : 0 : tree res = generic_simplify_66 (loc, type, _p0, _p1, captures);
3731 : 0 : if (res) return res;
3732 : : }
3733 : : }
3734 : 24 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
3735 : : {
3736 : 0 : {
3737 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _p0, _q30 };
3738 : 0 : tree res = generic_simplify_66 (loc, type, _p0, _p1, captures);
3739 : 0 : if (res) return res;
3740 : : }
3741 : : }
3742 : : break;
3743 : : }
3744 : : default:;
3745 : : }
3746 : : break;
3747 : : }
3748 : 1611976 : default:;
3749 : : }
3750 : 1611976 : {
3751 : 1611976 : tree _p1_pops[1];
3752 : 1611976 : if (tree_nop_convert (_p1, _p1_pops))
3753 : : {
3754 : 784266 : tree _q30 = _p1_pops[0];
3755 : 784266 : switch (TREE_CODE (_q30))
3756 : : {
3757 : 0 : case EQ_EXPR:
3758 : 0 : {
3759 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
3760 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
3761 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
3762 : : {
3763 : 0 : {
3764 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q41 };
3765 : 0 : tree res = generic_simplify_67 (loc, type, _p0, _p1, captures);
3766 : 0 : if (res) return res;
3767 : : }
3768 : : }
3769 : 0 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
3770 : : {
3771 : 0 : {
3772 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q40 };
3773 : 0 : tree res = generic_simplify_67 (loc, type, _p0, _p1, captures);
3774 : 0 : if (res) return res;
3775 : : }
3776 : : }
3777 : : break;
3778 : : }
3779 : : default:;
3780 : : }
3781 : : }
3782 : : }
3783 : 1611976 : {
3784 : 1611976 : tree _p0_pops[1];
3785 : 1611976 : if (tree_nop_convert (_p0, _p0_pops))
3786 : : {
3787 : 489922 : tree _q20 = _p0_pops[0];
3788 : 489922 : switch (TREE_CODE (_q20))
3789 : : {
3790 : 0 : case EQ_EXPR:
3791 : 0 : {
3792 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
3793 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
3794 : 0 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
3795 : : {
3796 : 0 : {
3797 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
3798 : 0 : tree res = generic_simplify_67 (loc, type, _p0, _p1, captures);
3799 : 0 : if (res) return res;
3800 : : }
3801 : : }
3802 : 0 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
3803 : : {
3804 : 0 : {
3805 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q31, _q30 };
3806 : 0 : tree res = generic_simplify_67 (loc, type, _p0, _p1, captures);
3807 : 0 : if (res) return res;
3808 : : }
3809 : : }
3810 : : break;
3811 : : }
3812 : : default:;
3813 : : }
3814 : : }
3815 : : }
3816 : 1611976 : switch (TREE_CODE (_p1))
3817 : : {
3818 : 587 : case EQ_EXPR:
3819 : 587 : {
3820 : 587 : tree _q30 = TREE_OPERAND (_p1, 0);
3821 : 587 : tree _q31 = TREE_OPERAND (_p1, 1);
3822 : 587 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
3823 : : {
3824 : 0 : {
3825 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
3826 : 0 : tree res = generic_simplify_67 (loc, type, _p0, _p1, captures);
3827 : 0 : if (res) return res;
3828 : : }
3829 : : }
3830 : 587 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
3831 : : {
3832 : 8 : {
3833 : 8 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
3834 : 8 : tree res = generic_simplify_67 (loc, type, _p0, _p1, captures);
3835 : 8 : if (res) return res;
3836 : : }
3837 : : }
3838 : : break;
3839 : : }
3840 : 1611976 : default:;
3841 : : }
3842 : 1611976 : switch (TREE_CODE (_p0))
3843 : : {
3844 : 532 : case EQ_EXPR:
3845 : 532 : {
3846 : 532 : tree _q20 = TREE_OPERAND (_p0, 0);
3847 : 532 : tree _q21 = TREE_OPERAND (_p0, 1);
3848 : 532 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
3849 : : {
3850 : 8 : {
3851 : 8 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
3852 : 8 : tree res = generic_simplify_67 (loc, type, _p0, _p1, captures);
3853 : 8 : if (res) return res;
3854 : : }
3855 : : }
3856 : 532 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
3857 : : {
3858 : 0 : {
3859 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
3860 : 0 : tree res = generic_simplify_67 (loc, type, _p0, _p1, captures);
3861 : 0 : if (res) return res;
3862 : : }
3863 : : }
3864 : : break;
3865 : : }
3866 : 1611976 : default:;
3867 : : }
3868 : 1611976 : switch (TREE_CODE (_p1))
3869 : : {
3870 : 68 : case BIT_XOR_EXPR:
3871 : 68 : {
3872 : 68 : tree _q30 = TREE_OPERAND (_p1, 0);
3873 : 68 : tree _q31 = TREE_OPERAND (_p1, 1);
3874 : 68 : {
3875 : 68 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31 };
3876 : 68 : tree res = generic_simplify_64 (loc, type, _p0, _p1, captures);
3877 : 68 : if (res) return res;
3878 : : }
3879 : 67 : {
3880 : 67 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p1, _q31, _q30 };
3881 : 67 : tree res = generic_simplify_64 (loc, type, _p0, _p1, captures);
3882 : 67 : if (res) return res;
3883 : : }
3884 : 67 : break;
3885 : : }
3886 : 1611975 : default:;
3887 : : }
3888 : 1611975 : switch (TREE_CODE (_p0))
3889 : : {
3890 : 17593 : case BIT_IOR_EXPR:
3891 : 17593 : {
3892 : 17593 : tree _q20 = TREE_OPERAND (_p0, 0);
3893 : 17593 : tree _q21 = TREE_OPERAND (_p0, 1);
3894 : 17593 : switch (TREE_CODE (_p1))
3895 : : {
3896 : 4931 : case BIT_AND_EXPR:
3897 : 4931 : {
3898 : 4931 : tree _q50 = TREE_OPERAND (_p1, 0);
3899 : 4931 : tree _q51 = TREE_OPERAND (_p1, 1);
3900 : 4931 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
3901 : : {
3902 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
3903 : : {
3904 : 0 : {
3905 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
3906 : 0 : tree res = generic_simplify_68 (loc, type, _p0, _p1, captures, BIT_AND_EXPR);
3907 : 0 : if (res) return res;
3908 : : }
3909 : : }
3910 : : }
3911 : 4931 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
3912 : : {
3913 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
3914 : : {
3915 : 0 : {
3916 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
3917 : 0 : tree res = generic_simplify_68 (loc, type, _p0, _p1, captures, BIT_AND_EXPR);
3918 : 0 : if (res) return res;
3919 : : }
3920 : : }
3921 : : }
3922 : : break;
3923 : : }
3924 : 2 : case BIT_XOR_EXPR:
3925 : 2 : {
3926 : 2 : tree _q50 = TREE_OPERAND (_p1, 0);
3927 : 2 : tree _q51 = TREE_OPERAND (_p1, 1);
3928 : 2 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
3929 : : {
3930 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
3931 : : {
3932 : 0 : {
3933 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
3934 : 0 : tree res = generic_simplify_68 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
3935 : 0 : if (res) return res;
3936 : : }
3937 : : }
3938 : : }
3939 : 2 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
3940 : : {
3941 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
3942 : : {
3943 : 0 : {
3944 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
3945 : 0 : tree res = generic_simplify_68 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
3946 : 0 : if (res) return res;
3947 : : }
3948 : : }
3949 : : }
3950 : : break;
3951 : : }
3952 : 1903 : CASE_CONVERT:
3953 : 1903 : {
3954 : 1903 : tree _q50 = TREE_OPERAND (_p1, 0);
3955 : 1903 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
3956 : : {
3957 : 0 : {
3958 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q21 };
3959 : 0 : tree res = generic_simplify_69 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
3960 : 0 : if (res) return res;
3961 : : }
3962 : : }
3963 : 1903 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
3964 : : {
3965 : 0 : {
3966 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _q20 };
3967 : 0 : tree res = generic_simplify_69 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
3968 : 0 : if (res) return res;
3969 : : }
3970 : : }
3971 : : break;
3972 : : }
3973 : 17593 : default:;
3974 : : }
3975 : 17593 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q21, 0))
3976 : : {
3977 : 0 : {
3978 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q21 };
3979 : 0 : tree res = generic_simplify_69 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
3980 : 0 : if (res) return res;
3981 : : }
3982 : : }
3983 : 17593 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q20, 0))
3984 : : {
3985 : 0 : {
3986 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _q20 };
3987 : 0 : tree res = generic_simplify_69 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
3988 : 0 : if (res) return res;
3989 : : }
3990 : : }
3991 : : break;
3992 : : }
3993 : 108092 : case BIT_AND_EXPR:
3994 : 108092 : {
3995 : 108092 : tree _q20 = TREE_OPERAND (_p0, 0);
3996 : 108092 : tree _q21 = TREE_OPERAND (_p0, 1);
3997 : 108092 : switch (TREE_CODE (_p1))
3998 : : {
3999 : 1 : case BIT_IOR_EXPR:
4000 : 1 : {
4001 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
4002 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
4003 : 1 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
4004 : : {
4005 : 1 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4006 : : {
4007 : 0 : {
4008 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
4009 : 0 : tree res = generic_simplify_70 (loc, type, _p0, _p1, captures, BIT_AND_EXPR);
4010 : 0 : if (res) return res;
4011 : : }
4012 : : }
4013 : : }
4014 : 1 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
4015 : : {
4016 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
4017 : : {
4018 : 0 : {
4019 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q21, _q20 };
4020 : 0 : tree res = generic_simplify_70 (loc, type, _p0, _p1, captures, BIT_AND_EXPR);
4021 : 0 : if (res) return res;
4022 : : }
4023 : : }
4024 : : }
4025 : : break;
4026 : : }
4027 : 1 : case BIT_NOT_EXPR:
4028 : 1 : {
4029 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
4030 : 1 : switch (TREE_CODE (_q50))
4031 : : {
4032 : 0 : case BIT_XOR_EXPR:
4033 : 0 : {
4034 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
4035 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
4036 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
4037 : : {
4038 : 0 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
4039 : : {
4040 : 0 : {
4041 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
4042 : 0 : tree res = generic_simplify_71 (loc, type, _p0, _p1, captures);
4043 : 0 : if (res) return res;
4044 : : }
4045 : : }
4046 : : }
4047 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
4048 : : {
4049 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
4050 : : {
4051 : 0 : {
4052 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
4053 : 0 : tree res = generic_simplify_71 (loc, type, _p0, _p1, captures);
4054 : 0 : if (res) return res;
4055 : : }
4056 : : }
4057 : : }
4058 : : break;
4059 : : }
4060 : : default:;
4061 : : }
4062 : : break;
4063 : : }
4064 : 26 : case EQ_EXPR:
4065 : 26 : {
4066 : 26 : tree _q50 = TREE_OPERAND (_p1, 0);
4067 : 26 : tree _q51 = TREE_OPERAND (_p1, 1);
4068 : 26 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
4069 : : {
4070 : 8 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4071 : : {
4072 : 8 : {
4073 : 8 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
4074 : 8 : tree res = generic_simplify_72 (loc, type, _p0, _p1, captures);
4075 : 8 : if (res) return res;
4076 : : }
4077 : : }
4078 : : }
4079 : 26 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
4080 : : {
4081 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
4082 : : {
4083 : 0 : {
4084 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
4085 : 0 : tree res = generic_simplify_72 (loc, type, _p0, _p1, captures);
4086 : 0 : if (res) return res;
4087 : : }
4088 : : }
4089 : : }
4090 : : break;
4091 : : }
4092 : 108092 : default:;
4093 : : }
4094 : 108092 : {
4095 : 108092 : tree _p1_pops[1];
4096 : 108092 : if (tree_nop_convert (_p1, _p1_pops))
4097 : : {
4098 : 242 : tree _q50 = _p1_pops[0];
4099 : 242 : switch (TREE_CODE (_q50))
4100 : : {
4101 : 0 : case EQ_EXPR:
4102 : 0 : {
4103 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
4104 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
4105 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
4106 : : {
4107 : 0 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
4108 : : {
4109 : 0 : {
4110 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
4111 : 0 : tree res = generic_simplify_72 (loc, type, _p0, _p1, captures);
4112 : 0 : if (res) return res;
4113 : : }
4114 : : }
4115 : : }
4116 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
4117 : : {
4118 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
4119 : : {
4120 : 0 : {
4121 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
4122 : 0 : tree res = generic_simplify_72 (loc, type, _p0, _p1, captures);
4123 : 0 : if (res) return res;
4124 : : }
4125 : : }
4126 : : }
4127 : : break;
4128 : : }
4129 : : default:;
4130 : : }
4131 : : }
4132 : : }
4133 : 108092 : break;
4134 : : }
4135 : 2276 : case BIT_XOR_EXPR:
4136 : 2276 : {
4137 : 2276 : tree _q20 = TREE_OPERAND (_p0, 0);
4138 : 2276 : tree _q21 = TREE_OPERAND (_p0, 1);
4139 : 2276 : switch (TREE_CODE (_p1))
4140 : : {
4141 : 0 : case BIT_IOR_EXPR:
4142 : 0 : {
4143 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
4144 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
4145 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
4146 : : {
4147 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4148 : : {
4149 : 0 : {
4150 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
4151 : 0 : tree res = generic_simplify_70 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4152 : 0 : if (res) return res;
4153 : : }
4154 : : }
4155 : : }
4156 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
4157 : : {
4158 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
4159 : : {
4160 : 0 : {
4161 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q21, _q20 };
4162 : 0 : tree res = generic_simplify_70 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
4163 : 0 : if (res) return res;
4164 : : }
4165 : : }
4166 : : }
4167 : : break;
4168 : : }
4169 : 2 : case BIT_XOR_EXPR:
4170 : 2 : {
4171 : 2 : tree _q50 = TREE_OPERAND (_p1, 0);
4172 : 2 : tree _q51 = TREE_OPERAND (_p1, 1);
4173 : 2 : switch (TREE_CODE (_q50))
4174 : : {
4175 : 2 : case BIT_XOR_EXPR:
4176 : 2 : {
4177 : 2 : tree _q60 = TREE_OPERAND (_q50, 0);
4178 : 2 : tree _q61 = TREE_OPERAND (_q50, 1);
4179 : 2 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
4180 : : {
4181 : 1 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
4182 : : {
4183 : 1 : {
4184 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q61 };
4185 : 1 : tree res = generic_simplify_73 (loc, type, _p0, _p1, captures);
4186 : 1 : if (res) return res;
4187 : : }
4188 : : }
4189 : : }
4190 : 1 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
4191 : : {
4192 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
4193 : : {
4194 : 0 : {
4195 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q60 };
4196 : 0 : tree res = generic_simplify_73 (loc, type, _p0, _p1, captures);
4197 : 0 : if (res) return res;
4198 : : }
4199 : : }
4200 : : }
4201 : 1 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
4202 : : {
4203 : 1 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4204 : : {
4205 : 1 : {
4206 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _q61 };
4207 : 1 : tree res = generic_simplify_73 (loc, type, _p0, _p1, captures);
4208 : 1 : if (res) return res;
4209 : : }
4210 : : }
4211 : : }
4212 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
4213 : : {
4214 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4215 : : {
4216 : 0 : {
4217 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _q60 };
4218 : 0 : tree res = generic_simplify_73 (loc, type, _p0, _p1, captures);
4219 : 0 : if (res) return res;
4220 : : }
4221 : : }
4222 : : }
4223 : : break;
4224 : : }
4225 : 0 : default:;
4226 : : }
4227 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
4228 : : {
4229 : 0 : switch (TREE_CODE (_q51))
4230 : : {
4231 : 0 : case BIT_XOR_EXPR:
4232 : 0 : {
4233 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
4234 : 0 : tree _q71 = TREE_OPERAND (_q51, 1);
4235 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
4236 : : {
4237 : 0 : {
4238 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q71 };
4239 : 0 : tree res = generic_simplify_73 (loc, type, _p0, _p1, captures);
4240 : 0 : if (res) return res;
4241 : : }
4242 : : }
4243 : 0 : if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
4244 : : {
4245 : 0 : {
4246 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q70 };
4247 : 0 : tree res = generic_simplify_73 (loc, type, _p0, _p1, captures);
4248 : 0 : if (res) return res;
4249 : : }
4250 : : }
4251 : : break;
4252 : : }
4253 : : default:;
4254 : : }
4255 : : }
4256 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
4257 : : {
4258 : 0 : switch (TREE_CODE (_q51))
4259 : : {
4260 : 0 : case BIT_XOR_EXPR:
4261 : 0 : {
4262 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
4263 : 0 : tree _q71 = TREE_OPERAND (_q51, 1);
4264 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
4265 : : {
4266 : 0 : {
4267 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _q71 };
4268 : 0 : tree res = generic_simplify_73 (loc, type, _p0, _p1, captures);
4269 : 0 : if (res) return res;
4270 : : }
4271 : : }
4272 : 0 : if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
4273 : : {
4274 : 0 : {
4275 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _q70 };
4276 : 0 : tree res = generic_simplify_73 (loc, type, _p0, _p1, captures);
4277 : 0 : if (res) return res;
4278 : : }
4279 : : }
4280 : : break;
4281 : : }
4282 : : default:;
4283 : : }
4284 : : }
4285 : : break;
4286 : : }
4287 : 2274 : default:;
4288 : : }
4289 : 2274 : switch (TREE_CODE (_q20))
4290 : : {
4291 : 0 : case BIT_XOR_EXPR:
4292 : 0 : {
4293 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
4294 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
4295 : 0 : switch (TREE_CODE (_p1))
4296 : : {
4297 : 0 : case BIT_XOR_EXPR:
4298 : 0 : {
4299 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
4300 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
4301 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
4302 : : {
4303 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
4304 : : {
4305 : 0 : {
4306 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q21, _q30, _q31 };
4307 : 0 : tree res = generic_simplify_74 (loc, type, _p0, _p1, captures);
4308 : 0 : if (res) return res;
4309 : : }
4310 : : }
4311 : 0 : if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
4312 : : {
4313 : 0 : {
4314 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q21, _q31, _q30 };
4315 : 0 : tree res = generic_simplify_74 (loc, type, _p0, _p1, captures);
4316 : 0 : if (res) return res;
4317 : : }
4318 : : }
4319 : : }
4320 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
4321 : : {
4322 : 0 : if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
4323 : : {
4324 : 0 : {
4325 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q21, _q30, _q31 };
4326 : 0 : tree res = generic_simplify_74 (loc, type, _p0, _p1, captures);
4327 : 0 : if (res) return res;
4328 : : }
4329 : : }
4330 : : }
4331 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
4332 : : {
4333 : 0 : if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
4334 : : {
4335 : 0 : {
4336 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q21, _q31, _q30 };
4337 : 0 : tree res = generic_simplify_74 (loc, type, _p0, _p1, captures);
4338 : 0 : if (res) return res;
4339 : : }
4340 : : }
4341 : : }
4342 : : break;
4343 : : }
4344 : : default:;
4345 : : }
4346 : : break;
4347 : : }
4348 : 2274 : default:;
4349 : : }
4350 : 2274 : switch (TREE_CODE (_q21))
4351 : : {
4352 : 0 : case BIT_XOR_EXPR:
4353 : 0 : {
4354 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
4355 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
4356 : 0 : switch (TREE_CODE (_p1))
4357 : : {
4358 : 0 : case BIT_XOR_EXPR:
4359 : 0 : {
4360 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
4361 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
4362 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
4363 : : {
4364 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
4365 : : {
4366 : 0 : {
4367 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _q40, _q41 };
4368 : 0 : tree res = generic_simplify_74 (loc, type, _p0, _p1, captures);
4369 : 0 : if (res) return res;
4370 : : }
4371 : : }
4372 : 0 : if ((_q71 == _q41 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q41, 0) && types_match (_q71, _q41)))
4373 : : {
4374 : 0 : {
4375 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _q41, _q40 };
4376 : 0 : tree res = generic_simplify_74 (loc, type, _p0, _p1, captures);
4377 : 0 : if (res) return res;
4378 : : }
4379 : : }
4380 : : }
4381 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
4382 : : {
4383 : 0 : if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
4384 : : {
4385 : 0 : {
4386 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _q40, _q41 };
4387 : 0 : tree res = generic_simplify_74 (loc, type, _p0, _p1, captures);
4388 : 0 : if (res) return res;
4389 : : }
4390 : : }
4391 : : }
4392 : 0 : if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
4393 : : {
4394 : 0 : if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
4395 : : {
4396 : 0 : {
4397 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _q41, _q40 };
4398 : 0 : tree res = generic_simplify_74 (loc, type, _p0, _p1, captures);
4399 : 0 : if (res) return res;
4400 : : }
4401 : : }
4402 : : }
4403 : : break;
4404 : : }
4405 : : default:;
4406 : : }
4407 : : break;
4408 : : }
4409 : : default:;
4410 : : }
4411 : : break;
4412 : : }
4413 : 20603 : case BIT_NOT_EXPR:
4414 : 20603 : {
4415 : 20603 : tree _q20 = TREE_OPERAND (_p0, 0);
4416 : 20603 : switch (TREE_CODE (_q20))
4417 : : {
4418 : 24 : case BIT_XOR_EXPR:
4419 : 24 : {
4420 : 24 : tree _q30 = TREE_OPERAND (_q20, 0);
4421 : 24 : tree _q31 = TREE_OPERAND (_q20, 1);
4422 : 24 : switch (TREE_CODE (_p1))
4423 : : {
4424 : 8 : case BIT_AND_EXPR:
4425 : 8 : {
4426 : 8 : tree _q60 = TREE_OPERAND (_p1, 0);
4427 : 8 : tree _q61 = TREE_OPERAND (_p1, 1);
4428 : 8 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
4429 : : {
4430 : 0 : if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
4431 : : {
4432 : 0 : {
4433 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
4434 : 0 : tree res = generic_simplify_75 (loc, type, _p0, _p1, captures);
4435 : 0 : if (res) return res;
4436 : : }
4437 : : }
4438 : : }
4439 : 8 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
4440 : : {
4441 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
4442 : : {
4443 : 0 : {
4444 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
4445 : 0 : tree res = generic_simplify_75 (loc, type, _p0, _p1, captures);
4446 : 0 : if (res) return res;
4447 : : }
4448 : : }
4449 : : }
4450 : : break;
4451 : : }
4452 : : default:;
4453 : : }
4454 : : break;
4455 : : }
4456 : : default:;
4457 : : }
4458 : : break;
4459 : : }
4460 : 532 : case EQ_EXPR:
4461 : 532 : {
4462 : 532 : tree _q20 = TREE_OPERAND (_p0, 0);
4463 : 532 : tree _q21 = TREE_OPERAND (_p0, 1);
4464 : 532 : switch (TREE_CODE (_p1))
4465 : : {
4466 : 10 : case BIT_AND_EXPR:
4467 : 10 : {
4468 : 10 : tree _q50 = TREE_OPERAND (_p1, 0);
4469 : 10 : tree _q51 = TREE_OPERAND (_p1, 1);
4470 : 10 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
4471 : : {
4472 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
4473 : : {
4474 : 0 : {
4475 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p0 };
4476 : 0 : tree res = generic_simplify_76 (loc, type, _p0, _p1, captures);
4477 : 0 : if (res) return res;
4478 : : }
4479 : : }
4480 : : }
4481 : 10 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
4482 : : {
4483 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
4484 : : {
4485 : 0 : {
4486 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p0 };
4487 : 0 : tree res = generic_simplify_76 (loc, type, _p0, _p1, captures);
4488 : 0 : if (res) return res;
4489 : : }
4490 : : }
4491 : : }
4492 : : break;
4493 : : }
4494 : : default:;
4495 : : }
4496 : : break;
4497 : : }
4498 : 1611973 : default:;
4499 : : }
4500 : 1611973 : {
4501 : 1611973 : tree _p0_pops[1];
4502 : 1611973 : if (tree_nop_convert (_p0, _p0_pops))
4503 : : {
4504 : 489922 : tree _q20 = _p0_pops[0];
4505 : 489922 : switch (TREE_CODE (_q20))
4506 : : {
4507 : 0 : case EQ_EXPR:
4508 : 0 : {
4509 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
4510 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
4511 : 0 : switch (TREE_CODE (_p1))
4512 : : {
4513 : 0 : case BIT_AND_EXPR:
4514 : 0 : {
4515 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
4516 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
4517 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
4518 : : {
4519 : 0 : if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
4520 : : {
4521 : 0 : {
4522 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
4523 : 0 : tree res = generic_simplify_76 (loc, type, _p0, _p1, captures);
4524 : 0 : if (res) return res;
4525 : : }
4526 : : }
4527 : : }
4528 : 0 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
4529 : : {
4530 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
4531 : : {
4532 : 0 : {
4533 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
4534 : 0 : tree res = generic_simplify_76 (loc, type, _p0, _p1, captures);
4535 : 0 : if (res) return res;
4536 : : }
4537 : : }
4538 : : }
4539 : : break;
4540 : : }
4541 : : default:;
4542 : : }
4543 : : break;
4544 : : }
4545 : : default:;
4546 : : }
4547 : : }
4548 : : }
4549 : 1611973 : if (integer_all_onesp (_p1))
4550 : : {
4551 : 91 : {
4552 : 91 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
4553 : 91 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1125;
4554 : 91 : {
4555 : 91 : tree _r;
4556 : 91 : _r = captures[1];
4557 : 91 : if (TREE_SIDE_EFFECTS (captures[0]))
4558 : 0 : _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
4559 : 91 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 832, __FILE__, __LINE__, true);
4560 : 91 : return _r;
4561 : : }
4562 : 0 : next_after_fail1125:;
4563 : : }
4564 : : }
4565 : 1611882 : if (integer_zerop (_p1))
4566 : : {
4567 : 0 : {
4568 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
4569 : 0 : if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1126;
4570 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1126;
4571 : 0 : {
4572 : 0 : tree _r;
4573 : 0 : _r = captures[0];
4574 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 833, __FILE__, __LINE__, true);
4575 : 0 : return _r;
4576 : : }
4577 : : next_after_fail1126:;
4578 : : }
4579 : : }
4580 : 1611882 : switch (TREE_CODE (_p0))
4581 : : {
4582 : 490910 : CASE_CONVERT:
4583 : 490910 : {
4584 : 490910 : tree _q20 = TREE_OPERAND (_p0, 0);
4585 : 490910 : switch (TREE_CODE (_p1))
4586 : : {
4587 : 468996 : CASE_CONVERT:
4588 : 468996 : {
4589 : 468996 : tree _q40 = TREE_OPERAND (_p1, 0);
4590 : 468996 : {
4591 : 468996 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
4592 : 468996 : tree res = generic_simplify_77 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4593 : 468996 : if (res) return res;
4594 : : }
4595 : 468993 : break;
4596 : : }
4597 : 490907 : default:;
4598 : : }
4599 : 490907 : switch (TREE_CODE (_q20))
4600 : : {
4601 : 78 : case BIT_NOT_EXPR:
4602 : 78 : {
4603 : 78 : tree _q30 = TREE_OPERAND (_q20, 0);
4604 : 78 : switch (TREE_CODE (_p1))
4605 : : {
4606 : 8 : CASE_CONVERT:
4607 : 8 : {
4608 : 8 : tree _q50 = TREE_OPERAND (_p1, 0);
4609 : 8 : switch (TREE_CODE (_q50))
4610 : : {
4611 : 0 : case BIT_NOT_EXPR:
4612 : 0 : {
4613 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
4614 : 0 : {
4615 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q60 };
4616 : 0 : tree res = generic_simplify_78 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
4617 : 0 : if (res) return res;
4618 : : }
4619 : 0 : break;
4620 : : }
4621 : : default:;
4622 : : }
4623 : : break;
4624 : : }
4625 : 38 : case BIT_NOT_EXPR:
4626 : 38 : {
4627 : 38 : tree _q50 = TREE_OPERAND (_p1, 0);
4628 : 38 : {
4629 : 38 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q50 };
4630 : 38 : tree res = generic_simplify_78 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
4631 : 38 : if (res) return res;
4632 : : }
4633 : 38 : break;
4634 : : }
4635 : : default:;
4636 : : }
4637 : : break;
4638 : : }
4639 : 124 : case BIT_AND_EXPR:
4640 : 124 : {
4641 : 124 : tree _q30 = TREE_OPERAND (_q20, 0);
4642 : 124 : tree _q31 = TREE_OPERAND (_q20, 1);
4643 : 124 : switch (TREE_CODE (_p1))
4644 : : {
4645 : 6 : CASE_CONVERT:
4646 : 6 : {
4647 : 6 : tree _q60 = TREE_OPERAND (_p1, 0);
4648 : 6 : switch (TREE_CODE (_q60))
4649 : : {
4650 : 0 : case BIT_AND_EXPR:
4651 : 0 : {
4652 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
4653 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
4654 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || operand_equal_p (_q70, _q30, 0))
4655 : : {
4656 : 0 : {
4657 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q71, _q30 };
4658 : 0 : tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
4659 : 0 : if (res) return res;
4660 : : }
4661 : : }
4662 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || operand_equal_p (_q71, _q30, 0))
4663 : : {
4664 : 0 : {
4665 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q70, _q30 };
4666 : 0 : tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
4667 : 0 : if (res) return res;
4668 : : }
4669 : : }
4670 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || operand_equal_p (_q70, _q31, 0))
4671 : : {
4672 : 0 : {
4673 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q71, _q31 };
4674 : 0 : tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
4675 : 0 : if (res) return res;
4676 : : }
4677 : : }
4678 : 0 : if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || operand_equal_p (_q71, _q31, 0))
4679 : : {
4680 : 0 : {
4681 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q70, _q31 };
4682 : 0 : tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
4683 : 0 : if (res) return res;
4684 : : }
4685 : : }
4686 : : break;
4687 : : }
4688 : : default:;
4689 : : }
4690 : : break;
4691 : : }
4692 : : default:;
4693 : : }
4694 : : break;
4695 : : }
4696 : 100 : case BIT_IOR_EXPR:
4697 : 100 : {
4698 : 100 : tree _q30 = TREE_OPERAND (_q20, 0);
4699 : 100 : tree _q31 = TREE_OPERAND (_q20, 1);
4700 : 100 : switch (TREE_CODE (_p1))
4701 : : {
4702 : 4 : CASE_CONVERT:
4703 : 4 : {
4704 : 4 : tree _q60 = TREE_OPERAND (_p1, 0);
4705 : 4 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q31, 0))
4706 : : {
4707 : 0 : {
4708 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _q31 };
4709 : 0 : tree res = generic_simplify_69 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4710 : 0 : if (res) return res;
4711 : : }
4712 : : }
4713 : 4 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q30, 0))
4714 : : {
4715 : 0 : {
4716 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q31, _q30, _q30 };
4717 : 0 : tree res = generic_simplify_69 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4718 : 0 : if (res) return res;
4719 : : }
4720 : : }
4721 : : break;
4722 : : }
4723 : 100 : default:;
4724 : : }
4725 : 100 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q31, 0))
4726 : : {
4727 : 0 : {
4728 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _q31 };
4729 : 0 : tree res = generic_simplify_69 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4730 : 0 : if (res) return res;
4731 : : }
4732 : : }
4733 : 100 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q30, 0))
4734 : : {
4735 : 0 : {
4736 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q31, _q30, _q30 };
4737 : 0 : tree res = generic_simplify_69 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4738 : 0 : if (res) return res;
4739 : : }
4740 : : }
4741 : : break;
4742 : : }
4743 : 490907 : default:;
4744 : : }
4745 : 490907 : switch (TREE_CODE (_p1))
4746 : : {
4747 : 468993 : CASE_CONVERT:
4748 : 468993 : {
4749 : 468993 : tree _q40 = TREE_OPERAND (_p1, 0);
4750 : 468993 : switch (TREE_CODE (_q40))
4751 : : {
4752 : 0 : case BIT_IOR_EXPR:
4753 : 0 : {
4754 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
4755 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
4756 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
4757 : : {
4758 : 0 : {
4759 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q50, _q51, _q20 };
4760 : 0 : tree res = generic_simplify_80 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4761 : 0 : if (res) return res;
4762 : : }
4763 : : }
4764 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
4765 : : {
4766 : 0 : {
4767 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q51, _q50, _q20 };
4768 : 0 : tree res = generic_simplify_80 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4769 : 0 : if (res) return res;
4770 : : }
4771 : : }
4772 : : break;
4773 : : }
4774 : : default:;
4775 : : }
4776 : : break;
4777 : : }
4778 : 8 : case BIT_IOR_EXPR:
4779 : 8 : {
4780 : 8 : tree _q40 = TREE_OPERAND (_p1, 0);
4781 : 8 : tree _q41 = TREE_OPERAND (_p1, 1);
4782 : 8 : if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _q20, 0))
4783 : : {
4784 : 0 : {
4785 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _q20 };
4786 : 0 : tree res = generic_simplify_80 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4787 : 0 : if (res) return res;
4788 : : }
4789 : : }
4790 : 8 : if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _q20, 0))
4791 : : {
4792 : 0 : {
4793 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q41, _q40, _q20 };
4794 : 0 : tree res = generic_simplify_80 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4795 : 0 : if (res) return res;
4796 : : }
4797 : : }
4798 : : break;
4799 : : }
4800 : : default:;
4801 : : }
4802 : : break;
4803 : : }
4804 : 1611879 : default:;
4805 : : }
4806 : 1611879 : {
4807 : 1611879 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
4808 : 1611879 : tree res = generic_simplify_77 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4809 : 1611879 : if (res) return res;
4810 : : }
4811 : 1611856 : if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
4812 : : {
4813 : 130 : {
4814 : 130 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
4815 : 130 : tree res = generic_simplify_81 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4816 : 130 : if (res) return res;
4817 : : }
4818 : : }
4819 : 1611726 : switch (TREE_CODE (_p1))
4820 : : {
4821 : 289 : case BIT_NOT_EXPR:
4822 : 289 : {
4823 : 289 : tree _q30 = TREE_OPERAND (_p1, 0);
4824 : 289 : switch (TREE_CODE (_q30))
4825 : : {
4826 : 33 : case BIT_IOR_EXPR:
4827 : 33 : {
4828 : 33 : tree _q40 = TREE_OPERAND (_q30, 0);
4829 : 33 : tree _q41 = TREE_OPERAND (_q30, 1);
4830 : 33 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
4831 : : {
4832 : 0 : {
4833 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q41 };
4834 : 0 : tree res = generic_simplify_82 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4835 : 0 : if (res) return res;
4836 : : }
4837 : : }
4838 : 33 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
4839 : : {
4840 : 0 : {
4841 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q40 };
4842 : 0 : tree res = generic_simplify_82 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4843 : 0 : if (res) return res;
4844 : : }
4845 : : }
4846 : : break;
4847 : : }
4848 : : default:;
4849 : : }
4850 : : break;
4851 : : }
4852 : 1611726 : default:;
4853 : : }
4854 : 1611726 : switch (TREE_CODE (_p0))
4855 : : {
4856 : 20592 : case BIT_NOT_EXPR:
4857 : 20592 : {
4858 : 20592 : tree _q20 = TREE_OPERAND (_p0, 0);
4859 : 20592 : switch (TREE_CODE (_q20))
4860 : : {
4861 : 11 : case BIT_IOR_EXPR:
4862 : 11 : {
4863 : 11 : tree _q30 = TREE_OPERAND (_q20, 0);
4864 : 11 : tree _q31 = TREE_OPERAND (_q20, 1);
4865 : 11 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
4866 : : {
4867 : 5 : {
4868 : 5 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q20, _q31 };
4869 : 5 : tree res = generic_simplify_82 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4870 : 5 : if (res) return res;
4871 : : }
4872 : : }
4873 : 6 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
4874 : : {
4875 : 3 : {
4876 : 3 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q20, _q30 };
4877 : 3 : tree res = generic_simplify_82 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
4878 : 3 : if (res) return res;
4879 : : }
4880 : : }
4881 : 3 : switch (TREE_CODE (_p1))
4882 : : {
4883 : 2 : case BIT_AND_EXPR:
4884 : 2 : {
4885 : 2 : tree _q60 = TREE_OPERAND (_p1, 0);
4886 : 2 : tree _q61 = TREE_OPERAND (_p1, 1);
4887 : 2 : switch (TREE_CODE (_q60))
4888 : : {
4889 : 1 : case BIT_NOT_EXPR:
4890 : 1 : {
4891 : 1 : tree _q70 = TREE_OPERAND (_q60, 0);
4892 : 1 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
4893 : : {
4894 : 1 : if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
4895 : : {
4896 : 1 : {
4897 : 1 : tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q30, _q31 };
4898 : 1 : tree res = generic_simplify_83 (loc, type, _p0, _p1, captures);
4899 : 1 : if (res) return res;
4900 : : }
4901 : : }
4902 : : }
4903 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
4904 : : {
4905 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
4906 : : {
4907 : 0 : {
4908 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q31, _q30 };
4909 : 0 : tree res = generic_simplify_83 (loc, type, _p0, _p1, captures);
4910 : 0 : if (res) return res;
4911 : : }
4912 : : }
4913 : : }
4914 : : break;
4915 : : }
4916 : 1 : default:;
4917 : : }
4918 : 1 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
4919 : : {
4920 : 0 : switch (TREE_CODE (_q61))
4921 : : {
4922 : 0 : case BIT_NOT_EXPR:
4923 : 0 : {
4924 : 0 : tree _q80 = TREE_OPERAND (_q61, 0);
4925 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
4926 : : {
4927 : 0 : {
4928 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q61, _q30, _q31 };
4929 : 0 : tree res = generic_simplify_83 (loc, type, _p0, _p1, captures);
4930 : 0 : if (res) return res;
4931 : : }
4932 : : }
4933 : : break;
4934 : : }
4935 : : default:;
4936 : : }
4937 : : }
4938 : 1 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
4939 : : {
4940 : 1 : switch (TREE_CODE (_q61))
4941 : : {
4942 : 0 : case BIT_NOT_EXPR:
4943 : 0 : {
4944 : 0 : tree _q80 = TREE_OPERAND (_q61, 0);
4945 : 0 : if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
4946 : : {
4947 : 0 : {
4948 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q61, _q31, _q30 };
4949 : 0 : tree res = generic_simplify_83 (loc, type, _p0, _p1, captures);
4950 : 0 : if (res) return res;
4951 : : }
4952 : : }
4953 : : break;
4954 : : }
4955 : 1 : default:;
4956 : : }
4957 : 1 : if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
4958 : : {
4959 : 1 : {
4960 : 1 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q30, _q31, _p0, _q20 };
4961 : 1 : tree res = generic_simplify_84 (loc, type, _p0, _p1, captures);
4962 : 1 : if (res) return res;
4963 : : }
4964 : : }
4965 : : }
4966 : : break;
4967 : : }
4968 : 0 : case BIT_XOR_EXPR:
4969 : 0 : {
4970 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
4971 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
4972 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
4973 : : {
4974 : 0 : if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
4975 : : {
4976 : 0 : {
4977 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q30, _q31, _p0, _q20 };
4978 : 0 : tree res = generic_simplify_85 (loc, type, _p0, _p1, captures);
4979 : 0 : if (res) return res;
4980 : : }
4981 : : }
4982 : : }
4983 : : break;
4984 : : }
4985 : : default:;
4986 : : }
4987 : : break;
4988 : : }
4989 : 20582 : default:;
4990 : : }
4991 : 20582 : switch (TREE_CODE (_p1))
4992 : : {
4993 : 84 : CASE_CONVERT:
4994 : 84 : {
4995 : 84 : tree _q40 = TREE_OPERAND (_p1, 0);
4996 : 84 : switch (TREE_CODE (_q40))
4997 : : {
4998 : 0 : case BIT_NOT_EXPR:
4999 : 0 : {
5000 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
5001 : 0 : {
5002 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
5003 : 0 : tree res = generic_simplify_78 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5004 : 0 : if (res) return res;
5005 : : }
5006 : 0 : break;
5007 : : }
5008 : : default:;
5009 : : }
5010 : : break;
5011 : : }
5012 : 16 : case BIT_NOT_EXPR:
5013 : 16 : {
5014 : 16 : tree _q40 = TREE_OPERAND (_p1, 0);
5015 : 16 : {
5016 : 16 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
5017 : 16 : tree res = generic_simplify_78 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5018 : 16 : if (res) return res;
5019 : : }
5020 : 0 : break;
5021 : : }
5022 : : default:;
5023 : : }
5024 : : break;
5025 : : }
5026 : 108092 : case BIT_AND_EXPR:
5027 : 108092 : {
5028 : 108092 : tree _q20 = TREE_OPERAND (_p0, 0);
5029 : 108092 : tree _q21 = TREE_OPERAND (_p0, 1);
5030 : 108092 : switch (TREE_CODE (_q20))
5031 : : {
5032 : 186 : case BIT_NOT_EXPR:
5033 : 186 : {
5034 : 186 : tree _q30 = TREE_OPERAND (_q20, 0);
5035 : 186 : switch (TREE_CODE (_p1))
5036 : : {
5037 : 0 : case BIT_NOT_EXPR:
5038 : 0 : {
5039 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
5040 : 0 : switch (TREE_CODE (_q60))
5041 : : {
5042 : 0 : case BIT_IOR_EXPR:
5043 : 0 : {
5044 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
5045 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
5046 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
5047 : : {
5048 : 0 : if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
5049 : : {
5050 : 0 : {
5051 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q21 };
5052 : 0 : tree res = generic_simplify_86 (loc, type, _p0, _p1, captures);
5053 : 0 : if (res) return res;
5054 : : }
5055 : : }
5056 : : }
5057 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
5058 : : {
5059 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
5060 : : {
5061 : 0 : {
5062 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q21 };
5063 : 0 : tree res = generic_simplify_86 (loc, type, _p0, _p1, captures);
5064 : 0 : if (res) return res;
5065 : : }
5066 : : }
5067 : : }
5068 : : break;
5069 : : }
5070 : : default:;
5071 : : }
5072 : : break;
5073 : : }
5074 : : default:;
5075 : : }
5076 : : break;
5077 : : }
5078 : 108092 : default:;
5079 : : }
5080 : 108092 : switch (TREE_CODE (_q21))
5081 : : {
5082 : 75 : case BIT_NOT_EXPR:
5083 : 75 : {
5084 : 75 : tree _q40 = TREE_OPERAND (_q21, 0);
5085 : 75 : switch (TREE_CODE (_p1))
5086 : : {
5087 : 0 : case BIT_NOT_EXPR:
5088 : 0 : {
5089 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
5090 : 0 : switch (TREE_CODE (_q60))
5091 : : {
5092 : 0 : case BIT_IOR_EXPR:
5093 : 0 : {
5094 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
5095 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
5096 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
5097 : : {
5098 : 0 : if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
5099 : : {
5100 : 0 : {
5101 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q40, _q20 };
5102 : 0 : tree res = generic_simplify_86 (loc, type, _p0, _p1, captures);
5103 : 0 : if (res) return res;
5104 : : }
5105 : : }
5106 : : }
5107 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
5108 : : {
5109 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
5110 : : {
5111 : 0 : {
5112 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q40, _q20 };
5113 : 0 : tree res = generic_simplify_86 (loc, type, _p0, _p1, captures);
5114 : 0 : if (res) return res;
5115 : : }
5116 : : }
5117 : : }
5118 : : break;
5119 : : }
5120 : : default:;
5121 : : }
5122 : : break;
5123 : : }
5124 : : default:;
5125 : : }
5126 : : break;
5127 : : }
5128 : 108092 : default:;
5129 : : }
5130 : 108092 : switch (TREE_CODE (_p1))
5131 : : {
5132 : 1 : case BIT_NOT_EXPR:
5133 : 1 : {
5134 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
5135 : 1 : switch (TREE_CODE (_q50))
5136 : : {
5137 : 0 : case BIT_IOR_EXPR:
5138 : 0 : {
5139 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
5140 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
5141 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
5142 : : {
5143 : 0 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
5144 : : {
5145 : 0 : {
5146 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
5147 : 0 : tree res = generic_simplify_84 (loc, type, _p0, _p1, captures);
5148 : 0 : if (res) return res;
5149 : : }
5150 : : }
5151 : : }
5152 : : break;
5153 : : }
5154 : : default:;
5155 : : }
5156 : : break;
5157 : : }
5158 : 10 : case BIT_XOR_EXPR:
5159 : 10 : {
5160 : 10 : tree _q50 = TREE_OPERAND (_p1, 0);
5161 : 10 : tree _q51 = TREE_OPERAND (_p1, 1);
5162 : 10 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5163 : : {
5164 : 10 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5165 : : {
5166 : 0 : {
5167 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
5168 : 0 : tree res = generic_simplify_8 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5169 : 0 : if (res) return res;
5170 : : }
5171 : : }
5172 : : }
5173 : : break;
5174 : : }
5175 : 16383 : case BIT_AND_EXPR:
5176 : 16383 : {
5177 : 16383 : tree _q50 = TREE_OPERAND (_p1, 0);
5178 : 16383 : tree _q51 = TREE_OPERAND (_p1, 1);
5179 : 16383 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
5180 : : {
5181 : 159 : {
5182 : 159 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q20 };
5183 : 159 : tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5184 : 159 : if (res) return res;
5185 : : }
5186 : : }
5187 : 16224 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
5188 : : {
5189 : 0 : {
5190 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q20 };
5191 : 0 : tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5192 : 0 : if (res) return res;
5193 : : }
5194 : : }
5195 : 16224 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
5196 : : {
5197 : 0 : {
5198 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q21 };
5199 : 0 : tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5200 : 0 : if (res) return res;
5201 : : }
5202 : : }
5203 : 16224 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q21, 0))
5204 : : {
5205 : 9 : {
5206 : 9 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q21 };
5207 : 9 : tree res = generic_simplify_79 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5208 : 9 : if (res) return res;
5209 : : }
5210 : : }
5211 : : break;
5212 : : }
5213 : : default:;
5214 : : }
5215 : : break;
5216 : : }
5217 : 2274 : case BIT_XOR_EXPR:
5218 : 2274 : {
5219 : 2274 : tree _q20 = TREE_OPERAND (_p0, 0);
5220 : 2274 : tree _q21 = TREE_OPERAND (_p0, 1);
5221 : 2274 : switch (TREE_CODE (_p1))
5222 : : {
5223 : 9 : case BIT_NOT_EXPR:
5224 : 9 : {
5225 : 9 : tree _q50 = TREE_OPERAND (_p1, 0);
5226 : 9 : switch (TREE_CODE (_q50))
5227 : : {
5228 : 1 : case BIT_IOR_EXPR:
5229 : 1 : {
5230 : 1 : tree _q60 = TREE_OPERAND (_q50, 0);
5231 : 1 : tree _q61 = TREE_OPERAND (_q50, 1);
5232 : 1 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
5233 : : {
5234 : 1 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
5235 : : {
5236 : 1 : {
5237 : 1 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
5238 : 1 : tree res = generic_simplify_85 (loc, type, _p0, _p1, captures);
5239 : 1 : if (res) return res;
5240 : : }
5241 : : }
5242 : : }
5243 : : break;
5244 : : }
5245 : : default:;
5246 : : }
5247 : : break;
5248 : : }
5249 : 24 : case BIT_AND_EXPR:
5250 : 24 : {
5251 : 24 : tree _q50 = TREE_OPERAND (_p1, 0);
5252 : 24 : tree _q51 = TREE_OPERAND (_p1, 1);
5253 : 24 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5254 : : {
5255 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5256 : : {
5257 : 0 : {
5258 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
5259 : 0 : tree res = generic_simplify_8 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5260 : 0 : if (res) return res;
5261 : : }
5262 : : }
5263 : : }
5264 : : break;
5265 : : }
5266 : : default:;
5267 : : }
5268 : : break;
5269 : : }
5270 : 1611531 : default:;
5271 : : }
5272 : 1611531 : switch (TREE_CODE (_p1))
5273 : : {
5274 : 767641 : CASE_CONVERT:
5275 : 767641 : {
5276 : 767641 : tree _q30 = TREE_OPERAND (_p1, 0);
5277 : 767641 : switch (TREE_CODE (_q30))
5278 : : {
5279 : 28 : case BIT_IOR_EXPR:
5280 : 28 : {
5281 : 28 : tree _q40 = TREE_OPERAND (_q30, 0);
5282 : 28 : tree _q41 = TREE_OPERAND (_q30, 1);
5283 : 28 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _p0, 0))
5284 : : {
5285 : 0 : {
5286 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0 };
5287 : 0 : tree res = generic_simplify_80 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5288 : 0 : if (res) return res;
5289 : : }
5290 : : }
5291 : 28 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _p0, 0))
5292 : : {
5293 : 0 : {
5294 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q41, _q40, _p0 };
5295 : 0 : tree res = generic_simplify_80 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5296 : 0 : if (res) return res;
5297 : : }
5298 : : }
5299 : : break;
5300 : : }
5301 : : default:;
5302 : : }
5303 : : break;
5304 : : }
5305 : 487 : case BIT_IOR_EXPR:
5306 : 487 : {
5307 : 487 : tree _q30 = TREE_OPERAND (_p1, 0);
5308 : 487 : tree _q31 = TREE_OPERAND (_p1, 1);
5309 : 487 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || operand_equal_p (_q31, _p0, 0))
5310 : : {
5311 : 0 : {
5312 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q31, _p0 };
5313 : 0 : tree res = generic_simplify_80 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5314 : 0 : if (res) return res;
5315 : : }
5316 : : }
5317 : 487 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || operand_equal_p (_q30, _p0, 0))
5318 : : {
5319 : 0 : {
5320 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q31, _q30, _p0 };
5321 : 0 : tree res = generic_simplify_80 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5322 : 0 : if (res) return res;
5323 : : }
5324 : : }
5325 : : break;
5326 : : }
5327 : 1611531 : default:;
5328 : : }
5329 : 1611531 : switch (TREE_CODE (_p0))
5330 : : {
5331 : 17593 : case BIT_IOR_EXPR:
5332 : 17593 : {
5333 : 17593 : tree _q20 = TREE_OPERAND (_p0, 0);
5334 : 17593 : tree _q21 = TREE_OPERAND (_p0, 1);
5335 : 17593 : {
5336 : 17593 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
5337 : 17593 : tree res = generic_simplify_87 (loc, type, _p0, _p1, captures);
5338 : 17593 : if (res) return res;
5339 : : }
5340 : 17593 : switch (TREE_CODE (_p1))
5341 : : {
5342 : 1903 : CASE_CONVERT:
5343 : 1903 : {
5344 : 1903 : tree _q50 = TREE_OPERAND (_p1, 0);
5345 : 1903 : switch (TREE_CODE (_q50))
5346 : : {
5347 : 0 : case BIT_IOR_EXPR:
5348 : 0 : {
5349 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
5350 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
5351 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
5352 : : {
5353 : 0 : {
5354 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1, _q50, _q61 };
5355 : 0 : tree res = generic_simplify_88 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5356 : 0 : if (res) return res;
5357 : : }
5358 : : }
5359 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
5360 : : {
5361 : 0 : {
5362 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1, _q50, _q60 };
5363 : 0 : tree res = generic_simplify_88 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5364 : 0 : if (res) return res;
5365 : : }
5366 : : }
5367 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
5368 : : {
5369 : 0 : {
5370 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q20, _p1, _q50, _q61 };
5371 : 0 : tree res = generic_simplify_88 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5372 : 0 : if (res) return res;
5373 : : }
5374 : : }
5375 : 0 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
5376 : : {
5377 : 0 : {
5378 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q20, _p1, _q50, _q60 };
5379 : 0 : tree res = generic_simplify_88 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5380 : 0 : if (res) return res;
5381 : : }
5382 : : }
5383 : : break;
5384 : : }
5385 : : default:;
5386 : : }
5387 : : break;
5388 : : }
5389 : 1 : case BIT_IOR_EXPR:
5390 : 1 : {
5391 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
5392 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
5393 : 1 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5394 : : {
5395 : 0 : {
5396 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1, _p1, _q51 };
5397 : 0 : tree res = generic_simplify_89 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5398 : 0 : if (res) return res;
5399 : : }
5400 : : }
5401 : 1 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
5402 : : {
5403 : 0 : {
5404 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1, _p1, _q50 };
5405 : 0 : tree res = generic_simplify_89 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5406 : 0 : if (res) return res;
5407 : : }
5408 : : }
5409 : 1 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
5410 : : {
5411 : 0 : {
5412 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q20, _p1, _p1, _q51 };
5413 : 0 : tree res = generic_simplify_89 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5414 : 0 : if (res) return res;
5415 : : }
5416 : : }
5417 : 1 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5418 : : {
5419 : 0 : {
5420 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q20, _p1, _p1, _q50 };
5421 : 0 : tree res = generic_simplify_89 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5422 : 0 : if (res) return res;
5423 : : }
5424 : : }
5425 : : break;
5426 : : }
5427 : : default:;
5428 : : }
5429 : : break;
5430 : : }
5431 : 1611531 : default:;
5432 : : }
5433 : 1611531 : switch (TREE_CODE (_p1))
5434 : : {
5435 : 487 : case BIT_IOR_EXPR:
5436 : 487 : {
5437 : 487 : tree _q30 = TREE_OPERAND (_p1, 0);
5438 : 487 : tree _q31 = TREE_OPERAND (_p1, 1);
5439 : 487 : {
5440 : 487 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
5441 : 487 : tree res = generic_simplify_87 (loc, type, _p0, _p1, captures);
5442 : 487 : if (res) return res;
5443 : : }
5444 : 487 : break;
5445 : : }
5446 : 1611531 : default:;
5447 : : }
5448 : 1611531 : switch (TREE_CODE (_p0))
5449 : : {
5450 : 490901 : CASE_CONVERT:
5451 : 490901 : {
5452 : 490901 : tree _q20 = TREE_OPERAND (_p0, 0);
5453 : 490901 : switch (TREE_CODE (_q20))
5454 : : {
5455 : 100 : case BIT_IOR_EXPR:
5456 : 100 : {
5457 : 100 : tree _q30 = TREE_OPERAND (_q20, 0);
5458 : 100 : tree _q31 = TREE_OPERAND (_q20, 1);
5459 : 100 : switch (TREE_CODE (_p1))
5460 : : {
5461 : 4 : CASE_CONVERT:
5462 : 4 : {
5463 : 4 : tree _q60 = TREE_OPERAND (_p1, 0);
5464 : 4 : switch (TREE_CODE (_q60))
5465 : : {
5466 : 0 : case BIT_IOR_EXPR:
5467 : 0 : {
5468 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
5469 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
5470 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
5471 : : {
5472 : 0 : {
5473 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60, _q71 };
5474 : 0 : tree res = generic_simplify_90 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5475 : 0 : if (res) return res;
5476 : : }
5477 : : }
5478 : 0 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
5479 : : {
5480 : 0 : {
5481 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60, _q70 };
5482 : 0 : tree res = generic_simplify_90 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5483 : 0 : if (res) return res;
5484 : : }
5485 : : }
5486 : 0 : if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
5487 : : {
5488 : 0 : {
5489 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30, _p1, _q60, _q71 };
5490 : 0 : tree res = generic_simplify_90 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5491 : 0 : if (res) return res;
5492 : : }
5493 : : }
5494 : 0 : if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
5495 : : {
5496 : 0 : {
5497 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30, _p1, _q60, _q70 };
5498 : 0 : tree res = generic_simplify_90 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5499 : 0 : if (res) return res;
5500 : : }
5501 : : }
5502 : : break;
5503 : : }
5504 : : default:;
5505 : : }
5506 : : break;
5507 : : }
5508 : 0 : case BIT_IOR_EXPR:
5509 : 0 : {
5510 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
5511 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
5512 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
5513 : : {
5514 : 0 : {
5515 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _p1, _q61 };
5516 : 0 : tree res = generic_simplify_91 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5517 : 0 : if (res) return res;
5518 : : }
5519 : : }
5520 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
5521 : : {
5522 : 0 : {
5523 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _p1, _q60 };
5524 : 0 : tree res = generic_simplify_91 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5525 : 0 : if (res) return res;
5526 : : }
5527 : : }
5528 : 0 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
5529 : : {
5530 : 0 : {
5531 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30, _p1, _p1, _q61 };
5532 : 0 : tree res = generic_simplify_91 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5533 : 0 : if (res) return res;
5534 : : }
5535 : : }
5536 : 0 : if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
5537 : : {
5538 : 0 : {
5539 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30, _p1, _p1, _q60 };
5540 : 0 : tree res = generic_simplify_91 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5541 : 0 : if (res) return res;
5542 : : }
5543 : : }
5544 : : break;
5545 : : }
5546 : : default:;
5547 : : }
5548 : : break;
5549 : : }
5550 : 490901 : default:;
5551 : : }
5552 : 490901 : switch (TREE_CODE (_p1))
5553 : : {
5554 : 468992 : CASE_CONVERT:
5555 : 468992 : {
5556 : 468992 : tree _q40 = TREE_OPERAND (_p1, 0);
5557 : 468992 : {
5558 : 468992 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
5559 : 468992 : tree res = generic_simplify_92 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5560 : 468992 : if (res) return res;
5561 : : }
5562 : 468026 : break;
5563 : : }
5564 : 489935 : default:;
5565 : : }
5566 : 489935 : {
5567 : 489935 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
5568 : 489935 : tree res = generic_simplify_93 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5569 : 489935 : if (res) return res;
5570 : : }
5571 : 489675 : break;
5572 : : }
5573 : 107924 : case BIT_AND_EXPR:
5574 : 107924 : {
5575 : 107924 : tree _q20 = TREE_OPERAND (_p0, 0);
5576 : 107924 : tree _q21 = TREE_OPERAND (_p0, 1);
5577 : 107924 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
5578 : : {
5579 : 2 : {
5580 : 2 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
5581 : 2 : tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5582 : 2 : if (res) return res;
5583 : : }
5584 : : }
5585 : 107922 : if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
5586 : : {
5587 : 15 : {
5588 : 15 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
5589 : 15 : tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5590 : 15 : if (res) return res;
5591 : : }
5592 : : }
5593 : 107907 : {
5594 : 107907 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
5595 : 107907 : tree res = generic_simplify_95 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5596 : 107907 : if (res) return res;
5597 : : }
5598 : 107903 : {
5599 : 107903 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
5600 : 107903 : tree res = generic_simplify_95 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5601 : 107903 : if (res) return res;
5602 : : }
5603 : 107901 : switch (TREE_CODE (_p1))
5604 : : {
5605 : 1 : case BIT_IOR_EXPR:
5606 : 1 : {
5607 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
5608 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
5609 : 1 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5610 : : {
5611 : 1 : {
5612 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q51 };
5613 : 1 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5614 : 1 : if (res) return res;
5615 : : }
5616 : : }
5617 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
5618 : : {
5619 : 0 : {
5620 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q50 };
5621 : 0 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5622 : 0 : if (res) return res;
5623 : : }
5624 : : }
5625 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
5626 : : {
5627 : 0 : {
5628 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q51 };
5629 : 0 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5630 : 0 : if (res) return res;
5631 : : }
5632 : : }
5633 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5634 : : {
5635 : 0 : {
5636 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q50 };
5637 : 0 : tree res = generic_simplify_96 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5638 : 0 : if (res) return res;
5639 : : }
5640 : : }
5641 : : break;
5642 : : }
5643 : 1 : case BIT_NOT_EXPR:
5644 : 1 : {
5645 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
5646 : 1 : switch (TREE_CODE (_q50))
5647 : : {
5648 : 1 : case BIT_AND_EXPR:
5649 : 1 : {
5650 : 1 : tree _q60 = TREE_OPERAND (_q50, 0);
5651 : 1 : tree _q61 = TREE_OPERAND (_q50, 1);
5652 : 1 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
5653 : : {
5654 : 0 : {
5655 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q61 };
5656 : 0 : tree res = generic_simplify_97 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5657 : 0 : if (res) return res;
5658 : : }
5659 : : }
5660 : 1 : if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
5661 : : {
5662 : 1 : {
5663 : 1 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q60 };
5664 : 1 : tree res = generic_simplify_97 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5665 : 1 : if (res) return res;
5666 : : }
5667 : : }
5668 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
5669 : : {
5670 : 0 : {
5671 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q61 };
5672 : 0 : tree res = generic_simplify_97 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5673 : 0 : if (res) return res;
5674 : : }
5675 : : }
5676 : 0 : if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
5677 : : {
5678 : 0 : {
5679 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q60 };
5680 : 0 : tree res = generic_simplify_97 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5681 : 0 : if (res) return res;
5682 : : }
5683 : : }
5684 : : break;
5685 : : }
5686 : : default:;
5687 : : }
5688 : : break;
5689 : : }
5690 : 107899 : default:;
5691 : : }
5692 : 107899 : {
5693 : 107899 : tree _q20_pops[1];
5694 : 107899 : if (tree_nop_convert (_q20, _q20_pops))
5695 : : {
5696 : 12693 : tree _q30 = _q20_pops[0];
5697 : 12693 : switch (TREE_CODE (_q30))
5698 : : {
5699 : 0 : case BIT_IOR_EXPR:
5700 : 0 : {
5701 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
5702 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
5703 : 0 : {
5704 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q30, _q40, _q41, _q21, _p1 };
5705 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5706 : 0 : if (res) return res;
5707 : : }
5708 : 0 : {
5709 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q30, _q41, _q40, _q21, _p1 };
5710 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5711 : 0 : if (res) return res;
5712 : : }
5713 : 0 : break;
5714 : : }
5715 : 48 : case BIT_XOR_EXPR:
5716 : 48 : {
5717 : 48 : tree _q40 = TREE_OPERAND (_q30, 0);
5718 : 48 : tree _q41 = TREE_OPERAND (_q30, 1);
5719 : 48 : {
5720 : 48 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q30, _q40, _q41, _q21, _p1 };
5721 : 48 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5722 : 48 : if (res) return res;
5723 : : }
5724 : 32 : {
5725 : 32 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q30, _q41, _q40, _q21, _p1 };
5726 : 32 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5727 : 32 : if (res) return res;
5728 : : }
5729 : 32 : break;
5730 : : }
5731 : : default:;
5732 : : }
5733 : : }
5734 : : }
5735 : 107883 : {
5736 : 107883 : tree _q21_pops[1];
5737 : 107883 : if (tree_nop_convert (_q21, _q21_pops))
5738 : : {
5739 : 138 : tree _q40 = _q21_pops[0];
5740 : 138 : switch (TREE_CODE (_q40))
5741 : : {
5742 : 0 : case BIT_IOR_EXPR:
5743 : 0 : {
5744 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
5745 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
5746 : 0 : {
5747 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q40, _q50, _q51, _q20, _p1 };
5748 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5749 : 0 : if (res) return res;
5750 : : }
5751 : 0 : {
5752 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q40, _q51, _q50, _q20, _p1 };
5753 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5754 : 0 : if (res) return res;
5755 : : }
5756 : 0 : break;
5757 : : }
5758 : 0 : case BIT_XOR_EXPR:
5759 : 0 : {
5760 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
5761 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
5762 : 0 : {
5763 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q40, _q50, _q51, _q20, _p1 };
5764 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5765 : 0 : if (res) return res;
5766 : : }
5767 : 0 : {
5768 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q40, _q51, _q50, _q20, _p1 };
5769 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5770 : 0 : if (res) return res;
5771 : : }
5772 : 0 : break;
5773 : : }
5774 : : default:;
5775 : : }
5776 : : }
5777 : : }
5778 : 107883 : switch (TREE_CODE (_q20))
5779 : : {
5780 : 29 : case BIT_IOR_EXPR:
5781 : 29 : {
5782 : 29 : tree _q30 = TREE_OPERAND (_q20, 0);
5783 : 29 : tree _q31 = TREE_OPERAND (_q20, 1);
5784 : 29 : {
5785 : 29 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q20, _q30, _q31, _q21, _p1 };
5786 : 29 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5787 : 29 : if (res) return res;
5788 : : }
5789 : 29 : {
5790 : 29 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q20, _q31, _q30, _q21, _p1 };
5791 : 29 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5792 : 29 : if (res) return res;
5793 : : }
5794 : 29 : break;
5795 : : }
5796 : 40 : case BIT_XOR_EXPR:
5797 : 40 : {
5798 : 40 : tree _q30 = TREE_OPERAND (_q20, 0);
5799 : 40 : tree _q31 = TREE_OPERAND (_q20, 1);
5800 : 40 : {
5801 : 40 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q20, _q30, _q31, _q21, _p1 };
5802 : 40 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5803 : 40 : if (res) return res;
5804 : : }
5805 : 0 : {
5806 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q20, _q31, _q30, _q21, _p1 };
5807 : 0 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5808 : 0 : if (res) return res;
5809 : : }
5810 : 0 : break;
5811 : : }
5812 : 107843 : default:;
5813 : : }
5814 : 107843 : switch (TREE_CODE (_q21))
5815 : : {
5816 : 0 : case BIT_IOR_EXPR:
5817 : 0 : {
5818 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
5819 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
5820 : 0 : {
5821 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q21, _q40, _q41, _q20, _p1 };
5822 : 0 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5823 : 0 : if (res) return res;
5824 : : }
5825 : 0 : {
5826 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q21, _q41, _q40, _q20, _p1 };
5827 : 0 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
5828 : 0 : if (res) return res;
5829 : : }
5830 : 0 : break;
5831 : : }
5832 : 0 : case BIT_XOR_EXPR:
5833 : 0 : {
5834 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
5835 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
5836 : 0 : {
5837 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q21, _q40, _q41, _q20, _p1 };
5838 : 0 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5839 : 0 : if (res) return res;
5840 : : }
5841 : 0 : {
5842 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q21, _q41, _q40, _q20, _p1 };
5843 : 0 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
5844 : 0 : if (res) return res;
5845 : : }
5846 : 0 : break;
5847 : : }
5848 : : default:;
5849 : : }
5850 : : break;
5851 : : }
5852 : 1610224 : default:;
5853 : : }
5854 : 1610224 : switch (TREE_CODE (_p1))
5855 : : {
5856 : 46492 : case BIT_AND_EXPR:
5857 : 46492 : {
5858 : 46492 : tree _q30 = TREE_OPERAND (_p1, 0);
5859 : 46492 : tree _q31 = TREE_OPERAND (_p1, 1);
5860 : 46492 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
5861 : : {
5862 : 0 : {
5863 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
5864 : 0 : tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5865 : 0 : if (res) return res;
5866 : : }
5867 : : }
5868 : 46492 : if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
5869 : : {
5870 : 0 : {
5871 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
5872 : 0 : tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5873 : 0 : if (res) return res;
5874 : : }
5875 : : }
5876 : 46492 : {
5877 : 46492 : tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
5878 : 46492 : tree res = generic_simplify_95 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5879 : 46492 : if (res) return res;
5880 : : }
5881 : 46492 : {
5882 : 46492 : tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _p0 };
5883 : 46492 : tree res = generic_simplify_95 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5884 : 46492 : if (res) return res;
5885 : : }
5886 : 46492 : break;
5887 : : }
5888 : 1610224 : default:;
5889 : : }
5890 : 1610224 : switch (TREE_CODE (_p0))
5891 : : {
5892 : 17593 : case BIT_IOR_EXPR:
5893 : 17593 : {
5894 : 17593 : tree _q20 = TREE_OPERAND (_p0, 0);
5895 : 17593 : tree _q21 = TREE_OPERAND (_p0, 1);
5896 : 17593 : switch (TREE_CODE (_p1))
5897 : : {
5898 : 4931 : case BIT_AND_EXPR:
5899 : 4931 : {
5900 : 4931 : tree _q50 = TREE_OPERAND (_p1, 0);
5901 : 4931 : tree _q51 = TREE_OPERAND (_p1, 1);
5902 : 4931 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
5903 : : {
5904 : 0 : {
5905 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q51, _p0, _q21 };
5906 : 0 : tree res = generic_simplify_100 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5907 : 0 : if (res) return res;
5908 : : }
5909 : : }
5910 : 4931 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
5911 : : {
5912 : 0 : {
5913 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q51, _p0, _q20 };
5914 : 0 : tree res = generic_simplify_100 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5915 : 0 : if (res) return res;
5916 : : }
5917 : : }
5918 : 4931 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
5919 : : {
5920 : 0 : {
5921 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q50, _p0, _q21 };
5922 : 0 : tree res = generic_simplify_100 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5923 : 0 : if (res) return res;
5924 : : }
5925 : : }
5926 : 4931 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
5927 : : {
5928 : 0 : {
5929 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q50, _p0, _q20 };
5930 : 0 : tree res = generic_simplify_100 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5931 : 0 : if (res) return res;
5932 : : }
5933 : : }
5934 : : break;
5935 : : }
5936 : : default:;
5937 : : }
5938 : : break;
5939 : : }
5940 : 20566 : case BIT_NOT_EXPR:
5941 : 20566 : {
5942 : 20566 : tree _q20 = TREE_OPERAND (_p0, 0);
5943 : 20566 : switch (TREE_CODE (_q20))
5944 : : {
5945 : 3 : case BIT_AND_EXPR:
5946 : 3 : {
5947 : 3 : tree _q30 = TREE_OPERAND (_q20, 0);
5948 : 3 : tree _q31 = TREE_OPERAND (_q20, 1);
5949 : 3 : switch (TREE_CODE (_p1))
5950 : : {
5951 : 1 : case BIT_AND_EXPR:
5952 : 1 : {
5953 : 1 : tree _q60 = TREE_OPERAND (_p1, 0);
5954 : 1 : tree _q61 = TREE_OPERAND (_p1, 1);
5955 : 1 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
5956 : : {
5957 : 0 : {
5958 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q60, _q30, _p0, _q31 };
5959 : 0 : tree res = generic_simplify_101 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5960 : 0 : if (res) return res;
5961 : : }
5962 : : }
5963 : 1 : if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
5964 : : {
5965 : 0 : {
5966 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q60, _q31, _p0, _q30 };
5967 : 0 : tree res = generic_simplify_101 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5968 : 0 : if (res) return res;
5969 : : }
5970 : : }
5971 : 1 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
5972 : : {
5973 : 0 : {
5974 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q61, _q30, _p0, _q31 };
5975 : 0 : tree res = generic_simplify_101 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5976 : 0 : if (res) return res;
5977 : : }
5978 : : }
5979 : 1 : if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
5980 : : {
5981 : 0 : {
5982 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q61, _q31, _p0, _q30 };
5983 : 0 : tree res = generic_simplify_101 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5984 : 0 : if (res) return res;
5985 : : }
5986 : : }
5987 : : break;
5988 : : }
5989 : 3 : default:;
5990 : : }
5991 : 3 : if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
5992 : : {
5993 : 0 : {
5994 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
5995 : 0 : tree res = generic_simplify_102 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
5996 : 0 : if (res) return res;
5997 : : }
5998 : : }
5999 : 3 : if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
6000 : : {
6001 : 1 : {
6002 : 1 : tree captures[2] ATTRIBUTE_UNUSED = { _q31, _q30 };
6003 : 1 : tree res = generic_simplify_102 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6004 : 1 : if (res) return res;
6005 : : }
6006 : : }
6007 : : break;
6008 : : }
6009 : : default:;
6010 : : }
6011 : : break;
6012 : : }
6013 : 1610223 : default:;
6014 : : }
6015 : 1610223 : switch (TREE_CODE (_p1))
6016 : : {
6017 : 271 : case BIT_NOT_EXPR:
6018 : 271 : {
6019 : 271 : tree _q30 = TREE_OPERAND (_p1, 0);
6020 : 271 : switch (TREE_CODE (_q30))
6021 : : {
6022 : 0 : case BIT_AND_EXPR:
6023 : 0 : {
6024 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
6025 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
6026 : 0 : if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
6027 : : {
6028 : 0 : {
6029 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q41 };
6030 : 0 : tree res = generic_simplify_102 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6031 : 0 : if (res) return res;
6032 : : }
6033 : : }
6034 : 0 : if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
6035 : : {
6036 : 0 : {
6037 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q40 };
6038 : 0 : tree res = generic_simplify_102 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR);
6039 : 0 : if (res) return res;
6040 : : }
6041 : : }
6042 : : break;
6043 : : }
6044 : : default:;
6045 : : }
6046 : : break;
6047 : : }
6048 : 1610223 : default:;
6049 : : }
6050 : 1610223 : {
6051 : 1610223 : tree _p0_pops[1];
6052 : 1610223 : if (tree_nop_convert (_p0, _p0_pops))
6053 : : {
6054 : 489916 : tree _q20 = _p0_pops[0];
6055 : 489916 : switch (TREE_CODE (_q20))
6056 : : {
6057 : 98 : case BIT_AND_EXPR:
6058 : 98 : {
6059 : 98 : tree _q30 = TREE_OPERAND (_q20, 0);
6060 : 98 : tree _q31 = TREE_OPERAND (_q20, 1);
6061 : 98 : {
6062 : 98 : tree _q30_pops[1];
6063 : 98 : if (tree_nop_convert (_q30, _q30_pops))
6064 : : {
6065 : 16 : tree _q40 = _q30_pops[0];
6066 : 16 : switch (TREE_CODE (_q40))
6067 : : {
6068 : 0 : case BIT_IOR_EXPR:
6069 : 0 : {
6070 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
6071 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
6072 : 0 : {
6073 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q40, _q50, _q51, _q31, _p1 };
6074 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6075 : 0 : if (res) return res;
6076 : : }
6077 : 0 : {
6078 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q40, _q51, _q50, _q31, _p1 };
6079 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6080 : 0 : if (res) return res;
6081 : : }
6082 : 0 : break;
6083 : : }
6084 : 0 : case BIT_XOR_EXPR:
6085 : 0 : {
6086 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
6087 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
6088 : 0 : {
6089 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q40, _q50, _q51, _q31, _p1 };
6090 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6091 : 0 : if (res) return res;
6092 : : }
6093 : 0 : {
6094 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q40, _q51, _q50, _q31, _p1 };
6095 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6096 : 0 : if (res) return res;
6097 : : }
6098 : 0 : break;
6099 : : }
6100 : : default:;
6101 : : }
6102 : : }
6103 : : }
6104 : 98 : {
6105 : 98 : tree _q31_pops[1];
6106 : 98 : if (tree_nop_convert (_q31, _q31_pops))
6107 : : {
6108 : 74 : tree _q50 = _q31_pops[0];
6109 : 74 : switch (TREE_CODE (_q50))
6110 : : {
6111 : 0 : case BIT_IOR_EXPR:
6112 : 0 : {
6113 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
6114 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
6115 : 0 : {
6116 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q50, _q60, _q61, _q30, _p1 };
6117 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6118 : 0 : if (res) return res;
6119 : : }
6120 : 0 : {
6121 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q50, _q61, _q60, _q30, _p1 };
6122 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6123 : 0 : if (res) return res;
6124 : : }
6125 : 0 : break;
6126 : : }
6127 : 0 : case BIT_XOR_EXPR:
6128 : 0 : {
6129 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
6130 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
6131 : 0 : {
6132 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q50, _q60, _q61, _q30, _p1 };
6133 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6134 : 0 : if (res) return res;
6135 : : }
6136 : 0 : {
6137 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q50, _q61, _q60, _q30, _p1 };
6138 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6139 : 0 : if (res) return res;
6140 : : }
6141 : 0 : break;
6142 : : }
6143 : : default:;
6144 : : }
6145 : : }
6146 : : }
6147 : 98 : switch (TREE_CODE (_q30))
6148 : : {
6149 : 0 : case BIT_IOR_EXPR:
6150 : 0 : {
6151 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
6152 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
6153 : 0 : {
6154 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q30, _q40, _q41, _q31, _p1 };
6155 : 0 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6156 : 0 : if (res) return res;
6157 : : }
6158 : 0 : {
6159 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q30, _q41, _q40, _q31, _p1 };
6160 : 0 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6161 : 0 : if (res) return res;
6162 : : }
6163 : 0 : break;
6164 : : }
6165 : 0 : case BIT_XOR_EXPR:
6166 : 0 : {
6167 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
6168 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
6169 : 0 : {
6170 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q30, _q40, _q41, _q31, _p1 };
6171 : 0 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6172 : 0 : if (res) return res;
6173 : : }
6174 : 0 : {
6175 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q30, _q41, _q40, _q31, _p1 };
6176 : 0 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6177 : 0 : if (res) return res;
6178 : : }
6179 : 0 : break;
6180 : : }
6181 : 98 : default:;
6182 : : }
6183 : 98 : switch (TREE_CODE (_q31))
6184 : : {
6185 : 0 : case BIT_IOR_EXPR:
6186 : 0 : {
6187 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
6188 : 0 : tree _q51 = TREE_OPERAND (_q31, 1);
6189 : 0 : {
6190 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q31, _q50, _q51, _q30, _p1 };
6191 : 0 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6192 : 0 : if (res) return res;
6193 : : }
6194 : 0 : {
6195 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q31, _q51, _q50, _q30, _p1 };
6196 : 0 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6197 : 0 : if (res) return res;
6198 : : }
6199 : 0 : break;
6200 : : }
6201 : 0 : case BIT_XOR_EXPR:
6202 : 0 : {
6203 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
6204 : 0 : tree _q51 = TREE_OPERAND (_q31, 1);
6205 : 0 : {
6206 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q31, _q50, _q51, _q30, _p1 };
6207 : 0 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6208 : 0 : if (res) return res;
6209 : : }
6210 : 0 : {
6211 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q31, _q51, _q50, _q30, _p1 };
6212 : 0 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6213 : 0 : if (res) return res;
6214 : : }
6215 : 0 : break;
6216 : : }
6217 : : default:;
6218 : : }
6219 : : break;
6220 : : }
6221 : : default:;
6222 : : }
6223 : : }
6224 : : }
6225 : 1610223 : switch (TREE_CODE (_p1))
6226 : : {
6227 : 46492 : case BIT_AND_EXPR:
6228 : 46492 : {
6229 : 46492 : tree _q30 = TREE_OPERAND (_p1, 0);
6230 : 46492 : tree _q31 = TREE_OPERAND (_p1, 1);
6231 : 46492 : {
6232 : 46492 : tree _q30_pops[1];
6233 : 46492 : if (tree_nop_convert (_q30, _q30_pops))
6234 : : {
6235 : 146 : tree _q40 = _q30_pops[0];
6236 : 146 : switch (TREE_CODE (_q40))
6237 : : {
6238 : 0 : case BIT_IOR_EXPR:
6239 : 0 : {
6240 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
6241 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
6242 : 0 : {
6243 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _q40, _q50, _q51, _q31, _p0 };
6244 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6245 : 0 : if (res) return res;
6246 : : }
6247 : 0 : {
6248 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _q40, _q51, _q50, _q31, _p0 };
6249 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6250 : 0 : if (res) return res;
6251 : : }
6252 : 0 : break;
6253 : : }
6254 : 0 : case BIT_XOR_EXPR:
6255 : 0 : {
6256 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
6257 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
6258 : 0 : {
6259 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _q40, _q50, _q51, _q31, _p0 };
6260 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6261 : 0 : if (res) return res;
6262 : : }
6263 : 0 : {
6264 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _q40, _q51, _q50, _q31, _p0 };
6265 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6266 : 0 : if (res) return res;
6267 : : }
6268 : 0 : break;
6269 : : }
6270 : : default:;
6271 : : }
6272 : : }
6273 : : }
6274 : 46492 : {
6275 : 46492 : tree _q31_pops[1];
6276 : 46492 : if (tree_nop_convert (_q31, _q31_pops))
6277 : : {
6278 : 112 : tree _q50 = _q31_pops[0];
6279 : 112 : switch (TREE_CODE (_q50))
6280 : : {
6281 : 0 : case BIT_IOR_EXPR:
6282 : 0 : {
6283 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
6284 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
6285 : 0 : {
6286 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _q50, _q60, _q61, _q30, _p0 };
6287 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6288 : 0 : if (res) return res;
6289 : : }
6290 : 0 : {
6291 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _q50, _q61, _q60, _q30, _p0 };
6292 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6293 : 0 : if (res) return res;
6294 : : }
6295 : 0 : break;
6296 : : }
6297 : 0 : case BIT_XOR_EXPR:
6298 : 0 : {
6299 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
6300 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
6301 : 0 : {
6302 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _q50, _q60, _q61, _q30, _p0 };
6303 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6304 : 0 : if (res) return res;
6305 : : }
6306 : 0 : {
6307 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _q50, _q61, _q60, _q30, _p0 };
6308 : 0 : tree res = generic_simplify_98 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6309 : 0 : if (res) return res;
6310 : : }
6311 : 0 : break;
6312 : : }
6313 : : default:;
6314 : : }
6315 : : }
6316 : : }
6317 : 46492 : switch (TREE_CODE (_q30))
6318 : : {
6319 : 274 : case BIT_IOR_EXPR:
6320 : 274 : {
6321 : 274 : tree _q40 = TREE_OPERAND (_q30, 0);
6322 : 274 : tree _q41 = TREE_OPERAND (_q30, 1);
6323 : 274 : {
6324 : 274 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _q30, _q40, _q41, _q31, _p0 };
6325 : 274 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6326 : 274 : if (res) return res;
6327 : : }
6328 : 274 : {
6329 : 274 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _q30, _q41, _q40, _q31, _p0 };
6330 : 274 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6331 : 274 : if (res) return res;
6332 : : }
6333 : 274 : break;
6334 : : }
6335 : 0 : case BIT_XOR_EXPR:
6336 : 0 : {
6337 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
6338 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
6339 : 0 : {
6340 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _q30, _q40, _q41, _q31, _p0 };
6341 : 0 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6342 : 0 : if (res) return res;
6343 : : }
6344 : 0 : {
6345 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _q30, _q41, _q40, _q31, _p0 };
6346 : 0 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6347 : 0 : if (res) return res;
6348 : : }
6349 : 0 : break;
6350 : : }
6351 : 46492 : default:;
6352 : : }
6353 : 46492 : switch (TREE_CODE (_q31))
6354 : : {
6355 : 0 : case BIT_IOR_EXPR:
6356 : 0 : {
6357 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
6358 : 0 : tree _q51 = TREE_OPERAND (_q31, 1);
6359 : 0 : {
6360 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _q31, _q50, _q51, _q30, _p0 };
6361 : 0 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6362 : 0 : if (res) return res;
6363 : : }
6364 : 0 : {
6365 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _q31, _q51, _q50, _q30, _p0 };
6366 : 0 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6367 : 0 : if (res) return res;
6368 : : }
6369 : 0 : break;
6370 : : }
6371 : 0 : case BIT_XOR_EXPR:
6372 : 0 : {
6373 : 0 : tree _q50 = TREE_OPERAND (_q31, 0);
6374 : 0 : tree _q51 = TREE_OPERAND (_q31, 1);
6375 : 0 : {
6376 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _q31, _q50, _q51, _q30, _p0 };
6377 : 0 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6378 : 0 : if (res) return res;
6379 : : }
6380 : 0 : {
6381 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _q31, _q51, _q50, _q30, _p0 };
6382 : 0 : tree res = generic_simplify_99 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6383 : 0 : if (res) return res;
6384 : : }
6385 : 0 : break;
6386 : : }
6387 : : default:;
6388 : : }
6389 : : break;
6390 : : }
6391 : 1610223 : default:;
6392 : : }
6393 : 1610223 : {
6394 : 1610223 : tree _p1_pops[1];
6395 : 1610223 : if (tree_nop_convert (_p1, _p1_pops))
6396 : : {
6397 : 784238 : tree _q30 = _p1_pops[0];
6398 : 784238 : switch (TREE_CODE (_q30))
6399 : : {
6400 : 36 : case BIT_AND_EXPR:
6401 : 36 : {
6402 : 36 : tree _q40 = TREE_OPERAND (_q30, 0);
6403 : 36 : tree _q41 = TREE_OPERAND (_q30, 1);
6404 : 36 : {
6405 : 36 : tree _q40_pops[1];
6406 : 36 : if (tree_nop_convert (_q40, _q40_pops))
6407 : : {
6408 : 0 : tree _q50 = _q40_pops[0];
6409 : 0 : switch (TREE_CODE (_q50))
6410 : : {
6411 : 0 : case BIT_IOR_EXPR:
6412 : 0 : {
6413 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
6414 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
6415 : 0 : {
6416 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q50, _q60, _q61, _q41, _p0 };
6417 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6418 : 0 : if (res) return res;
6419 : : }
6420 : 0 : {
6421 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q50, _q61, _q60, _q41, _p0 };
6422 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6423 : 0 : if (res) return res;
6424 : : }
6425 : 0 : break;
6426 : : }
6427 : 0 : case BIT_XOR_EXPR:
6428 : 0 : {
6429 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
6430 : 0 : tree _q61 = TREE_OPERAND (_q50, 1);
6431 : 0 : {
6432 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q50, _q60, _q61, _q41, _p0 };
6433 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6434 : 0 : if (res) return res;
6435 : : }
6436 : 0 : {
6437 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q50, _q61, _q60, _q41, _p0 };
6438 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6439 : 0 : if (res) return res;
6440 : : }
6441 : 0 : break;
6442 : : }
6443 : : default:;
6444 : : }
6445 : : }
6446 : : }
6447 : 36 : {
6448 : 36 : tree _q41_pops[1];
6449 : 36 : if (tree_nop_convert (_q41, _q41_pops))
6450 : : {
6451 : 0 : tree _q60 = _q41_pops[0];
6452 : 0 : switch (TREE_CODE (_q60))
6453 : : {
6454 : 0 : case BIT_IOR_EXPR:
6455 : 0 : {
6456 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
6457 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
6458 : 0 : {
6459 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q60, _q70, _q71, _q40, _p0 };
6460 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6461 : 0 : if (res) return res;
6462 : : }
6463 : 0 : {
6464 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q60, _q71, _q70, _q40, _p0 };
6465 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6466 : 0 : if (res) return res;
6467 : : }
6468 : 0 : break;
6469 : : }
6470 : 0 : case BIT_XOR_EXPR:
6471 : 0 : {
6472 : 0 : tree _q70 = TREE_OPERAND (_q60, 0);
6473 : 0 : tree _q71 = TREE_OPERAND (_q60, 1);
6474 : 0 : {
6475 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q60, _q70, _q71, _q40, _p0 };
6476 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6477 : 0 : if (res) return res;
6478 : : }
6479 : 0 : {
6480 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q60, _q71, _q70, _q40, _p0 };
6481 : 0 : tree res = generic_simplify_103 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6482 : 0 : if (res) return res;
6483 : : }
6484 : 0 : break;
6485 : : }
6486 : : default:;
6487 : : }
6488 : : }
6489 : : }
6490 : 36 : switch (TREE_CODE (_q40))
6491 : : {
6492 : 0 : case BIT_IOR_EXPR:
6493 : 0 : {
6494 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
6495 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
6496 : 0 : {
6497 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q40, _q50, _q51, _q41, _p0 };
6498 : 0 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6499 : 0 : if (res) return res;
6500 : : }
6501 : 0 : {
6502 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q40, _q51, _q50, _q41, _p0 };
6503 : 0 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6504 : 0 : if (res) return res;
6505 : : }
6506 : 0 : break;
6507 : : }
6508 : 0 : case BIT_XOR_EXPR:
6509 : 0 : {
6510 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
6511 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
6512 : 0 : {
6513 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q40, _q50, _q51, _q41, _p0 };
6514 : 0 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6515 : 0 : if (res) return res;
6516 : : }
6517 : 0 : {
6518 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q40, _q51, _q50, _q41, _p0 };
6519 : 0 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6520 : 0 : if (res) return res;
6521 : : }
6522 : 0 : break;
6523 : : }
6524 : 36 : default:;
6525 : : }
6526 : 36 : switch (TREE_CODE (_q41))
6527 : : {
6528 : 0 : case BIT_IOR_EXPR:
6529 : 0 : {
6530 : 0 : tree _q60 = TREE_OPERAND (_q41, 0);
6531 : 0 : tree _q61 = TREE_OPERAND (_q41, 1);
6532 : 0 : {
6533 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q41, _q60, _q61, _q40, _p0 };
6534 : 0 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6535 : 0 : if (res) return res;
6536 : : }
6537 : 0 : {
6538 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q41, _q61, _q60, _q40, _p0 };
6539 : 0 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6540 : 0 : if (res) return res;
6541 : : }
6542 : 0 : break;
6543 : : }
6544 : 0 : case BIT_XOR_EXPR:
6545 : 0 : {
6546 : 0 : tree _q60 = TREE_OPERAND (_q41, 0);
6547 : 0 : tree _q61 = TREE_OPERAND (_q41, 1);
6548 : 0 : {
6549 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q41, _q60, _q61, _q40, _p0 };
6550 : 0 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6551 : 0 : if (res) return res;
6552 : : }
6553 : 0 : {
6554 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q41, _q61, _q60, _q40, _p0 };
6555 : 0 : tree res = generic_simplify_104 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
6556 : 0 : if (res) return res;
6557 : : }
6558 : 0 : break;
6559 : : }
6560 : : default:;
6561 : : }
6562 : : break;
6563 : : }
6564 : : default:;
6565 : : }
6566 : : }
6567 : : }
6568 : 1610223 : switch (TREE_CODE (_p0))
6569 : : {
6570 : 17593 : case BIT_IOR_EXPR:
6571 : 17593 : {
6572 : 17593 : tree _q20 = TREE_OPERAND (_p0, 0);
6573 : 17593 : tree _q21 = TREE_OPERAND (_p0, 1);
6574 : 17593 : if (CONSTANT_CLASS_P (_q21))
6575 : : {
6576 : 819 : if (CONSTANT_CLASS_P (_p1))
6577 : : {
6578 : 128 : {
6579 : 128 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
6580 : 128 : tree res = generic_simplify_105 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
6581 : 128 : if (res) return res;
6582 : : }
6583 : : }
6584 : : }
6585 : : break;
6586 : : }
6587 : 107843 : case BIT_AND_EXPR:
6588 : 107843 : {
6589 : 107843 : tree _q20 = TREE_OPERAND (_p0, 0);
6590 : 107843 : tree _q21 = TREE_OPERAND (_p0, 1);
6591 : 107843 : switch (TREE_CODE (_q20))
6592 : : {
6593 : 45387 : CASE_CONVERT:
6594 : 45387 : {
6595 : 45387 : tree _q30 = TREE_OPERAND (_q20, 0);
6596 : 45387 : switch (TREE_CODE (_q30))
6597 : : {
6598 : 0 : case LT_EXPR:
6599 : 0 : {
6600 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
6601 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
6602 : 0 : switch (TREE_CODE (_p1))
6603 : : {
6604 : 0 : case BIT_AND_EXPR:
6605 : 0 : {
6606 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6607 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6608 : 0 : switch (TREE_CODE (_q80))
6609 : : {
6610 : 0 : CASE_CONVERT:
6611 : 0 : {
6612 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6613 : 0 : switch (TREE_CODE (_q90))
6614 : : {
6615 : 0 : case GE_EXPR:
6616 : 0 : {
6617 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
6618 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
6619 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
6620 : : {
6621 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
6622 : : {
6623 : 0 : {
6624 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
6625 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
6626 : 0 : if (res) return res;
6627 : : }
6628 : : }
6629 : : }
6630 : : break;
6631 : : }
6632 : : default:;
6633 : : }
6634 : : break;
6635 : : }
6636 : 0 : default:;
6637 : : }
6638 : 0 : switch (TREE_CODE (_q81))
6639 : : {
6640 : 0 : CASE_CONVERT:
6641 : 0 : {
6642 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
6643 : 0 : switch (TREE_CODE (_q100))
6644 : : {
6645 : 0 : case GE_EXPR:
6646 : 0 : {
6647 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
6648 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
6649 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
6650 : : {
6651 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
6652 : : {
6653 : 0 : {
6654 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
6655 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
6656 : 0 : if (res) return res;
6657 : : }
6658 : : }
6659 : : }
6660 : : break;
6661 : : }
6662 : : default:;
6663 : : }
6664 : : break;
6665 : : }
6666 : : default:;
6667 : : }
6668 : : break;
6669 : : }
6670 : : default:;
6671 : : }
6672 : : break;
6673 : : }
6674 : 0 : case LE_EXPR:
6675 : 0 : {
6676 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
6677 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
6678 : 0 : switch (TREE_CODE (_p1))
6679 : : {
6680 : 0 : case BIT_AND_EXPR:
6681 : 0 : {
6682 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6683 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6684 : 0 : switch (TREE_CODE (_q80))
6685 : : {
6686 : 0 : CASE_CONVERT:
6687 : 0 : {
6688 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6689 : 0 : switch (TREE_CODE (_q90))
6690 : : {
6691 : 0 : case GT_EXPR:
6692 : 0 : {
6693 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
6694 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
6695 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
6696 : : {
6697 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
6698 : : {
6699 : 0 : {
6700 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
6701 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
6702 : 0 : if (res) return res;
6703 : : }
6704 : : }
6705 : : }
6706 : : break;
6707 : : }
6708 : : default:;
6709 : : }
6710 : : break;
6711 : : }
6712 : 0 : default:;
6713 : : }
6714 : 0 : switch (TREE_CODE (_q81))
6715 : : {
6716 : 0 : CASE_CONVERT:
6717 : 0 : {
6718 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
6719 : 0 : switch (TREE_CODE (_q100))
6720 : : {
6721 : 0 : case GT_EXPR:
6722 : 0 : {
6723 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
6724 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
6725 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
6726 : : {
6727 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
6728 : : {
6729 : 0 : {
6730 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
6731 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
6732 : 0 : if (res) return res;
6733 : : }
6734 : : }
6735 : : }
6736 : : break;
6737 : : }
6738 : : default:;
6739 : : }
6740 : : break;
6741 : : }
6742 : : default:;
6743 : : }
6744 : : break;
6745 : : }
6746 : : default:;
6747 : : }
6748 : : break;
6749 : : }
6750 : 0 : case EQ_EXPR:
6751 : 0 : {
6752 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
6753 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
6754 : 0 : switch (TREE_CODE (_p1))
6755 : : {
6756 : 0 : case BIT_AND_EXPR:
6757 : 0 : {
6758 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6759 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6760 : 0 : switch (TREE_CODE (_q80))
6761 : : {
6762 : 0 : CASE_CONVERT:
6763 : 0 : {
6764 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6765 : 0 : switch (TREE_CODE (_q90))
6766 : : {
6767 : 0 : case NE_EXPR:
6768 : 0 : {
6769 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
6770 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
6771 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
6772 : : {
6773 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
6774 : : {
6775 : 0 : {
6776 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
6777 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
6778 : 0 : if (res) return res;
6779 : : }
6780 : : }
6781 : : }
6782 : : break;
6783 : : }
6784 : : default:;
6785 : : }
6786 : : break;
6787 : : }
6788 : 0 : default:;
6789 : : }
6790 : 0 : switch (TREE_CODE (_q81))
6791 : : {
6792 : 0 : CASE_CONVERT:
6793 : 0 : {
6794 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
6795 : 0 : switch (TREE_CODE (_q100))
6796 : : {
6797 : 0 : case NE_EXPR:
6798 : 0 : {
6799 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
6800 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
6801 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
6802 : : {
6803 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
6804 : : {
6805 : 0 : {
6806 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
6807 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
6808 : 0 : if (res) return res;
6809 : : }
6810 : : }
6811 : : }
6812 : : break;
6813 : : }
6814 : : default:;
6815 : : }
6816 : : break;
6817 : : }
6818 : : default:;
6819 : : }
6820 : : break;
6821 : : }
6822 : : default:;
6823 : : }
6824 : : break;
6825 : : }
6826 : 0 : case NE_EXPR:
6827 : 0 : {
6828 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
6829 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
6830 : 0 : switch (TREE_CODE (_p1))
6831 : : {
6832 : 0 : case BIT_AND_EXPR:
6833 : 0 : {
6834 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6835 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6836 : 0 : switch (TREE_CODE (_q80))
6837 : : {
6838 : 0 : CASE_CONVERT:
6839 : 0 : {
6840 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6841 : 0 : switch (TREE_CODE (_q90))
6842 : : {
6843 : 0 : case EQ_EXPR:
6844 : 0 : {
6845 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
6846 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
6847 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
6848 : : {
6849 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
6850 : : {
6851 : 0 : {
6852 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
6853 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
6854 : 0 : if (res) return res;
6855 : : }
6856 : : }
6857 : : }
6858 : : break;
6859 : : }
6860 : : default:;
6861 : : }
6862 : : break;
6863 : : }
6864 : 0 : default:;
6865 : : }
6866 : 0 : switch (TREE_CODE (_q81))
6867 : : {
6868 : 0 : CASE_CONVERT:
6869 : 0 : {
6870 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
6871 : 0 : switch (TREE_CODE (_q100))
6872 : : {
6873 : 0 : case EQ_EXPR:
6874 : 0 : {
6875 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
6876 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
6877 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
6878 : : {
6879 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
6880 : : {
6881 : 0 : {
6882 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
6883 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
6884 : 0 : if (res) return res;
6885 : : }
6886 : : }
6887 : : }
6888 : : break;
6889 : : }
6890 : : default:;
6891 : : }
6892 : : break;
6893 : : }
6894 : : default:;
6895 : : }
6896 : : break;
6897 : : }
6898 : : default:;
6899 : : }
6900 : : break;
6901 : : }
6902 : 0 : case GE_EXPR:
6903 : 0 : {
6904 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
6905 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
6906 : 0 : switch (TREE_CODE (_p1))
6907 : : {
6908 : 0 : case BIT_AND_EXPR:
6909 : 0 : {
6910 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6911 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6912 : 0 : switch (TREE_CODE (_q80))
6913 : : {
6914 : 0 : CASE_CONVERT:
6915 : 0 : {
6916 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6917 : 0 : switch (TREE_CODE (_q90))
6918 : : {
6919 : 0 : case LT_EXPR:
6920 : 0 : {
6921 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
6922 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
6923 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
6924 : : {
6925 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
6926 : : {
6927 : 0 : {
6928 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
6929 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
6930 : 0 : if (res) return res;
6931 : : }
6932 : : }
6933 : : }
6934 : : break;
6935 : : }
6936 : : default:;
6937 : : }
6938 : : break;
6939 : : }
6940 : 0 : default:;
6941 : : }
6942 : 0 : switch (TREE_CODE (_q81))
6943 : : {
6944 : 0 : CASE_CONVERT:
6945 : 0 : {
6946 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
6947 : 0 : switch (TREE_CODE (_q100))
6948 : : {
6949 : 0 : case LT_EXPR:
6950 : 0 : {
6951 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
6952 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
6953 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
6954 : : {
6955 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
6956 : : {
6957 : 0 : {
6958 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
6959 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
6960 : 0 : if (res) return res;
6961 : : }
6962 : : }
6963 : : }
6964 : : break;
6965 : : }
6966 : : default:;
6967 : : }
6968 : : break;
6969 : : }
6970 : : default:;
6971 : : }
6972 : : break;
6973 : : }
6974 : : default:;
6975 : : }
6976 : : break;
6977 : : }
6978 : 0 : case GT_EXPR:
6979 : 0 : {
6980 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
6981 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
6982 : 0 : switch (TREE_CODE (_p1))
6983 : : {
6984 : 0 : case BIT_AND_EXPR:
6985 : 0 : {
6986 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
6987 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
6988 : 0 : switch (TREE_CODE (_q80))
6989 : : {
6990 : 0 : CASE_CONVERT:
6991 : 0 : {
6992 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
6993 : 0 : switch (TREE_CODE (_q90))
6994 : : {
6995 : 0 : case LE_EXPR:
6996 : 0 : {
6997 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
6998 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
6999 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
7000 : : {
7001 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
7002 : : {
7003 : 0 : {
7004 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
7005 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
7006 : 0 : if (res) return res;
7007 : : }
7008 : : }
7009 : : }
7010 : : break;
7011 : : }
7012 : : default:;
7013 : : }
7014 : : break;
7015 : : }
7016 : 0 : default:;
7017 : : }
7018 : 0 : switch (TREE_CODE (_q81))
7019 : : {
7020 : 0 : CASE_CONVERT:
7021 : 0 : {
7022 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
7023 : 0 : switch (TREE_CODE (_q100))
7024 : : {
7025 : 0 : case LE_EXPR:
7026 : 0 : {
7027 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
7028 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
7029 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
7030 : : {
7031 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
7032 : : {
7033 : 0 : {
7034 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
7035 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
7036 : 0 : if (res) return res;
7037 : : }
7038 : : }
7039 : : }
7040 : : break;
7041 : : }
7042 : : default:;
7043 : : }
7044 : : break;
7045 : : }
7046 : : default:;
7047 : : }
7048 : : break;
7049 : : }
7050 : : default:;
7051 : : }
7052 : : break;
7053 : : }
7054 : 0 : case UNORDERED_EXPR:
7055 : 0 : {
7056 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
7057 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
7058 : 0 : switch (TREE_CODE (_p1))
7059 : : {
7060 : 0 : case BIT_AND_EXPR:
7061 : 0 : {
7062 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7063 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7064 : 0 : switch (TREE_CODE (_q80))
7065 : : {
7066 : 0 : CASE_CONVERT:
7067 : 0 : {
7068 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7069 : 0 : switch (TREE_CODE (_q90))
7070 : : {
7071 : 0 : case ORDERED_EXPR:
7072 : 0 : {
7073 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
7074 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
7075 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
7076 : : {
7077 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
7078 : : {
7079 : 0 : {
7080 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
7081 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
7082 : 0 : if (res) return res;
7083 : : }
7084 : : }
7085 : : }
7086 : : break;
7087 : : }
7088 : : default:;
7089 : : }
7090 : : break;
7091 : : }
7092 : 0 : default:;
7093 : : }
7094 : 0 : switch (TREE_CODE (_q81))
7095 : : {
7096 : 0 : CASE_CONVERT:
7097 : 0 : {
7098 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
7099 : 0 : switch (TREE_CODE (_q100))
7100 : : {
7101 : 0 : case ORDERED_EXPR:
7102 : 0 : {
7103 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
7104 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
7105 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
7106 : : {
7107 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
7108 : : {
7109 : 0 : {
7110 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
7111 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
7112 : 0 : if (res) return res;
7113 : : }
7114 : : }
7115 : : }
7116 : : break;
7117 : : }
7118 : : default:;
7119 : : }
7120 : : break;
7121 : : }
7122 : : default:;
7123 : : }
7124 : : break;
7125 : : }
7126 : : default:;
7127 : : }
7128 : : break;
7129 : : }
7130 : 0 : case ORDERED_EXPR:
7131 : 0 : {
7132 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
7133 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
7134 : 0 : switch (TREE_CODE (_p1))
7135 : : {
7136 : 0 : case BIT_AND_EXPR:
7137 : 0 : {
7138 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7139 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7140 : 0 : switch (TREE_CODE (_q80))
7141 : : {
7142 : 0 : CASE_CONVERT:
7143 : 0 : {
7144 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7145 : 0 : switch (TREE_CODE (_q90))
7146 : : {
7147 : 0 : case UNORDERED_EXPR:
7148 : 0 : {
7149 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
7150 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
7151 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
7152 : : {
7153 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
7154 : : {
7155 : 0 : {
7156 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
7157 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
7158 : 0 : if (res) return res;
7159 : : }
7160 : : }
7161 : : }
7162 : : break;
7163 : : }
7164 : : default:;
7165 : : }
7166 : : break;
7167 : : }
7168 : 0 : default:;
7169 : : }
7170 : 0 : switch (TREE_CODE (_q81))
7171 : : {
7172 : 0 : CASE_CONVERT:
7173 : 0 : {
7174 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
7175 : 0 : switch (TREE_CODE (_q100))
7176 : : {
7177 : 0 : case UNORDERED_EXPR:
7178 : 0 : {
7179 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
7180 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
7181 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
7182 : : {
7183 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
7184 : : {
7185 : 0 : {
7186 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
7187 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
7188 : 0 : if (res) return res;
7189 : : }
7190 : : }
7191 : : }
7192 : : break;
7193 : : }
7194 : : default:;
7195 : : }
7196 : : break;
7197 : : }
7198 : : default:;
7199 : : }
7200 : : break;
7201 : : }
7202 : : default:;
7203 : : }
7204 : : break;
7205 : : }
7206 : 0 : case UNLT_EXPR:
7207 : 0 : {
7208 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
7209 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
7210 : 0 : switch (TREE_CODE (_p1))
7211 : : {
7212 : 0 : case BIT_AND_EXPR:
7213 : 0 : {
7214 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7215 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7216 : 0 : switch (TREE_CODE (_q80))
7217 : : {
7218 : 0 : CASE_CONVERT:
7219 : 0 : {
7220 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7221 : 0 : switch (TREE_CODE (_q90))
7222 : : {
7223 : 0 : case GE_EXPR:
7224 : 0 : {
7225 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
7226 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
7227 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
7228 : : {
7229 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
7230 : : {
7231 : 0 : {
7232 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
7233 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
7234 : 0 : if (res) return res;
7235 : : }
7236 : : }
7237 : : }
7238 : : break;
7239 : : }
7240 : : default:;
7241 : : }
7242 : : break;
7243 : : }
7244 : 0 : default:;
7245 : : }
7246 : 0 : switch (TREE_CODE (_q81))
7247 : : {
7248 : 0 : CASE_CONVERT:
7249 : 0 : {
7250 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
7251 : 0 : switch (TREE_CODE (_q100))
7252 : : {
7253 : 0 : case GE_EXPR:
7254 : 0 : {
7255 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
7256 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
7257 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
7258 : : {
7259 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
7260 : : {
7261 : 0 : {
7262 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
7263 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
7264 : 0 : if (res) return res;
7265 : : }
7266 : : }
7267 : : }
7268 : : break;
7269 : : }
7270 : : default:;
7271 : : }
7272 : : break;
7273 : : }
7274 : : default:;
7275 : : }
7276 : : break;
7277 : : }
7278 : : default:;
7279 : : }
7280 : : break;
7281 : : }
7282 : 0 : case UNLE_EXPR:
7283 : 0 : {
7284 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
7285 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
7286 : 0 : switch (TREE_CODE (_p1))
7287 : : {
7288 : 0 : case BIT_AND_EXPR:
7289 : 0 : {
7290 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7291 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7292 : 0 : switch (TREE_CODE (_q80))
7293 : : {
7294 : 0 : CASE_CONVERT:
7295 : 0 : {
7296 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7297 : 0 : switch (TREE_CODE (_q90))
7298 : : {
7299 : 0 : case GT_EXPR:
7300 : 0 : {
7301 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
7302 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
7303 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
7304 : : {
7305 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
7306 : : {
7307 : 0 : {
7308 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
7309 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
7310 : 0 : if (res) return res;
7311 : : }
7312 : : }
7313 : : }
7314 : : break;
7315 : : }
7316 : : default:;
7317 : : }
7318 : : break;
7319 : : }
7320 : 0 : default:;
7321 : : }
7322 : 0 : switch (TREE_CODE (_q81))
7323 : : {
7324 : 0 : CASE_CONVERT:
7325 : 0 : {
7326 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
7327 : 0 : switch (TREE_CODE (_q100))
7328 : : {
7329 : 0 : case GT_EXPR:
7330 : 0 : {
7331 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
7332 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
7333 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
7334 : : {
7335 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
7336 : : {
7337 : 0 : {
7338 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
7339 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
7340 : 0 : if (res) return res;
7341 : : }
7342 : : }
7343 : : }
7344 : : break;
7345 : : }
7346 : : default:;
7347 : : }
7348 : : break;
7349 : : }
7350 : : default:;
7351 : : }
7352 : : break;
7353 : : }
7354 : : default:;
7355 : : }
7356 : : break;
7357 : : }
7358 : 0 : case UNGT_EXPR:
7359 : 0 : {
7360 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
7361 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
7362 : 0 : switch (TREE_CODE (_p1))
7363 : : {
7364 : 0 : case BIT_AND_EXPR:
7365 : 0 : {
7366 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7367 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7368 : 0 : switch (TREE_CODE (_q80))
7369 : : {
7370 : 0 : CASE_CONVERT:
7371 : 0 : {
7372 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7373 : 0 : switch (TREE_CODE (_q90))
7374 : : {
7375 : 0 : case LE_EXPR:
7376 : 0 : {
7377 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
7378 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
7379 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
7380 : : {
7381 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
7382 : : {
7383 : 0 : {
7384 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
7385 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
7386 : 0 : if (res) return res;
7387 : : }
7388 : : }
7389 : : }
7390 : : break;
7391 : : }
7392 : : default:;
7393 : : }
7394 : : break;
7395 : : }
7396 : 0 : default:;
7397 : : }
7398 : 0 : switch (TREE_CODE (_q81))
7399 : : {
7400 : 0 : CASE_CONVERT:
7401 : 0 : {
7402 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
7403 : 0 : switch (TREE_CODE (_q100))
7404 : : {
7405 : 0 : case LE_EXPR:
7406 : 0 : {
7407 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
7408 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
7409 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
7410 : : {
7411 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
7412 : : {
7413 : 0 : {
7414 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
7415 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
7416 : 0 : if (res) return res;
7417 : : }
7418 : : }
7419 : : }
7420 : : break;
7421 : : }
7422 : : default:;
7423 : : }
7424 : : break;
7425 : : }
7426 : : default:;
7427 : : }
7428 : : break;
7429 : : }
7430 : : default:;
7431 : : }
7432 : : break;
7433 : : }
7434 : 0 : case UNGE_EXPR:
7435 : 0 : {
7436 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
7437 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
7438 : 0 : switch (TREE_CODE (_p1))
7439 : : {
7440 : 0 : case BIT_AND_EXPR:
7441 : 0 : {
7442 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7443 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7444 : 0 : switch (TREE_CODE (_q80))
7445 : : {
7446 : 0 : CASE_CONVERT:
7447 : 0 : {
7448 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7449 : 0 : switch (TREE_CODE (_q90))
7450 : : {
7451 : 0 : case LT_EXPR:
7452 : 0 : {
7453 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
7454 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
7455 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
7456 : : {
7457 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
7458 : : {
7459 : 0 : {
7460 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
7461 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
7462 : 0 : if (res) return res;
7463 : : }
7464 : : }
7465 : : }
7466 : : break;
7467 : : }
7468 : : default:;
7469 : : }
7470 : : break;
7471 : : }
7472 : 0 : default:;
7473 : : }
7474 : 0 : switch (TREE_CODE (_q81))
7475 : : {
7476 : 0 : CASE_CONVERT:
7477 : 0 : {
7478 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
7479 : 0 : switch (TREE_CODE (_q100))
7480 : : {
7481 : 0 : case LT_EXPR:
7482 : 0 : {
7483 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
7484 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
7485 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
7486 : : {
7487 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
7488 : : {
7489 : 0 : {
7490 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
7491 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
7492 : 0 : if (res) return res;
7493 : : }
7494 : : }
7495 : : }
7496 : : break;
7497 : : }
7498 : : default:;
7499 : : }
7500 : : break;
7501 : : }
7502 : : default:;
7503 : : }
7504 : : break;
7505 : : }
7506 : : default:;
7507 : : }
7508 : : break;
7509 : : }
7510 : 0 : case UNEQ_EXPR:
7511 : 0 : {
7512 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
7513 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
7514 : 0 : switch (TREE_CODE (_p1))
7515 : : {
7516 : 0 : case BIT_AND_EXPR:
7517 : 0 : {
7518 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7519 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7520 : 0 : switch (TREE_CODE (_q80))
7521 : : {
7522 : 0 : CASE_CONVERT:
7523 : 0 : {
7524 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7525 : 0 : switch (TREE_CODE (_q90))
7526 : : {
7527 : 0 : case LTGT_EXPR:
7528 : 0 : {
7529 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
7530 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
7531 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
7532 : : {
7533 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
7534 : : {
7535 : 0 : {
7536 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
7537 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
7538 : 0 : if (res) return res;
7539 : : }
7540 : : }
7541 : : }
7542 : : break;
7543 : : }
7544 : : default:;
7545 : : }
7546 : : break;
7547 : : }
7548 : 0 : default:;
7549 : : }
7550 : 0 : switch (TREE_CODE (_q81))
7551 : : {
7552 : 0 : CASE_CONVERT:
7553 : 0 : {
7554 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
7555 : 0 : switch (TREE_CODE (_q100))
7556 : : {
7557 : 0 : case LTGT_EXPR:
7558 : 0 : {
7559 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
7560 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
7561 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
7562 : : {
7563 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
7564 : : {
7565 : 0 : {
7566 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
7567 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
7568 : 0 : if (res) return res;
7569 : : }
7570 : : }
7571 : : }
7572 : : break;
7573 : : }
7574 : : default:;
7575 : : }
7576 : : break;
7577 : : }
7578 : : default:;
7579 : : }
7580 : : break;
7581 : : }
7582 : : default:;
7583 : : }
7584 : : break;
7585 : : }
7586 : 0 : case LTGT_EXPR:
7587 : 0 : {
7588 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
7589 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
7590 : 0 : switch (TREE_CODE (_p1))
7591 : : {
7592 : 0 : case BIT_AND_EXPR:
7593 : 0 : {
7594 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7595 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7596 : 0 : switch (TREE_CODE (_q80))
7597 : : {
7598 : 0 : CASE_CONVERT:
7599 : 0 : {
7600 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7601 : 0 : switch (TREE_CODE (_q90))
7602 : : {
7603 : 0 : case UNEQ_EXPR:
7604 : 0 : {
7605 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
7606 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
7607 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
7608 : : {
7609 : 0 : if ((_q101 == _q41 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q41, 0) && types_match (_q101, _q41)))
7610 : : {
7611 : 0 : {
7612 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q90, _q81 };
7613 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
7614 : 0 : if (res) return res;
7615 : : }
7616 : : }
7617 : : }
7618 : : break;
7619 : : }
7620 : : default:;
7621 : : }
7622 : : break;
7623 : : }
7624 : 0 : default:;
7625 : : }
7626 : 0 : switch (TREE_CODE (_q81))
7627 : : {
7628 : 0 : CASE_CONVERT:
7629 : 0 : {
7630 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
7631 : 0 : switch (TREE_CODE (_q100))
7632 : : {
7633 : 0 : case UNEQ_EXPR:
7634 : 0 : {
7635 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
7636 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
7637 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
7638 : : {
7639 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
7640 : : {
7641 : 0 : {
7642 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _q21, _q100, _q80 };
7643 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
7644 : 0 : if (res) return res;
7645 : : }
7646 : : }
7647 : : }
7648 : : break;
7649 : : }
7650 : : default:;
7651 : : }
7652 : : break;
7653 : : }
7654 : : default:;
7655 : : }
7656 : : break;
7657 : : }
7658 : : default:;
7659 : : }
7660 : : break;
7661 : : }
7662 : : default:;
7663 : : }
7664 : : break;
7665 : : }
7666 : 107843 : default:;
7667 : : }
7668 : 107843 : switch (TREE_CODE (_q21))
7669 : : {
7670 : 191 : CASE_CONVERT:
7671 : 191 : {
7672 : 191 : tree _q40 = TREE_OPERAND (_q21, 0);
7673 : 191 : switch (TREE_CODE (_q40))
7674 : : {
7675 : 0 : case LT_EXPR:
7676 : 0 : {
7677 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
7678 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
7679 : 0 : switch (TREE_CODE (_p1))
7680 : : {
7681 : 0 : case BIT_AND_EXPR:
7682 : 0 : {
7683 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7684 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7685 : 0 : switch (TREE_CODE (_q80))
7686 : : {
7687 : 0 : CASE_CONVERT:
7688 : 0 : {
7689 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7690 : 0 : switch (TREE_CODE (_q90))
7691 : : {
7692 : 0 : case GE_EXPR:
7693 : 0 : {
7694 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
7695 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
7696 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
7697 : : {
7698 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
7699 : : {
7700 : 0 : {
7701 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
7702 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
7703 : 0 : if (res) return res;
7704 : : }
7705 : : }
7706 : : }
7707 : : break;
7708 : : }
7709 : : default:;
7710 : : }
7711 : : break;
7712 : : }
7713 : 0 : default:;
7714 : : }
7715 : 0 : switch (TREE_CODE (_q81))
7716 : : {
7717 : 0 : CASE_CONVERT:
7718 : 0 : {
7719 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
7720 : 0 : switch (TREE_CODE (_q100))
7721 : : {
7722 : 0 : case GE_EXPR:
7723 : 0 : {
7724 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
7725 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
7726 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
7727 : : {
7728 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
7729 : : {
7730 : 0 : {
7731 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
7732 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
7733 : 0 : if (res) return res;
7734 : : }
7735 : : }
7736 : : }
7737 : : break;
7738 : : }
7739 : : default:;
7740 : : }
7741 : : break;
7742 : : }
7743 : : default:;
7744 : : }
7745 : : break;
7746 : : }
7747 : : default:;
7748 : : }
7749 : : break;
7750 : : }
7751 : 0 : case LE_EXPR:
7752 : 0 : {
7753 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
7754 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
7755 : 0 : switch (TREE_CODE (_p1))
7756 : : {
7757 : 0 : case BIT_AND_EXPR:
7758 : 0 : {
7759 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7760 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7761 : 0 : switch (TREE_CODE (_q80))
7762 : : {
7763 : 0 : CASE_CONVERT:
7764 : 0 : {
7765 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7766 : 0 : switch (TREE_CODE (_q90))
7767 : : {
7768 : 0 : case GT_EXPR:
7769 : 0 : {
7770 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
7771 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
7772 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
7773 : : {
7774 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
7775 : : {
7776 : 0 : {
7777 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
7778 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
7779 : 0 : if (res) return res;
7780 : : }
7781 : : }
7782 : : }
7783 : : break;
7784 : : }
7785 : : default:;
7786 : : }
7787 : : break;
7788 : : }
7789 : 0 : default:;
7790 : : }
7791 : 0 : switch (TREE_CODE (_q81))
7792 : : {
7793 : 0 : CASE_CONVERT:
7794 : 0 : {
7795 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
7796 : 0 : switch (TREE_CODE (_q100))
7797 : : {
7798 : 0 : case GT_EXPR:
7799 : 0 : {
7800 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
7801 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
7802 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
7803 : : {
7804 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
7805 : : {
7806 : 0 : {
7807 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
7808 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
7809 : 0 : if (res) return res;
7810 : : }
7811 : : }
7812 : : }
7813 : : break;
7814 : : }
7815 : : default:;
7816 : : }
7817 : : break;
7818 : : }
7819 : : default:;
7820 : : }
7821 : : break;
7822 : : }
7823 : : default:;
7824 : : }
7825 : : break;
7826 : : }
7827 : 0 : case EQ_EXPR:
7828 : 0 : {
7829 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
7830 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
7831 : 0 : switch (TREE_CODE (_p1))
7832 : : {
7833 : 0 : case BIT_AND_EXPR:
7834 : 0 : {
7835 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7836 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7837 : 0 : switch (TREE_CODE (_q80))
7838 : : {
7839 : 0 : CASE_CONVERT:
7840 : 0 : {
7841 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7842 : 0 : switch (TREE_CODE (_q90))
7843 : : {
7844 : 0 : case NE_EXPR:
7845 : 0 : {
7846 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
7847 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
7848 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
7849 : : {
7850 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
7851 : : {
7852 : 0 : {
7853 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
7854 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
7855 : 0 : if (res) return res;
7856 : : }
7857 : : }
7858 : : }
7859 : : break;
7860 : : }
7861 : : default:;
7862 : : }
7863 : : break;
7864 : : }
7865 : 0 : default:;
7866 : : }
7867 : 0 : switch (TREE_CODE (_q81))
7868 : : {
7869 : 0 : CASE_CONVERT:
7870 : 0 : {
7871 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
7872 : 0 : switch (TREE_CODE (_q100))
7873 : : {
7874 : 0 : case NE_EXPR:
7875 : 0 : {
7876 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
7877 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
7878 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
7879 : : {
7880 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
7881 : : {
7882 : 0 : {
7883 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
7884 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
7885 : 0 : if (res) return res;
7886 : : }
7887 : : }
7888 : : }
7889 : : break;
7890 : : }
7891 : : default:;
7892 : : }
7893 : : break;
7894 : : }
7895 : : default:;
7896 : : }
7897 : : break;
7898 : : }
7899 : : default:;
7900 : : }
7901 : : break;
7902 : : }
7903 : 0 : case NE_EXPR:
7904 : 0 : {
7905 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
7906 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
7907 : 0 : switch (TREE_CODE (_p1))
7908 : : {
7909 : 0 : case BIT_AND_EXPR:
7910 : 0 : {
7911 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7912 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7913 : 0 : switch (TREE_CODE (_q80))
7914 : : {
7915 : 0 : CASE_CONVERT:
7916 : 0 : {
7917 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7918 : 0 : switch (TREE_CODE (_q90))
7919 : : {
7920 : 0 : case EQ_EXPR:
7921 : 0 : {
7922 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
7923 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
7924 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
7925 : : {
7926 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
7927 : : {
7928 : 0 : {
7929 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
7930 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
7931 : 0 : if (res) return res;
7932 : : }
7933 : : }
7934 : : }
7935 : : break;
7936 : : }
7937 : : default:;
7938 : : }
7939 : : break;
7940 : : }
7941 : 0 : default:;
7942 : : }
7943 : 0 : switch (TREE_CODE (_q81))
7944 : : {
7945 : 0 : CASE_CONVERT:
7946 : 0 : {
7947 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
7948 : 0 : switch (TREE_CODE (_q100))
7949 : : {
7950 : 0 : case EQ_EXPR:
7951 : 0 : {
7952 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
7953 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
7954 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
7955 : : {
7956 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
7957 : : {
7958 : 0 : {
7959 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
7960 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
7961 : 0 : if (res) return res;
7962 : : }
7963 : : }
7964 : : }
7965 : : break;
7966 : : }
7967 : : default:;
7968 : : }
7969 : : break;
7970 : : }
7971 : : default:;
7972 : : }
7973 : : break;
7974 : : }
7975 : : default:;
7976 : : }
7977 : : break;
7978 : : }
7979 : 0 : case GE_EXPR:
7980 : 0 : {
7981 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
7982 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
7983 : 0 : switch (TREE_CODE (_p1))
7984 : : {
7985 : 0 : case BIT_AND_EXPR:
7986 : 0 : {
7987 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
7988 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
7989 : 0 : switch (TREE_CODE (_q80))
7990 : : {
7991 : 0 : CASE_CONVERT:
7992 : 0 : {
7993 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
7994 : 0 : switch (TREE_CODE (_q90))
7995 : : {
7996 : 0 : case LT_EXPR:
7997 : 0 : {
7998 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
7999 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
8000 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
8001 : : {
8002 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
8003 : : {
8004 : 0 : {
8005 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
8006 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
8007 : 0 : if (res) return res;
8008 : : }
8009 : : }
8010 : : }
8011 : : break;
8012 : : }
8013 : : default:;
8014 : : }
8015 : : break;
8016 : : }
8017 : 0 : default:;
8018 : : }
8019 : 0 : switch (TREE_CODE (_q81))
8020 : : {
8021 : 0 : CASE_CONVERT:
8022 : 0 : {
8023 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
8024 : 0 : switch (TREE_CODE (_q100))
8025 : : {
8026 : 0 : case LT_EXPR:
8027 : 0 : {
8028 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
8029 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
8030 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
8031 : : {
8032 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
8033 : : {
8034 : 0 : {
8035 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
8036 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
8037 : 0 : if (res) return res;
8038 : : }
8039 : : }
8040 : : }
8041 : : break;
8042 : : }
8043 : : default:;
8044 : : }
8045 : : break;
8046 : : }
8047 : : default:;
8048 : : }
8049 : : break;
8050 : : }
8051 : : default:;
8052 : : }
8053 : : break;
8054 : : }
8055 : 0 : case GT_EXPR:
8056 : 0 : {
8057 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
8058 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
8059 : 0 : switch (TREE_CODE (_p1))
8060 : : {
8061 : 0 : case BIT_AND_EXPR:
8062 : 0 : {
8063 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8064 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8065 : 0 : switch (TREE_CODE (_q80))
8066 : : {
8067 : 0 : CASE_CONVERT:
8068 : 0 : {
8069 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8070 : 0 : switch (TREE_CODE (_q90))
8071 : : {
8072 : 0 : case LE_EXPR:
8073 : 0 : {
8074 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
8075 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
8076 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
8077 : : {
8078 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
8079 : : {
8080 : 0 : {
8081 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
8082 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
8083 : 0 : if (res) return res;
8084 : : }
8085 : : }
8086 : : }
8087 : : break;
8088 : : }
8089 : : default:;
8090 : : }
8091 : : break;
8092 : : }
8093 : 0 : default:;
8094 : : }
8095 : 0 : switch (TREE_CODE (_q81))
8096 : : {
8097 : 0 : CASE_CONVERT:
8098 : 0 : {
8099 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
8100 : 0 : switch (TREE_CODE (_q100))
8101 : : {
8102 : 0 : case LE_EXPR:
8103 : 0 : {
8104 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
8105 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
8106 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
8107 : : {
8108 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
8109 : : {
8110 : 0 : {
8111 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
8112 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
8113 : 0 : if (res) return res;
8114 : : }
8115 : : }
8116 : : }
8117 : : break;
8118 : : }
8119 : : default:;
8120 : : }
8121 : : break;
8122 : : }
8123 : : default:;
8124 : : }
8125 : : break;
8126 : : }
8127 : : default:;
8128 : : }
8129 : : break;
8130 : : }
8131 : 0 : case UNORDERED_EXPR:
8132 : 0 : {
8133 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
8134 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
8135 : 0 : switch (TREE_CODE (_p1))
8136 : : {
8137 : 0 : case BIT_AND_EXPR:
8138 : 0 : {
8139 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8140 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8141 : 0 : switch (TREE_CODE (_q80))
8142 : : {
8143 : 0 : CASE_CONVERT:
8144 : 0 : {
8145 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8146 : 0 : switch (TREE_CODE (_q90))
8147 : : {
8148 : 0 : case ORDERED_EXPR:
8149 : 0 : {
8150 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
8151 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
8152 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
8153 : : {
8154 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
8155 : : {
8156 : 0 : {
8157 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
8158 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
8159 : 0 : if (res) return res;
8160 : : }
8161 : : }
8162 : : }
8163 : : break;
8164 : : }
8165 : : default:;
8166 : : }
8167 : : break;
8168 : : }
8169 : 0 : default:;
8170 : : }
8171 : 0 : switch (TREE_CODE (_q81))
8172 : : {
8173 : 0 : CASE_CONVERT:
8174 : 0 : {
8175 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
8176 : 0 : switch (TREE_CODE (_q100))
8177 : : {
8178 : 0 : case ORDERED_EXPR:
8179 : 0 : {
8180 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
8181 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
8182 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
8183 : : {
8184 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
8185 : : {
8186 : 0 : {
8187 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
8188 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
8189 : 0 : if (res) return res;
8190 : : }
8191 : : }
8192 : : }
8193 : : break;
8194 : : }
8195 : : default:;
8196 : : }
8197 : : break;
8198 : : }
8199 : : default:;
8200 : : }
8201 : : break;
8202 : : }
8203 : : default:;
8204 : : }
8205 : : break;
8206 : : }
8207 : 0 : case ORDERED_EXPR:
8208 : 0 : {
8209 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
8210 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
8211 : 0 : switch (TREE_CODE (_p1))
8212 : : {
8213 : 0 : case BIT_AND_EXPR:
8214 : 0 : {
8215 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8216 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8217 : 0 : switch (TREE_CODE (_q80))
8218 : : {
8219 : 0 : CASE_CONVERT:
8220 : 0 : {
8221 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8222 : 0 : switch (TREE_CODE (_q90))
8223 : : {
8224 : 0 : case UNORDERED_EXPR:
8225 : 0 : {
8226 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
8227 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
8228 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
8229 : : {
8230 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
8231 : : {
8232 : 0 : {
8233 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
8234 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
8235 : 0 : if (res) return res;
8236 : : }
8237 : : }
8238 : : }
8239 : : break;
8240 : : }
8241 : : default:;
8242 : : }
8243 : : break;
8244 : : }
8245 : 0 : default:;
8246 : : }
8247 : 0 : switch (TREE_CODE (_q81))
8248 : : {
8249 : 0 : CASE_CONVERT:
8250 : 0 : {
8251 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
8252 : 0 : switch (TREE_CODE (_q100))
8253 : : {
8254 : 0 : case UNORDERED_EXPR:
8255 : 0 : {
8256 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
8257 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
8258 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
8259 : : {
8260 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
8261 : : {
8262 : 0 : {
8263 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
8264 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
8265 : 0 : if (res) return res;
8266 : : }
8267 : : }
8268 : : }
8269 : : break;
8270 : : }
8271 : : default:;
8272 : : }
8273 : : break;
8274 : : }
8275 : : default:;
8276 : : }
8277 : : break;
8278 : : }
8279 : : default:;
8280 : : }
8281 : : break;
8282 : : }
8283 : 0 : case UNLT_EXPR:
8284 : 0 : {
8285 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
8286 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
8287 : 0 : switch (TREE_CODE (_p1))
8288 : : {
8289 : 0 : case BIT_AND_EXPR:
8290 : 0 : {
8291 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8292 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8293 : 0 : switch (TREE_CODE (_q80))
8294 : : {
8295 : 0 : CASE_CONVERT:
8296 : 0 : {
8297 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8298 : 0 : switch (TREE_CODE (_q90))
8299 : : {
8300 : 0 : case GE_EXPR:
8301 : 0 : {
8302 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
8303 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
8304 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
8305 : : {
8306 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
8307 : : {
8308 : 0 : {
8309 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
8310 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
8311 : 0 : if (res) return res;
8312 : : }
8313 : : }
8314 : : }
8315 : : break;
8316 : : }
8317 : : default:;
8318 : : }
8319 : : break;
8320 : : }
8321 : 0 : default:;
8322 : : }
8323 : 0 : switch (TREE_CODE (_q81))
8324 : : {
8325 : 0 : CASE_CONVERT:
8326 : 0 : {
8327 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
8328 : 0 : switch (TREE_CODE (_q100))
8329 : : {
8330 : 0 : case GE_EXPR:
8331 : 0 : {
8332 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
8333 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
8334 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
8335 : : {
8336 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
8337 : : {
8338 : 0 : {
8339 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
8340 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
8341 : 0 : if (res) return res;
8342 : : }
8343 : : }
8344 : : }
8345 : : break;
8346 : : }
8347 : : default:;
8348 : : }
8349 : : break;
8350 : : }
8351 : : default:;
8352 : : }
8353 : : break;
8354 : : }
8355 : : default:;
8356 : : }
8357 : : break;
8358 : : }
8359 : 0 : case UNLE_EXPR:
8360 : 0 : {
8361 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
8362 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
8363 : 0 : switch (TREE_CODE (_p1))
8364 : : {
8365 : 0 : case BIT_AND_EXPR:
8366 : 0 : {
8367 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8368 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8369 : 0 : switch (TREE_CODE (_q80))
8370 : : {
8371 : 0 : CASE_CONVERT:
8372 : 0 : {
8373 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8374 : 0 : switch (TREE_CODE (_q90))
8375 : : {
8376 : 0 : case GT_EXPR:
8377 : 0 : {
8378 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
8379 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
8380 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
8381 : : {
8382 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
8383 : : {
8384 : 0 : {
8385 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
8386 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
8387 : 0 : if (res) return res;
8388 : : }
8389 : : }
8390 : : }
8391 : : break;
8392 : : }
8393 : : default:;
8394 : : }
8395 : : break;
8396 : : }
8397 : 0 : default:;
8398 : : }
8399 : 0 : switch (TREE_CODE (_q81))
8400 : : {
8401 : 0 : CASE_CONVERT:
8402 : 0 : {
8403 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
8404 : 0 : switch (TREE_CODE (_q100))
8405 : : {
8406 : 0 : case GT_EXPR:
8407 : 0 : {
8408 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
8409 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
8410 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
8411 : : {
8412 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
8413 : : {
8414 : 0 : {
8415 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
8416 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
8417 : 0 : if (res) return res;
8418 : : }
8419 : : }
8420 : : }
8421 : : break;
8422 : : }
8423 : : default:;
8424 : : }
8425 : : break;
8426 : : }
8427 : : default:;
8428 : : }
8429 : : break;
8430 : : }
8431 : : default:;
8432 : : }
8433 : : break;
8434 : : }
8435 : 0 : case UNGT_EXPR:
8436 : 0 : {
8437 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
8438 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
8439 : 0 : switch (TREE_CODE (_p1))
8440 : : {
8441 : 0 : case BIT_AND_EXPR:
8442 : 0 : {
8443 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8444 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8445 : 0 : switch (TREE_CODE (_q80))
8446 : : {
8447 : 0 : CASE_CONVERT:
8448 : 0 : {
8449 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8450 : 0 : switch (TREE_CODE (_q90))
8451 : : {
8452 : 0 : case LE_EXPR:
8453 : 0 : {
8454 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
8455 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
8456 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
8457 : : {
8458 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
8459 : : {
8460 : 0 : {
8461 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
8462 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
8463 : 0 : if (res) return res;
8464 : : }
8465 : : }
8466 : : }
8467 : : break;
8468 : : }
8469 : : default:;
8470 : : }
8471 : : break;
8472 : : }
8473 : 0 : default:;
8474 : : }
8475 : 0 : switch (TREE_CODE (_q81))
8476 : : {
8477 : 0 : CASE_CONVERT:
8478 : 0 : {
8479 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
8480 : 0 : switch (TREE_CODE (_q100))
8481 : : {
8482 : 0 : case LE_EXPR:
8483 : 0 : {
8484 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
8485 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
8486 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
8487 : : {
8488 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
8489 : : {
8490 : 0 : {
8491 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
8492 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
8493 : 0 : if (res) return res;
8494 : : }
8495 : : }
8496 : : }
8497 : : break;
8498 : : }
8499 : : default:;
8500 : : }
8501 : : break;
8502 : : }
8503 : : default:;
8504 : : }
8505 : : break;
8506 : : }
8507 : : default:;
8508 : : }
8509 : : break;
8510 : : }
8511 : 0 : case UNGE_EXPR:
8512 : 0 : {
8513 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
8514 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
8515 : 0 : switch (TREE_CODE (_p1))
8516 : : {
8517 : 0 : case BIT_AND_EXPR:
8518 : 0 : {
8519 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8520 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8521 : 0 : switch (TREE_CODE (_q80))
8522 : : {
8523 : 0 : CASE_CONVERT:
8524 : 0 : {
8525 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8526 : 0 : switch (TREE_CODE (_q90))
8527 : : {
8528 : 0 : case LT_EXPR:
8529 : 0 : {
8530 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
8531 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
8532 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
8533 : : {
8534 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
8535 : : {
8536 : 0 : {
8537 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
8538 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
8539 : 0 : if (res) return res;
8540 : : }
8541 : : }
8542 : : }
8543 : : break;
8544 : : }
8545 : : default:;
8546 : : }
8547 : : break;
8548 : : }
8549 : 0 : default:;
8550 : : }
8551 : 0 : switch (TREE_CODE (_q81))
8552 : : {
8553 : 0 : CASE_CONVERT:
8554 : 0 : {
8555 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
8556 : 0 : switch (TREE_CODE (_q100))
8557 : : {
8558 : 0 : case LT_EXPR:
8559 : 0 : {
8560 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
8561 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
8562 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
8563 : : {
8564 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
8565 : : {
8566 : 0 : {
8567 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
8568 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
8569 : 0 : if (res) return res;
8570 : : }
8571 : : }
8572 : : }
8573 : : break;
8574 : : }
8575 : : default:;
8576 : : }
8577 : : break;
8578 : : }
8579 : : default:;
8580 : : }
8581 : : break;
8582 : : }
8583 : : default:;
8584 : : }
8585 : : break;
8586 : : }
8587 : 0 : case UNEQ_EXPR:
8588 : 0 : {
8589 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
8590 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
8591 : 0 : switch (TREE_CODE (_p1))
8592 : : {
8593 : 0 : case BIT_AND_EXPR:
8594 : 0 : {
8595 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8596 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8597 : 0 : switch (TREE_CODE (_q80))
8598 : : {
8599 : 0 : CASE_CONVERT:
8600 : 0 : {
8601 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8602 : 0 : switch (TREE_CODE (_q90))
8603 : : {
8604 : 0 : case LTGT_EXPR:
8605 : 0 : {
8606 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
8607 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
8608 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
8609 : : {
8610 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
8611 : : {
8612 : 0 : {
8613 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
8614 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
8615 : 0 : if (res) return res;
8616 : : }
8617 : : }
8618 : : }
8619 : : break;
8620 : : }
8621 : : default:;
8622 : : }
8623 : : break;
8624 : : }
8625 : 0 : default:;
8626 : : }
8627 : 0 : switch (TREE_CODE (_q81))
8628 : : {
8629 : 0 : CASE_CONVERT:
8630 : 0 : {
8631 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
8632 : 0 : switch (TREE_CODE (_q100))
8633 : : {
8634 : 0 : case LTGT_EXPR:
8635 : 0 : {
8636 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
8637 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
8638 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
8639 : : {
8640 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
8641 : : {
8642 : 0 : {
8643 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
8644 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
8645 : 0 : if (res) return res;
8646 : : }
8647 : : }
8648 : : }
8649 : : break;
8650 : : }
8651 : : default:;
8652 : : }
8653 : : break;
8654 : : }
8655 : : default:;
8656 : : }
8657 : : break;
8658 : : }
8659 : : default:;
8660 : : }
8661 : : break;
8662 : : }
8663 : 0 : case LTGT_EXPR:
8664 : 0 : {
8665 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
8666 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
8667 : 0 : switch (TREE_CODE (_p1))
8668 : : {
8669 : 0 : case BIT_AND_EXPR:
8670 : 0 : {
8671 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
8672 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
8673 : 0 : switch (TREE_CODE (_q80))
8674 : : {
8675 : 0 : CASE_CONVERT:
8676 : 0 : {
8677 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
8678 : 0 : switch (TREE_CODE (_q90))
8679 : : {
8680 : 0 : case UNEQ_EXPR:
8681 : 0 : {
8682 : 0 : tree _q100 = TREE_OPERAND (_q90, 0);
8683 : 0 : tree _q101 = TREE_OPERAND (_q90, 1);
8684 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
8685 : : {
8686 : 0 : if ((_q101 == _q51 && ! TREE_SIDE_EFFECTS (_q101)) || (operand_equal_p (_q101, _q51, 0) && types_match (_q101, _q51)))
8687 : : {
8688 : 0 : {
8689 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q90, _q81 };
8690 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
8691 : 0 : if (res) return res;
8692 : : }
8693 : : }
8694 : : }
8695 : : break;
8696 : : }
8697 : : default:;
8698 : : }
8699 : : break;
8700 : : }
8701 : 0 : default:;
8702 : : }
8703 : 0 : switch (TREE_CODE (_q81))
8704 : : {
8705 : 0 : CASE_CONVERT:
8706 : 0 : {
8707 : 0 : tree _q100 = TREE_OPERAND (_q81, 0);
8708 : 0 : switch (TREE_CODE (_q100))
8709 : : {
8710 : 0 : case UNEQ_EXPR:
8711 : 0 : {
8712 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
8713 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
8714 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
8715 : : {
8716 : 0 : if ((_q111 == _q51 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q51, 0) && types_match (_q111, _q51)))
8717 : : {
8718 : 0 : {
8719 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q40, _q50, _q51, _q20, _q100, _q80 };
8720 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
8721 : 0 : if (res) return res;
8722 : : }
8723 : : }
8724 : : }
8725 : : break;
8726 : : }
8727 : : default:;
8728 : : }
8729 : : break;
8730 : : }
8731 : : default:;
8732 : : }
8733 : : break;
8734 : : }
8735 : : default:;
8736 : : }
8737 : : break;
8738 : : }
8739 : : default:;
8740 : : }
8741 : : break;
8742 : : }
8743 : 107843 : default:;
8744 : : }
8745 : 107843 : switch (TREE_CODE (_q20))
8746 : : {
8747 : 0 : case LT_EXPR:
8748 : 0 : {
8749 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8750 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8751 : 0 : switch (TREE_CODE (_p1))
8752 : : {
8753 : 0 : case BIT_AND_EXPR:
8754 : 0 : {
8755 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
8756 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
8757 : 0 : switch (TREE_CODE (_q70))
8758 : : {
8759 : 0 : case GE_EXPR:
8760 : 0 : {
8761 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
8762 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
8763 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
8764 : : {
8765 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
8766 : : {
8767 : 0 : {
8768 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
8769 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
8770 : 0 : if (res) return res;
8771 : : }
8772 : : }
8773 : : }
8774 : : break;
8775 : : }
8776 : 0 : default:;
8777 : : }
8778 : 0 : switch (TREE_CODE (_q71))
8779 : : {
8780 : 0 : case GE_EXPR:
8781 : 0 : {
8782 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
8783 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
8784 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8785 : : {
8786 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8787 : : {
8788 : 0 : {
8789 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
8790 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
8791 : 0 : if (res) return res;
8792 : : }
8793 : : }
8794 : : }
8795 : : break;
8796 : : }
8797 : : default:;
8798 : : }
8799 : : break;
8800 : : }
8801 : : default:;
8802 : : }
8803 : : break;
8804 : : }
8805 : 0 : case LE_EXPR:
8806 : 0 : {
8807 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8808 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8809 : 0 : switch (TREE_CODE (_p1))
8810 : : {
8811 : 0 : case BIT_AND_EXPR:
8812 : 0 : {
8813 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
8814 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
8815 : 0 : switch (TREE_CODE (_q70))
8816 : : {
8817 : 0 : case GT_EXPR:
8818 : 0 : {
8819 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
8820 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
8821 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
8822 : : {
8823 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
8824 : : {
8825 : 0 : {
8826 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
8827 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
8828 : 0 : if (res) return res;
8829 : : }
8830 : : }
8831 : : }
8832 : : break;
8833 : : }
8834 : 0 : default:;
8835 : : }
8836 : 0 : switch (TREE_CODE (_q71))
8837 : : {
8838 : 0 : case GT_EXPR:
8839 : 0 : {
8840 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
8841 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
8842 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8843 : : {
8844 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8845 : : {
8846 : 0 : {
8847 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
8848 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
8849 : 0 : if (res) return res;
8850 : : }
8851 : : }
8852 : : }
8853 : : break;
8854 : : }
8855 : : default:;
8856 : : }
8857 : : break;
8858 : : }
8859 : : default:;
8860 : : }
8861 : : break;
8862 : : }
8863 : 1 : case EQ_EXPR:
8864 : 1 : {
8865 : 1 : tree _q30 = TREE_OPERAND (_q20, 0);
8866 : 1 : tree _q31 = TREE_OPERAND (_q20, 1);
8867 : 1 : switch (TREE_CODE (_p1))
8868 : : {
8869 : 1 : case BIT_AND_EXPR:
8870 : 1 : {
8871 : 1 : tree _q70 = TREE_OPERAND (_p1, 0);
8872 : 1 : tree _q71 = TREE_OPERAND (_p1, 1);
8873 : 1 : switch (TREE_CODE (_q70))
8874 : : {
8875 : 0 : case NE_EXPR:
8876 : 0 : {
8877 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
8878 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
8879 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
8880 : : {
8881 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
8882 : : {
8883 : 0 : {
8884 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
8885 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
8886 : 0 : if (res) return res;
8887 : : }
8888 : : }
8889 : : }
8890 : : break;
8891 : : }
8892 : 1 : default:;
8893 : : }
8894 : 1 : switch (TREE_CODE (_q71))
8895 : : {
8896 : 0 : case NE_EXPR:
8897 : 0 : {
8898 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
8899 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
8900 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8901 : : {
8902 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8903 : : {
8904 : 0 : {
8905 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
8906 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
8907 : 0 : if (res) return res;
8908 : : }
8909 : : }
8910 : : }
8911 : : break;
8912 : : }
8913 : : default:;
8914 : : }
8915 : : break;
8916 : : }
8917 : : default:;
8918 : : }
8919 : : break;
8920 : : }
8921 : 0 : case NE_EXPR:
8922 : 0 : {
8923 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8924 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8925 : 0 : switch (TREE_CODE (_p1))
8926 : : {
8927 : 0 : case BIT_AND_EXPR:
8928 : 0 : {
8929 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
8930 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
8931 : 0 : switch (TREE_CODE (_q70))
8932 : : {
8933 : 0 : case EQ_EXPR:
8934 : 0 : {
8935 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
8936 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
8937 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
8938 : : {
8939 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
8940 : : {
8941 : 0 : {
8942 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
8943 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
8944 : 0 : if (res) return res;
8945 : : }
8946 : : }
8947 : : }
8948 : : break;
8949 : : }
8950 : 0 : default:;
8951 : : }
8952 : 0 : switch (TREE_CODE (_q71))
8953 : : {
8954 : 0 : case EQ_EXPR:
8955 : 0 : {
8956 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
8957 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
8958 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
8959 : : {
8960 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
8961 : : {
8962 : 0 : {
8963 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
8964 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
8965 : 0 : if (res) return res;
8966 : : }
8967 : : }
8968 : : }
8969 : : break;
8970 : : }
8971 : : default:;
8972 : : }
8973 : : break;
8974 : : }
8975 : : default:;
8976 : : }
8977 : : break;
8978 : : }
8979 : 0 : case GE_EXPR:
8980 : 0 : {
8981 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
8982 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
8983 : 0 : switch (TREE_CODE (_p1))
8984 : : {
8985 : 0 : case BIT_AND_EXPR:
8986 : 0 : {
8987 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
8988 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
8989 : 0 : switch (TREE_CODE (_q70))
8990 : : {
8991 : 0 : case LT_EXPR:
8992 : 0 : {
8993 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
8994 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
8995 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
8996 : : {
8997 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
8998 : : {
8999 : 0 : {
9000 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
9001 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
9002 : 0 : if (res) return res;
9003 : : }
9004 : : }
9005 : : }
9006 : : break;
9007 : : }
9008 : 0 : default:;
9009 : : }
9010 : 0 : switch (TREE_CODE (_q71))
9011 : : {
9012 : 0 : case LT_EXPR:
9013 : 0 : {
9014 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
9015 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
9016 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9017 : : {
9018 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9019 : : {
9020 : 0 : {
9021 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
9022 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
9023 : 0 : if (res) return res;
9024 : : }
9025 : : }
9026 : : }
9027 : : break;
9028 : : }
9029 : : default:;
9030 : : }
9031 : : break;
9032 : : }
9033 : : default:;
9034 : : }
9035 : : break;
9036 : : }
9037 : 0 : case GT_EXPR:
9038 : 0 : {
9039 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9040 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9041 : 0 : switch (TREE_CODE (_p1))
9042 : : {
9043 : 0 : case BIT_AND_EXPR:
9044 : 0 : {
9045 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
9046 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
9047 : 0 : switch (TREE_CODE (_q70))
9048 : : {
9049 : 0 : case LE_EXPR:
9050 : 0 : {
9051 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
9052 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
9053 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
9054 : : {
9055 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
9056 : : {
9057 : 0 : {
9058 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
9059 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
9060 : 0 : if (res) return res;
9061 : : }
9062 : : }
9063 : : }
9064 : : break;
9065 : : }
9066 : 0 : default:;
9067 : : }
9068 : 0 : switch (TREE_CODE (_q71))
9069 : : {
9070 : 0 : case LE_EXPR:
9071 : 0 : {
9072 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
9073 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
9074 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9075 : : {
9076 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9077 : : {
9078 : 0 : {
9079 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
9080 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
9081 : 0 : if (res) return res;
9082 : : }
9083 : : }
9084 : : }
9085 : : break;
9086 : : }
9087 : : default:;
9088 : : }
9089 : : break;
9090 : : }
9091 : : default:;
9092 : : }
9093 : : break;
9094 : : }
9095 : 0 : case UNORDERED_EXPR:
9096 : 0 : {
9097 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9098 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9099 : 0 : switch (TREE_CODE (_p1))
9100 : : {
9101 : 0 : case BIT_AND_EXPR:
9102 : 0 : {
9103 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
9104 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
9105 : 0 : switch (TREE_CODE (_q70))
9106 : : {
9107 : 0 : case ORDERED_EXPR:
9108 : 0 : {
9109 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
9110 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
9111 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
9112 : : {
9113 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
9114 : : {
9115 : 0 : {
9116 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
9117 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
9118 : 0 : if (res) return res;
9119 : : }
9120 : : }
9121 : : }
9122 : : break;
9123 : : }
9124 : 0 : default:;
9125 : : }
9126 : 0 : switch (TREE_CODE (_q71))
9127 : : {
9128 : 0 : case ORDERED_EXPR:
9129 : 0 : {
9130 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
9131 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
9132 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9133 : : {
9134 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9135 : : {
9136 : 0 : {
9137 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
9138 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
9139 : 0 : if (res) return res;
9140 : : }
9141 : : }
9142 : : }
9143 : : break;
9144 : : }
9145 : : default:;
9146 : : }
9147 : : break;
9148 : : }
9149 : : default:;
9150 : : }
9151 : : break;
9152 : : }
9153 : 0 : case ORDERED_EXPR:
9154 : 0 : {
9155 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9156 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9157 : 0 : switch (TREE_CODE (_p1))
9158 : : {
9159 : 0 : case BIT_AND_EXPR:
9160 : 0 : {
9161 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
9162 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
9163 : 0 : switch (TREE_CODE (_q70))
9164 : : {
9165 : 0 : case UNORDERED_EXPR:
9166 : 0 : {
9167 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
9168 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
9169 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
9170 : : {
9171 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
9172 : : {
9173 : 0 : {
9174 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
9175 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
9176 : 0 : if (res) return res;
9177 : : }
9178 : : }
9179 : : }
9180 : : break;
9181 : : }
9182 : 0 : default:;
9183 : : }
9184 : 0 : switch (TREE_CODE (_q71))
9185 : : {
9186 : 0 : case UNORDERED_EXPR:
9187 : 0 : {
9188 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
9189 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
9190 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9191 : : {
9192 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9193 : : {
9194 : 0 : {
9195 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
9196 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
9197 : 0 : if (res) return res;
9198 : : }
9199 : : }
9200 : : }
9201 : : break;
9202 : : }
9203 : : default:;
9204 : : }
9205 : : break;
9206 : : }
9207 : : default:;
9208 : : }
9209 : : break;
9210 : : }
9211 : 0 : case UNLT_EXPR:
9212 : 0 : {
9213 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9214 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9215 : 0 : switch (TREE_CODE (_p1))
9216 : : {
9217 : 0 : case BIT_AND_EXPR:
9218 : 0 : {
9219 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
9220 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
9221 : 0 : switch (TREE_CODE (_q70))
9222 : : {
9223 : 0 : case GE_EXPR:
9224 : 0 : {
9225 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
9226 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
9227 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
9228 : : {
9229 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
9230 : : {
9231 : 0 : {
9232 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
9233 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
9234 : 0 : if (res) return res;
9235 : : }
9236 : : }
9237 : : }
9238 : : break;
9239 : : }
9240 : 0 : default:;
9241 : : }
9242 : 0 : switch (TREE_CODE (_q71))
9243 : : {
9244 : 0 : case GE_EXPR:
9245 : 0 : {
9246 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
9247 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
9248 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9249 : : {
9250 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9251 : : {
9252 : 0 : {
9253 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
9254 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
9255 : 0 : if (res) return res;
9256 : : }
9257 : : }
9258 : : }
9259 : : break;
9260 : : }
9261 : : default:;
9262 : : }
9263 : : break;
9264 : : }
9265 : : default:;
9266 : : }
9267 : : break;
9268 : : }
9269 : 0 : case UNLE_EXPR:
9270 : 0 : {
9271 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9272 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9273 : 0 : switch (TREE_CODE (_p1))
9274 : : {
9275 : 0 : case BIT_AND_EXPR:
9276 : 0 : {
9277 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
9278 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
9279 : 0 : switch (TREE_CODE (_q70))
9280 : : {
9281 : 0 : case GT_EXPR:
9282 : 0 : {
9283 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
9284 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
9285 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
9286 : : {
9287 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
9288 : : {
9289 : 0 : {
9290 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
9291 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
9292 : 0 : if (res) return res;
9293 : : }
9294 : : }
9295 : : }
9296 : : break;
9297 : : }
9298 : 0 : default:;
9299 : : }
9300 : 0 : switch (TREE_CODE (_q71))
9301 : : {
9302 : 0 : case GT_EXPR:
9303 : 0 : {
9304 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
9305 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
9306 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9307 : : {
9308 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9309 : : {
9310 : 0 : {
9311 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
9312 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
9313 : 0 : if (res) return res;
9314 : : }
9315 : : }
9316 : : }
9317 : : break;
9318 : : }
9319 : : default:;
9320 : : }
9321 : : break;
9322 : : }
9323 : : default:;
9324 : : }
9325 : : break;
9326 : : }
9327 : 0 : case UNGT_EXPR:
9328 : 0 : {
9329 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9330 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9331 : 0 : switch (TREE_CODE (_p1))
9332 : : {
9333 : 0 : case BIT_AND_EXPR:
9334 : 0 : {
9335 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
9336 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
9337 : 0 : switch (TREE_CODE (_q70))
9338 : : {
9339 : 0 : case LE_EXPR:
9340 : 0 : {
9341 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
9342 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
9343 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
9344 : : {
9345 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
9346 : : {
9347 : 0 : {
9348 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
9349 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
9350 : 0 : if (res) return res;
9351 : : }
9352 : : }
9353 : : }
9354 : : break;
9355 : : }
9356 : 0 : default:;
9357 : : }
9358 : 0 : switch (TREE_CODE (_q71))
9359 : : {
9360 : 0 : case LE_EXPR:
9361 : 0 : {
9362 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
9363 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
9364 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9365 : : {
9366 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9367 : : {
9368 : 0 : {
9369 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
9370 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
9371 : 0 : if (res) return res;
9372 : : }
9373 : : }
9374 : : }
9375 : : break;
9376 : : }
9377 : : default:;
9378 : : }
9379 : : break;
9380 : : }
9381 : : default:;
9382 : : }
9383 : : break;
9384 : : }
9385 : 0 : case UNGE_EXPR:
9386 : 0 : {
9387 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9388 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9389 : 0 : switch (TREE_CODE (_p1))
9390 : : {
9391 : 0 : case BIT_AND_EXPR:
9392 : 0 : {
9393 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
9394 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
9395 : 0 : switch (TREE_CODE (_q70))
9396 : : {
9397 : 0 : case LT_EXPR:
9398 : 0 : {
9399 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
9400 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
9401 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
9402 : : {
9403 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
9404 : : {
9405 : 0 : {
9406 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
9407 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
9408 : 0 : if (res) return res;
9409 : : }
9410 : : }
9411 : : }
9412 : : break;
9413 : : }
9414 : 0 : default:;
9415 : : }
9416 : 0 : switch (TREE_CODE (_q71))
9417 : : {
9418 : 0 : case LT_EXPR:
9419 : 0 : {
9420 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
9421 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
9422 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9423 : : {
9424 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9425 : : {
9426 : 0 : {
9427 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
9428 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
9429 : 0 : if (res) return res;
9430 : : }
9431 : : }
9432 : : }
9433 : : break;
9434 : : }
9435 : : default:;
9436 : : }
9437 : : break;
9438 : : }
9439 : : default:;
9440 : : }
9441 : : break;
9442 : : }
9443 : 0 : case UNEQ_EXPR:
9444 : 0 : {
9445 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9446 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9447 : 0 : switch (TREE_CODE (_p1))
9448 : : {
9449 : 0 : case BIT_AND_EXPR:
9450 : 0 : {
9451 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
9452 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
9453 : 0 : switch (TREE_CODE (_q70))
9454 : : {
9455 : 0 : case LTGT_EXPR:
9456 : 0 : {
9457 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
9458 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
9459 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
9460 : : {
9461 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
9462 : : {
9463 : 0 : {
9464 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
9465 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
9466 : 0 : if (res) return res;
9467 : : }
9468 : : }
9469 : : }
9470 : : break;
9471 : : }
9472 : 0 : default:;
9473 : : }
9474 : 0 : switch (TREE_CODE (_q71))
9475 : : {
9476 : 0 : case LTGT_EXPR:
9477 : 0 : {
9478 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
9479 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
9480 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9481 : : {
9482 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9483 : : {
9484 : 0 : {
9485 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
9486 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
9487 : 0 : if (res) return res;
9488 : : }
9489 : : }
9490 : : }
9491 : : break;
9492 : : }
9493 : : default:;
9494 : : }
9495 : : break;
9496 : : }
9497 : : default:;
9498 : : }
9499 : : break;
9500 : : }
9501 : 0 : case LTGT_EXPR:
9502 : 0 : {
9503 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
9504 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
9505 : 0 : switch (TREE_CODE (_p1))
9506 : : {
9507 : 0 : case BIT_AND_EXPR:
9508 : 0 : {
9509 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
9510 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
9511 : 0 : switch (TREE_CODE (_q70))
9512 : : {
9513 : 0 : case UNEQ_EXPR:
9514 : 0 : {
9515 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
9516 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
9517 : 0 : if ((_q80 == _q30 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q30, 0) && types_match (_q80, _q30)))
9518 : : {
9519 : 0 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
9520 : : {
9521 : 0 : {
9522 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q70, _q71 };
9523 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
9524 : 0 : if (res) return res;
9525 : : }
9526 : : }
9527 : : }
9528 : : break;
9529 : : }
9530 : 0 : default:;
9531 : : }
9532 : 0 : switch (TREE_CODE (_q71))
9533 : : {
9534 : 0 : case UNEQ_EXPR:
9535 : 0 : {
9536 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
9537 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
9538 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
9539 : : {
9540 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
9541 : : {
9542 : 0 : {
9543 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q71, _q70 };
9544 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
9545 : 0 : if (res) return res;
9546 : : }
9547 : : }
9548 : : }
9549 : : break;
9550 : : }
9551 : : default:;
9552 : : }
9553 : : break;
9554 : : }
9555 : : default:;
9556 : : }
9557 : : break;
9558 : : }
9559 : 107843 : default:;
9560 : : }
9561 : 107843 : switch (TREE_CODE (_q21))
9562 : : {
9563 : 0 : case LT_EXPR:
9564 : 0 : {
9565 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
9566 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
9567 : 0 : switch (TREE_CODE (_p1))
9568 : : {
9569 : 0 : case BIT_AND_EXPR:
9570 : 0 : {
9571 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
9572 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
9573 : 0 : switch (TREE_CODE (_q70))
9574 : : {
9575 : 0 : case GE_EXPR:
9576 : 0 : {
9577 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
9578 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
9579 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
9580 : : {
9581 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
9582 : : {
9583 : 0 : {
9584 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
9585 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
9586 : 0 : if (res) return res;
9587 : : }
9588 : : }
9589 : : }
9590 : : break;
9591 : : }
9592 : 0 : default:;
9593 : : }
9594 : 0 : switch (TREE_CODE (_q71))
9595 : : {
9596 : 0 : case GE_EXPR:
9597 : 0 : {
9598 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
9599 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
9600 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
9601 : : {
9602 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
9603 : : {
9604 : 0 : {
9605 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
9606 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
9607 : 0 : if (res) return res;
9608 : : }
9609 : : }
9610 : : }
9611 : : break;
9612 : : }
9613 : : default:;
9614 : : }
9615 : : break;
9616 : : }
9617 : : default:;
9618 : : }
9619 : : break;
9620 : : }
9621 : 0 : case LE_EXPR:
9622 : 0 : {
9623 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
9624 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
9625 : 0 : switch (TREE_CODE (_p1))
9626 : : {
9627 : 0 : case BIT_AND_EXPR:
9628 : 0 : {
9629 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
9630 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
9631 : 0 : switch (TREE_CODE (_q70))
9632 : : {
9633 : 0 : case GT_EXPR:
9634 : 0 : {
9635 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
9636 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
9637 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
9638 : : {
9639 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
9640 : : {
9641 : 0 : {
9642 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
9643 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
9644 : 0 : if (res) return res;
9645 : : }
9646 : : }
9647 : : }
9648 : : break;
9649 : : }
9650 : 0 : default:;
9651 : : }
9652 : 0 : switch (TREE_CODE (_q71))
9653 : : {
9654 : 0 : case GT_EXPR:
9655 : 0 : {
9656 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
9657 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
9658 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
9659 : : {
9660 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
9661 : : {
9662 : 0 : {
9663 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
9664 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
9665 : 0 : if (res) return res;
9666 : : }
9667 : : }
9668 : : }
9669 : : break;
9670 : : }
9671 : : default:;
9672 : : }
9673 : : break;
9674 : : }
9675 : : default:;
9676 : : }
9677 : : break;
9678 : : }
9679 : 1 : case EQ_EXPR:
9680 : 1 : {
9681 : 1 : tree _q40 = TREE_OPERAND (_q21, 0);
9682 : 1 : tree _q41 = TREE_OPERAND (_q21, 1);
9683 : 1 : switch (TREE_CODE (_p1))
9684 : : {
9685 : 1 : case BIT_AND_EXPR:
9686 : 1 : {
9687 : 1 : tree _q70 = TREE_OPERAND (_p1, 0);
9688 : 1 : tree _q71 = TREE_OPERAND (_p1, 1);
9689 : 1 : switch (TREE_CODE (_q70))
9690 : : {
9691 : 0 : case NE_EXPR:
9692 : 0 : {
9693 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
9694 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
9695 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
9696 : : {
9697 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
9698 : : {
9699 : 0 : {
9700 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
9701 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
9702 : 0 : if (res) return res;
9703 : : }
9704 : : }
9705 : : }
9706 : : break;
9707 : : }
9708 : 1 : default:;
9709 : : }
9710 : 1 : switch (TREE_CODE (_q71))
9711 : : {
9712 : 0 : case NE_EXPR:
9713 : 0 : {
9714 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
9715 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
9716 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
9717 : : {
9718 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
9719 : : {
9720 : 0 : {
9721 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
9722 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
9723 : 0 : if (res) return res;
9724 : : }
9725 : : }
9726 : : }
9727 : : break;
9728 : : }
9729 : : default:;
9730 : : }
9731 : : break;
9732 : : }
9733 : : default:;
9734 : : }
9735 : : break;
9736 : : }
9737 : 0 : case NE_EXPR:
9738 : 0 : {
9739 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
9740 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
9741 : 0 : switch (TREE_CODE (_p1))
9742 : : {
9743 : 0 : case BIT_AND_EXPR:
9744 : 0 : {
9745 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
9746 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
9747 : 0 : switch (TREE_CODE (_q70))
9748 : : {
9749 : 0 : case EQ_EXPR:
9750 : 0 : {
9751 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
9752 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
9753 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
9754 : : {
9755 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
9756 : : {
9757 : 0 : {
9758 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
9759 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
9760 : 0 : if (res) return res;
9761 : : }
9762 : : }
9763 : : }
9764 : : break;
9765 : : }
9766 : 0 : default:;
9767 : : }
9768 : 0 : switch (TREE_CODE (_q71))
9769 : : {
9770 : 0 : case EQ_EXPR:
9771 : 0 : {
9772 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
9773 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
9774 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
9775 : : {
9776 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
9777 : : {
9778 : 0 : {
9779 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
9780 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
9781 : 0 : if (res) return res;
9782 : : }
9783 : : }
9784 : : }
9785 : : break;
9786 : : }
9787 : : default:;
9788 : : }
9789 : : break;
9790 : : }
9791 : : default:;
9792 : : }
9793 : : break;
9794 : : }
9795 : 0 : case GE_EXPR:
9796 : 0 : {
9797 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
9798 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
9799 : 0 : switch (TREE_CODE (_p1))
9800 : : {
9801 : 0 : case BIT_AND_EXPR:
9802 : 0 : {
9803 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
9804 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
9805 : 0 : switch (TREE_CODE (_q70))
9806 : : {
9807 : 0 : case LT_EXPR:
9808 : 0 : {
9809 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
9810 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
9811 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
9812 : : {
9813 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
9814 : : {
9815 : 0 : {
9816 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
9817 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
9818 : 0 : if (res) return res;
9819 : : }
9820 : : }
9821 : : }
9822 : : break;
9823 : : }
9824 : 0 : default:;
9825 : : }
9826 : 0 : switch (TREE_CODE (_q71))
9827 : : {
9828 : 0 : case LT_EXPR:
9829 : 0 : {
9830 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
9831 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
9832 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
9833 : : {
9834 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
9835 : : {
9836 : 0 : {
9837 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
9838 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
9839 : 0 : if (res) return res;
9840 : : }
9841 : : }
9842 : : }
9843 : : break;
9844 : : }
9845 : : default:;
9846 : : }
9847 : : break;
9848 : : }
9849 : : default:;
9850 : : }
9851 : : break;
9852 : : }
9853 : 0 : case GT_EXPR:
9854 : 0 : {
9855 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
9856 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
9857 : 0 : switch (TREE_CODE (_p1))
9858 : : {
9859 : 0 : case BIT_AND_EXPR:
9860 : 0 : {
9861 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
9862 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
9863 : 0 : switch (TREE_CODE (_q70))
9864 : : {
9865 : 0 : case LE_EXPR:
9866 : 0 : {
9867 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
9868 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
9869 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
9870 : : {
9871 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
9872 : : {
9873 : 0 : {
9874 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
9875 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
9876 : 0 : if (res) return res;
9877 : : }
9878 : : }
9879 : : }
9880 : : break;
9881 : : }
9882 : 0 : default:;
9883 : : }
9884 : 0 : switch (TREE_CODE (_q71))
9885 : : {
9886 : 0 : case LE_EXPR:
9887 : 0 : {
9888 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
9889 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
9890 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
9891 : : {
9892 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
9893 : : {
9894 : 0 : {
9895 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
9896 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
9897 : 0 : if (res) return res;
9898 : : }
9899 : : }
9900 : : }
9901 : : break;
9902 : : }
9903 : : default:;
9904 : : }
9905 : : break;
9906 : : }
9907 : : default:;
9908 : : }
9909 : : break;
9910 : : }
9911 : 0 : case UNORDERED_EXPR:
9912 : 0 : {
9913 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
9914 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
9915 : 0 : switch (TREE_CODE (_p1))
9916 : : {
9917 : 0 : case BIT_AND_EXPR:
9918 : 0 : {
9919 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
9920 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
9921 : 0 : switch (TREE_CODE (_q70))
9922 : : {
9923 : 0 : case ORDERED_EXPR:
9924 : 0 : {
9925 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
9926 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
9927 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
9928 : : {
9929 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
9930 : : {
9931 : 0 : {
9932 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
9933 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
9934 : 0 : if (res) return res;
9935 : : }
9936 : : }
9937 : : }
9938 : : break;
9939 : : }
9940 : 0 : default:;
9941 : : }
9942 : 0 : switch (TREE_CODE (_q71))
9943 : : {
9944 : 0 : case ORDERED_EXPR:
9945 : 0 : {
9946 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
9947 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
9948 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
9949 : : {
9950 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
9951 : : {
9952 : 0 : {
9953 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
9954 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
9955 : 0 : if (res) return res;
9956 : : }
9957 : : }
9958 : : }
9959 : : break;
9960 : : }
9961 : : default:;
9962 : : }
9963 : : break;
9964 : : }
9965 : : default:;
9966 : : }
9967 : : break;
9968 : : }
9969 : 0 : case ORDERED_EXPR:
9970 : 0 : {
9971 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
9972 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
9973 : 0 : switch (TREE_CODE (_p1))
9974 : : {
9975 : 0 : case BIT_AND_EXPR:
9976 : 0 : {
9977 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
9978 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
9979 : 0 : switch (TREE_CODE (_q70))
9980 : : {
9981 : 0 : case UNORDERED_EXPR:
9982 : 0 : {
9983 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
9984 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
9985 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
9986 : : {
9987 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
9988 : : {
9989 : 0 : {
9990 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
9991 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
9992 : 0 : if (res) return res;
9993 : : }
9994 : : }
9995 : : }
9996 : : break;
9997 : : }
9998 : 0 : default:;
9999 : : }
10000 : 0 : switch (TREE_CODE (_q71))
10001 : : {
10002 : 0 : case UNORDERED_EXPR:
10003 : 0 : {
10004 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
10005 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
10006 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
10007 : : {
10008 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
10009 : : {
10010 : 0 : {
10011 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
10012 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
10013 : 0 : if (res) return res;
10014 : : }
10015 : : }
10016 : : }
10017 : : break;
10018 : : }
10019 : : default:;
10020 : : }
10021 : : break;
10022 : : }
10023 : : default:;
10024 : : }
10025 : : break;
10026 : : }
10027 : 0 : case UNLT_EXPR:
10028 : 0 : {
10029 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
10030 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
10031 : 0 : switch (TREE_CODE (_p1))
10032 : : {
10033 : 0 : case BIT_AND_EXPR:
10034 : 0 : {
10035 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
10036 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
10037 : 0 : switch (TREE_CODE (_q70))
10038 : : {
10039 : 0 : case GE_EXPR:
10040 : 0 : {
10041 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
10042 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
10043 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
10044 : : {
10045 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
10046 : : {
10047 : 0 : {
10048 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
10049 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
10050 : 0 : if (res) return res;
10051 : : }
10052 : : }
10053 : : }
10054 : : break;
10055 : : }
10056 : 0 : default:;
10057 : : }
10058 : 0 : switch (TREE_CODE (_q71))
10059 : : {
10060 : 0 : case GE_EXPR:
10061 : 0 : {
10062 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
10063 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
10064 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
10065 : : {
10066 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
10067 : : {
10068 : 0 : {
10069 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
10070 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
10071 : 0 : if (res) return res;
10072 : : }
10073 : : }
10074 : : }
10075 : : break;
10076 : : }
10077 : : default:;
10078 : : }
10079 : : break;
10080 : : }
10081 : : default:;
10082 : : }
10083 : : break;
10084 : : }
10085 : 0 : case UNLE_EXPR:
10086 : 0 : {
10087 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
10088 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
10089 : 0 : switch (TREE_CODE (_p1))
10090 : : {
10091 : 0 : case BIT_AND_EXPR:
10092 : 0 : {
10093 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
10094 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
10095 : 0 : switch (TREE_CODE (_q70))
10096 : : {
10097 : 0 : case GT_EXPR:
10098 : 0 : {
10099 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
10100 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
10101 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
10102 : : {
10103 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
10104 : : {
10105 : 0 : {
10106 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
10107 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
10108 : 0 : if (res) return res;
10109 : : }
10110 : : }
10111 : : }
10112 : : break;
10113 : : }
10114 : 0 : default:;
10115 : : }
10116 : 0 : switch (TREE_CODE (_q71))
10117 : : {
10118 : 0 : case GT_EXPR:
10119 : 0 : {
10120 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
10121 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
10122 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
10123 : : {
10124 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
10125 : : {
10126 : 0 : {
10127 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
10128 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
10129 : 0 : if (res) return res;
10130 : : }
10131 : : }
10132 : : }
10133 : : break;
10134 : : }
10135 : : default:;
10136 : : }
10137 : : break;
10138 : : }
10139 : : default:;
10140 : : }
10141 : : break;
10142 : : }
10143 : 0 : case UNGT_EXPR:
10144 : 0 : {
10145 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
10146 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
10147 : 0 : switch (TREE_CODE (_p1))
10148 : : {
10149 : 0 : case BIT_AND_EXPR:
10150 : 0 : {
10151 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
10152 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
10153 : 0 : switch (TREE_CODE (_q70))
10154 : : {
10155 : 0 : case LE_EXPR:
10156 : 0 : {
10157 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
10158 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
10159 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
10160 : : {
10161 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
10162 : : {
10163 : 0 : {
10164 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
10165 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
10166 : 0 : if (res) return res;
10167 : : }
10168 : : }
10169 : : }
10170 : : break;
10171 : : }
10172 : 0 : default:;
10173 : : }
10174 : 0 : switch (TREE_CODE (_q71))
10175 : : {
10176 : 0 : case LE_EXPR:
10177 : 0 : {
10178 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
10179 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
10180 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
10181 : : {
10182 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
10183 : : {
10184 : 0 : {
10185 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
10186 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
10187 : 0 : if (res) return res;
10188 : : }
10189 : : }
10190 : : }
10191 : : break;
10192 : : }
10193 : : default:;
10194 : : }
10195 : : break;
10196 : : }
10197 : : default:;
10198 : : }
10199 : : break;
10200 : : }
10201 : 0 : case UNGE_EXPR:
10202 : 0 : {
10203 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
10204 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
10205 : 0 : switch (TREE_CODE (_p1))
10206 : : {
10207 : 0 : case BIT_AND_EXPR:
10208 : 0 : {
10209 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
10210 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
10211 : 0 : switch (TREE_CODE (_q70))
10212 : : {
10213 : 0 : case LT_EXPR:
10214 : 0 : {
10215 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
10216 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
10217 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
10218 : : {
10219 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
10220 : : {
10221 : 0 : {
10222 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
10223 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
10224 : 0 : if (res) return res;
10225 : : }
10226 : : }
10227 : : }
10228 : : break;
10229 : : }
10230 : 0 : default:;
10231 : : }
10232 : 0 : switch (TREE_CODE (_q71))
10233 : : {
10234 : 0 : case LT_EXPR:
10235 : 0 : {
10236 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
10237 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
10238 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
10239 : : {
10240 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
10241 : : {
10242 : 0 : {
10243 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
10244 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
10245 : 0 : if (res) return res;
10246 : : }
10247 : : }
10248 : : }
10249 : : break;
10250 : : }
10251 : : default:;
10252 : : }
10253 : : break;
10254 : : }
10255 : : default:;
10256 : : }
10257 : : break;
10258 : : }
10259 : 0 : case UNEQ_EXPR:
10260 : 0 : {
10261 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
10262 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
10263 : 0 : switch (TREE_CODE (_p1))
10264 : : {
10265 : 0 : case BIT_AND_EXPR:
10266 : 0 : {
10267 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
10268 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
10269 : 0 : switch (TREE_CODE (_q70))
10270 : : {
10271 : 0 : case LTGT_EXPR:
10272 : 0 : {
10273 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
10274 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
10275 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
10276 : : {
10277 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
10278 : : {
10279 : 0 : {
10280 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
10281 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
10282 : 0 : if (res) return res;
10283 : : }
10284 : : }
10285 : : }
10286 : : break;
10287 : : }
10288 : 0 : default:;
10289 : : }
10290 : 0 : switch (TREE_CODE (_q71))
10291 : : {
10292 : 0 : case LTGT_EXPR:
10293 : 0 : {
10294 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
10295 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
10296 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
10297 : : {
10298 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
10299 : : {
10300 : 0 : {
10301 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
10302 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
10303 : 0 : if (res) return res;
10304 : : }
10305 : : }
10306 : : }
10307 : : break;
10308 : : }
10309 : : default:;
10310 : : }
10311 : : break;
10312 : : }
10313 : : default:;
10314 : : }
10315 : : break;
10316 : : }
10317 : 0 : case LTGT_EXPR:
10318 : 0 : {
10319 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
10320 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
10321 : 0 : switch (TREE_CODE (_p1))
10322 : : {
10323 : 0 : case BIT_AND_EXPR:
10324 : 0 : {
10325 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
10326 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
10327 : 0 : switch (TREE_CODE (_q70))
10328 : : {
10329 : 0 : case UNEQ_EXPR:
10330 : 0 : {
10331 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
10332 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
10333 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
10334 : : {
10335 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
10336 : : {
10337 : 0 : {
10338 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q70, _q71 };
10339 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
10340 : 0 : if (res) return res;
10341 : : }
10342 : : }
10343 : : }
10344 : : break;
10345 : : }
10346 : 0 : default:;
10347 : : }
10348 : 0 : switch (TREE_CODE (_q71))
10349 : : {
10350 : 0 : case UNEQ_EXPR:
10351 : 0 : {
10352 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
10353 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
10354 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
10355 : : {
10356 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
10357 : : {
10358 : 0 : {
10359 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q21, _q40, _q41, _q20, _q71, _q70 };
10360 : 0 : tree res = generic_simplify_107 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
10361 : 0 : if (res) return res;
10362 : : }
10363 : : }
10364 : : }
10365 : : break;
10366 : : }
10367 : : default:;
10368 : : }
10369 : : break;
10370 : : }
10371 : : default:;
10372 : : }
10373 : : break;
10374 : : }
10375 : 107843 : default:;
10376 : : }
10377 : 107843 : switch (TREE_CODE (_q20))
10378 : : {
10379 : 0 : case VEC_COND_EXPR:
10380 : 0 : {
10381 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
10382 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
10383 : 0 : tree _q32 = TREE_OPERAND (_q20, 2);
10384 : 0 : switch (TREE_CODE (_q30))
10385 : : {
10386 : 0 : case LT_EXPR:
10387 : 0 : {
10388 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
10389 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
10390 : 0 : switch (TREE_CODE (_p1))
10391 : : {
10392 : 0 : case BIT_AND_EXPR:
10393 : 0 : {
10394 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
10395 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
10396 : 0 : switch (TREE_CODE (_q100))
10397 : : {
10398 : 0 : case VEC_COND_EXPR:
10399 : 0 : {
10400 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10401 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10402 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
10403 : 0 : switch (TREE_CODE (_q110))
10404 : : {
10405 : 0 : case GE_EXPR:
10406 : 0 : {
10407 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
10408 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
10409 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
10410 : : {
10411 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
10412 : : {
10413 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
10414 : : {
10415 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
10416 : : {
10417 : 0 : {
10418 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
10419 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
10420 : 0 : if (res) return res;
10421 : : }
10422 : : }
10423 : : }
10424 : : }
10425 : : }
10426 : : break;
10427 : : }
10428 : : default:;
10429 : : }
10430 : : break;
10431 : : }
10432 : 0 : default:;
10433 : : }
10434 : 0 : switch (TREE_CODE (_q101))
10435 : : {
10436 : 0 : case VEC_COND_EXPR:
10437 : 0 : {
10438 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
10439 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
10440 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
10441 : 0 : switch (TREE_CODE (_q120))
10442 : : {
10443 : 0 : case GE_EXPR:
10444 : 0 : {
10445 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
10446 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
10447 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
10448 : : {
10449 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
10450 : : {
10451 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
10452 : : {
10453 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
10454 : : {
10455 : 0 : {
10456 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
10457 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
10458 : 0 : if (res) return res;
10459 : : }
10460 : : }
10461 : : }
10462 : : }
10463 : : }
10464 : : break;
10465 : : }
10466 : : default:;
10467 : : }
10468 : : break;
10469 : : }
10470 : : default:;
10471 : : }
10472 : : break;
10473 : : }
10474 : : default:;
10475 : : }
10476 : : break;
10477 : : }
10478 : 0 : case LE_EXPR:
10479 : 0 : {
10480 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
10481 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
10482 : 0 : switch (TREE_CODE (_p1))
10483 : : {
10484 : 0 : case BIT_AND_EXPR:
10485 : 0 : {
10486 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
10487 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
10488 : 0 : switch (TREE_CODE (_q100))
10489 : : {
10490 : 0 : case VEC_COND_EXPR:
10491 : 0 : {
10492 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10493 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10494 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
10495 : 0 : switch (TREE_CODE (_q110))
10496 : : {
10497 : 0 : case GT_EXPR:
10498 : 0 : {
10499 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
10500 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
10501 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
10502 : : {
10503 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
10504 : : {
10505 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
10506 : : {
10507 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
10508 : : {
10509 : 0 : {
10510 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
10511 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
10512 : 0 : if (res) return res;
10513 : : }
10514 : : }
10515 : : }
10516 : : }
10517 : : }
10518 : : break;
10519 : : }
10520 : : default:;
10521 : : }
10522 : : break;
10523 : : }
10524 : 0 : default:;
10525 : : }
10526 : 0 : switch (TREE_CODE (_q101))
10527 : : {
10528 : 0 : case VEC_COND_EXPR:
10529 : 0 : {
10530 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
10531 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
10532 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
10533 : 0 : switch (TREE_CODE (_q120))
10534 : : {
10535 : 0 : case GT_EXPR:
10536 : 0 : {
10537 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
10538 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
10539 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
10540 : : {
10541 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
10542 : : {
10543 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
10544 : : {
10545 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
10546 : : {
10547 : 0 : {
10548 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
10549 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
10550 : 0 : if (res) return res;
10551 : : }
10552 : : }
10553 : : }
10554 : : }
10555 : : }
10556 : : break;
10557 : : }
10558 : : default:;
10559 : : }
10560 : : break;
10561 : : }
10562 : : default:;
10563 : : }
10564 : : break;
10565 : : }
10566 : : default:;
10567 : : }
10568 : : break;
10569 : : }
10570 : 0 : case EQ_EXPR:
10571 : 0 : {
10572 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
10573 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
10574 : 0 : switch (TREE_CODE (_p1))
10575 : : {
10576 : 0 : case BIT_AND_EXPR:
10577 : 0 : {
10578 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
10579 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
10580 : 0 : switch (TREE_CODE (_q100))
10581 : : {
10582 : 0 : case VEC_COND_EXPR:
10583 : 0 : {
10584 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10585 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10586 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
10587 : 0 : switch (TREE_CODE (_q110))
10588 : : {
10589 : 0 : case NE_EXPR:
10590 : 0 : {
10591 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
10592 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
10593 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
10594 : : {
10595 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
10596 : : {
10597 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
10598 : : {
10599 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
10600 : : {
10601 : 0 : {
10602 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
10603 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
10604 : 0 : if (res) return res;
10605 : : }
10606 : : }
10607 : : }
10608 : : }
10609 : : }
10610 : : break;
10611 : : }
10612 : : default:;
10613 : : }
10614 : : break;
10615 : : }
10616 : 0 : default:;
10617 : : }
10618 : 0 : switch (TREE_CODE (_q101))
10619 : : {
10620 : 0 : case VEC_COND_EXPR:
10621 : 0 : {
10622 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
10623 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
10624 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
10625 : 0 : switch (TREE_CODE (_q120))
10626 : : {
10627 : 0 : case NE_EXPR:
10628 : 0 : {
10629 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
10630 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
10631 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
10632 : : {
10633 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
10634 : : {
10635 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
10636 : : {
10637 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
10638 : : {
10639 : 0 : {
10640 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
10641 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
10642 : 0 : if (res) return res;
10643 : : }
10644 : : }
10645 : : }
10646 : : }
10647 : : }
10648 : : break;
10649 : : }
10650 : : default:;
10651 : : }
10652 : : break;
10653 : : }
10654 : : default:;
10655 : : }
10656 : : break;
10657 : : }
10658 : : default:;
10659 : : }
10660 : : break;
10661 : : }
10662 : 0 : case NE_EXPR:
10663 : 0 : {
10664 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
10665 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
10666 : 0 : switch (TREE_CODE (_p1))
10667 : : {
10668 : 0 : case BIT_AND_EXPR:
10669 : 0 : {
10670 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
10671 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
10672 : 0 : switch (TREE_CODE (_q100))
10673 : : {
10674 : 0 : case VEC_COND_EXPR:
10675 : 0 : {
10676 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10677 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10678 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
10679 : 0 : switch (TREE_CODE (_q110))
10680 : : {
10681 : 0 : case EQ_EXPR:
10682 : 0 : {
10683 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
10684 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
10685 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
10686 : : {
10687 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
10688 : : {
10689 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
10690 : : {
10691 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
10692 : : {
10693 : 0 : {
10694 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
10695 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
10696 : 0 : if (res) return res;
10697 : : }
10698 : : }
10699 : : }
10700 : : }
10701 : : }
10702 : : break;
10703 : : }
10704 : : default:;
10705 : : }
10706 : : break;
10707 : : }
10708 : 0 : default:;
10709 : : }
10710 : 0 : switch (TREE_CODE (_q101))
10711 : : {
10712 : 0 : case VEC_COND_EXPR:
10713 : 0 : {
10714 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
10715 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
10716 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
10717 : 0 : switch (TREE_CODE (_q120))
10718 : : {
10719 : 0 : case EQ_EXPR:
10720 : 0 : {
10721 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
10722 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
10723 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
10724 : : {
10725 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
10726 : : {
10727 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
10728 : : {
10729 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
10730 : : {
10731 : 0 : {
10732 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
10733 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
10734 : 0 : if (res) return res;
10735 : : }
10736 : : }
10737 : : }
10738 : : }
10739 : : }
10740 : : break;
10741 : : }
10742 : : default:;
10743 : : }
10744 : : break;
10745 : : }
10746 : : default:;
10747 : : }
10748 : : break;
10749 : : }
10750 : : default:;
10751 : : }
10752 : : break;
10753 : : }
10754 : 0 : case GE_EXPR:
10755 : 0 : {
10756 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
10757 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
10758 : 0 : switch (TREE_CODE (_p1))
10759 : : {
10760 : 0 : case BIT_AND_EXPR:
10761 : 0 : {
10762 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
10763 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
10764 : 0 : switch (TREE_CODE (_q100))
10765 : : {
10766 : 0 : case VEC_COND_EXPR:
10767 : 0 : {
10768 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10769 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10770 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
10771 : 0 : switch (TREE_CODE (_q110))
10772 : : {
10773 : 0 : case LT_EXPR:
10774 : 0 : {
10775 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
10776 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
10777 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
10778 : : {
10779 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
10780 : : {
10781 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
10782 : : {
10783 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
10784 : : {
10785 : 0 : {
10786 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
10787 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
10788 : 0 : if (res) return res;
10789 : : }
10790 : : }
10791 : : }
10792 : : }
10793 : : }
10794 : : break;
10795 : : }
10796 : : default:;
10797 : : }
10798 : : break;
10799 : : }
10800 : 0 : default:;
10801 : : }
10802 : 0 : switch (TREE_CODE (_q101))
10803 : : {
10804 : 0 : case VEC_COND_EXPR:
10805 : 0 : {
10806 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
10807 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
10808 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
10809 : 0 : switch (TREE_CODE (_q120))
10810 : : {
10811 : 0 : case LT_EXPR:
10812 : 0 : {
10813 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
10814 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
10815 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
10816 : : {
10817 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
10818 : : {
10819 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
10820 : : {
10821 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
10822 : : {
10823 : 0 : {
10824 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
10825 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
10826 : 0 : if (res) return res;
10827 : : }
10828 : : }
10829 : : }
10830 : : }
10831 : : }
10832 : : break;
10833 : : }
10834 : : default:;
10835 : : }
10836 : : break;
10837 : : }
10838 : : default:;
10839 : : }
10840 : : break;
10841 : : }
10842 : : default:;
10843 : : }
10844 : : break;
10845 : : }
10846 : 0 : case GT_EXPR:
10847 : 0 : {
10848 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
10849 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
10850 : 0 : switch (TREE_CODE (_p1))
10851 : : {
10852 : 0 : case BIT_AND_EXPR:
10853 : 0 : {
10854 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
10855 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
10856 : 0 : switch (TREE_CODE (_q100))
10857 : : {
10858 : 0 : case VEC_COND_EXPR:
10859 : 0 : {
10860 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10861 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10862 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
10863 : 0 : switch (TREE_CODE (_q110))
10864 : : {
10865 : 0 : case LE_EXPR:
10866 : 0 : {
10867 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
10868 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
10869 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
10870 : : {
10871 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
10872 : : {
10873 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
10874 : : {
10875 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
10876 : : {
10877 : 0 : {
10878 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
10879 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
10880 : 0 : if (res) return res;
10881 : : }
10882 : : }
10883 : : }
10884 : : }
10885 : : }
10886 : : break;
10887 : : }
10888 : : default:;
10889 : : }
10890 : : break;
10891 : : }
10892 : 0 : default:;
10893 : : }
10894 : 0 : switch (TREE_CODE (_q101))
10895 : : {
10896 : 0 : case VEC_COND_EXPR:
10897 : 0 : {
10898 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
10899 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
10900 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
10901 : 0 : switch (TREE_CODE (_q120))
10902 : : {
10903 : 0 : case LE_EXPR:
10904 : 0 : {
10905 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
10906 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
10907 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
10908 : : {
10909 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
10910 : : {
10911 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
10912 : : {
10913 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
10914 : : {
10915 : 0 : {
10916 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
10917 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
10918 : 0 : if (res) return res;
10919 : : }
10920 : : }
10921 : : }
10922 : : }
10923 : : }
10924 : : break;
10925 : : }
10926 : : default:;
10927 : : }
10928 : : break;
10929 : : }
10930 : : default:;
10931 : : }
10932 : : break;
10933 : : }
10934 : : default:;
10935 : : }
10936 : : break;
10937 : : }
10938 : 0 : case UNORDERED_EXPR:
10939 : 0 : {
10940 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
10941 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
10942 : 0 : switch (TREE_CODE (_p1))
10943 : : {
10944 : 0 : case BIT_AND_EXPR:
10945 : 0 : {
10946 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
10947 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
10948 : 0 : switch (TREE_CODE (_q100))
10949 : : {
10950 : 0 : case VEC_COND_EXPR:
10951 : 0 : {
10952 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
10953 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
10954 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
10955 : 0 : switch (TREE_CODE (_q110))
10956 : : {
10957 : 0 : case ORDERED_EXPR:
10958 : 0 : {
10959 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
10960 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
10961 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
10962 : : {
10963 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
10964 : : {
10965 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
10966 : : {
10967 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
10968 : : {
10969 : 0 : {
10970 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
10971 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
10972 : 0 : if (res) return res;
10973 : : }
10974 : : }
10975 : : }
10976 : : }
10977 : : }
10978 : : break;
10979 : : }
10980 : : default:;
10981 : : }
10982 : : break;
10983 : : }
10984 : 0 : default:;
10985 : : }
10986 : 0 : switch (TREE_CODE (_q101))
10987 : : {
10988 : 0 : case VEC_COND_EXPR:
10989 : 0 : {
10990 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
10991 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
10992 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
10993 : 0 : switch (TREE_CODE (_q120))
10994 : : {
10995 : 0 : case ORDERED_EXPR:
10996 : 0 : {
10997 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
10998 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
10999 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
11000 : : {
11001 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
11002 : : {
11003 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
11004 : : {
11005 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
11006 : : {
11007 : 0 : {
11008 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
11009 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
11010 : 0 : if (res) return res;
11011 : : }
11012 : : }
11013 : : }
11014 : : }
11015 : : }
11016 : : break;
11017 : : }
11018 : : default:;
11019 : : }
11020 : : break;
11021 : : }
11022 : : default:;
11023 : : }
11024 : : break;
11025 : : }
11026 : : default:;
11027 : : }
11028 : : break;
11029 : : }
11030 : 0 : case ORDERED_EXPR:
11031 : 0 : {
11032 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
11033 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
11034 : 0 : switch (TREE_CODE (_p1))
11035 : : {
11036 : 0 : case BIT_AND_EXPR:
11037 : 0 : {
11038 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
11039 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
11040 : 0 : switch (TREE_CODE (_q100))
11041 : : {
11042 : 0 : case VEC_COND_EXPR:
11043 : 0 : {
11044 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11045 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11046 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
11047 : 0 : switch (TREE_CODE (_q110))
11048 : : {
11049 : 0 : case UNORDERED_EXPR:
11050 : 0 : {
11051 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
11052 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
11053 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
11054 : : {
11055 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
11056 : : {
11057 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
11058 : : {
11059 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
11060 : : {
11061 : 0 : {
11062 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
11063 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
11064 : 0 : if (res) return res;
11065 : : }
11066 : : }
11067 : : }
11068 : : }
11069 : : }
11070 : : break;
11071 : : }
11072 : : default:;
11073 : : }
11074 : : break;
11075 : : }
11076 : 0 : default:;
11077 : : }
11078 : 0 : switch (TREE_CODE (_q101))
11079 : : {
11080 : 0 : case VEC_COND_EXPR:
11081 : 0 : {
11082 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
11083 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
11084 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
11085 : 0 : switch (TREE_CODE (_q120))
11086 : : {
11087 : 0 : case UNORDERED_EXPR:
11088 : 0 : {
11089 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
11090 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
11091 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
11092 : : {
11093 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
11094 : : {
11095 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
11096 : : {
11097 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
11098 : : {
11099 : 0 : {
11100 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
11101 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
11102 : 0 : if (res) return res;
11103 : : }
11104 : : }
11105 : : }
11106 : : }
11107 : : }
11108 : : break;
11109 : : }
11110 : : default:;
11111 : : }
11112 : : break;
11113 : : }
11114 : : default:;
11115 : : }
11116 : : break;
11117 : : }
11118 : : default:;
11119 : : }
11120 : : break;
11121 : : }
11122 : 0 : case UNLT_EXPR:
11123 : 0 : {
11124 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
11125 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
11126 : 0 : switch (TREE_CODE (_p1))
11127 : : {
11128 : 0 : case BIT_AND_EXPR:
11129 : 0 : {
11130 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
11131 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
11132 : 0 : switch (TREE_CODE (_q100))
11133 : : {
11134 : 0 : case VEC_COND_EXPR:
11135 : 0 : {
11136 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11137 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11138 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
11139 : 0 : switch (TREE_CODE (_q110))
11140 : : {
11141 : 0 : case GE_EXPR:
11142 : 0 : {
11143 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
11144 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
11145 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
11146 : : {
11147 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
11148 : : {
11149 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
11150 : : {
11151 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
11152 : : {
11153 : 0 : {
11154 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
11155 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
11156 : 0 : if (res) return res;
11157 : : }
11158 : : }
11159 : : }
11160 : : }
11161 : : }
11162 : : break;
11163 : : }
11164 : : default:;
11165 : : }
11166 : : break;
11167 : : }
11168 : 0 : default:;
11169 : : }
11170 : 0 : switch (TREE_CODE (_q101))
11171 : : {
11172 : 0 : case VEC_COND_EXPR:
11173 : 0 : {
11174 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
11175 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
11176 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
11177 : 0 : switch (TREE_CODE (_q120))
11178 : : {
11179 : 0 : case GE_EXPR:
11180 : 0 : {
11181 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
11182 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
11183 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
11184 : : {
11185 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
11186 : : {
11187 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
11188 : : {
11189 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
11190 : : {
11191 : 0 : {
11192 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
11193 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
11194 : 0 : if (res) return res;
11195 : : }
11196 : : }
11197 : : }
11198 : : }
11199 : : }
11200 : : break;
11201 : : }
11202 : : default:;
11203 : : }
11204 : : break;
11205 : : }
11206 : : default:;
11207 : : }
11208 : : break;
11209 : : }
11210 : : default:;
11211 : : }
11212 : : break;
11213 : : }
11214 : 0 : case UNLE_EXPR:
11215 : 0 : {
11216 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
11217 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
11218 : 0 : switch (TREE_CODE (_p1))
11219 : : {
11220 : 0 : case BIT_AND_EXPR:
11221 : 0 : {
11222 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
11223 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
11224 : 0 : switch (TREE_CODE (_q100))
11225 : : {
11226 : 0 : case VEC_COND_EXPR:
11227 : 0 : {
11228 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11229 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11230 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
11231 : 0 : switch (TREE_CODE (_q110))
11232 : : {
11233 : 0 : case GT_EXPR:
11234 : 0 : {
11235 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
11236 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
11237 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
11238 : : {
11239 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
11240 : : {
11241 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
11242 : : {
11243 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
11244 : : {
11245 : 0 : {
11246 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
11247 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
11248 : 0 : if (res) return res;
11249 : : }
11250 : : }
11251 : : }
11252 : : }
11253 : : }
11254 : : break;
11255 : : }
11256 : : default:;
11257 : : }
11258 : : break;
11259 : : }
11260 : 0 : default:;
11261 : : }
11262 : 0 : switch (TREE_CODE (_q101))
11263 : : {
11264 : 0 : case VEC_COND_EXPR:
11265 : 0 : {
11266 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
11267 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
11268 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
11269 : 0 : switch (TREE_CODE (_q120))
11270 : : {
11271 : 0 : case GT_EXPR:
11272 : 0 : {
11273 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
11274 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
11275 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
11276 : : {
11277 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
11278 : : {
11279 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
11280 : : {
11281 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
11282 : : {
11283 : 0 : {
11284 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
11285 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
11286 : 0 : if (res) return res;
11287 : : }
11288 : : }
11289 : : }
11290 : : }
11291 : : }
11292 : : break;
11293 : : }
11294 : : default:;
11295 : : }
11296 : : break;
11297 : : }
11298 : : default:;
11299 : : }
11300 : : break;
11301 : : }
11302 : : default:;
11303 : : }
11304 : : break;
11305 : : }
11306 : 0 : case UNGT_EXPR:
11307 : 0 : {
11308 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
11309 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
11310 : 0 : switch (TREE_CODE (_p1))
11311 : : {
11312 : 0 : case BIT_AND_EXPR:
11313 : 0 : {
11314 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
11315 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
11316 : 0 : switch (TREE_CODE (_q100))
11317 : : {
11318 : 0 : case VEC_COND_EXPR:
11319 : 0 : {
11320 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11321 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11322 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
11323 : 0 : switch (TREE_CODE (_q110))
11324 : : {
11325 : 0 : case LE_EXPR:
11326 : 0 : {
11327 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
11328 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
11329 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
11330 : : {
11331 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
11332 : : {
11333 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
11334 : : {
11335 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
11336 : : {
11337 : 0 : {
11338 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
11339 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
11340 : 0 : if (res) return res;
11341 : : }
11342 : : }
11343 : : }
11344 : : }
11345 : : }
11346 : : break;
11347 : : }
11348 : : default:;
11349 : : }
11350 : : break;
11351 : : }
11352 : 0 : default:;
11353 : : }
11354 : 0 : switch (TREE_CODE (_q101))
11355 : : {
11356 : 0 : case VEC_COND_EXPR:
11357 : 0 : {
11358 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
11359 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
11360 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
11361 : 0 : switch (TREE_CODE (_q120))
11362 : : {
11363 : 0 : case LE_EXPR:
11364 : 0 : {
11365 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
11366 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
11367 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
11368 : : {
11369 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
11370 : : {
11371 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
11372 : : {
11373 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
11374 : : {
11375 : 0 : {
11376 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
11377 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
11378 : 0 : if (res) return res;
11379 : : }
11380 : : }
11381 : : }
11382 : : }
11383 : : }
11384 : : break;
11385 : : }
11386 : : default:;
11387 : : }
11388 : : break;
11389 : : }
11390 : : default:;
11391 : : }
11392 : : break;
11393 : : }
11394 : : default:;
11395 : : }
11396 : : break;
11397 : : }
11398 : 0 : case UNGE_EXPR:
11399 : 0 : {
11400 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
11401 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
11402 : 0 : switch (TREE_CODE (_p1))
11403 : : {
11404 : 0 : case BIT_AND_EXPR:
11405 : 0 : {
11406 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
11407 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
11408 : 0 : switch (TREE_CODE (_q100))
11409 : : {
11410 : 0 : case VEC_COND_EXPR:
11411 : 0 : {
11412 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11413 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11414 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
11415 : 0 : switch (TREE_CODE (_q110))
11416 : : {
11417 : 0 : case LT_EXPR:
11418 : 0 : {
11419 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
11420 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
11421 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
11422 : : {
11423 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
11424 : : {
11425 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
11426 : : {
11427 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
11428 : : {
11429 : 0 : {
11430 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
11431 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
11432 : 0 : if (res) return res;
11433 : : }
11434 : : }
11435 : : }
11436 : : }
11437 : : }
11438 : : break;
11439 : : }
11440 : : default:;
11441 : : }
11442 : : break;
11443 : : }
11444 : 0 : default:;
11445 : : }
11446 : 0 : switch (TREE_CODE (_q101))
11447 : : {
11448 : 0 : case VEC_COND_EXPR:
11449 : 0 : {
11450 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
11451 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
11452 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
11453 : 0 : switch (TREE_CODE (_q120))
11454 : : {
11455 : 0 : case LT_EXPR:
11456 : 0 : {
11457 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
11458 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
11459 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
11460 : : {
11461 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
11462 : : {
11463 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
11464 : : {
11465 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
11466 : : {
11467 : 0 : {
11468 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
11469 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
11470 : 0 : if (res) return res;
11471 : : }
11472 : : }
11473 : : }
11474 : : }
11475 : : }
11476 : : break;
11477 : : }
11478 : : default:;
11479 : : }
11480 : : break;
11481 : : }
11482 : : default:;
11483 : : }
11484 : : break;
11485 : : }
11486 : : default:;
11487 : : }
11488 : : break;
11489 : : }
11490 : 0 : case UNEQ_EXPR:
11491 : 0 : {
11492 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
11493 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
11494 : 0 : switch (TREE_CODE (_p1))
11495 : : {
11496 : 0 : case BIT_AND_EXPR:
11497 : 0 : {
11498 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
11499 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
11500 : 0 : switch (TREE_CODE (_q100))
11501 : : {
11502 : 0 : case VEC_COND_EXPR:
11503 : 0 : {
11504 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11505 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11506 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
11507 : 0 : switch (TREE_CODE (_q110))
11508 : : {
11509 : 0 : case LTGT_EXPR:
11510 : 0 : {
11511 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
11512 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
11513 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
11514 : : {
11515 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
11516 : : {
11517 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
11518 : : {
11519 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
11520 : : {
11521 : 0 : {
11522 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
11523 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
11524 : 0 : if (res) return res;
11525 : : }
11526 : : }
11527 : : }
11528 : : }
11529 : : }
11530 : : break;
11531 : : }
11532 : : default:;
11533 : : }
11534 : : break;
11535 : : }
11536 : 0 : default:;
11537 : : }
11538 : 0 : switch (TREE_CODE (_q101))
11539 : : {
11540 : 0 : case VEC_COND_EXPR:
11541 : 0 : {
11542 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
11543 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
11544 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
11545 : 0 : switch (TREE_CODE (_q120))
11546 : : {
11547 : 0 : case LTGT_EXPR:
11548 : 0 : {
11549 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
11550 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
11551 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
11552 : : {
11553 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
11554 : : {
11555 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
11556 : : {
11557 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
11558 : : {
11559 : 0 : {
11560 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
11561 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
11562 : 0 : if (res) return res;
11563 : : }
11564 : : }
11565 : : }
11566 : : }
11567 : : }
11568 : : break;
11569 : : }
11570 : : default:;
11571 : : }
11572 : : break;
11573 : : }
11574 : : default:;
11575 : : }
11576 : : break;
11577 : : }
11578 : : default:;
11579 : : }
11580 : : break;
11581 : : }
11582 : 0 : case LTGT_EXPR:
11583 : 0 : {
11584 : 0 : tree _q40 = TREE_OPERAND (_q30, 0);
11585 : 0 : tree _q41 = TREE_OPERAND (_q30, 1);
11586 : 0 : switch (TREE_CODE (_p1))
11587 : : {
11588 : 0 : case BIT_AND_EXPR:
11589 : 0 : {
11590 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
11591 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
11592 : 0 : switch (TREE_CODE (_q100))
11593 : : {
11594 : 0 : case VEC_COND_EXPR:
11595 : 0 : {
11596 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11597 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11598 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
11599 : 0 : switch (TREE_CODE (_q110))
11600 : : {
11601 : 0 : case UNEQ_EXPR:
11602 : 0 : {
11603 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
11604 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
11605 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
11606 : : {
11607 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
11608 : : {
11609 : 0 : if ((_q111 == _q31 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q31, 0) && types_match (_q111, _q31)))
11610 : : {
11611 : 0 : if ((_q112 == _q32 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q32, 0) && types_match (_q112, _q32)))
11612 : : {
11613 : 0 : {
11614 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q100, _q110, _q101 };
11615 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
11616 : 0 : if (res) return res;
11617 : : }
11618 : : }
11619 : : }
11620 : : }
11621 : : }
11622 : : break;
11623 : : }
11624 : : default:;
11625 : : }
11626 : : break;
11627 : : }
11628 : 0 : default:;
11629 : : }
11630 : 0 : switch (TREE_CODE (_q101))
11631 : : {
11632 : 0 : case VEC_COND_EXPR:
11633 : 0 : {
11634 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
11635 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
11636 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
11637 : 0 : switch (TREE_CODE (_q120))
11638 : : {
11639 : 0 : case UNEQ_EXPR:
11640 : 0 : {
11641 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
11642 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
11643 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
11644 : : {
11645 : 0 : if ((_q131 == _q41 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q41, 0) && types_match (_q131, _q41)))
11646 : : {
11647 : 0 : if ((_q121 == _q31 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q31, 0) && types_match (_q121, _q31)))
11648 : : {
11649 : 0 : if ((_q122 == _q32 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q32, 0) && types_match (_q122, _q32)))
11650 : : {
11651 : 0 : {
11652 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q41, _q31, _q32, _q21, _q101, _q120, _q100 };
11653 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
11654 : 0 : if (res) return res;
11655 : : }
11656 : : }
11657 : : }
11658 : : }
11659 : : }
11660 : : break;
11661 : : }
11662 : : default:;
11663 : : }
11664 : : break;
11665 : : }
11666 : : default:;
11667 : : }
11668 : : break;
11669 : : }
11670 : : default:;
11671 : : }
11672 : : break;
11673 : : }
11674 : : default:;
11675 : : }
11676 : : break;
11677 : : }
11678 : 107843 : default:;
11679 : : }
11680 : 107843 : switch (TREE_CODE (_q21))
11681 : : {
11682 : 0 : case VEC_COND_EXPR:
11683 : 0 : {
11684 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
11685 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
11686 : 0 : tree _q42 = TREE_OPERAND (_q21, 2);
11687 : 0 : switch (TREE_CODE (_q40))
11688 : : {
11689 : 0 : case LT_EXPR:
11690 : 0 : {
11691 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
11692 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
11693 : 0 : switch (TREE_CODE (_p1))
11694 : : {
11695 : 0 : case BIT_AND_EXPR:
11696 : 0 : {
11697 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
11698 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
11699 : 0 : switch (TREE_CODE (_q100))
11700 : : {
11701 : 0 : case VEC_COND_EXPR:
11702 : 0 : {
11703 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11704 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11705 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
11706 : 0 : switch (TREE_CODE (_q110))
11707 : : {
11708 : 0 : case GE_EXPR:
11709 : 0 : {
11710 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
11711 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
11712 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
11713 : : {
11714 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
11715 : : {
11716 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
11717 : : {
11718 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
11719 : : {
11720 : 0 : {
11721 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
11722 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
11723 : 0 : if (res) return res;
11724 : : }
11725 : : }
11726 : : }
11727 : : }
11728 : : }
11729 : : break;
11730 : : }
11731 : : default:;
11732 : : }
11733 : : break;
11734 : : }
11735 : 0 : default:;
11736 : : }
11737 : 0 : switch (TREE_CODE (_q101))
11738 : : {
11739 : 0 : case VEC_COND_EXPR:
11740 : 0 : {
11741 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
11742 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
11743 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
11744 : 0 : switch (TREE_CODE (_q120))
11745 : : {
11746 : 0 : case GE_EXPR:
11747 : 0 : {
11748 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
11749 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
11750 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
11751 : : {
11752 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
11753 : : {
11754 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
11755 : : {
11756 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
11757 : : {
11758 : 0 : {
11759 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
11760 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
11761 : 0 : if (res) return res;
11762 : : }
11763 : : }
11764 : : }
11765 : : }
11766 : : }
11767 : : break;
11768 : : }
11769 : : default:;
11770 : : }
11771 : : break;
11772 : : }
11773 : : default:;
11774 : : }
11775 : : break;
11776 : : }
11777 : : default:;
11778 : : }
11779 : : break;
11780 : : }
11781 : 0 : case LE_EXPR:
11782 : 0 : {
11783 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
11784 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
11785 : 0 : switch (TREE_CODE (_p1))
11786 : : {
11787 : 0 : case BIT_AND_EXPR:
11788 : 0 : {
11789 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
11790 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
11791 : 0 : switch (TREE_CODE (_q100))
11792 : : {
11793 : 0 : case VEC_COND_EXPR:
11794 : 0 : {
11795 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11796 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11797 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
11798 : 0 : switch (TREE_CODE (_q110))
11799 : : {
11800 : 0 : case GT_EXPR:
11801 : 0 : {
11802 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
11803 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
11804 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
11805 : : {
11806 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
11807 : : {
11808 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
11809 : : {
11810 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
11811 : : {
11812 : 0 : {
11813 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
11814 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
11815 : 0 : if (res) return res;
11816 : : }
11817 : : }
11818 : : }
11819 : : }
11820 : : }
11821 : : break;
11822 : : }
11823 : : default:;
11824 : : }
11825 : : break;
11826 : : }
11827 : 0 : default:;
11828 : : }
11829 : 0 : switch (TREE_CODE (_q101))
11830 : : {
11831 : 0 : case VEC_COND_EXPR:
11832 : 0 : {
11833 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
11834 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
11835 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
11836 : 0 : switch (TREE_CODE (_q120))
11837 : : {
11838 : 0 : case GT_EXPR:
11839 : 0 : {
11840 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
11841 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
11842 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
11843 : : {
11844 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
11845 : : {
11846 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
11847 : : {
11848 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
11849 : : {
11850 : 0 : {
11851 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
11852 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
11853 : 0 : if (res) return res;
11854 : : }
11855 : : }
11856 : : }
11857 : : }
11858 : : }
11859 : : break;
11860 : : }
11861 : : default:;
11862 : : }
11863 : : break;
11864 : : }
11865 : : default:;
11866 : : }
11867 : : break;
11868 : : }
11869 : : default:;
11870 : : }
11871 : : break;
11872 : : }
11873 : 0 : case EQ_EXPR:
11874 : 0 : {
11875 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
11876 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
11877 : 0 : switch (TREE_CODE (_p1))
11878 : : {
11879 : 0 : case BIT_AND_EXPR:
11880 : 0 : {
11881 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
11882 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
11883 : 0 : switch (TREE_CODE (_q100))
11884 : : {
11885 : 0 : case VEC_COND_EXPR:
11886 : 0 : {
11887 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11888 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11889 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
11890 : 0 : switch (TREE_CODE (_q110))
11891 : : {
11892 : 0 : case NE_EXPR:
11893 : 0 : {
11894 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
11895 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
11896 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
11897 : : {
11898 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
11899 : : {
11900 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
11901 : : {
11902 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
11903 : : {
11904 : 0 : {
11905 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
11906 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
11907 : 0 : if (res) return res;
11908 : : }
11909 : : }
11910 : : }
11911 : : }
11912 : : }
11913 : : break;
11914 : : }
11915 : : default:;
11916 : : }
11917 : : break;
11918 : : }
11919 : 0 : default:;
11920 : : }
11921 : 0 : switch (TREE_CODE (_q101))
11922 : : {
11923 : 0 : case VEC_COND_EXPR:
11924 : 0 : {
11925 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
11926 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
11927 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
11928 : 0 : switch (TREE_CODE (_q120))
11929 : : {
11930 : 0 : case NE_EXPR:
11931 : 0 : {
11932 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
11933 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
11934 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
11935 : : {
11936 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
11937 : : {
11938 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
11939 : : {
11940 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
11941 : : {
11942 : 0 : {
11943 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
11944 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
11945 : 0 : if (res) return res;
11946 : : }
11947 : : }
11948 : : }
11949 : : }
11950 : : }
11951 : : break;
11952 : : }
11953 : : default:;
11954 : : }
11955 : : break;
11956 : : }
11957 : : default:;
11958 : : }
11959 : : break;
11960 : : }
11961 : : default:;
11962 : : }
11963 : : break;
11964 : : }
11965 : 0 : case NE_EXPR:
11966 : 0 : {
11967 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
11968 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
11969 : 0 : switch (TREE_CODE (_p1))
11970 : : {
11971 : 0 : case BIT_AND_EXPR:
11972 : 0 : {
11973 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
11974 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
11975 : 0 : switch (TREE_CODE (_q100))
11976 : : {
11977 : 0 : case VEC_COND_EXPR:
11978 : 0 : {
11979 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
11980 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
11981 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
11982 : 0 : switch (TREE_CODE (_q110))
11983 : : {
11984 : 0 : case EQ_EXPR:
11985 : 0 : {
11986 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
11987 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
11988 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
11989 : : {
11990 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
11991 : : {
11992 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
11993 : : {
11994 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
11995 : : {
11996 : 0 : {
11997 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
11998 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
11999 : 0 : if (res) return res;
12000 : : }
12001 : : }
12002 : : }
12003 : : }
12004 : : }
12005 : : break;
12006 : : }
12007 : : default:;
12008 : : }
12009 : : break;
12010 : : }
12011 : 0 : default:;
12012 : : }
12013 : 0 : switch (TREE_CODE (_q101))
12014 : : {
12015 : 0 : case VEC_COND_EXPR:
12016 : 0 : {
12017 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
12018 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
12019 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
12020 : 0 : switch (TREE_CODE (_q120))
12021 : : {
12022 : 0 : case EQ_EXPR:
12023 : 0 : {
12024 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
12025 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
12026 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
12027 : : {
12028 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
12029 : : {
12030 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
12031 : : {
12032 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
12033 : : {
12034 : 0 : {
12035 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
12036 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
12037 : 0 : if (res) return res;
12038 : : }
12039 : : }
12040 : : }
12041 : : }
12042 : : }
12043 : : break;
12044 : : }
12045 : : default:;
12046 : : }
12047 : : break;
12048 : : }
12049 : : default:;
12050 : : }
12051 : : break;
12052 : : }
12053 : : default:;
12054 : : }
12055 : : break;
12056 : : }
12057 : 0 : case GE_EXPR:
12058 : 0 : {
12059 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
12060 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
12061 : 0 : switch (TREE_CODE (_p1))
12062 : : {
12063 : 0 : case BIT_AND_EXPR:
12064 : 0 : {
12065 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
12066 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
12067 : 0 : switch (TREE_CODE (_q100))
12068 : : {
12069 : 0 : case VEC_COND_EXPR:
12070 : 0 : {
12071 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
12072 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
12073 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
12074 : 0 : switch (TREE_CODE (_q110))
12075 : : {
12076 : 0 : case LT_EXPR:
12077 : 0 : {
12078 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
12079 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
12080 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
12081 : : {
12082 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
12083 : : {
12084 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
12085 : : {
12086 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
12087 : : {
12088 : 0 : {
12089 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
12090 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
12091 : 0 : if (res) return res;
12092 : : }
12093 : : }
12094 : : }
12095 : : }
12096 : : }
12097 : : break;
12098 : : }
12099 : : default:;
12100 : : }
12101 : : break;
12102 : : }
12103 : 0 : default:;
12104 : : }
12105 : 0 : switch (TREE_CODE (_q101))
12106 : : {
12107 : 0 : case VEC_COND_EXPR:
12108 : 0 : {
12109 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
12110 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
12111 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
12112 : 0 : switch (TREE_CODE (_q120))
12113 : : {
12114 : 0 : case LT_EXPR:
12115 : 0 : {
12116 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
12117 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
12118 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
12119 : : {
12120 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
12121 : : {
12122 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
12123 : : {
12124 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
12125 : : {
12126 : 0 : {
12127 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
12128 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
12129 : 0 : if (res) return res;
12130 : : }
12131 : : }
12132 : : }
12133 : : }
12134 : : }
12135 : : break;
12136 : : }
12137 : : default:;
12138 : : }
12139 : : break;
12140 : : }
12141 : : default:;
12142 : : }
12143 : : break;
12144 : : }
12145 : : default:;
12146 : : }
12147 : : break;
12148 : : }
12149 : 0 : case GT_EXPR:
12150 : 0 : {
12151 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
12152 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
12153 : 0 : switch (TREE_CODE (_p1))
12154 : : {
12155 : 0 : case BIT_AND_EXPR:
12156 : 0 : {
12157 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
12158 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
12159 : 0 : switch (TREE_CODE (_q100))
12160 : : {
12161 : 0 : case VEC_COND_EXPR:
12162 : 0 : {
12163 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
12164 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
12165 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
12166 : 0 : switch (TREE_CODE (_q110))
12167 : : {
12168 : 0 : case LE_EXPR:
12169 : 0 : {
12170 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
12171 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
12172 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
12173 : : {
12174 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
12175 : : {
12176 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
12177 : : {
12178 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
12179 : : {
12180 : 0 : {
12181 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
12182 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
12183 : 0 : if (res) return res;
12184 : : }
12185 : : }
12186 : : }
12187 : : }
12188 : : }
12189 : : break;
12190 : : }
12191 : : default:;
12192 : : }
12193 : : break;
12194 : : }
12195 : 0 : default:;
12196 : : }
12197 : 0 : switch (TREE_CODE (_q101))
12198 : : {
12199 : 0 : case VEC_COND_EXPR:
12200 : 0 : {
12201 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
12202 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
12203 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
12204 : 0 : switch (TREE_CODE (_q120))
12205 : : {
12206 : 0 : case LE_EXPR:
12207 : 0 : {
12208 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
12209 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
12210 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
12211 : : {
12212 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
12213 : : {
12214 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
12215 : : {
12216 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
12217 : : {
12218 : 0 : {
12219 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
12220 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
12221 : 0 : if (res) return res;
12222 : : }
12223 : : }
12224 : : }
12225 : : }
12226 : : }
12227 : : break;
12228 : : }
12229 : : default:;
12230 : : }
12231 : : break;
12232 : : }
12233 : : default:;
12234 : : }
12235 : : break;
12236 : : }
12237 : : default:;
12238 : : }
12239 : : break;
12240 : : }
12241 : 0 : case UNORDERED_EXPR:
12242 : 0 : {
12243 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
12244 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
12245 : 0 : switch (TREE_CODE (_p1))
12246 : : {
12247 : 0 : case BIT_AND_EXPR:
12248 : 0 : {
12249 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
12250 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
12251 : 0 : switch (TREE_CODE (_q100))
12252 : : {
12253 : 0 : case VEC_COND_EXPR:
12254 : 0 : {
12255 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
12256 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
12257 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
12258 : 0 : switch (TREE_CODE (_q110))
12259 : : {
12260 : 0 : case ORDERED_EXPR:
12261 : 0 : {
12262 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
12263 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
12264 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
12265 : : {
12266 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
12267 : : {
12268 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
12269 : : {
12270 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
12271 : : {
12272 : 0 : {
12273 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
12274 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
12275 : 0 : if (res) return res;
12276 : : }
12277 : : }
12278 : : }
12279 : : }
12280 : : }
12281 : : break;
12282 : : }
12283 : : default:;
12284 : : }
12285 : : break;
12286 : : }
12287 : 0 : default:;
12288 : : }
12289 : 0 : switch (TREE_CODE (_q101))
12290 : : {
12291 : 0 : case VEC_COND_EXPR:
12292 : 0 : {
12293 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
12294 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
12295 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
12296 : 0 : switch (TREE_CODE (_q120))
12297 : : {
12298 : 0 : case ORDERED_EXPR:
12299 : 0 : {
12300 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
12301 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
12302 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
12303 : : {
12304 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
12305 : : {
12306 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
12307 : : {
12308 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
12309 : : {
12310 : 0 : {
12311 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
12312 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
12313 : 0 : if (res) return res;
12314 : : }
12315 : : }
12316 : : }
12317 : : }
12318 : : }
12319 : : break;
12320 : : }
12321 : : default:;
12322 : : }
12323 : : break;
12324 : : }
12325 : : default:;
12326 : : }
12327 : : break;
12328 : : }
12329 : : default:;
12330 : : }
12331 : : break;
12332 : : }
12333 : 0 : case ORDERED_EXPR:
12334 : 0 : {
12335 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
12336 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
12337 : 0 : switch (TREE_CODE (_p1))
12338 : : {
12339 : 0 : case BIT_AND_EXPR:
12340 : 0 : {
12341 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
12342 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
12343 : 0 : switch (TREE_CODE (_q100))
12344 : : {
12345 : 0 : case VEC_COND_EXPR:
12346 : 0 : {
12347 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
12348 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
12349 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
12350 : 0 : switch (TREE_CODE (_q110))
12351 : : {
12352 : 0 : case UNORDERED_EXPR:
12353 : 0 : {
12354 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
12355 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
12356 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
12357 : : {
12358 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
12359 : : {
12360 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
12361 : : {
12362 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
12363 : : {
12364 : 0 : {
12365 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
12366 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
12367 : 0 : if (res) return res;
12368 : : }
12369 : : }
12370 : : }
12371 : : }
12372 : : }
12373 : : break;
12374 : : }
12375 : : default:;
12376 : : }
12377 : : break;
12378 : : }
12379 : 0 : default:;
12380 : : }
12381 : 0 : switch (TREE_CODE (_q101))
12382 : : {
12383 : 0 : case VEC_COND_EXPR:
12384 : 0 : {
12385 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
12386 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
12387 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
12388 : 0 : switch (TREE_CODE (_q120))
12389 : : {
12390 : 0 : case UNORDERED_EXPR:
12391 : 0 : {
12392 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
12393 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
12394 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
12395 : : {
12396 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
12397 : : {
12398 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
12399 : : {
12400 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
12401 : : {
12402 : 0 : {
12403 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
12404 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
12405 : 0 : if (res) return res;
12406 : : }
12407 : : }
12408 : : }
12409 : : }
12410 : : }
12411 : : break;
12412 : : }
12413 : : default:;
12414 : : }
12415 : : break;
12416 : : }
12417 : : default:;
12418 : : }
12419 : : break;
12420 : : }
12421 : : default:;
12422 : : }
12423 : : break;
12424 : : }
12425 : 0 : case UNLT_EXPR:
12426 : 0 : {
12427 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
12428 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
12429 : 0 : switch (TREE_CODE (_p1))
12430 : : {
12431 : 0 : case BIT_AND_EXPR:
12432 : 0 : {
12433 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
12434 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
12435 : 0 : switch (TREE_CODE (_q100))
12436 : : {
12437 : 0 : case VEC_COND_EXPR:
12438 : 0 : {
12439 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
12440 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
12441 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
12442 : 0 : switch (TREE_CODE (_q110))
12443 : : {
12444 : 0 : case GE_EXPR:
12445 : 0 : {
12446 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
12447 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
12448 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
12449 : : {
12450 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
12451 : : {
12452 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
12453 : : {
12454 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
12455 : : {
12456 : 0 : {
12457 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
12458 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
12459 : 0 : if (res) return res;
12460 : : }
12461 : : }
12462 : : }
12463 : : }
12464 : : }
12465 : : break;
12466 : : }
12467 : : default:;
12468 : : }
12469 : : break;
12470 : : }
12471 : 0 : default:;
12472 : : }
12473 : 0 : switch (TREE_CODE (_q101))
12474 : : {
12475 : 0 : case VEC_COND_EXPR:
12476 : 0 : {
12477 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
12478 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
12479 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
12480 : 0 : switch (TREE_CODE (_q120))
12481 : : {
12482 : 0 : case GE_EXPR:
12483 : 0 : {
12484 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
12485 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
12486 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
12487 : : {
12488 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
12489 : : {
12490 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
12491 : : {
12492 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
12493 : : {
12494 : 0 : {
12495 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
12496 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
12497 : 0 : if (res) return res;
12498 : : }
12499 : : }
12500 : : }
12501 : : }
12502 : : }
12503 : : break;
12504 : : }
12505 : : default:;
12506 : : }
12507 : : break;
12508 : : }
12509 : : default:;
12510 : : }
12511 : : break;
12512 : : }
12513 : : default:;
12514 : : }
12515 : : break;
12516 : : }
12517 : 0 : case UNLE_EXPR:
12518 : 0 : {
12519 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
12520 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
12521 : 0 : switch (TREE_CODE (_p1))
12522 : : {
12523 : 0 : case BIT_AND_EXPR:
12524 : 0 : {
12525 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
12526 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
12527 : 0 : switch (TREE_CODE (_q100))
12528 : : {
12529 : 0 : case VEC_COND_EXPR:
12530 : 0 : {
12531 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
12532 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
12533 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
12534 : 0 : switch (TREE_CODE (_q110))
12535 : : {
12536 : 0 : case GT_EXPR:
12537 : 0 : {
12538 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
12539 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
12540 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
12541 : : {
12542 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
12543 : : {
12544 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
12545 : : {
12546 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
12547 : : {
12548 : 0 : {
12549 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
12550 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
12551 : 0 : if (res) return res;
12552 : : }
12553 : : }
12554 : : }
12555 : : }
12556 : : }
12557 : : break;
12558 : : }
12559 : : default:;
12560 : : }
12561 : : break;
12562 : : }
12563 : 0 : default:;
12564 : : }
12565 : 0 : switch (TREE_CODE (_q101))
12566 : : {
12567 : 0 : case VEC_COND_EXPR:
12568 : 0 : {
12569 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
12570 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
12571 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
12572 : 0 : switch (TREE_CODE (_q120))
12573 : : {
12574 : 0 : case GT_EXPR:
12575 : 0 : {
12576 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
12577 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
12578 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
12579 : : {
12580 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
12581 : : {
12582 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
12583 : : {
12584 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
12585 : : {
12586 : 0 : {
12587 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
12588 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
12589 : 0 : if (res) return res;
12590 : : }
12591 : : }
12592 : : }
12593 : : }
12594 : : }
12595 : : break;
12596 : : }
12597 : : default:;
12598 : : }
12599 : : break;
12600 : : }
12601 : : default:;
12602 : : }
12603 : : break;
12604 : : }
12605 : : default:;
12606 : : }
12607 : : break;
12608 : : }
12609 : 0 : case UNGT_EXPR:
12610 : 0 : {
12611 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
12612 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
12613 : 0 : switch (TREE_CODE (_p1))
12614 : : {
12615 : 0 : case BIT_AND_EXPR:
12616 : 0 : {
12617 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
12618 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
12619 : 0 : switch (TREE_CODE (_q100))
12620 : : {
12621 : 0 : case VEC_COND_EXPR:
12622 : 0 : {
12623 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
12624 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
12625 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
12626 : 0 : switch (TREE_CODE (_q110))
12627 : : {
12628 : 0 : case LE_EXPR:
12629 : 0 : {
12630 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
12631 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
12632 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
12633 : : {
12634 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
12635 : : {
12636 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
12637 : : {
12638 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
12639 : : {
12640 : 0 : {
12641 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
12642 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
12643 : 0 : if (res) return res;
12644 : : }
12645 : : }
12646 : : }
12647 : : }
12648 : : }
12649 : : break;
12650 : : }
12651 : : default:;
12652 : : }
12653 : : break;
12654 : : }
12655 : 0 : default:;
12656 : : }
12657 : 0 : switch (TREE_CODE (_q101))
12658 : : {
12659 : 0 : case VEC_COND_EXPR:
12660 : 0 : {
12661 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
12662 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
12663 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
12664 : 0 : switch (TREE_CODE (_q120))
12665 : : {
12666 : 0 : case LE_EXPR:
12667 : 0 : {
12668 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
12669 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
12670 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
12671 : : {
12672 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
12673 : : {
12674 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
12675 : : {
12676 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
12677 : : {
12678 : 0 : {
12679 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
12680 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
12681 : 0 : if (res) return res;
12682 : : }
12683 : : }
12684 : : }
12685 : : }
12686 : : }
12687 : : break;
12688 : : }
12689 : : default:;
12690 : : }
12691 : : break;
12692 : : }
12693 : : default:;
12694 : : }
12695 : : break;
12696 : : }
12697 : : default:;
12698 : : }
12699 : : break;
12700 : : }
12701 : 0 : case UNGE_EXPR:
12702 : 0 : {
12703 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
12704 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
12705 : 0 : switch (TREE_CODE (_p1))
12706 : : {
12707 : 0 : case BIT_AND_EXPR:
12708 : 0 : {
12709 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
12710 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
12711 : 0 : switch (TREE_CODE (_q100))
12712 : : {
12713 : 0 : case VEC_COND_EXPR:
12714 : 0 : {
12715 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
12716 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
12717 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
12718 : 0 : switch (TREE_CODE (_q110))
12719 : : {
12720 : 0 : case LT_EXPR:
12721 : 0 : {
12722 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
12723 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
12724 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
12725 : : {
12726 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
12727 : : {
12728 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
12729 : : {
12730 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
12731 : : {
12732 : 0 : {
12733 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
12734 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
12735 : 0 : if (res) return res;
12736 : : }
12737 : : }
12738 : : }
12739 : : }
12740 : : }
12741 : : break;
12742 : : }
12743 : : default:;
12744 : : }
12745 : : break;
12746 : : }
12747 : 0 : default:;
12748 : : }
12749 : 0 : switch (TREE_CODE (_q101))
12750 : : {
12751 : 0 : case VEC_COND_EXPR:
12752 : 0 : {
12753 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
12754 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
12755 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
12756 : 0 : switch (TREE_CODE (_q120))
12757 : : {
12758 : 0 : case LT_EXPR:
12759 : 0 : {
12760 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
12761 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
12762 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
12763 : : {
12764 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
12765 : : {
12766 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
12767 : : {
12768 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
12769 : : {
12770 : 0 : {
12771 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
12772 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
12773 : 0 : if (res) return res;
12774 : : }
12775 : : }
12776 : : }
12777 : : }
12778 : : }
12779 : : break;
12780 : : }
12781 : : default:;
12782 : : }
12783 : : break;
12784 : : }
12785 : : default:;
12786 : : }
12787 : : break;
12788 : : }
12789 : : default:;
12790 : : }
12791 : : break;
12792 : : }
12793 : 0 : case UNEQ_EXPR:
12794 : 0 : {
12795 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
12796 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
12797 : 0 : switch (TREE_CODE (_p1))
12798 : : {
12799 : 0 : case BIT_AND_EXPR:
12800 : 0 : {
12801 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
12802 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
12803 : 0 : switch (TREE_CODE (_q100))
12804 : : {
12805 : 0 : case VEC_COND_EXPR:
12806 : 0 : {
12807 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
12808 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
12809 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
12810 : 0 : switch (TREE_CODE (_q110))
12811 : : {
12812 : 0 : case LTGT_EXPR:
12813 : 0 : {
12814 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
12815 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
12816 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
12817 : : {
12818 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
12819 : : {
12820 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
12821 : : {
12822 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
12823 : : {
12824 : 0 : {
12825 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
12826 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
12827 : 0 : if (res) return res;
12828 : : }
12829 : : }
12830 : : }
12831 : : }
12832 : : }
12833 : : break;
12834 : : }
12835 : : default:;
12836 : : }
12837 : : break;
12838 : : }
12839 : 0 : default:;
12840 : : }
12841 : 0 : switch (TREE_CODE (_q101))
12842 : : {
12843 : 0 : case VEC_COND_EXPR:
12844 : 0 : {
12845 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
12846 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
12847 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
12848 : 0 : switch (TREE_CODE (_q120))
12849 : : {
12850 : 0 : case LTGT_EXPR:
12851 : 0 : {
12852 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
12853 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
12854 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
12855 : : {
12856 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
12857 : : {
12858 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
12859 : : {
12860 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
12861 : : {
12862 : 0 : {
12863 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
12864 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
12865 : 0 : if (res) return res;
12866 : : }
12867 : : }
12868 : : }
12869 : : }
12870 : : }
12871 : : break;
12872 : : }
12873 : : default:;
12874 : : }
12875 : : break;
12876 : : }
12877 : : default:;
12878 : : }
12879 : : break;
12880 : : }
12881 : : default:;
12882 : : }
12883 : : break;
12884 : : }
12885 : 0 : case LTGT_EXPR:
12886 : 0 : {
12887 : 0 : tree _q50 = TREE_OPERAND (_q40, 0);
12888 : 0 : tree _q51 = TREE_OPERAND (_q40, 1);
12889 : 0 : switch (TREE_CODE (_p1))
12890 : : {
12891 : 0 : case BIT_AND_EXPR:
12892 : 0 : {
12893 : 0 : tree _q100 = TREE_OPERAND (_p1, 0);
12894 : 0 : tree _q101 = TREE_OPERAND (_p1, 1);
12895 : 0 : switch (TREE_CODE (_q100))
12896 : : {
12897 : 0 : case VEC_COND_EXPR:
12898 : 0 : {
12899 : 0 : tree _q110 = TREE_OPERAND (_q100, 0);
12900 : 0 : tree _q111 = TREE_OPERAND (_q100, 1);
12901 : 0 : tree _q112 = TREE_OPERAND (_q100, 2);
12902 : 0 : switch (TREE_CODE (_q110))
12903 : : {
12904 : 0 : case UNEQ_EXPR:
12905 : 0 : {
12906 : 0 : tree _q120 = TREE_OPERAND (_q110, 0);
12907 : 0 : tree _q121 = TREE_OPERAND (_q110, 1);
12908 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
12909 : : {
12910 : 0 : if ((_q121 == _q51 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q51, 0) && types_match (_q121, _q51)))
12911 : : {
12912 : 0 : if ((_q111 == _q41 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q41, 0) && types_match (_q111, _q41)))
12913 : : {
12914 : 0 : if ((_q112 == _q42 && ! TREE_SIDE_EFFECTS (_q112)) || (operand_equal_p (_q112, _q42, 0) && types_match (_q112, _q42)))
12915 : : {
12916 : 0 : {
12917 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q100, _q110, _q101 };
12918 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
12919 : 0 : if (res) return res;
12920 : : }
12921 : : }
12922 : : }
12923 : : }
12924 : : }
12925 : : break;
12926 : : }
12927 : : default:;
12928 : : }
12929 : : break;
12930 : : }
12931 : 0 : default:;
12932 : : }
12933 : 0 : switch (TREE_CODE (_q101))
12934 : : {
12935 : 0 : case VEC_COND_EXPR:
12936 : 0 : {
12937 : 0 : tree _q120 = TREE_OPERAND (_q101, 0);
12938 : 0 : tree _q121 = TREE_OPERAND (_q101, 1);
12939 : 0 : tree _q122 = TREE_OPERAND (_q101, 2);
12940 : 0 : switch (TREE_CODE (_q120))
12941 : : {
12942 : 0 : case UNEQ_EXPR:
12943 : 0 : {
12944 : 0 : tree _q130 = TREE_OPERAND (_q120, 0);
12945 : 0 : tree _q131 = TREE_OPERAND (_q120, 1);
12946 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
12947 : : {
12948 : 0 : if ((_q131 == _q51 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q51, 0) && types_match (_q131, _q51)))
12949 : : {
12950 : 0 : if ((_q121 == _q41 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q41, 0) && types_match (_q121, _q41)))
12951 : : {
12952 : 0 : if ((_q122 == _q42 && ! TREE_SIDE_EFFECTS (_q122)) || (operand_equal_p (_q122, _q42, 0) && types_match (_q122, _q42)))
12953 : : {
12954 : 0 : {
12955 : 0 : tree captures[10] ATTRIBUTE_UNUSED = { _q21, _q40, _q50, _q51, _q41, _q42, _q20, _q101, _q120, _q100 };
12956 : 0 : tree res = generic_simplify_108 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
12957 : 0 : if (res) return res;
12958 : : }
12959 : : }
12960 : : }
12961 : : }
12962 : : }
12963 : : break;
12964 : : }
12965 : : default:;
12966 : : }
12967 : : break;
12968 : : }
12969 : : default:;
12970 : : }
12971 : : break;
12972 : : }
12973 : : default:;
12974 : : }
12975 : : break;
12976 : : }
12977 : : default:;
12978 : : }
12979 : : break;
12980 : : }
12981 : 75 : case BIT_NOT_EXPR:
12982 : 75 : {
12983 : 75 : tree _q40 = TREE_OPERAND (_q21, 0);
12984 : 75 : switch (TREE_CODE (_p1))
12985 : : {
12986 : 55 : case BIT_AND_EXPR:
12987 : 55 : {
12988 : 55 : tree _q60 = TREE_OPERAND (_p1, 0);
12989 : 55 : tree _q61 = TREE_OPERAND (_p1, 1);
12990 : 55 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
12991 : : {
12992 : 19 : {
12993 : 19 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _p1, _q60 };
12994 : 19 : tree res = generic_simplify_109 (loc, type, _p0, _p1, captures);
12995 : 19 : if (res) return res;
12996 : : }
12997 : : }
12998 : 55 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
12999 : : {
13000 : 36 : {
13001 : 36 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _p1, _q61 };
13002 : 36 : tree res = generic_simplify_109 (loc, type, _p0, _p1, captures);
13003 : 36 : if (res) return res;
13004 : : }
13005 : : }
13006 : : break;
13007 : : }
13008 : : default:;
13009 : : }
13010 : : break;
13011 : : }
13012 : 107843 : default:;
13013 : : }
13014 : 107843 : switch (TREE_CODE (_q20))
13015 : : {
13016 : 182 : case BIT_NOT_EXPR:
13017 : 182 : {
13018 : 182 : tree _q30 = TREE_OPERAND (_q20, 0);
13019 : 182 : switch (TREE_CODE (_p1))
13020 : : {
13021 : 142 : case BIT_AND_EXPR:
13022 : 142 : {
13023 : 142 : tree _q60 = TREE_OPERAND (_p1, 0);
13024 : 142 : tree _q61 = TREE_OPERAND (_p1, 1);
13025 : 142 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
13026 : : {
13027 : 22 : {
13028 : 22 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q30, _p1, _q60 };
13029 : 22 : tree res = generic_simplify_109 (loc, type, _p0, _p1, captures);
13030 : 22 : if (res) return res;
13031 : : }
13032 : : }
13033 : 142 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
13034 : : {
13035 : 0 : {
13036 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q30, _p1, _q61 };
13037 : 0 : tree res = generic_simplify_109 (loc, type, _p0, _p1, captures);
13038 : 0 : if (res) return res;
13039 : : }
13040 : : }
13041 : : break;
13042 : : }
13043 : : default:;
13044 : : }
13045 : : break;
13046 : : }
13047 : 107843 : default:;
13048 : : }
13049 : 107843 : switch (TREE_CODE (_p1))
13050 : : {
13051 : 16215 : case BIT_AND_EXPR:
13052 : 16215 : {
13053 : 16215 : tree _q50 = TREE_OPERAND (_p1, 0);
13054 : 16215 : tree _q51 = TREE_OPERAND (_p1, 1);
13055 : 16215 : switch (TREE_CODE (_q51))
13056 : : {
13057 : 196 : case BIT_NOT_EXPR:
13058 : 196 : {
13059 : 196 : tree _q70 = TREE_OPERAND (_q51, 0);
13060 : 196 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
13061 : : {
13062 : 34 : {
13063 : 34 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q50, _q21, _p0, _q20 };
13064 : 34 : tree res = generic_simplify_109 (loc, type, _p0, _p1, captures);
13065 : 34 : if (res) return res;
13066 : : }
13067 : : }
13068 : 196 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
13069 : : {
13070 : 0 : {
13071 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q50, _q20, _p0, _q21 };
13072 : 0 : tree res = generic_simplify_109 (loc, type, _p0, _p1, captures);
13073 : 0 : if (res) return res;
13074 : : }
13075 : : }
13076 : : break;
13077 : : }
13078 : 16215 : default:;
13079 : : }
13080 : 16215 : switch (TREE_CODE (_q50))
13081 : : {
13082 : 298 : case BIT_NOT_EXPR:
13083 : 298 : {
13084 : 298 : tree _q60 = TREE_OPERAND (_q50, 0);
13085 : 298 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
13086 : : {
13087 : 100 : {
13088 : 100 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q51, _q21, _p0, _q20 };
13089 : 100 : tree res = generic_simplify_109 (loc, type, _p0, _p1, captures);
13090 : 100 : if (res) return res;
13091 : : }
13092 : : }
13093 : 298 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
13094 : : {
13095 : 78 : {
13096 : 78 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q51, _q20, _p0, _q21 };
13097 : 78 : tree res = generic_simplify_109 (loc, type, _p0, _p1, captures);
13098 : 78 : if (res) return res;
13099 : : }
13100 : : }
13101 : : break;
13102 : : }
13103 : : default:;
13104 : : }
13105 : : break;
13106 : : }
13107 : : default:;
13108 : : }
13109 : : break;
13110 : : }
13111 : 1686 : case COND_EXPR:
13112 : 1686 : {
13113 : 1686 : tree _q20 = TREE_OPERAND (_p0, 0);
13114 : 1686 : tree _q21 = TREE_OPERAND (_p0, 1);
13115 : 1686 : tree _q22 = TREE_OPERAND (_p0, 2);
13116 : 1686 : switch (TREE_CODE (_q20))
13117 : : {
13118 : 39 : case LT_EXPR:
13119 : 39 : {
13120 : 39 : tree _q30 = TREE_OPERAND (_q20, 0);
13121 : 39 : tree _q31 = TREE_OPERAND (_q20, 1);
13122 : 39 : if (zerop (_q22))
13123 : : {
13124 : 2 : switch (TREE_CODE (_p1))
13125 : : {
13126 : 0 : case COND_EXPR:
13127 : 0 : {
13128 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
13129 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
13130 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
13131 : 0 : switch (TREE_CODE (_q80))
13132 : : {
13133 : 0 : case GE_EXPR:
13134 : 0 : {
13135 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13136 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13137 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13138 : : {
13139 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13140 : : {
13141 : 0 : if (zerop (_q82))
13142 : : {
13143 : 0 : {
13144 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
13145 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
13146 : 0 : if (res) return res;
13147 : : }
13148 : : }
13149 : : }
13150 : : }
13151 : : break;
13152 : : }
13153 : : default:;
13154 : : }
13155 : : break;
13156 : : }
13157 : : default:;
13158 : : }
13159 : : }
13160 : : break;
13161 : : }
13162 : 1226 : case LE_EXPR:
13163 : 1226 : {
13164 : 1226 : tree _q30 = TREE_OPERAND (_q20, 0);
13165 : 1226 : tree _q31 = TREE_OPERAND (_q20, 1);
13166 : 1226 : if (zerop (_q22))
13167 : : {
13168 : 1210 : switch (TREE_CODE (_p1))
13169 : : {
13170 : 442 : case COND_EXPR:
13171 : 442 : {
13172 : 442 : tree _q80 = TREE_OPERAND (_p1, 0);
13173 : 442 : tree _q81 = TREE_OPERAND (_p1, 1);
13174 : 442 : tree _q82 = TREE_OPERAND (_p1, 2);
13175 : 442 : switch (TREE_CODE (_q80))
13176 : : {
13177 : 0 : case GT_EXPR:
13178 : 0 : {
13179 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13180 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13181 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13182 : : {
13183 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13184 : : {
13185 : 0 : if (zerop (_q82))
13186 : : {
13187 : 0 : {
13188 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
13189 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
13190 : 0 : if (res) return res;
13191 : : }
13192 : : }
13193 : : }
13194 : : }
13195 : : break;
13196 : : }
13197 : : default:;
13198 : : }
13199 : : break;
13200 : : }
13201 : : default:;
13202 : : }
13203 : : }
13204 : : break;
13205 : : }
13206 : 7 : case EQ_EXPR:
13207 : 7 : {
13208 : 7 : tree _q30 = TREE_OPERAND (_q20, 0);
13209 : 7 : tree _q31 = TREE_OPERAND (_q20, 1);
13210 : 7 : if (zerop (_q22))
13211 : : {
13212 : 4 : switch (TREE_CODE (_p1))
13213 : : {
13214 : 0 : case COND_EXPR:
13215 : 0 : {
13216 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
13217 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
13218 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
13219 : 0 : switch (TREE_CODE (_q80))
13220 : : {
13221 : 0 : case NE_EXPR:
13222 : 0 : {
13223 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13224 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13225 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13226 : : {
13227 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13228 : : {
13229 : 0 : if (zerop (_q82))
13230 : : {
13231 : 0 : {
13232 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
13233 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
13234 : 0 : if (res) return res;
13235 : : }
13236 : : }
13237 : : }
13238 : : }
13239 : : break;
13240 : : }
13241 : : default:;
13242 : : }
13243 : : break;
13244 : : }
13245 : : default:;
13246 : : }
13247 : : }
13248 : : break;
13249 : : }
13250 : 252 : case NE_EXPR:
13251 : 252 : {
13252 : 252 : tree _q30 = TREE_OPERAND (_q20, 0);
13253 : 252 : tree _q31 = TREE_OPERAND (_q20, 1);
13254 : 252 : if (zerop (_q22))
13255 : : {
13256 : 236 : switch (TREE_CODE (_p1))
13257 : : {
13258 : 81 : case COND_EXPR:
13259 : 81 : {
13260 : 81 : tree _q80 = TREE_OPERAND (_p1, 0);
13261 : 81 : tree _q81 = TREE_OPERAND (_p1, 1);
13262 : 81 : tree _q82 = TREE_OPERAND (_p1, 2);
13263 : 81 : switch (TREE_CODE (_q80))
13264 : : {
13265 : 0 : case EQ_EXPR:
13266 : 0 : {
13267 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13268 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13269 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13270 : : {
13271 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13272 : : {
13273 : 0 : if (zerop (_q82))
13274 : : {
13275 : 0 : {
13276 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
13277 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
13278 : 0 : if (res) return res;
13279 : : }
13280 : : }
13281 : : }
13282 : : }
13283 : : break;
13284 : : }
13285 : : default:;
13286 : : }
13287 : : break;
13288 : : }
13289 : : default:;
13290 : : }
13291 : : }
13292 : : break;
13293 : : }
13294 : 1 : case GE_EXPR:
13295 : 1 : {
13296 : 1 : tree _q30 = TREE_OPERAND (_q20, 0);
13297 : 1 : tree _q31 = TREE_OPERAND (_q20, 1);
13298 : 1 : if (zerop (_q22))
13299 : : {
13300 : 1 : switch (TREE_CODE (_p1))
13301 : : {
13302 : 0 : case COND_EXPR:
13303 : 0 : {
13304 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
13305 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
13306 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
13307 : 0 : switch (TREE_CODE (_q80))
13308 : : {
13309 : 0 : case LT_EXPR:
13310 : 0 : {
13311 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13312 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13313 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13314 : : {
13315 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13316 : : {
13317 : 0 : if (zerop (_q82))
13318 : : {
13319 : 0 : {
13320 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
13321 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
13322 : 0 : if (res) return res;
13323 : : }
13324 : : }
13325 : : }
13326 : : }
13327 : : break;
13328 : : }
13329 : : default:;
13330 : : }
13331 : : break;
13332 : : }
13333 : : default:;
13334 : : }
13335 : : }
13336 : : break;
13337 : : }
13338 : 0 : case GT_EXPR:
13339 : 0 : {
13340 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
13341 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
13342 : 0 : if (zerop (_q22))
13343 : : {
13344 : 0 : switch (TREE_CODE (_p1))
13345 : : {
13346 : 0 : case COND_EXPR:
13347 : 0 : {
13348 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
13349 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
13350 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
13351 : 0 : switch (TREE_CODE (_q80))
13352 : : {
13353 : 0 : case LE_EXPR:
13354 : 0 : {
13355 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13356 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13357 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13358 : : {
13359 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13360 : : {
13361 : 0 : if (zerop (_q82))
13362 : : {
13363 : 0 : {
13364 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
13365 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
13366 : 0 : if (res) return res;
13367 : : }
13368 : : }
13369 : : }
13370 : : }
13371 : : break;
13372 : : }
13373 : : default:;
13374 : : }
13375 : : break;
13376 : : }
13377 : : default:;
13378 : : }
13379 : : }
13380 : : break;
13381 : : }
13382 : 0 : case UNORDERED_EXPR:
13383 : 0 : {
13384 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
13385 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
13386 : 0 : if (zerop (_q22))
13387 : : {
13388 : 0 : switch (TREE_CODE (_p1))
13389 : : {
13390 : 0 : case COND_EXPR:
13391 : 0 : {
13392 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
13393 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
13394 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
13395 : 0 : switch (TREE_CODE (_q80))
13396 : : {
13397 : 0 : case ORDERED_EXPR:
13398 : 0 : {
13399 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13400 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13401 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13402 : : {
13403 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13404 : : {
13405 : 0 : if (zerop (_q82))
13406 : : {
13407 : 0 : {
13408 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
13409 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
13410 : 0 : if (res) return res;
13411 : : }
13412 : : }
13413 : : }
13414 : : }
13415 : : break;
13416 : : }
13417 : : default:;
13418 : : }
13419 : : break;
13420 : : }
13421 : : default:;
13422 : : }
13423 : : }
13424 : : break;
13425 : : }
13426 : 0 : case ORDERED_EXPR:
13427 : 0 : {
13428 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
13429 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
13430 : 0 : if (zerop (_q22))
13431 : : {
13432 : 0 : switch (TREE_CODE (_p1))
13433 : : {
13434 : 0 : case COND_EXPR:
13435 : 0 : {
13436 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
13437 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
13438 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
13439 : 0 : switch (TREE_CODE (_q80))
13440 : : {
13441 : 0 : case UNORDERED_EXPR:
13442 : 0 : {
13443 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13444 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13445 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13446 : : {
13447 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13448 : : {
13449 : 0 : if (zerop (_q82))
13450 : : {
13451 : 0 : {
13452 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
13453 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
13454 : 0 : if (res) return res;
13455 : : }
13456 : : }
13457 : : }
13458 : : }
13459 : : break;
13460 : : }
13461 : : default:;
13462 : : }
13463 : : break;
13464 : : }
13465 : : default:;
13466 : : }
13467 : : }
13468 : : break;
13469 : : }
13470 : 0 : case UNLT_EXPR:
13471 : 0 : {
13472 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
13473 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
13474 : 0 : if (zerop (_q22))
13475 : : {
13476 : 0 : switch (TREE_CODE (_p1))
13477 : : {
13478 : 0 : case COND_EXPR:
13479 : 0 : {
13480 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
13481 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
13482 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
13483 : 0 : switch (TREE_CODE (_q80))
13484 : : {
13485 : 0 : case GE_EXPR:
13486 : 0 : {
13487 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13488 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13489 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13490 : : {
13491 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13492 : : {
13493 : 0 : if (zerop (_q82))
13494 : : {
13495 : 0 : {
13496 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
13497 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
13498 : 0 : if (res) return res;
13499 : : }
13500 : : }
13501 : : }
13502 : : }
13503 : : break;
13504 : : }
13505 : : default:;
13506 : : }
13507 : : break;
13508 : : }
13509 : : default:;
13510 : : }
13511 : : }
13512 : : break;
13513 : : }
13514 : 0 : case UNLE_EXPR:
13515 : 0 : {
13516 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
13517 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
13518 : 0 : if (zerop (_q22))
13519 : : {
13520 : 0 : switch (TREE_CODE (_p1))
13521 : : {
13522 : 0 : case COND_EXPR:
13523 : 0 : {
13524 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
13525 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
13526 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
13527 : 0 : switch (TREE_CODE (_q80))
13528 : : {
13529 : 0 : case GT_EXPR:
13530 : 0 : {
13531 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13532 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13533 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13534 : : {
13535 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13536 : : {
13537 : 0 : if (zerop (_q82))
13538 : : {
13539 : 0 : {
13540 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
13541 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
13542 : 0 : if (res) return res;
13543 : : }
13544 : : }
13545 : : }
13546 : : }
13547 : : break;
13548 : : }
13549 : : default:;
13550 : : }
13551 : : break;
13552 : : }
13553 : : default:;
13554 : : }
13555 : : }
13556 : : break;
13557 : : }
13558 : 0 : case UNGT_EXPR:
13559 : 0 : {
13560 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
13561 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
13562 : 0 : if (zerop (_q22))
13563 : : {
13564 : 0 : switch (TREE_CODE (_p1))
13565 : : {
13566 : 0 : case COND_EXPR:
13567 : 0 : {
13568 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
13569 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
13570 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
13571 : 0 : switch (TREE_CODE (_q80))
13572 : : {
13573 : 0 : case LE_EXPR:
13574 : 0 : {
13575 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13576 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13577 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13578 : : {
13579 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13580 : : {
13581 : 0 : if (zerop (_q82))
13582 : : {
13583 : 0 : {
13584 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
13585 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
13586 : 0 : if (res) return res;
13587 : : }
13588 : : }
13589 : : }
13590 : : }
13591 : : break;
13592 : : }
13593 : : default:;
13594 : : }
13595 : : break;
13596 : : }
13597 : : default:;
13598 : : }
13599 : : }
13600 : : break;
13601 : : }
13602 : 0 : case UNGE_EXPR:
13603 : 0 : {
13604 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
13605 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
13606 : 0 : if (zerop (_q22))
13607 : : {
13608 : 0 : switch (TREE_CODE (_p1))
13609 : : {
13610 : 0 : case COND_EXPR:
13611 : 0 : {
13612 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
13613 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
13614 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
13615 : 0 : switch (TREE_CODE (_q80))
13616 : : {
13617 : 0 : case LT_EXPR:
13618 : 0 : {
13619 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13620 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13621 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13622 : : {
13623 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13624 : : {
13625 : 0 : if (zerop (_q82))
13626 : : {
13627 : 0 : {
13628 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
13629 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
13630 : 0 : if (res) return res;
13631 : : }
13632 : : }
13633 : : }
13634 : : }
13635 : : break;
13636 : : }
13637 : : default:;
13638 : : }
13639 : : break;
13640 : : }
13641 : : default:;
13642 : : }
13643 : : }
13644 : : break;
13645 : : }
13646 : 0 : case UNEQ_EXPR:
13647 : 0 : {
13648 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
13649 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
13650 : 0 : if (zerop (_q22))
13651 : : {
13652 : 0 : switch (TREE_CODE (_p1))
13653 : : {
13654 : 0 : case COND_EXPR:
13655 : 0 : {
13656 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
13657 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
13658 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
13659 : 0 : switch (TREE_CODE (_q80))
13660 : : {
13661 : 0 : case LTGT_EXPR:
13662 : 0 : {
13663 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13664 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13665 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13666 : : {
13667 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13668 : : {
13669 : 0 : if (zerop (_q82))
13670 : : {
13671 : 0 : {
13672 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
13673 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
13674 : 0 : if (res) return res;
13675 : : }
13676 : : }
13677 : : }
13678 : : }
13679 : : break;
13680 : : }
13681 : : default:;
13682 : : }
13683 : : break;
13684 : : }
13685 : : default:;
13686 : : }
13687 : : }
13688 : : break;
13689 : : }
13690 : 0 : case LTGT_EXPR:
13691 : 0 : {
13692 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
13693 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
13694 : 0 : if (zerop (_q22))
13695 : : {
13696 : 0 : switch (TREE_CODE (_p1))
13697 : : {
13698 : 0 : case COND_EXPR:
13699 : 0 : {
13700 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
13701 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
13702 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
13703 : 0 : switch (TREE_CODE (_q80))
13704 : : {
13705 : 0 : case UNEQ_EXPR:
13706 : 0 : {
13707 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13708 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13709 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13710 : : {
13711 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13712 : : {
13713 : 0 : if (zerop (_q82))
13714 : : {
13715 : 0 : {
13716 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
13717 : 0 : tree res = generic_simplify_110 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
13718 : 0 : if (res) return res;
13719 : : }
13720 : : }
13721 : : }
13722 : : }
13723 : : break;
13724 : : }
13725 : : default:;
13726 : : }
13727 : : break;
13728 : : }
13729 : : default:;
13730 : : }
13731 : : }
13732 : : break;
13733 : : }
13734 : : default:;
13735 : : }
13736 : : break;
13737 : : }
13738 : 65 : case VEC_COND_EXPR:
13739 : 65 : {
13740 : 65 : tree _q20 = TREE_OPERAND (_p0, 0);
13741 : 65 : tree _q21 = TREE_OPERAND (_p0, 1);
13742 : 65 : tree _q22 = TREE_OPERAND (_p0, 2);
13743 : 65 : switch (TREE_CODE (_q20))
13744 : : {
13745 : 29 : case LT_EXPR:
13746 : 29 : {
13747 : 29 : tree _q30 = TREE_OPERAND (_q20, 0);
13748 : 29 : tree _q31 = TREE_OPERAND (_q20, 1);
13749 : 29 : if (integer_zerop (_q22))
13750 : : {
13751 : 29 : switch (TREE_CODE (_p1))
13752 : : {
13753 : 28 : case VEC_COND_EXPR:
13754 : 28 : {
13755 : 28 : tree _q80 = TREE_OPERAND (_p1, 0);
13756 : 28 : tree _q81 = TREE_OPERAND (_p1, 1);
13757 : 28 : tree _q82 = TREE_OPERAND (_p1, 2);
13758 : 28 : switch (TREE_CODE (_q80))
13759 : : {
13760 : 0 : case GE_EXPR:
13761 : 0 : {
13762 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13763 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13764 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13765 : : {
13766 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13767 : : {
13768 : 0 : if (integer_zerop (_q82))
13769 : : {
13770 : 0 : {
13771 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
13772 : 0 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
13773 : 0 : if (res) return res;
13774 : : }
13775 : : }
13776 : : }
13777 : : }
13778 : : break;
13779 : : }
13780 : : default:;
13781 : : }
13782 : : break;
13783 : : }
13784 : : default:;
13785 : : }
13786 : : }
13787 : : break;
13788 : : }
13789 : 8 : case LE_EXPR:
13790 : 8 : {
13791 : 8 : tree _q30 = TREE_OPERAND (_q20, 0);
13792 : 8 : tree _q31 = TREE_OPERAND (_q20, 1);
13793 : 8 : if (integer_zerop (_q22))
13794 : : {
13795 : 8 : switch (TREE_CODE (_p1))
13796 : : {
13797 : 8 : case VEC_COND_EXPR:
13798 : 8 : {
13799 : 8 : tree _q80 = TREE_OPERAND (_p1, 0);
13800 : 8 : tree _q81 = TREE_OPERAND (_p1, 1);
13801 : 8 : tree _q82 = TREE_OPERAND (_p1, 2);
13802 : 8 : switch (TREE_CODE (_q80))
13803 : : {
13804 : 0 : case GT_EXPR:
13805 : 0 : {
13806 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13807 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13808 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13809 : : {
13810 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13811 : : {
13812 : 0 : if (integer_zerop (_q82))
13813 : : {
13814 : 0 : {
13815 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
13816 : 0 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
13817 : 0 : if (res) return res;
13818 : : }
13819 : : }
13820 : : }
13821 : : }
13822 : : break;
13823 : : }
13824 : : default:;
13825 : : }
13826 : : break;
13827 : : }
13828 : : default:;
13829 : : }
13830 : : }
13831 : : break;
13832 : : }
13833 : 8 : case EQ_EXPR:
13834 : 8 : {
13835 : 8 : tree _q30 = TREE_OPERAND (_q20, 0);
13836 : 8 : tree _q31 = TREE_OPERAND (_q20, 1);
13837 : 8 : if (integer_zerop (_q22))
13838 : : {
13839 : 8 : switch (TREE_CODE (_p1))
13840 : : {
13841 : 8 : case VEC_COND_EXPR:
13842 : 8 : {
13843 : 8 : tree _q80 = TREE_OPERAND (_p1, 0);
13844 : 8 : tree _q81 = TREE_OPERAND (_p1, 1);
13845 : 8 : tree _q82 = TREE_OPERAND (_p1, 2);
13846 : 8 : switch (TREE_CODE (_q80))
13847 : : {
13848 : 0 : case NE_EXPR:
13849 : 0 : {
13850 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13851 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13852 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13853 : : {
13854 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13855 : : {
13856 : 0 : if (integer_zerop (_q82))
13857 : : {
13858 : 0 : {
13859 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
13860 : 0 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
13861 : 0 : if (res) return res;
13862 : : }
13863 : : }
13864 : : }
13865 : : }
13866 : : break;
13867 : : }
13868 : : default:;
13869 : : }
13870 : : break;
13871 : : }
13872 : : default:;
13873 : : }
13874 : : }
13875 : : break;
13876 : : }
13877 : 7 : case NE_EXPR:
13878 : 7 : {
13879 : 7 : tree _q30 = TREE_OPERAND (_q20, 0);
13880 : 7 : tree _q31 = TREE_OPERAND (_q20, 1);
13881 : 7 : if (integer_zerop (_q22))
13882 : : {
13883 : 7 : switch (TREE_CODE (_p1))
13884 : : {
13885 : 1 : case VEC_COND_EXPR:
13886 : 1 : {
13887 : 1 : tree _q80 = TREE_OPERAND (_p1, 0);
13888 : 1 : tree _q81 = TREE_OPERAND (_p1, 1);
13889 : 1 : tree _q82 = TREE_OPERAND (_p1, 2);
13890 : 1 : switch (TREE_CODE (_q80))
13891 : : {
13892 : 1 : case EQ_EXPR:
13893 : 1 : {
13894 : 1 : tree _q90 = TREE_OPERAND (_q80, 0);
13895 : 1 : tree _q91 = TREE_OPERAND (_q80, 1);
13896 : 1 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13897 : : {
13898 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13899 : : {
13900 : 0 : if (integer_zerop (_q82))
13901 : : {
13902 : 0 : {
13903 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
13904 : 0 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
13905 : 0 : if (res) return res;
13906 : : }
13907 : : }
13908 : : }
13909 : : }
13910 : : break;
13911 : : }
13912 : : default:;
13913 : : }
13914 : : break;
13915 : : }
13916 : : default:;
13917 : : }
13918 : : }
13919 : : break;
13920 : : }
13921 : 9 : case GE_EXPR:
13922 : 9 : {
13923 : 9 : tree _q30 = TREE_OPERAND (_q20, 0);
13924 : 9 : tree _q31 = TREE_OPERAND (_q20, 1);
13925 : 9 : if (integer_zerop (_q22))
13926 : : {
13927 : 8 : switch (TREE_CODE (_p1))
13928 : : {
13929 : 8 : case VEC_COND_EXPR:
13930 : 8 : {
13931 : 8 : tree _q80 = TREE_OPERAND (_p1, 0);
13932 : 8 : tree _q81 = TREE_OPERAND (_p1, 1);
13933 : 8 : tree _q82 = TREE_OPERAND (_p1, 2);
13934 : 8 : switch (TREE_CODE (_q80))
13935 : : {
13936 : 0 : case LT_EXPR:
13937 : 0 : {
13938 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13939 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13940 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13941 : : {
13942 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13943 : : {
13944 : 0 : if (integer_zerop (_q82))
13945 : : {
13946 : 0 : {
13947 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
13948 : 0 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
13949 : 0 : if (res) return res;
13950 : : }
13951 : : }
13952 : : }
13953 : : }
13954 : : break;
13955 : : }
13956 : : default:;
13957 : : }
13958 : : break;
13959 : : }
13960 : : default:;
13961 : : }
13962 : : }
13963 : : break;
13964 : : }
13965 : 4 : case GT_EXPR:
13966 : 4 : {
13967 : 4 : tree _q30 = TREE_OPERAND (_q20, 0);
13968 : 4 : tree _q31 = TREE_OPERAND (_q20, 1);
13969 : 4 : if (integer_zerop (_q22))
13970 : : {
13971 : 4 : switch (TREE_CODE (_p1))
13972 : : {
13973 : 4 : case VEC_COND_EXPR:
13974 : 4 : {
13975 : 4 : tree _q80 = TREE_OPERAND (_p1, 0);
13976 : 4 : tree _q81 = TREE_OPERAND (_p1, 1);
13977 : 4 : tree _q82 = TREE_OPERAND (_p1, 2);
13978 : 4 : switch (TREE_CODE (_q80))
13979 : : {
13980 : 0 : case LE_EXPR:
13981 : 0 : {
13982 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
13983 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
13984 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
13985 : : {
13986 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
13987 : : {
13988 : 0 : if (integer_zerop (_q82))
13989 : : {
13990 : 0 : {
13991 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
13992 : 0 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
13993 : 0 : if (res) return res;
13994 : : }
13995 : : }
13996 : : }
13997 : : }
13998 : : break;
13999 : : }
14000 : : default:;
14001 : : }
14002 : : break;
14003 : : }
14004 : : default:;
14005 : : }
14006 : : }
14007 : : break;
14008 : : }
14009 : 0 : case UNORDERED_EXPR:
14010 : 0 : {
14011 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
14012 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
14013 : 0 : if (integer_zerop (_q22))
14014 : : {
14015 : 0 : switch (TREE_CODE (_p1))
14016 : : {
14017 : 0 : case VEC_COND_EXPR:
14018 : 0 : {
14019 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
14020 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
14021 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
14022 : 0 : switch (TREE_CODE (_q80))
14023 : : {
14024 : 0 : case ORDERED_EXPR:
14025 : 0 : {
14026 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
14027 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
14028 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
14029 : : {
14030 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
14031 : : {
14032 : 0 : if (integer_zerop (_q82))
14033 : : {
14034 : 0 : {
14035 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
14036 : 0 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR);
14037 : 0 : if (res) return res;
14038 : : }
14039 : : }
14040 : : }
14041 : : }
14042 : : break;
14043 : : }
14044 : : default:;
14045 : : }
14046 : : break;
14047 : : }
14048 : : default:;
14049 : : }
14050 : : }
14051 : : break;
14052 : : }
14053 : 0 : case ORDERED_EXPR:
14054 : 0 : {
14055 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
14056 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
14057 : 0 : if (integer_zerop (_q22))
14058 : : {
14059 : 0 : switch (TREE_CODE (_p1))
14060 : : {
14061 : 0 : case VEC_COND_EXPR:
14062 : 0 : {
14063 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
14064 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
14065 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
14066 : 0 : switch (TREE_CODE (_q80))
14067 : : {
14068 : 0 : case UNORDERED_EXPR:
14069 : 0 : {
14070 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
14071 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
14072 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
14073 : : {
14074 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
14075 : : {
14076 : 0 : if (integer_zerop (_q82))
14077 : : {
14078 : 0 : {
14079 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
14080 : 0 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR);
14081 : 0 : if (res) return res;
14082 : : }
14083 : : }
14084 : : }
14085 : : }
14086 : : break;
14087 : : }
14088 : : default:;
14089 : : }
14090 : : break;
14091 : : }
14092 : : default:;
14093 : : }
14094 : : }
14095 : : break;
14096 : : }
14097 : 0 : case UNLT_EXPR:
14098 : 0 : {
14099 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
14100 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
14101 : 0 : if (integer_zerop (_q22))
14102 : : {
14103 : 0 : switch (TREE_CODE (_p1))
14104 : : {
14105 : 0 : case VEC_COND_EXPR:
14106 : 0 : {
14107 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
14108 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
14109 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
14110 : 0 : switch (TREE_CODE (_q80))
14111 : : {
14112 : 0 : case GE_EXPR:
14113 : 0 : {
14114 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
14115 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
14116 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
14117 : : {
14118 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
14119 : : {
14120 : 0 : if (integer_zerop (_q82))
14121 : : {
14122 : 0 : {
14123 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
14124 : 0 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR);
14125 : 0 : if (res) return res;
14126 : : }
14127 : : }
14128 : : }
14129 : : }
14130 : : break;
14131 : : }
14132 : : default:;
14133 : : }
14134 : : break;
14135 : : }
14136 : : default:;
14137 : : }
14138 : : }
14139 : : break;
14140 : : }
14141 : 0 : case UNLE_EXPR:
14142 : 0 : {
14143 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
14144 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
14145 : 0 : if (integer_zerop (_q22))
14146 : : {
14147 : 0 : switch (TREE_CODE (_p1))
14148 : : {
14149 : 0 : case VEC_COND_EXPR:
14150 : 0 : {
14151 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
14152 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
14153 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
14154 : 0 : switch (TREE_CODE (_q80))
14155 : : {
14156 : 0 : case GT_EXPR:
14157 : 0 : {
14158 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
14159 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
14160 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
14161 : : {
14162 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
14163 : : {
14164 : 0 : if (integer_zerop (_q82))
14165 : : {
14166 : 0 : {
14167 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
14168 : 0 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR);
14169 : 0 : if (res) return res;
14170 : : }
14171 : : }
14172 : : }
14173 : : }
14174 : : break;
14175 : : }
14176 : : default:;
14177 : : }
14178 : : break;
14179 : : }
14180 : : default:;
14181 : : }
14182 : : }
14183 : : break;
14184 : : }
14185 : 0 : case UNGT_EXPR:
14186 : 0 : {
14187 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
14188 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
14189 : 0 : if (integer_zerop (_q22))
14190 : : {
14191 : 0 : switch (TREE_CODE (_p1))
14192 : : {
14193 : 0 : case VEC_COND_EXPR:
14194 : 0 : {
14195 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
14196 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
14197 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
14198 : 0 : switch (TREE_CODE (_q80))
14199 : : {
14200 : 0 : case LE_EXPR:
14201 : 0 : {
14202 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
14203 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
14204 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
14205 : : {
14206 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
14207 : : {
14208 : 0 : if (integer_zerop (_q82))
14209 : : {
14210 : 0 : {
14211 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
14212 : 0 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR);
14213 : 0 : if (res) return res;
14214 : : }
14215 : : }
14216 : : }
14217 : : }
14218 : : break;
14219 : : }
14220 : : default:;
14221 : : }
14222 : : break;
14223 : : }
14224 : : default:;
14225 : : }
14226 : : }
14227 : : break;
14228 : : }
14229 : 0 : case UNGE_EXPR:
14230 : 0 : {
14231 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
14232 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
14233 : 0 : if (integer_zerop (_q22))
14234 : : {
14235 : 0 : switch (TREE_CODE (_p1))
14236 : : {
14237 : 0 : case VEC_COND_EXPR:
14238 : 0 : {
14239 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
14240 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
14241 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
14242 : 0 : switch (TREE_CODE (_q80))
14243 : : {
14244 : 0 : case LT_EXPR:
14245 : 0 : {
14246 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
14247 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
14248 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
14249 : : {
14250 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
14251 : : {
14252 : 0 : if (integer_zerop (_q82))
14253 : : {
14254 : 0 : {
14255 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
14256 : 0 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR);
14257 : 0 : if (res) return res;
14258 : : }
14259 : : }
14260 : : }
14261 : : }
14262 : : break;
14263 : : }
14264 : : default:;
14265 : : }
14266 : : break;
14267 : : }
14268 : : default:;
14269 : : }
14270 : : }
14271 : : break;
14272 : : }
14273 : 0 : case UNEQ_EXPR:
14274 : 0 : {
14275 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
14276 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
14277 : 0 : if (integer_zerop (_q22))
14278 : : {
14279 : 0 : switch (TREE_CODE (_p1))
14280 : : {
14281 : 0 : case VEC_COND_EXPR:
14282 : 0 : {
14283 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
14284 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
14285 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
14286 : 0 : switch (TREE_CODE (_q80))
14287 : : {
14288 : 0 : case LTGT_EXPR:
14289 : 0 : {
14290 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
14291 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
14292 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
14293 : : {
14294 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
14295 : : {
14296 : 0 : if (integer_zerop (_q82))
14297 : : {
14298 : 0 : {
14299 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
14300 : 0 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR);
14301 : 0 : if (res) return res;
14302 : : }
14303 : : }
14304 : : }
14305 : : }
14306 : : break;
14307 : : }
14308 : : default:;
14309 : : }
14310 : : break;
14311 : : }
14312 : : default:;
14313 : : }
14314 : : }
14315 : : break;
14316 : : }
14317 : 0 : case LTGT_EXPR:
14318 : 0 : {
14319 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
14320 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
14321 : 0 : if (integer_zerop (_q22))
14322 : : {
14323 : 0 : switch (TREE_CODE (_p1))
14324 : : {
14325 : 0 : case VEC_COND_EXPR:
14326 : 0 : {
14327 : 0 : tree _q80 = TREE_OPERAND (_p1, 0);
14328 : 0 : tree _q81 = TREE_OPERAND (_p1, 1);
14329 : 0 : tree _q82 = TREE_OPERAND (_p1, 2);
14330 : 0 : switch (TREE_CODE (_q80))
14331 : : {
14332 : 0 : case UNEQ_EXPR:
14333 : 0 : {
14334 : 0 : tree _q90 = TREE_OPERAND (_q80, 0);
14335 : 0 : tree _q91 = TREE_OPERAND (_q80, 1);
14336 : 0 : if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
14337 : : {
14338 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
14339 : : {
14340 : 0 : if (integer_zerop (_q82))
14341 : : {
14342 : 0 : {
14343 : 0 : tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
14344 : 0 : tree res = generic_simplify_111 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR);
14345 : 0 : if (res) return res;
14346 : : }
14347 : : }
14348 : : }
14349 : : }
14350 : : break;
14351 : : }
14352 : : default:;
14353 : : }
14354 : : break;
14355 : : }
14356 : : default:;
14357 : : }
14358 : : }
14359 : : break;
14360 : : }
14361 : : default:;
14362 : : }
14363 : : break;
14364 : : }
14365 : 2273 : case BIT_XOR_EXPR:
14366 : 2273 : {
14367 : 2273 : tree _q20 = TREE_OPERAND (_p0, 0);
14368 : 2273 : tree _q21 = TREE_OPERAND (_p0, 1);
14369 : 2273 : switch (TREE_CODE (_q21))
14370 : : {
14371 : 65 : case INTEGER_CST:
14372 : 65 : {
14373 : 65 : switch (TREE_CODE (_p1))
14374 : : {
14375 : 37 : case INTEGER_CST:
14376 : 37 : {
14377 : 37 : {
14378 : 37 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
14379 : 37 : tree res = generic_simplify_112 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_IOR_EXPR);
14380 : 37 : if (res) return res;
14381 : : }
14382 : 37 : break;
14383 : : }
14384 : : default:;
14385 : : }
14386 : : break;
14387 : : }
14388 : : default:;
14389 : : }
14390 : : break;
14391 : : }
14392 : 141 : case GT_EXPR:
14393 : 141 : {
14394 : 141 : tree _q20 = TREE_OPERAND (_p0, 0);
14395 : 141 : tree _q21 = TREE_OPERAND (_p0, 1);
14396 : 141 : switch (TREE_CODE (_p1))
14397 : : {
14398 : 0 : case NE_EXPR:
14399 : 0 : {
14400 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
14401 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
14402 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
14403 : : {
14404 : 0 : if (tree_min_value (_q51))
14405 : : {
14406 : 0 : {
14407 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
14408 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures);
14409 : 0 : if (res) return res;
14410 : : }
14411 : : }
14412 : : }
14413 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
14414 : : {
14415 : 0 : if (tree_max_value (_q51))
14416 : : {
14417 : 0 : {
14418 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
14419 : 0 : tree res = generic_simplify_114 (loc, type, _p0, _p1, captures);
14420 : 0 : if (res) return res;
14421 : : }
14422 : : }
14423 : : }
14424 : : break;
14425 : : }
14426 : 15 : case EQ_EXPR:
14427 : 15 : {
14428 : 15 : tree _q50 = TREE_OPERAND (_p1, 0);
14429 : 15 : tree _q51 = TREE_OPERAND (_p1, 1);
14430 : 15 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
14431 : : {
14432 : 0 : if (tree_min_value (_q51))
14433 : : {
14434 : 0 : {
14435 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _p0, _q21 };
14436 : 0 : tree res = generic_simplify_115 (loc, type, _p0, _p1, captures);
14437 : 0 : if (res) return res;
14438 : : }
14439 : : }
14440 : : }
14441 : : break;
14442 : : }
14443 : 141 : default:;
14444 : : }
14445 : 141 : switch (TREE_CODE (_q20))
14446 : : {
14447 : 0 : CASE_CONVERT:
14448 : 0 : {
14449 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
14450 : 0 : switch (TREE_CODE (_p1))
14451 : : {
14452 : 0 : case EQ_EXPR:
14453 : 0 : {
14454 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
14455 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
14456 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
14457 : : {
14458 : 0 : {
14459 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
14460 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
14461 : 0 : if (res) return res;
14462 : : }
14463 : : }
14464 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
14465 : : {
14466 : 0 : {
14467 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
14468 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
14469 : 0 : if (res) return res;
14470 : : }
14471 : : }
14472 : : break;
14473 : : }
14474 : 0 : case NE_EXPR:
14475 : 0 : {
14476 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
14477 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
14478 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
14479 : : {
14480 : 0 : {
14481 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
14482 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
14483 : 0 : if (res) return res;
14484 : : }
14485 : : }
14486 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
14487 : : {
14488 : 0 : {
14489 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
14490 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
14491 : 0 : if (res) return res;
14492 : : }
14493 : : }
14494 : : break;
14495 : : }
14496 : : default:;
14497 : : }
14498 : : break;
14499 : : }
14500 : 141 : default:;
14501 : : }
14502 : 141 : switch (TREE_CODE (_q21))
14503 : : {
14504 : 0 : CASE_CONVERT:
14505 : 0 : {
14506 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
14507 : 0 : switch (TREE_CODE (_p1))
14508 : : {
14509 : 0 : case EQ_EXPR:
14510 : 0 : {
14511 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
14512 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
14513 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
14514 : : {
14515 : 0 : {
14516 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
14517 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
14518 : 0 : if (res) return res;
14519 : : }
14520 : : }
14521 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
14522 : : {
14523 : 0 : {
14524 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
14525 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
14526 : 0 : if (res) return res;
14527 : : }
14528 : : }
14529 : : break;
14530 : : }
14531 : 0 : case NE_EXPR:
14532 : 0 : {
14533 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
14534 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
14535 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
14536 : : {
14537 : 0 : {
14538 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
14539 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
14540 : 0 : if (res) return res;
14541 : : }
14542 : : }
14543 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
14544 : : {
14545 : 0 : {
14546 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
14547 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
14548 : 0 : if (res) return res;
14549 : : }
14550 : : }
14551 : : break;
14552 : : }
14553 : : default:;
14554 : : }
14555 : : break;
14556 : : }
14557 : 141 : default:;
14558 : : }
14559 : 141 : switch (TREE_CODE (_p1))
14560 : : {
14561 : 15 : case EQ_EXPR:
14562 : 15 : {
14563 : 15 : tree _q50 = TREE_OPERAND (_p1, 0);
14564 : 15 : tree _q51 = TREE_OPERAND (_p1, 1);
14565 : 15 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
14566 : : {
14567 : 0 : {
14568 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
14569 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
14570 : 0 : if (res) return res;
14571 : : }
14572 : : }
14573 : 15 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
14574 : : {
14575 : 0 : {
14576 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
14577 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
14578 : 0 : if (res) return res;
14579 : : }
14580 : : }
14581 : 15 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
14582 : : {
14583 : 0 : {
14584 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
14585 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
14586 : 0 : if (res) return res;
14587 : : }
14588 : : }
14589 : 15 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
14590 : : {
14591 : 0 : {
14592 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
14593 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
14594 : 0 : if (res) return res;
14595 : : }
14596 : : }
14597 : : break;
14598 : : }
14599 : 0 : case NE_EXPR:
14600 : 0 : {
14601 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
14602 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
14603 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
14604 : : {
14605 : 0 : {
14606 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
14607 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
14608 : 0 : if (res) return res;
14609 : : }
14610 : : }
14611 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
14612 : : {
14613 : 0 : {
14614 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
14615 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
14616 : 0 : if (res) return res;
14617 : : }
14618 : : }
14619 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
14620 : : {
14621 : 0 : {
14622 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
14623 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
14624 : 0 : if (res) return res;
14625 : : }
14626 : : }
14627 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
14628 : : {
14629 : 0 : {
14630 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
14631 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
14632 : 0 : if (res) return res;
14633 : : }
14634 : : }
14635 : : break;
14636 : : }
14637 : 0 : case LT_EXPR:
14638 : 0 : {
14639 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
14640 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
14641 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
14642 : : {
14643 : 0 : {
14644 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
14645 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, LT_EXPR, GT_EXPR);
14646 : 0 : if (res) return res;
14647 : : }
14648 : : }
14649 : : break;
14650 : : }
14651 : 0 : case LE_EXPR:
14652 : 0 : {
14653 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
14654 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
14655 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
14656 : : {
14657 : 0 : {
14658 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
14659 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR);
14660 : 0 : if (res) return res;
14661 : : }
14662 : : }
14663 : : break;
14664 : : }
14665 : 0 : case GT_EXPR:
14666 : 0 : {
14667 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
14668 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
14669 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
14670 : : {
14671 : 0 : {
14672 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
14673 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, GT_EXPR, GT_EXPR);
14674 : 0 : if (res) return res;
14675 : : }
14676 : : }
14677 : : break;
14678 : : }
14679 : 0 : case GE_EXPR:
14680 : 0 : {
14681 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
14682 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
14683 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
14684 : : {
14685 : 0 : {
14686 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
14687 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, GE_EXPR, GT_EXPR);
14688 : 0 : if (res) return res;
14689 : : }
14690 : : }
14691 : : break;
14692 : : }
14693 : : default:;
14694 : : }
14695 : : break;
14696 : : }
14697 : 86 : case LT_EXPR:
14698 : 86 : {
14699 : 86 : tree _q20 = TREE_OPERAND (_p0, 0);
14700 : 86 : tree _q21 = TREE_OPERAND (_p0, 1);
14701 : 86 : switch (TREE_CODE (_p1))
14702 : : {
14703 : 1 : case NE_EXPR:
14704 : 1 : {
14705 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
14706 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
14707 : 1 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
14708 : : {
14709 : 0 : if (tree_min_value (_q51))
14710 : : {
14711 : 0 : {
14712 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
14713 : 0 : tree res = generic_simplify_113 (loc, type, _p0, _p1, captures);
14714 : 0 : if (res) return res;
14715 : : }
14716 : : }
14717 : : }
14718 : 1 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
14719 : : {
14720 : 1 : if (tree_max_value (_q51))
14721 : : {
14722 : 0 : {
14723 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
14724 : 0 : tree res = generic_simplify_114 (loc, type, _p0, _p1, captures);
14725 : 0 : if (res) return res;
14726 : : }
14727 : : }
14728 : : }
14729 : : break;
14730 : : }
14731 : 5 : case EQ_EXPR:
14732 : 5 : {
14733 : 5 : tree _q50 = TREE_OPERAND (_p1, 0);
14734 : 5 : tree _q51 = TREE_OPERAND (_p1, 1);
14735 : 5 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
14736 : : {
14737 : 0 : if (tree_min_value (_q51))
14738 : : {
14739 : 0 : {
14740 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q21, _p0, _q20 };
14741 : 0 : tree res = generic_simplify_115 (loc, type, _p0, _p1, captures);
14742 : 0 : if (res) return res;
14743 : : }
14744 : : }
14745 : : }
14746 : : break;
14747 : : }
14748 : 86 : default:;
14749 : : }
14750 : 86 : switch (TREE_CODE (_q20))
14751 : : {
14752 : 15 : CASE_CONVERT:
14753 : 15 : {
14754 : 15 : tree _q30 = TREE_OPERAND (_q20, 0);
14755 : 15 : switch (TREE_CODE (_p1))
14756 : : {
14757 : 0 : case EQ_EXPR:
14758 : 0 : {
14759 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
14760 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
14761 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
14762 : : {
14763 : 0 : {
14764 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
14765 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
14766 : 0 : if (res) return res;
14767 : : }
14768 : : }
14769 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
14770 : : {
14771 : 0 : {
14772 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
14773 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
14774 : 0 : if (res) return res;
14775 : : }
14776 : : }
14777 : : break;
14778 : : }
14779 : 0 : case NE_EXPR:
14780 : 0 : {
14781 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
14782 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
14783 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
14784 : : {
14785 : 0 : {
14786 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
14787 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
14788 : 0 : if (res) return res;
14789 : : }
14790 : : }
14791 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
14792 : : {
14793 : 0 : {
14794 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
14795 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
14796 : 0 : if (res) return res;
14797 : : }
14798 : : }
14799 : : break;
14800 : : }
14801 : : default:;
14802 : : }
14803 : : break;
14804 : : }
14805 : 86 : default:;
14806 : : }
14807 : 86 : switch (TREE_CODE (_q21))
14808 : : {
14809 : 8 : CASE_CONVERT:
14810 : 8 : {
14811 : 8 : tree _q40 = TREE_OPERAND (_q21, 0);
14812 : 8 : switch (TREE_CODE (_p1))
14813 : : {
14814 : 0 : case EQ_EXPR:
14815 : 0 : {
14816 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
14817 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
14818 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
14819 : : {
14820 : 0 : {
14821 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
14822 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
14823 : 0 : if (res) return res;
14824 : : }
14825 : : }
14826 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
14827 : : {
14828 : 0 : {
14829 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
14830 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
14831 : 0 : if (res) return res;
14832 : : }
14833 : : }
14834 : : break;
14835 : : }
14836 : 0 : case NE_EXPR:
14837 : 0 : {
14838 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
14839 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
14840 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
14841 : : {
14842 : 0 : {
14843 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
14844 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
14845 : 0 : if (res) return res;
14846 : : }
14847 : : }
14848 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
14849 : : {
14850 : 0 : {
14851 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
14852 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
14853 : 0 : if (res) return res;
14854 : : }
14855 : : }
14856 : : break;
14857 : : }
14858 : : default:;
14859 : : }
14860 : : break;
14861 : : }
14862 : 86 : default:;
14863 : : }
14864 : 86 : switch (TREE_CODE (_p1))
14865 : : {
14866 : 5 : case EQ_EXPR:
14867 : 5 : {
14868 : 5 : tree _q50 = TREE_OPERAND (_p1, 0);
14869 : 5 : tree _q51 = TREE_OPERAND (_p1, 1);
14870 : 5 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
14871 : : {
14872 : 0 : {
14873 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
14874 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
14875 : 0 : if (res) return res;
14876 : : }
14877 : : }
14878 : 5 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
14879 : : {
14880 : 0 : {
14881 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
14882 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
14883 : 0 : if (res) return res;
14884 : : }
14885 : : }
14886 : 5 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
14887 : : {
14888 : 0 : {
14889 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
14890 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
14891 : 0 : if (res) return res;
14892 : : }
14893 : : }
14894 : 5 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
14895 : : {
14896 : 0 : {
14897 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
14898 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
14899 : 0 : if (res) return res;
14900 : : }
14901 : : }
14902 : : break;
14903 : : }
14904 : 1 : case NE_EXPR:
14905 : 1 : {
14906 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
14907 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
14908 : 1 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
14909 : : {
14910 : 1 : {
14911 : 1 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
14912 : 1 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
14913 : 1 : if (res) return res;
14914 : : }
14915 : : }
14916 : 1 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
14917 : : {
14918 : 0 : {
14919 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
14920 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
14921 : 0 : if (res) return res;
14922 : : }
14923 : : }
14924 : 1 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
14925 : : {
14926 : 0 : {
14927 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
14928 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
14929 : 0 : if (res) return res;
14930 : : }
14931 : : }
14932 : 1 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
14933 : : {
14934 : 0 : {
14935 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
14936 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
14937 : 0 : if (res) return res;
14938 : : }
14939 : : }
14940 : : break;
14941 : : }
14942 : 15 : case LT_EXPR:
14943 : 15 : {
14944 : 15 : tree _q50 = TREE_OPERAND (_p1, 0);
14945 : 15 : tree _q51 = TREE_OPERAND (_p1, 1);
14946 : 15 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
14947 : : {
14948 : 0 : {
14949 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
14950 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, LT_EXPR, LT_EXPR);
14951 : 0 : if (res) return res;
14952 : : }
14953 : : }
14954 : : break;
14955 : : }
14956 : 7 : case LE_EXPR:
14957 : 7 : {
14958 : 7 : tree _q50 = TREE_OPERAND (_p1, 0);
14959 : 7 : tree _q51 = TREE_OPERAND (_p1, 1);
14960 : 7 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
14961 : : {
14962 : 7 : {
14963 : 7 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
14964 : 7 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, LE_EXPR, LT_EXPR);
14965 : 7 : if (res) return res;
14966 : : }
14967 : : }
14968 : : break;
14969 : : }
14970 : 0 : case GT_EXPR:
14971 : 0 : {
14972 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
14973 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
14974 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
14975 : : {
14976 : 0 : {
14977 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
14978 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, GT_EXPR, LT_EXPR);
14979 : 0 : if (res) return res;
14980 : : }
14981 : : }
14982 : : break;
14983 : : }
14984 : 0 : case GE_EXPR:
14985 : 0 : {
14986 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
14987 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
14988 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
14989 : : {
14990 : 0 : {
14991 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
14992 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR);
14993 : 0 : if (res) return res;
14994 : : }
14995 : : }
14996 : : break;
14997 : : }
14998 : : default:;
14999 : : }
15000 : : break;
15001 : : }
15002 : 267 : case NE_EXPR:
15003 : 267 : {
15004 : 267 : tree _q20 = TREE_OPERAND (_p0, 0);
15005 : 267 : tree _q21 = TREE_OPERAND (_p0, 1);
15006 : 267 : if (tree_min_value (_q21))
15007 : : {
15008 : 54 : switch (TREE_CODE (_p1))
15009 : : {
15010 : 0 : case GT_EXPR:
15011 : 0 : {
15012 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
15013 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
15014 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
15015 : : {
15016 : 0 : {
15017 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q51, _p0 };
15018 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures);
15019 : 0 : if (res) return res;
15020 : : }
15021 : : }
15022 : : break;
15023 : : }
15024 : 0 : case LT_EXPR:
15025 : 0 : {
15026 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
15027 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
15028 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
15029 : : {
15030 : 0 : {
15031 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q50, _p0 };
15032 : 0 : tree res = generic_simplify_119 (loc, type, _p0, _p1, captures);
15033 : 0 : if (res) return res;
15034 : : }
15035 : : }
15036 : : break;
15037 : : }
15038 : 0 : case LE_EXPR:
15039 : 0 : {
15040 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
15041 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
15042 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
15043 : : {
15044 : 0 : {
15045 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q51 };
15046 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures);
15047 : 0 : if (res) return res;
15048 : : }
15049 : : }
15050 : : break;
15051 : : }
15052 : 1 : case GE_EXPR:
15053 : 1 : {
15054 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
15055 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
15056 : 1 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
15057 : : {
15058 : 0 : {
15059 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
15060 : 0 : tree res = generic_simplify_120 (loc, type, _p0, _p1, captures);
15061 : 0 : if (res) return res;
15062 : : }
15063 : : }
15064 : : break;
15065 : : }
15066 : : default:;
15067 : : }
15068 : : }
15069 : 267 : if (tree_max_value (_q21))
15070 : : {
15071 : 0 : switch (TREE_CODE (_p1))
15072 : : {
15073 : 0 : case LT_EXPR:
15074 : 0 : {
15075 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
15076 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
15077 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
15078 : : {
15079 : 0 : {
15080 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q51, _p0 };
15081 : 0 : tree res = generic_simplify_121 (loc, type, _p0, _p1, captures);
15082 : 0 : if (res) return res;
15083 : : }
15084 : : }
15085 : : break;
15086 : : }
15087 : 0 : case GT_EXPR:
15088 : 0 : {
15089 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
15090 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
15091 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
15092 : : {
15093 : 0 : {
15094 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q50, _p0 };
15095 : 0 : tree res = generic_simplify_121 (loc, type, _p0, _p1, captures);
15096 : 0 : if (res) return res;
15097 : : }
15098 : : }
15099 : : break;
15100 : : }
15101 : 0 : case GE_EXPR:
15102 : 0 : {
15103 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
15104 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
15105 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
15106 : : {
15107 : 0 : {
15108 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q51 };
15109 : 0 : tree res = generic_simplify_122 (loc, type, _p0, _p1, captures, NE_EXPR);
15110 : 0 : if (res) return res;
15111 : : }
15112 : : }
15113 : : break;
15114 : : }
15115 : 0 : case LE_EXPR:
15116 : 0 : {
15117 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
15118 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
15119 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
15120 : : {
15121 : 0 : {
15122 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q50 };
15123 : 0 : tree res = generic_simplify_122 (loc, type, _p0, _p1, captures, NE_EXPR);
15124 : 0 : if (res) return res;
15125 : : }
15126 : : }
15127 : : break;
15128 : : }
15129 : : default:;
15130 : : }
15131 : : }
15132 : 267 : switch (TREE_CODE (_p1))
15133 : : {
15134 : 15 : case EQ_EXPR:
15135 : 15 : {
15136 : 15 : tree _q50 = TREE_OPERAND (_p1, 0);
15137 : 15 : tree _q51 = TREE_OPERAND (_p1, 1);
15138 : 15 : switch (TREE_CODE (_q50))
15139 : : {
15140 : 0 : CASE_CONVERT:
15141 : 0 : {
15142 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
15143 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
15144 : : {
15145 : 0 : {
15146 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
15147 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
15148 : 0 : if (res) return res;
15149 : : }
15150 : : }
15151 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
15152 : : {
15153 : 0 : {
15154 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
15155 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
15156 : 0 : if (res) return res;
15157 : : }
15158 : : }
15159 : : break;
15160 : : }
15161 : 15 : default:;
15162 : : }
15163 : 15 : switch (TREE_CODE (_q51))
15164 : : {
15165 : 0 : CASE_CONVERT:
15166 : 0 : {
15167 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
15168 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
15169 : : {
15170 : 0 : {
15171 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
15172 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
15173 : 0 : if (res) return res;
15174 : : }
15175 : : }
15176 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
15177 : : {
15178 : 0 : {
15179 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
15180 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
15181 : 0 : if (res) return res;
15182 : : }
15183 : : }
15184 : : break;
15185 : : }
15186 : : default:;
15187 : : }
15188 : : break;
15189 : : }
15190 : 1 : case NE_EXPR:
15191 : 1 : {
15192 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
15193 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
15194 : 1 : switch (TREE_CODE (_q50))
15195 : : {
15196 : 0 : CASE_CONVERT:
15197 : 0 : {
15198 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
15199 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
15200 : : {
15201 : 0 : {
15202 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
15203 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
15204 : 0 : if (res) return res;
15205 : : }
15206 : : }
15207 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
15208 : : {
15209 : 0 : {
15210 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
15211 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
15212 : 0 : if (res) return res;
15213 : : }
15214 : : }
15215 : : break;
15216 : : }
15217 : 1 : default:;
15218 : : }
15219 : 1 : switch (TREE_CODE (_q51))
15220 : : {
15221 : 0 : CASE_CONVERT:
15222 : 0 : {
15223 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
15224 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
15225 : : {
15226 : 0 : {
15227 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
15228 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
15229 : 0 : if (res) return res;
15230 : : }
15231 : : }
15232 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
15233 : : {
15234 : 0 : {
15235 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
15236 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
15237 : 0 : if (res) return res;
15238 : : }
15239 : : }
15240 : : break;
15241 : : }
15242 : : default:;
15243 : : }
15244 : : break;
15245 : : }
15246 : 0 : case LT_EXPR:
15247 : 0 : {
15248 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
15249 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
15250 : 0 : switch (TREE_CODE (_q50))
15251 : : {
15252 : 0 : CASE_CONVERT:
15253 : 0 : {
15254 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
15255 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
15256 : : {
15257 : 0 : {
15258 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
15259 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
15260 : 0 : if (res) return res;
15261 : : }
15262 : : }
15263 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
15264 : : {
15265 : 0 : {
15266 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
15267 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
15268 : 0 : if (res) return res;
15269 : : }
15270 : : }
15271 : : break;
15272 : : }
15273 : 0 : default:;
15274 : : }
15275 : 0 : switch (TREE_CODE (_q51))
15276 : : {
15277 : 0 : CASE_CONVERT:
15278 : 0 : {
15279 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
15280 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
15281 : : {
15282 : 0 : {
15283 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
15284 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
15285 : 0 : if (res) return res;
15286 : : }
15287 : : }
15288 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
15289 : : {
15290 : 0 : {
15291 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
15292 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
15293 : 0 : if (res) return res;
15294 : : }
15295 : : }
15296 : : break;
15297 : : }
15298 : : default:;
15299 : : }
15300 : : break;
15301 : : }
15302 : 0 : case GT_EXPR:
15303 : 0 : {
15304 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
15305 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
15306 : 0 : switch (TREE_CODE (_q50))
15307 : : {
15308 : 0 : CASE_CONVERT:
15309 : 0 : {
15310 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
15311 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
15312 : : {
15313 : 0 : {
15314 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
15315 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
15316 : 0 : if (res) return res;
15317 : : }
15318 : : }
15319 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
15320 : : {
15321 : 0 : {
15322 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
15323 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
15324 : 0 : if (res) return res;
15325 : : }
15326 : : }
15327 : : break;
15328 : : }
15329 : 0 : default:;
15330 : : }
15331 : 0 : switch (TREE_CODE (_q51))
15332 : : {
15333 : 0 : CASE_CONVERT:
15334 : 0 : {
15335 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
15336 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
15337 : : {
15338 : 0 : {
15339 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
15340 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
15341 : 0 : if (res) return res;
15342 : : }
15343 : : }
15344 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
15345 : : {
15346 : 0 : {
15347 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
15348 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
15349 : 0 : if (res) return res;
15350 : : }
15351 : : }
15352 : : break;
15353 : : }
15354 : : default:;
15355 : : }
15356 : : break;
15357 : : }
15358 : 0 : case LE_EXPR:
15359 : 0 : {
15360 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
15361 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
15362 : 0 : switch (TREE_CODE (_q50))
15363 : : {
15364 : 0 : CASE_CONVERT:
15365 : 0 : {
15366 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
15367 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
15368 : : {
15369 : 0 : {
15370 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
15371 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
15372 : 0 : if (res) return res;
15373 : : }
15374 : : }
15375 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
15376 : : {
15377 : 0 : {
15378 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
15379 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
15380 : 0 : if (res) return res;
15381 : : }
15382 : : }
15383 : : break;
15384 : : }
15385 : 0 : default:;
15386 : : }
15387 : 0 : switch (TREE_CODE (_q51))
15388 : : {
15389 : 0 : CASE_CONVERT:
15390 : 0 : {
15391 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
15392 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
15393 : : {
15394 : 0 : {
15395 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
15396 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
15397 : 0 : if (res) return res;
15398 : : }
15399 : : }
15400 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
15401 : : {
15402 : 0 : {
15403 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
15404 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
15405 : 0 : if (res) return res;
15406 : : }
15407 : : }
15408 : : break;
15409 : : }
15410 : : default:;
15411 : : }
15412 : : break;
15413 : : }
15414 : 1 : case GE_EXPR:
15415 : 1 : {
15416 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
15417 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
15418 : 1 : switch (TREE_CODE (_q50))
15419 : : {
15420 : 0 : CASE_CONVERT:
15421 : 0 : {
15422 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
15423 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
15424 : : {
15425 : 0 : {
15426 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
15427 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
15428 : 0 : if (res) return res;
15429 : : }
15430 : : }
15431 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
15432 : : {
15433 : 0 : {
15434 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
15435 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
15436 : 0 : if (res) return res;
15437 : : }
15438 : : }
15439 : : break;
15440 : : }
15441 : 1 : default:;
15442 : : }
15443 : 1 : switch (TREE_CODE (_q51))
15444 : : {
15445 : 0 : CASE_CONVERT:
15446 : 0 : {
15447 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
15448 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
15449 : : {
15450 : 0 : {
15451 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
15452 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
15453 : 0 : if (res) return res;
15454 : : }
15455 : : }
15456 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
15457 : : {
15458 : 0 : {
15459 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
15460 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
15461 : 0 : if (res) return res;
15462 : : }
15463 : : }
15464 : : break;
15465 : : }
15466 : : default:;
15467 : : }
15468 : : break;
15469 : : }
15470 : 267 : default:;
15471 : : }
15472 : 267 : switch (TREE_CODE (_q20))
15473 : : {
15474 : 22 : CASE_CONVERT:
15475 : 22 : {
15476 : 22 : tree _q30 = TREE_OPERAND (_q20, 0);
15477 : 22 : switch (TREE_CODE (_p1))
15478 : : {
15479 : 0 : case EQ_EXPR:
15480 : 0 : {
15481 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
15482 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
15483 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
15484 : : {
15485 : 0 : {
15486 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
15487 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
15488 : 0 : if (res) return res;
15489 : : }
15490 : : }
15491 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
15492 : : {
15493 : 0 : {
15494 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
15495 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
15496 : 0 : if (res) return res;
15497 : : }
15498 : : }
15499 : : break;
15500 : : }
15501 : 0 : case NE_EXPR:
15502 : 0 : {
15503 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
15504 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
15505 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
15506 : : {
15507 : 0 : {
15508 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
15509 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
15510 : 0 : if (res) return res;
15511 : : }
15512 : : }
15513 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
15514 : : {
15515 : 0 : {
15516 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
15517 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
15518 : 0 : if (res) return res;
15519 : : }
15520 : : }
15521 : : break;
15522 : : }
15523 : : default:;
15524 : : }
15525 : : break;
15526 : : }
15527 : 267 : default:;
15528 : : }
15529 : 267 : switch (TREE_CODE (_q21))
15530 : : {
15531 : 0 : CASE_CONVERT:
15532 : 0 : {
15533 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
15534 : 0 : switch (TREE_CODE (_p1))
15535 : : {
15536 : 0 : case EQ_EXPR:
15537 : 0 : {
15538 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
15539 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
15540 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
15541 : : {
15542 : 0 : {
15543 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
15544 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
15545 : 0 : if (res) return res;
15546 : : }
15547 : : }
15548 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
15549 : : {
15550 : 0 : {
15551 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
15552 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
15553 : 0 : if (res) return res;
15554 : : }
15555 : : }
15556 : : break;
15557 : : }
15558 : 0 : case NE_EXPR:
15559 : 0 : {
15560 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
15561 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
15562 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
15563 : : {
15564 : 0 : {
15565 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
15566 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
15567 : 0 : if (res) return res;
15568 : : }
15569 : : }
15570 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
15571 : : {
15572 : 0 : {
15573 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
15574 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
15575 : 0 : if (res) return res;
15576 : : }
15577 : : }
15578 : : break;
15579 : : }
15580 : : default:;
15581 : : }
15582 : : break;
15583 : : }
15584 : 267 : default:;
15585 : : }
15586 : 267 : switch (TREE_CODE (_p1))
15587 : : {
15588 : 15 : case EQ_EXPR:
15589 : 15 : {
15590 : 15 : tree _q50 = TREE_OPERAND (_p1, 0);
15591 : 15 : tree _q51 = TREE_OPERAND (_p1, 1);
15592 : 15 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
15593 : : {
15594 : 0 : {
15595 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
15596 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
15597 : 0 : if (res) return res;
15598 : : }
15599 : 0 : {
15600 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
15601 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
15602 : 0 : if (res) return res;
15603 : : }
15604 : : }
15605 : 15 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
15606 : : {
15607 : 0 : {
15608 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
15609 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
15610 : 0 : if (res) return res;
15611 : : }
15612 : : }
15613 : 15 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
15614 : : {
15615 : 0 : {
15616 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
15617 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
15618 : 0 : if (res) return res;
15619 : : }
15620 : 0 : {
15621 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
15622 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
15623 : 0 : if (res) return res;
15624 : : }
15625 : : }
15626 : 15 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
15627 : : {
15628 : 5 : {
15629 : 5 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
15630 : 5 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
15631 : 5 : if (res) return res;
15632 : : }
15633 : 5 : {
15634 : 5 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
15635 : 5 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
15636 : 5 : if (res) return res;
15637 : : }
15638 : : }
15639 : 15 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
15640 : : {
15641 : 0 : {
15642 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
15643 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
15644 : 0 : if (res) return res;
15645 : : }
15646 : : }
15647 : : break;
15648 : : }
15649 : 1 : case NE_EXPR:
15650 : 1 : {
15651 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
15652 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
15653 : 1 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
15654 : : {
15655 : 0 : {
15656 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
15657 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
15658 : 0 : if (res) return res;
15659 : : }
15660 : 0 : {
15661 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
15662 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
15663 : 0 : if (res) return res;
15664 : : }
15665 : : }
15666 : 1 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
15667 : : {
15668 : 0 : {
15669 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
15670 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
15671 : 0 : if (res) return res;
15672 : : }
15673 : : }
15674 : 1 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
15675 : : {
15676 : 0 : {
15677 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
15678 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
15679 : 0 : if (res) return res;
15680 : : }
15681 : 0 : {
15682 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
15683 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
15684 : 0 : if (res) return res;
15685 : : }
15686 : : }
15687 : 1 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
15688 : : {
15689 : 0 : {
15690 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
15691 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
15692 : 0 : if (res) return res;
15693 : : }
15694 : 0 : {
15695 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
15696 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
15697 : 0 : if (res) return res;
15698 : : }
15699 : : }
15700 : 1 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
15701 : : {
15702 : 0 : {
15703 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
15704 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, NE_EXPR, NE_EXPR);
15705 : 0 : if (res) return res;
15706 : : }
15707 : : }
15708 : : break;
15709 : : }
15710 : 0 : case LT_EXPR:
15711 : 0 : {
15712 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
15713 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
15714 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
15715 : : {
15716 : 0 : {
15717 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
15718 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
15719 : 0 : if (res) return res;
15720 : : }
15721 : : }
15722 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
15723 : : {
15724 : 0 : {
15725 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
15726 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
15727 : 0 : if (res) return res;
15728 : : }
15729 : : }
15730 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
15731 : : {
15732 : 0 : {
15733 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
15734 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
15735 : 0 : if (res) return res;
15736 : : }
15737 : : }
15738 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
15739 : : {
15740 : 0 : {
15741 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
15742 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
15743 : 0 : if (res) return res;
15744 : : }
15745 : : }
15746 : : break;
15747 : : }
15748 : 0 : case GT_EXPR:
15749 : 0 : {
15750 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
15751 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
15752 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
15753 : : {
15754 : 0 : {
15755 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
15756 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
15757 : 0 : if (res) return res;
15758 : : }
15759 : : }
15760 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
15761 : : {
15762 : 0 : {
15763 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
15764 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
15765 : 0 : if (res) return res;
15766 : : }
15767 : : }
15768 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
15769 : : {
15770 : 0 : {
15771 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
15772 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, GT_EXPR, NE_EXPR);
15773 : 0 : if (res) return res;
15774 : : }
15775 : : }
15776 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
15777 : : {
15778 : 0 : {
15779 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
15780 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, LT_EXPR, NE_EXPR);
15781 : 0 : if (res) return res;
15782 : : }
15783 : : }
15784 : : break;
15785 : : }
15786 : 0 : case LE_EXPR:
15787 : 0 : {
15788 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
15789 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
15790 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
15791 : : {
15792 : 0 : {
15793 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
15794 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
15795 : 0 : if (res) return res;
15796 : : }
15797 : : }
15798 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
15799 : : {
15800 : 0 : {
15801 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
15802 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
15803 : 0 : if (res) return res;
15804 : : }
15805 : : }
15806 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
15807 : : {
15808 : 0 : {
15809 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
15810 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
15811 : 0 : if (res) return res;
15812 : : }
15813 : : }
15814 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
15815 : : {
15816 : 0 : {
15817 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
15818 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
15819 : 0 : if (res) return res;
15820 : : }
15821 : : }
15822 : : break;
15823 : : }
15824 : 1 : case GE_EXPR:
15825 : 1 : {
15826 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
15827 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
15828 : 1 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
15829 : : {
15830 : 0 : {
15831 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
15832 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
15833 : 0 : if (res) return res;
15834 : : }
15835 : : }
15836 : 1 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
15837 : : {
15838 : 0 : {
15839 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
15840 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
15841 : 0 : if (res) return res;
15842 : : }
15843 : : }
15844 : 1 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
15845 : : {
15846 : 0 : {
15847 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
15848 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
15849 : 0 : if (res) return res;
15850 : : }
15851 : : }
15852 : 1 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
15853 : : {
15854 : 0 : {
15855 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
15856 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
15857 : 0 : if (res) return res;
15858 : : }
15859 : : }
15860 : : break;
15861 : : }
15862 : : default:;
15863 : : }
15864 : : break;
15865 : : }
15866 : 170 : case LE_EXPR:
15867 : 170 : {
15868 : 170 : tree _q20 = TREE_OPERAND (_p0, 0);
15869 : 170 : tree _q21 = TREE_OPERAND (_p0, 1);
15870 : 170 : switch (TREE_CODE (_p1))
15871 : : {
15872 : 7 : case NE_EXPR:
15873 : 7 : {
15874 : 7 : tree _q50 = TREE_OPERAND (_p1, 0);
15875 : 7 : tree _q51 = TREE_OPERAND (_p1, 1);
15876 : 7 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
15877 : : {
15878 : 7 : if (tree_min_value (_q51))
15879 : : {
15880 : 0 : {
15881 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
15882 : 0 : tree res = generic_simplify_125 (loc, type, _p0, _p1, captures);
15883 : 0 : if (res) return res;
15884 : : }
15885 : : }
15886 : : }
15887 : 7 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
15888 : : {
15889 : 0 : if (tree_max_value (_q51))
15890 : : {
15891 : 0 : {
15892 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
15893 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, NE_EXPR);
15894 : 0 : if (res) return res;
15895 : : }
15896 : : }
15897 : : }
15898 : : break;
15899 : : }
15900 : 30 : case EQ_EXPR:
15901 : 30 : {
15902 : 30 : tree _q50 = TREE_OPERAND (_p1, 0);
15903 : 30 : tree _q51 = TREE_OPERAND (_p1, 1);
15904 : 30 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
15905 : : {
15906 : 7 : if (tree_min_value (_q51))
15907 : : {
15908 : 0 : {
15909 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
15910 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures);
15911 : 0 : if (res) return res;
15912 : : }
15913 : : }
15914 : : }
15915 : 30 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
15916 : : {
15917 : 0 : if (tree_max_value (_q51))
15918 : : {
15919 : 0 : {
15920 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
15921 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, EQ_EXPR);
15922 : 0 : if (res) return res;
15923 : : }
15924 : : }
15925 : : }
15926 : : break;
15927 : : }
15928 : 170 : default:;
15929 : : }
15930 : 170 : switch (TREE_CODE (_q20))
15931 : : {
15932 : 0 : CASE_CONVERT:
15933 : 0 : {
15934 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
15935 : 0 : switch (TREE_CODE (_p1))
15936 : : {
15937 : 0 : case EQ_EXPR:
15938 : 0 : {
15939 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
15940 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
15941 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
15942 : : {
15943 : 0 : {
15944 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
15945 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
15946 : 0 : if (res) return res;
15947 : : }
15948 : : }
15949 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
15950 : : {
15951 : 0 : {
15952 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
15953 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
15954 : 0 : if (res) return res;
15955 : : }
15956 : : }
15957 : : break;
15958 : : }
15959 : 0 : case NE_EXPR:
15960 : 0 : {
15961 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
15962 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
15963 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
15964 : : {
15965 : 0 : {
15966 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
15967 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
15968 : 0 : if (res) return res;
15969 : : }
15970 : : }
15971 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
15972 : : {
15973 : 0 : {
15974 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
15975 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
15976 : 0 : if (res) return res;
15977 : : }
15978 : : }
15979 : : break;
15980 : : }
15981 : : default:;
15982 : : }
15983 : : break;
15984 : : }
15985 : 170 : default:;
15986 : : }
15987 : 170 : switch (TREE_CODE (_q21))
15988 : : {
15989 : 0 : CASE_CONVERT:
15990 : 0 : {
15991 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
15992 : 0 : switch (TREE_CODE (_p1))
15993 : : {
15994 : 0 : case EQ_EXPR:
15995 : 0 : {
15996 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
15997 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
15998 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
15999 : : {
16000 : 0 : {
16001 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
16002 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
16003 : 0 : if (res) return res;
16004 : : }
16005 : : }
16006 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
16007 : : {
16008 : 0 : {
16009 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
16010 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
16011 : 0 : if (res) return res;
16012 : : }
16013 : : }
16014 : : break;
16015 : : }
16016 : 0 : case NE_EXPR:
16017 : 0 : {
16018 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
16019 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
16020 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
16021 : : {
16022 : 0 : {
16023 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
16024 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
16025 : 0 : if (res) return res;
16026 : : }
16027 : : }
16028 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
16029 : : {
16030 : 0 : {
16031 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
16032 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
16033 : 0 : if (res) return res;
16034 : : }
16035 : : }
16036 : : break;
16037 : : }
16038 : : default:;
16039 : : }
16040 : : break;
16041 : : }
16042 : 170 : default:;
16043 : : }
16044 : 170 : switch (TREE_CODE (_p1))
16045 : : {
16046 : 30 : case EQ_EXPR:
16047 : 30 : {
16048 : 30 : tree _q50 = TREE_OPERAND (_p1, 0);
16049 : 30 : tree _q51 = TREE_OPERAND (_p1, 1);
16050 : 30 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16051 : : {
16052 : 7 : {
16053 : 7 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
16054 : 7 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
16055 : 7 : if (res) return res;
16056 : : }
16057 : : }
16058 : 23 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
16059 : : {
16060 : 0 : {
16061 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
16062 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
16063 : 0 : if (res) return res;
16064 : : }
16065 : : }
16066 : 23 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
16067 : : {
16068 : 0 : {
16069 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
16070 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
16071 : 0 : if (res) return res;
16072 : : }
16073 : : }
16074 : 23 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
16075 : : {
16076 : 0 : {
16077 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
16078 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
16079 : 0 : if (res) return res;
16080 : : }
16081 : : }
16082 : : break;
16083 : : }
16084 : 7 : case NE_EXPR:
16085 : 7 : {
16086 : 7 : tree _q50 = TREE_OPERAND (_p1, 0);
16087 : 7 : tree _q51 = TREE_OPERAND (_p1, 1);
16088 : 7 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16089 : : {
16090 : 7 : {
16091 : 7 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
16092 : 7 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
16093 : 7 : if (res) return res;
16094 : : }
16095 : : }
16096 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
16097 : : {
16098 : 0 : {
16099 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
16100 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
16101 : 0 : if (res) return res;
16102 : : }
16103 : : }
16104 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
16105 : : {
16106 : 0 : {
16107 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
16108 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
16109 : 0 : if (res) return res;
16110 : : }
16111 : : }
16112 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
16113 : : {
16114 : 0 : {
16115 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
16116 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
16117 : 0 : if (res) return res;
16118 : : }
16119 : : }
16120 : : break;
16121 : : }
16122 : 0 : case LT_EXPR:
16123 : 0 : {
16124 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16125 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16126 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16127 : : {
16128 : 0 : {
16129 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
16130 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, LT_EXPR, LE_EXPR);
16131 : 0 : if (res) return res;
16132 : : }
16133 : : }
16134 : : break;
16135 : : }
16136 : 2 : case LE_EXPR:
16137 : 2 : {
16138 : 2 : tree _q50 = TREE_OPERAND (_p1, 0);
16139 : 2 : tree _q51 = TREE_OPERAND (_p1, 1);
16140 : 2 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16141 : : {
16142 : 0 : {
16143 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
16144 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, LE_EXPR, LE_EXPR);
16145 : 0 : if (res) return res;
16146 : : }
16147 : : }
16148 : : break;
16149 : : }
16150 : 0 : case GT_EXPR:
16151 : 0 : {
16152 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16153 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16154 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16155 : : {
16156 : 0 : {
16157 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
16158 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR);
16159 : 0 : if (res) return res;
16160 : : }
16161 : : }
16162 : : break;
16163 : : }
16164 : 1 : case GE_EXPR:
16165 : 1 : {
16166 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
16167 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
16168 : 1 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16169 : : {
16170 : 0 : {
16171 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
16172 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, GE_EXPR, LE_EXPR);
16173 : 0 : if (res) return res;
16174 : : }
16175 : : }
16176 : : break;
16177 : : }
16178 : : default:;
16179 : : }
16180 : : break;
16181 : : }
16182 : 39 : case GE_EXPR:
16183 : 39 : {
16184 : 39 : tree _q20 = TREE_OPERAND (_p0, 0);
16185 : 39 : tree _q21 = TREE_OPERAND (_p0, 1);
16186 : 39 : switch (TREE_CODE (_p1))
16187 : : {
16188 : 0 : case NE_EXPR:
16189 : 0 : {
16190 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16191 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16192 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
16193 : : {
16194 : 0 : if (tree_min_value (_q51))
16195 : : {
16196 : 0 : {
16197 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
16198 : 0 : tree res = generic_simplify_125 (loc, type, _p0, _p1, captures);
16199 : 0 : if (res) return res;
16200 : : }
16201 : : }
16202 : : }
16203 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16204 : : {
16205 : 0 : if (tree_max_value (_q51))
16206 : : {
16207 : 0 : {
16208 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
16209 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, NE_EXPR);
16210 : 0 : if (res) return res;
16211 : : }
16212 : : }
16213 : : }
16214 : : break;
16215 : : }
16216 : 5 : case EQ_EXPR:
16217 : 5 : {
16218 : 5 : tree _q50 = TREE_OPERAND (_p1, 0);
16219 : 5 : tree _q51 = TREE_OPERAND (_p1, 1);
16220 : 5 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
16221 : : {
16222 : 0 : if (tree_min_value (_q51))
16223 : : {
16224 : 0 : {
16225 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
16226 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures);
16227 : 0 : if (res) return res;
16228 : : }
16229 : : }
16230 : : }
16231 : 5 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16232 : : {
16233 : 0 : if (tree_max_value (_q51))
16234 : : {
16235 : 0 : {
16236 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
16237 : 0 : tree res = generic_simplify_126 (loc, type, _p0, _p1, captures, EQ_EXPR);
16238 : 0 : if (res) return res;
16239 : : }
16240 : : }
16241 : : }
16242 : : break;
16243 : : }
16244 : 39 : default:;
16245 : : }
16246 : 39 : switch (TREE_CODE (_q20))
16247 : : {
16248 : 8 : CASE_CONVERT:
16249 : 8 : {
16250 : 8 : tree _q30 = TREE_OPERAND (_q20, 0);
16251 : 8 : switch (TREE_CODE (_p1))
16252 : : {
16253 : 0 : case EQ_EXPR:
16254 : 0 : {
16255 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
16256 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
16257 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
16258 : : {
16259 : 0 : {
16260 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
16261 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
16262 : 0 : if (res) return res;
16263 : : }
16264 : : }
16265 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
16266 : : {
16267 : 0 : {
16268 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
16269 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
16270 : 0 : if (res) return res;
16271 : : }
16272 : : }
16273 : : break;
16274 : : }
16275 : 0 : case NE_EXPR:
16276 : 0 : {
16277 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
16278 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
16279 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
16280 : : {
16281 : 0 : {
16282 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
16283 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
16284 : 0 : if (res) return res;
16285 : : }
16286 : : }
16287 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
16288 : : {
16289 : 0 : {
16290 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
16291 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
16292 : 0 : if (res) return res;
16293 : : }
16294 : : }
16295 : : break;
16296 : : }
16297 : : default:;
16298 : : }
16299 : : break;
16300 : : }
16301 : 39 : default:;
16302 : : }
16303 : 39 : switch (TREE_CODE (_q21))
16304 : : {
16305 : 0 : CASE_CONVERT:
16306 : 0 : {
16307 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
16308 : 0 : switch (TREE_CODE (_p1))
16309 : : {
16310 : 0 : case EQ_EXPR:
16311 : 0 : {
16312 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
16313 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
16314 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
16315 : : {
16316 : 0 : {
16317 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
16318 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
16319 : 0 : if (res) return res;
16320 : : }
16321 : : }
16322 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
16323 : : {
16324 : 0 : {
16325 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
16326 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
16327 : 0 : if (res) return res;
16328 : : }
16329 : : }
16330 : : break;
16331 : : }
16332 : 0 : case NE_EXPR:
16333 : 0 : {
16334 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
16335 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
16336 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
16337 : : {
16338 : 0 : {
16339 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
16340 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
16341 : 0 : if (res) return res;
16342 : : }
16343 : : }
16344 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
16345 : : {
16346 : 0 : {
16347 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
16348 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
16349 : 0 : if (res) return res;
16350 : : }
16351 : : }
16352 : : break;
16353 : : }
16354 : : default:;
16355 : : }
16356 : : break;
16357 : : }
16358 : 39 : default:;
16359 : : }
16360 : 39 : switch (TREE_CODE (_p1))
16361 : : {
16362 : 5 : case EQ_EXPR:
16363 : 5 : {
16364 : 5 : tree _q50 = TREE_OPERAND (_p1, 0);
16365 : 5 : tree _q51 = TREE_OPERAND (_p1, 1);
16366 : 5 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16367 : : {
16368 : 0 : {
16369 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
16370 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
16371 : 0 : if (res) return res;
16372 : : }
16373 : : }
16374 : 5 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
16375 : : {
16376 : 0 : {
16377 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
16378 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
16379 : 0 : if (res) return res;
16380 : : }
16381 : : }
16382 : 5 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
16383 : : {
16384 : 0 : {
16385 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
16386 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
16387 : 0 : if (res) return res;
16388 : : }
16389 : : }
16390 : 5 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
16391 : : {
16392 : 0 : {
16393 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
16394 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
16395 : 0 : if (res) return res;
16396 : : }
16397 : : }
16398 : : break;
16399 : : }
16400 : 0 : case NE_EXPR:
16401 : 0 : {
16402 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16403 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16404 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16405 : : {
16406 : 0 : {
16407 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
16408 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
16409 : 0 : if (res) return res;
16410 : : }
16411 : : }
16412 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
16413 : : {
16414 : 0 : {
16415 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
16416 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
16417 : 0 : if (res) return res;
16418 : : }
16419 : : }
16420 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
16421 : : {
16422 : 0 : {
16423 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
16424 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, GE_EXPR, NE_EXPR);
16425 : 0 : if (res) return res;
16426 : : }
16427 : : }
16428 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
16429 : : {
16430 : 0 : {
16431 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
16432 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, LE_EXPR, NE_EXPR);
16433 : 0 : if (res) return res;
16434 : : }
16435 : : }
16436 : : break;
16437 : : }
16438 : 0 : case LT_EXPR:
16439 : 0 : {
16440 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16441 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16442 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16443 : : {
16444 : 0 : {
16445 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
16446 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR);
16447 : 0 : if (res) return res;
16448 : : }
16449 : : }
16450 : : break;
16451 : : }
16452 : 0 : case LE_EXPR:
16453 : 0 : {
16454 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16455 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16456 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16457 : : {
16458 : 0 : {
16459 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
16460 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, LE_EXPR, GE_EXPR);
16461 : 0 : if (res) return res;
16462 : : }
16463 : : }
16464 : : break;
16465 : : }
16466 : 0 : case GT_EXPR:
16467 : 0 : {
16468 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16469 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16470 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16471 : : {
16472 : 0 : {
16473 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
16474 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, GT_EXPR, GE_EXPR);
16475 : 0 : if (res) return res;
16476 : : }
16477 : : }
16478 : : break;
16479 : : }
16480 : 0 : case GE_EXPR:
16481 : 0 : {
16482 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16483 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16484 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16485 : : {
16486 : 0 : {
16487 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
16488 : 0 : tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, GE_EXPR, GE_EXPR);
16489 : 0 : if (res) return res;
16490 : : }
16491 : : }
16492 : : break;
16493 : : }
16494 : : default:;
16495 : : }
16496 : : break;
16497 : : }
16498 : 532 : case EQ_EXPR:
16499 : 532 : {
16500 : 532 : tree _q20 = TREE_OPERAND (_p0, 0);
16501 : 532 : tree _q21 = TREE_OPERAND (_p0, 1);
16502 : 532 : if (tree_min_value (_q21))
16503 : : {
16504 : 4 : switch (TREE_CODE (_p1))
16505 : : {
16506 : 0 : case LE_EXPR:
16507 : 0 : {
16508 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16509 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16510 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16511 : : {
16512 : 0 : {
16513 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q51 };
16514 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures);
16515 : 0 : if (res) return res;
16516 : : }
16517 : : }
16518 : : break;
16519 : : }
16520 : 0 : case GE_EXPR:
16521 : 0 : {
16522 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16523 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16524 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
16525 : : {
16526 : 0 : {
16527 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q50 };
16528 : 0 : tree res = generic_simplify_127 (loc, type, _p0, _p1, captures);
16529 : 0 : if (res) return res;
16530 : : }
16531 : : }
16532 : : break;
16533 : : }
16534 : 2 : case LT_EXPR:
16535 : 2 : {
16536 : 2 : tree _q50 = TREE_OPERAND (_p1, 0);
16537 : 2 : tree _q51 = TREE_OPERAND (_p1, 1);
16538 : 2 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
16539 : : {
16540 : 2 : {
16541 : 2 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q50 };
16542 : 2 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures);
16543 : 2 : if (res) return res;
16544 : : }
16545 : : }
16546 : : break;
16547 : : }
16548 : 0 : case GT_EXPR:
16549 : 0 : {
16550 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16551 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16552 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16553 : : {
16554 : 0 : {
16555 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q51 };
16556 : 0 : tree res = generic_simplify_128 (loc, type, _p0, _p1, captures);
16557 : 0 : if (res) return res;
16558 : : }
16559 : : }
16560 : : break;
16561 : : }
16562 : : default:;
16563 : : }
16564 : : }
16565 : 530 : if (tree_max_value (_q21))
16566 : : {
16567 : 0 : switch (TREE_CODE (_p1))
16568 : : {
16569 : 0 : case GE_EXPR:
16570 : 0 : {
16571 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16572 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16573 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
16574 : : {
16575 : 0 : {
16576 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q51 };
16577 : 0 : tree res = generic_simplify_122 (loc, type, _p0, _p1, captures, EQ_EXPR);
16578 : 0 : if (res) return res;
16579 : : }
16580 : : }
16581 : : break;
16582 : : }
16583 : 0 : case LE_EXPR:
16584 : 0 : {
16585 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
16586 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
16587 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
16588 : : {
16589 : 0 : {
16590 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q50 };
16591 : 0 : tree res = generic_simplify_122 (loc, type, _p0, _p1, captures, EQ_EXPR);
16592 : 0 : if (res) return res;
16593 : : }
16594 : : }
16595 : : break;
16596 : : }
16597 : : default:;
16598 : : }
16599 : : }
16600 : 530 : switch (TREE_CODE (_p1))
16601 : : {
16602 : 128 : case EQ_EXPR:
16603 : 128 : {
16604 : 128 : tree _q50 = TREE_OPERAND (_p1, 0);
16605 : 128 : tree _q51 = TREE_OPERAND (_p1, 1);
16606 : 128 : switch (TREE_CODE (_q50))
16607 : : {
16608 : 67 : CASE_CONVERT:
16609 : 67 : {
16610 : 67 : tree _q60 = TREE_OPERAND (_q50, 0);
16611 : 67 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
16612 : : {
16613 : 0 : {
16614 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
16615 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
16616 : 0 : if (res) return res;
16617 : : }
16618 : : }
16619 : 67 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
16620 : : {
16621 : 0 : {
16622 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
16623 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
16624 : 0 : if (res) return res;
16625 : : }
16626 : : }
16627 : : break;
16628 : : }
16629 : 128 : default:;
16630 : : }
16631 : 128 : switch (TREE_CODE (_q51))
16632 : : {
16633 : 0 : CASE_CONVERT:
16634 : 0 : {
16635 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
16636 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
16637 : : {
16638 : 0 : {
16639 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
16640 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
16641 : 0 : if (res) return res;
16642 : : }
16643 : : }
16644 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
16645 : : {
16646 : 0 : {
16647 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
16648 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
16649 : 0 : if (res) return res;
16650 : : }
16651 : : }
16652 : : break;
16653 : : }
16654 : : default:;
16655 : : }
16656 : : break;
16657 : : }
16658 : 15 : case NE_EXPR:
16659 : 15 : {
16660 : 15 : tree _q50 = TREE_OPERAND (_p1, 0);
16661 : 15 : tree _q51 = TREE_OPERAND (_p1, 1);
16662 : 15 : switch (TREE_CODE (_q50))
16663 : : {
16664 : 0 : CASE_CONVERT:
16665 : 0 : {
16666 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
16667 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
16668 : : {
16669 : 0 : {
16670 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
16671 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
16672 : 0 : if (res) return res;
16673 : : }
16674 : : }
16675 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
16676 : : {
16677 : 0 : {
16678 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
16679 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
16680 : 0 : if (res) return res;
16681 : : }
16682 : : }
16683 : : break;
16684 : : }
16685 : 15 : default:;
16686 : : }
16687 : 15 : switch (TREE_CODE (_q51))
16688 : : {
16689 : 0 : CASE_CONVERT:
16690 : 0 : {
16691 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
16692 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
16693 : : {
16694 : 0 : {
16695 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
16696 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
16697 : 0 : if (res) return res;
16698 : : }
16699 : : }
16700 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
16701 : : {
16702 : 0 : {
16703 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
16704 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
16705 : 0 : if (res) return res;
16706 : : }
16707 : : }
16708 : : break;
16709 : : }
16710 : : default:;
16711 : : }
16712 : : break;
16713 : : }
16714 : 5 : case LT_EXPR:
16715 : 5 : {
16716 : 5 : tree _q50 = TREE_OPERAND (_p1, 0);
16717 : 5 : tree _q51 = TREE_OPERAND (_p1, 1);
16718 : 5 : switch (TREE_CODE (_q50))
16719 : : {
16720 : 0 : CASE_CONVERT:
16721 : 0 : {
16722 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
16723 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
16724 : : {
16725 : 0 : {
16726 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
16727 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
16728 : 0 : if (res) return res;
16729 : : }
16730 : : }
16731 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
16732 : : {
16733 : 0 : {
16734 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
16735 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
16736 : 0 : if (res) return res;
16737 : : }
16738 : : }
16739 : : break;
16740 : : }
16741 : 5 : default:;
16742 : : }
16743 : 5 : switch (TREE_CODE (_q51))
16744 : : {
16745 : 0 : CASE_CONVERT:
16746 : 0 : {
16747 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
16748 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
16749 : : {
16750 : 0 : {
16751 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
16752 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
16753 : 0 : if (res) return res;
16754 : : }
16755 : : }
16756 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
16757 : : {
16758 : 0 : {
16759 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
16760 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
16761 : 0 : if (res) return res;
16762 : : }
16763 : : }
16764 : : break;
16765 : : }
16766 : : default:;
16767 : : }
16768 : : break;
16769 : : }
16770 : 34 : case GT_EXPR:
16771 : 34 : {
16772 : 34 : tree _q50 = TREE_OPERAND (_p1, 0);
16773 : 34 : tree _q51 = TREE_OPERAND (_p1, 1);
16774 : 34 : switch (TREE_CODE (_q50))
16775 : : {
16776 : 0 : CASE_CONVERT:
16777 : 0 : {
16778 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
16779 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
16780 : : {
16781 : 0 : {
16782 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
16783 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
16784 : 0 : if (res) return res;
16785 : : }
16786 : : }
16787 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
16788 : : {
16789 : 0 : {
16790 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
16791 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
16792 : 0 : if (res) return res;
16793 : : }
16794 : : }
16795 : : break;
16796 : : }
16797 : 34 : default:;
16798 : : }
16799 : 34 : switch (TREE_CODE (_q51))
16800 : : {
16801 : 0 : CASE_CONVERT:
16802 : 0 : {
16803 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
16804 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
16805 : : {
16806 : 0 : {
16807 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
16808 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
16809 : 0 : if (res) return res;
16810 : : }
16811 : : }
16812 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
16813 : : {
16814 : 0 : {
16815 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
16816 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
16817 : 0 : if (res) return res;
16818 : : }
16819 : : }
16820 : : break;
16821 : : }
16822 : : default:;
16823 : : }
16824 : : break;
16825 : : }
16826 : 21 : case LE_EXPR:
16827 : 21 : {
16828 : 21 : tree _q50 = TREE_OPERAND (_p1, 0);
16829 : 21 : tree _q51 = TREE_OPERAND (_p1, 1);
16830 : 21 : switch (TREE_CODE (_q50))
16831 : : {
16832 : 0 : CASE_CONVERT:
16833 : 0 : {
16834 : 0 : tree _q60 = TREE_OPERAND (_q50, 0);
16835 : 0 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
16836 : : {
16837 : 0 : {
16838 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
16839 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
16840 : 0 : if (res) return res;
16841 : : }
16842 : : }
16843 : 0 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
16844 : : {
16845 : 0 : {
16846 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
16847 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
16848 : 0 : if (res) return res;
16849 : : }
16850 : : }
16851 : : break;
16852 : : }
16853 : 21 : default:;
16854 : : }
16855 : 21 : switch (TREE_CODE (_q51))
16856 : : {
16857 : 0 : CASE_CONVERT:
16858 : 0 : {
16859 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
16860 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
16861 : : {
16862 : 0 : {
16863 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
16864 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
16865 : 0 : if (res) return res;
16866 : : }
16867 : : }
16868 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
16869 : : {
16870 : 0 : {
16871 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
16872 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
16873 : 0 : if (res) return res;
16874 : : }
16875 : : }
16876 : : break;
16877 : : }
16878 : : default:;
16879 : : }
16880 : : break;
16881 : : }
16882 : 21 : case GE_EXPR:
16883 : 21 : {
16884 : 21 : tree _q50 = TREE_OPERAND (_p1, 0);
16885 : 21 : tree _q51 = TREE_OPERAND (_p1, 1);
16886 : 21 : switch (TREE_CODE (_q50))
16887 : : {
16888 : 16 : CASE_CONVERT:
16889 : 16 : {
16890 : 16 : tree _q60 = TREE_OPERAND (_q50, 0);
16891 : 16 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
16892 : : {
16893 : 0 : {
16894 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
16895 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
16896 : 0 : if (res) return res;
16897 : : }
16898 : : }
16899 : 16 : if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
16900 : : {
16901 : 0 : {
16902 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
16903 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
16904 : 0 : if (res) return res;
16905 : : }
16906 : : }
16907 : : break;
16908 : : }
16909 : 21 : default:;
16910 : : }
16911 : 21 : switch (TREE_CODE (_q51))
16912 : : {
16913 : 0 : CASE_CONVERT:
16914 : 0 : {
16915 : 0 : tree _q70 = TREE_OPERAND (_q51, 0);
16916 : 0 : if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
16917 : : {
16918 : 0 : {
16919 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
16920 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
16921 : 0 : if (res) return res;
16922 : : }
16923 : : }
16924 : 0 : if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
16925 : : {
16926 : 0 : {
16927 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
16928 : 0 : tree res = generic_simplify_123 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
16929 : 0 : if (res) return res;
16930 : : }
16931 : : }
16932 : : break;
16933 : : }
16934 : : default:;
16935 : : }
16936 : : break;
16937 : : }
16938 : 530 : default:;
16939 : : }
16940 : 530 : switch (TREE_CODE (_q20))
16941 : : {
16942 : 203 : CASE_CONVERT:
16943 : 203 : {
16944 : 203 : tree _q30 = TREE_OPERAND (_q20, 0);
16945 : 203 : switch (TREE_CODE (_p1))
16946 : : {
16947 : 67 : case EQ_EXPR:
16948 : 67 : {
16949 : 67 : tree _q60 = TREE_OPERAND (_p1, 0);
16950 : 67 : tree _q61 = TREE_OPERAND (_p1, 1);
16951 : 67 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
16952 : : {
16953 : 0 : {
16954 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
16955 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
16956 : 0 : if (res) return res;
16957 : : }
16958 : : }
16959 : 67 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
16960 : : {
16961 : 0 : {
16962 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
16963 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
16964 : 0 : if (res) return res;
16965 : : }
16966 : : }
16967 : : break;
16968 : : }
16969 : 0 : case NE_EXPR:
16970 : 0 : {
16971 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
16972 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
16973 : 0 : if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
16974 : : {
16975 : 0 : {
16976 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q61, _p0, _q20, _q21 };
16977 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
16978 : 0 : if (res) return res;
16979 : : }
16980 : : }
16981 : 0 : if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
16982 : : {
16983 : 0 : {
16984 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q60, _p0, _q20, _q21 };
16985 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
16986 : 0 : if (res) return res;
16987 : : }
16988 : : }
16989 : : break;
16990 : : }
16991 : : default:;
16992 : : }
16993 : : break;
16994 : : }
16995 : 530 : default:;
16996 : : }
16997 : 530 : switch (TREE_CODE (_q21))
16998 : : {
16999 : 9 : CASE_CONVERT:
17000 : 9 : {
17001 : 9 : tree _q40 = TREE_OPERAND (_q21, 0);
17002 : 9 : switch (TREE_CODE (_p1))
17003 : : {
17004 : 0 : case EQ_EXPR:
17005 : 0 : {
17006 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
17007 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
17008 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
17009 : : {
17010 : 0 : {
17011 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
17012 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
17013 : 0 : if (res) return res;
17014 : : }
17015 : : }
17016 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
17017 : : {
17018 : 0 : {
17019 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
17020 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
17021 : 0 : if (res) return res;
17022 : : }
17023 : : }
17024 : : break;
17025 : : }
17026 : 0 : case NE_EXPR:
17027 : 0 : {
17028 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
17029 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
17030 : 0 : if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
17031 : : {
17032 : 0 : {
17033 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q61, _p0, _q21, _q20 };
17034 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
17035 : 0 : if (res) return res;
17036 : : }
17037 : : }
17038 : 0 : if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
17039 : : {
17040 : 0 : {
17041 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q40, _q60, _p0, _q21, _q20 };
17042 : 0 : tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
17043 : 0 : if (res) return res;
17044 : : }
17045 : : }
17046 : : break;
17047 : : }
17048 : : default:;
17049 : : }
17050 : : break;
17051 : : }
17052 : 530 : default:;
17053 : : }
17054 : 530 : switch (TREE_CODE (_p1))
17055 : : {
17056 : 128 : case EQ_EXPR:
17057 : 128 : {
17058 : 128 : tree _q50 = TREE_OPERAND (_p1, 0);
17059 : 128 : tree _q51 = TREE_OPERAND (_p1, 1);
17060 : 128 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17061 : : {
17062 : 91 : {
17063 : 91 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17064 : 91 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
17065 : 91 : if (res) return res;
17066 : : }
17067 : 91 : {
17068 : 91 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
17069 : 91 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
17070 : 91 : if (res) return res;
17071 : : }
17072 : : }
17073 : 128 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17074 : : {
17075 : 0 : {
17076 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17077 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
17078 : 0 : if (res) return res;
17079 : : }
17080 : : }
17081 : 128 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
17082 : : {
17083 : 0 : {
17084 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17085 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
17086 : 0 : if (res) return res;
17087 : : }
17088 : 0 : {
17089 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
17090 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
17091 : 0 : if (res) return res;
17092 : : }
17093 : : }
17094 : 128 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
17095 : : {
17096 : 17 : {
17097 : 17 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17098 : 17 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
17099 : 17 : if (res) return res;
17100 : : }
17101 : 17 : {
17102 : 17 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
17103 : 17 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
17104 : 17 : if (res) return res;
17105 : : }
17106 : : }
17107 : 128 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17108 : : {
17109 : 0 : {
17110 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
17111 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, EQ_EXPR, EQ_EXPR);
17112 : 0 : if (res) return res;
17113 : : }
17114 : : }
17115 : : break;
17116 : : }
17117 : 15 : case NE_EXPR:
17118 : 15 : {
17119 : 15 : tree _q50 = TREE_OPERAND (_p1, 0);
17120 : 15 : tree _q51 = TREE_OPERAND (_p1, 1);
17121 : 15 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17122 : : {
17123 : 0 : {
17124 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17125 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
17126 : 0 : if (res) return res;
17127 : : }
17128 : 0 : {
17129 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q20, _q21 };
17130 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
17131 : 0 : if (res) return res;
17132 : : }
17133 : : }
17134 : 15 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17135 : : {
17136 : 0 : {
17137 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17138 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
17139 : 0 : if (res) return res;
17140 : : }
17141 : : }
17142 : 15 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
17143 : : {
17144 : 0 : {
17145 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17146 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
17147 : 0 : if (res) return res;
17148 : : }
17149 : 0 : {
17150 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q51, _p0, _q21, _q20 };
17151 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
17152 : 0 : if (res) return res;
17153 : : }
17154 : : }
17155 : 15 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
17156 : : {
17157 : 5 : {
17158 : 5 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17159 : 5 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR);
17160 : 5 : if (res) return res;
17161 : : }
17162 : 5 : {
17163 : 5 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q21, _q50, _p0, _q21, _q20 };
17164 : 5 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
17165 : 5 : if (res) return res;
17166 : : }
17167 : : }
17168 : 15 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17169 : : {
17170 : 0 : {
17171 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q20, _q50, _p0, _q20, _q21 };
17172 : 0 : tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR);
17173 : 0 : if (res) return res;
17174 : : }
17175 : : }
17176 : : break;
17177 : : }
17178 : 5 : case LT_EXPR:
17179 : 5 : {
17180 : 5 : tree _q50 = TREE_OPERAND (_p1, 0);
17181 : 5 : tree _q51 = TREE_OPERAND (_p1, 1);
17182 : 5 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17183 : : {
17184 : 0 : {
17185 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17186 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
17187 : 0 : if (res) return res;
17188 : : }
17189 : : }
17190 : 5 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17191 : : {
17192 : 0 : {
17193 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17194 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
17195 : 0 : if (res) return res;
17196 : : }
17197 : : }
17198 : 5 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
17199 : : {
17200 : 0 : {
17201 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17202 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
17203 : 0 : if (res) return res;
17204 : : }
17205 : : }
17206 : 5 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
17207 : : {
17208 : 0 : {
17209 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17210 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
17211 : 0 : if (res) return res;
17212 : : }
17213 : : }
17214 : : break;
17215 : : }
17216 : 34 : case GT_EXPR:
17217 : 34 : {
17218 : 34 : tree _q50 = TREE_OPERAND (_p1, 0);
17219 : 34 : tree _q51 = TREE_OPERAND (_p1, 1);
17220 : 34 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17221 : : {
17222 : 12 : {
17223 : 12 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17224 : 12 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
17225 : 12 : if (res) return res;
17226 : : }
17227 : : }
17228 : 34 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17229 : : {
17230 : 0 : {
17231 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17232 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
17233 : 0 : if (res) return res;
17234 : : }
17235 : : }
17236 : 34 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
17237 : : {
17238 : 0 : {
17239 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17240 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, GT_EXPR, EQ_EXPR);
17241 : 0 : if (res) return res;
17242 : : }
17243 : : }
17244 : 34 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
17245 : : {
17246 : 0 : {
17247 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17248 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, LT_EXPR, EQ_EXPR);
17249 : 0 : if (res) return res;
17250 : : }
17251 : : }
17252 : : break;
17253 : : }
17254 : 21 : case LE_EXPR:
17255 : 21 : {
17256 : 21 : tree _q50 = TREE_OPERAND (_p1, 0);
17257 : 21 : tree _q51 = TREE_OPERAND (_p1, 1);
17258 : 21 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17259 : : {
17260 : 0 : {
17261 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17262 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
17263 : 0 : if (res) return res;
17264 : : }
17265 : : }
17266 : 21 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17267 : : {
17268 : 0 : {
17269 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17270 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
17271 : 0 : if (res) return res;
17272 : : }
17273 : : }
17274 : 21 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
17275 : : {
17276 : 0 : {
17277 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17278 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
17279 : 0 : if (res) return res;
17280 : : }
17281 : : }
17282 : 21 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
17283 : : {
17284 : 0 : {
17285 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17286 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
17287 : 0 : if (res) return res;
17288 : : }
17289 : : }
17290 : : break;
17291 : : }
17292 : 21 : case GE_EXPR:
17293 : 21 : {
17294 : 21 : tree _q50 = TREE_OPERAND (_p1, 0);
17295 : 21 : tree _q51 = TREE_OPERAND (_p1, 1);
17296 : 21 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17297 : : {
17298 : 0 : {
17299 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
17300 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
17301 : 0 : if (res) return res;
17302 : : }
17303 : : }
17304 : 21 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17305 : : {
17306 : 0 : {
17307 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51, _q50 };
17308 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
17309 : 0 : if (res) return res;
17310 : : }
17311 : : }
17312 : 21 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
17313 : : {
17314 : 0 : {
17315 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50, _q51 };
17316 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, GE_EXPR, EQ_EXPR);
17317 : 0 : if (res) return res;
17318 : : }
17319 : : }
17320 : 21 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
17321 : : {
17322 : 0 : {
17323 : 0 : tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51, _q50 };
17324 : 0 : tree res = generic_simplify_124 (loc, type, _p0, _p1, captures, LE_EXPR, EQ_EXPR);
17325 : 0 : if (res) return res;
17326 : : }
17327 : : }
17328 : : break;
17329 : : }
17330 : : default:;
17331 : : }
17332 : : break;
17333 : : }
17334 : 583 : case MULT_EXPR:
17335 : 583 : {
17336 : 583 : tree _q20 = TREE_OPERAND (_p0, 0);
17337 : 583 : tree _q21 = TREE_OPERAND (_p0, 1);
17338 : 583 : switch (TREE_CODE (_q21))
17339 : : {
17340 : 553 : case INTEGER_CST:
17341 : 553 : {
17342 : 553 : switch (TREE_CODE (_p1))
17343 : : {
17344 : 7 : case MULT_EXPR:
17345 : 7 : {
17346 : 7 : tree _q50 = TREE_OPERAND (_p1, 0);
17347 : 7 : tree _q51 = TREE_OPERAND (_p1, 1);
17348 : 7 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17349 : : {
17350 : 0 : switch (TREE_CODE (_q51))
17351 : : {
17352 : 0 : case INTEGER_CST:
17353 : 0 : {
17354 : 0 : {
17355 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
17356 : 0 : tree res = generic_simplify_129 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
17357 : 0 : if (res) return res;
17358 : : }
17359 : 0 : break;
17360 : : }
17361 : : default:;
17362 : : }
17363 : : }
17364 : : break;
17365 : : }
17366 : 0 : case LSHIFT_EXPR:
17367 : 0 : {
17368 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17369 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17370 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17371 : : {
17372 : 0 : switch (TREE_CODE (_q51))
17373 : : {
17374 : 0 : case INTEGER_CST:
17375 : 0 : {
17376 : 0 : {
17377 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
17378 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
17379 : 0 : if (res) return res;
17380 : : }
17381 : 0 : break;
17382 : : }
17383 : : default:;
17384 : : }
17385 : : }
17386 : : break;
17387 : : }
17388 : 553 : default:;
17389 : : }
17390 : 553 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
17391 : : {
17392 : 0 : {
17393 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
17394 : 0 : tree res = generic_simplify_131 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
17395 : 0 : if (res) return res;
17396 : : }
17397 : : }
17398 : : break;
17399 : : }
17400 : : default:;
17401 : : }
17402 : : break;
17403 : : }
17404 : 323004 : case LSHIFT_EXPR:
17405 : 323004 : {
17406 : 323004 : tree _q20 = TREE_OPERAND (_p0, 0);
17407 : 323004 : tree _q21 = TREE_OPERAND (_p0, 1);
17408 : 323004 : switch (TREE_CODE (_q21))
17409 : : {
17410 : 308140 : case INTEGER_CST:
17411 : 308140 : {
17412 : 308140 : switch (TREE_CODE (_p1))
17413 : : {
17414 : 0 : case MULT_EXPR:
17415 : 0 : {
17416 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17417 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17418 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17419 : : {
17420 : 0 : switch (TREE_CODE (_q51))
17421 : : {
17422 : 0 : case INTEGER_CST:
17423 : 0 : {
17424 : 0 : {
17425 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q20, _q51, _p0, _q21 };
17426 : 0 : tree res = generic_simplify_130 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
17427 : 0 : if (res) return res;
17428 : : }
17429 : 0 : break;
17430 : : }
17431 : : default:;
17432 : : }
17433 : : }
17434 : : break;
17435 : : }
17436 : : default:;
17437 : : }
17438 : : break;
17439 : : }
17440 : : default:;
17441 : : }
17442 : : break;
17443 : : }
17444 : 1610072 : default:;
17445 : : }
17446 : 1610072 : {
17447 : 1610072 : tree _p0_pops[1];
17448 : 1610072 : if (tree_logical_inverted_value (_p0, _p0_pops))
17449 : : {
17450 : 236 : tree _q20 = _p0_pops[0];
17451 : 236 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
17452 : : {
17453 : 3 : if (tree_truth_valued_p (_p1))
17454 : : {
17455 : 3 : {
17456 : 3 : tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
17457 : 3 : tree res = generic_simplify_106 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
17458 : 3 : if (res) return res;
17459 : : }
17460 : : }
17461 : : }
17462 : : }
17463 : : }
17464 : 1610069 : if (tree_truth_valued_p (_p0))
17465 : : {
17466 : 178985 : {
17467 : 178985 : tree _p1_pops[1];
17468 : 178985 : if (tree_logical_inverted_value (_p1, _p1_pops))
17469 : : {
17470 : 77 : tree _q30 = _p1_pops[0];
17471 : 77 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
17472 : : {
17473 : 0 : {
17474 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
17475 : 0 : tree res = generic_simplify_106 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
17476 : 0 : if (res) return res;
17477 : : }
17478 : : }
17479 : : }
17480 : : }
17481 : : }
17482 : 1610069 : switch (TREE_CODE (_p1))
17483 : : {
17484 : 51 : case MULT_EXPR:
17485 : 51 : {
17486 : 51 : tree _q30 = TREE_OPERAND (_p1, 0);
17487 : 51 : tree _q31 = TREE_OPERAND (_p1, 1);
17488 : 51 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
17489 : : {
17490 : 0 : switch (TREE_CODE (_q31))
17491 : : {
17492 : 0 : case INTEGER_CST:
17493 : 0 : {
17494 : 0 : {
17495 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q31 };
17496 : 0 : tree res = generic_simplify_131 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
17497 : 0 : if (res) return res;
17498 : : }
17499 : 0 : break;
17500 : : }
17501 : : default:;
17502 : : }
17503 : : }
17504 : : break;
17505 : : }
17506 : 1610069 : default:;
17507 : : }
17508 : 1610069 : switch (TREE_CODE (_p0))
17509 : : {
17510 : 323004 : case LSHIFT_EXPR:
17511 : 323004 : {
17512 : 323004 : tree _q20 = TREE_OPERAND (_p0, 0);
17513 : 323004 : tree _q21 = TREE_OPERAND (_p0, 1);
17514 : 323004 : switch (TREE_CODE (_q21))
17515 : : {
17516 : 308140 : case INTEGER_CST:
17517 : 308140 : {
17518 : 308140 : switch (TREE_CODE (_p1))
17519 : : {
17520 : 1126 : case LSHIFT_EXPR:
17521 : 1126 : {
17522 : 1126 : tree _q50 = TREE_OPERAND (_p1, 0);
17523 : 1126 : tree _q51 = TREE_OPERAND (_p1, 1);
17524 : 1126 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17525 : : {
17526 : 3 : switch (TREE_CODE (_q51))
17527 : : {
17528 : 3 : case INTEGER_CST:
17529 : 3 : {
17530 : 3 : {
17531 : 3 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
17532 : 3 : tree res = generic_simplify_132 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
17533 : 3 : if (res) return res;
17534 : : }
17535 : 1 : break;
17536 : : }
17537 : : default:;
17538 : : }
17539 : : }
17540 : : break;
17541 : : }
17542 : 308138 : default:;
17543 : : }
17544 : 308138 : if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
17545 : : {
17546 : 431 : {
17547 : 431 : tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
17548 : 431 : tree res = generic_simplify_133 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
17549 : 431 : if (res) return res;
17550 : : }
17551 : : }
17552 : : break;
17553 : : }
17554 : : default:;
17555 : : }
17556 : : break;
17557 : : }
17558 : 1610067 : default:;
17559 : : }
17560 : 1610067 : switch (TREE_CODE (_p1))
17561 : : {
17562 : 26936 : case LSHIFT_EXPR:
17563 : 26936 : {
17564 : 26936 : tree _q30 = TREE_OPERAND (_p1, 0);
17565 : 26936 : tree _q31 = TREE_OPERAND (_p1, 1);
17566 : 26936 : if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
17567 : : {
17568 : 10 : switch (TREE_CODE (_q31))
17569 : : {
17570 : 3 : case INTEGER_CST:
17571 : 3 : {
17572 : 3 : {
17573 : 3 : tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q31 };
17574 : 3 : tree res = generic_simplify_133 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR);
17575 : 3 : if (res) return res;
17576 : : }
17577 : 0 : break;
17578 : : }
17579 : : default:;
17580 : : }
17581 : : }
17582 : : break;
17583 : : }
17584 : 1610064 : default:;
17585 : : }
17586 : 1610064 : switch (TREE_CODE (_p0))
17587 : : {
17588 : 65 : case VEC_COND_EXPR:
17589 : 65 : {
17590 : 65 : tree _q20 = TREE_OPERAND (_p0, 0);
17591 : 65 : tree _q21 = TREE_OPERAND (_p0, 1);
17592 : 65 : tree _q22 = TREE_OPERAND (_p0, 2);
17593 : 65 : switch (TREE_CODE (_p1))
17594 : : {
17595 : 57 : case VEC_COND_EXPR:
17596 : 57 : {
17597 : 57 : tree _q60 = TREE_OPERAND (_p1, 0);
17598 : 57 : tree _q61 = TREE_OPERAND (_p1, 1);
17599 : 57 : tree _q62 = TREE_OPERAND (_p1, 2);
17600 : 57 : if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
17601 : : {
17602 : 0 : {
17603 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
17604 : 0 : if (TREE_CODE_CLASS (BIT_IOR_EXPR) != tcc_comparison
17605 : : || types_match (type, TREE_TYPE (captures[2]))
17606 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
17607 : : || (optimize_vectors_before_lowering_p ()
17608 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
17609 : : TREE_TYPE (captures[1]), ERROR_MARK))
17610 : : )
17611 : : {
17612 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1127;
17613 : 0 : {
17614 : 0 : tree res_op0;
17615 : 0 : res_op0 = captures[1];
17616 : 0 : tree res_op1;
17617 : 0 : {
17618 : 0 : tree _o1[2], _r1;
17619 : 0 : _o1[0] = captures[2];
17620 : 0 : _o1[1] = captures[5];
17621 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
17622 : 0 : if (EXPR_P (_r1))
17623 : 0 : goto next_after_fail1127;
17624 : 0 : res_op1 = _r1;
17625 : : }
17626 : 0 : tree res_op2;
17627 : 0 : {
17628 : 0 : tree _o1[2], _r1;
17629 : 0 : _o1[0] = captures[3];
17630 : 0 : _o1[1] = captures[6];
17631 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
17632 : 0 : if (EXPR_P (_r1))
17633 : 0 : goto next_after_fail1127;
17634 : 0 : res_op2 = _r1;
17635 : : }
17636 : 0 : tree _r;
17637 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
17638 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 793, __FILE__, __LINE__, true);
17639 : 0 : return _r;
17640 : : }
17641 : 0 : next_after_fail1127:;
17642 : : }
17643 : : }
17644 : : }
17645 : : break;
17646 : : }
17647 : 65 : default:;
17648 : : }
17649 : 65 : {
17650 : 65 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
17651 : 65 : if (TREE_CODE_CLASS (BIT_IOR_EXPR) != tcc_comparison
17652 : : || types_match (type, TREE_TYPE (captures[2]))
17653 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
17654 : : || (optimize_vectors_before_lowering_p ()
17655 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
17656 : : TREE_TYPE (captures[1]), ERROR_MARK))
17657 : : )
17658 : : {
17659 : 65 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1128;
17660 : 65 : {
17661 : 65 : if (! tree_invariant_p (captures[4])) goto next_after_fail1128;
17662 : 1 : tree res_op0;
17663 : 1 : res_op0 = captures[1];
17664 : 1 : tree res_op1;
17665 : 1 : {
17666 : 1 : tree _o1[2], _r1;
17667 : 1 : _o1[0] = captures[2];
17668 : 1 : _o1[1] = unshare_expr (captures[4]);
17669 : 1 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
17670 : 1 : if (EXPR_P (_r1))
17671 : 0 : goto next_after_fail1128;
17672 : 1 : res_op1 = _r1;
17673 : : }
17674 : 1 : tree res_op2;
17675 : 1 : {
17676 : 1 : tree _o1[2], _r1;
17677 : 1 : _o1[0] = captures[3];
17678 : 1 : _o1[1] = captures[4];
17679 : 1 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
17680 : 1 : if (EXPR_P (_r1))
17681 : 0 : goto next_after_fail1128;
17682 : 1 : res_op2 = _r1;
17683 : : }
17684 : 1 : tree _r;
17685 : 1 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
17686 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 794, __FILE__, __LINE__, true);
17687 : 1 : return _r;
17688 : : }
17689 : 64 : next_after_fail1128:;
17690 : : }
17691 : : }
17692 : 64 : break;
17693 : : }
17694 : 1610063 : default:;
17695 : : }
17696 : 1610063 : switch (TREE_CODE (_p1))
17697 : : {
17698 : 59 : case VEC_COND_EXPR:
17699 : 59 : {
17700 : 59 : tree _q30 = TREE_OPERAND (_p1, 0);
17701 : 59 : tree _q31 = TREE_OPERAND (_p1, 1);
17702 : 59 : tree _q32 = TREE_OPERAND (_p1, 2);
17703 : 59 : {
17704 : 59 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
17705 : 59 : if (TREE_CODE_CLASS (BIT_IOR_EXPR) != tcc_comparison
17706 : : || types_match (type, TREE_TYPE (captures[3]))
17707 : : || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]), ERROR_MARK)
17708 : : || (optimize_vectors_before_lowering_p ()
17709 : : && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]),
17710 : : TREE_TYPE (captures[2]), ERROR_MARK))
17711 : : )
17712 : : {
17713 : 59 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1129;
17714 : 59 : {
17715 : 59 : if (! tree_invariant_p (captures[0])) goto next_after_fail1129;
17716 : 0 : tree res_op0;
17717 : 0 : res_op0 = captures[2];
17718 : 0 : tree res_op1;
17719 : 0 : {
17720 : 0 : tree _o1[2], _r1;
17721 : 0 : _o1[0] = unshare_expr (captures[0]);
17722 : 0 : _o1[1] = captures[3];
17723 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
17724 : 0 : if (EXPR_P (_r1))
17725 : 0 : goto next_after_fail1129;
17726 : 0 : res_op1 = _r1;
17727 : : }
17728 : 0 : tree res_op2;
17729 : 0 : {
17730 : 0 : tree _o1[2], _r1;
17731 : 0 : _o1[0] = captures[0];
17732 : 0 : _o1[1] = captures[4];
17733 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
17734 : 0 : if (EXPR_P (_r1))
17735 : 0 : goto next_after_fail1129;
17736 : 0 : res_op2 = _r1;
17737 : : }
17738 : 0 : tree _r;
17739 : 0 : _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
17740 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 795, __FILE__, __LINE__, true);
17741 : 0 : return _r;
17742 : : }
17743 : 59 : next_after_fail1129:;
17744 : : }
17745 : : }
17746 : 59 : break;
17747 : : }
17748 : 1610063 : default:;
17749 : : }
17750 : 1610063 : switch (TREE_CODE (_p0))
17751 : : {
17752 : 16 : case UNORDERED_EXPR:
17753 : 16 : {
17754 : 16 : tree _q20 = TREE_OPERAND (_p0, 0);
17755 : 16 : tree _q21 = TREE_OPERAND (_p0, 1);
17756 : 16 : if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
17757 : : {
17758 : 0 : switch (TREE_CODE (_p1))
17759 : : {
17760 : 0 : case UNORDERED_EXPR:
17761 : 0 : {
17762 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17763 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17764 : 0 : if ((_q51 == _q50 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q50, 0) && types_match (_q51, _q50)))
17765 : : {
17766 : 0 : {
17767 : 0 : tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
17768 : 0 : if (types_match (captures[0], captures[1])
17769 : : )
17770 : : {
17771 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1130;
17772 : 0 : {
17773 : 0 : tree res_op0;
17774 : 0 : res_op0 = captures[0];
17775 : 0 : tree res_op1;
17776 : 0 : res_op1 = captures[1];
17777 : 0 : tree _r;
17778 : 0 : _r = fold_build2_loc (loc, UNORDERED_EXPR, type, res_op0, res_op1);
17779 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 834, __FILE__, __LINE__, true);
17780 : 0 : return _r;
17781 : : }
17782 : 0 : next_after_fail1130:;
17783 : : }
17784 : : }
17785 : : }
17786 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17787 : : {
17788 : 0 : {
17789 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _q51 };
17790 : 0 : tree res = generic_simplify_134 (loc, type, _p0, _p1, captures);
17791 : 0 : if (res) return res;
17792 : : }
17793 : : }
17794 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17795 : : {
17796 : 0 : {
17797 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _q50 };
17798 : 0 : tree res = generic_simplify_134 (loc, type, _p0, _p1, captures);
17799 : 0 : if (res) return res;
17800 : : }
17801 : : }
17802 : : break;
17803 : : }
17804 : : default:;
17805 : : }
17806 : : }
17807 : 16 : switch (TREE_CODE (_p1))
17808 : : {
17809 : 0 : case UNORDERED_EXPR:
17810 : 0 : {
17811 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17812 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17813 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17814 : : {
17815 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17816 : : {
17817 : 0 : {
17818 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
17819 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures);
17820 : 0 : if (res) return res;
17821 : : }
17822 : : }
17823 : : }
17824 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
17825 : : {
17826 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
17827 : : {
17828 : 0 : {
17829 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q21, _p0, _q20 };
17830 : 0 : tree res = generic_simplify_135 (loc, type, _p0, _p1, captures);
17831 : 0 : if (res) return res;
17832 : : }
17833 : : }
17834 : : }
17835 : : break;
17836 : : }
17837 : : default:;
17838 : : }
17839 : : break;
17840 : : }
17841 : 79 : case LT_EXPR:
17842 : 79 : {
17843 : 79 : tree _q20 = TREE_OPERAND (_p0, 0);
17844 : 79 : tree _q21 = TREE_OPERAND (_p0, 1);
17845 : 79 : switch (TREE_CODE (_p1))
17846 : : {
17847 : 15 : case LT_EXPR:
17848 : 15 : {
17849 : 15 : tree _q50 = TREE_OPERAND (_p1, 0);
17850 : 15 : tree _q51 = TREE_OPERAND (_p1, 1);
17851 : 15 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
17852 : : {
17853 : 0 : {
17854 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
17855 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LT_EXPR, MAX_EXPR);
17856 : 0 : if (res) return res;
17857 : : }
17858 : : }
17859 : 15 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
17860 : : {
17861 : 0 : {
17862 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50 };
17863 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GT_EXPR, MIN_EXPR);
17864 : 0 : if (res) return res;
17865 : : }
17866 : : }
17867 : : break;
17868 : : }
17869 : 0 : case GT_EXPR:
17870 : 0 : {
17871 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
17872 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
17873 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
17874 : : {
17875 : 0 : {
17876 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
17877 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LT_EXPR, MAX_EXPR);
17878 : 0 : if (res) return res;
17879 : : }
17880 : : }
17881 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
17882 : : {
17883 : 0 : {
17884 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51 };
17885 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GT_EXPR, MIN_EXPR);
17886 : 0 : if (res) return res;
17887 : : }
17888 : : }
17889 : : break;
17890 : : }
17891 : 79 : default:;
17892 : : }
17893 : 79 : switch (TREE_CODE (_q20))
17894 : : {
17895 : 2 : case POINTER_PLUS_EXPR:
17896 : 2 : {
17897 : 2 : tree _q30 = TREE_OPERAND (_q20, 0);
17898 : 2 : tree _q31 = TREE_OPERAND (_q20, 1);
17899 : 2 : switch (TREE_CODE (_q31))
17900 : : {
17901 : 2 : case INTEGER_CST:
17902 : 2 : {
17903 : 2 : switch (TREE_CODE (_p1))
17904 : : {
17905 : 2 : case LT_EXPR:
17906 : 2 : {
17907 : 2 : tree _q70 = TREE_OPERAND (_p1, 0);
17908 : 2 : tree _q71 = TREE_OPERAND (_p1, 1);
17909 : 2 : switch (TREE_CODE (_q70))
17910 : : {
17911 : 2 : case POINTER_PLUS_EXPR:
17912 : 2 : {
17913 : 2 : tree _q80 = TREE_OPERAND (_q70, 0);
17914 : 2 : tree _q81 = TREE_OPERAND (_q70, 1);
17915 : 2 : if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
17916 : : {
17917 : 2 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
17918 : : {
17919 : 2 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
17920 : : {
17921 : 2 : {
17922 : 2 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q70 };
17923 : 2 : const enum tree_code cmp = LT_EXPR;
17924 : 2 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
17925 : 1 : && TYPE_OVERFLOW_WRAPS (sizetype)
17926 : 3 : && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
17927 : : )
17928 : : {
17929 : 1 : {
17930 : 1 : offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
17931 : 1 : offset_int rhs = off * 2;
17932 : 1 : if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
17933 : : )
17934 : : {
17935 : 1 : {
17936 : 1 : bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
17937 : 1 : tree rhs_tree = wide_int_to_tree (sizetype, rhs);
17938 : 1 : if (cmp == LT_EXPR
17939 : : )
17940 : : {
17941 : 1 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1131;
17942 : 1 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1131;
17943 : 1 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1131;
17944 : 1 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1131;
17945 : 1 : if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1131;
17946 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1131;
17947 : 1 : {
17948 : 1 : tree res_op0;
17949 : 1 : {
17950 : 1 : tree _o1[1], _r1;
17951 : 1 : {
17952 : 1 : tree _o2[2], _r2;
17953 : 1 : _o2[0] = swap_p ? captures[6] : captures[1];
17954 : 1 : _o2[1] = swap_p ? captures[2] : captures[4];
17955 : 1 : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
17956 : 1 : _o1[0] = _r2;
17957 : : }
17958 : 1 : if (TREE_TYPE (_o1[0]) != sizetype)
17959 : : {
17960 : 1 : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
17961 : : }
17962 : : else
17963 : : _r1 = _o1[0];
17964 : 1 : res_op0 = _r1;
17965 : : }
17966 : 1 : tree res_op1;
17967 : 1 : res_op1 = rhs_tree;
17968 : 1 : tree _r;
17969 : 1 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
17970 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 835, __FILE__, __LINE__, true);
17971 : 1 : return _r;
17972 : : }
17973 : 0 : next_after_fail1131:;
17974 : : }
17975 : : else
17976 : : {
17977 : : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1132;
17978 : : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1132;
17979 : : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1132;
17980 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1132;
17981 : : {
17982 : : tree res_op0;
17983 : : {
17984 : : tree _o1[1], _r1;
17985 : : {
17986 : : tree _o2[2], _r2;
17987 : : {
17988 : : tree _o3[2], _r3;
17989 : : _o3[0] = swap_p ? captures[4] : captures[2];
17990 : : _o3[1] = wide_int_to_tree (sizetype, off);
17991 : : _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
17992 : : _o2[0] = _r3;
17993 : : }
17994 : : _o2[1] = swap_p ? captures[2] : captures[4];
17995 : : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
17996 : : _o1[0] = _r2;
17997 : : }
17998 : : if (TREE_TYPE (_o1[0]) != sizetype)
17999 : : {
18000 : : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
18001 : : }
18002 : : else
18003 : : _r1 = _o1[0];
18004 : : res_op0 = _r1;
18005 : : }
18006 : : tree res_op1;
18007 : : res_op1 = rhs_tree;
18008 : : tree _r;
18009 : : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
18010 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 836, __FILE__, __LINE__, true);
18011 : : return _r;
18012 : : }
18013 : : next_after_fail1132:;
18014 : : }
18015 : : }
18016 : : }
18017 : : }
18018 : : }
18019 : : }
18020 : : }
18021 : : }
18022 : : }
18023 : : break;
18024 : : }
18025 : : default:;
18026 : : }
18027 : : break;
18028 : : }
18029 : 0 : case GT_EXPR:
18030 : 0 : {
18031 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
18032 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
18033 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
18034 : : {
18035 : 0 : switch (TREE_CODE (_q71))
18036 : : {
18037 : 0 : case POINTER_PLUS_EXPR:
18038 : 0 : {
18039 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
18040 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
18041 : 0 : if ((_q90 == _q21 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q21, 0) && types_match (_q90, _q21)))
18042 : : {
18043 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
18044 : : {
18045 : 0 : {
18046 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q71 };
18047 : 0 : const enum tree_code cmp = LT_EXPR;
18048 : 0 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
18049 : 0 : && TYPE_OVERFLOW_WRAPS (sizetype)
18050 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
18051 : : )
18052 : : {
18053 : 0 : {
18054 : 0 : offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
18055 : 0 : offset_int rhs = off * 2;
18056 : 0 : if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
18057 : : )
18058 : : {
18059 : 0 : {
18060 : 0 : bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
18061 : 0 : tree rhs_tree = wide_int_to_tree (sizetype, rhs);
18062 : 0 : if (cmp == LT_EXPR
18063 : : )
18064 : : {
18065 : 0 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1133;
18066 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1133;
18067 : 0 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1133;
18068 : 0 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1133;
18069 : 0 : if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1133;
18070 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1133;
18071 : 0 : {
18072 : 0 : tree res_op0;
18073 : 0 : {
18074 : 0 : tree _o1[1], _r1;
18075 : 0 : {
18076 : 0 : tree _o2[2], _r2;
18077 : 0 : _o2[0] = swap_p ? captures[6] : captures[1];
18078 : 0 : _o2[1] = swap_p ? captures[2] : captures[4];
18079 : 0 : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
18080 : 0 : _o1[0] = _r2;
18081 : : }
18082 : 0 : if (TREE_TYPE (_o1[0]) != sizetype)
18083 : : {
18084 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
18085 : : }
18086 : : else
18087 : : _r1 = _o1[0];
18088 : 0 : res_op0 = _r1;
18089 : : }
18090 : 0 : tree res_op1;
18091 : 0 : res_op1 = rhs_tree;
18092 : 0 : tree _r;
18093 : 0 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
18094 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 835, __FILE__, __LINE__, true);
18095 : 0 : return _r;
18096 : : }
18097 : 0 : next_after_fail1133:;
18098 : : }
18099 : : else
18100 : : {
18101 : : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1134;
18102 : : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1134;
18103 : : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1134;
18104 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1134;
18105 : : {
18106 : : tree res_op0;
18107 : : {
18108 : : tree _o1[1], _r1;
18109 : : {
18110 : : tree _o2[2], _r2;
18111 : : {
18112 : : tree _o3[2], _r3;
18113 : : _o3[0] = swap_p ? captures[4] : captures[2];
18114 : : _o3[1] = wide_int_to_tree (sizetype, off);
18115 : : _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
18116 : : _o2[0] = _r3;
18117 : : }
18118 : : _o2[1] = swap_p ? captures[2] : captures[4];
18119 : : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
18120 : : _o1[0] = _r2;
18121 : : }
18122 : : if (TREE_TYPE (_o1[0]) != sizetype)
18123 : : {
18124 : : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
18125 : : }
18126 : : else
18127 : : _r1 = _o1[0];
18128 : : res_op0 = _r1;
18129 : : }
18130 : : tree res_op1;
18131 : : res_op1 = rhs_tree;
18132 : : tree _r;
18133 : : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
18134 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 836, __FILE__, __LINE__, true);
18135 : : return _r;
18136 : : }
18137 : : next_after_fail1134:;
18138 : : }
18139 : : }
18140 : : }
18141 : : }
18142 : : }
18143 : : }
18144 : : }
18145 : : }
18146 : : break;
18147 : : }
18148 : : default:;
18149 : : }
18150 : : }
18151 : : break;
18152 : : }
18153 : : default:;
18154 : : }
18155 : : break;
18156 : : }
18157 : : default:;
18158 : : }
18159 : : break;
18160 : : }
18161 : : default:;
18162 : : }
18163 : : break;
18164 : : }
18165 : 156 : case LE_EXPR:
18166 : 156 : {
18167 : 156 : tree _q20 = TREE_OPERAND (_p0, 0);
18168 : 156 : tree _q21 = TREE_OPERAND (_p0, 1);
18169 : 156 : switch (TREE_CODE (_p1))
18170 : : {
18171 : 2 : case LE_EXPR:
18172 : 2 : {
18173 : 2 : tree _q50 = TREE_OPERAND (_p1, 0);
18174 : 2 : tree _q51 = TREE_OPERAND (_p1, 1);
18175 : 2 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
18176 : : {
18177 : 0 : {
18178 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
18179 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LE_EXPR, MAX_EXPR);
18180 : 0 : if (res) return res;
18181 : : }
18182 : : }
18183 : 2 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
18184 : : {
18185 : 0 : {
18186 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50 };
18187 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GE_EXPR, MIN_EXPR);
18188 : 0 : if (res) return res;
18189 : : }
18190 : : }
18191 : : break;
18192 : : }
18193 : 1 : case GE_EXPR:
18194 : 1 : {
18195 : 1 : tree _q50 = TREE_OPERAND (_p1, 0);
18196 : 1 : tree _q51 = TREE_OPERAND (_p1, 1);
18197 : 1 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
18198 : : {
18199 : 0 : {
18200 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
18201 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LE_EXPR, MAX_EXPR);
18202 : 0 : if (res) return res;
18203 : : }
18204 : : }
18205 : 1 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
18206 : : {
18207 : 0 : {
18208 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51 };
18209 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GE_EXPR, MIN_EXPR);
18210 : 0 : if (res) return res;
18211 : : }
18212 : : }
18213 : : break;
18214 : : }
18215 : 156 : default:;
18216 : : }
18217 : 156 : switch (TREE_CODE (_q20))
18218 : : {
18219 : 2 : case POINTER_PLUS_EXPR:
18220 : 2 : {
18221 : 2 : tree _q30 = TREE_OPERAND (_q20, 0);
18222 : 2 : tree _q31 = TREE_OPERAND (_q20, 1);
18223 : 2 : switch (TREE_CODE (_q31))
18224 : : {
18225 : 2 : case INTEGER_CST:
18226 : 2 : {
18227 : 2 : switch (TREE_CODE (_p1))
18228 : : {
18229 : 2 : case LE_EXPR:
18230 : 2 : {
18231 : 2 : tree _q70 = TREE_OPERAND (_p1, 0);
18232 : 2 : tree _q71 = TREE_OPERAND (_p1, 1);
18233 : 2 : switch (TREE_CODE (_q70))
18234 : : {
18235 : 2 : case POINTER_PLUS_EXPR:
18236 : 2 : {
18237 : 2 : tree _q80 = TREE_OPERAND (_q70, 0);
18238 : 2 : tree _q81 = TREE_OPERAND (_q70, 1);
18239 : 2 : if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
18240 : : {
18241 : 2 : if ((_q81 == _q31 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q31, 0) && types_match (_q81, _q31)))
18242 : : {
18243 : 2 : if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
18244 : : {
18245 : 2 : {
18246 : 2 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q70 };
18247 : 2 : const enum tree_code cmp = LE_EXPR;
18248 : 2 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
18249 : 1 : && TYPE_OVERFLOW_WRAPS (sizetype)
18250 : 3 : && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
18251 : : )
18252 : : {
18253 : 1 : {
18254 : 1 : offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
18255 : 1 : offset_int rhs = off * 2;
18256 : 1 : if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
18257 : : )
18258 : : {
18259 : 1 : {
18260 : 1 : bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
18261 : 1 : tree rhs_tree = wide_int_to_tree (sizetype, rhs);
18262 : 1 : if (cmp == LT_EXPR
18263 : : )
18264 : : {
18265 : : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1135;
18266 : : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1135;
18267 : : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1135;
18268 : : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1135;
18269 : : if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1135;
18270 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1135;
18271 : : {
18272 : : tree res_op0;
18273 : : {
18274 : : tree _o1[1], _r1;
18275 : : {
18276 : : tree _o2[2], _r2;
18277 : : _o2[0] = swap_p ? captures[6] : captures[1];
18278 : : _o2[1] = swap_p ? captures[2] : captures[4];
18279 : : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
18280 : : _o1[0] = _r2;
18281 : : }
18282 : : if (TREE_TYPE (_o1[0]) != sizetype)
18283 : : {
18284 : : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
18285 : : }
18286 : : else
18287 : : _r1 = _o1[0];
18288 : : res_op0 = _r1;
18289 : : }
18290 : : tree res_op1;
18291 : : res_op1 = rhs_tree;
18292 : : tree _r;
18293 : : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
18294 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 835, __FILE__, __LINE__, true);
18295 : 1 : return _r;
18296 : : }
18297 : : next_after_fail1135:;
18298 : : }
18299 : : else
18300 : : {
18301 : 1 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1136;
18302 : 1 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1136;
18303 : 1 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1136;
18304 : 1 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1136;
18305 : 1 : {
18306 : 1 : tree res_op0;
18307 : 1 : {
18308 : 1 : tree _o1[1], _r1;
18309 : 1 : {
18310 : 1 : tree _o2[2], _r2;
18311 : 1 : {
18312 : 1 : tree _o3[2], _r3;
18313 : 1 : _o3[0] = swap_p ? captures[4] : captures[2];
18314 : 1 : _o3[1] = wide_int_to_tree (sizetype, off);
18315 : 1 : _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
18316 : 1 : _o2[0] = _r3;
18317 : : }
18318 : 1 : _o2[1] = swap_p ? captures[2] : captures[4];
18319 : 1 : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
18320 : 1 : _o1[0] = _r2;
18321 : : }
18322 : 1 : if (TREE_TYPE (_o1[0]) != sizetype)
18323 : : {
18324 : 1 : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
18325 : : }
18326 : : else
18327 : : _r1 = _o1[0];
18328 : 1 : res_op0 = _r1;
18329 : : }
18330 : 1 : tree res_op1;
18331 : 1 : res_op1 = rhs_tree;
18332 : 1 : tree _r;
18333 : 1 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
18334 : 1 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 836, __FILE__, __LINE__, true);
18335 : 1 : return _r;
18336 : : }
18337 : 0 : next_after_fail1136:;
18338 : : }
18339 : : }
18340 : : }
18341 : : }
18342 : : }
18343 : : }
18344 : : }
18345 : : }
18346 : : }
18347 : : break;
18348 : : }
18349 : : default:;
18350 : : }
18351 : : break;
18352 : : }
18353 : 0 : case GE_EXPR:
18354 : 0 : {
18355 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
18356 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
18357 : 0 : if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
18358 : : {
18359 : 0 : switch (TREE_CODE (_q71))
18360 : : {
18361 : 0 : case POINTER_PLUS_EXPR:
18362 : 0 : {
18363 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
18364 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
18365 : 0 : if ((_q90 == _q21 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q21, 0) && types_match (_q90, _q21)))
18366 : : {
18367 : 0 : if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
18368 : : {
18369 : 0 : {
18370 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q71 };
18371 : 0 : const enum tree_code cmp = LE_EXPR;
18372 : 0 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
18373 : 0 : && TYPE_OVERFLOW_WRAPS (sizetype)
18374 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
18375 : : )
18376 : : {
18377 : 0 : {
18378 : 0 : offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
18379 : 0 : offset_int rhs = off * 2;
18380 : 0 : if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
18381 : : )
18382 : : {
18383 : 0 : {
18384 : 0 : bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
18385 : 0 : tree rhs_tree = wide_int_to_tree (sizetype, rhs);
18386 : 0 : if (cmp == LT_EXPR
18387 : : )
18388 : : {
18389 : : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1137;
18390 : : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1137;
18391 : : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1137;
18392 : : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1137;
18393 : : if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1137;
18394 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1137;
18395 : : {
18396 : : tree res_op0;
18397 : : {
18398 : : tree _o1[1], _r1;
18399 : : {
18400 : : tree _o2[2], _r2;
18401 : : _o2[0] = swap_p ? captures[6] : captures[1];
18402 : : _o2[1] = swap_p ? captures[2] : captures[4];
18403 : : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
18404 : : _o1[0] = _r2;
18405 : : }
18406 : : if (TREE_TYPE (_o1[0]) != sizetype)
18407 : : {
18408 : : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
18409 : : }
18410 : : else
18411 : : _r1 = _o1[0];
18412 : : res_op0 = _r1;
18413 : : }
18414 : : tree res_op1;
18415 : : res_op1 = rhs_tree;
18416 : : tree _r;
18417 : : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
18418 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 835, __FILE__, __LINE__, true);
18419 : 0 : return _r;
18420 : : }
18421 : : next_after_fail1137:;
18422 : : }
18423 : : else
18424 : : {
18425 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1138;
18426 : 0 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1138;
18427 : 0 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1138;
18428 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1138;
18429 : 0 : {
18430 : 0 : tree res_op0;
18431 : 0 : {
18432 : 0 : tree _o1[1], _r1;
18433 : 0 : {
18434 : 0 : tree _o2[2], _r2;
18435 : 0 : {
18436 : 0 : tree _o3[2], _r3;
18437 : 0 : _o3[0] = swap_p ? captures[4] : captures[2];
18438 : 0 : _o3[1] = wide_int_to_tree (sizetype, off);
18439 : 0 : _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
18440 : 0 : _o2[0] = _r3;
18441 : : }
18442 : 0 : _o2[1] = swap_p ? captures[2] : captures[4];
18443 : 0 : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
18444 : 0 : _o1[0] = _r2;
18445 : : }
18446 : 0 : if (TREE_TYPE (_o1[0]) != sizetype)
18447 : : {
18448 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
18449 : : }
18450 : : else
18451 : : _r1 = _o1[0];
18452 : 0 : res_op0 = _r1;
18453 : : }
18454 : 0 : tree res_op1;
18455 : 0 : res_op1 = rhs_tree;
18456 : 0 : tree _r;
18457 : 0 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
18458 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 836, __FILE__, __LINE__, true);
18459 : 0 : return _r;
18460 : : }
18461 : 0 : next_after_fail1138:;
18462 : : }
18463 : : }
18464 : : }
18465 : : }
18466 : : }
18467 : : }
18468 : : }
18469 : : }
18470 : : break;
18471 : : }
18472 : : default:;
18473 : : }
18474 : : }
18475 : : break;
18476 : : }
18477 : : default:;
18478 : : }
18479 : : break;
18480 : : }
18481 : : default:;
18482 : : }
18483 : : break;
18484 : : }
18485 : : default:;
18486 : : }
18487 : : break;
18488 : : }
18489 : 141 : case GT_EXPR:
18490 : 141 : {
18491 : 141 : tree _q20 = TREE_OPERAND (_p0, 0);
18492 : 141 : tree _q21 = TREE_OPERAND (_p0, 1);
18493 : 141 : switch (TREE_CODE (_p1))
18494 : : {
18495 : 0 : case GT_EXPR:
18496 : 0 : {
18497 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
18498 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
18499 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
18500 : : {
18501 : 0 : {
18502 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
18503 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GT_EXPR, MIN_EXPR);
18504 : 0 : if (res) return res;
18505 : : }
18506 : : }
18507 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
18508 : : {
18509 : 0 : {
18510 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50 };
18511 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LT_EXPR, MAX_EXPR);
18512 : 0 : if (res) return res;
18513 : : }
18514 : : }
18515 : : break;
18516 : : }
18517 : 0 : case LT_EXPR:
18518 : 0 : {
18519 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
18520 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
18521 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
18522 : : {
18523 : 0 : {
18524 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
18525 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GT_EXPR, MIN_EXPR);
18526 : 0 : if (res) return res;
18527 : : }
18528 : : }
18529 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
18530 : : {
18531 : 0 : {
18532 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51 };
18533 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LT_EXPR, MAX_EXPR);
18534 : 0 : if (res) return res;
18535 : : }
18536 : : }
18537 : : break;
18538 : : }
18539 : 141 : default:;
18540 : : }
18541 : 141 : switch (TREE_CODE (_q21))
18542 : : {
18543 : 0 : case POINTER_PLUS_EXPR:
18544 : 0 : {
18545 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
18546 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
18547 : 0 : switch (TREE_CODE (_q41))
18548 : : {
18549 : 0 : case INTEGER_CST:
18550 : 0 : {
18551 : 0 : switch (TREE_CODE (_p1))
18552 : : {
18553 : 0 : case LT_EXPR:
18554 : 0 : {
18555 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
18556 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
18557 : 0 : switch (TREE_CODE (_q70))
18558 : : {
18559 : 0 : case POINTER_PLUS_EXPR:
18560 : 0 : {
18561 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
18562 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
18563 : 0 : if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
18564 : : {
18565 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
18566 : : {
18567 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
18568 : : {
18569 : 0 : {
18570 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q70 };
18571 : 0 : const enum tree_code cmp = LT_EXPR;
18572 : 0 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
18573 : 0 : && TYPE_OVERFLOW_WRAPS (sizetype)
18574 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
18575 : : )
18576 : : {
18577 : 0 : {
18578 : 0 : offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
18579 : 0 : offset_int rhs = off * 2;
18580 : 0 : if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
18581 : : )
18582 : : {
18583 : 0 : {
18584 : 0 : bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
18585 : 0 : tree rhs_tree = wide_int_to_tree (sizetype, rhs);
18586 : 0 : if (cmp == LT_EXPR
18587 : : )
18588 : : {
18589 : 0 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1139;
18590 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1139;
18591 : 0 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1139;
18592 : 0 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1139;
18593 : 0 : if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1139;
18594 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1139;
18595 : 0 : {
18596 : 0 : tree res_op0;
18597 : 0 : {
18598 : 0 : tree _o1[1], _r1;
18599 : 0 : {
18600 : 0 : tree _o2[2], _r2;
18601 : 0 : _o2[0] = swap_p ? captures[6] : captures[1];
18602 : 0 : _o2[1] = swap_p ? captures[2] : captures[4];
18603 : 0 : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
18604 : 0 : _o1[0] = _r2;
18605 : : }
18606 : 0 : if (TREE_TYPE (_o1[0]) != sizetype)
18607 : : {
18608 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
18609 : : }
18610 : : else
18611 : : _r1 = _o1[0];
18612 : 0 : res_op0 = _r1;
18613 : : }
18614 : 0 : tree res_op1;
18615 : 0 : res_op1 = rhs_tree;
18616 : 0 : tree _r;
18617 : 0 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
18618 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 835, __FILE__, __LINE__, true);
18619 : 0 : return _r;
18620 : : }
18621 : 0 : next_after_fail1139:;
18622 : : }
18623 : : else
18624 : : {
18625 : : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1140;
18626 : : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1140;
18627 : : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1140;
18628 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1140;
18629 : : {
18630 : : tree res_op0;
18631 : : {
18632 : : tree _o1[1], _r1;
18633 : : {
18634 : : tree _o2[2], _r2;
18635 : : {
18636 : : tree _o3[2], _r3;
18637 : : _o3[0] = swap_p ? captures[4] : captures[2];
18638 : : _o3[1] = wide_int_to_tree (sizetype, off);
18639 : : _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
18640 : : _o2[0] = _r3;
18641 : : }
18642 : : _o2[1] = swap_p ? captures[2] : captures[4];
18643 : : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
18644 : : _o1[0] = _r2;
18645 : : }
18646 : : if (TREE_TYPE (_o1[0]) != sizetype)
18647 : : {
18648 : : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
18649 : : }
18650 : : else
18651 : : _r1 = _o1[0];
18652 : : res_op0 = _r1;
18653 : : }
18654 : : tree res_op1;
18655 : : res_op1 = rhs_tree;
18656 : : tree _r;
18657 : : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
18658 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 836, __FILE__, __LINE__, true);
18659 : : return _r;
18660 : : }
18661 : : next_after_fail1140:;
18662 : : }
18663 : : }
18664 : : }
18665 : : }
18666 : : }
18667 : : }
18668 : : }
18669 : : }
18670 : : }
18671 : : break;
18672 : : }
18673 : : default:;
18674 : : }
18675 : : break;
18676 : : }
18677 : 0 : case GT_EXPR:
18678 : 0 : {
18679 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
18680 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
18681 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
18682 : : {
18683 : 0 : switch (TREE_CODE (_q71))
18684 : : {
18685 : 0 : case POINTER_PLUS_EXPR:
18686 : 0 : {
18687 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
18688 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
18689 : 0 : if ((_q90 == _q20 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q20, 0) && types_match (_q90, _q20)))
18690 : : {
18691 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
18692 : : {
18693 : 0 : {
18694 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q71 };
18695 : 0 : const enum tree_code cmp = LT_EXPR;
18696 : 0 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
18697 : 0 : && TYPE_OVERFLOW_WRAPS (sizetype)
18698 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
18699 : : )
18700 : : {
18701 : 0 : {
18702 : 0 : offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
18703 : 0 : offset_int rhs = off * 2;
18704 : 0 : if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
18705 : : )
18706 : : {
18707 : 0 : {
18708 : 0 : bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
18709 : 0 : tree rhs_tree = wide_int_to_tree (sizetype, rhs);
18710 : 0 : if (cmp == LT_EXPR
18711 : : )
18712 : : {
18713 : 0 : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1141;
18714 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1141;
18715 : 0 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1141;
18716 : 0 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1141;
18717 : 0 : if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1141;
18718 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1141;
18719 : 0 : {
18720 : 0 : tree res_op0;
18721 : 0 : {
18722 : 0 : tree _o1[1], _r1;
18723 : 0 : {
18724 : 0 : tree _o2[2], _r2;
18725 : 0 : _o2[0] = swap_p ? captures[6] : captures[1];
18726 : 0 : _o2[1] = swap_p ? captures[2] : captures[4];
18727 : 0 : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
18728 : 0 : _o1[0] = _r2;
18729 : : }
18730 : 0 : if (TREE_TYPE (_o1[0]) != sizetype)
18731 : : {
18732 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
18733 : : }
18734 : : else
18735 : : _r1 = _o1[0];
18736 : 0 : res_op0 = _r1;
18737 : : }
18738 : 0 : tree res_op1;
18739 : 0 : res_op1 = rhs_tree;
18740 : 0 : tree _r;
18741 : 0 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
18742 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 835, __FILE__, __LINE__, true);
18743 : 0 : return _r;
18744 : : }
18745 : 0 : next_after_fail1141:;
18746 : : }
18747 : : else
18748 : : {
18749 : : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1142;
18750 : : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1142;
18751 : : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1142;
18752 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1142;
18753 : : {
18754 : : tree res_op0;
18755 : : {
18756 : : tree _o1[1], _r1;
18757 : : {
18758 : : tree _o2[2], _r2;
18759 : : {
18760 : : tree _o3[2], _r3;
18761 : : _o3[0] = swap_p ? captures[4] : captures[2];
18762 : : _o3[1] = wide_int_to_tree (sizetype, off);
18763 : : _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
18764 : : _o2[0] = _r3;
18765 : : }
18766 : : _o2[1] = swap_p ? captures[2] : captures[4];
18767 : : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
18768 : : _o1[0] = _r2;
18769 : : }
18770 : : if (TREE_TYPE (_o1[0]) != sizetype)
18771 : : {
18772 : : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
18773 : : }
18774 : : else
18775 : : _r1 = _o1[0];
18776 : : res_op0 = _r1;
18777 : : }
18778 : : tree res_op1;
18779 : : res_op1 = rhs_tree;
18780 : : tree _r;
18781 : : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
18782 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 836, __FILE__, __LINE__, true);
18783 : : return _r;
18784 : : }
18785 : : next_after_fail1142:;
18786 : : }
18787 : : }
18788 : : }
18789 : : }
18790 : : }
18791 : : }
18792 : : }
18793 : : }
18794 : : break;
18795 : : }
18796 : : default:;
18797 : : }
18798 : : }
18799 : : break;
18800 : : }
18801 : : default:;
18802 : : }
18803 : : break;
18804 : : }
18805 : : default:;
18806 : : }
18807 : : break;
18808 : : }
18809 : : default:;
18810 : : }
18811 : : break;
18812 : : }
18813 : 39 : case GE_EXPR:
18814 : 39 : {
18815 : 39 : tree _q20 = TREE_OPERAND (_p0, 0);
18816 : 39 : tree _q21 = TREE_OPERAND (_p0, 1);
18817 : 39 : switch (TREE_CODE (_p1))
18818 : : {
18819 : 0 : case GE_EXPR:
18820 : 0 : {
18821 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
18822 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
18823 : 0 : if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
18824 : : {
18825 : 0 : {
18826 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
18827 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GE_EXPR, MIN_EXPR);
18828 : 0 : if (res) return res;
18829 : : }
18830 : : }
18831 : 0 : if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
18832 : : {
18833 : 0 : {
18834 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50 };
18835 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LE_EXPR, MAX_EXPR);
18836 : 0 : if (res) return res;
18837 : : }
18838 : : }
18839 : : break;
18840 : : }
18841 : 0 : case LE_EXPR:
18842 : 0 : {
18843 : 0 : tree _q50 = TREE_OPERAND (_p1, 0);
18844 : 0 : tree _q51 = TREE_OPERAND (_p1, 1);
18845 : 0 : if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
18846 : : {
18847 : 0 : {
18848 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
18849 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, GE_EXPR, MIN_EXPR);
18850 : 0 : if (res) return res;
18851 : : }
18852 : : }
18853 : 0 : if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
18854 : : {
18855 : 0 : {
18856 : 0 : tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51 };
18857 : 0 : tree res = generic_simplify_136 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, LE_EXPR, MAX_EXPR);
18858 : 0 : if (res) return res;
18859 : : }
18860 : : }
18861 : : break;
18862 : : }
18863 : 39 : default:;
18864 : : }
18865 : 39 : switch (TREE_CODE (_q21))
18866 : : {
18867 : 0 : case POINTER_PLUS_EXPR:
18868 : 0 : {
18869 : 0 : tree _q40 = TREE_OPERAND (_q21, 0);
18870 : 0 : tree _q41 = TREE_OPERAND (_q21, 1);
18871 : 0 : switch (TREE_CODE (_q41))
18872 : : {
18873 : 0 : case INTEGER_CST:
18874 : 0 : {
18875 : 0 : switch (TREE_CODE (_p1))
18876 : : {
18877 : 0 : case LE_EXPR:
18878 : 0 : {
18879 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
18880 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
18881 : 0 : switch (TREE_CODE (_q70))
18882 : : {
18883 : 0 : case POINTER_PLUS_EXPR:
18884 : 0 : {
18885 : 0 : tree _q80 = TREE_OPERAND (_q70, 0);
18886 : 0 : tree _q81 = TREE_OPERAND (_q70, 1);
18887 : 0 : if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
18888 : : {
18889 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
18890 : : {
18891 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
18892 : : {
18893 : 0 : {
18894 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q70 };
18895 : 0 : const enum tree_code cmp = LE_EXPR;
18896 : 0 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
18897 : 0 : && TYPE_OVERFLOW_WRAPS (sizetype)
18898 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
18899 : : )
18900 : : {
18901 : 0 : {
18902 : 0 : offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
18903 : 0 : offset_int rhs = off * 2;
18904 : 0 : if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
18905 : : )
18906 : : {
18907 : 0 : {
18908 : 0 : bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
18909 : 0 : tree rhs_tree = wide_int_to_tree (sizetype, rhs);
18910 : 0 : if (cmp == LT_EXPR
18911 : : )
18912 : : {
18913 : : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1143;
18914 : : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1143;
18915 : : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1143;
18916 : : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1143;
18917 : : if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1143;
18918 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1143;
18919 : : {
18920 : : tree res_op0;
18921 : : {
18922 : : tree _o1[1], _r1;
18923 : : {
18924 : : tree _o2[2], _r2;
18925 : : _o2[0] = swap_p ? captures[6] : captures[1];
18926 : : _o2[1] = swap_p ? captures[2] : captures[4];
18927 : : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
18928 : : _o1[0] = _r2;
18929 : : }
18930 : : if (TREE_TYPE (_o1[0]) != sizetype)
18931 : : {
18932 : : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
18933 : : }
18934 : : else
18935 : : _r1 = _o1[0];
18936 : : res_op0 = _r1;
18937 : : }
18938 : : tree res_op1;
18939 : : res_op1 = rhs_tree;
18940 : : tree _r;
18941 : : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
18942 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 835, __FILE__, __LINE__, true);
18943 : 0 : return _r;
18944 : : }
18945 : : next_after_fail1143:;
18946 : : }
18947 : : else
18948 : : {
18949 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1144;
18950 : 0 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1144;
18951 : 0 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1144;
18952 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1144;
18953 : 0 : {
18954 : 0 : tree res_op0;
18955 : 0 : {
18956 : 0 : tree _o1[1], _r1;
18957 : 0 : {
18958 : 0 : tree _o2[2], _r2;
18959 : 0 : {
18960 : 0 : tree _o3[2], _r3;
18961 : 0 : _o3[0] = swap_p ? captures[4] : captures[2];
18962 : 0 : _o3[1] = wide_int_to_tree (sizetype, off);
18963 : 0 : _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
18964 : 0 : _o2[0] = _r3;
18965 : : }
18966 : 0 : _o2[1] = swap_p ? captures[2] : captures[4];
18967 : 0 : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
18968 : 0 : _o1[0] = _r2;
18969 : : }
18970 : 0 : if (TREE_TYPE (_o1[0]) != sizetype)
18971 : : {
18972 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
18973 : : }
18974 : : else
18975 : : _r1 = _o1[0];
18976 : 0 : res_op0 = _r1;
18977 : : }
18978 : 0 : tree res_op1;
18979 : 0 : res_op1 = rhs_tree;
18980 : 0 : tree _r;
18981 : 0 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
18982 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 836, __FILE__, __LINE__, true);
18983 : 0 : return _r;
18984 : : }
18985 : 0 : next_after_fail1144:;
18986 : : }
18987 : : }
18988 : : }
18989 : : }
18990 : : }
18991 : : }
18992 : : }
18993 : : }
18994 : : }
18995 : : break;
18996 : : }
18997 : : default:;
18998 : : }
18999 : : break;
19000 : : }
19001 : 0 : case GE_EXPR:
19002 : 0 : {
19003 : 0 : tree _q70 = TREE_OPERAND (_p1, 0);
19004 : 0 : tree _q71 = TREE_OPERAND (_p1, 1);
19005 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
19006 : : {
19007 : 0 : switch (TREE_CODE (_q71))
19008 : : {
19009 : 0 : case POINTER_PLUS_EXPR:
19010 : 0 : {
19011 : 0 : tree _q90 = TREE_OPERAND (_q71, 0);
19012 : 0 : tree _q91 = TREE_OPERAND (_q71, 1);
19013 : 0 : if ((_q90 == _q20 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q20, 0) && types_match (_q90, _q20)))
19014 : : {
19015 : 0 : if ((_q91 == _q41 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q41, 0) && types_match (_q91, _q41)))
19016 : : {
19017 : 0 : {
19018 : 0 : tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q41, _q20, _p1, _q71 };
19019 : 0 : const enum tree_code cmp = LE_EXPR;
19020 : 0 : if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[2]))
19021 : 0 : && TYPE_OVERFLOW_WRAPS (sizetype)
19022 : 0 : && TYPE_PRECISION (TREE_TYPE (captures[2])) == TYPE_PRECISION (sizetype)
19023 : : )
19024 : : {
19025 : 0 : {
19026 : 0 : offset_int off = wi::to_offset (captures[3]) - (cmp == LE_EXPR ? 1 : 0);
19027 : 0 : offset_int rhs = off * 2;
19028 : 0 : if (wi::min_precision (rhs, UNSIGNED) <= TYPE_PRECISION (sizetype)
19029 : : )
19030 : : {
19031 : 0 : {
19032 : 0 : bool swap_p = tree_swap_operands_p (captures[2], captures[4]);
19033 : 0 : tree rhs_tree = wide_int_to_tree (sizetype, rhs);
19034 : 0 : if (cmp == LT_EXPR
19035 : : )
19036 : : {
19037 : : if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1145;
19038 : : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1145;
19039 : : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1145;
19040 : : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1145;
19041 : : if (TREE_SIDE_EFFECTS (captures[6])) goto next_after_fail1145;
19042 : : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1145;
19043 : : {
19044 : : tree res_op0;
19045 : : {
19046 : : tree _o1[1], _r1;
19047 : : {
19048 : : tree _o2[2], _r2;
19049 : : _o2[0] = swap_p ? captures[6] : captures[1];
19050 : : _o2[1] = swap_p ? captures[2] : captures[4];
19051 : : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
19052 : : _o1[0] = _r2;
19053 : : }
19054 : : if (TREE_TYPE (_o1[0]) != sizetype)
19055 : : {
19056 : : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
19057 : : }
19058 : : else
19059 : : _r1 = _o1[0];
19060 : : res_op0 = _r1;
19061 : : }
19062 : : tree res_op1;
19063 : : res_op1 = rhs_tree;
19064 : : tree _r;
19065 : : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
19066 : : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 835, __FILE__, __LINE__, true);
19067 : 0 : return _r;
19068 : : }
19069 : : next_after_fail1145:;
19070 : : }
19071 : : else
19072 : : {
19073 : 0 : if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1146;
19074 : 0 : if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1146;
19075 : 0 : if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1146;
19076 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1146;
19077 : 0 : {
19078 : 0 : tree res_op0;
19079 : 0 : {
19080 : 0 : tree _o1[1], _r1;
19081 : 0 : {
19082 : 0 : tree _o2[2], _r2;
19083 : 0 : {
19084 : 0 : tree _o3[2], _r3;
19085 : 0 : _o3[0] = swap_p ? captures[4] : captures[2];
19086 : 0 : _o3[1] = wide_int_to_tree (sizetype, off);
19087 : 0 : _r3 = fold_build2_loc (loc, POINTER_PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
19088 : 0 : _o2[0] = _r3;
19089 : : }
19090 : 0 : _o2[1] = swap_p ? captures[2] : captures[4];
19091 : 0 : _r2 = fold_build2_loc (loc, POINTER_DIFF_EXPR, ssizetype, _o2[0], _o2[1]);
19092 : 0 : _o1[0] = _r2;
19093 : : }
19094 : 0 : if (TREE_TYPE (_o1[0]) != sizetype)
19095 : : {
19096 : 0 : _r1 = fold_build1_loc (loc, NOP_EXPR, sizetype, _o1[0]);
19097 : : }
19098 : : else
19099 : : _r1 = _o1[0];
19100 : 0 : res_op0 = _r1;
19101 : : }
19102 : 0 : tree res_op1;
19103 : 0 : res_op1 = rhs_tree;
19104 : 0 : tree _r;
19105 : 0 : _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
19106 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 836, __FILE__, __LINE__, true);
19107 : 0 : return _r;
19108 : : }
19109 : 0 : next_after_fail1146:;
19110 : : }
19111 : : }
19112 : : }
19113 : : }
19114 : : }
19115 : : }
19116 : : }
19117 : : }
19118 : : break;
19119 : : }
19120 : : default:;
19121 : : }
19122 : : }
19123 : : break;
19124 : : }
19125 : : default:;
19126 : : }
19127 : : break;
19128 : : }
19129 : : default:;
19130 : : }
19131 : : break;
19132 : : }
19133 : : default:;
19134 : : }
19135 : : break;
19136 : : }
19137 : 0 : case VEC_PERM_EXPR:
19138 : 0 : {
19139 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
19140 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
19141 : 0 : tree _q22 = TREE_OPERAND (_p0, 2);
19142 : 0 : if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
19143 : : {
19144 : 0 : switch (TREE_CODE (_p1))
19145 : : {
19146 : 0 : case VEC_PERM_EXPR:
19147 : 0 : {
19148 : 0 : tree _q60 = TREE_OPERAND (_p1, 0);
19149 : 0 : tree _q61 = TREE_OPERAND (_p1, 1);
19150 : 0 : tree _q62 = TREE_OPERAND (_p1, 2);
19151 : 0 : if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
19152 : : {
19153 : 0 : if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
19154 : : {
19155 : 0 : {
19156 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
19157 : 0 : if (VECTOR_INTEGER_TYPE_P (type)
19158 : : )
19159 : : {
19160 : 0 : if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1147;
19161 : 0 : {
19162 : 0 : tree res_op0;
19163 : 0 : {
19164 : 0 : tree _o1[2], _r1;
19165 : 0 : _o1[0] = captures[0];
19166 : 0 : _o1[1] = captures[2];
19167 : 0 : _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
19168 : 0 : captures[3] = _r1;
19169 : : }
19170 : 0 : res_op0 = unshare_expr (captures[3]);
19171 : 0 : tree res_op1;
19172 : 0 : res_op1 = captures[3];
19173 : 0 : tree res_op2;
19174 : 0 : res_op2 = captures[1];
19175 : 0 : tree _r;
19176 : 0 : _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
19177 : 0 : if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 796, __FILE__, __LINE__, true);
19178 : 0 : return _r;
19179 : : }
19180 : 0 : next_after_fail1147:;
19181 : : }
19182 : : }
19183 : : }
19184 : : }
19185 : : break;
19186 : : }
19187 : : default:;
19188 : : }
19189 : : }
19190 : : break;
19191 : : }
19192 : : default:;
19193 : : }
19194 : : return NULL_TREE;
19195 : : }
19196 : : #pragma GCC diagnostic pop
|