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 "gimple-match-auto.h"
8 : :
9 : : bool
10 : 279560813 : gimple_logical_inverted_value (tree t, tree *res_ops, tree (*valueize)(tree) ATTRIBUTE_UNUSED)
11 : : {
12 : 279560813 : const tree type = TREE_TYPE (t);
13 : 279560813 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
14 : 279560813 : switch (TREE_CODE (t))
15 : : {
16 : 236327432 : case SSA_NAME:
17 : 236327432 : if (gimple *_d1 = get_def (valueize, t))
18 : : {
19 : 94321376 : if (gassign *_a1 = dyn_cast <gassign *> (_d1))
20 : 105307998 : switch (gimple_assign_rhs_code (_a1))
21 : : {
22 : 0 : case TRUTH_NOT_EXPR:
23 : 0 : {
24 : 0 : tree _p0 = gimple_assign_rhs1 (_a1);
25 : 0 : _p0 = do_valueize (valueize, _p0);
26 : 0 : {
27 : 0 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
28 : 0 : {
29 : 0 : res_ops[0] = captures[0];
30 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 24, __FILE__, __LINE__, false);
31 : 0 : return true;
32 : : }
33 : : }
34 : 734583 : break;
35 : : }
36 : 734583 : case BIT_NOT_EXPR:
37 : 734583 : {
38 : 734583 : tree _p0 = gimple_assign_rhs1 (_a1);
39 : 734583 : _p0 = do_valueize (valueize, _p0);
40 : 734583 : if (gimple_truth_valued_p (_p0, valueize))
41 : : {
42 : 503343 : {
43 : 503343 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
44 : 503343 : {
45 : 503343 : res_ops[0] = captures[0];
46 : 503343 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 25, __FILE__, __LINE__, false);
47 : 503343 : return true;
48 : : }
49 : : }
50 : : }
51 : : break;
52 : : }
53 : 2046142 : case EQ_EXPR:
54 : 2046142 : {
55 : 2046142 : tree _p0 = gimple_assign_rhs1 (_a1);
56 : 2046142 : _p0 = do_valueize (valueize, _p0);
57 : 2046142 : tree _p1 = gimple_assign_rhs2 (_a1);
58 : 2046142 : _p1 = do_valueize (valueize, _p1);
59 : 2046142 : if (tree_swap_operands_p (_p0, _p1))
60 : 23639 : std::swap (_p0, _p1);
61 : 2046142 : if (integer_zerop (_p1))
62 : : {
63 : 736496 : {
64 : 736496 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
65 : 736496 : {
66 : 736496 : res_ops[0] = captures[0];
67 : 736496 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 26, __FILE__, __LINE__, false);
68 : 736496 : return true;
69 : : }
70 : : }
71 : : }
72 : 279560813 : break;
73 : : }
74 : 2020999 : case NE_EXPR:
75 : 2020999 : {
76 : 2020999 : tree _p0 = gimple_assign_rhs1 (_a1);
77 : 2020999 : _p0 = do_valueize (valueize, _p0);
78 : 2020999 : tree _p1 = gimple_assign_rhs2 (_a1);
79 : 2020999 : _p1 = do_valueize (valueize, _p1);
80 : 2020999 : if (tree_swap_operands_p (_p0, _p1))
81 : 18281 : std::swap (_p0, _p1);
82 : 2020999 : if (gimple_truth_valued_p (_p0, valueize))
83 : : {
84 : 51517 : if (integer_truep (_p1))
85 : : {
86 : 80 : {
87 : 80 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
88 : 80 : {
89 : 80 : res_ops[0] = captures[0];
90 : 80 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 27, __FILE__, __LINE__, false);
91 : 80 : return true;
92 : : }
93 : : }
94 : : }
95 : : }
96 : 279560813 : break;
97 : : }
98 : 199914 : case BIT_XOR_EXPR:
99 : 199914 : {
100 : 199914 : tree _p0 = gimple_assign_rhs1 (_a1);
101 : 199914 : _p0 = do_valueize (valueize, _p0);
102 : 199914 : tree _p1 = gimple_assign_rhs2 (_a1);
103 : 199914 : _p1 = do_valueize (valueize, _p1);
104 : 199914 : if (tree_swap_operands_p (_p0, _p1))
105 : 10186 : std::swap (_p0, _p1);
106 : 199914 : if (gimple_truth_valued_p (_p0, valueize))
107 : : {
108 : 29012 : if (integer_truep (_p1))
109 : : {
110 : 56 : {
111 : 56 : tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
112 : 56 : {
113 : 56 : res_ops[0] = captures[0];
114 : 56 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 28, __FILE__, __LINE__, false);
115 : 56 : return true;
116 : : }
117 : : }
118 : : }
119 : : }
120 : 279560813 : break;
121 : : }
122 : : default:;
123 : : }
124 : : }
125 : : break;
126 : : default:;
127 : : }
128 : : return false;
129 : : }
130 : :
131 : : bool
132 : 28721999 : gimple_signed_integer_sat_add (tree t, tree *res_ops, tree (*valueize)(tree) ATTRIBUTE_UNUSED)
133 : : {
134 : 28721999 : const tree type = TREE_TYPE (t);
135 : 28721999 : const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
136 : 28721999 : switch (TREE_CODE (t))
137 : : {
138 : 24499554 : case SSA_NAME:
139 : 24499554 : if (gimple *_d1 = get_def (valueize, t))
140 : : {
141 : 24499554 : if (gassign *_a1 = dyn_cast <gassign *> (_d1))
142 : 23771474 : switch (gimple_assign_rhs_code (_a1))
143 : : {
144 : 173182 : case COND_EXPR:
145 : 173182 : {
146 : 173182 : tree _p0 = gimple_assign_rhs1 (_a1);
147 : 173182 : _p0 = do_valueize (valueize, _p0);
148 : 173182 : tree _p1 = gimple_assign_rhs2 (_a1);
149 : 173182 : _p1 = do_valueize (valueize, _p1);
150 : 173182 : tree _p2 = gimple_assign_rhs3 (_a1);
151 : 173182 : _p2 = do_valueize (valueize, _p2);
152 : 173182 : switch (TREE_CODE (_p0))
153 : : {
154 : 173182 : case SSA_NAME:
155 : 173182 : if (gimple *_d2 = get_def (valueize, _p0))
156 : : {
157 : 173182 : if (gassign *_a2 = dyn_cast <gassign *> (_d2))
158 : 174245 : switch (gimple_assign_rhs_code (_a2))
159 : : {
160 : 95328 : case LT_EXPR:
161 : 95328 : {
162 : 95328 : tree _q20 = gimple_assign_rhs1 (_a2);
163 : 95328 : _q20 = do_valueize (valueize, _q20);
164 : 95328 : tree _q21 = gimple_assign_rhs2 (_a2);
165 : 95328 : _q21 = do_valueize (valueize, _q21);
166 : 95328 : switch (TREE_CODE (_q20))
167 : : {
168 : 95328 : case SSA_NAME:
169 : 95328 : if (gimple *_d3 = get_def (valueize, _q20))
170 : : {
171 : 95328 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
172 : 99411 : switch (gimple_assign_rhs_code (_a3))
173 : : {
174 : 214 : case BIT_AND_EXPR:
175 : 214 : {
176 : 214 : tree _q30 = gimple_assign_rhs1 (_a3);
177 : 214 : _q30 = do_valueize (valueize, _q30);
178 : 214 : tree _q31 = gimple_assign_rhs2 (_a3);
179 : 214 : _q31 = do_valueize (valueize, _q31);
180 : 214 : if (tree_swap_operands_p (_q30, _q31))
181 : 162 : std::swap (_q30, _q31);
182 : 214 : switch (TREE_CODE (_q30))
183 : : {
184 : 214 : case SSA_NAME:
185 : 214 : if (gimple *_d4 = get_def (valueize, _q30))
186 : : {
187 : 214 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
188 : 214 : switch (gimple_assign_rhs_code (_a4))
189 : : {
190 : 144 : case BIT_XOR_EXPR:
191 : 144 : {
192 : 144 : tree _q40 = gimple_assign_rhs1 (_a4);
193 : 144 : _q40 = do_valueize (valueize, _q40);
194 : 144 : tree _q41 = gimple_assign_rhs2 (_a4);
195 : 144 : _q41 = do_valueize (valueize, _q41);
196 : 144 : if (tree_swap_operands_p (_q40, _q41))
197 : 0 : std::swap (_q40, _q41);
198 : 144 : {
199 : 144 : tree _q41_pops[1];
200 : 144 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
201 : : {
202 : 0 : tree _q60 = _q41_pops[0];
203 : 0 : switch (TREE_CODE (_q60))
204 : : {
205 : 0 : case SSA_NAME:
206 : 0 : if (gimple *_d5 = get_def (valueize, _q60))
207 : : {
208 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
209 : 0 : switch (gimple_assign_rhs_code (_a5))
210 : : {
211 : 0 : case PLUS_EXPR:
212 : 0 : {
213 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
214 : 0 : _q70 = do_valueize (valueize, _q70);
215 : 0 : tree _q71 = gimple_assign_rhs2 (_a5);
216 : 0 : _q71 = do_valueize (valueize, _q71);
217 : 0 : if (tree_swap_operands_p (_q70, _q71))
218 : 0 : std::swap (_q70, _q71);
219 : 0 : {
220 : 0 : tree _q70_pops[1];
221 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
222 : : {
223 : 0 : tree _q80 = _q70_pops[0];
224 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
225 : : {
226 : 0 : {
227 : 0 : tree _q71_pops[1];
228 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
229 : : {
230 : 0 : tree _q100 = _q71_pops[0];
231 : 0 : switch (TREE_CODE (_q31))
232 : : {
233 : 0 : case SSA_NAME:
234 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
235 : : {
236 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
237 : 0 : switch (gimple_assign_rhs_code (_a6))
238 : : {
239 : 0 : case BIT_NOT_EXPR:
240 : 0 : {
241 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
242 : 0 : _q120 = do_valueize (valueize, _q120);
243 : 0 : switch (TREE_CODE (_q120))
244 : : {
245 : 0 : case SSA_NAME:
246 : 0 : if (gimple *_d7 = get_def (valueize, _q120))
247 : : {
248 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
249 : 0 : switch (gimple_assign_rhs_code (_a7))
250 : : {
251 : 0 : case BIT_XOR_EXPR:
252 : 0 : {
253 : 0 : tree _q130 = gimple_assign_rhs1 (_a7);
254 : 0 : _q130 = do_valueize (valueize, _q130);
255 : 0 : tree _q131 = gimple_assign_rhs2 (_a7);
256 : 0 : _q131 = do_valueize (valueize, _q131);
257 : 0 : if (tree_swap_operands_p (_q130, _q131))
258 : 0 : std::swap (_q130, _q131);
259 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
260 : : {
261 : 0 : if ((_q131 == _q100 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q100, 0) && types_match (_q131, _q100)))
262 : : {
263 : 0 : if (integer_zerop (_q21))
264 : : {
265 : 0 : {
266 : 0 : tree _p1_pops[1];
267 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
268 : : {
269 : 0 : tree _q170 = _p1_pops[0];
270 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
271 : : {
272 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
273 : : {
274 : 0 : {
275 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
276 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
277 : : )
278 : : {
279 : 0 : {
280 : 0 : res_ops[0] = captures[0];
281 : 0 : res_ops[1] = captures[1];
282 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
283 : 0 : return true;
284 : : }
285 : : }
286 : : }
287 : : }
288 : : }
289 : : }
290 : : }
291 : : }
292 : : }
293 : : }
294 : 0 : if ((_q130 == _q100 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q100, 0) && types_match (_q130, _q100)))
295 : : {
296 : 0 : if ((_q131 == _q40 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q40, 0) && types_match (_q131, _q40)))
297 : : {
298 : 0 : if (integer_zerop (_q21))
299 : : {
300 : 0 : {
301 : 0 : tree _p1_pops[1];
302 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
303 : : {
304 : 0 : tree _q170 = _p1_pops[0];
305 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
306 : : {
307 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
308 : : {
309 : 0 : {
310 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
311 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
312 : : )
313 : : {
314 : 0 : {
315 : 0 : res_ops[0] = captures[0];
316 : 0 : res_ops[1] = captures[1];
317 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
318 : 0 : return true;
319 : : }
320 : : }
321 : : }
322 : : }
323 : : }
324 : : }
325 : : }
326 : : }
327 : : }
328 : : }
329 : 0 : break;
330 : : }
331 : : default:;
332 : : }
333 : : }
334 : : break;
335 : : default:;
336 : : }
337 : : break;
338 : : }
339 : : default:;
340 : : }
341 : : }
342 : : break;
343 : : default:;
344 : : }
345 : : }
346 : : }
347 : : }
348 : : }
349 : : }
350 : 0 : break;
351 : : }
352 : : default:;
353 : : }
354 : : }
355 : : break;
356 : : default:;
357 : : }
358 : : }
359 : : }
360 : 144 : {
361 : 144 : tree _q40_pops[1];
362 : 144 : if (gimple_nop_convert (_q40, _q40_pops, valueize))
363 : : {
364 : 0 : tree _q50 = _q40_pops[0];
365 : 0 : switch (TREE_CODE (_q50))
366 : : {
367 : 0 : case SSA_NAME:
368 : 0 : if (gimple *_d5 = get_def (valueize, _q50))
369 : : {
370 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
371 : 0 : switch (gimple_assign_rhs_code (_a5))
372 : : {
373 : 0 : case PLUS_EXPR:
374 : 0 : {
375 : 0 : tree _q60 = gimple_assign_rhs1 (_a5);
376 : 0 : _q60 = do_valueize (valueize, _q60);
377 : 0 : tree _q61 = gimple_assign_rhs2 (_a5);
378 : 0 : _q61 = do_valueize (valueize, _q61);
379 : 0 : if (tree_swap_operands_p (_q60, _q61))
380 : 0 : std::swap (_q60, _q61);
381 : 0 : {
382 : 0 : tree _q60_pops[1];
383 : 0 : if (gimple_nop_convert (_q60, _q60_pops, valueize))
384 : : {
385 : 0 : tree _q70 = _q60_pops[0];
386 : 0 : switch (TREE_CODE (_q61))
387 : : {
388 : 0 : case INTEGER_CST:
389 : 0 : {
390 : 0 : if ((_q41 == _q70 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q70, 0) && types_match (_q41, _q70)))
391 : : {
392 : 0 : switch (TREE_CODE (_q31))
393 : : {
394 : 0 : case SSA_NAME:
395 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
396 : : {
397 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
398 : 0 : switch (gimple_assign_rhs_code (_a6))
399 : : {
400 : 0 : case BIT_XOR_EXPR:
401 : 0 : {
402 : 0 : tree _q110 = gimple_assign_rhs1 (_a6);
403 : 0 : _q110 = do_valueize (valueize, _q110);
404 : 0 : tree _q111 = gimple_assign_rhs2 (_a6);
405 : 0 : _q111 = do_valueize (valueize, _q111);
406 : 0 : if (tree_swap_operands_p (_q110, _q111))
407 : 0 : std::swap (_q110, _q111);
408 : 0 : if ((_q110 == _q70 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q70, 0) && types_match (_q110, _q70)))
409 : : {
410 : 0 : switch (TREE_CODE (_q111))
411 : : {
412 : 0 : case INTEGER_CST:
413 : 0 : {
414 : 0 : if (integer_zerop (_q21))
415 : : {
416 : 0 : {
417 : 0 : tree _p1_pops[1];
418 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
419 : : {
420 : 0 : tree _q150 = _p1_pops[0];
421 : 0 : if ((_q150 == _q70 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q70, 0) && types_match (_q150, _q70)))
422 : : {
423 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
424 : : {
425 : 0 : {
426 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q70, _q61, _q40, _q111 };
427 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
428 : : )
429 : : {
430 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
431 : : )
432 : : {
433 : 0 : {
434 : 0 : res_ops[0] = captures[0];
435 : 0 : res_ops[1] = captures[1];
436 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
437 : 0 : return true;
438 : : }
439 : : }
440 : : }
441 : : }
442 : : }
443 : : }
444 : : }
445 : : }
446 : : }
447 : : break;
448 : : }
449 : : default:;
450 : : }
451 : : }
452 : 0 : switch (TREE_CODE (_q110))
453 : : {
454 : 0 : case INTEGER_CST:
455 : 0 : {
456 : 0 : if ((_q111 == _q70 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q70, 0) && types_match (_q111, _q70)))
457 : : {
458 : 0 : if (integer_zerop (_q21))
459 : : {
460 : 0 : {
461 : 0 : tree _p1_pops[1];
462 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
463 : : {
464 : 0 : tree _q150 = _p1_pops[0];
465 : 0 : if ((_q150 == _q70 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q70, 0) && types_match (_q150, _q70)))
466 : : {
467 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
468 : : {
469 : 0 : {
470 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q70, _q61, _q40, _q110 };
471 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
472 : : )
473 : : {
474 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
475 : : )
476 : : {
477 : 0 : {
478 : 0 : res_ops[0] = captures[0];
479 : 0 : res_ops[1] = captures[1];
480 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
481 : 0 : return true;
482 : : }
483 : : }
484 : : }
485 : : }
486 : : }
487 : : }
488 : : }
489 : : }
490 : : }
491 : : }
492 : : break;
493 : : }
494 : : default:;
495 : : }
496 : 0 : break;
497 : : }
498 : : default:;
499 : : }
500 : : }
501 : : break;
502 : : default:;
503 : : }
504 : : }
505 : : break;
506 : : }
507 : 0 : default:;
508 : : }
509 : 0 : {
510 : 0 : tree _q61_pops[1];
511 : 0 : if (gimple_nop_convert (_q61, _q61_pops, valueize))
512 : : {
513 : 0 : tree _q90 = _q61_pops[0];
514 : 0 : if ((_q41 == _q70 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q70, 0) && types_match (_q41, _q70)))
515 : : {
516 : 0 : switch (TREE_CODE (_q31))
517 : : {
518 : 0 : case SSA_NAME:
519 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
520 : : {
521 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
522 : 0 : switch (gimple_assign_rhs_code (_a6))
523 : : {
524 : 0 : case BIT_NOT_EXPR:
525 : 0 : {
526 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
527 : 0 : _q120 = do_valueize (valueize, _q120);
528 : 0 : switch (TREE_CODE (_q120))
529 : : {
530 : 0 : case SSA_NAME:
531 : 0 : if (gimple *_d7 = get_def (valueize, _q120))
532 : : {
533 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
534 : 0 : switch (gimple_assign_rhs_code (_a7))
535 : : {
536 : 0 : case BIT_XOR_EXPR:
537 : 0 : {
538 : 0 : tree _q130 = gimple_assign_rhs1 (_a7);
539 : 0 : _q130 = do_valueize (valueize, _q130);
540 : 0 : tree _q131 = gimple_assign_rhs2 (_a7);
541 : 0 : _q131 = do_valueize (valueize, _q131);
542 : 0 : if (tree_swap_operands_p (_q130, _q131))
543 : 0 : std::swap (_q130, _q131);
544 : 0 : if ((_q130 == _q70 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q70, 0) && types_match (_q130, _q70)))
545 : : {
546 : 0 : if ((_q131 == _q90 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q90, 0) && types_match (_q131, _q90)))
547 : : {
548 : 0 : if (integer_zerop (_q21))
549 : : {
550 : 0 : {
551 : 0 : tree _p1_pops[1];
552 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
553 : : {
554 : 0 : tree _q170 = _p1_pops[0];
555 : 0 : if ((_q170 == _q70 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q70, 0) && types_match (_q170, _q70)))
556 : : {
557 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
558 : : {
559 : 0 : {
560 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q90, _q40 };
561 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
562 : : )
563 : : {
564 : 0 : {
565 : 0 : res_ops[0] = captures[0];
566 : 0 : res_ops[1] = captures[1];
567 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
568 : 0 : return true;
569 : : }
570 : : }
571 : : }
572 : : }
573 : : }
574 : : }
575 : : }
576 : : }
577 : : }
578 : : }
579 : 0 : if ((_q130 == _q90 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q90, 0) && types_match (_q130, _q90)))
580 : : {
581 : 0 : if ((_q131 == _q70 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q70, 0) && types_match (_q131, _q70)))
582 : : {
583 : 0 : if (integer_zerop (_q21))
584 : : {
585 : 0 : {
586 : 0 : tree _p1_pops[1];
587 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
588 : : {
589 : 0 : tree _q170 = _p1_pops[0];
590 : 0 : if ((_q170 == _q70 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q70, 0) && types_match (_q170, _q70)))
591 : : {
592 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
593 : : {
594 : 0 : {
595 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q90, _q40 };
596 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
597 : : )
598 : : {
599 : 0 : {
600 : 0 : res_ops[0] = captures[0];
601 : 0 : res_ops[1] = captures[1];
602 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
603 : 0 : return true;
604 : : }
605 : : }
606 : : }
607 : : }
608 : : }
609 : : }
610 : : }
611 : : }
612 : : }
613 : : }
614 : 0 : break;
615 : : }
616 : : default:;
617 : : }
618 : : }
619 : : break;
620 : : default:;
621 : : }
622 : : break;
623 : : }
624 : : default:;
625 : : }
626 : : }
627 : : break;
628 : : default:;
629 : : }
630 : : }
631 : : }
632 : : }
633 : : }
634 : : }
635 : 0 : break;
636 : : }
637 : : default:;
638 : : }
639 : : }
640 : : break;
641 : : default:;
642 : : }
643 : : }
644 : : }
645 : 144 : switch (TREE_CODE (_q41))
646 : : {
647 : 144 : case INTEGER_CST:
648 : 144 : {
649 : 144 : switch (TREE_CODE (_q31))
650 : : {
651 : 144 : case SSA_NAME:
652 : 144 : if (gimple *_d5 = get_def (valueize, _q31))
653 : : {
654 : 144 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
655 : 144 : switch (gimple_assign_rhs_code (_a5))
656 : : {
657 : 0 : case BIT_XOR_EXPR:
658 : 0 : {
659 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
660 : 0 : _q70 = do_valueize (valueize, _q70);
661 : 0 : tree _q71 = gimple_assign_rhs2 (_a5);
662 : 0 : _q71 = do_valueize (valueize, _q71);
663 : 0 : if (tree_swap_operands_p (_q70, _q71))
664 : 0 : std::swap (_q70, _q71);
665 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
666 : : {
667 : 0 : {
668 : 0 : tree _q71_pops[1];
669 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
670 : : {
671 : 0 : tree _q90 = _q71_pops[0];
672 : 0 : switch (TREE_CODE (_q90))
673 : : {
674 : 0 : case SSA_NAME:
675 : 0 : if (gimple *_d6 = get_def (valueize, _q90))
676 : : {
677 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
678 : 0 : switch (gimple_assign_rhs_code (_a6))
679 : : {
680 : 0 : case PLUS_EXPR:
681 : 0 : {
682 : 0 : tree _q100 = gimple_assign_rhs1 (_a6);
683 : 0 : _q100 = do_valueize (valueize, _q100);
684 : 0 : tree _q101 = gimple_assign_rhs2 (_a6);
685 : 0 : _q101 = do_valueize (valueize, _q101);
686 : 0 : if (tree_swap_operands_p (_q100, _q101))
687 : 0 : std::swap (_q100, _q101);
688 : 0 : {
689 : 0 : tree _q100_pops[1];
690 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
691 : : {
692 : 0 : tree _q110 = _q100_pops[0];
693 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
694 : : {
695 : 0 : switch (TREE_CODE (_q101))
696 : : {
697 : 0 : case INTEGER_CST:
698 : 0 : {
699 : 0 : if (integer_zerop (_q21))
700 : : {
701 : 0 : {
702 : 0 : tree _p1_pops[1];
703 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
704 : : {
705 : 0 : tree _q150 = _p1_pops[0];
706 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
707 : : {
708 : 0 : if ((_p2 == _q71 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q71, 0) && types_match (_p2, _q71)))
709 : : {
710 : 0 : {
711 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q101, _q71, _q41 };
712 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
713 : : )
714 : : {
715 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
716 : : )
717 : : {
718 : 0 : {
719 : 0 : res_ops[0] = captures[0];
720 : 0 : res_ops[1] = captures[1];
721 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
722 : 0 : return true;
723 : : }
724 : : }
725 : : }
726 : : }
727 : : }
728 : : }
729 : : }
730 : : }
731 : : }
732 : : break;
733 : : }
734 : : default:;
735 : : }
736 : : }
737 : : }
738 : : }
739 : 0 : break;
740 : : }
741 : : default:;
742 : : }
743 : : }
744 : : break;
745 : : default:;
746 : : }
747 : : }
748 : : }
749 : : }
750 : 144 : break;
751 : : }
752 : : default:;
753 : : }
754 : : }
755 : : break;
756 : : default:;
757 : : }
758 : : break;
759 : : }
760 : 144 : default:;
761 : : }
762 : 144 : {
763 : 144 : tree _q41_pops[1];
764 : 144 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
765 : : {
766 : 0 : tree _q60 = _q41_pops[0];
767 : 0 : switch (TREE_CODE (_q60))
768 : : {
769 : 0 : case SSA_NAME:
770 : 0 : if (gimple *_d5 = get_def (valueize, _q60))
771 : : {
772 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
773 : 0 : switch (gimple_assign_rhs_code (_a5))
774 : : {
775 : 0 : case PLUS_EXPR:
776 : 0 : {
777 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
778 : 0 : _q70 = do_valueize (valueize, _q70);
779 : 0 : tree _q71 = gimple_assign_rhs2 (_a5);
780 : 0 : _q71 = do_valueize (valueize, _q71);
781 : 0 : if (tree_swap_operands_p (_q70, _q71))
782 : 0 : std::swap (_q70, _q71);
783 : 0 : {
784 : 0 : tree _q70_pops[1];
785 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
786 : : {
787 : 0 : tree _q80 = _q70_pops[0];
788 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
789 : : {
790 : 0 : switch (TREE_CODE (_q71))
791 : : {
792 : 0 : case INTEGER_CST:
793 : 0 : {
794 : 0 : switch (TREE_CODE (_q31))
795 : : {
796 : 0 : case SSA_NAME:
797 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
798 : : {
799 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
800 : 0 : switch (gimple_assign_rhs_code (_a6))
801 : : {
802 : 0 : case BIT_XOR_EXPR:
803 : 0 : {
804 : 0 : tree _q110 = gimple_assign_rhs1 (_a6);
805 : 0 : _q110 = do_valueize (valueize, _q110);
806 : 0 : tree _q111 = gimple_assign_rhs2 (_a6);
807 : 0 : _q111 = do_valueize (valueize, _q111);
808 : 0 : if (tree_swap_operands_p (_q110, _q111))
809 : 0 : std::swap (_q110, _q111);
810 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
811 : : {
812 : 0 : switch (TREE_CODE (_q111))
813 : : {
814 : 0 : case INTEGER_CST:
815 : 0 : {
816 : 0 : if (integer_zerop (_q21))
817 : : {
818 : 0 : {
819 : 0 : tree _p1_pops[1];
820 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
821 : : {
822 : 0 : tree _q150 = _p1_pops[0];
823 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
824 : : {
825 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
826 : : {
827 : 0 : {
828 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q111 };
829 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
830 : : )
831 : : {
832 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
833 : : )
834 : : {
835 : 0 : {
836 : 0 : res_ops[0] = captures[0];
837 : 0 : res_ops[1] = captures[1];
838 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
839 : 0 : return true;
840 : : }
841 : : }
842 : : }
843 : : }
844 : : }
845 : : }
846 : : }
847 : : }
848 : : }
849 : : break;
850 : : }
851 : : default:;
852 : : }
853 : : }
854 : 0 : switch (TREE_CODE (_q110))
855 : : {
856 : 0 : case INTEGER_CST:
857 : 0 : {
858 : 0 : if ((_q111 == _q40 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q40, 0) && types_match (_q111, _q40)))
859 : : {
860 : 0 : if (integer_zerop (_q21))
861 : : {
862 : 0 : {
863 : 0 : tree _p1_pops[1];
864 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
865 : : {
866 : 0 : tree _q150 = _p1_pops[0];
867 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
868 : : {
869 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
870 : : {
871 : 0 : {
872 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q110 };
873 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
874 : : )
875 : : {
876 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
877 : : )
878 : : {
879 : 0 : {
880 : 0 : res_ops[0] = captures[0];
881 : 0 : res_ops[1] = captures[1];
882 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
883 : 0 : return true;
884 : : }
885 : : }
886 : : }
887 : : }
888 : : }
889 : : }
890 : : }
891 : : }
892 : : }
893 : : }
894 : : break;
895 : : }
896 : : default:;
897 : : }
898 : 0 : break;
899 : : }
900 : : default:;
901 : : }
902 : : }
903 : : break;
904 : : default:;
905 : : }
906 : : break;
907 : : }
908 : : default:;
909 : : }
910 : : }
911 : : }
912 : : }
913 : 0 : break;
914 : : }
915 : : default:;
916 : : }
917 : : }
918 : : break;
919 : : default:;
920 : : }
921 : : }
922 : : }
923 : 144 : switch (TREE_CODE (_q40))
924 : : {
925 : 0 : case INTEGER_CST:
926 : 0 : {
927 : 0 : switch (TREE_CODE (_q31))
928 : : {
929 : 0 : case SSA_NAME:
930 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
931 : : {
932 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
933 : 0 : switch (gimple_assign_rhs_code (_a5))
934 : : {
935 : 0 : case BIT_XOR_EXPR:
936 : 0 : {
937 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
938 : 0 : _q70 = do_valueize (valueize, _q70);
939 : 0 : tree _q71 = gimple_assign_rhs2 (_a5);
940 : 0 : _q71 = do_valueize (valueize, _q71);
941 : 0 : if (tree_swap_operands_p (_q70, _q71))
942 : 0 : std::swap (_q70, _q71);
943 : 0 : if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
944 : : {
945 : 0 : {
946 : 0 : tree _q71_pops[1];
947 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
948 : : {
949 : 0 : tree _q90 = _q71_pops[0];
950 : 0 : switch (TREE_CODE (_q90))
951 : : {
952 : 0 : case SSA_NAME:
953 : 0 : if (gimple *_d6 = get_def (valueize, _q90))
954 : : {
955 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
956 : 0 : switch (gimple_assign_rhs_code (_a6))
957 : : {
958 : 0 : case PLUS_EXPR:
959 : 0 : {
960 : 0 : tree _q100 = gimple_assign_rhs1 (_a6);
961 : 0 : _q100 = do_valueize (valueize, _q100);
962 : 0 : tree _q101 = gimple_assign_rhs2 (_a6);
963 : 0 : _q101 = do_valueize (valueize, _q101);
964 : 0 : if (tree_swap_operands_p (_q100, _q101))
965 : 0 : std::swap (_q100, _q101);
966 : 0 : {
967 : 0 : tree _q100_pops[1];
968 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
969 : : {
970 : 0 : tree _q110 = _q100_pops[0];
971 : 0 : if ((_q110 == _q41 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q41, 0) && types_match (_q110, _q41)))
972 : : {
973 : 0 : switch (TREE_CODE (_q101))
974 : : {
975 : 0 : case INTEGER_CST:
976 : 0 : {
977 : 0 : if (integer_zerop (_q21))
978 : : {
979 : 0 : {
980 : 0 : tree _p1_pops[1];
981 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
982 : : {
983 : 0 : tree _q150 = _p1_pops[0];
984 : 0 : if ((_q150 == _q41 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q41, 0) && types_match (_q150, _q41)))
985 : : {
986 : 0 : if ((_p2 == _q71 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q71, 0) && types_match (_p2, _q71)))
987 : : {
988 : 0 : {
989 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q101, _q71, _q40 };
990 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
991 : : )
992 : : {
993 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
994 : : )
995 : : {
996 : 0 : {
997 : 0 : res_ops[0] = captures[0];
998 : 0 : res_ops[1] = captures[1];
999 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
1000 : 0 : return true;
1001 : : }
1002 : : }
1003 : : }
1004 : : }
1005 : : }
1006 : : }
1007 : : }
1008 : : }
1009 : : }
1010 : : break;
1011 : : }
1012 : : default:;
1013 : : }
1014 : : }
1015 : : }
1016 : : }
1017 : 0 : break;
1018 : : }
1019 : : default:;
1020 : : }
1021 : : }
1022 : : break;
1023 : : default:;
1024 : : }
1025 : : }
1026 : : }
1027 : : }
1028 : 0 : {
1029 : 0 : tree _q70_pops[1];
1030 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
1031 : : {
1032 : 0 : tree _q80 = _q70_pops[0];
1033 : 0 : switch (TREE_CODE (_q80))
1034 : : {
1035 : 0 : case SSA_NAME:
1036 : 0 : if (gimple *_d6 = get_def (valueize, _q80))
1037 : : {
1038 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
1039 : 0 : switch (gimple_assign_rhs_code (_a6))
1040 : : {
1041 : 0 : case PLUS_EXPR:
1042 : 0 : {
1043 : 0 : tree _q90 = gimple_assign_rhs1 (_a6);
1044 : 0 : _q90 = do_valueize (valueize, _q90);
1045 : 0 : tree _q91 = gimple_assign_rhs2 (_a6);
1046 : 0 : _q91 = do_valueize (valueize, _q91);
1047 : 0 : if (tree_swap_operands_p (_q90, _q91))
1048 : 0 : std::swap (_q90, _q91);
1049 : 0 : {
1050 : 0 : tree _q90_pops[1];
1051 : 0 : if (gimple_nop_convert (_q90, _q90_pops, valueize))
1052 : : {
1053 : 0 : tree _q100 = _q90_pops[0];
1054 : 0 : if ((_q100 == _q41 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q41, 0) && types_match (_q100, _q41)))
1055 : : {
1056 : 0 : switch (TREE_CODE (_q91))
1057 : : {
1058 : 0 : case INTEGER_CST:
1059 : 0 : {
1060 : 0 : if ((_q71 == _q41 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q41, 0) && types_match (_q71, _q41)))
1061 : : {
1062 : 0 : if (integer_zerop (_q21))
1063 : : {
1064 : 0 : {
1065 : 0 : tree _p1_pops[1];
1066 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
1067 : : {
1068 : 0 : tree _q150 = _p1_pops[0];
1069 : 0 : if ((_q150 == _q41 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q41, 0) && types_match (_q150, _q41)))
1070 : : {
1071 : 0 : if ((_p2 == _q70 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q70, 0) && types_match (_p2, _q70)))
1072 : : {
1073 : 0 : {
1074 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q91, _q70, _q40 };
1075 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1076 : : )
1077 : : {
1078 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
1079 : : )
1080 : : {
1081 : 0 : {
1082 : 0 : res_ops[0] = captures[0];
1083 : 0 : res_ops[1] = captures[1];
1084 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
1085 : 0 : return true;
1086 : : }
1087 : : }
1088 : : }
1089 : : }
1090 : : }
1091 : : }
1092 : : }
1093 : : }
1094 : : }
1095 : : }
1096 : : break;
1097 : : }
1098 : : default:;
1099 : : }
1100 : : }
1101 : : }
1102 : : }
1103 : 0 : break;
1104 : : }
1105 : : default:;
1106 : : }
1107 : : }
1108 : : break;
1109 : : default:;
1110 : : }
1111 : : }
1112 : : }
1113 : 0 : break;
1114 : : }
1115 : : default:;
1116 : : }
1117 : : }
1118 : : break;
1119 : : default:;
1120 : : }
1121 : : break;
1122 : : }
1123 : 144 : default:;
1124 : : }
1125 : 144 : switch (TREE_CODE (_q41))
1126 : : {
1127 : 144 : case INTEGER_CST:
1128 : 144 : {
1129 : 144 : switch (TREE_CODE (_q31))
1130 : : {
1131 : 144 : case SSA_NAME:
1132 : 144 : if (gimple *_d5 = get_def (valueize, _q31))
1133 : : {
1134 : 144 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
1135 : 144 : switch (gimple_assign_rhs_code (_a5))
1136 : : {
1137 : 0 : case BIT_XOR_EXPR:
1138 : 0 : {
1139 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
1140 : 0 : _q70 = do_valueize (valueize, _q70);
1141 : 0 : tree _q71 = gimple_assign_rhs2 (_a5);
1142 : 0 : _q71 = do_valueize (valueize, _q71);
1143 : 0 : if (tree_swap_operands_p (_q70, _q71))
1144 : 0 : std::swap (_q70, _q71);
1145 : 0 : {
1146 : 0 : tree _q70_pops[1];
1147 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
1148 : : {
1149 : 0 : tree _q80 = _q70_pops[0];
1150 : 0 : switch (TREE_CODE (_q80))
1151 : : {
1152 : 0 : case SSA_NAME:
1153 : 0 : if (gimple *_d6 = get_def (valueize, _q80))
1154 : : {
1155 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
1156 : 0 : switch (gimple_assign_rhs_code (_a6))
1157 : : {
1158 : 0 : case PLUS_EXPR:
1159 : 0 : {
1160 : 0 : tree _q90 = gimple_assign_rhs1 (_a6);
1161 : 0 : _q90 = do_valueize (valueize, _q90);
1162 : 0 : tree _q91 = gimple_assign_rhs2 (_a6);
1163 : 0 : _q91 = do_valueize (valueize, _q91);
1164 : 0 : if (tree_swap_operands_p (_q90, _q91))
1165 : 0 : std::swap (_q90, _q91);
1166 : 0 : {
1167 : 0 : tree _q90_pops[1];
1168 : 0 : if (gimple_nop_convert (_q90, _q90_pops, valueize))
1169 : : {
1170 : 0 : tree _q100 = _q90_pops[0];
1171 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
1172 : : {
1173 : 0 : switch (TREE_CODE (_q91))
1174 : : {
1175 : 0 : case INTEGER_CST:
1176 : 0 : {
1177 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
1178 : : {
1179 : 0 : if (integer_zerop (_q21))
1180 : : {
1181 : 0 : {
1182 : 0 : tree _p1_pops[1];
1183 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
1184 : : {
1185 : 0 : tree _q150 = _p1_pops[0];
1186 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
1187 : : {
1188 : 0 : if ((_p2 == _q70 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q70, 0) && types_match (_p2, _q70)))
1189 : : {
1190 : 0 : {
1191 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q91, _q70, _q41 };
1192 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1193 : : )
1194 : : {
1195 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
1196 : : )
1197 : : {
1198 : 0 : {
1199 : 0 : res_ops[0] = captures[0];
1200 : 0 : res_ops[1] = captures[1];
1201 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
1202 : 0 : return true;
1203 : : }
1204 : : }
1205 : : }
1206 : : }
1207 : : }
1208 : : }
1209 : : }
1210 : : }
1211 : : }
1212 : : }
1213 : : break;
1214 : : }
1215 : : default:;
1216 : : }
1217 : : }
1218 : : }
1219 : : }
1220 : 0 : break;
1221 : : }
1222 : : default:;
1223 : : }
1224 : : }
1225 : : break;
1226 : : default:;
1227 : : }
1228 : : }
1229 : : }
1230 : 0 : break;
1231 : : }
1232 : : default:;
1233 : : }
1234 : : }
1235 : : break;
1236 : : default:;
1237 : : }
1238 : : break;
1239 : : }
1240 : : default:;
1241 : : }
1242 : 28721999 : break;
1243 : : }
1244 : 18 : case BIT_NOT_EXPR:
1245 : 18 : {
1246 : 18 : tree _q40 = gimple_assign_rhs1 (_a4);
1247 : 18 : _q40 = do_valueize (valueize, _q40);
1248 : 18 : switch (TREE_CODE (_q40))
1249 : : {
1250 : 18 : case SSA_NAME:
1251 : 18 : if (gimple *_d5 = get_def (valueize, _q40))
1252 : : {
1253 : 18 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
1254 : 18 : switch (gimple_assign_rhs_code (_a5))
1255 : : {
1256 : 18 : case BIT_XOR_EXPR:
1257 : 18 : {
1258 : 18 : tree _q50 = gimple_assign_rhs1 (_a5);
1259 : 18 : _q50 = do_valueize (valueize, _q50);
1260 : 18 : tree _q51 = gimple_assign_rhs2 (_a5);
1261 : 18 : _q51 = do_valueize (valueize, _q51);
1262 : 18 : if (tree_swap_operands_p (_q50, _q51))
1263 : 0 : std::swap (_q50, _q51);
1264 : 18 : switch (TREE_CODE (_q31))
1265 : : {
1266 : 18 : case SSA_NAME:
1267 : 18 : if (gimple *_d6 = get_def (valueize, _q31))
1268 : : {
1269 : 18 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
1270 : 18 : switch (gimple_assign_rhs_code (_a6))
1271 : : {
1272 : 0 : case BIT_XOR_EXPR:
1273 : 0 : {
1274 : 0 : tree _q80 = gimple_assign_rhs1 (_a6);
1275 : 0 : _q80 = do_valueize (valueize, _q80);
1276 : 0 : tree _q81 = gimple_assign_rhs2 (_a6);
1277 : 0 : _q81 = do_valueize (valueize, _q81);
1278 : 0 : if (tree_swap_operands_p (_q80, _q81))
1279 : 0 : std::swap (_q80, _q81);
1280 : 0 : if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
1281 : : {
1282 : 0 : {
1283 : 0 : tree _q81_pops[1];
1284 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
1285 : : {
1286 : 0 : tree _q100 = _q81_pops[0];
1287 : 0 : switch (TREE_CODE (_q100))
1288 : : {
1289 : 0 : case SSA_NAME:
1290 : 0 : if (gimple *_d7 = get_def (valueize, _q100))
1291 : : {
1292 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
1293 : 0 : switch (gimple_assign_rhs_code (_a7))
1294 : : {
1295 : 0 : case PLUS_EXPR:
1296 : 0 : {
1297 : 0 : tree _q110 = gimple_assign_rhs1 (_a7);
1298 : 0 : _q110 = do_valueize (valueize, _q110);
1299 : 0 : tree _q111 = gimple_assign_rhs2 (_a7);
1300 : 0 : _q111 = do_valueize (valueize, _q111);
1301 : 0 : if (tree_swap_operands_p (_q110, _q111))
1302 : 0 : std::swap (_q110, _q111);
1303 : 0 : {
1304 : 0 : tree _q110_pops[1];
1305 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
1306 : : {
1307 : 0 : tree _q120 = _q110_pops[0];
1308 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
1309 : : {
1310 : 0 : {
1311 : 0 : tree _q111_pops[1];
1312 : 0 : if (gimple_nop_convert (_q111, _q111_pops, valueize))
1313 : : {
1314 : 0 : tree _q140 = _q111_pops[0];
1315 : 0 : if ((_q140 == _q51 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q51, 0) && types_match (_q140, _q51)))
1316 : : {
1317 : 0 : if (integer_zerop (_q21))
1318 : : {
1319 : 0 : {
1320 : 0 : tree _p1_pops[1];
1321 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
1322 : : {
1323 : 0 : tree _q170 = _p1_pops[0];
1324 : 0 : if ((_q170 == _q50 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q50, 0) && types_match (_q170, _q50)))
1325 : : {
1326 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
1327 : : {
1328 : 0 : {
1329 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q81 };
1330 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1331 : : )
1332 : : {
1333 : 0 : {
1334 : 0 : res_ops[0] = captures[0];
1335 : 0 : res_ops[1] = captures[1];
1336 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
1337 : 0 : return true;
1338 : : }
1339 : : }
1340 : : }
1341 : : }
1342 : : }
1343 : : }
1344 : : }
1345 : : }
1346 : : }
1347 : : }
1348 : : }
1349 : : }
1350 : : }
1351 : : }
1352 : 0 : break;
1353 : : }
1354 : : default:;
1355 : : }
1356 : : }
1357 : : break;
1358 : : default:;
1359 : : }
1360 : : }
1361 : : }
1362 : : }
1363 : 0 : if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
1364 : : {
1365 : 0 : {
1366 : 0 : tree _q81_pops[1];
1367 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
1368 : : {
1369 : 0 : tree _q100 = _q81_pops[0];
1370 : 0 : switch (TREE_CODE (_q100))
1371 : : {
1372 : 0 : case SSA_NAME:
1373 : 0 : if (gimple *_d7 = get_def (valueize, _q100))
1374 : : {
1375 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
1376 : 0 : switch (gimple_assign_rhs_code (_a7))
1377 : : {
1378 : 0 : case PLUS_EXPR:
1379 : 0 : {
1380 : 0 : tree _q110 = gimple_assign_rhs1 (_a7);
1381 : 0 : _q110 = do_valueize (valueize, _q110);
1382 : 0 : tree _q111 = gimple_assign_rhs2 (_a7);
1383 : 0 : _q111 = do_valueize (valueize, _q111);
1384 : 0 : if (tree_swap_operands_p (_q110, _q111))
1385 : 0 : std::swap (_q110, _q111);
1386 : 0 : {
1387 : 0 : tree _q110_pops[1];
1388 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
1389 : : {
1390 : 0 : tree _q120 = _q110_pops[0];
1391 : 0 : if ((_q120 == _q51 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q51, 0) && types_match (_q120, _q51)))
1392 : : {
1393 : 0 : {
1394 : 0 : tree _q111_pops[1];
1395 : 0 : if (gimple_nop_convert (_q111, _q111_pops, valueize))
1396 : : {
1397 : 0 : tree _q140 = _q111_pops[0];
1398 : 0 : if ((_q140 == _q50 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q50, 0) && types_match (_q140, _q50)))
1399 : : {
1400 : 0 : if (integer_zerop (_q21))
1401 : : {
1402 : 0 : {
1403 : 0 : tree _p1_pops[1];
1404 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
1405 : : {
1406 : 0 : tree _q170 = _p1_pops[0];
1407 : 0 : if ((_q170 == _q51 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q51, 0) && types_match (_q170, _q51)))
1408 : : {
1409 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
1410 : : {
1411 : 0 : {
1412 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q81 };
1413 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1414 : : )
1415 : : {
1416 : 0 : {
1417 : 0 : res_ops[0] = captures[0];
1418 : 0 : res_ops[1] = captures[1];
1419 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
1420 : 0 : return true;
1421 : : }
1422 : : }
1423 : : }
1424 : : }
1425 : : }
1426 : : }
1427 : : }
1428 : : }
1429 : : }
1430 : : }
1431 : : }
1432 : : }
1433 : : }
1434 : : }
1435 : 0 : break;
1436 : : }
1437 : : default:;
1438 : : }
1439 : : }
1440 : : break;
1441 : : default:;
1442 : : }
1443 : : }
1444 : : }
1445 : : }
1446 : 0 : {
1447 : 0 : tree _q80_pops[1];
1448 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
1449 : : {
1450 : 0 : tree _q90 = _q80_pops[0];
1451 : 0 : switch (TREE_CODE (_q90))
1452 : : {
1453 : 0 : case SSA_NAME:
1454 : 0 : if (gimple *_d7 = get_def (valueize, _q90))
1455 : : {
1456 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
1457 : 0 : switch (gimple_assign_rhs_code (_a7))
1458 : : {
1459 : 0 : case PLUS_EXPR:
1460 : 0 : {
1461 : 0 : tree _q100 = gimple_assign_rhs1 (_a7);
1462 : 0 : _q100 = do_valueize (valueize, _q100);
1463 : 0 : tree _q101 = gimple_assign_rhs2 (_a7);
1464 : 0 : _q101 = do_valueize (valueize, _q101);
1465 : 0 : if (tree_swap_operands_p (_q100, _q101))
1466 : 0 : std::swap (_q100, _q101);
1467 : 0 : {
1468 : 0 : tree _q100_pops[1];
1469 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
1470 : : {
1471 : 0 : tree _q110 = _q100_pops[0];
1472 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
1473 : : {
1474 : 0 : {
1475 : 0 : tree _q101_pops[1];
1476 : 0 : if (gimple_nop_convert (_q101, _q101_pops, valueize))
1477 : : {
1478 : 0 : tree _q130 = _q101_pops[0];
1479 : 0 : if ((_q130 == _q51 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q51, 0) && types_match (_q130, _q51)))
1480 : : {
1481 : 0 : if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
1482 : : {
1483 : 0 : if (integer_zerop (_q21))
1484 : : {
1485 : 0 : {
1486 : 0 : tree _p1_pops[1];
1487 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
1488 : : {
1489 : 0 : tree _q170 = _p1_pops[0];
1490 : 0 : if ((_q170 == _q50 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q50, 0) && types_match (_q170, _q50)))
1491 : : {
1492 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
1493 : : {
1494 : 0 : {
1495 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q80 };
1496 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1497 : : )
1498 : : {
1499 : 0 : {
1500 : 0 : res_ops[0] = captures[0];
1501 : 0 : res_ops[1] = captures[1];
1502 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
1503 : 0 : return true;
1504 : : }
1505 : : }
1506 : : }
1507 : : }
1508 : : }
1509 : : }
1510 : : }
1511 : : }
1512 : : }
1513 : : }
1514 : : }
1515 : : }
1516 : : }
1517 : 0 : if ((_q110 == _q51 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q51, 0) && types_match (_q110, _q51)))
1518 : : {
1519 : 0 : {
1520 : 0 : tree _q101_pops[1];
1521 : 0 : if (gimple_nop_convert (_q101, _q101_pops, valueize))
1522 : : {
1523 : 0 : tree _q130 = _q101_pops[0];
1524 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
1525 : : {
1526 : 0 : if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
1527 : : {
1528 : 0 : if (integer_zerop (_q21))
1529 : : {
1530 : 0 : {
1531 : 0 : tree _p1_pops[1];
1532 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
1533 : : {
1534 : 0 : tree _q170 = _p1_pops[0];
1535 : 0 : if ((_q170 == _q51 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q51, 0) && types_match (_q170, _q51)))
1536 : : {
1537 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
1538 : : {
1539 : 0 : {
1540 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q80 };
1541 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1542 : : )
1543 : : {
1544 : 0 : {
1545 : 0 : res_ops[0] = captures[0];
1546 : 0 : res_ops[1] = captures[1];
1547 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
1548 : 0 : return true;
1549 : : }
1550 : : }
1551 : : }
1552 : : }
1553 : : }
1554 : : }
1555 : : }
1556 : : }
1557 : : }
1558 : : }
1559 : : }
1560 : : }
1561 : : }
1562 : : }
1563 : : }
1564 : 0 : break;
1565 : : }
1566 : : default:;
1567 : : }
1568 : : }
1569 : : break;
1570 : : default:;
1571 : : }
1572 : : }
1573 : : }
1574 : 0 : break;
1575 : : }
1576 : : default:;
1577 : : }
1578 : : }
1579 : : break;
1580 : : default:;
1581 : : }
1582 : 28721999 : break;
1583 : : }
1584 : : default:;
1585 : : }
1586 : : }
1587 : : break;
1588 : : default:;
1589 : : }
1590 : : break;
1591 : : }
1592 : : default:;
1593 : : }
1594 : : }
1595 : : break;
1596 : : default:;
1597 : : }
1598 : 28721999 : break;
1599 : : }
1600 : : default:;
1601 : : }
1602 : : }
1603 : : break;
1604 : : default:;
1605 : : }
1606 : : break;
1607 : : }
1608 : 4890 : case GE_EXPR:
1609 : 4890 : {
1610 : 4890 : tree _q20 = gimple_assign_rhs1 (_a2);
1611 : 4890 : _q20 = do_valueize (valueize, _q20);
1612 : 4890 : tree _q21 = gimple_assign_rhs2 (_a2);
1613 : 4890 : _q21 = do_valueize (valueize, _q21);
1614 : 4890 : switch (TREE_CODE (_q20))
1615 : : {
1616 : 4890 : case SSA_NAME:
1617 : 4890 : if (gimple *_d3 = get_def (valueize, _q20))
1618 : : {
1619 : 4890 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
1620 : 5823 : switch (gimple_assign_rhs_code (_a3))
1621 : : {
1622 : 12 : case BIT_AND_EXPR:
1623 : 12 : {
1624 : 12 : tree _q30 = gimple_assign_rhs1 (_a3);
1625 : 12 : _q30 = do_valueize (valueize, _q30);
1626 : 12 : tree _q31 = gimple_assign_rhs2 (_a3);
1627 : 12 : _q31 = do_valueize (valueize, _q31);
1628 : 12 : if (tree_swap_operands_p (_q30, _q31))
1629 : 0 : std::swap (_q30, _q31);
1630 : 12 : switch (TREE_CODE (_q30))
1631 : : {
1632 : 12 : case SSA_NAME:
1633 : 12 : if (gimple *_d4 = get_def (valueize, _q30))
1634 : : {
1635 : 12 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
1636 : 12 : switch (gimple_assign_rhs_code (_a4))
1637 : : {
1638 : 0 : case BIT_XOR_EXPR:
1639 : 0 : {
1640 : 0 : tree _q40 = gimple_assign_rhs1 (_a4);
1641 : 0 : _q40 = do_valueize (valueize, _q40);
1642 : 0 : tree _q41 = gimple_assign_rhs2 (_a4);
1643 : 0 : _q41 = do_valueize (valueize, _q41);
1644 : 0 : if (tree_swap_operands_p (_q40, _q41))
1645 : 0 : std::swap (_q40, _q41);
1646 : 0 : {
1647 : 0 : tree _q41_pops[1];
1648 : 0 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
1649 : : {
1650 : 0 : tree _q60 = _q41_pops[0];
1651 : 0 : switch (TREE_CODE (_q60))
1652 : : {
1653 : 0 : case SSA_NAME:
1654 : 0 : if (gimple *_d5 = get_def (valueize, _q60))
1655 : : {
1656 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
1657 : 0 : switch (gimple_assign_rhs_code (_a5))
1658 : : {
1659 : 0 : case PLUS_EXPR:
1660 : 0 : {
1661 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
1662 : 0 : _q70 = do_valueize (valueize, _q70);
1663 : 0 : tree _q71 = gimple_assign_rhs2 (_a5);
1664 : 0 : _q71 = do_valueize (valueize, _q71);
1665 : 0 : if (tree_swap_operands_p (_q70, _q71))
1666 : 0 : std::swap (_q70, _q71);
1667 : 0 : {
1668 : 0 : tree _q70_pops[1];
1669 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
1670 : : {
1671 : 0 : tree _q80 = _q70_pops[0];
1672 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
1673 : : {
1674 : 0 : {
1675 : 0 : tree _q71_pops[1];
1676 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
1677 : : {
1678 : 0 : tree _q100 = _q71_pops[0];
1679 : 0 : switch (TREE_CODE (_q31))
1680 : : {
1681 : 0 : case SSA_NAME:
1682 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
1683 : : {
1684 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
1685 : 0 : switch (gimple_assign_rhs_code (_a6))
1686 : : {
1687 : 0 : case BIT_NOT_EXPR:
1688 : 0 : {
1689 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
1690 : 0 : _q120 = do_valueize (valueize, _q120);
1691 : 0 : switch (TREE_CODE (_q120))
1692 : : {
1693 : 0 : case SSA_NAME:
1694 : 0 : if (gimple *_d7 = get_def (valueize, _q120))
1695 : : {
1696 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
1697 : 0 : switch (gimple_assign_rhs_code (_a7))
1698 : : {
1699 : 0 : case BIT_XOR_EXPR:
1700 : 0 : {
1701 : 0 : tree _q130 = gimple_assign_rhs1 (_a7);
1702 : 0 : _q130 = do_valueize (valueize, _q130);
1703 : 0 : tree _q131 = gimple_assign_rhs2 (_a7);
1704 : 0 : _q131 = do_valueize (valueize, _q131);
1705 : 0 : if (tree_swap_operands_p (_q130, _q131))
1706 : 0 : std::swap (_q130, _q131);
1707 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
1708 : : {
1709 : 0 : if ((_q131 == _q100 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q100, 0) && types_match (_q131, _q100)))
1710 : : {
1711 : 0 : if (integer_zerop (_q21))
1712 : : {
1713 : 0 : if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
1714 : : {
1715 : 0 : switch (TREE_CODE (_p2))
1716 : : {
1717 : 0 : case SSA_NAME:
1718 : 0 : if (gimple *_d8 = get_def (valueize, _p2))
1719 : : {
1720 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
1721 : 0 : switch (gimple_assign_rhs_code (_a8))
1722 : : {
1723 : 0 : case BIT_XOR_EXPR:
1724 : 0 : {
1725 : 0 : tree _q180 = gimple_assign_rhs1 (_a8);
1726 : 0 : _q180 = do_valueize (valueize, _q180);
1727 : 0 : tree _q181 = gimple_assign_rhs2 (_a8);
1728 : 0 : _q181 = do_valueize (valueize, _q181);
1729 : 0 : if (tree_swap_operands_p (_q180, _q181))
1730 : 0 : std::swap (_q180, _q181);
1731 : 0 : switch (TREE_CODE (_q180))
1732 : : {
1733 : 0 : case SSA_NAME:
1734 : 0 : if (gimple *_d9 = get_def (valueize, _q180))
1735 : : {
1736 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
1737 : 0 : switch (gimple_assign_rhs_code (_a9))
1738 : : {
1739 : 0 : case NEGATE_EXPR:
1740 : 0 : {
1741 : 0 : tree _q190 = gimple_assign_rhs1 (_a9);
1742 : 0 : _q190 = do_valueize (valueize, _q190);
1743 : 0 : switch (TREE_CODE (_q190))
1744 : : {
1745 : 0 : case SSA_NAME:
1746 : 0 : if (gimple *_d10 = get_def (valueize, _q190))
1747 : : {
1748 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
1749 : 0 : switch (gimple_assign_rhs_code (_a10))
1750 : : {
1751 : 0 : CASE_CONVERT:
1752 : 0 : {
1753 : 0 : tree _q200 = gimple_assign_rhs1 (_a10);
1754 : 0 : _q200 = do_valueize (valueize, _q200);
1755 : 0 : switch (TREE_CODE (_q200))
1756 : : {
1757 : 0 : case SSA_NAME:
1758 : 0 : if (gimple *_d11 = get_def (valueize, _q200))
1759 : : {
1760 : 0 : if (gassign *_a11 = dyn_cast <gassign *> (_d11))
1761 : 0 : switch (gimple_assign_rhs_code (_a11))
1762 : : {
1763 : 0 : case LT_EXPR:
1764 : 0 : {
1765 : 0 : tree _q210 = gimple_assign_rhs1 (_a11);
1766 : 0 : _q210 = do_valueize (valueize, _q210);
1767 : 0 : tree _q211 = gimple_assign_rhs2 (_a11);
1768 : 0 : _q211 = do_valueize (valueize, _q211);
1769 : 0 : if ((_q210 == _q40 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q40, 0) && types_match (_q210, _q40)))
1770 : : {
1771 : 0 : if (integer_zerop (_q211))
1772 : : {
1773 : 0 : if (gimple_max_value (_q181, valueize))
1774 : : {
1775 : 0 : {
1776 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
1777 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1778 : : )
1779 : : {
1780 : 0 : {
1781 : 0 : res_ops[0] = captures[0];
1782 : 0 : res_ops[1] = captures[1];
1783 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
1784 : 0 : return true;
1785 : : }
1786 : : }
1787 : : }
1788 : : }
1789 : : }
1790 : : }
1791 : : break;
1792 : : }
1793 : : default:;
1794 : : }
1795 : : }
1796 : : break;
1797 : : default:;
1798 : : }
1799 : : break;
1800 : : }
1801 : : default:;
1802 : : }
1803 : : }
1804 : : break;
1805 : : default:;
1806 : : }
1807 : : break;
1808 : : }
1809 : : default:;
1810 : : }
1811 : : }
1812 : : break;
1813 : 0 : default:;
1814 : : }
1815 : 0 : if (gimple_max_value (_q180, valueize))
1816 : : {
1817 : 0 : switch (TREE_CODE (_q181))
1818 : : {
1819 : 0 : case SSA_NAME:
1820 : 0 : if (gimple *_d9 = get_def (valueize, _q181))
1821 : : {
1822 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
1823 : 0 : switch (gimple_assign_rhs_code (_a9))
1824 : : {
1825 : 0 : case NEGATE_EXPR:
1826 : 0 : {
1827 : 0 : tree _q200 = gimple_assign_rhs1 (_a9);
1828 : 0 : _q200 = do_valueize (valueize, _q200);
1829 : 0 : switch (TREE_CODE (_q200))
1830 : : {
1831 : 0 : case SSA_NAME:
1832 : 0 : if (gimple *_d10 = get_def (valueize, _q200))
1833 : : {
1834 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
1835 : 0 : switch (gimple_assign_rhs_code (_a10))
1836 : : {
1837 : 0 : CASE_CONVERT:
1838 : 0 : {
1839 : 0 : tree _q210 = gimple_assign_rhs1 (_a10);
1840 : 0 : _q210 = do_valueize (valueize, _q210);
1841 : 0 : switch (TREE_CODE (_q210))
1842 : : {
1843 : 0 : case SSA_NAME:
1844 : 0 : if (gimple *_d11 = get_def (valueize, _q210))
1845 : : {
1846 : 0 : if (gassign *_a11 = dyn_cast <gassign *> (_d11))
1847 : 0 : switch (gimple_assign_rhs_code (_a11))
1848 : : {
1849 : 0 : case LT_EXPR:
1850 : 0 : {
1851 : 0 : tree _q220 = gimple_assign_rhs1 (_a11);
1852 : 0 : _q220 = do_valueize (valueize, _q220);
1853 : 0 : tree _q221 = gimple_assign_rhs2 (_a11);
1854 : 0 : _q221 = do_valueize (valueize, _q221);
1855 : 0 : if ((_q220 == _q40 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q40, 0) && types_match (_q220, _q40)))
1856 : : {
1857 : 0 : if (integer_zerop (_q221))
1858 : : {
1859 : 0 : {
1860 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
1861 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1862 : : )
1863 : : {
1864 : 0 : {
1865 : 0 : res_ops[0] = captures[0];
1866 : 0 : res_ops[1] = captures[1];
1867 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
1868 : 0 : return true;
1869 : : }
1870 : : }
1871 : : }
1872 : : }
1873 : : }
1874 : : break;
1875 : : }
1876 : : default:;
1877 : : }
1878 : : }
1879 : : break;
1880 : : default:;
1881 : : }
1882 : : break;
1883 : : }
1884 : : default:;
1885 : : }
1886 : : }
1887 : : break;
1888 : : default:;
1889 : : }
1890 : : break;
1891 : : }
1892 : : default:;
1893 : : }
1894 : : }
1895 : : break;
1896 : : default:;
1897 : : }
1898 : : }
1899 : 0 : break;
1900 : : }
1901 : : default:;
1902 : : }
1903 : : }
1904 : : break;
1905 : : default:;
1906 : : }
1907 : : }
1908 : : }
1909 : : }
1910 : : }
1911 : 0 : if ((_q130 == _q100 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q100, 0) && types_match (_q130, _q100)))
1912 : : {
1913 : 0 : if ((_q131 == _q40 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q40, 0) && types_match (_q131, _q40)))
1914 : : {
1915 : 0 : if (integer_zerop (_q21))
1916 : : {
1917 : 0 : if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
1918 : : {
1919 : 0 : switch (TREE_CODE (_p2))
1920 : : {
1921 : 0 : case SSA_NAME:
1922 : 0 : if (gimple *_d8 = get_def (valueize, _p2))
1923 : : {
1924 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
1925 : 0 : switch (gimple_assign_rhs_code (_a8))
1926 : : {
1927 : 0 : case BIT_XOR_EXPR:
1928 : 0 : {
1929 : 0 : tree _q180 = gimple_assign_rhs1 (_a8);
1930 : 0 : _q180 = do_valueize (valueize, _q180);
1931 : 0 : tree _q181 = gimple_assign_rhs2 (_a8);
1932 : 0 : _q181 = do_valueize (valueize, _q181);
1933 : 0 : if (tree_swap_operands_p (_q180, _q181))
1934 : 0 : std::swap (_q180, _q181);
1935 : 0 : switch (TREE_CODE (_q180))
1936 : : {
1937 : 0 : case SSA_NAME:
1938 : 0 : if (gimple *_d9 = get_def (valueize, _q180))
1939 : : {
1940 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
1941 : 0 : switch (gimple_assign_rhs_code (_a9))
1942 : : {
1943 : 0 : case NEGATE_EXPR:
1944 : 0 : {
1945 : 0 : tree _q190 = gimple_assign_rhs1 (_a9);
1946 : 0 : _q190 = do_valueize (valueize, _q190);
1947 : 0 : switch (TREE_CODE (_q190))
1948 : : {
1949 : 0 : case SSA_NAME:
1950 : 0 : if (gimple *_d10 = get_def (valueize, _q190))
1951 : : {
1952 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
1953 : 0 : switch (gimple_assign_rhs_code (_a10))
1954 : : {
1955 : 0 : CASE_CONVERT:
1956 : 0 : {
1957 : 0 : tree _q200 = gimple_assign_rhs1 (_a10);
1958 : 0 : _q200 = do_valueize (valueize, _q200);
1959 : 0 : switch (TREE_CODE (_q200))
1960 : : {
1961 : 0 : case SSA_NAME:
1962 : 0 : if (gimple *_d11 = get_def (valueize, _q200))
1963 : : {
1964 : 0 : if (gassign *_a11 = dyn_cast <gassign *> (_d11))
1965 : 0 : switch (gimple_assign_rhs_code (_a11))
1966 : : {
1967 : 0 : case LT_EXPR:
1968 : 0 : {
1969 : 0 : tree _q210 = gimple_assign_rhs1 (_a11);
1970 : 0 : _q210 = do_valueize (valueize, _q210);
1971 : 0 : tree _q211 = gimple_assign_rhs2 (_a11);
1972 : 0 : _q211 = do_valueize (valueize, _q211);
1973 : 0 : if ((_q210 == _q40 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q40, 0) && types_match (_q210, _q40)))
1974 : : {
1975 : 0 : if (integer_zerop (_q211))
1976 : : {
1977 : 0 : if (gimple_max_value (_q181, valueize))
1978 : : {
1979 : 0 : {
1980 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
1981 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
1982 : : )
1983 : : {
1984 : 0 : {
1985 : 0 : res_ops[0] = captures[0];
1986 : 0 : res_ops[1] = captures[1];
1987 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
1988 : 0 : return true;
1989 : : }
1990 : : }
1991 : : }
1992 : : }
1993 : : }
1994 : : }
1995 : : break;
1996 : : }
1997 : : default:;
1998 : : }
1999 : : }
2000 : : break;
2001 : : default:;
2002 : : }
2003 : : break;
2004 : : }
2005 : : default:;
2006 : : }
2007 : : }
2008 : : break;
2009 : : default:;
2010 : : }
2011 : : break;
2012 : : }
2013 : : default:;
2014 : : }
2015 : : }
2016 : : break;
2017 : 0 : default:;
2018 : : }
2019 : 0 : if (gimple_max_value (_q180, valueize))
2020 : : {
2021 : 0 : switch (TREE_CODE (_q181))
2022 : : {
2023 : 0 : case SSA_NAME:
2024 : 0 : if (gimple *_d9 = get_def (valueize, _q181))
2025 : : {
2026 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
2027 : 0 : switch (gimple_assign_rhs_code (_a9))
2028 : : {
2029 : 0 : case NEGATE_EXPR:
2030 : 0 : {
2031 : 0 : tree _q200 = gimple_assign_rhs1 (_a9);
2032 : 0 : _q200 = do_valueize (valueize, _q200);
2033 : 0 : switch (TREE_CODE (_q200))
2034 : : {
2035 : 0 : case SSA_NAME:
2036 : 0 : if (gimple *_d10 = get_def (valueize, _q200))
2037 : : {
2038 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
2039 : 0 : switch (gimple_assign_rhs_code (_a10))
2040 : : {
2041 : 0 : CASE_CONVERT:
2042 : 0 : {
2043 : 0 : tree _q210 = gimple_assign_rhs1 (_a10);
2044 : 0 : _q210 = do_valueize (valueize, _q210);
2045 : 0 : switch (TREE_CODE (_q210))
2046 : : {
2047 : 0 : case SSA_NAME:
2048 : 0 : if (gimple *_d11 = get_def (valueize, _q210))
2049 : : {
2050 : 0 : if (gassign *_a11 = dyn_cast <gassign *> (_d11))
2051 : 0 : switch (gimple_assign_rhs_code (_a11))
2052 : : {
2053 : 0 : case LT_EXPR:
2054 : 0 : {
2055 : 0 : tree _q220 = gimple_assign_rhs1 (_a11);
2056 : 0 : _q220 = do_valueize (valueize, _q220);
2057 : 0 : tree _q221 = gimple_assign_rhs2 (_a11);
2058 : 0 : _q221 = do_valueize (valueize, _q221);
2059 : 0 : if ((_q220 == _q40 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q40, 0) && types_match (_q220, _q40)))
2060 : : {
2061 : 0 : if (integer_zerop (_q221))
2062 : : {
2063 : 0 : {
2064 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
2065 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2066 : : )
2067 : : {
2068 : 0 : {
2069 : 0 : res_ops[0] = captures[0];
2070 : 0 : res_ops[1] = captures[1];
2071 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
2072 : 0 : return true;
2073 : : }
2074 : : }
2075 : : }
2076 : : }
2077 : : }
2078 : : break;
2079 : : }
2080 : : default:;
2081 : : }
2082 : : }
2083 : : break;
2084 : : default:;
2085 : : }
2086 : : break;
2087 : : }
2088 : : default:;
2089 : : }
2090 : : }
2091 : : break;
2092 : : default:;
2093 : : }
2094 : : break;
2095 : : }
2096 : : default:;
2097 : : }
2098 : : }
2099 : : break;
2100 : : default:;
2101 : : }
2102 : : }
2103 : 0 : break;
2104 : : }
2105 : : default:;
2106 : : }
2107 : : }
2108 : : break;
2109 : : default:;
2110 : : }
2111 : : }
2112 : : }
2113 : : }
2114 : : }
2115 : 0 : break;
2116 : : }
2117 : : default:;
2118 : : }
2119 : : }
2120 : : break;
2121 : : default:;
2122 : : }
2123 : : break;
2124 : : }
2125 : : default:;
2126 : : }
2127 : : }
2128 : : break;
2129 : : default:;
2130 : : }
2131 : : }
2132 : : }
2133 : : }
2134 : : }
2135 : : }
2136 : 0 : break;
2137 : : }
2138 : : default:;
2139 : : }
2140 : : }
2141 : : break;
2142 : : default:;
2143 : : }
2144 : : }
2145 : : }
2146 : 0 : break;
2147 : : }
2148 : 0 : case BIT_NOT_EXPR:
2149 : 0 : {
2150 : 0 : tree _q40 = gimple_assign_rhs1 (_a4);
2151 : 0 : _q40 = do_valueize (valueize, _q40);
2152 : 0 : switch (TREE_CODE (_q40))
2153 : : {
2154 : 0 : case SSA_NAME:
2155 : 0 : if (gimple *_d5 = get_def (valueize, _q40))
2156 : : {
2157 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
2158 : 0 : switch (gimple_assign_rhs_code (_a5))
2159 : : {
2160 : 0 : case BIT_XOR_EXPR:
2161 : 0 : {
2162 : 0 : tree _q50 = gimple_assign_rhs1 (_a5);
2163 : 0 : _q50 = do_valueize (valueize, _q50);
2164 : 0 : tree _q51 = gimple_assign_rhs2 (_a5);
2165 : 0 : _q51 = do_valueize (valueize, _q51);
2166 : 0 : if (tree_swap_operands_p (_q50, _q51))
2167 : 0 : std::swap (_q50, _q51);
2168 : 0 : switch (TREE_CODE (_q31))
2169 : : {
2170 : 0 : case SSA_NAME:
2171 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
2172 : : {
2173 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
2174 : 0 : switch (gimple_assign_rhs_code (_a6))
2175 : : {
2176 : 0 : case BIT_XOR_EXPR:
2177 : 0 : {
2178 : 0 : tree _q80 = gimple_assign_rhs1 (_a6);
2179 : 0 : _q80 = do_valueize (valueize, _q80);
2180 : 0 : tree _q81 = gimple_assign_rhs2 (_a6);
2181 : 0 : _q81 = do_valueize (valueize, _q81);
2182 : 0 : if (tree_swap_operands_p (_q80, _q81))
2183 : 0 : std::swap (_q80, _q81);
2184 : 0 : if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
2185 : : {
2186 : 0 : {
2187 : 0 : tree _q81_pops[1];
2188 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
2189 : : {
2190 : 0 : tree _q100 = _q81_pops[0];
2191 : 0 : switch (TREE_CODE (_q100))
2192 : : {
2193 : 0 : case SSA_NAME:
2194 : 0 : if (gimple *_d7 = get_def (valueize, _q100))
2195 : : {
2196 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
2197 : 0 : switch (gimple_assign_rhs_code (_a7))
2198 : : {
2199 : 0 : case PLUS_EXPR:
2200 : 0 : {
2201 : 0 : tree _q110 = gimple_assign_rhs1 (_a7);
2202 : 0 : _q110 = do_valueize (valueize, _q110);
2203 : 0 : tree _q111 = gimple_assign_rhs2 (_a7);
2204 : 0 : _q111 = do_valueize (valueize, _q111);
2205 : 0 : if (tree_swap_operands_p (_q110, _q111))
2206 : 0 : std::swap (_q110, _q111);
2207 : 0 : {
2208 : 0 : tree _q110_pops[1];
2209 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
2210 : : {
2211 : 0 : tree _q120 = _q110_pops[0];
2212 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
2213 : : {
2214 : 0 : {
2215 : 0 : tree _q111_pops[1];
2216 : 0 : if (gimple_nop_convert (_q111, _q111_pops, valueize))
2217 : : {
2218 : 0 : tree _q140 = _q111_pops[0];
2219 : 0 : if ((_q140 == _q51 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q51, 0) && types_match (_q140, _q51)))
2220 : : {
2221 : 0 : if (integer_zerop (_q21))
2222 : : {
2223 : 0 : if ((_p1 == _q81 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q81, 0) && types_match (_p1, _q81)))
2224 : : {
2225 : 0 : switch (TREE_CODE (_p2))
2226 : : {
2227 : 0 : case SSA_NAME:
2228 : 0 : if (gimple *_d8 = get_def (valueize, _p2))
2229 : : {
2230 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
2231 : 0 : switch (gimple_assign_rhs_code (_a8))
2232 : : {
2233 : 0 : case BIT_XOR_EXPR:
2234 : 0 : {
2235 : 0 : tree _q180 = gimple_assign_rhs1 (_a8);
2236 : 0 : _q180 = do_valueize (valueize, _q180);
2237 : 0 : tree _q181 = gimple_assign_rhs2 (_a8);
2238 : 0 : _q181 = do_valueize (valueize, _q181);
2239 : 0 : if (tree_swap_operands_p (_q180, _q181))
2240 : 0 : std::swap (_q180, _q181);
2241 : 0 : switch (TREE_CODE (_q180))
2242 : : {
2243 : 0 : case SSA_NAME:
2244 : 0 : if (gimple *_d9 = get_def (valueize, _q180))
2245 : : {
2246 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
2247 : 0 : switch (gimple_assign_rhs_code (_a9))
2248 : : {
2249 : 0 : case NEGATE_EXPR:
2250 : 0 : {
2251 : 0 : tree _q190 = gimple_assign_rhs1 (_a9);
2252 : 0 : _q190 = do_valueize (valueize, _q190);
2253 : 0 : switch (TREE_CODE (_q190))
2254 : : {
2255 : 0 : case SSA_NAME:
2256 : 0 : if (gimple *_d10 = get_def (valueize, _q190))
2257 : : {
2258 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
2259 : 0 : switch (gimple_assign_rhs_code (_a10))
2260 : : {
2261 : 0 : CASE_CONVERT:
2262 : 0 : {
2263 : 0 : tree _q200 = gimple_assign_rhs1 (_a10);
2264 : 0 : _q200 = do_valueize (valueize, _q200);
2265 : 0 : switch (TREE_CODE (_q200))
2266 : : {
2267 : 0 : case SSA_NAME:
2268 : 0 : if (gimple *_d11 = get_def (valueize, _q200))
2269 : : {
2270 : 0 : if (gassign *_a11 = dyn_cast <gassign *> (_d11))
2271 : 0 : switch (gimple_assign_rhs_code (_a11))
2272 : : {
2273 : 0 : case LT_EXPR:
2274 : 0 : {
2275 : 0 : tree _q210 = gimple_assign_rhs1 (_a11);
2276 : 0 : _q210 = do_valueize (valueize, _q210);
2277 : 0 : tree _q211 = gimple_assign_rhs2 (_a11);
2278 : 0 : _q211 = do_valueize (valueize, _q211);
2279 : 0 : if ((_q210 == _q50 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q50, 0) && types_match (_q210, _q50)))
2280 : : {
2281 : 0 : if (integer_zerop (_q211))
2282 : : {
2283 : 0 : if (gimple_max_value (_q181, valueize))
2284 : : {
2285 : 0 : {
2286 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q81 };
2287 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2288 : : )
2289 : : {
2290 : 0 : {
2291 : 0 : res_ops[0] = captures[0];
2292 : 0 : res_ops[1] = captures[1];
2293 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
2294 : 0 : return true;
2295 : : }
2296 : : }
2297 : : }
2298 : : }
2299 : : }
2300 : : }
2301 : : break;
2302 : : }
2303 : : default:;
2304 : : }
2305 : : }
2306 : : break;
2307 : : default:;
2308 : : }
2309 : : break;
2310 : : }
2311 : : default:;
2312 : : }
2313 : : }
2314 : : break;
2315 : : default:;
2316 : : }
2317 : : break;
2318 : : }
2319 : : default:;
2320 : : }
2321 : : }
2322 : : break;
2323 : 0 : default:;
2324 : : }
2325 : 0 : if (gimple_max_value (_q180, valueize))
2326 : : {
2327 : 0 : switch (TREE_CODE (_q181))
2328 : : {
2329 : 0 : case SSA_NAME:
2330 : 0 : if (gimple *_d9 = get_def (valueize, _q181))
2331 : : {
2332 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
2333 : 0 : switch (gimple_assign_rhs_code (_a9))
2334 : : {
2335 : 0 : case NEGATE_EXPR:
2336 : 0 : {
2337 : 0 : tree _q200 = gimple_assign_rhs1 (_a9);
2338 : 0 : _q200 = do_valueize (valueize, _q200);
2339 : 0 : switch (TREE_CODE (_q200))
2340 : : {
2341 : 0 : case SSA_NAME:
2342 : 0 : if (gimple *_d10 = get_def (valueize, _q200))
2343 : : {
2344 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
2345 : 0 : switch (gimple_assign_rhs_code (_a10))
2346 : : {
2347 : 0 : CASE_CONVERT:
2348 : 0 : {
2349 : 0 : tree _q210 = gimple_assign_rhs1 (_a10);
2350 : 0 : _q210 = do_valueize (valueize, _q210);
2351 : 0 : switch (TREE_CODE (_q210))
2352 : : {
2353 : 0 : case SSA_NAME:
2354 : 0 : if (gimple *_d11 = get_def (valueize, _q210))
2355 : : {
2356 : 0 : if (gassign *_a11 = dyn_cast <gassign *> (_d11))
2357 : 0 : switch (gimple_assign_rhs_code (_a11))
2358 : : {
2359 : 0 : case LT_EXPR:
2360 : 0 : {
2361 : 0 : tree _q220 = gimple_assign_rhs1 (_a11);
2362 : 0 : _q220 = do_valueize (valueize, _q220);
2363 : 0 : tree _q221 = gimple_assign_rhs2 (_a11);
2364 : 0 : _q221 = do_valueize (valueize, _q221);
2365 : 0 : if ((_q220 == _q50 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q50, 0) && types_match (_q220, _q50)))
2366 : : {
2367 : 0 : if (integer_zerop (_q221))
2368 : : {
2369 : 0 : {
2370 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q81 };
2371 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2372 : : )
2373 : : {
2374 : 0 : {
2375 : 0 : res_ops[0] = captures[0];
2376 : 0 : res_ops[1] = captures[1];
2377 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
2378 : 0 : return true;
2379 : : }
2380 : : }
2381 : : }
2382 : : }
2383 : : }
2384 : : break;
2385 : : }
2386 : : default:;
2387 : : }
2388 : : }
2389 : : break;
2390 : : default:;
2391 : : }
2392 : : break;
2393 : : }
2394 : : default:;
2395 : : }
2396 : : }
2397 : : break;
2398 : : default:;
2399 : : }
2400 : : break;
2401 : : }
2402 : : default:;
2403 : : }
2404 : : }
2405 : : break;
2406 : : default:;
2407 : : }
2408 : : }
2409 : 0 : break;
2410 : : }
2411 : : default:;
2412 : : }
2413 : : }
2414 : : break;
2415 : : default:;
2416 : : }
2417 : : }
2418 : : }
2419 : : }
2420 : : }
2421 : : }
2422 : : }
2423 : : }
2424 : : }
2425 : 0 : break;
2426 : : }
2427 : : default:;
2428 : : }
2429 : : }
2430 : : break;
2431 : : default:;
2432 : : }
2433 : : }
2434 : : }
2435 : : }
2436 : 0 : if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
2437 : : {
2438 : 0 : {
2439 : 0 : tree _q81_pops[1];
2440 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
2441 : : {
2442 : 0 : tree _q100 = _q81_pops[0];
2443 : 0 : switch (TREE_CODE (_q100))
2444 : : {
2445 : 0 : case SSA_NAME:
2446 : 0 : if (gimple *_d7 = get_def (valueize, _q100))
2447 : : {
2448 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
2449 : 0 : switch (gimple_assign_rhs_code (_a7))
2450 : : {
2451 : 0 : case PLUS_EXPR:
2452 : 0 : {
2453 : 0 : tree _q110 = gimple_assign_rhs1 (_a7);
2454 : 0 : _q110 = do_valueize (valueize, _q110);
2455 : 0 : tree _q111 = gimple_assign_rhs2 (_a7);
2456 : 0 : _q111 = do_valueize (valueize, _q111);
2457 : 0 : if (tree_swap_operands_p (_q110, _q111))
2458 : 0 : std::swap (_q110, _q111);
2459 : 0 : {
2460 : 0 : tree _q110_pops[1];
2461 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
2462 : : {
2463 : 0 : tree _q120 = _q110_pops[0];
2464 : 0 : if ((_q120 == _q51 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q51, 0) && types_match (_q120, _q51)))
2465 : : {
2466 : 0 : {
2467 : 0 : tree _q111_pops[1];
2468 : 0 : if (gimple_nop_convert (_q111, _q111_pops, valueize))
2469 : : {
2470 : 0 : tree _q140 = _q111_pops[0];
2471 : 0 : if ((_q140 == _q50 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q50, 0) && types_match (_q140, _q50)))
2472 : : {
2473 : 0 : if (integer_zerop (_q21))
2474 : : {
2475 : 0 : if ((_p1 == _q81 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q81, 0) && types_match (_p1, _q81)))
2476 : : {
2477 : 0 : switch (TREE_CODE (_p2))
2478 : : {
2479 : 0 : case SSA_NAME:
2480 : 0 : if (gimple *_d8 = get_def (valueize, _p2))
2481 : : {
2482 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
2483 : 0 : switch (gimple_assign_rhs_code (_a8))
2484 : : {
2485 : 0 : case BIT_XOR_EXPR:
2486 : 0 : {
2487 : 0 : tree _q180 = gimple_assign_rhs1 (_a8);
2488 : 0 : _q180 = do_valueize (valueize, _q180);
2489 : 0 : tree _q181 = gimple_assign_rhs2 (_a8);
2490 : 0 : _q181 = do_valueize (valueize, _q181);
2491 : 0 : if (tree_swap_operands_p (_q180, _q181))
2492 : 0 : std::swap (_q180, _q181);
2493 : 0 : switch (TREE_CODE (_q180))
2494 : : {
2495 : 0 : case SSA_NAME:
2496 : 0 : if (gimple *_d9 = get_def (valueize, _q180))
2497 : : {
2498 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
2499 : 0 : switch (gimple_assign_rhs_code (_a9))
2500 : : {
2501 : 0 : case NEGATE_EXPR:
2502 : 0 : {
2503 : 0 : tree _q190 = gimple_assign_rhs1 (_a9);
2504 : 0 : _q190 = do_valueize (valueize, _q190);
2505 : 0 : switch (TREE_CODE (_q190))
2506 : : {
2507 : 0 : case SSA_NAME:
2508 : 0 : if (gimple *_d10 = get_def (valueize, _q190))
2509 : : {
2510 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
2511 : 0 : switch (gimple_assign_rhs_code (_a10))
2512 : : {
2513 : 0 : CASE_CONVERT:
2514 : 0 : {
2515 : 0 : tree _q200 = gimple_assign_rhs1 (_a10);
2516 : 0 : _q200 = do_valueize (valueize, _q200);
2517 : 0 : switch (TREE_CODE (_q200))
2518 : : {
2519 : 0 : case SSA_NAME:
2520 : 0 : if (gimple *_d11 = get_def (valueize, _q200))
2521 : : {
2522 : 0 : if (gassign *_a11 = dyn_cast <gassign *> (_d11))
2523 : 0 : switch (gimple_assign_rhs_code (_a11))
2524 : : {
2525 : 0 : case LT_EXPR:
2526 : 0 : {
2527 : 0 : tree _q210 = gimple_assign_rhs1 (_a11);
2528 : 0 : _q210 = do_valueize (valueize, _q210);
2529 : 0 : tree _q211 = gimple_assign_rhs2 (_a11);
2530 : 0 : _q211 = do_valueize (valueize, _q211);
2531 : 0 : if ((_q210 == _q51 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q51, 0) && types_match (_q210, _q51)))
2532 : : {
2533 : 0 : if (integer_zerop (_q211))
2534 : : {
2535 : 0 : if (gimple_max_value (_q181, valueize))
2536 : : {
2537 : 0 : {
2538 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q81 };
2539 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2540 : : )
2541 : : {
2542 : 0 : {
2543 : 0 : res_ops[0] = captures[0];
2544 : 0 : res_ops[1] = captures[1];
2545 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
2546 : 0 : return true;
2547 : : }
2548 : : }
2549 : : }
2550 : : }
2551 : : }
2552 : : }
2553 : : break;
2554 : : }
2555 : : default:;
2556 : : }
2557 : : }
2558 : : break;
2559 : : default:;
2560 : : }
2561 : : break;
2562 : : }
2563 : : default:;
2564 : : }
2565 : : }
2566 : : break;
2567 : : default:;
2568 : : }
2569 : : break;
2570 : : }
2571 : : default:;
2572 : : }
2573 : : }
2574 : : break;
2575 : 0 : default:;
2576 : : }
2577 : 0 : if (gimple_max_value (_q180, valueize))
2578 : : {
2579 : 0 : switch (TREE_CODE (_q181))
2580 : : {
2581 : 0 : case SSA_NAME:
2582 : 0 : if (gimple *_d9 = get_def (valueize, _q181))
2583 : : {
2584 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
2585 : 0 : switch (gimple_assign_rhs_code (_a9))
2586 : : {
2587 : 0 : case NEGATE_EXPR:
2588 : 0 : {
2589 : 0 : tree _q200 = gimple_assign_rhs1 (_a9);
2590 : 0 : _q200 = do_valueize (valueize, _q200);
2591 : 0 : switch (TREE_CODE (_q200))
2592 : : {
2593 : 0 : case SSA_NAME:
2594 : 0 : if (gimple *_d10 = get_def (valueize, _q200))
2595 : : {
2596 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
2597 : 0 : switch (gimple_assign_rhs_code (_a10))
2598 : : {
2599 : 0 : CASE_CONVERT:
2600 : 0 : {
2601 : 0 : tree _q210 = gimple_assign_rhs1 (_a10);
2602 : 0 : _q210 = do_valueize (valueize, _q210);
2603 : 0 : switch (TREE_CODE (_q210))
2604 : : {
2605 : 0 : case SSA_NAME:
2606 : 0 : if (gimple *_d11 = get_def (valueize, _q210))
2607 : : {
2608 : 0 : if (gassign *_a11 = dyn_cast <gassign *> (_d11))
2609 : 0 : switch (gimple_assign_rhs_code (_a11))
2610 : : {
2611 : 0 : case LT_EXPR:
2612 : 0 : {
2613 : 0 : tree _q220 = gimple_assign_rhs1 (_a11);
2614 : 0 : _q220 = do_valueize (valueize, _q220);
2615 : 0 : tree _q221 = gimple_assign_rhs2 (_a11);
2616 : 0 : _q221 = do_valueize (valueize, _q221);
2617 : 0 : if ((_q220 == _q51 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q51, 0) && types_match (_q220, _q51)))
2618 : : {
2619 : 0 : if (integer_zerop (_q221))
2620 : : {
2621 : 0 : {
2622 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q81 };
2623 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2624 : : )
2625 : : {
2626 : 0 : {
2627 : 0 : res_ops[0] = captures[0];
2628 : 0 : res_ops[1] = captures[1];
2629 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
2630 : 0 : return true;
2631 : : }
2632 : : }
2633 : : }
2634 : : }
2635 : : }
2636 : : break;
2637 : : }
2638 : : default:;
2639 : : }
2640 : : }
2641 : : break;
2642 : : default:;
2643 : : }
2644 : : break;
2645 : : }
2646 : : default:;
2647 : : }
2648 : : }
2649 : : break;
2650 : : default:;
2651 : : }
2652 : : break;
2653 : : }
2654 : : default:;
2655 : : }
2656 : : }
2657 : : break;
2658 : : default:;
2659 : : }
2660 : : }
2661 : 0 : break;
2662 : : }
2663 : : default:;
2664 : : }
2665 : : }
2666 : : break;
2667 : : default:;
2668 : : }
2669 : : }
2670 : : }
2671 : : }
2672 : : }
2673 : : }
2674 : : }
2675 : : }
2676 : : }
2677 : 0 : break;
2678 : : }
2679 : : default:;
2680 : : }
2681 : : }
2682 : : break;
2683 : : default:;
2684 : : }
2685 : : }
2686 : : }
2687 : : }
2688 : 28721999 : break;
2689 : : }
2690 : : default:;
2691 : : }
2692 : : }
2693 : : break;
2694 : : default:;
2695 : : }
2696 : 28721999 : break;
2697 : : }
2698 : : default:;
2699 : : }
2700 : : }
2701 : : break;
2702 : : default:;
2703 : : }
2704 : : break;
2705 : : }
2706 : : default:;
2707 : : }
2708 : : }
2709 : : break;
2710 : : default:;
2711 : : }
2712 : 28721999 : break;
2713 : : }
2714 : 0 : case BIT_IOR_EXPR:
2715 : 0 : {
2716 : 0 : tree _q30 = gimple_assign_rhs1 (_a3);
2717 : 0 : _q30 = do_valueize (valueize, _q30);
2718 : 0 : tree _q31 = gimple_assign_rhs2 (_a3);
2719 : 0 : _q31 = do_valueize (valueize, _q31);
2720 : 0 : if (tree_swap_operands_p (_q30, _q31))
2721 : 0 : std::swap (_q30, _q31);
2722 : 0 : switch (TREE_CODE (_q30))
2723 : : {
2724 : 0 : case SSA_NAME:
2725 : 0 : if (gimple *_d4 = get_def (valueize, _q30))
2726 : : {
2727 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
2728 : 0 : switch (gimple_assign_rhs_code (_a4))
2729 : : {
2730 : 0 : case BIT_XOR_EXPR:
2731 : 0 : {
2732 : 0 : tree _q40 = gimple_assign_rhs1 (_a4);
2733 : 0 : _q40 = do_valueize (valueize, _q40);
2734 : 0 : tree _q41 = gimple_assign_rhs2 (_a4);
2735 : 0 : _q41 = do_valueize (valueize, _q41);
2736 : 0 : if (tree_swap_operands_p (_q40, _q41))
2737 : 0 : std::swap (_q40, _q41);
2738 : 0 : switch (TREE_CODE (_q41))
2739 : : {
2740 : 0 : case INTEGER_CST:
2741 : 0 : {
2742 : 0 : switch (TREE_CODE (_q31))
2743 : : {
2744 : 0 : case SSA_NAME:
2745 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
2746 : : {
2747 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
2748 : 0 : switch (gimple_assign_rhs_code (_a5))
2749 : : {
2750 : 0 : case BIT_NOT_EXPR:
2751 : 0 : {
2752 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
2753 : 0 : _q70 = do_valueize (valueize, _q70);
2754 : 0 : switch (TREE_CODE (_q70))
2755 : : {
2756 : 0 : case SSA_NAME:
2757 : 0 : if (gimple *_d6 = get_def (valueize, _q70))
2758 : : {
2759 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
2760 : 0 : switch (gimple_assign_rhs_code (_a6))
2761 : : {
2762 : 0 : case BIT_XOR_EXPR:
2763 : 0 : {
2764 : 0 : tree _q80 = gimple_assign_rhs1 (_a6);
2765 : 0 : _q80 = do_valueize (valueize, _q80);
2766 : 0 : tree _q81 = gimple_assign_rhs2 (_a6);
2767 : 0 : _q81 = do_valueize (valueize, _q81);
2768 : 0 : if (tree_swap_operands_p (_q80, _q81))
2769 : 0 : std::swap (_q80, _q81);
2770 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
2771 : : {
2772 : 0 : {
2773 : 0 : tree _q81_pops[1];
2774 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
2775 : : {
2776 : 0 : tree _q100 = _q81_pops[0];
2777 : 0 : switch (TREE_CODE (_q100))
2778 : : {
2779 : 0 : case SSA_NAME:
2780 : 0 : if (gimple *_d7 = get_def (valueize, _q100))
2781 : : {
2782 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
2783 : 0 : switch (gimple_assign_rhs_code (_a7))
2784 : : {
2785 : 0 : case PLUS_EXPR:
2786 : 0 : {
2787 : 0 : tree _q110 = gimple_assign_rhs1 (_a7);
2788 : 0 : _q110 = do_valueize (valueize, _q110);
2789 : 0 : tree _q111 = gimple_assign_rhs2 (_a7);
2790 : 0 : _q111 = do_valueize (valueize, _q111);
2791 : 0 : if (tree_swap_operands_p (_q110, _q111))
2792 : 0 : std::swap (_q110, _q111);
2793 : 0 : {
2794 : 0 : tree _q110_pops[1];
2795 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
2796 : : {
2797 : 0 : tree _q120 = _q110_pops[0];
2798 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
2799 : : {
2800 : 0 : switch (TREE_CODE (_q111))
2801 : : {
2802 : 0 : case INTEGER_CST:
2803 : 0 : {
2804 : 0 : if (integer_zerop (_q21))
2805 : : {
2806 : 0 : {
2807 : 0 : tree _p1_pops[1];
2808 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
2809 : : {
2810 : 0 : tree _q160 = _p1_pops[0];
2811 : 0 : if ((_q160 == _q40 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q40, 0) && types_match (_q160, _q40)))
2812 : : {
2813 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
2814 : : {
2815 : 0 : {
2816 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q81, _q111 };
2817 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2818 : : )
2819 : : {
2820 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
2821 : : )
2822 : : {
2823 : 0 : {
2824 : 0 : res_ops[0] = captures[0];
2825 : 0 : res_ops[1] = captures[1];
2826 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
2827 : 0 : return true;
2828 : : }
2829 : : }
2830 : : }
2831 : : }
2832 : : }
2833 : : }
2834 : : }
2835 : : }
2836 : : }
2837 : : break;
2838 : : }
2839 : : default:;
2840 : : }
2841 : : }
2842 : : }
2843 : : }
2844 : 0 : break;
2845 : : }
2846 : : default:;
2847 : : }
2848 : : }
2849 : : break;
2850 : : default:;
2851 : : }
2852 : : }
2853 : : }
2854 : : }
2855 : 0 : {
2856 : 0 : tree _q80_pops[1];
2857 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
2858 : : {
2859 : 0 : tree _q90 = _q80_pops[0];
2860 : 0 : switch (TREE_CODE (_q90))
2861 : : {
2862 : 0 : case SSA_NAME:
2863 : 0 : if (gimple *_d7 = get_def (valueize, _q90))
2864 : : {
2865 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
2866 : 0 : switch (gimple_assign_rhs_code (_a7))
2867 : : {
2868 : 0 : case PLUS_EXPR:
2869 : 0 : {
2870 : 0 : tree _q100 = gimple_assign_rhs1 (_a7);
2871 : 0 : _q100 = do_valueize (valueize, _q100);
2872 : 0 : tree _q101 = gimple_assign_rhs2 (_a7);
2873 : 0 : _q101 = do_valueize (valueize, _q101);
2874 : 0 : if (tree_swap_operands_p (_q100, _q101))
2875 : 0 : std::swap (_q100, _q101);
2876 : 0 : {
2877 : 0 : tree _q100_pops[1];
2878 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
2879 : : {
2880 : 0 : tree _q110 = _q100_pops[0];
2881 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
2882 : : {
2883 : 0 : switch (TREE_CODE (_q101))
2884 : : {
2885 : 0 : case INTEGER_CST:
2886 : 0 : {
2887 : 0 : if ((_q81 == _q40 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q40, 0) && types_match (_q81, _q40)))
2888 : : {
2889 : 0 : if (integer_zerop (_q21))
2890 : : {
2891 : 0 : {
2892 : 0 : tree _p1_pops[1];
2893 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
2894 : : {
2895 : 0 : tree _q160 = _p1_pops[0];
2896 : 0 : if ((_q160 == _q40 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q40, 0) && types_match (_q160, _q40)))
2897 : : {
2898 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
2899 : : {
2900 : 0 : {
2901 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q80, _q101 };
2902 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
2903 : : )
2904 : : {
2905 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
2906 : : )
2907 : : {
2908 : 0 : {
2909 : 0 : res_ops[0] = captures[0];
2910 : 0 : res_ops[1] = captures[1];
2911 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
2912 : 0 : return true;
2913 : : }
2914 : : }
2915 : : }
2916 : : }
2917 : : }
2918 : : }
2919 : : }
2920 : : }
2921 : : }
2922 : : }
2923 : : break;
2924 : : }
2925 : : default:;
2926 : : }
2927 : : }
2928 : : }
2929 : : }
2930 : 0 : break;
2931 : : }
2932 : : default:;
2933 : : }
2934 : : }
2935 : : break;
2936 : : default:;
2937 : : }
2938 : : }
2939 : : }
2940 : 0 : break;
2941 : : }
2942 : : default:;
2943 : : }
2944 : : }
2945 : : break;
2946 : : default:;
2947 : : }
2948 : : break;
2949 : : }
2950 : : default:;
2951 : : }
2952 : : }
2953 : : break;
2954 : : default:;
2955 : : }
2956 : : break;
2957 : : }
2958 : 0 : default:;
2959 : : }
2960 : 0 : switch (TREE_CODE (_q40))
2961 : : {
2962 : 0 : case INTEGER_CST:
2963 : 0 : {
2964 : 0 : switch (TREE_CODE (_q31))
2965 : : {
2966 : 0 : case SSA_NAME:
2967 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
2968 : : {
2969 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
2970 : 0 : switch (gimple_assign_rhs_code (_a5))
2971 : : {
2972 : 0 : case BIT_NOT_EXPR:
2973 : 0 : {
2974 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
2975 : 0 : _q70 = do_valueize (valueize, _q70);
2976 : 0 : switch (TREE_CODE (_q70))
2977 : : {
2978 : 0 : case SSA_NAME:
2979 : 0 : if (gimple *_d6 = get_def (valueize, _q70))
2980 : : {
2981 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
2982 : 0 : switch (gimple_assign_rhs_code (_a6))
2983 : : {
2984 : 0 : case BIT_XOR_EXPR:
2985 : 0 : {
2986 : 0 : tree _q80 = gimple_assign_rhs1 (_a6);
2987 : 0 : _q80 = do_valueize (valueize, _q80);
2988 : 0 : tree _q81 = gimple_assign_rhs2 (_a6);
2989 : 0 : _q81 = do_valueize (valueize, _q81);
2990 : 0 : if (tree_swap_operands_p (_q80, _q81))
2991 : 0 : std::swap (_q80, _q81);
2992 : 0 : if ((_q80 == _q41 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q41, 0) && types_match (_q80, _q41)))
2993 : : {
2994 : 0 : {
2995 : 0 : tree _q81_pops[1];
2996 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
2997 : : {
2998 : 0 : tree _q100 = _q81_pops[0];
2999 : 0 : switch (TREE_CODE (_q100))
3000 : : {
3001 : 0 : case SSA_NAME:
3002 : 0 : if (gimple *_d7 = get_def (valueize, _q100))
3003 : : {
3004 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
3005 : 0 : switch (gimple_assign_rhs_code (_a7))
3006 : : {
3007 : 0 : case PLUS_EXPR:
3008 : 0 : {
3009 : 0 : tree _q110 = gimple_assign_rhs1 (_a7);
3010 : 0 : _q110 = do_valueize (valueize, _q110);
3011 : 0 : tree _q111 = gimple_assign_rhs2 (_a7);
3012 : 0 : _q111 = do_valueize (valueize, _q111);
3013 : 0 : if (tree_swap_operands_p (_q110, _q111))
3014 : 0 : std::swap (_q110, _q111);
3015 : 0 : {
3016 : 0 : tree _q110_pops[1];
3017 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
3018 : : {
3019 : 0 : tree _q120 = _q110_pops[0];
3020 : 0 : if ((_q120 == _q41 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q41, 0) && types_match (_q120, _q41)))
3021 : : {
3022 : 0 : switch (TREE_CODE (_q111))
3023 : : {
3024 : 0 : case INTEGER_CST:
3025 : 0 : {
3026 : 0 : if (integer_zerop (_q21))
3027 : : {
3028 : 0 : {
3029 : 0 : tree _p1_pops[1];
3030 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
3031 : : {
3032 : 0 : tree _q160 = _p1_pops[0];
3033 : 0 : if ((_q160 == _q41 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q41, 0) && types_match (_q160, _q41)))
3034 : : {
3035 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
3036 : : {
3037 : 0 : {
3038 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q40, _q81, _q111 };
3039 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3040 : : )
3041 : : {
3042 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
3043 : : )
3044 : : {
3045 : 0 : {
3046 : 0 : res_ops[0] = captures[0];
3047 : 0 : res_ops[1] = captures[1];
3048 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
3049 : 0 : return true;
3050 : : }
3051 : : }
3052 : : }
3053 : : }
3054 : : }
3055 : : }
3056 : : }
3057 : : }
3058 : : }
3059 : : break;
3060 : : }
3061 : : default:;
3062 : : }
3063 : : }
3064 : : }
3065 : : }
3066 : 0 : break;
3067 : : }
3068 : : default:;
3069 : : }
3070 : : }
3071 : : break;
3072 : : default:;
3073 : : }
3074 : : }
3075 : : }
3076 : : }
3077 : 0 : {
3078 : 0 : tree _q80_pops[1];
3079 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
3080 : : {
3081 : 0 : tree _q90 = _q80_pops[0];
3082 : 0 : switch (TREE_CODE (_q90))
3083 : : {
3084 : 0 : case SSA_NAME:
3085 : 0 : if (gimple *_d7 = get_def (valueize, _q90))
3086 : : {
3087 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
3088 : 0 : switch (gimple_assign_rhs_code (_a7))
3089 : : {
3090 : 0 : case PLUS_EXPR:
3091 : 0 : {
3092 : 0 : tree _q100 = gimple_assign_rhs1 (_a7);
3093 : 0 : _q100 = do_valueize (valueize, _q100);
3094 : 0 : tree _q101 = gimple_assign_rhs2 (_a7);
3095 : 0 : _q101 = do_valueize (valueize, _q101);
3096 : 0 : if (tree_swap_operands_p (_q100, _q101))
3097 : 0 : std::swap (_q100, _q101);
3098 : 0 : {
3099 : 0 : tree _q100_pops[1];
3100 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
3101 : : {
3102 : 0 : tree _q110 = _q100_pops[0];
3103 : 0 : if ((_q110 == _q41 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q41, 0) && types_match (_q110, _q41)))
3104 : : {
3105 : 0 : switch (TREE_CODE (_q101))
3106 : : {
3107 : 0 : case INTEGER_CST:
3108 : 0 : {
3109 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
3110 : : {
3111 : 0 : if (integer_zerop (_q21))
3112 : : {
3113 : 0 : {
3114 : 0 : tree _p1_pops[1];
3115 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
3116 : : {
3117 : 0 : tree _q160 = _p1_pops[0];
3118 : 0 : if ((_q160 == _q41 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q41, 0) && types_match (_q160, _q41)))
3119 : : {
3120 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
3121 : : {
3122 : 0 : {
3123 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q40, _q80, _q101 };
3124 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3125 : : )
3126 : : {
3127 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
3128 : : )
3129 : : {
3130 : 0 : {
3131 : 0 : res_ops[0] = captures[0];
3132 : 0 : res_ops[1] = captures[1];
3133 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
3134 : 0 : return true;
3135 : : }
3136 : : }
3137 : : }
3138 : : }
3139 : : }
3140 : : }
3141 : : }
3142 : : }
3143 : : }
3144 : : }
3145 : : break;
3146 : : }
3147 : : default:;
3148 : : }
3149 : : }
3150 : : }
3151 : : }
3152 : 0 : break;
3153 : : }
3154 : : default:;
3155 : : }
3156 : : }
3157 : : break;
3158 : : default:;
3159 : : }
3160 : : }
3161 : : }
3162 : 0 : break;
3163 : : }
3164 : : default:;
3165 : : }
3166 : : }
3167 : : break;
3168 : : default:;
3169 : : }
3170 : : break;
3171 : : }
3172 : : default:;
3173 : : }
3174 : : }
3175 : : break;
3176 : : default:;
3177 : : }
3178 : : break;
3179 : : }
3180 : : default:;
3181 : : }
3182 : 28721999 : break;
3183 : : }
3184 : 0 : case BIT_NOT_EXPR:
3185 : 0 : {
3186 : 0 : tree _q40 = gimple_assign_rhs1 (_a4);
3187 : 0 : _q40 = do_valueize (valueize, _q40);
3188 : 0 : switch (TREE_CODE (_q40))
3189 : : {
3190 : 0 : case SSA_NAME:
3191 : 0 : if (gimple *_d5 = get_def (valueize, _q40))
3192 : : {
3193 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
3194 : 0 : switch (gimple_assign_rhs_code (_a5))
3195 : : {
3196 : 0 : case BIT_XOR_EXPR:
3197 : 0 : {
3198 : 0 : tree _q50 = gimple_assign_rhs1 (_a5);
3199 : 0 : _q50 = do_valueize (valueize, _q50);
3200 : 0 : tree _q51 = gimple_assign_rhs2 (_a5);
3201 : 0 : _q51 = do_valueize (valueize, _q51);
3202 : 0 : if (tree_swap_operands_p (_q50, _q51))
3203 : 0 : std::swap (_q50, _q51);
3204 : 0 : {
3205 : 0 : tree _q51_pops[1];
3206 : 0 : if (gimple_nop_convert (_q51, _q51_pops, valueize))
3207 : : {
3208 : 0 : tree _q70 = _q51_pops[0];
3209 : 0 : switch (TREE_CODE (_q70))
3210 : : {
3211 : 0 : case SSA_NAME:
3212 : 0 : if (gimple *_d6 = get_def (valueize, _q70))
3213 : : {
3214 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
3215 : 0 : switch (gimple_assign_rhs_code (_a6))
3216 : : {
3217 : 0 : case PLUS_EXPR:
3218 : 0 : {
3219 : 0 : tree _q80 = gimple_assign_rhs1 (_a6);
3220 : 0 : _q80 = do_valueize (valueize, _q80);
3221 : 0 : tree _q81 = gimple_assign_rhs2 (_a6);
3222 : 0 : _q81 = do_valueize (valueize, _q81);
3223 : 0 : if (tree_swap_operands_p (_q80, _q81))
3224 : 0 : std::swap (_q80, _q81);
3225 : 0 : {
3226 : 0 : tree _q80_pops[1];
3227 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
3228 : : {
3229 : 0 : tree _q90 = _q80_pops[0];
3230 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
3231 : : {
3232 : 0 : switch (TREE_CODE (_q81))
3233 : : {
3234 : 0 : case INTEGER_CST:
3235 : 0 : {
3236 : 0 : switch (TREE_CODE (_q31))
3237 : : {
3238 : 0 : case SSA_NAME:
3239 : 0 : if (gimple *_d7 = get_def (valueize, _q31))
3240 : : {
3241 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
3242 : 0 : switch (gimple_assign_rhs_code (_a7))
3243 : : {
3244 : 0 : case BIT_XOR_EXPR:
3245 : 0 : {
3246 : 0 : tree _q120 = gimple_assign_rhs1 (_a7);
3247 : 0 : _q120 = do_valueize (valueize, _q120);
3248 : 0 : tree _q121 = gimple_assign_rhs2 (_a7);
3249 : 0 : _q121 = do_valueize (valueize, _q121);
3250 : 0 : if (tree_swap_operands_p (_q120, _q121))
3251 : 0 : std::swap (_q120, _q121);
3252 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
3253 : : {
3254 : 0 : switch (TREE_CODE (_q121))
3255 : : {
3256 : 0 : case INTEGER_CST:
3257 : 0 : {
3258 : 0 : if (integer_zerop (_q21))
3259 : : {
3260 : 0 : {
3261 : 0 : tree _p1_pops[1];
3262 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
3263 : : {
3264 : 0 : tree _q160 = _p1_pops[0];
3265 : 0 : if ((_q160 == _q50 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q50, 0) && types_match (_q160, _q50)))
3266 : : {
3267 : 0 : if ((_p2 == _q51 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q51, 0) && types_match (_p2, _q51)))
3268 : : {
3269 : 0 : {
3270 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q121, _q51, _q81 };
3271 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3272 : : )
3273 : : {
3274 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
3275 : : )
3276 : : {
3277 : 0 : {
3278 : 0 : res_ops[0] = captures[0];
3279 : 0 : res_ops[1] = captures[1];
3280 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
3281 : 0 : return true;
3282 : : }
3283 : : }
3284 : : }
3285 : : }
3286 : : }
3287 : : }
3288 : : }
3289 : : }
3290 : : }
3291 : : break;
3292 : : }
3293 : : default:;
3294 : : }
3295 : : }
3296 : 0 : break;
3297 : : }
3298 : : default:;
3299 : : }
3300 : : }
3301 : : break;
3302 : : default:;
3303 : : }
3304 : : break;
3305 : : }
3306 : : default:;
3307 : : }
3308 : : }
3309 : : }
3310 : : }
3311 : 0 : break;
3312 : : }
3313 : : default:;
3314 : : }
3315 : : }
3316 : : break;
3317 : : default:;
3318 : : }
3319 : : }
3320 : : }
3321 : 0 : {
3322 : 0 : tree _q50_pops[1];
3323 : 0 : if (gimple_nop_convert (_q50, _q50_pops, valueize))
3324 : : {
3325 : 0 : tree _q60 = _q50_pops[0];
3326 : 0 : switch (TREE_CODE (_q60))
3327 : : {
3328 : 0 : case SSA_NAME:
3329 : 0 : if (gimple *_d6 = get_def (valueize, _q60))
3330 : : {
3331 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
3332 : 0 : switch (gimple_assign_rhs_code (_a6))
3333 : : {
3334 : 0 : case PLUS_EXPR:
3335 : 0 : {
3336 : 0 : tree _q70 = gimple_assign_rhs1 (_a6);
3337 : 0 : _q70 = do_valueize (valueize, _q70);
3338 : 0 : tree _q71 = gimple_assign_rhs2 (_a6);
3339 : 0 : _q71 = do_valueize (valueize, _q71);
3340 : 0 : if (tree_swap_operands_p (_q70, _q71))
3341 : 0 : std::swap (_q70, _q71);
3342 : 0 : {
3343 : 0 : tree _q70_pops[1];
3344 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
3345 : : {
3346 : 0 : tree _q80 = _q70_pops[0];
3347 : 0 : switch (TREE_CODE (_q71))
3348 : : {
3349 : 0 : case INTEGER_CST:
3350 : 0 : {
3351 : 0 : if ((_q51 == _q80 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q80, 0) && types_match (_q51, _q80)))
3352 : : {
3353 : 0 : switch (TREE_CODE (_q31))
3354 : : {
3355 : 0 : case SSA_NAME:
3356 : 0 : if (gimple *_d7 = get_def (valueize, _q31))
3357 : : {
3358 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
3359 : 0 : switch (gimple_assign_rhs_code (_a7))
3360 : : {
3361 : 0 : case BIT_XOR_EXPR:
3362 : 0 : {
3363 : 0 : tree _q120 = gimple_assign_rhs1 (_a7);
3364 : 0 : _q120 = do_valueize (valueize, _q120);
3365 : 0 : tree _q121 = gimple_assign_rhs2 (_a7);
3366 : 0 : _q121 = do_valueize (valueize, _q121);
3367 : 0 : if (tree_swap_operands_p (_q120, _q121))
3368 : 0 : std::swap (_q120, _q121);
3369 : 0 : if ((_q120 == _q80 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q80, 0) && types_match (_q120, _q80)))
3370 : : {
3371 : 0 : switch (TREE_CODE (_q121))
3372 : : {
3373 : 0 : case INTEGER_CST:
3374 : 0 : {
3375 : 0 : if (integer_zerop (_q21))
3376 : : {
3377 : 0 : {
3378 : 0 : tree _p1_pops[1];
3379 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
3380 : : {
3381 : 0 : tree _q160 = _p1_pops[0];
3382 : 0 : if ((_q160 == _q80 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q80, 0) && types_match (_q160, _q80)))
3383 : : {
3384 : 0 : if ((_p2 == _q50 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q50, 0) && types_match (_p2, _q50)))
3385 : : {
3386 : 0 : {
3387 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q80, _q121, _q50, _q71 };
3388 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3389 : : )
3390 : : {
3391 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
3392 : : )
3393 : : {
3394 : 0 : {
3395 : 0 : res_ops[0] = captures[0];
3396 : 0 : res_ops[1] = captures[1];
3397 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
3398 : 0 : return true;
3399 : : }
3400 : : }
3401 : : }
3402 : : }
3403 : : }
3404 : : }
3405 : : }
3406 : : }
3407 : : }
3408 : : break;
3409 : : }
3410 : : default:;
3411 : : }
3412 : : }
3413 : 0 : switch (TREE_CODE (_q120))
3414 : : {
3415 : 0 : case INTEGER_CST:
3416 : 0 : {
3417 : 0 : if ((_q121 == _q80 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q80, 0) && types_match (_q121, _q80)))
3418 : : {
3419 : 0 : if (integer_zerop (_q21))
3420 : : {
3421 : 0 : {
3422 : 0 : tree _p1_pops[1];
3423 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
3424 : : {
3425 : 0 : tree _q160 = _p1_pops[0];
3426 : 0 : if ((_q160 == _q80 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q80, 0) && types_match (_q160, _q80)))
3427 : : {
3428 : 0 : if ((_p2 == _q50 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q50, 0) && types_match (_p2, _q50)))
3429 : : {
3430 : 0 : {
3431 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q80, _q120, _q50, _q71 };
3432 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3433 : : )
3434 : : {
3435 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
3436 : : )
3437 : : {
3438 : 0 : {
3439 : 0 : res_ops[0] = captures[0];
3440 : 0 : res_ops[1] = captures[1];
3441 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
3442 : 0 : return true;
3443 : : }
3444 : : }
3445 : : }
3446 : : }
3447 : : }
3448 : : }
3449 : : }
3450 : : }
3451 : : }
3452 : : }
3453 : : break;
3454 : : }
3455 : : default:;
3456 : : }
3457 : 0 : break;
3458 : : }
3459 : : default:;
3460 : : }
3461 : : }
3462 : : break;
3463 : : default:;
3464 : : }
3465 : : }
3466 : : break;
3467 : : }
3468 : : default:;
3469 : : }
3470 : : }
3471 : : }
3472 : 0 : break;
3473 : : }
3474 : : default:;
3475 : : }
3476 : : }
3477 : : break;
3478 : : default:;
3479 : : }
3480 : : }
3481 : : }
3482 : 0 : {
3483 : 0 : tree _q51_pops[1];
3484 : 0 : if (gimple_nop_convert (_q51, _q51_pops, valueize))
3485 : : {
3486 : 0 : tree _q70 = _q51_pops[0];
3487 : 0 : switch (TREE_CODE (_q70))
3488 : : {
3489 : 0 : case SSA_NAME:
3490 : 0 : if (gimple *_d6 = get_def (valueize, _q70))
3491 : : {
3492 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
3493 : 0 : switch (gimple_assign_rhs_code (_a6))
3494 : : {
3495 : 0 : case PLUS_EXPR:
3496 : 0 : {
3497 : 0 : tree _q80 = gimple_assign_rhs1 (_a6);
3498 : 0 : _q80 = do_valueize (valueize, _q80);
3499 : 0 : tree _q81 = gimple_assign_rhs2 (_a6);
3500 : 0 : _q81 = do_valueize (valueize, _q81);
3501 : 0 : if (tree_swap_operands_p (_q80, _q81))
3502 : 0 : std::swap (_q80, _q81);
3503 : 0 : {
3504 : 0 : tree _q80_pops[1];
3505 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
3506 : : {
3507 : 0 : tree _q90 = _q80_pops[0];
3508 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
3509 : : {
3510 : 0 : switch (TREE_CODE (_q81))
3511 : : {
3512 : 0 : case INTEGER_CST:
3513 : 0 : {
3514 : 0 : switch (TREE_CODE (_q31))
3515 : : {
3516 : 0 : case SSA_NAME:
3517 : 0 : if (gimple *_d7 = get_def (valueize, _q31))
3518 : : {
3519 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
3520 : 0 : switch (gimple_assign_rhs_code (_a7))
3521 : : {
3522 : 0 : case BIT_XOR_EXPR:
3523 : 0 : {
3524 : 0 : tree _q120 = gimple_assign_rhs1 (_a7);
3525 : 0 : _q120 = do_valueize (valueize, _q120);
3526 : 0 : tree _q121 = gimple_assign_rhs2 (_a7);
3527 : 0 : _q121 = do_valueize (valueize, _q121);
3528 : 0 : if (tree_swap_operands_p (_q120, _q121))
3529 : 0 : std::swap (_q120, _q121);
3530 : 0 : switch (TREE_CODE (_q120))
3531 : : {
3532 : 0 : case INTEGER_CST:
3533 : 0 : {
3534 : 0 : if ((_q121 == _q50 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q50, 0) && types_match (_q121, _q50)))
3535 : : {
3536 : 0 : if (integer_zerop (_q21))
3537 : : {
3538 : 0 : {
3539 : 0 : tree _p1_pops[1];
3540 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
3541 : : {
3542 : 0 : tree _q160 = _p1_pops[0];
3543 : 0 : if ((_q160 == _q50 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q50, 0) && types_match (_q160, _q50)))
3544 : : {
3545 : 0 : if ((_p2 == _q51 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q51, 0) && types_match (_p2, _q51)))
3546 : : {
3547 : 0 : {
3548 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q120, _q51, _q81 };
3549 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3550 : : )
3551 : : {
3552 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
3553 : : )
3554 : : {
3555 : 0 : {
3556 : 0 : res_ops[0] = captures[0];
3557 : 0 : res_ops[1] = captures[1];
3558 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
3559 : 0 : return true;
3560 : : }
3561 : : }
3562 : : }
3563 : : }
3564 : : }
3565 : : }
3566 : : }
3567 : : }
3568 : : }
3569 : : }
3570 : : break;
3571 : : }
3572 : : default:;
3573 : : }
3574 : 0 : break;
3575 : : }
3576 : : default:;
3577 : : }
3578 : : }
3579 : : break;
3580 : : default:;
3581 : : }
3582 : : break;
3583 : : }
3584 : : default:;
3585 : : }
3586 : : }
3587 : : }
3588 : : }
3589 : 0 : break;
3590 : : }
3591 : : default:;
3592 : : }
3593 : : }
3594 : : break;
3595 : : default:;
3596 : : }
3597 : : }
3598 : : }
3599 : 0 : break;
3600 : : }
3601 : : default:;
3602 : : }
3603 : : }
3604 : : break;
3605 : : default:;
3606 : : }
3607 : : break;
3608 : : }
3609 : : default:;
3610 : : }
3611 : : }
3612 : : break;
3613 : : default:;
3614 : : }
3615 : 28721999 : break;
3616 : : }
3617 : : default:;
3618 : : }
3619 : : }
3620 : : break;
3621 : : default:;
3622 : : }
3623 : : break;
3624 : : }
3625 : 13507 : case BIT_AND_EXPR:
3626 : 13507 : {
3627 : 13507 : tree _q20 = gimple_assign_rhs1 (_a2);
3628 : 13507 : _q20 = do_valueize (valueize, _q20);
3629 : 13507 : tree _q21 = gimple_assign_rhs2 (_a2);
3630 : 13507 : _q21 = do_valueize (valueize, _q21);
3631 : 13507 : if (tree_swap_operands_p (_q20, _q21))
3632 : 15 : std::swap (_q20, _q21);
3633 : 13507 : switch (TREE_CODE (_q20))
3634 : : {
3635 : 13507 : case SSA_NAME:
3636 : 13507 : if (gimple *_d3 = get_def (valueize, _q20))
3637 : : {
3638 : 13507 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
3639 : 13444 : switch (gimple_assign_rhs_code (_a3))
3640 : : {
3641 : 46 : case LT_EXPR:
3642 : 46 : {
3643 : 46 : tree _q30 = gimple_assign_rhs1 (_a3);
3644 : 46 : _q30 = do_valueize (valueize, _q30);
3645 : 46 : tree _q31 = gimple_assign_rhs2 (_a3);
3646 : 46 : _q31 = do_valueize (valueize, _q31);
3647 : 46 : switch (TREE_CODE (_q30))
3648 : : {
3649 : 46 : case SSA_NAME:
3650 : 46 : if (gimple *_d4 = get_def (valueize, _q30))
3651 : : {
3652 : 46 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
3653 : 50 : switch (gimple_assign_rhs_code (_a4))
3654 : : {
3655 : 4 : case BIT_XOR_EXPR:
3656 : 4 : {
3657 : 4 : tree _q40 = gimple_assign_rhs1 (_a4);
3658 : 4 : _q40 = do_valueize (valueize, _q40);
3659 : 4 : tree _q41 = gimple_assign_rhs2 (_a4);
3660 : 4 : _q41 = do_valueize (valueize, _q41);
3661 : 4 : if (tree_swap_operands_p (_q40, _q41))
3662 : 0 : std::swap (_q40, _q41);
3663 : 4 : {
3664 : 4 : tree _q41_pops[1];
3665 : 4 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
3666 : : {
3667 : 0 : tree _q60 = _q41_pops[0];
3668 : 0 : switch (TREE_CODE (_q60))
3669 : : {
3670 : 0 : case SSA_NAME:
3671 : 0 : if (gimple *_d5 = get_def (valueize, _q60))
3672 : : {
3673 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
3674 : 0 : switch (gimple_assign_rhs_code (_a5))
3675 : : {
3676 : 0 : case PLUS_EXPR:
3677 : 0 : {
3678 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
3679 : 0 : _q70 = do_valueize (valueize, _q70);
3680 : 0 : tree _q71 = gimple_assign_rhs2 (_a5);
3681 : 0 : _q71 = do_valueize (valueize, _q71);
3682 : 0 : if (tree_swap_operands_p (_q70, _q71))
3683 : 0 : std::swap (_q70, _q71);
3684 : 0 : {
3685 : 0 : tree _q70_pops[1];
3686 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
3687 : : {
3688 : 0 : tree _q80 = _q70_pops[0];
3689 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
3690 : : {
3691 : 0 : switch (TREE_CODE (_q71))
3692 : : {
3693 : 0 : case INTEGER_CST:
3694 : 0 : {
3695 : 0 : if (integer_zerop (_q31))
3696 : : {
3697 : 0 : switch (TREE_CODE (_q21))
3698 : : {
3699 : 0 : case SSA_NAME:
3700 : 0 : if (gimple *_d6 = get_def (valueize, _q21))
3701 : : {
3702 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
3703 : 0 : switch (gimple_assign_rhs_code (_a6))
3704 : : {
3705 : 0 : case GE_EXPR:
3706 : 0 : {
3707 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
3708 : 0 : _q120 = do_valueize (valueize, _q120);
3709 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
3710 : 0 : _q121 = do_valueize (valueize, _q121);
3711 : 0 : switch (TREE_CODE (_q120))
3712 : : {
3713 : 0 : case SSA_NAME:
3714 : 0 : if (gimple *_d7 = get_def (valueize, _q120))
3715 : : {
3716 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
3717 : 0 : switch (gimple_assign_rhs_code (_a7))
3718 : : {
3719 : 0 : case BIT_XOR_EXPR:
3720 : 0 : {
3721 : 0 : tree _q130 = gimple_assign_rhs1 (_a7);
3722 : 0 : _q130 = do_valueize (valueize, _q130);
3723 : 0 : tree _q131 = gimple_assign_rhs2 (_a7);
3724 : 0 : _q131 = do_valueize (valueize, _q131);
3725 : 0 : if (tree_swap_operands_p (_q130, _q131))
3726 : 0 : std::swap (_q130, _q131);
3727 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
3728 : : {
3729 : 0 : switch (TREE_CODE (_q131))
3730 : : {
3731 : 0 : case INTEGER_CST:
3732 : 0 : {
3733 : 0 : if (integer_zerop (_q121))
3734 : : {
3735 : 0 : {
3736 : 0 : tree _p1_pops[1];
3737 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
3738 : : {
3739 : 0 : tree _q170 = _p1_pops[0];
3740 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
3741 : : {
3742 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
3743 : : {
3744 : 0 : {
3745 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q131 };
3746 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3747 : : )
3748 : : {
3749 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
3750 : : )
3751 : : {
3752 : 0 : {
3753 : 0 : res_ops[0] = captures[0];
3754 : 0 : res_ops[1] = captures[1];
3755 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
3756 : 0 : return true;
3757 : : }
3758 : : }
3759 : : }
3760 : : }
3761 : : }
3762 : : }
3763 : : }
3764 : : }
3765 : : }
3766 : : break;
3767 : : }
3768 : : default:;
3769 : : }
3770 : : }
3771 : 0 : switch (TREE_CODE (_q130))
3772 : : {
3773 : 0 : case INTEGER_CST:
3774 : 0 : {
3775 : 0 : if ((_q131 == _q40 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q40, 0) && types_match (_q131, _q40)))
3776 : : {
3777 : 0 : if (integer_zerop (_q121))
3778 : : {
3779 : 0 : {
3780 : 0 : tree _p1_pops[1];
3781 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
3782 : : {
3783 : 0 : tree _q170 = _p1_pops[0];
3784 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
3785 : : {
3786 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
3787 : : {
3788 : 0 : {
3789 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q130 };
3790 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3791 : : )
3792 : : {
3793 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
3794 : : )
3795 : : {
3796 : 0 : {
3797 : 0 : res_ops[0] = captures[0];
3798 : 0 : res_ops[1] = captures[1];
3799 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
3800 : 0 : return true;
3801 : : }
3802 : : }
3803 : : }
3804 : : }
3805 : : }
3806 : : }
3807 : : }
3808 : : }
3809 : : }
3810 : : }
3811 : : break;
3812 : : }
3813 : : default:;
3814 : : }
3815 : 0 : break;
3816 : : }
3817 : : default:;
3818 : : }
3819 : : }
3820 : : break;
3821 : : default:;
3822 : : }
3823 : : break;
3824 : : }
3825 : : default:;
3826 : : }
3827 : : }
3828 : : break;
3829 : : default:;
3830 : : }
3831 : : }
3832 : : break;
3833 : : }
3834 : 0 : default:;
3835 : : }
3836 : 0 : {
3837 : 0 : tree _q71_pops[1];
3838 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
3839 : : {
3840 : 0 : tree _q100 = _q71_pops[0];
3841 : 0 : if (integer_zerop (_q31))
3842 : : {
3843 : 0 : switch (TREE_CODE (_q21))
3844 : : {
3845 : 0 : case SSA_NAME:
3846 : 0 : if (gimple *_d6 = get_def (valueize, _q21))
3847 : : {
3848 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
3849 : 0 : switch (gimple_assign_rhs_code (_a6))
3850 : : {
3851 : 0 : case GE_EXPR:
3852 : 0 : {
3853 : 0 : tree _q130 = gimple_assign_rhs1 (_a6);
3854 : 0 : _q130 = do_valueize (valueize, _q130);
3855 : 0 : tree _q131 = gimple_assign_rhs2 (_a6);
3856 : 0 : _q131 = do_valueize (valueize, _q131);
3857 : 0 : switch (TREE_CODE (_q130))
3858 : : {
3859 : 0 : case SSA_NAME:
3860 : 0 : if (gimple *_d7 = get_def (valueize, _q130))
3861 : : {
3862 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
3863 : 0 : switch (gimple_assign_rhs_code (_a7))
3864 : : {
3865 : 0 : case BIT_XOR_EXPR:
3866 : 0 : {
3867 : 0 : tree _q140 = gimple_assign_rhs1 (_a7);
3868 : 0 : _q140 = do_valueize (valueize, _q140);
3869 : 0 : tree _q141 = gimple_assign_rhs2 (_a7);
3870 : 0 : _q141 = do_valueize (valueize, _q141);
3871 : 0 : if (tree_swap_operands_p (_q140, _q141))
3872 : 0 : std::swap (_q140, _q141);
3873 : 0 : if ((_q140 == _q40 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q40, 0) && types_match (_q140, _q40)))
3874 : : {
3875 : 0 : if ((_q141 == _q100 && ! TREE_SIDE_EFFECTS (_q141)) || (operand_equal_p (_q141, _q100, 0) && types_match (_q141, _q100)))
3876 : : {
3877 : 0 : if (integer_zerop (_q131))
3878 : : {
3879 : 0 : {
3880 : 0 : tree _p1_pops[1];
3881 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
3882 : : {
3883 : 0 : tree _q180 = _p1_pops[0];
3884 : 0 : if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
3885 : : {
3886 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
3887 : : {
3888 : 0 : {
3889 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
3890 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3891 : : )
3892 : : {
3893 : 0 : {
3894 : 0 : res_ops[0] = captures[0];
3895 : 0 : res_ops[1] = captures[1];
3896 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
3897 : 0 : return true;
3898 : : }
3899 : : }
3900 : : }
3901 : : }
3902 : : }
3903 : : }
3904 : : }
3905 : : }
3906 : : }
3907 : : }
3908 : 0 : if ((_q140 == _q100 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q100, 0) && types_match (_q140, _q100)))
3909 : : {
3910 : 0 : if ((_q141 == _q40 && ! TREE_SIDE_EFFECTS (_q141)) || (operand_equal_p (_q141, _q40, 0) && types_match (_q141, _q40)))
3911 : : {
3912 : 0 : if (integer_zerop (_q131))
3913 : : {
3914 : 0 : {
3915 : 0 : tree _p1_pops[1];
3916 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
3917 : : {
3918 : 0 : tree _q180 = _p1_pops[0];
3919 : 0 : if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
3920 : : {
3921 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
3922 : : {
3923 : 0 : {
3924 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
3925 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
3926 : : )
3927 : : {
3928 : 0 : {
3929 : 0 : res_ops[0] = captures[0];
3930 : 0 : res_ops[1] = captures[1];
3931 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
3932 : 0 : return true;
3933 : : }
3934 : : }
3935 : : }
3936 : : }
3937 : : }
3938 : : }
3939 : : }
3940 : : }
3941 : : }
3942 : : }
3943 : 0 : break;
3944 : : }
3945 : : default:;
3946 : : }
3947 : : }
3948 : : break;
3949 : : default:;
3950 : : }
3951 : : break;
3952 : : }
3953 : 0 : case BIT_NOT_EXPR:
3954 : 0 : {
3955 : 0 : tree _q130 = gimple_assign_rhs1 (_a6);
3956 : 0 : _q130 = do_valueize (valueize, _q130);
3957 : 0 : switch (TREE_CODE (_q130))
3958 : : {
3959 : 0 : case SSA_NAME:
3960 : 0 : if (gimple *_d7 = get_def (valueize, _q130))
3961 : : {
3962 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
3963 : 0 : switch (gimple_assign_rhs_code (_a7))
3964 : : {
3965 : 0 : case LT_EXPR:
3966 : 0 : {
3967 : 0 : tree _q140 = gimple_assign_rhs1 (_a7);
3968 : 0 : _q140 = do_valueize (valueize, _q140);
3969 : 0 : tree _q141 = gimple_assign_rhs2 (_a7);
3970 : 0 : _q141 = do_valueize (valueize, _q141);
3971 : 0 : switch (TREE_CODE (_q140))
3972 : : {
3973 : 0 : case SSA_NAME:
3974 : 0 : if (gimple *_d8 = get_def (valueize, _q140))
3975 : : {
3976 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
3977 : 0 : switch (gimple_assign_rhs_code (_a8))
3978 : : {
3979 : 0 : case BIT_XOR_EXPR:
3980 : 0 : {
3981 : 0 : tree _q150 = gimple_assign_rhs1 (_a8);
3982 : 0 : _q150 = do_valueize (valueize, _q150);
3983 : 0 : tree _q151 = gimple_assign_rhs2 (_a8);
3984 : 0 : _q151 = do_valueize (valueize, _q151);
3985 : 0 : if (tree_swap_operands_p (_q150, _q151))
3986 : 0 : std::swap (_q150, _q151);
3987 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
3988 : : {
3989 : 0 : if ((_q151 == _q100 && ! TREE_SIDE_EFFECTS (_q151)) || (operand_equal_p (_q151, _q100, 0) && types_match (_q151, _q100)))
3990 : : {
3991 : 0 : if (integer_zerop (_q141))
3992 : : {
3993 : 0 : {
3994 : 0 : tree _p1_pops[1];
3995 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
3996 : : {
3997 : 0 : tree _q190 = _p1_pops[0];
3998 : 0 : if ((_q190 == _q40 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q40, 0) && types_match (_q190, _q40)))
3999 : : {
4000 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
4001 : : {
4002 : 0 : {
4003 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
4004 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
4005 : : )
4006 : : {
4007 : 0 : {
4008 : 0 : res_ops[0] = captures[0];
4009 : 0 : res_ops[1] = captures[1];
4010 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
4011 : 0 : return true;
4012 : : }
4013 : : }
4014 : : }
4015 : : }
4016 : : }
4017 : : }
4018 : : }
4019 : : }
4020 : : }
4021 : : }
4022 : 0 : if ((_q150 == _q100 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q100, 0) && types_match (_q150, _q100)))
4023 : : {
4024 : 0 : if ((_q151 == _q40 && ! TREE_SIDE_EFFECTS (_q151)) || (operand_equal_p (_q151, _q40, 0) && types_match (_q151, _q40)))
4025 : : {
4026 : 0 : if (integer_zerop (_q141))
4027 : : {
4028 : 0 : {
4029 : 0 : tree _p1_pops[1];
4030 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
4031 : : {
4032 : 0 : tree _q190 = _p1_pops[0];
4033 : 0 : if ((_q190 == _q40 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q40, 0) && types_match (_q190, _q40)))
4034 : : {
4035 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
4036 : : {
4037 : 0 : {
4038 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
4039 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
4040 : : )
4041 : : {
4042 : 0 : {
4043 : 0 : res_ops[0] = captures[0];
4044 : 0 : res_ops[1] = captures[1];
4045 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
4046 : 0 : return true;
4047 : : }
4048 : : }
4049 : : }
4050 : : }
4051 : : }
4052 : : }
4053 : : }
4054 : : }
4055 : : }
4056 : : }
4057 : 0 : break;
4058 : : }
4059 : : default:;
4060 : : }
4061 : : }
4062 : : break;
4063 : : default:;
4064 : : }
4065 : : break;
4066 : : }
4067 : : default:;
4068 : : }
4069 : : }
4070 : : break;
4071 : : default:;
4072 : : }
4073 : : break;
4074 : : }
4075 : : default:;
4076 : : }
4077 : : }
4078 : : break;
4079 : : default:;
4080 : : }
4081 : : }
4082 : : }
4083 : : }
4084 : : }
4085 : : }
4086 : : }
4087 : 0 : break;
4088 : : }
4089 : : default:;
4090 : : }
4091 : : }
4092 : : break;
4093 : : default:;
4094 : : }
4095 : : }
4096 : : }
4097 : 4 : break;
4098 : : }
4099 : : default:;
4100 : : }
4101 : : }
4102 : : break;
4103 : : default:;
4104 : : }
4105 : : break;
4106 : : }
4107 : 945 : case GE_EXPR:
4108 : 945 : {
4109 : 945 : tree _q30 = gimple_assign_rhs1 (_a3);
4110 : 945 : _q30 = do_valueize (valueize, _q30);
4111 : 945 : tree _q31 = gimple_assign_rhs2 (_a3);
4112 : 945 : _q31 = do_valueize (valueize, _q31);
4113 : 945 : switch (TREE_CODE (_q30))
4114 : : {
4115 : 945 : case SSA_NAME:
4116 : 945 : if (gimple *_d4 = get_def (valueize, _q30))
4117 : : {
4118 : 945 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
4119 : 1403 : switch (gimple_assign_rhs_code (_a4))
4120 : : {
4121 : 4 : case BIT_XOR_EXPR:
4122 : 4 : {
4123 : 4 : tree _q40 = gimple_assign_rhs1 (_a4);
4124 : 4 : _q40 = do_valueize (valueize, _q40);
4125 : 4 : tree _q41 = gimple_assign_rhs2 (_a4);
4126 : 4 : _q41 = do_valueize (valueize, _q41);
4127 : 4 : if (tree_swap_operands_p (_q40, _q41))
4128 : 0 : std::swap (_q40, _q41);
4129 : 4 : if (integer_zerop (_q31))
4130 : : {
4131 : 4 : switch (TREE_CODE (_q21))
4132 : : {
4133 : 4 : case SSA_NAME:
4134 : 4 : if (gimple *_d5 = get_def (valueize, _q21))
4135 : : {
4136 : 4 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
4137 : 4 : switch (gimple_assign_rhs_code (_a5))
4138 : : {
4139 : 4 : case LT_EXPR:
4140 : 4 : {
4141 : 4 : tree _q80 = gimple_assign_rhs1 (_a5);
4142 : 4 : _q80 = do_valueize (valueize, _q80);
4143 : 4 : tree _q81 = gimple_assign_rhs2 (_a5);
4144 : 4 : _q81 = do_valueize (valueize, _q81);
4145 : 4 : switch (TREE_CODE (_q80))
4146 : : {
4147 : 4 : case SSA_NAME:
4148 : 4 : if (gimple *_d6 = get_def (valueize, _q80))
4149 : : {
4150 : 4 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
4151 : 4 : switch (gimple_assign_rhs_code (_a6))
4152 : : {
4153 : 4 : case BIT_XOR_EXPR:
4154 : 4 : {
4155 : 4 : tree _q90 = gimple_assign_rhs1 (_a6);
4156 : 4 : _q90 = do_valueize (valueize, _q90);
4157 : 4 : tree _q91 = gimple_assign_rhs2 (_a6);
4158 : 4 : _q91 = do_valueize (valueize, _q91);
4159 : 4 : if (tree_swap_operands_p (_q90, _q91))
4160 : 0 : std::swap (_q90, _q91);
4161 : 4 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
4162 : : {
4163 : 4 : {
4164 : 4 : tree _q91_pops[1];
4165 : 4 : if (gimple_nop_convert (_q91, _q91_pops, valueize))
4166 : : {
4167 : 4 : tree _q110 = _q91_pops[0];
4168 : 4 : switch (TREE_CODE (_q110))
4169 : : {
4170 : 4 : case SSA_NAME:
4171 : 4 : if (gimple *_d7 = get_def (valueize, _q110))
4172 : : {
4173 : 4 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
4174 : 4 : switch (gimple_assign_rhs_code (_a7))
4175 : : {
4176 : 4 : case PLUS_EXPR:
4177 : 4 : {
4178 : 4 : tree _q120 = gimple_assign_rhs1 (_a7);
4179 : 4 : _q120 = do_valueize (valueize, _q120);
4180 : 4 : tree _q121 = gimple_assign_rhs2 (_a7);
4181 : 4 : _q121 = do_valueize (valueize, _q121);
4182 : 4 : if (tree_swap_operands_p (_q120, _q121))
4183 : 0 : std::swap (_q120, _q121);
4184 : 4 : {
4185 : 4 : tree _q120_pops[1];
4186 : 4 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
4187 : : {
4188 : 4 : tree _q130 = _q120_pops[0];
4189 : 4 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
4190 : : {
4191 : 4 : {
4192 : 4 : tree _q121_pops[1];
4193 : 4 : if (gimple_nop_convert (_q121, _q121_pops, valueize))
4194 : : {
4195 : 4 : tree _q150 = _q121_pops[0];
4196 : 4 : if ((_q150 == _q41 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q41, 0) && types_match (_q150, _q41)))
4197 : : {
4198 : 4 : if (integer_zerop (_q81))
4199 : : {
4200 : 4 : {
4201 : 4 : tree _p1_pops[1];
4202 : 4 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
4203 : : {
4204 : 4 : tree _q180 = _p1_pops[0];
4205 : 4 : if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
4206 : : {
4207 : 4 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
4208 : : {
4209 : 4 : {
4210 : 4 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q91 };
4211 : 4 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
4212 : : )
4213 : : {
4214 : 4 : {
4215 : 4 : res_ops[0] = captures[0];
4216 : 4 : res_ops[1] = captures[1];
4217 : 4 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
4218 : 4 : return true;
4219 : : }
4220 : : }
4221 : : }
4222 : : }
4223 : : }
4224 : : }
4225 : : }
4226 : : }
4227 : : }
4228 : : }
4229 : : }
4230 : : }
4231 : : }
4232 : : }
4233 : 0 : break;
4234 : : }
4235 : : default:;
4236 : : }
4237 : : }
4238 : : break;
4239 : : default:;
4240 : : }
4241 : : }
4242 : : }
4243 : : }
4244 : 0 : if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
4245 : : {
4246 : 0 : {
4247 : 0 : tree _q91_pops[1];
4248 : 0 : if (gimple_nop_convert (_q91, _q91_pops, valueize))
4249 : : {
4250 : 0 : tree _q110 = _q91_pops[0];
4251 : 0 : switch (TREE_CODE (_q110))
4252 : : {
4253 : 0 : case SSA_NAME:
4254 : 0 : if (gimple *_d7 = get_def (valueize, _q110))
4255 : : {
4256 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
4257 : 0 : switch (gimple_assign_rhs_code (_a7))
4258 : : {
4259 : 0 : case PLUS_EXPR:
4260 : 0 : {
4261 : 0 : tree _q120 = gimple_assign_rhs1 (_a7);
4262 : 0 : _q120 = do_valueize (valueize, _q120);
4263 : 0 : tree _q121 = gimple_assign_rhs2 (_a7);
4264 : 0 : _q121 = do_valueize (valueize, _q121);
4265 : 0 : if (tree_swap_operands_p (_q120, _q121))
4266 : 0 : std::swap (_q120, _q121);
4267 : 0 : {
4268 : 0 : tree _q120_pops[1];
4269 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
4270 : : {
4271 : 0 : tree _q130 = _q120_pops[0];
4272 : 0 : if ((_q130 == _q41 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q41, 0) && types_match (_q130, _q41)))
4273 : : {
4274 : 0 : {
4275 : 0 : tree _q121_pops[1];
4276 : 0 : if (gimple_nop_convert (_q121, _q121_pops, valueize))
4277 : : {
4278 : 0 : tree _q150 = _q121_pops[0];
4279 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
4280 : : {
4281 : 0 : if (integer_zerop (_q81))
4282 : : {
4283 : 0 : {
4284 : 0 : tree _p1_pops[1];
4285 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
4286 : : {
4287 : 0 : tree _q180 = _p1_pops[0];
4288 : 0 : if ((_q180 == _q41 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q41, 0) && types_match (_q180, _q41)))
4289 : : {
4290 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
4291 : : {
4292 : 0 : {
4293 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q91 };
4294 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
4295 : : )
4296 : : {
4297 : 0 : {
4298 : 0 : res_ops[0] = captures[0];
4299 : 0 : res_ops[1] = captures[1];
4300 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
4301 : 0 : return true;
4302 : : }
4303 : : }
4304 : : }
4305 : : }
4306 : : }
4307 : : }
4308 : : }
4309 : : }
4310 : : }
4311 : : }
4312 : : }
4313 : : }
4314 : : }
4315 : : }
4316 : 0 : break;
4317 : : }
4318 : : default:;
4319 : : }
4320 : : }
4321 : : break;
4322 : : default:;
4323 : : }
4324 : : }
4325 : : }
4326 : : }
4327 : 0 : break;
4328 : : }
4329 : : default:;
4330 : : }
4331 : : }
4332 : : break;
4333 : : default:;
4334 : : }
4335 : : break;
4336 : : }
4337 : : default:;
4338 : : }
4339 : : }
4340 : : break;
4341 : : default:;
4342 : : }
4343 : : }
4344 : 0 : switch (TREE_CODE (_q41))
4345 : : {
4346 : 0 : case INTEGER_CST:
4347 : 0 : {
4348 : 0 : if (integer_zerop (_q31))
4349 : : {
4350 : 0 : switch (TREE_CODE (_q21))
4351 : : {
4352 : 0 : case SSA_NAME:
4353 : 0 : if (gimple *_d5 = get_def (valueize, _q21))
4354 : : {
4355 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
4356 : 0 : switch (gimple_assign_rhs_code (_a5))
4357 : : {
4358 : 0 : case LT_EXPR:
4359 : 0 : {
4360 : 0 : tree _q80 = gimple_assign_rhs1 (_a5);
4361 : 0 : _q80 = do_valueize (valueize, _q80);
4362 : 0 : tree _q81 = gimple_assign_rhs2 (_a5);
4363 : 0 : _q81 = do_valueize (valueize, _q81);
4364 : 0 : switch (TREE_CODE (_q80))
4365 : : {
4366 : 0 : case SSA_NAME:
4367 : 0 : if (gimple *_d6 = get_def (valueize, _q80))
4368 : : {
4369 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
4370 : 0 : switch (gimple_assign_rhs_code (_a6))
4371 : : {
4372 : 0 : case BIT_XOR_EXPR:
4373 : 0 : {
4374 : 0 : tree _q90 = gimple_assign_rhs1 (_a6);
4375 : 0 : _q90 = do_valueize (valueize, _q90);
4376 : 0 : tree _q91 = gimple_assign_rhs2 (_a6);
4377 : 0 : _q91 = do_valueize (valueize, _q91);
4378 : 0 : if (tree_swap_operands_p (_q90, _q91))
4379 : 0 : std::swap (_q90, _q91);
4380 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
4381 : : {
4382 : 0 : {
4383 : 0 : tree _q91_pops[1];
4384 : 0 : if (gimple_nop_convert (_q91, _q91_pops, valueize))
4385 : : {
4386 : 0 : tree _q110 = _q91_pops[0];
4387 : 0 : switch (TREE_CODE (_q110))
4388 : : {
4389 : 0 : case SSA_NAME:
4390 : 0 : if (gimple *_d7 = get_def (valueize, _q110))
4391 : : {
4392 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
4393 : 0 : switch (gimple_assign_rhs_code (_a7))
4394 : : {
4395 : 0 : case PLUS_EXPR:
4396 : 0 : {
4397 : 0 : tree _q120 = gimple_assign_rhs1 (_a7);
4398 : 0 : _q120 = do_valueize (valueize, _q120);
4399 : 0 : tree _q121 = gimple_assign_rhs2 (_a7);
4400 : 0 : _q121 = do_valueize (valueize, _q121);
4401 : 0 : if (tree_swap_operands_p (_q120, _q121))
4402 : 0 : std::swap (_q120, _q121);
4403 : 0 : {
4404 : 0 : tree _q120_pops[1];
4405 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
4406 : : {
4407 : 0 : tree _q130 = _q120_pops[0];
4408 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
4409 : : {
4410 : 0 : switch (TREE_CODE (_q121))
4411 : : {
4412 : 0 : case INTEGER_CST:
4413 : 0 : {
4414 : 0 : if (integer_zerop (_q81))
4415 : : {
4416 : 0 : {
4417 : 0 : tree _p1_pops[1];
4418 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
4419 : : {
4420 : 0 : tree _q170 = _p1_pops[0];
4421 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
4422 : : {
4423 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
4424 : : {
4425 : 0 : {
4426 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q121, _q91, _q41 };
4427 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
4428 : : )
4429 : : {
4430 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
4431 : : )
4432 : : {
4433 : 0 : {
4434 : 0 : res_ops[0] = captures[0];
4435 : 0 : res_ops[1] = captures[1];
4436 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
4437 : 0 : return true;
4438 : : }
4439 : : }
4440 : : }
4441 : : }
4442 : : }
4443 : : }
4444 : : }
4445 : : }
4446 : : }
4447 : : break;
4448 : : }
4449 : : default:;
4450 : : }
4451 : : }
4452 : : }
4453 : : }
4454 : 0 : break;
4455 : : }
4456 : : default:;
4457 : : }
4458 : : }
4459 : : break;
4460 : : default:;
4461 : : }
4462 : : }
4463 : : }
4464 : : }
4465 : 0 : break;
4466 : : }
4467 : : default:;
4468 : : }
4469 : : }
4470 : : break;
4471 : : default:;
4472 : : }
4473 : : break;
4474 : : }
4475 : : default:;
4476 : : }
4477 : : }
4478 : : break;
4479 : : default:;
4480 : : }
4481 : : }
4482 : : break;
4483 : : }
4484 : 0 : default:;
4485 : : }
4486 : 0 : switch (TREE_CODE (_q40))
4487 : : {
4488 : 0 : case INTEGER_CST:
4489 : 0 : {
4490 : 0 : if (integer_zerop (_q31))
4491 : : {
4492 : 0 : switch (TREE_CODE (_q21))
4493 : : {
4494 : 0 : case SSA_NAME:
4495 : 0 : if (gimple *_d5 = get_def (valueize, _q21))
4496 : : {
4497 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
4498 : 0 : switch (gimple_assign_rhs_code (_a5))
4499 : : {
4500 : 0 : case LT_EXPR:
4501 : 0 : {
4502 : 0 : tree _q80 = gimple_assign_rhs1 (_a5);
4503 : 0 : _q80 = do_valueize (valueize, _q80);
4504 : 0 : tree _q81 = gimple_assign_rhs2 (_a5);
4505 : 0 : _q81 = do_valueize (valueize, _q81);
4506 : 0 : switch (TREE_CODE (_q80))
4507 : : {
4508 : 0 : case SSA_NAME:
4509 : 0 : if (gimple *_d6 = get_def (valueize, _q80))
4510 : : {
4511 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
4512 : 0 : switch (gimple_assign_rhs_code (_a6))
4513 : : {
4514 : 0 : case BIT_XOR_EXPR:
4515 : 0 : {
4516 : 0 : tree _q90 = gimple_assign_rhs1 (_a6);
4517 : 0 : _q90 = do_valueize (valueize, _q90);
4518 : 0 : tree _q91 = gimple_assign_rhs2 (_a6);
4519 : 0 : _q91 = do_valueize (valueize, _q91);
4520 : 0 : if (tree_swap_operands_p (_q90, _q91))
4521 : 0 : std::swap (_q90, _q91);
4522 : 0 : if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
4523 : : {
4524 : 0 : {
4525 : 0 : tree _q91_pops[1];
4526 : 0 : if (gimple_nop_convert (_q91, _q91_pops, valueize))
4527 : : {
4528 : 0 : tree _q110 = _q91_pops[0];
4529 : 0 : switch (TREE_CODE (_q110))
4530 : : {
4531 : 0 : case SSA_NAME:
4532 : 0 : if (gimple *_d7 = get_def (valueize, _q110))
4533 : : {
4534 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
4535 : 0 : switch (gimple_assign_rhs_code (_a7))
4536 : : {
4537 : 0 : case PLUS_EXPR:
4538 : 0 : {
4539 : 0 : tree _q120 = gimple_assign_rhs1 (_a7);
4540 : 0 : _q120 = do_valueize (valueize, _q120);
4541 : 0 : tree _q121 = gimple_assign_rhs2 (_a7);
4542 : 0 : _q121 = do_valueize (valueize, _q121);
4543 : 0 : if (tree_swap_operands_p (_q120, _q121))
4544 : 0 : std::swap (_q120, _q121);
4545 : 0 : {
4546 : 0 : tree _q120_pops[1];
4547 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
4548 : : {
4549 : 0 : tree _q130 = _q120_pops[0];
4550 : 0 : if ((_q130 == _q41 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q41, 0) && types_match (_q130, _q41)))
4551 : : {
4552 : 0 : switch (TREE_CODE (_q121))
4553 : : {
4554 : 0 : case INTEGER_CST:
4555 : 0 : {
4556 : 0 : if (integer_zerop (_q81))
4557 : : {
4558 : 0 : {
4559 : 0 : tree _p1_pops[1];
4560 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
4561 : : {
4562 : 0 : tree _q170 = _p1_pops[0];
4563 : 0 : if ((_q170 == _q41 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q41, 0) && types_match (_q170, _q41)))
4564 : : {
4565 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
4566 : : {
4567 : 0 : {
4568 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q121, _q91, _q40 };
4569 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
4570 : : )
4571 : : {
4572 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
4573 : : )
4574 : : {
4575 : 0 : {
4576 : 0 : res_ops[0] = captures[0];
4577 : 0 : res_ops[1] = captures[1];
4578 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
4579 : 0 : return true;
4580 : : }
4581 : : }
4582 : : }
4583 : : }
4584 : : }
4585 : : }
4586 : : }
4587 : : }
4588 : : }
4589 : : break;
4590 : : }
4591 : : default:;
4592 : : }
4593 : : }
4594 : : }
4595 : : }
4596 : 0 : break;
4597 : : }
4598 : : default:;
4599 : : }
4600 : : }
4601 : : break;
4602 : : default:;
4603 : : }
4604 : : }
4605 : : }
4606 : : }
4607 : 28721999 : break;
4608 : : }
4609 : : default:;
4610 : : }
4611 : : }
4612 : : break;
4613 : : default:;
4614 : : }
4615 : : break;
4616 : : }
4617 : : default:;
4618 : : }
4619 : : }
4620 : : break;
4621 : : default:;
4622 : : }
4623 : : }
4624 : : break;
4625 : : }
4626 : : default:;
4627 : : }
4628 : 28721999 : break;
4629 : : }
4630 : : default:;
4631 : : }
4632 : : }
4633 : : break;
4634 : : default:;
4635 : : }
4636 : : break;
4637 : : }
4638 : 349 : case BIT_NOT_EXPR:
4639 : 349 : {
4640 : 349 : tree _q30 = gimple_assign_rhs1 (_a3);
4641 : 349 : _q30 = do_valueize (valueize, _q30);
4642 : 349 : switch (TREE_CODE (_q30))
4643 : : {
4644 : 349 : case SSA_NAME:
4645 : 349 : if (gimple *_d4 = get_def (valueize, _q30))
4646 : : {
4647 : 349 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
4648 : 328 : switch (gimple_assign_rhs_code (_a4))
4649 : : {
4650 : 4 : case LT_EXPR:
4651 : 4 : {
4652 : 4 : tree _q40 = gimple_assign_rhs1 (_a4);
4653 : 4 : _q40 = do_valueize (valueize, _q40);
4654 : 4 : tree _q41 = gimple_assign_rhs2 (_a4);
4655 : 4 : _q41 = do_valueize (valueize, _q41);
4656 : 4 : switch (TREE_CODE (_q40))
4657 : : {
4658 : 4 : case SSA_NAME:
4659 : 4 : if (gimple *_d5 = get_def (valueize, _q40))
4660 : : {
4661 : 4 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
4662 : 8 : switch (gimple_assign_rhs_code (_a5))
4663 : : {
4664 : 0 : case BIT_XOR_EXPR:
4665 : 0 : {
4666 : 0 : tree _q50 = gimple_assign_rhs1 (_a5);
4667 : 0 : _q50 = do_valueize (valueize, _q50);
4668 : 0 : tree _q51 = gimple_assign_rhs2 (_a5);
4669 : 0 : _q51 = do_valueize (valueize, _q51);
4670 : 0 : if (tree_swap_operands_p (_q50, _q51))
4671 : 0 : std::swap (_q50, _q51);
4672 : 0 : if (integer_zerop (_q41))
4673 : : {
4674 : 0 : switch (TREE_CODE (_q21))
4675 : : {
4676 : 0 : case SSA_NAME:
4677 : 0 : if (gimple *_d6 = get_def (valueize, _q21))
4678 : : {
4679 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
4680 : 0 : switch (gimple_assign_rhs_code (_a6))
4681 : : {
4682 : 0 : case LT_EXPR:
4683 : 0 : {
4684 : 0 : tree _q90 = gimple_assign_rhs1 (_a6);
4685 : 0 : _q90 = do_valueize (valueize, _q90);
4686 : 0 : tree _q91 = gimple_assign_rhs2 (_a6);
4687 : 0 : _q91 = do_valueize (valueize, _q91);
4688 : 0 : switch (TREE_CODE (_q90))
4689 : : {
4690 : 0 : case SSA_NAME:
4691 : 0 : if (gimple *_d7 = get_def (valueize, _q90))
4692 : : {
4693 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
4694 : 0 : switch (gimple_assign_rhs_code (_a7))
4695 : : {
4696 : 0 : case BIT_XOR_EXPR:
4697 : 0 : {
4698 : 0 : tree _q100 = gimple_assign_rhs1 (_a7);
4699 : 0 : _q100 = do_valueize (valueize, _q100);
4700 : 0 : tree _q101 = gimple_assign_rhs2 (_a7);
4701 : 0 : _q101 = do_valueize (valueize, _q101);
4702 : 0 : if (tree_swap_operands_p (_q100, _q101))
4703 : 0 : std::swap (_q100, _q101);
4704 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
4705 : : {
4706 : 0 : {
4707 : 0 : tree _q101_pops[1];
4708 : 0 : if (gimple_nop_convert (_q101, _q101_pops, valueize))
4709 : : {
4710 : 0 : tree _q120 = _q101_pops[0];
4711 : 0 : switch (TREE_CODE (_q120))
4712 : : {
4713 : 0 : case SSA_NAME:
4714 : 0 : if (gimple *_d8 = get_def (valueize, _q120))
4715 : : {
4716 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
4717 : 0 : switch (gimple_assign_rhs_code (_a8))
4718 : : {
4719 : 0 : case PLUS_EXPR:
4720 : 0 : {
4721 : 0 : tree _q130 = gimple_assign_rhs1 (_a8);
4722 : 0 : _q130 = do_valueize (valueize, _q130);
4723 : 0 : tree _q131 = gimple_assign_rhs2 (_a8);
4724 : 0 : _q131 = do_valueize (valueize, _q131);
4725 : 0 : if (tree_swap_operands_p (_q130, _q131))
4726 : 0 : std::swap (_q130, _q131);
4727 : 0 : {
4728 : 0 : tree _q130_pops[1];
4729 : 0 : if (gimple_nop_convert (_q130, _q130_pops, valueize))
4730 : : {
4731 : 0 : tree _q140 = _q130_pops[0];
4732 : 0 : if ((_q140 == _q50 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q50, 0) && types_match (_q140, _q50)))
4733 : : {
4734 : 0 : {
4735 : 0 : tree _q131_pops[1];
4736 : 0 : if (gimple_nop_convert (_q131, _q131_pops, valueize))
4737 : : {
4738 : 0 : tree _q160 = _q131_pops[0];
4739 : 0 : if ((_q160 == _q51 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q51, 0) && types_match (_q160, _q51)))
4740 : : {
4741 : 0 : if (integer_zerop (_q91))
4742 : : {
4743 : 0 : {
4744 : 0 : tree _p1_pops[1];
4745 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
4746 : : {
4747 : 0 : tree _q190 = _p1_pops[0];
4748 : 0 : if ((_q190 == _q50 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q50, 0) && types_match (_q190, _q50)))
4749 : : {
4750 : 0 : if ((_p2 == _q101 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q101, 0) && types_match (_p2, _q101)))
4751 : : {
4752 : 0 : {
4753 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q101 };
4754 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
4755 : : )
4756 : : {
4757 : 0 : {
4758 : 0 : res_ops[0] = captures[0];
4759 : 0 : res_ops[1] = captures[1];
4760 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
4761 : 0 : return true;
4762 : : }
4763 : : }
4764 : : }
4765 : : }
4766 : : }
4767 : : }
4768 : : }
4769 : : }
4770 : : }
4771 : : }
4772 : : }
4773 : : }
4774 : : }
4775 : : }
4776 : 0 : break;
4777 : : }
4778 : : default:;
4779 : : }
4780 : : }
4781 : : break;
4782 : : default:;
4783 : : }
4784 : : }
4785 : : }
4786 : : }
4787 : 0 : if ((_q100 == _q51 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q51, 0) && types_match (_q100, _q51)))
4788 : : {
4789 : 0 : {
4790 : 0 : tree _q101_pops[1];
4791 : 0 : if (gimple_nop_convert (_q101, _q101_pops, valueize))
4792 : : {
4793 : 0 : tree _q120 = _q101_pops[0];
4794 : 0 : switch (TREE_CODE (_q120))
4795 : : {
4796 : 0 : case SSA_NAME:
4797 : 0 : if (gimple *_d8 = get_def (valueize, _q120))
4798 : : {
4799 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
4800 : 0 : switch (gimple_assign_rhs_code (_a8))
4801 : : {
4802 : 0 : case PLUS_EXPR:
4803 : 0 : {
4804 : 0 : tree _q130 = gimple_assign_rhs1 (_a8);
4805 : 0 : _q130 = do_valueize (valueize, _q130);
4806 : 0 : tree _q131 = gimple_assign_rhs2 (_a8);
4807 : 0 : _q131 = do_valueize (valueize, _q131);
4808 : 0 : if (tree_swap_operands_p (_q130, _q131))
4809 : 0 : std::swap (_q130, _q131);
4810 : 0 : {
4811 : 0 : tree _q130_pops[1];
4812 : 0 : if (gimple_nop_convert (_q130, _q130_pops, valueize))
4813 : : {
4814 : 0 : tree _q140 = _q130_pops[0];
4815 : 0 : if ((_q140 == _q51 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q51, 0) && types_match (_q140, _q51)))
4816 : : {
4817 : 0 : {
4818 : 0 : tree _q131_pops[1];
4819 : 0 : if (gimple_nop_convert (_q131, _q131_pops, valueize))
4820 : : {
4821 : 0 : tree _q160 = _q131_pops[0];
4822 : 0 : if ((_q160 == _q50 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q50, 0) && types_match (_q160, _q50)))
4823 : : {
4824 : 0 : if (integer_zerop (_q91))
4825 : : {
4826 : 0 : {
4827 : 0 : tree _p1_pops[1];
4828 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
4829 : : {
4830 : 0 : tree _q190 = _p1_pops[0];
4831 : 0 : if ((_q190 == _q51 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q51, 0) && types_match (_q190, _q51)))
4832 : : {
4833 : 0 : if ((_p2 == _q101 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q101, 0) && types_match (_p2, _q101)))
4834 : : {
4835 : 0 : {
4836 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q101 };
4837 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
4838 : : )
4839 : : {
4840 : 0 : {
4841 : 0 : res_ops[0] = captures[0];
4842 : 0 : res_ops[1] = captures[1];
4843 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
4844 : 0 : return true;
4845 : : }
4846 : : }
4847 : : }
4848 : : }
4849 : : }
4850 : : }
4851 : : }
4852 : : }
4853 : : }
4854 : : }
4855 : : }
4856 : : }
4857 : : }
4858 : : }
4859 : 0 : break;
4860 : : }
4861 : : default:;
4862 : : }
4863 : : }
4864 : : break;
4865 : : default:;
4866 : : }
4867 : : }
4868 : : }
4869 : : }
4870 : 28721999 : break;
4871 : : }
4872 : : default:;
4873 : : }
4874 : : }
4875 : : break;
4876 : : default:;
4877 : : }
4878 : : break;
4879 : : }
4880 : : default:;
4881 : : }
4882 : : }
4883 : : break;
4884 : : default:;
4885 : : }
4886 : : }
4887 : 28721999 : break;
4888 : : }
4889 : : default:;
4890 : : }
4891 : : }
4892 : : break;
4893 : : default:;
4894 : : }
4895 : : break;
4896 : : }
4897 : : default:;
4898 : : }
4899 : : }
4900 : : break;
4901 : : default:;
4902 : : }
4903 : : break;
4904 : : }
4905 : : default:;
4906 : : }
4907 : : }
4908 : : break;
4909 : : default:;
4910 : : }
4911 : 28721999 : break;
4912 : : }
4913 : 15603 : case NE_EXPR:
4914 : 15603 : {
4915 : 15603 : tree _q20 = gimple_assign_rhs1 (_a2);
4916 : 15603 : _q20 = do_valueize (valueize, _q20);
4917 : 15603 : tree _q21 = gimple_assign_rhs2 (_a2);
4918 : 15603 : _q21 = do_valueize (valueize, _q21);
4919 : 15603 : if (tree_swap_operands_p (_q20, _q21))
4920 : 2 : std::swap (_q20, _q21);
4921 : 15603 : switch (TREE_CODE (_q20))
4922 : : {
4923 : 15591 : case SSA_NAME:
4924 : 15591 : if (gimple *_d3 = get_def (valueize, _q20))
4925 : : {
4926 : 15591 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
4927 : 13902 : switch (gimple_assign_rhs_code (_a3))
4928 : : {
4929 : 6 : case IMAGPART_EXPR:
4930 : 6 : {
4931 : 6 : tree _q30 = TREE_OPERAND (gimple_assign_rhs1 (_a3), 0);
4932 : 6 : if ((TREE_CODE (_q30) == SSA_NAME
4933 : 6 : || is_gimple_min_invariant (_q30)))
4934 : : {
4935 : 6 : _q30 = do_valueize (valueize, _q30);
4936 : 6 : switch (TREE_CODE (_q30))
4937 : : {
4938 : 6 : case SSA_NAME:
4939 : 6 : if (gimple *_d4 = get_def (valueize, _q30))
4940 : : {
4941 : 6 : if (gcall *_c4 = dyn_cast <gcall *> (_d4))
4942 : 6 : switch (gimple_call_combined_fn (_c4))
4943 : : {
4944 : 0 : case CFN_ADD_OVERFLOW:
4945 : 0 : if (gimple_call_num_args (_c4) == 2)
4946 : : {
4947 : 0 : tree _q40 = gimple_call_arg (_c4, 0);
4948 : 0 : _q40 = do_valueize (valueize, _q40);
4949 : 0 : tree _q41 = gimple_call_arg (_c4, 1);
4950 : 0 : _q41 = do_valueize (valueize, _q41);
4951 : 0 : if (tree_swap_operands_p (_q40, _q41))
4952 : 0 : std::swap (_q40, _q41);
4953 : 0 : if (integer_zerop (_q21))
4954 : : {
4955 : 0 : {
4956 : 0 : tree _p1_pops[1];
4957 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
4958 : : {
4959 : 0 : tree _q80 = _p1_pops[0];
4960 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
4961 : : {
4962 : 0 : switch (TREE_CODE (_p2))
4963 : : {
4964 : 0 : case SSA_NAME:
4965 : 0 : if (gimple *_d5 = get_def (valueize, _p2))
4966 : : {
4967 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
4968 : 0 : switch (gimple_assign_rhs_code (_a5))
4969 : : {
4970 : 0 : case REALPART_EXPR:
4971 : 0 : {
4972 : 0 : tree _q100 = TREE_OPERAND (gimple_assign_rhs1 (_a5), 0);
4973 : 0 : if ((TREE_CODE (_q100) == SSA_NAME
4974 : 0 : || is_gimple_min_invariant (_q100)))
4975 : : {
4976 : 0 : _q100 = do_valueize (valueize, _q100);
4977 : 0 : if ((_q100 == _q30 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q30, 0) && types_match (_q100, _q30)))
4978 : : {
4979 : 0 : {
4980 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q30 };
4981 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
4982 : : )
4983 : : {
4984 : 0 : {
4985 : 0 : res_ops[0] = captures[0];
4986 : 0 : res_ops[1] = captures[1];
4987 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 80, __FILE__, __LINE__, false);
4988 : 0 : return true;
4989 : : }
4990 : : }
4991 : : }
4992 : : }
4993 : : }
4994 : : break;
4995 : : }
4996 : : default:;
4997 : : }
4998 : : }
4999 : : break;
5000 : : default:;
5001 : : }
5002 : : }
5003 : 0 : if ((_q80 == _q41 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q41, 0) && types_match (_q80, _q41)))
5004 : : {
5005 : 0 : switch (TREE_CODE (_p2))
5006 : : {
5007 : 0 : case SSA_NAME:
5008 : 0 : if (gimple *_d5 = get_def (valueize, _p2))
5009 : : {
5010 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
5011 : 0 : switch (gimple_assign_rhs_code (_a5))
5012 : : {
5013 : 0 : case REALPART_EXPR:
5014 : 0 : {
5015 : 0 : tree _q100 = TREE_OPERAND (gimple_assign_rhs1 (_a5), 0);
5016 : 0 : if ((TREE_CODE (_q100) == SSA_NAME
5017 : 0 : || is_gimple_min_invariant (_q100)))
5018 : : {
5019 : 0 : _q100 = do_valueize (valueize, _q100);
5020 : 0 : if ((_q100 == _q30 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q30, 0) && types_match (_q100, _q30)))
5021 : : {
5022 : 0 : {
5023 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q30 };
5024 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
5025 : : )
5026 : : {
5027 : 0 : {
5028 : 0 : res_ops[0] = captures[0];
5029 : 0 : res_ops[1] = captures[1];
5030 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 80, __FILE__, __LINE__, false);
5031 : 0 : return true;
5032 : : }
5033 : : }
5034 : : }
5035 : : }
5036 : : }
5037 : : break;
5038 : : }
5039 : : default:;
5040 : : }
5041 : : }
5042 : : break;
5043 : : default:;
5044 : : }
5045 : : }
5046 : : }
5047 : : }
5048 : : }
5049 : : }
5050 : : break;
5051 : : default:;
5052 : : }
5053 : : }
5054 : : break;
5055 : : default:;
5056 : : }
5057 : : }
5058 : : break;
5059 : : }
5060 : : default:;
5061 : : }
5062 : : }
5063 : : break;
5064 : : default:;
5065 : : }
5066 : 28721999 : break;
5067 : : }
5068 : : default:;
5069 : : }
5070 : : }
5071 : : break;
5072 : 0 : case LT_EXPR:
5073 : 0 : {
5074 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
5075 : 0 : if ((TREE_CODE (_q20) == SSA_NAME
5076 : 0 : || is_gimple_min_invariant (_q20)))
5077 : : {
5078 : 0 : _q20 = do_valueize (valueize, _q20);
5079 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
5080 : 0 : if ((TREE_CODE (_q21) == SSA_NAME
5081 : 0 : || is_gimple_min_invariant (_q21)))
5082 : : {
5083 : 0 : _q21 = do_valueize (valueize, _q21);
5084 : 0 : switch (TREE_CODE (_q20))
5085 : : {
5086 : 0 : case SSA_NAME:
5087 : 0 : if (gimple *_d2 = get_def (valueize, _q20))
5088 : : {
5089 : 0 : if (gassign *_a2 = dyn_cast <gassign *> (_d2))
5090 : 0 : switch (gimple_assign_rhs_code (_a2))
5091 : : {
5092 : 0 : case BIT_AND_EXPR:
5093 : 0 : {
5094 : 0 : tree _q30 = gimple_assign_rhs1 (_a2);
5095 : 0 : _q30 = do_valueize (valueize, _q30);
5096 : 0 : tree _q31 = gimple_assign_rhs2 (_a2);
5097 : 0 : _q31 = do_valueize (valueize, _q31);
5098 : 0 : if (tree_swap_operands_p (_q30, _q31))
5099 : 0 : std::swap (_q30, _q31);
5100 : 0 : switch (TREE_CODE (_q30))
5101 : : {
5102 : 0 : case SSA_NAME:
5103 : 0 : if (gimple *_d3 = get_def (valueize, _q30))
5104 : : {
5105 : 0 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
5106 : 0 : switch (gimple_assign_rhs_code (_a3))
5107 : : {
5108 : 0 : case BIT_XOR_EXPR:
5109 : 0 : {
5110 : 0 : tree _q40 = gimple_assign_rhs1 (_a3);
5111 : 0 : _q40 = do_valueize (valueize, _q40);
5112 : 0 : tree _q41 = gimple_assign_rhs2 (_a3);
5113 : 0 : _q41 = do_valueize (valueize, _q41);
5114 : 0 : if (tree_swap_operands_p (_q40, _q41))
5115 : 0 : std::swap (_q40, _q41);
5116 : 0 : {
5117 : 0 : tree _q41_pops[1];
5118 : 0 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
5119 : : {
5120 : 0 : tree _q60 = _q41_pops[0];
5121 : 0 : switch (TREE_CODE (_q60))
5122 : : {
5123 : 0 : case SSA_NAME:
5124 : 0 : if (gimple *_d4 = get_def (valueize, _q60))
5125 : : {
5126 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
5127 : 0 : switch (gimple_assign_rhs_code (_a4))
5128 : : {
5129 : 0 : case PLUS_EXPR:
5130 : 0 : {
5131 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
5132 : 0 : _q70 = do_valueize (valueize, _q70);
5133 : 0 : tree _q71 = gimple_assign_rhs2 (_a4);
5134 : 0 : _q71 = do_valueize (valueize, _q71);
5135 : 0 : if (tree_swap_operands_p (_q70, _q71))
5136 : 0 : std::swap (_q70, _q71);
5137 : 0 : {
5138 : 0 : tree _q70_pops[1];
5139 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
5140 : : {
5141 : 0 : tree _q80 = _q70_pops[0];
5142 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
5143 : : {
5144 : 0 : {
5145 : 0 : tree _q71_pops[1];
5146 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
5147 : : {
5148 : 0 : tree _q100 = _q71_pops[0];
5149 : 0 : switch (TREE_CODE (_q31))
5150 : : {
5151 : 0 : case SSA_NAME:
5152 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
5153 : : {
5154 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
5155 : 0 : switch (gimple_assign_rhs_code (_a5))
5156 : : {
5157 : 0 : case BIT_NOT_EXPR:
5158 : 0 : {
5159 : 0 : tree _q120 = gimple_assign_rhs1 (_a5);
5160 : 0 : _q120 = do_valueize (valueize, _q120);
5161 : 0 : switch (TREE_CODE (_q120))
5162 : : {
5163 : 0 : case SSA_NAME:
5164 : 0 : if (gimple *_d6 = get_def (valueize, _q120))
5165 : : {
5166 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
5167 : 0 : switch (gimple_assign_rhs_code (_a6))
5168 : : {
5169 : 0 : case BIT_XOR_EXPR:
5170 : 0 : {
5171 : 0 : tree _q130 = gimple_assign_rhs1 (_a6);
5172 : 0 : _q130 = do_valueize (valueize, _q130);
5173 : 0 : tree _q131 = gimple_assign_rhs2 (_a6);
5174 : 0 : _q131 = do_valueize (valueize, _q131);
5175 : 0 : if (tree_swap_operands_p (_q130, _q131))
5176 : 0 : std::swap (_q130, _q131);
5177 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
5178 : : {
5179 : 0 : if ((_q131 == _q100 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q100, 0) && types_match (_q131, _q100)))
5180 : : {
5181 : 0 : if (integer_zerop (_q21))
5182 : : {
5183 : 0 : {
5184 : 0 : tree _p1_pops[1];
5185 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
5186 : : {
5187 : 0 : tree _q170 = _p1_pops[0];
5188 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
5189 : : {
5190 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
5191 : : {
5192 : 0 : {
5193 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
5194 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
5195 : : )
5196 : : {
5197 : 0 : {
5198 : 0 : res_ops[0] = captures[0];
5199 : 0 : res_ops[1] = captures[1];
5200 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
5201 : 0 : return true;
5202 : : }
5203 : : }
5204 : : }
5205 : : }
5206 : : }
5207 : : }
5208 : : }
5209 : : }
5210 : : }
5211 : : }
5212 : 0 : if ((_q130 == _q100 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q100, 0) && types_match (_q130, _q100)))
5213 : : {
5214 : 0 : if ((_q131 == _q40 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q40, 0) && types_match (_q131, _q40)))
5215 : : {
5216 : 0 : if (integer_zerop (_q21))
5217 : : {
5218 : 0 : {
5219 : 0 : tree _p1_pops[1];
5220 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
5221 : : {
5222 : 0 : tree _q170 = _p1_pops[0];
5223 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
5224 : : {
5225 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
5226 : : {
5227 : 0 : {
5228 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
5229 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
5230 : : )
5231 : : {
5232 : 0 : {
5233 : 0 : res_ops[0] = captures[0];
5234 : 0 : res_ops[1] = captures[1];
5235 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
5236 : 0 : return true;
5237 : : }
5238 : : }
5239 : : }
5240 : : }
5241 : : }
5242 : : }
5243 : : }
5244 : : }
5245 : : }
5246 : : }
5247 : 0 : break;
5248 : : }
5249 : : default:;
5250 : : }
5251 : : }
5252 : : break;
5253 : : default:;
5254 : : }
5255 : : break;
5256 : : }
5257 : : default:;
5258 : : }
5259 : : }
5260 : : break;
5261 : : default:;
5262 : : }
5263 : : }
5264 : : }
5265 : : }
5266 : : }
5267 : : }
5268 : 0 : break;
5269 : : }
5270 : : default:;
5271 : : }
5272 : : }
5273 : : break;
5274 : : default:;
5275 : : }
5276 : : }
5277 : : }
5278 : 0 : {
5279 : 0 : tree _q40_pops[1];
5280 : 0 : if (gimple_nop_convert (_q40, _q40_pops, valueize))
5281 : : {
5282 : 0 : tree _q50 = _q40_pops[0];
5283 : 0 : switch (TREE_CODE (_q50))
5284 : : {
5285 : 0 : case SSA_NAME:
5286 : 0 : if (gimple *_d4 = get_def (valueize, _q50))
5287 : : {
5288 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
5289 : 0 : switch (gimple_assign_rhs_code (_a4))
5290 : : {
5291 : 0 : case PLUS_EXPR:
5292 : 0 : {
5293 : 0 : tree _q60 = gimple_assign_rhs1 (_a4);
5294 : 0 : _q60 = do_valueize (valueize, _q60);
5295 : 0 : tree _q61 = gimple_assign_rhs2 (_a4);
5296 : 0 : _q61 = do_valueize (valueize, _q61);
5297 : 0 : if (tree_swap_operands_p (_q60, _q61))
5298 : 0 : std::swap (_q60, _q61);
5299 : 0 : {
5300 : 0 : tree _q60_pops[1];
5301 : 0 : if (gimple_nop_convert (_q60, _q60_pops, valueize))
5302 : : {
5303 : 0 : tree _q70 = _q60_pops[0];
5304 : 0 : switch (TREE_CODE (_q61))
5305 : : {
5306 : 0 : case INTEGER_CST:
5307 : 0 : {
5308 : 0 : if ((_q41 == _q70 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q70, 0) && types_match (_q41, _q70)))
5309 : : {
5310 : 0 : switch (TREE_CODE (_q31))
5311 : : {
5312 : 0 : case SSA_NAME:
5313 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
5314 : : {
5315 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
5316 : 0 : switch (gimple_assign_rhs_code (_a5))
5317 : : {
5318 : 0 : case BIT_XOR_EXPR:
5319 : 0 : {
5320 : 0 : tree _q110 = gimple_assign_rhs1 (_a5);
5321 : 0 : _q110 = do_valueize (valueize, _q110);
5322 : 0 : tree _q111 = gimple_assign_rhs2 (_a5);
5323 : 0 : _q111 = do_valueize (valueize, _q111);
5324 : 0 : if (tree_swap_operands_p (_q110, _q111))
5325 : 0 : std::swap (_q110, _q111);
5326 : 0 : if ((_q110 == _q70 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q70, 0) && types_match (_q110, _q70)))
5327 : : {
5328 : 0 : switch (TREE_CODE (_q111))
5329 : : {
5330 : 0 : case INTEGER_CST:
5331 : 0 : {
5332 : 0 : if (integer_zerop (_q21))
5333 : : {
5334 : 0 : {
5335 : 0 : tree _p1_pops[1];
5336 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
5337 : : {
5338 : 0 : tree _q150 = _p1_pops[0];
5339 : 0 : if ((_q150 == _q70 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q70, 0) && types_match (_q150, _q70)))
5340 : : {
5341 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
5342 : : {
5343 : 0 : {
5344 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q70, _q61, _q40, _q111 };
5345 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
5346 : : )
5347 : : {
5348 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
5349 : : )
5350 : : {
5351 : 0 : {
5352 : 0 : res_ops[0] = captures[0];
5353 : 0 : res_ops[1] = captures[1];
5354 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
5355 : 0 : return true;
5356 : : }
5357 : : }
5358 : : }
5359 : : }
5360 : : }
5361 : : }
5362 : : }
5363 : : }
5364 : : }
5365 : : break;
5366 : : }
5367 : : default:;
5368 : : }
5369 : : }
5370 : 0 : switch (TREE_CODE (_q110))
5371 : : {
5372 : 0 : case INTEGER_CST:
5373 : 0 : {
5374 : 0 : if ((_q111 == _q70 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q70, 0) && types_match (_q111, _q70)))
5375 : : {
5376 : 0 : if (integer_zerop (_q21))
5377 : : {
5378 : 0 : {
5379 : 0 : tree _p1_pops[1];
5380 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
5381 : : {
5382 : 0 : tree _q150 = _p1_pops[0];
5383 : 0 : if ((_q150 == _q70 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q70, 0) && types_match (_q150, _q70)))
5384 : : {
5385 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
5386 : : {
5387 : 0 : {
5388 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q70, _q61, _q40, _q110 };
5389 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
5390 : : )
5391 : : {
5392 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
5393 : : )
5394 : : {
5395 : 0 : {
5396 : 0 : res_ops[0] = captures[0];
5397 : 0 : res_ops[1] = captures[1];
5398 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
5399 : 0 : return true;
5400 : : }
5401 : : }
5402 : : }
5403 : : }
5404 : : }
5405 : : }
5406 : : }
5407 : : }
5408 : : }
5409 : : }
5410 : : break;
5411 : : }
5412 : : default:;
5413 : : }
5414 : 0 : break;
5415 : : }
5416 : : default:;
5417 : : }
5418 : : }
5419 : : break;
5420 : : default:;
5421 : : }
5422 : : }
5423 : : break;
5424 : : }
5425 : 0 : default:;
5426 : : }
5427 : 0 : {
5428 : 0 : tree _q61_pops[1];
5429 : 0 : if (gimple_nop_convert (_q61, _q61_pops, valueize))
5430 : : {
5431 : 0 : tree _q90 = _q61_pops[0];
5432 : 0 : if ((_q41 == _q70 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q70, 0) && types_match (_q41, _q70)))
5433 : : {
5434 : 0 : switch (TREE_CODE (_q31))
5435 : : {
5436 : 0 : case SSA_NAME:
5437 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
5438 : : {
5439 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
5440 : 0 : switch (gimple_assign_rhs_code (_a5))
5441 : : {
5442 : 0 : case BIT_NOT_EXPR:
5443 : 0 : {
5444 : 0 : tree _q120 = gimple_assign_rhs1 (_a5);
5445 : 0 : _q120 = do_valueize (valueize, _q120);
5446 : 0 : switch (TREE_CODE (_q120))
5447 : : {
5448 : 0 : case SSA_NAME:
5449 : 0 : if (gimple *_d6 = get_def (valueize, _q120))
5450 : : {
5451 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
5452 : 0 : switch (gimple_assign_rhs_code (_a6))
5453 : : {
5454 : 0 : case BIT_XOR_EXPR:
5455 : 0 : {
5456 : 0 : tree _q130 = gimple_assign_rhs1 (_a6);
5457 : 0 : _q130 = do_valueize (valueize, _q130);
5458 : 0 : tree _q131 = gimple_assign_rhs2 (_a6);
5459 : 0 : _q131 = do_valueize (valueize, _q131);
5460 : 0 : if (tree_swap_operands_p (_q130, _q131))
5461 : 0 : std::swap (_q130, _q131);
5462 : 0 : if ((_q130 == _q70 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q70, 0) && types_match (_q130, _q70)))
5463 : : {
5464 : 0 : if ((_q131 == _q90 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q90, 0) && types_match (_q131, _q90)))
5465 : : {
5466 : 0 : if (integer_zerop (_q21))
5467 : : {
5468 : 0 : {
5469 : 0 : tree _p1_pops[1];
5470 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
5471 : : {
5472 : 0 : tree _q170 = _p1_pops[0];
5473 : 0 : if ((_q170 == _q70 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q70, 0) && types_match (_q170, _q70)))
5474 : : {
5475 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
5476 : : {
5477 : 0 : {
5478 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q90, _q40 };
5479 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
5480 : : )
5481 : : {
5482 : 0 : {
5483 : 0 : res_ops[0] = captures[0];
5484 : 0 : res_ops[1] = captures[1];
5485 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
5486 : 0 : return true;
5487 : : }
5488 : : }
5489 : : }
5490 : : }
5491 : : }
5492 : : }
5493 : : }
5494 : : }
5495 : : }
5496 : : }
5497 : 0 : if ((_q130 == _q90 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q90, 0) && types_match (_q130, _q90)))
5498 : : {
5499 : 0 : if ((_q131 == _q70 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q70, 0) && types_match (_q131, _q70)))
5500 : : {
5501 : 0 : if (integer_zerop (_q21))
5502 : : {
5503 : 0 : {
5504 : 0 : tree _p1_pops[1];
5505 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
5506 : : {
5507 : 0 : tree _q170 = _p1_pops[0];
5508 : 0 : if ((_q170 == _q70 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q70, 0) && types_match (_q170, _q70)))
5509 : : {
5510 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
5511 : : {
5512 : 0 : {
5513 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q90, _q40 };
5514 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
5515 : : )
5516 : : {
5517 : 0 : {
5518 : 0 : res_ops[0] = captures[0];
5519 : 0 : res_ops[1] = captures[1];
5520 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
5521 : 0 : return true;
5522 : : }
5523 : : }
5524 : : }
5525 : : }
5526 : : }
5527 : : }
5528 : : }
5529 : : }
5530 : : }
5531 : : }
5532 : 0 : break;
5533 : : }
5534 : : default:;
5535 : : }
5536 : : }
5537 : : break;
5538 : : default:;
5539 : : }
5540 : : break;
5541 : : }
5542 : : default:;
5543 : : }
5544 : : }
5545 : : break;
5546 : : default:;
5547 : : }
5548 : : }
5549 : : }
5550 : : }
5551 : : }
5552 : : }
5553 : 0 : break;
5554 : : }
5555 : : default:;
5556 : : }
5557 : : }
5558 : : break;
5559 : : default:;
5560 : : }
5561 : : }
5562 : : }
5563 : 0 : switch (TREE_CODE (_q41))
5564 : : {
5565 : 0 : case INTEGER_CST:
5566 : 0 : {
5567 : 0 : switch (TREE_CODE (_q31))
5568 : : {
5569 : 0 : case SSA_NAME:
5570 : 0 : if (gimple *_d4 = get_def (valueize, _q31))
5571 : : {
5572 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
5573 : 0 : switch (gimple_assign_rhs_code (_a4))
5574 : : {
5575 : 0 : case BIT_XOR_EXPR:
5576 : 0 : {
5577 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
5578 : 0 : _q70 = do_valueize (valueize, _q70);
5579 : 0 : tree _q71 = gimple_assign_rhs2 (_a4);
5580 : 0 : _q71 = do_valueize (valueize, _q71);
5581 : 0 : if (tree_swap_operands_p (_q70, _q71))
5582 : 0 : std::swap (_q70, _q71);
5583 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
5584 : : {
5585 : 0 : {
5586 : 0 : tree _q71_pops[1];
5587 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
5588 : : {
5589 : 0 : tree _q90 = _q71_pops[0];
5590 : 0 : switch (TREE_CODE (_q90))
5591 : : {
5592 : 0 : case SSA_NAME:
5593 : 0 : if (gimple *_d5 = get_def (valueize, _q90))
5594 : : {
5595 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
5596 : 0 : switch (gimple_assign_rhs_code (_a5))
5597 : : {
5598 : 0 : case PLUS_EXPR:
5599 : 0 : {
5600 : 0 : tree _q100 = gimple_assign_rhs1 (_a5);
5601 : 0 : _q100 = do_valueize (valueize, _q100);
5602 : 0 : tree _q101 = gimple_assign_rhs2 (_a5);
5603 : 0 : _q101 = do_valueize (valueize, _q101);
5604 : 0 : if (tree_swap_operands_p (_q100, _q101))
5605 : 0 : std::swap (_q100, _q101);
5606 : 0 : {
5607 : 0 : tree _q100_pops[1];
5608 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
5609 : : {
5610 : 0 : tree _q110 = _q100_pops[0];
5611 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
5612 : : {
5613 : 0 : switch (TREE_CODE (_q101))
5614 : : {
5615 : 0 : case INTEGER_CST:
5616 : 0 : {
5617 : 0 : if (integer_zerop (_q21))
5618 : : {
5619 : 0 : {
5620 : 0 : tree _p1_pops[1];
5621 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
5622 : : {
5623 : 0 : tree _q150 = _p1_pops[0];
5624 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
5625 : : {
5626 : 0 : if ((_p2 == _q71 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q71, 0) && types_match (_p2, _q71)))
5627 : : {
5628 : 0 : {
5629 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q101, _q71, _q41 };
5630 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
5631 : : )
5632 : : {
5633 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
5634 : : )
5635 : : {
5636 : 0 : {
5637 : 0 : res_ops[0] = captures[0];
5638 : 0 : res_ops[1] = captures[1];
5639 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
5640 : 0 : return true;
5641 : : }
5642 : : }
5643 : : }
5644 : : }
5645 : : }
5646 : : }
5647 : : }
5648 : : }
5649 : : }
5650 : : break;
5651 : : }
5652 : : default:;
5653 : : }
5654 : : }
5655 : : }
5656 : : }
5657 : 0 : break;
5658 : : }
5659 : : default:;
5660 : : }
5661 : : }
5662 : : break;
5663 : : default:;
5664 : : }
5665 : : }
5666 : : }
5667 : : }
5668 : 0 : break;
5669 : : }
5670 : : default:;
5671 : : }
5672 : : }
5673 : : break;
5674 : : default:;
5675 : : }
5676 : : break;
5677 : : }
5678 : 0 : default:;
5679 : : }
5680 : 0 : {
5681 : 0 : tree _q41_pops[1];
5682 : 0 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
5683 : : {
5684 : 0 : tree _q60 = _q41_pops[0];
5685 : 0 : switch (TREE_CODE (_q60))
5686 : : {
5687 : 0 : case SSA_NAME:
5688 : 0 : if (gimple *_d4 = get_def (valueize, _q60))
5689 : : {
5690 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
5691 : 0 : switch (gimple_assign_rhs_code (_a4))
5692 : : {
5693 : 0 : case PLUS_EXPR:
5694 : 0 : {
5695 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
5696 : 0 : _q70 = do_valueize (valueize, _q70);
5697 : 0 : tree _q71 = gimple_assign_rhs2 (_a4);
5698 : 0 : _q71 = do_valueize (valueize, _q71);
5699 : 0 : if (tree_swap_operands_p (_q70, _q71))
5700 : 0 : std::swap (_q70, _q71);
5701 : 0 : {
5702 : 0 : tree _q70_pops[1];
5703 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
5704 : : {
5705 : 0 : tree _q80 = _q70_pops[0];
5706 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
5707 : : {
5708 : 0 : switch (TREE_CODE (_q71))
5709 : : {
5710 : 0 : case INTEGER_CST:
5711 : 0 : {
5712 : 0 : switch (TREE_CODE (_q31))
5713 : : {
5714 : 0 : case SSA_NAME:
5715 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
5716 : : {
5717 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
5718 : 0 : switch (gimple_assign_rhs_code (_a5))
5719 : : {
5720 : 0 : case BIT_XOR_EXPR:
5721 : 0 : {
5722 : 0 : tree _q110 = gimple_assign_rhs1 (_a5);
5723 : 0 : _q110 = do_valueize (valueize, _q110);
5724 : 0 : tree _q111 = gimple_assign_rhs2 (_a5);
5725 : 0 : _q111 = do_valueize (valueize, _q111);
5726 : 0 : if (tree_swap_operands_p (_q110, _q111))
5727 : 0 : std::swap (_q110, _q111);
5728 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
5729 : : {
5730 : 0 : switch (TREE_CODE (_q111))
5731 : : {
5732 : 0 : case INTEGER_CST:
5733 : 0 : {
5734 : 0 : if (integer_zerop (_q21))
5735 : : {
5736 : 0 : {
5737 : 0 : tree _p1_pops[1];
5738 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
5739 : : {
5740 : 0 : tree _q150 = _p1_pops[0];
5741 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
5742 : : {
5743 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
5744 : : {
5745 : 0 : {
5746 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q111 };
5747 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
5748 : : )
5749 : : {
5750 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
5751 : : )
5752 : : {
5753 : 0 : {
5754 : 0 : res_ops[0] = captures[0];
5755 : 0 : res_ops[1] = captures[1];
5756 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
5757 : 0 : return true;
5758 : : }
5759 : : }
5760 : : }
5761 : : }
5762 : : }
5763 : : }
5764 : : }
5765 : : }
5766 : : }
5767 : : break;
5768 : : }
5769 : : default:;
5770 : : }
5771 : : }
5772 : 0 : switch (TREE_CODE (_q110))
5773 : : {
5774 : 0 : case INTEGER_CST:
5775 : 0 : {
5776 : 0 : if ((_q111 == _q40 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q40, 0) && types_match (_q111, _q40)))
5777 : : {
5778 : 0 : if (integer_zerop (_q21))
5779 : : {
5780 : 0 : {
5781 : 0 : tree _p1_pops[1];
5782 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
5783 : : {
5784 : 0 : tree _q150 = _p1_pops[0];
5785 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
5786 : : {
5787 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
5788 : : {
5789 : 0 : {
5790 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q110 };
5791 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
5792 : : )
5793 : : {
5794 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
5795 : : )
5796 : : {
5797 : 0 : {
5798 : 0 : res_ops[0] = captures[0];
5799 : 0 : res_ops[1] = captures[1];
5800 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
5801 : 0 : return true;
5802 : : }
5803 : : }
5804 : : }
5805 : : }
5806 : : }
5807 : : }
5808 : : }
5809 : : }
5810 : : }
5811 : : }
5812 : : break;
5813 : : }
5814 : : default:;
5815 : : }
5816 : 0 : break;
5817 : : }
5818 : : default:;
5819 : : }
5820 : : }
5821 : : break;
5822 : : default:;
5823 : : }
5824 : : break;
5825 : : }
5826 : : default:;
5827 : : }
5828 : : }
5829 : : }
5830 : : }
5831 : 0 : break;
5832 : : }
5833 : : default:;
5834 : : }
5835 : : }
5836 : : break;
5837 : : default:;
5838 : : }
5839 : : }
5840 : : }
5841 : 0 : switch (TREE_CODE (_q40))
5842 : : {
5843 : 0 : case INTEGER_CST:
5844 : 0 : {
5845 : 0 : switch (TREE_CODE (_q31))
5846 : : {
5847 : 0 : case SSA_NAME:
5848 : 0 : if (gimple *_d4 = get_def (valueize, _q31))
5849 : : {
5850 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
5851 : 0 : switch (gimple_assign_rhs_code (_a4))
5852 : : {
5853 : 0 : case BIT_XOR_EXPR:
5854 : 0 : {
5855 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
5856 : 0 : _q70 = do_valueize (valueize, _q70);
5857 : 0 : tree _q71 = gimple_assign_rhs2 (_a4);
5858 : 0 : _q71 = do_valueize (valueize, _q71);
5859 : 0 : if (tree_swap_operands_p (_q70, _q71))
5860 : 0 : std::swap (_q70, _q71);
5861 : 0 : if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
5862 : : {
5863 : 0 : {
5864 : 0 : tree _q71_pops[1];
5865 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
5866 : : {
5867 : 0 : tree _q90 = _q71_pops[0];
5868 : 0 : switch (TREE_CODE (_q90))
5869 : : {
5870 : 0 : case SSA_NAME:
5871 : 0 : if (gimple *_d5 = get_def (valueize, _q90))
5872 : : {
5873 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
5874 : 0 : switch (gimple_assign_rhs_code (_a5))
5875 : : {
5876 : 0 : case PLUS_EXPR:
5877 : 0 : {
5878 : 0 : tree _q100 = gimple_assign_rhs1 (_a5);
5879 : 0 : _q100 = do_valueize (valueize, _q100);
5880 : 0 : tree _q101 = gimple_assign_rhs2 (_a5);
5881 : 0 : _q101 = do_valueize (valueize, _q101);
5882 : 0 : if (tree_swap_operands_p (_q100, _q101))
5883 : 0 : std::swap (_q100, _q101);
5884 : 0 : {
5885 : 0 : tree _q100_pops[1];
5886 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
5887 : : {
5888 : 0 : tree _q110 = _q100_pops[0];
5889 : 0 : if ((_q110 == _q41 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q41, 0) && types_match (_q110, _q41)))
5890 : : {
5891 : 0 : switch (TREE_CODE (_q101))
5892 : : {
5893 : 0 : case INTEGER_CST:
5894 : 0 : {
5895 : 0 : if (integer_zerop (_q21))
5896 : : {
5897 : 0 : {
5898 : 0 : tree _p1_pops[1];
5899 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
5900 : : {
5901 : 0 : tree _q150 = _p1_pops[0];
5902 : 0 : if ((_q150 == _q41 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q41, 0) && types_match (_q150, _q41)))
5903 : : {
5904 : 0 : if ((_p2 == _q71 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q71, 0) && types_match (_p2, _q71)))
5905 : : {
5906 : 0 : {
5907 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q101, _q71, _q40 };
5908 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
5909 : : )
5910 : : {
5911 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
5912 : : )
5913 : : {
5914 : 0 : {
5915 : 0 : res_ops[0] = captures[0];
5916 : 0 : res_ops[1] = captures[1];
5917 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
5918 : 0 : return true;
5919 : : }
5920 : : }
5921 : : }
5922 : : }
5923 : : }
5924 : : }
5925 : : }
5926 : : }
5927 : : }
5928 : : break;
5929 : : }
5930 : : default:;
5931 : : }
5932 : : }
5933 : : }
5934 : : }
5935 : 0 : break;
5936 : : }
5937 : : default:;
5938 : : }
5939 : : }
5940 : : break;
5941 : : default:;
5942 : : }
5943 : : }
5944 : : }
5945 : : }
5946 : 0 : {
5947 : 0 : tree _q70_pops[1];
5948 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
5949 : : {
5950 : 0 : tree _q80 = _q70_pops[0];
5951 : 0 : switch (TREE_CODE (_q80))
5952 : : {
5953 : 0 : case SSA_NAME:
5954 : 0 : if (gimple *_d5 = get_def (valueize, _q80))
5955 : : {
5956 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
5957 : 0 : switch (gimple_assign_rhs_code (_a5))
5958 : : {
5959 : 0 : case PLUS_EXPR:
5960 : 0 : {
5961 : 0 : tree _q90 = gimple_assign_rhs1 (_a5);
5962 : 0 : _q90 = do_valueize (valueize, _q90);
5963 : 0 : tree _q91 = gimple_assign_rhs2 (_a5);
5964 : 0 : _q91 = do_valueize (valueize, _q91);
5965 : 0 : if (tree_swap_operands_p (_q90, _q91))
5966 : 0 : std::swap (_q90, _q91);
5967 : 0 : {
5968 : 0 : tree _q90_pops[1];
5969 : 0 : if (gimple_nop_convert (_q90, _q90_pops, valueize))
5970 : : {
5971 : 0 : tree _q100 = _q90_pops[0];
5972 : 0 : if ((_q100 == _q41 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q41, 0) && types_match (_q100, _q41)))
5973 : : {
5974 : 0 : switch (TREE_CODE (_q91))
5975 : : {
5976 : 0 : case INTEGER_CST:
5977 : 0 : {
5978 : 0 : if ((_q71 == _q41 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q41, 0) && types_match (_q71, _q41)))
5979 : : {
5980 : 0 : if (integer_zerop (_q21))
5981 : : {
5982 : 0 : {
5983 : 0 : tree _p1_pops[1];
5984 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
5985 : : {
5986 : 0 : tree _q150 = _p1_pops[0];
5987 : 0 : if ((_q150 == _q41 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q41, 0) && types_match (_q150, _q41)))
5988 : : {
5989 : 0 : if ((_p2 == _q70 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q70, 0) && types_match (_p2, _q70)))
5990 : : {
5991 : 0 : {
5992 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q91, _q70, _q40 };
5993 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
5994 : : )
5995 : : {
5996 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
5997 : : )
5998 : : {
5999 : 0 : {
6000 : 0 : res_ops[0] = captures[0];
6001 : 0 : res_ops[1] = captures[1];
6002 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
6003 : 0 : return true;
6004 : : }
6005 : : }
6006 : : }
6007 : : }
6008 : : }
6009 : : }
6010 : : }
6011 : : }
6012 : : }
6013 : : }
6014 : : break;
6015 : : }
6016 : : default:;
6017 : : }
6018 : : }
6019 : : }
6020 : : }
6021 : 0 : break;
6022 : : }
6023 : : default:;
6024 : : }
6025 : : }
6026 : : break;
6027 : : default:;
6028 : : }
6029 : : }
6030 : : }
6031 : 0 : break;
6032 : : }
6033 : : default:;
6034 : : }
6035 : : }
6036 : : break;
6037 : : default:;
6038 : : }
6039 : : break;
6040 : : }
6041 : 0 : default:;
6042 : : }
6043 : 0 : switch (TREE_CODE (_q41))
6044 : : {
6045 : 0 : case INTEGER_CST:
6046 : 0 : {
6047 : 0 : switch (TREE_CODE (_q31))
6048 : : {
6049 : 0 : case SSA_NAME:
6050 : 0 : if (gimple *_d4 = get_def (valueize, _q31))
6051 : : {
6052 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
6053 : 0 : switch (gimple_assign_rhs_code (_a4))
6054 : : {
6055 : 0 : case BIT_XOR_EXPR:
6056 : 0 : {
6057 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
6058 : 0 : _q70 = do_valueize (valueize, _q70);
6059 : 0 : tree _q71 = gimple_assign_rhs2 (_a4);
6060 : 0 : _q71 = do_valueize (valueize, _q71);
6061 : 0 : if (tree_swap_operands_p (_q70, _q71))
6062 : 0 : std::swap (_q70, _q71);
6063 : 0 : {
6064 : 0 : tree _q70_pops[1];
6065 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
6066 : : {
6067 : 0 : tree _q80 = _q70_pops[0];
6068 : 0 : switch (TREE_CODE (_q80))
6069 : : {
6070 : 0 : case SSA_NAME:
6071 : 0 : if (gimple *_d5 = get_def (valueize, _q80))
6072 : : {
6073 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
6074 : 0 : switch (gimple_assign_rhs_code (_a5))
6075 : : {
6076 : 0 : case PLUS_EXPR:
6077 : 0 : {
6078 : 0 : tree _q90 = gimple_assign_rhs1 (_a5);
6079 : 0 : _q90 = do_valueize (valueize, _q90);
6080 : 0 : tree _q91 = gimple_assign_rhs2 (_a5);
6081 : 0 : _q91 = do_valueize (valueize, _q91);
6082 : 0 : if (tree_swap_operands_p (_q90, _q91))
6083 : 0 : std::swap (_q90, _q91);
6084 : 0 : {
6085 : 0 : tree _q90_pops[1];
6086 : 0 : if (gimple_nop_convert (_q90, _q90_pops, valueize))
6087 : : {
6088 : 0 : tree _q100 = _q90_pops[0];
6089 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
6090 : : {
6091 : 0 : switch (TREE_CODE (_q91))
6092 : : {
6093 : 0 : case INTEGER_CST:
6094 : 0 : {
6095 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
6096 : : {
6097 : 0 : if (integer_zerop (_q21))
6098 : : {
6099 : 0 : {
6100 : 0 : tree _p1_pops[1];
6101 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
6102 : : {
6103 : 0 : tree _q150 = _p1_pops[0];
6104 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
6105 : : {
6106 : 0 : if ((_p2 == _q70 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q70, 0) && types_match (_p2, _q70)))
6107 : : {
6108 : 0 : {
6109 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q91, _q70, _q41 };
6110 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
6111 : : )
6112 : : {
6113 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
6114 : : )
6115 : : {
6116 : 0 : {
6117 : 0 : res_ops[0] = captures[0];
6118 : 0 : res_ops[1] = captures[1];
6119 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
6120 : 0 : return true;
6121 : : }
6122 : : }
6123 : : }
6124 : : }
6125 : : }
6126 : : }
6127 : : }
6128 : : }
6129 : : }
6130 : : }
6131 : : break;
6132 : : }
6133 : : default:;
6134 : : }
6135 : : }
6136 : : }
6137 : : }
6138 : 0 : break;
6139 : : }
6140 : : default:;
6141 : : }
6142 : : }
6143 : : break;
6144 : : default:;
6145 : : }
6146 : : }
6147 : : }
6148 : 0 : break;
6149 : : }
6150 : : default:;
6151 : : }
6152 : : }
6153 : : break;
6154 : : default:;
6155 : : }
6156 : : break;
6157 : : }
6158 : : default:;
6159 : : }
6160 : 28721999 : break;
6161 : : }
6162 : 0 : case BIT_NOT_EXPR:
6163 : 0 : {
6164 : 0 : tree _q40 = gimple_assign_rhs1 (_a3);
6165 : 0 : _q40 = do_valueize (valueize, _q40);
6166 : 0 : switch (TREE_CODE (_q40))
6167 : : {
6168 : 0 : case SSA_NAME:
6169 : 0 : if (gimple *_d4 = get_def (valueize, _q40))
6170 : : {
6171 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
6172 : 0 : switch (gimple_assign_rhs_code (_a4))
6173 : : {
6174 : 0 : case BIT_XOR_EXPR:
6175 : 0 : {
6176 : 0 : tree _q50 = gimple_assign_rhs1 (_a4);
6177 : 0 : _q50 = do_valueize (valueize, _q50);
6178 : 0 : tree _q51 = gimple_assign_rhs2 (_a4);
6179 : 0 : _q51 = do_valueize (valueize, _q51);
6180 : 0 : if (tree_swap_operands_p (_q50, _q51))
6181 : 0 : std::swap (_q50, _q51);
6182 : 0 : switch (TREE_CODE (_q31))
6183 : : {
6184 : 0 : case SSA_NAME:
6185 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
6186 : : {
6187 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
6188 : 0 : switch (gimple_assign_rhs_code (_a5))
6189 : : {
6190 : 0 : case BIT_XOR_EXPR:
6191 : 0 : {
6192 : 0 : tree _q80 = gimple_assign_rhs1 (_a5);
6193 : 0 : _q80 = do_valueize (valueize, _q80);
6194 : 0 : tree _q81 = gimple_assign_rhs2 (_a5);
6195 : 0 : _q81 = do_valueize (valueize, _q81);
6196 : 0 : if (tree_swap_operands_p (_q80, _q81))
6197 : 0 : std::swap (_q80, _q81);
6198 : 0 : if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
6199 : : {
6200 : 0 : {
6201 : 0 : tree _q81_pops[1];
6202 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
6203 : : {
6204 : 0 : tree _q100 = _q81_pops[0];
6205 : 0 : switch (TREE_CODE (_q100))
6206 : : {
6207 : 0 : case SSA_NAME:
6208 : 0 : if (gimple *_d6 = get_def (valueize, _q100))
6209 : : {
6210 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
6211 : 0 : switch (gimple_assign_rhs_code (_a6))
6212 : : {
6213 : 0 : case PLUS_EXPR:
6214 : 0 : {
6215 : 0 : tree _q110 = gimple_assign_rhs1 (_a6);
6216 : 0 : _q110 = do_valueize (valueize, _q110);
6217 : 0 : tree _q111 = gimple_assign_rhs2 (_a6);
6218 : 0 : _q111 = do_valueize (valueize, _q111);
6219 : 0 : if (tree_swap_operands_p (_q110, _q111))
6220 : 0 : std::swap (_q110, _q111);
6221 : 0 : {
6222 : 0 : tree _q110_pops[1];
6223 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
6224 : : {
6225 : 0 : tree _q120 = _q110_pops[0];
6226 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
6227 : : {
6228 : 0 : {
6229 : 0 : tree _q111_pops[1];
6230 : 0 : if (gimple_nop_convert (_q111, _q111_pops, valueize))
6231 : : {
6232 : 0 : tree _q140 = _q111_pops[0];
6233 : 0 : if ((_q140 == _q51 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q51, 0) && types_match (_q140, _q51)))
6234 : : {
6235 : 0 : if (integer_zerop (_q21))
6236 : : {
6237 : 0 : {
6238 : 0 : tree _p1_pops[1];
6239 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
6240 : : {
6241 : 0 : tree _q170 = _p1_pops[0];
6242 : 0 : if ((_q170 == _q50 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q50, 0) && types_match (_q170, _q50)))
6243 : : {
6244 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
6245 : : {
6246 : 0 : {
6247 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q81 };
6248 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
6249 : : )
6250 : : {
6251 : 0 : {
6252 : 0 : res_ops[0] = captures[0];
6253 : 0 : res_ops[1] = captures[1];
6254 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
6255 : 0 : return true;
6256 : : }
6257 : : }
6258 : : }
6259 : : }
6260 : : }
6261 : : }
6262 : : }
6263 : : }
6264 : : }
6265 : : }
6266 : : }
6267 : : }
6268 : : }
6269 : : }
6270 : 0 : break;
6271 : : }
6272 : : default:;
6273 : : }
6274 : : }
6275 : : break;
6276 : : default:;
6277 : : }
6278 : : }
6279 : : }
6280 : : }
6281 : 0 : if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
6282 : : {
6283 : 0 : {
6284 : 0 : tree _q81_pops[1];
6285 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
6286 : : {
6287 : 0 : tree _q100 = _q81_pops[0];
6288 : 0 : switch (TREE_CODE (_q100))
6289 : : {
6290 : 0 : case SSA_NAME:
6291 : 0 : if (gimple *_d6 = get_def (valueize, _q100))
6292 : : {
6293 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
6294 : 0 : switch (gimple_assign_rhs_code (_a6))
6295 : : {
6296 : 0 : case PLUS_EXPR:
6297 : 0 : {
6298 : 0 : tree _q110 = gimple_assign_rhs1 (_a6);
6299 : 0 : _q110 = do_valueize (valueize, _q110);
6300 : 0 : tree _q111 = gimple_assign_rhs2 (_a6);
6301 : 0 : _q111 = do_valueize (valueize, _q111);
6302 : 0 : if (tree_swap_operands_p (_q110, _q111))
6303 : 0 : std::swap (_q110, _q111);
6304 : 0 : {
6305 : 0 : tree _q110_pops[1];
6306 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
6307 : : {
6308 : 0 : tree _q120 = _q110_pops[0];
6309 : 0 : if ((_q120 == _q51 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q51, 0) && types_match (_q120, _q51)))
6310 : : {
6311 : 0 : {
6312 : 0 : tree _q111_pops[1];
6313 : 0 : if (gimple_nop_convert (_q111, _q111_pops, valueize))
6314 : : {
6315 : 0 : tree _q140 = _q111_pops[0];
6316 : 0 : if ((_q140 == _q50 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q50, 0) && types_match (_q140, _q50)))
6317 : : {
6318 : 0 : if (integer_zerop (_q21))
6319 : : {
6320 : 0 : {
6321 : 0 : tree _p1_pops[1];
6322 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
6323 : : {
6324 : 0 : tree _q170 = _p1_pops[0];
6325 : 0 : if ((_q170 == _q51 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q51, 0) && types_match (_q170, _q51)))
6326 : : {
6327 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
6328 : : {
6329 : 0 : {
6330 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q81 };
6331 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
6332 : : )
6333 : : {
6334 : 0 : {
6335 : 0 : res_ops[0] = captures[0];
6336 : 0 : res_ops[1] = captures[1];
6337 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
6338 : 0 : return true;
6339 : : }
6340 : : }
6341 : : }
6342 : : }
6343 : : }
6344 : : }
6345 : : }
6346 : : }
6347 : : }
6348 : : }
6349 : : }
6350 : : }
6351 : : }
6352 : : }
6353 : 0 : break;
6354 : : }
6355 : : default:;
6356 : : }
6357 : : }
6358 : : break;
6359 : : default:;
6360 : : }
6361 : : }
6362 : : }
6363 : : }
6364 : 0 : {
6365 : 0 : tree _q80_pops[1];
6366 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
6367 : : {
6368 : 0 : tree _q90 = _q80_pops[0];
6369 : 0 : switch (TREE_CODE (_q90))
6370 : : {
6371 : 0 : case SSA_NAME:
6372 : 0 : if (gimple *_d6 = get_def (valueize, _q90))
6373 : : {
6374 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
6375 : 0 : switch (gimple_assign_rhs_code (_a6))
6376 : : {
6377 : 0 : case PLUS_EXPR:
6378 : 0 : {
6379 : 0 : tree _q100 = gimple_assign_rhs1 (_a6);
6380 : 0 : _q100 = do_valueize (valueize, _q100);
6381 : 0 : tree _q101 = gimple_assign_rhs2 (_a6);
6382 : 0 : _q101 = do_valueize (valueize, _q101);
6383 : 0 : if (tree_swap_operands_p (_q100, _q101))
6384 : 0 : std::swap (_q100, _q101);
6385 : 0 : {
6386 : 0 : tree _q100_pops[1];
6387 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
6388 : : {
6389 : 0 : tree _q110 = _q100_pops[0];
6390 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
6391 : : {
6392 : 0 : {
6393 : 0 : tree _q101_pops[1];
6394 : 0 : if (gimple_nop_convert (_q101, _q101_pops, valueize))
6395 : : {
6396 : 0 : tree _q130 = _q101_pops[0];
6397 : 0 : if ((_q130 == _q51 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q51, 0) && types_match (_q130, _q51)))
6398 : : {
6399 : 0 : if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
6400 : : {
6401 : 0 : if (integer_zerop (_q21))
6402 : : {
6403 : 0 : {
6404 : 0 : tree _p1_pops[1];
6405 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
6406 : : {
6407 : 0 : tree _q170 = _p1_pops[0];
6408 : 0 : if ((_q170 == _q50 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q50, 0) && types_match (_q170, _q50)))
6409 : : {
6410 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
6411 : : {
6412 : 0 : {
6413 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q80 };
6414 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
6415 : : )
6416 : : {
6417 : 0 : {
6418 : 0 : res_ops[0] = captures[0];
6419 : 0 : res_ops[1] = captures[1];
6420 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
6421 : 0 : return true;
6422 : : }
6423 : : }
6424 : : }
6425 : : }
6426 : : }
6427 : : }
6428 : : }
6429 : : }
6430 : : }
6431 : : }
6432 : : }
6433 : : }
6434 : : }
6435 : 0 : if ((_q110 == _q51 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q51, 0) && types_match (_q110, _q51)))
6436 : : {
6437 : 0 : {
6438 : 0 : tree _q101_pops[1];
6439 : 0 : if (gimple_nop_convert (_q101, _q101_pops, valueize))
6440 : : {
6441 : 0 : tree _q130 = _q101_pops[0];
6442 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
6443 : : {
6444 : 0 : if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
6445 : : {
6446 : 0 : if (integer_zerop (_q21))
6447 : : {
6448 : 0 : {
6449 : 0 : tree _p1_pops[1];
6450 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
6451 : : {
6452 : 0 : tree _q170 = _p1_pops[0];
6453 : 0 : if ((_q170 == _q51 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q51, 0) && types_match (_q170, _q51)))
6454 : : {
6455 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
6456 : : {
6457 : 0 : {
6458 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q80 };
6459 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
6460 : : )
6461 : : {
6462 : 0 : {
6463 : 0 : res_ops[0] = captures[0];
6464 : 0 : res_ops[1] = captures[1];
6465 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
6466 : 0 : return true;
6467 : : }
6468 : : }
6469 : : }
6470 : : }
6471 : : }
6472 : : }
6473 : : }
6474 : : }
6475 : : }
6476 : : }
6477 : : }
6478 : : }
6479 : : }
6480 : : }
6481 : : }
6482 : 0 : break;
6483 : : }
6484 : : default:;
6485 : : }
6486 : : }
6487 : : break;
6488 : : default:;
6489 : : }
6490 : : }
6491 : : }
6492 : 0 : break;
6493 : : }
6494 : : default:;
6495 : : }
6496 : : }
6497 : : break;
6498 : : default:;
6499 : : }
6500 : 28721999 : break;
6501 : : }
6502 : : default:;
6503 : : }
6504 : : }
6505 : : break;
6506 : : default:;
6507 : : }
6508 : : break;
6509 : : }
6510 : : default:;
6511 : : }
6512 : : }
6513 : : break;
6514 : : default:;
6515 : : }
6516 : 28721999 : break;
6517 : : }
6518 : : default:;
6519 : : }
6520 : : }
6521 : : break;
6522 : : default:;
6523 : : }
6524 : : }
6525 : : }
6526 : : break;
6527 : : }
6528 : 0 : case GE_EXPR:
6529 : 0 : {
6530 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
6531 : 0 : if ((TREE_CODE (_q20) == SSA_NAME
6532 : 0 : || is_gimple_min_invariant (_q20)))
6533 : : {
6534 : 0 : _q20 = do_valueize (valueize, _q20);
6535 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
6536 : 0 : if ((TREE_CODE (_q21) == SSA_NAME
6537 : 0 : || is_gimple_min_invariant (_q21)))
6538 : : {
6539 : 0 : _q21 = do_valueize (valueize, _q21);
6540 : 0 : switch (TREE_CODE (_q20))
6541 : : {
6542 : 0 : case SSA_NAME:
6543 : 0 : if (gimple *_d2 = get_def (valueize, _q20))
6544 : : {
6545 : 0 : if (gassign *_a2 = dyn_cast <gassign *> (_d2))
6546 : 0 : switch (gimple_assign_rhs_code (_a2))
6547 : : {
6548 : 0 : case BIT_AND_EXPR:
6549 : 0 : {
6550 : 0 : tree _q30 = gimple_assign_rhs1 (_a2);
6551 : 0 : _q30 = do_valueize (valueize, _q30);
6552 : 0 : tree _q31 = gimple_assign_rhs2 (_a2);
6553 : 0 : _q31 = do_valueize (valueize, _q31);
6554 : 0 : if (tree_swap_operands_p (_q30, _q31))
6555 : 0 : std::swap (_q30, _q31);
6556 : 0 : switch (TREE_CODE (_q30))
6557 : : {
6558 : 0 : case SSA_NAME:
6559 : 0 : if (gimple *_d3 = get_def (valueize, _q30))
6560 : : {
6561 : 0 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
6562 : 0 : switch (gimple_assign_rhs_code (_a3))
6563 : : {
6564 : 0 : case BIT_XOR_EXPR:
6565 : 0 : {
6566 : 0 : tree _q40 = gimple_assign_rhs1 (_a3);
6567 : 0 : _q40 = do_valueize (valueize, _q40);
6568 : 0 : tree _q41 = gimple_assign_rhs2 (_a3);
6569 : 0 : _q41 = do_valueize (valueize, _q41);
6570 : 0 : if (tree_swap_operands_p (_q40, _q41))
6571 : 0 : std::swap (_q40, _q41);
6572 : 0 : {
6573 : 0 : tree _q41_pops[1];
6574 : 0 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
6575 : : {
6576 : 0 : tree _q60 = _q41_pops[0];
6577 : 0 : switch (TREE_CODE (_q60))
6578 : : {
6579 : 0 : case SSA_NAME:
6580 : 0 : if (gimple *_d4 = get_def (valueize, _q60))
6581 : : {
6582 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
6583 : 0 : switch (gimple_assign_rhs_code (_a4))
6584 : : {
6585 : 0 : case PLUS_EXPR:
6586 : 0 : {
6587 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
6588 : 0 : _q70 = do_valueize (valueize, _q70);
6589 : 0 : tree _q71 = gimple_assign_rhs2 (_a4);
6590 : 0 : _q71 = do_valueize (valueize, _q71);
6591 : 0 : if (tree_swap_operands_p (_q70, _q71))
6592 : 0 : std::swap (_q70, _q71);
6593 : 0 : {
6594 : 0 : tree _q70_pops[1];
6595 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
6596 : : {
6597 : 0 : tree _q80 = _q70_pops[0];
6598 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
6599 : : {
6600 : 0 : {
6601 : 0 : tree _q71_pops[1];
6602 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
6603 : : {
6604 : 0 : tree _q100 = _q71_pops[0];
6605 : 0 : switch (TREE_CODE (_q31))
6606 : : {
6607 : 0 : case SSA_NAME:
6608 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
6609 : : {
6610 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
6611 : 0 : switch (gimple_assign_rhs_code (_a5))
6612 : : {
6613 : 0 : case BIT_NOT_EXPR:
6614 : 0 : {
6615 : 0 : tree _q120 = gimple_assign_rhs1 (_a5);
6616 : 0 : _q120 = do_valueize (valueize, _q120);
6617 : 0 : switch (TREE_CODE (_q120))
6618 : : {
6619 : 0 : case SSA_NAME:
6620 : 0 : if (gimple *_d6 = get_def (valueize, _q120))
6621 : : {
6622 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
6623 : 0 : switch (gimple_assign_rhs_code (_a6))
6624 : : {
6625 : 0 : case BIT_XOR_EXPR:
6626 : 0 : {
6627 : 0 : tree _q130 = gimple_assign_rhs1 (_a6);
6628 : 0 : _q130 = do_valueize (valueize, _q130);
6629 : 0 : tree _q131 = gimple_assign_rhs2 (_a6);
6630 : 0 : _q131 = do_valueize (valueize, _q131);
6631 : 0 : if (tree_swap_operands_p (_q130, _q131))
6632 : 0 : std::swap (_q130, _q131);
6633 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
6634 : : {
6635 : 0 : if ((_q131 == _q100 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q100, 0) && types_match (_q131, _q100)))
6636 : : {
6637 : 0 : if (integer_zerop (_q21))
6638 : : {
6639 : 0 : if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
6640 : : {
6641 : 0 : switch (TREE_CODE (_p2))
6642 : : {
6643 : 0 : case SSA_NAME:
6644 : 0 : if (gimple *_d7 = get_def (valueize, _p2))
6645 : : {
6646 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
6647 : 0 : switch (gimple_assign_rhs_code (_a7))
6648 : : {
6649 : 0 : case BIT_XOR_EXPR:
6650 : 0 : {
6651 : 0 : tree _q180 = gimple_assign_rhs1 (_a7);
6652 : 0 : _q180 = do_valueize (valueize, _q180);
6653 : 0 : tree _q181 = gimple_assign_rhs2 (_a7);
6654 : 0 : _q181 = do_valueize (valueize, _q181);
6655 : 0 : if (tree_swap_operands_p (_q180, _q181))
6656 : 0 : std::swap (_q180, _q181);
6657 : 0 : switch (TREE_CODE (_q180))
6658 : : {
6659 : 0 : case SSA_NAME:
6660 : 0 : if (gimple *_d8 = get_def (valueize, _q180))
6661 : : {
6662 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
6663 : 0 : switch (gimple_assign_rhs_code (_a8))
6664 : : {
6665 : 0 : case NEGATE_EXPR:
6666 : 0 : {
6667 : 0 : tree _q190 = gimple_assign_rhs1 (_a8);
6668 : 0 : _q190 = do_valueize (valueize, _q190);
6669 : 0 : switch (TREE_CODE (_q190))
6670 : : {
6671 : 0 : case SSA_NAME:
6672 : 0 : if (gimple *_d9 = get_def (valueize, _q190))
6673 : : {
6674 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
6675 : 0 : switch (gimple_assign_rhs_code (_a9))
6676 : : {
6677 : 0 : CASE_CONVERT:
6678 : 0 : {
6679 : 0 : tree _q200 = gimple_assign_rhs1 (_a9);
6680 : 0 : _q200 = do_valueize (valueize, _q200);
6681 : 0 : switch (TREE_CODE (_q200))
6682 : : {
6683 : 0 : case SSA_NAME:
6684 : 0 : if (gimple *_d10 = get_def (valueize, _q200))
6685 : : {
6686 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
6687 : 0 : switch (gimple_assign_rhs_code (_a10))
6688 : : {
6689 : 0 : case LT_EXPR:
6690 : 0 : {
6691 : 0 : tree _q210 = gimple_assign_rhs1 (_a10);
6692 : 0 : _q210 = do_valueize (valueize, _q210);
6693 : 0 : tree _q211 = gimple_assign_rhs2 (_a10);
6694 : 0 : _q211 = do_valueize (valueize, _q211);
6695 : 0 : if ((_q210 == _q40 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q40, 0) && types_match (_q210, _q40)))
6696 : : {
6697 : 0 : if (integer_zerop (_q211))
6698 : : {
6699 : 0 : if (gimple_max_value (_q181, valueize))
6700 : : {
6701 : 0 : {
6702 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
6703 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
6704 : : )
6705 : : {
6706 : 0 : {
6707 : 0 : res_ops[0] = captures[0];
6708 : 0 : res_ops[1] = captures[1];
6709 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
6710 : 0 : return true;
6711 : : }
6712 : : }
6713 : : }
6714 : : }
6715 : : }
6716 : : }
6717 : : break;
6718 : : }
6719 : : default:;
6720 : : }
6721 : : }
6722 : : break;
6723 : : default:;
6724 : : }
6725 : : break;
6726 : : }
6727 : : default:;
6728 : : }
6729 : : }
6730 : : break;
6731 : : default:;
6732 : : }
6733 : : break;
6734 : : }
6735 : : default:;
6736 : : }
6737 : : }
6738 : : break;
6739 : 0 : default:;
6740 : : }
6741 : 0 : if (gimple_max_value (_q180, valueize))
6742 : : {
6743 : 0 : switch (TREE_CODE (_q181))
6744 : : {
6745 : 0 : case SSA_NAME:
6746 : 0 : if (gimple *_d8 = get_def (valueize, _q181))
6747 : : {
6748 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
6749 : 0 : switch (gimple_assign_rhs_code (_a8))
6750 : : {
6751 : 0 : case NEGATE_EXPR:
6752 : 0 : {
6753 : 0 : tree _q200 = gimple_assign_rhs1 (_a8);
6754 : 0 : _q200 = do_valueize (valueize, _q200);
6755 : 0 : switch (TREE_CODE (_q200))
6756 : : {
6757 : 0 : case SSA_NAME:
6758 : 0 : if (gimple *_d9 = get_def (valueize, _q200))
6759 : : {
6760 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
6761 : 0 : switch (gimple_assign_rhs_code (_a9))
6762 : : {
6763 : 0 : CASE_CONVERT:
6764 : 0 : {
6765 : 0 : tree _q210 = gimple_assign_rhs1 (_a9);
6766 : 0 : _q210 = do_valueize (valueize, _q210);
6767 : 0 : switch (TREE_CODE (_q210))
6768 : : {
6769 : 0 : case SSA_NAME:
6770 : 0 : if (gimple *_d10 = get_def (valueize, _q210))
6771 : : {
6772 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
6773 : 0 : switch (gimple_assign_rhs_code (_a10))
6774 : : {
6775 : 0 : case LT_EXPR:
6776 : 0 : {
6777 : 0 : tree _q220 = gimple_assign_rhs1 (_a10);
6778 : 0 : _q220 = do_valueize (valueize, _q220);
6779 : 0 : tree _q221 = gimple_assign_rhs2 (_a10);
6780 : 0 : _q221 = do_valueize (valueize, _q221);
6781 : 0 : if ((_q220 == _q40 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q40, 0) && types_match (_q220, _q40)))
6782 : : {
6783 : 0 : if (integer_zerop (_q221))
6784 : : {
6785 : 0 : {
6786 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
6787 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
6788 : : )
6789 : : {
6790 : 0 : {
6791 : 0 : res_ops[0] = captures[0];
6792 : 0 : res_ops[1] = captures[1];
6793 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
6794 : 0 : return true;
6795 : : }
6796 : : }
6797 : : }
6798 : : }
6799 : : }
6800 : : break;
6801 : : }
6802 : : default:;
6803 : : }
6804 : : }
6805 : : break;
6806 : : default:;
6807 : : }
6808 : : break;
6809 : : }
6810 : : default:;
6811 : : }
6812 : : }
6813 : : break;
6814 : : default:;
6815 : : }
6816 : : break;
6817 : : }
6818 : : default:;
6819 : : }
6820 : : }
6821 : : break;
6822 : : default:;
6823 : : }
6824 : : }
6825 : 0 : break;
6826 : : }
6827 : : default:;
6828 : : }
6829 : : }
6830 : : break;
6831 : : default:;
6832 : : }
6833 : : }
6834 : : }
6835 : : }
6836 : : }
6837 : 0 : if ((_q130 == _q100 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q100, 0) && types_match (_q130, _q100)))
6838 : : {
6839 : 0 : if ((_q131 == _q40 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q40, 0) && types_match (_q131, _q40)))
6840 : : {
6841 : 0 : if (integer_zerop (_q21))
6842 : : {
6843 : 0 : if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
6844 : : {
6845 : 0 : switch (TREE_CODE (_p2))
6846 : : {
6847 : 0 : case SSA_NAME:
6848 : 0 : if (gimple *_d7 = get_def (valueize, _p2))
6849 : : {
6850 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
6851 : 0 : switch (gimple_assign_rhs_code (_a7))
6852 : : {
6853 : 0 : case BIT_XOR_EXPR:
6854 : 0 : {
6855 : 0 : tree _q180 = gimple_assign_rhs1 (_a7);
6856 : 0 : _q180 = do_valueize (valueize, _q180);
6857 : 0 : tree _q181 = gimple_assign_rhs2 (_a7);
6858 : 0 : _q181 = do_valueize (valueize, _q181);
6859 : 0 : if (tree_swap_operands_p (_q180, _q181))
6860 : 0 : std::swap (_q180, _q181);
6861 : 0 : switch (TREE_CODE (_q180))
6862 : : {
6863 : 0 : case SSA_NAME:
6864 : 0 : if (gimple *_d8 = get_def (valueize, _q180))
6865 : : {
6866 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
6867 : 0 : switch (gimple_assign_rhs_code (_a8))
6868 : : {
6869 : 0 : case NEGATE_EXPR:
6870 : 0 : {
6871 : 0 : tree _q190 = gimple_assign_rhs1 (_a8);
6872 : 0 : _q190 = do_valueize (valueize, _q190);
6873 : 0 : switch (TREE_CODE (_q190))
6874 : : {
6875 : 0 : case SSA_NAME:
6876 : 0 : if (gimple *_d9 = get_def (valueize, _q190))
6877 : : {
6878 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
6879 : 0 : switch (gimple_assign_rhs_code (_a9))
6880 : : {
6881 : 0 : CASE_CONVERT:
6882 : 0 : {
6883 : 0 : tree _q200 = gimple_assign_rhs1 (_a9);
6884 : 0 : _q200 = do_valueize (valueize, _q200);
6885 : 0 : switch (TREE_CODE (_q200))
6886 : : {
6887 : 0 : case SSA_NAME:
6888 : 0 : if (gimple *_d10 = get_def (valueize, _q200))
6889 : : {
6890 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
6891 : 0 : switch (gimple_assign_rhs_code (_a10))
6892 : : {
6893 : 0 : case LT_EXPR:
6894 : 0 : {
6895 : 0 : tree _q210 = gimple_assign_rhs1 (_a10);
6896 : 0 : _q210 = do_valueize (valueize, _q210);
6897 : 0 : tree _q211 = gimple_assign_rhs2 (_a10);
6898 : 0 : _q211 = do_valueize (valueize, _q211);
6899 : 0 : if ((_q210 == _q40 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q40, 0) && types_match (_q210, _q40)))
6900 : : {
6901 : 0 : if (integer_zerop (_q211))
6902 : : {
6903 : 0 : if (gimple_max_value (_q181, valueize))
6904 : : {
6905 : 0 : {
6906 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
6907 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
6908 : : )
6909 : : {
6910 : 0 : {
6911 : 0 : res_ops[0] = captures[0];
6912 : 0 : res_ops[1] = captures[1];
6913 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
6914 : 0 : return true;
6915 : : }
6916 : : }
6917 : : }
6918 : : }
6919 : : }
6920 : : }
6921 : : break;
6922 : : }
6923 : : default:;
6924 : : }
6925 : : }
6926 : : break;
6927 : : default:;
6928 : : }
6929 : : break;
6930 : : }
6931 : : default:;
6932 : : }
6933 : : }
6934 : : break;
6935 : : default:;
6936 : : }
6937 : : break;
6938 : : }
6939 : : default:;
6940 : : }
6941 : : }
6942 : : break;
6943 : 0 : default:;
6944 : : }
6945 : 0 : if (gimple_max_value (_q180, valueize))
6946 : : {
6947 : 0 : switch (TREE_CODE (_q181))
6948 : : {
6949 : 0 : case SSA_NAME:
6950 : 0 : if (gimple *_d8 = get_def (valueize, _q181))
6951 : : {
6952 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
6953 : 0 : switch (gimple_assign_rhs_code (_a8))
6954 : : {
6955 : 0 : case NEGATE_EXPR:
6956 : 0 : {
6957 : 0 : tree _q200 = gimple_assign_rhs1 (_a8);
6958 : 0 : _q200 = do_valueize (valueize, _q200);
6959 : 0 : switch (TREE_CODE (_q200))
6960 : : {
6961 : 0 : case SSA_NAME:
6962 : 0 : if (gimple *_d9 = get_def (valueize, _q200))
6963 : : {
6964 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
6965 : 0 : switch (gimple_assign_rhs_code (_a9))
6966 : : {
6967 : 0 : CASE_CONVERT:
6968 : 0 : {
6969 : 0 : tree _q210 = gimple_assign_rhs1 (_a9);
6970 : 0 : _q210 = do_valueize (valueize, _q210);
6971 : 0 : switch (TREE_CODE (_q210))
6972 : : {
6973 : 0 : case SSA_NAME:
6974 : 0 : if (gimple *_d10 = get_def (valueize, _q210))
6975 : : {
6976 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
6977 : 0 : switch (gimple_assign_rhs_code (_a10))
6978 : : {
6979 : 0 : case LT_EXPR:
6980 : 0 : {
6981 : 0 : tree _q220 = gimple_assign_rhs1 (_a10);
6982 : 0 : _q220 = do_valueize (valueize, _q220);
6983 : 0 : tree _q221 = gimple_assign_rhs2 (_a10);
6984 : 0 : _q221 = do_valueize (valueize, _q221);
6985 : 0 : if ((_q220 == _q40 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q40, 0) && types_match (_q220, _q40)))
6986 : : {
6987 : 0 : if (integer_zerop (_q221))
6988 : : {
6989 : 0 : {
6990 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
6991 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
6992 : : )
6993 : : {
6994 : 0 : {
6995 : 0 : res_ops[0] = captures[0];
6996 : 0 : res_ops[1] = captures[1];
6997 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
6998 : 0 : return true;
6999 : : }
7000 : : }
7001 : : }
7002 : : }
7003 : : }
7004 : : break;
7005 : : }
7006 : : default:;
7007 : : }
7008 : : }
7009 : : break;
7010 : : default:;
7011 : : }
7012 : : break;
7013 : : }
7014 : : default:;
7015 : : }
7016 : : }
7017 : : break;
7018 : : default:;
7019 : : }
7020 : : break;
7021 : : }
7022 : : default:;
7023 : : }
7024 : : }
7025 : : break;
7026 : : default:;
7027 : : }
7028 : : }
7029 : 0 : break;
7030 : : }
7031 : : default:;
7032 : : }
7033 : : }
7034 : : break;
7035 : : default:;
7036 : : }
7037 : : }
7038 : : }
7039 : : }
7040 : : }
7041 : 0 : break;
7042 : : }
7043 : : default:;
7044 : : }
7045 : : }
7046 : : break;
7047 : : default:;
7048 : : }
7049 : : break;
7050 : : }
7051 : : default:;
7052 : : }
7053 : : }
7054 : : break;
7055 : : default:;
7056 : : }
7057 : : }
7058 : : }
7059 : : }
7060 : : }
7061 : : }
7062 : 0 : break;
7063 : : }
7064 : : default:;
7065 : : }
7066 : : }
7067 : : break;
7068 : : default:;
7069 : : }
7070 : : }
7071 : : }
7072 : 0 : break;
7073 : : }
7074 : 0 : case BIT_NOT_EXPR:
7075 : 0 : {
7076 : 0 : tree _q40 = gimple_assign_rhs1 (_a3);
7077 : 0 : _q40 = do_valueize (valueize, _q40);
7078 : 0 : switch (TREE_CODE (_q40))
7079 : : {
7080 : 0 : case SSA_NAME:
7081 : 0 : if (gimple *_d4 = get_def (valueize, _q40))
7082 : : {
7083 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
7084 : 0 : switch (gimple_assign_rhs_code (_a4))
7085 : : {
7086 : 0 : case BIT_XOR_EXPR:
7087 : 0 : {
7088 : 0 : tree _q50 = gimple_assign_rhs1 (_a4);
7089 : 0 : _q50 = do_valueize (valueize, _q50);
7090 : 0 : tree _q51 = gimple_assign_rhs2 (_a4);
7091 : 0 : _q51 = do_valueize (valueize, _q51);
7092 : 0 : if (tree_swap_operands_p (_q50, _q51))
7093 : 0 : std::swap (_q50, _q51);
7094 : 0 : switch (TREE_CODE (_q31))
7095 : : {
7096 : 0 : case SSA_NAME:
7097 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
7098 : : {
7099 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
7100 : 0 : switch (gimple_assign_rhs_code (_a5))
7101 : : {
7102 : 0 : case BIT_XOR_EXPR:
7103 : 0 : {
7104 : 0 : tree _q80 = gimple_assign_rhs1 (_a5);
7105 : 0 : _q80 = do_valueize (valueize, _q80);
7106 : 0 : tree _q81 = gimple_assign_rhs2 (_a5);
7107 : 0 : _q81 = do_valueize (valueize, _q81);
7108 : 0 : if (tree_swap_operands_p (_q80, _q81))
7109 : 0 : std::swap (_q80, _q81);
7110 : 0 : if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
7111 : : {
7112 : 0 : {
7113 : 0 : tree _q81_pops[1];
7114 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
7115 : : {
7116 : 0 : tree _q100 = _q81_pops[0];
7117 : 0 : switch (TREE_CODE (_q100))
7118 : : {
7119 : 0 : case SSA_NAME:
7120 : 0 : if (gimple *_d6 = get_def (valueize, _q100))
7121 : : {
7122 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
7123 : 0 : switch (gimple_assign_rhs_code (_a6))
7124 : : {
7125 : 0 : case PLUS_EXPR:
7126 : 0 : {
7127 : 0 : tree _q110 = gimple_assign_rhs1 (_a6);
7128 : 0 : _q110 = do_valueize (valueize, _q110);
7129 : 0 : tree _q111 = gimple_assign_rhs2 (_a6);
7130 : 0 : _q111 = do_valueize (valueize, _q111);
7131 : 0 : if (tree_swap_operands_p (_q110, _q111))
7132 : 0 : std::swap (_q110, _q111);
7133 : 0 : {
7134 : 0 : tree _q110_pops[1];
7135 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
7136 : : {
7137 : 0 : tree _q120 = _q110_pops[0];
7138 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
7139 : : {
7140 : 0 : {
7141 : 0 : tree _q111_pops[1];
7142 : 0 : if (gimple_nop_convert (_q111, _q111_pops, valueize))
7143 : : {
7144 : 0 : tree _q140 = _q111_pops[0];
7145 : 0 : if ((_q140 == _q51 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q51, 0) && types_match (_q140, _q51)))
7146 : : {
7147 : 0 : if (integer_zerop (_q21))
7148 : : {
7149 : 0 : if ((_p1 == _q81 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q81, 0) && types_match (_p1, _q81)))
7150 : : {
7151 : 0 : switch (TREE_CODE (_p2))
7152 : : {
7153 : 0 : case SSA_NAME:
7154 : 0 : if (gimple *_d7 = get_def (valueize, _p2))
7155 : : {
7156 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
7157 : 0 : switch (gimple_assign_rhs_code (_a7))
7158 : : {
7159 : 0 : case BIT_XOR_EXPR:
7160 : 0 : {
7161 : 0 : tree _q180 = gimple_assign_rhs1 (_a7);
7162 : 0 : _q180 = do_valueize (valueize, _q180);
7163 : 0 : tree _q181 = gimple_assign_rhs2 (_a7);
7164 : 0 : _q181 = do_valueize (valueize, _q181);
7165 : 0 : if (tree_swap_operands_p (_q180, _q181))
7166 : 0 : std::swap (_q180, _q181);
7167 : 0 : switch (TREE_CODE (_q180))
7168 : : {
7169 : 0 : case SSA_NAME:
7170 : 0 : if (gimple *_d8 = get_def (valueize, _q180))
7171 : : {
7172 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
7173 : 0 : switch (gimple_assign_rhs_code (_a8))
7174 : : {
7175 : 0 : case NEGATE_EXPR:
7176 : 0 : {
7177 : 0 : tree _q190 = gimple_assign_rhs1 (_a8);
7178 : 0 : _q190 = do_valueize (valueize, _q190);
7179 : 0 : switch (TREE_CODE (_q190))
7180 : : {
7181 : 0 : case SSA_NAME:
7182 : 0 : if (gimple *_d9 = get_def (valueize, _q190))
7183 : : {
7184 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
7185 : 0 : switch (gimple_assign_rhs_code (_a9))
7186 : : {
7187 : 0 : CASE_CONVERT:
7188 : 0 : {
7189 : 0 : tree _q200 = gimple_assign_rhs1 (_a9);
7190 : 0 : _q200 = do_valueize (valueize, _q200);
7191 : 0 : switch (TREE_CODE (_q200))
7192 : : {
7193 : 0 : case SSA_NAME:
7194 : 0 : if (gimple *_d10 = get_def (valueize, _q200))
7195 : : {
7196 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
7197 : 0 : switch (gimple_assign_rhs_code (_a10))
7198 : : {
7199 : 0 : case LT_EXPR:
7200 : 0 : {
7201 : 0 : tree _q210 = gimple_assign_rhs1 (_a10);
7202 : 0 : _q210 = do_valueize (valueize, _q210);
7203 : 0 : tree _q211 = gimple_assign_rhs2 (_a10);
7204 : 0 : _q211 = do_valueize (valueize, _q211);
7205 : 0 : if ((_q210 == _q50 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q50, 0) && types_match (_q210, _q50)))
7206 : : {
7207 : 0 : if (integer_zerop (_q211))
7208 : : {
7209 : 0 : if (gimple_max_value (_q181, valueize))
7210 : : {
7211 : 0 : {
7212 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q81 };
7213 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
7214 : : )
7215 : : {
7216 : 0 : {
7217 : 0 : res_ops[0] = captures[0];
7218 : 0 : res_ops[1] = captures[1];
7219 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
7220 : 0 : return true;
7221 : : }
7222 : : }
7223 : : }
7224 : : }
7225 : : }
7226 : : }
7227 : : break;
7228 : : }
7229 : : default:;
7230 : : }
7231 : : }
7232 : : break;
7233 : : default:;
7234 : : }
7235 : : break;
7236 : : }
7237 : : default:;
7238 : : }
7239 : : }
7240 : : break;
7241 : : default:;
7242 : : }
7243 : : break;
7244 : : }
7245 : : default:;
7246 : : }
7247 : : }
7248 : : break;
7249 : 0 : default:;
7250 : : }
7251 : 0 : if (gimple_max_value (_q180, valueize))
7252 : : {
7253 : 0 : switch (TREE_CODE (_q181))
7254 : : {
7255 : 0 : case SSA_NAME:
7256 : 0 : if (gimple *_d8 = get_def (valueize, _q181))
7257 : : {
7258 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
7259 : 0 : switch (gimple_assign_rhs_code (_a8))
7260 : : {
7261 : 0 : case NEGATE_EXPR:
7262 : 0 : {
7263 : 0 : tree _q200 = gimple_assign_rhs1 (_a8);
7264 : 0 : _q200 = do_valueize (valueize, _q200);
7265 : 0 : switch (TREE_CODE (_q200))
7266 : : {
7267 : 0 : case SSA_NAME:
7268 : 0 : if (gimple *_d9 = get_def (valueize, _q200))
7269 : : {
7270 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
7271 : 0 : switch (gimple_assign_rhs_code (_a9))
7272 : : {
7273 : 0 : CASE_CONVERT:
7274 : 0 : {
7275 : 0 : tree _q210 = gimple_assign_rhs1 (_a9);
7276 : 0 : _q210 = do_valueize (valueize, _q210);
7277 : 0 : switch (TREE_CODE (_q210))
7278 : : {
7279 : 0 : case SSA_NAME:
7280 : 0 : if (gimple *_d10 = get_def (valueize, _q210))
7281 : : {
7282 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
7283 : 0 : switch (gimple_assign_rhs_code (_a10))
7284 : : {
7285 : 0 : case LT_EXPR:
7286 : 0 : {
7287 : 0 : tree _q220 = gimple_assign_rhs1 (_a10);
7288 : 0 : _q220 = do_valueize (valueize, _q220);
7289 : 0 : tree _q221 = gimple_assign_rhs2 (_a10);
7290 : 0 : _q221 = do_valueize (valueize, _q221);
7291 : 0 : if ((_q220 == _q50 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q50, 0) && types_match (_q220, _q50)))
7292 : : {
7293 : 0 : if (integer_zerop (_q221))
7294 : : {
7295 : 0 : {
7296 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q81 };
7297 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
7298 : : )
7299 : : {
7300 : 0 : {
7301 : 0 : res_ops[0] = captures[0];
7302 : 0 : res_ops[1] = captures[1];
7303 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
7304 : 0 : return true;
7305 : : }
7306 : : }
7307 : : }
7308 : : }
7309 : : }
7310 : : break;
7311 : : }
7312 : : default:;
7313 : : }
7314 : : }
7315 : : break;
7316 : : default:;
7317 : : }
7318 : : break;
7319 : : }
7320 : : default:;
7321 : : }
7322 : : }
7323 : : break;
7324 : : default:;
7325 : : }
7326 : : break;
7327 : : }
7328 : : default:;
7329 : : }
7330 : : }
7331 : : break;
7332 : : default:;
7333 : : }
7334 : : }
7335 : 0 : break;
7336 : : }
7337 : : default:;
7338 : : }
7339 : : }
7340 : : break;
7341 : : default:;
7342 : : }
7343 : : }
7344 : : }
7345 : : }
7346 : : }
7347 : : }
7348 : : }
7349 : : }
7350 : : }
7351 : 0 : break;
7352 : : }
7353 : : default:;
7354 : : }
7355 : : }
7356 : : break;
7357 : : default:;
7358 : : }
7359 : : }
7360 : : }
7361 : : }
7362 : 0 : if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
7363 : : {
7364 : 0 : {
7365 : 0 : tree _q81_pops[1];
7366 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
7367 : : {
7368 : 0 : tree _q100 = _q81_pops[0];
7369 : 0 : switch (TREE_CODE (_q100))
7370 : : {
7371 : 0 : case SSA_NAME:
7372 : 0 : if (gimple *_d6 = get_def (valueize, _q100))
7373 : : {
7374 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
7375 : 0 : switch (gimple_assign_rhs_code (_a6))
7376 : : {
7377 : 0 : case PLUS_EXPR:
7378 : 0 : {
7379 : 0 : tree _q110 = gimple_assign_rhs1 (_a6);
7380 : 0 : _q110 = do_valueize (valueize, _q110);
7381 : 0 : tree _q111 = gimple_assign_rhs2 (_a6);
7382 : 0 : _q111 = do_valueize (valueize, _q111);
7383 : 0 : if (tree_swap_operands_p (_q110, _q111))
7384 : 0 : std::swap (_q110, _q111);
7385 : 0 : {
7386 : 0 : tree _q110_pops[1];
7387 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
7388 : : {
7389 : 0 : tree _q120 = _q110_pops[0];
7390 : 0 : if ((_q120 == _q51 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q51, 0) && types_match (_q120, _q51)))
7391 : : {
7392 : 0 : {
7393 : 0 : tree _q111_pops[1];
7394 : 0 : if (gimple_nop_convert (_q111, _q111_pops, valueize))
7395 : : {
7396 : 0 : tree _q140 = _q111_pops[0];
7397 : 0 : if ((_q140 == _q50 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q50, 0) && types_match (_q140, _q50)))
7398 : : {
7399 : 0 : if (integer_zerop (_q21))
7400 : : {
7401 : 0 : if ((_p1 == _q81 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q81, 0) && types_match (_p1, _q81)))
7402 : : {
7403 : 0 : switch (TREE_CODE (_p2))
7404 : : {
7405 : 0 : case SSA_NAME:
7406 : 0 : if (gimple *_d7 = get_def (valueize, _p2))
7407 : : {
7408 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
7409 : 0 : switch (gimple_assign_rhs_code (_a7))
7410 : : {
7411 : 0 : case BIT_XOR_EXPR:
7412 : 0 : {
7413 : 0 : tree _q180 = gimple_assign_rhs1 (_a7);
7414 : 0 : _q180 = do_valueize (valueize, _q180);
7415 : 0 : tree _q181 = gimple_assign_rhs2 (_a7);
7416 : 0 : _q181 = do_valueize (valueize, _q181);
7417 : 0 : if (tree_swap_operands_p (_q180, _q181))
7418 : 0 : std::swap (_q180, _q181);
7419 : 0 : switch (TREE_CODE (_q180))
7420 : : {
7421 : 0 : case SSA_NAME:
7422 : 0 : if (gimple *_d8 = get_def (valueize, _q180))
7423 : : {
7424 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
7425 : 0 : switch (gimple_assign_rhs_code (_a8))
7426 : : {
7427 : 0 : case NEGATE_EXPR:
7428 : 0 : {
7429 : 0 : tree _q190 = gimple_assign_rhs1 (_a8);
7430 : 0 : _q190 = do_valueize (valueize, _q190);
7431 : 0 : switch (TREE_CODE (_q190))
7432 : : {
7433 : 0 : case SSA_NAME:
7434 : 0 : if (gimple *_d9 = get_def (valueize, _q190))
7435 : : {
7436 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
7437 : 0 : switch (gimple_assign_rhs_code (_a9))
7438 : : {
7439 : 0 : CASE_CONVERT:
7440 : 0 : {
7441 : 0 : tree _q200 = gimple_assign_rhs1 (_a9);
7442 : 0 : _q200 = do_valueize (valueize, _q200);
7443 : 0 : switch (TREE_CODE (_q200))
7444 : : {
7445 : 0 : case SSA_NAME:
7446 : 0 : if (gimple *_d10 = get_def (valueize, _q200))
7447 : : {
7448 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
7449 : 0 : switch (gimple_assign_rhs_code (_a10))
7450 : : {
7451 : 0 : case LT_EXPR:
7452 : 0 : {
7453 : 0 : tree _q210 = gimple_assign_rhs1 (_a10);
7454 : 0 : _q210 = do_valueize (valueize, _q210);
7455 : 0 : tree _q211 = gimple_assign_rhs2 (_a10);
7456 : 0 : _q211 = do_valueize (valueize, _q211);
7457 : 0 : if ((_q210 == _q51 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q51, 0) && types_match (_q210, _q51)))
7458 : : {
7459 : 0 : if (integer_zerop (_q211))
7460 : : {
7461 : 0 : if (gimple_max_value (_q181, valueize))
7462 : : {
7463 : 0 : {
7464 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q81 };
7465 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
7466 : : )
7467 : : {
7468 : 0 : {
7469 : 0 : res_ops[0] = captures[0];
7470 : 0 : res_ops[1] = captures[1];
7471 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
7472 : 0 : return true;
7473 : : }
7474 : : }
7475 : : }
7476 : : }
7477 : : }
7478 : : }
7479 : : break;
7480 : : }
7481 : : default:;
7482 : : }
7483 : : }
7484 : : break;
7485 : : default:;
7486 : : }
7487 : : break;
7488 : : }
7489 : : default:;
7490 : : }
7491 : : }
7492 : : break;
7493 : : default:;
7494 : : }
7495 : : break;
7496 : : }
7497 : : default:;
7498 : : }
7499 : : }
7500 : : break;
7501 : 0 : default:;
7502 : : }
7503 : 0 : if (gimple_max_value (_q180, valueize))
7504 : : {
7505 : 0 : switch (TREE_CODE (_q181))
7506 : : {
7507 : 0 : case SSA_NAME:
7508 : 0 : if (gimple *_d8 = get_def (valueize, _q181))
7509 : : {
7510 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
7511 : 0 : switch (gimple_assign_rhs_code (_a8))
7512 : : {
7513 : 0 : case NEGATE_EXPR:
7514 : 0 : {
7515 : 0 : tree _q200 = gimple_assign_rhs1 (_a8);
7516 : 0 : _q200 = do_valueize (valueize, _q200);
7517 : 0 : switch (TREE_CODE (_q200))
7518 : : {
7519 : 0 : case SSA_NAME:
7520 : 0 : if (gimple *_d9 = get_def (valueize, _q200))
7521 : : {
7522 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
7523 : 0 : switch (gimple_assign_rhs_code (_a9))
7524 : : {
7525 : 0 : CASE_CONVERT:
7526 : 0 : {
7527 : 0 : tree _q210 = gimple_assign_rhs1 (_a9);
7528 : 0 : _q210 = do_valueize (valueize, _q210);
7529 : 0 : switch (TREE_CODE (_q210))
7530 : : {
7531 : 0 : case SSA_NAME:
7532 : 0 : if (gimple *_d10 = get_def (valueize, _q210))
7533 : : {
7534 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
7535 : 0 : switch (gimple_assign_rhs_code (_a10))
7536 : : {
7537 : 0 : case LT_EXPR:
7538 : 0 : {
7539 : 0 : tree _q220 = gimple_assign_rhs1 (_a10);
7540 : 0 : _q220 = do_valueize (valueize, _q220);
7541 : 0 : tree _q221 = gimple_assign_rhs2 (_a10);
7542 : 0 : _q221 = do_valueize (valueize, _q221);
7543 : 0 : if ((_q220 == _q51 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q51, 0) && types_match (_q220, _q51)))
7544 : : {
7545 : 0 : if (integer_zerop (_q221))
7546 : : {
7547 : 0 : {
7548 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q81 };
7549 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
7550 : : )
7551 : : {
7552 : 0 : {
7553 : 0 : res_ops[0] = captures[0];
7554 : 0 : res_ops[1] = captures[1];
7555 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
7556 : 0 : return true;
7557 : : }
7558 : : }
7559 : : }
7560 : : }
7561 : : }
7562 : : break;
7563 : : }
7564 : : default:;
7565 : : }
7566 : : }
7567 : : break;
7568 : : default:;
7569 : : }
7570 : : break;
7571 : : }
7572 : : default:;
7573 : : }
7574 : : }
7575 : : break;
7576 : : default:;
7577 : : }
7578 : : break;
7579 : : }
7580 : : default:;
7581 : : }
7582 : : }
7583 : : break;
7584 : : default:;
7585 : : }
7586 : : }
7587 : 0 : break;
7588 : : }
7589 : : default:;
7590 : : }
7591 : : }
7592 : : break;
7593 : : default:;
7594 : : }
7595 : : }
7596 : : }
7597 : : }
7598 : : }
7599 : : }
7600 : : }
7601 : : }
7602 : : }
7603 : 0 : break;
7604 : : }
7605 : : default:;
7606 : : }
7607 : : }
7608 : : break;
7609 : : default:;
7610 : : }
7611 : : }
7612 : : }
7613 : : }
7614 : 28721999 : break;
7615 : : }
7616 : : default:;
7617 : : }
7618 : : }
7619 : : break;
7620 : : default:;
7621 : : }
7622 : 28721999 : break;
7623 : : }
7624 : : default:;
7625 : : }
7626 : : }
7627 : : break;
7628 : : default:;
7629 : : }
7630 : : break;
7631 : : }
7632 : : default:;
7633 : : }
7634 : : }
7635 : : break;
7636 : : default:;
7637 : : }
7638 : 28721999 : break;
7639 : : }
7640 : 0 : case BIT_IOR_EXPR:
7641 : 0 : {
7642 : 0 : tree _q30 = gimple_assign_rhs1 (_a2);
7643 : 0 : _q30 = do_valueize (valueize, _q30);
7644 : 0 : tree _q31 = gimple_assign_rhs2 (_a2);
7645 : 0 : _q31 = do_valueize (valueize, _q31);
7646 : 0 : if (tree_swap_operands_p (_q30, _q31))
7647 : 0 : std::swap (_q30, _q31);
7648 : 0 : switch (TREE_CODE (_q30))
7649 : : {
7650 : 0 : case SSA_NAME:
7651 : 0 : if (gimple *_d3 = get_def (valueize, _q30))
7652 : : {
7653 : 0 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
7654 : 0 : switch (gimple_assign_rhs_code (_a3))
7655 : : {
7656 : 0 : case BIT_XOR_EXPR:
7657 : 0 : {
7658 : 0 : tree _q40 = gimple_assign_rhs1 (_a3);
7659 : 0 : _q40 = do_valueize (valueize, _q40);
7660 : 0 : tree _q41 = gimple_assign_rhs2 (_a3);
7661 : 0 : _q41 = do_valueize (valueize, _q41);
7662 : 0 : if (tree_swap_operands_p (_q40, _q41))
7663 : 0 : std::swap (_q40, _q41);
7664 : 0 : switch (TREE_CODE (_q41))
7665 : : {
7666 : 0 : case INTEGER_CST:
7667 : 0 : {
7668 : 0 : switch (TREE_CODE (_q31))
7669 : : {
7670 : 0 : case SSA_NAME:
7671 : 0 : if (gimple *_d4 = get_def (valueize, _q31))
7672 : : {
7673 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
7674 : 0 : switch (gimple_assign_rhs_code (_a4))
7675 : : {
7676 : 0 : case BIT_NOT_EXPR:
7677 : 0 : {
7678 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
7679 : 0 : _q70 = do_valueize (valueize, _q70);
7680 : 0 : switch (TREE_CODE (_q70))
7681 : : {
7682 : 0 : case SSA_NAME:
7683 : 0 : if (gimple *_d5 = get_def (valueize, _q70))
7684 : : {
7685 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
7686 : 0 : switch (gimple_assign_rhs_code (_a5))
7687 : : {
7688 : 0 : case BIT_XOR_EXPR:
7689 : 0 : {
7690 : 0 : tree _q80 = gimple_assign_rhs1 (_a5);
7691 : 0 : _q80 = do_valueize (valueize, _q80);
7692 : 0 : tree _q81 = gimple_assign_rhs2 (_a5);
7693 : 0 : _q81 = do_valueize (valueize, _q81);
7694 : 0 : if (tree_swap_operands_p (_q80, _q81))
7695 : 0 : std::swap (_q80, _q81);
7696 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
7697 : : {
7698 : 0 : {
7699 : 0 : tree _q81_pops[1];
7700 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
7701 : : {
7702 : 0 : tree _q100 = _q81_pops[0];
7703 : 0 : switch (TREE_CODE (_q100))
7704 : : {
7705 : 0 : case SSA_NAME:
7706 : 0 : if (gimple *_d6 = get_def (valueize, _q100))
7707 : : {
7708 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
7709 : 0 : switch (gimple_assign_rhs_code (_a6))
7710 : : {
7711 : 0 : case PLUS_EXPR:
7712 : 0 : {
7713 : 0 : tree _q110 = gimple_assign_rhs1 (_a6);
7714 : 0 : _q110 = do_valueize (valueize, _q110);
7715 : 0 : tree _q111 = gimple_assign_rhs2 (_a6);
7716 : 0 : _q111 = do_valueize (valueize, _q111);
7717 : 0 : if (tree_swap_operands_p (_q110, _q111))
7718 : 0 : std::swap (_q110, _q111);
7719 : 0 : {
7720 : 0 : tree _q110_pops[1];
7721 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
7722 : : {
7723 : 0 : tree _q120 = _q110_pops[0];
7724 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
7725 : : {
7726 : 0 : switch (TREE_CODE (_q111))
7727 : : {
7728 : 0 : case INTEGER_CST:
7729 : 0 : {
7730 : 0 : if (integer_zerop (_q21))
7731 : : {
7732 : 0 : {
7733 : 0 : tree _p1_pops[1];
7734 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
7735 : : {
7736 : 0 : tree _q160 = _p1_pops[0];
7737 : 0 : if ((_q160 == _q40 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q40, 0) && types_match (_q160, _q40)))
7738 : : {
7739 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
7740 : : {
7741 : 0 : {
7742 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q81, _q111 };
7743 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
7744 : : )
7745 : : {
7746 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
7747 : : )
7748 : : {
7749 : 0 : {
7750 : 0 : res_ops[0] = captures[0];
7751 : 0 : res_ops[1] = captures[1];
7752 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
7753 : 0 : return true;
7754 : : }
7755 : : }
7756 : : }
7757 : : }
7758 : : }
7759 : : }
7760 : : }
7761 : : }
7762 : : }
7763 : : break;
7764 : : }
7765 : : default:;
7766 : : }
7767 : : }
7768 : : }
7769 : : }
7770 : 0 : break;
7771 : : }
7772 : : default:;
7773 : : }
7774 : : }
7775 : : break;
7776 : : default:;
7777 : : }
7778 : : }
7779 : : }
7780 : : }
7781 : 0 : {
7782 : 0 : tree _q80_pops[1];
7783 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
7784 : : {
7785 : 0 : tree _q90 = _q80_pops[0];
7786 : 0 : switch (TREE_CODE (_q90))
7787 : : {
7788 : 0 : case SSA_NAME:
7789 : 0 : if (gimple *_d6 = get_def (valueize, _q90))
7790 : : {
7791 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
7792 : 0 : switch (gimple_assign_rhs_code (_a6))
7793 : : {
7794 : 0 : case PLUS_EXPR:
7795 : 0 : {
7796 : 0 : tree _q100 = gimple_assign_rhs1 (_a6);
7797 : 0 : _q100 = do_valueize (valueize, _q100);
7798 : 0 : tree _q101 = gimple_assign_rhs2 (_a6);
7799 : 0 : _q101 = do_valueize (valueize, _q101);
7800 : 0 : if (tree_swap_operands_p (_q100, _q101))
7801 : 0 : std::swap (_q100, _q101);
7802 : 0 : {
7803 : 0 : tree _q100_pops[1];
7804 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
7805 : : {
7806 : 0 : tree _q110 = _q100_pops[0];
7807 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
7808 : : {
7809 : 0 : switch (TREE_CODE (_q101))
7810 : : {
7811 : 0 : case INTEGER_CST:
7812 : 0 : {
7813 : 0 : if ((_q81 == _q40 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q40, 0) && types_match (_q81, _q40)))
7814 : : {
7815 : 0 : if (integer_zerop (_q21))
7816 : : {
7817 : 0 : {
7818 : 0 : tree _p1_pops[1];
7819 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
7820 : : {
7821 : 0 : tree _q160 = _p1_pops[0];
7822 : 0 : if ((_q160 == _q40 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q40, 0) && types_match (_q160, _q40)))
7823 : : {
7824 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
7825 : : {
7826 : 0 : {
7827 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q80, _q101 };
7828 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
7829 : : )
7830 : : {
7831 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
7832 : : )
7833 : : {
7834 : 0 : {
7835 : 0 : res_ops[0] = captures[0];
7836 : 0 : res_ops[1] = captures[1];
7837 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
7838 : 0 : return true;
7839 : : }
7840 : : }
7841 : : }
7842 : : }
7843 : : }
7844 : : }
7845 : : }
7846 : : }
7847 : : }
7848 : : }
7849 : : break;
7850 : : }
7851 : : default:;
7852 : : }
7853 : : }
7854 : : }
7855 : : }
7856 : 0 : break;
7857 : : }
7858 : : default:;
7859 : : }
7860 : : }
7861 : : break;
7862 : : default:;
7863 : : }
7864 : : }
7865 : : }
7866 : 0 : break;
7867 : : }
7868 : : default:;
7869 : : }
7870 : : }
7871 : : break;
7872 : : default:;
7873 : : }
7874 : : break;
7875 : : }
7876 : : default:;
7877 : : }
7878 : : }
7879 : : break;
7880 : : default:;
7881 : : }
7882 : : break;
7883 : : }
7884 : 0 : default:;
7885 : : }
7886 : 0 : switch (TREE_CODE (_q40))
7887 : : {
7888 : 0 : case INTEGER_CST:
7889 : 0 : {
7890 : 0 : switch (TREE_CODE (_q31))
7891 : : {
7892 : 0 : case SSA_NAME:
7893 : 0 : if (gimple *_d4 = get_def (valueize, _q31))
7894 : : {
7895 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
7896 : 0 : switch (gimple_assign_rhs_code (_a4))
7897 : : {
7898 : 0 : case BIT_NOT_EXPR:
7899 : 0 : {
7900 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
7901 : 0 : _q70 = do_valueize (valueize, _q70);
7902 : 0 : switch (TREE_CODE (_q70))
7903 : : {
7904 : 0 : case SSA_NAME:
7905 : 0 : if (gimple *_d5 = get_def (valueize, _q70))
7906 : : {
7907 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
7908 : 0 : switch (gimple_assign_rhs_code (_a5))
7909 : : {
7910 : 0 : case BIT_XOR_EXPR:
7911 : 0 : {
7912 : 0 : tree _q80 = gimple_assign_rhs1 (_a5);
7913 : 0 : _q80 = do_valueize (valueize, _q80);
7914 : 0 : tree _q81 = gimple_assign_rhs2 (_a5);
7915 : 0 : _q81 = do_valueize (valueize, _q81);
7916 : 0 : if (tree_swap_operands_p (_q80, _q81))
7917 : 0 : std::swap (_q80, _q81);
7918 : 0 : if ((_q80 == _q41 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q41, 0) && types_match (_q80, _q41)))
7919 : : {
7920 : 0 : {
7921 : 0 : tree _q81_pops[1];
7922 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
7923 : : {
7924 : 0 : tree _q100 = _q81_pops[0];
7925 : 0 : switch (TREE_CODE (_q100))
7926 : : {
7927 : 0 : case SSA_NAME:
7928 : 0 : if (gimple *_d6 = get_def (valueize, _q100))
7929 : : {
7930 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
7931 : 0 : switch (gimple_assign_rhs_code (_a6))
7932 : : {
7933 : 0 : case PLUS_EXPR:
7934 : 0 : {
7935 : 0 : tree _q110 = gimple_assign_rhs1 (_a6);
7936 : 0 : _q110 = do_valueize (valueize, _q110);
7937 : 0 : tree _q111 = gimple_assign_rhs2 (_a6);
7938 : 0 : _q111 = do_valueize (valueize, _q111);
7939 : 0 : if (tree_swap_operands_p (_q110, _q111))
7940 : 0 : std::swap (_q110, _q111);
7941 : 0 : {
7942 : 0 : tree _q110_pops[1];
7943 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
7944 : : {
7945 : 0 : tree _q120 = _q110_pops[0];
7946 : 0 : if ((_q120 == _q41 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q41, 0) && types_match (_q120, _q41)))
7947 : : {
7948 : 0 : switch (TREE_CODE (_q111))
7949 : : {
7950 : 0 : case INTEGER_CST:
7951 : 0 : {
7952 : 0 : if (integer_zerop (_q21))
7953 : : {
7954 : 0 : {
7955 : 0 : tree _p1_pops[1];
7956 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
7957 : : {
7958 : 0 : tree _q160 = _p1_pops[0];
7959 : 0 : if ((_q160 == _q41 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q41, 0) && types_match (_q160, _q41)))
7960 : : {
7961 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
7962 : : {
7963 : 0 : {
7964 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q40, _q81, _q111 };
7965 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
7966 : : )
7967 : : {
7968 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
7969 : : )
7970 : : {
7971 : 0 : {
7972 : 0 : res_ops[0] = captures[0];
7973 : 0 : res_ops[1] = captures[1];
7974 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
7975 : 0 : return true;
7976 : : }
7977 : : }
7978 : : }
7979 : : }
7980 : : }
7981 : : }
7982 : : }
7983 : : }
7984 : : }
7985 : : break;
7986 : : }
7987 : : default:;
7988 : : }
7989 : : }
7990 : : }
7991 : : }
7992 : 0 : break;
7993 : : }
7994 : : default:;
7995 : : }
7996 : : }
7997 : : break;
7998 : : default:;
7999 : : }
8000 : : }
8001 : : }
8002 : : }
8003 : 0 : {
8004 : 0 : tree _q80_pops[1];
8005 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
8006 : : {
8007 : 0 : tree _q90 = _q80_pops[0];
8008 : 0 : switch (TREE_CODE (_q90))
8009 : : {
8010 : 0 : case SSA_NAME:
8011 : 0 : if (gimple *_d6 = get_def (valueize, _q90))
8012 : : {
8013 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
8014 : 0 : switch (gimple_assign_rhs_code (_a6))
8015 : : {
8016 : 0 : case PLUS_EXPR:
8017 : 0 : {
8018 : 0 : tree _q100 = gimple_assign_rhs1 (_a6);
8019 : 0 : _q100 = do_valueize (valueize, _q100);
8020 : 0 : tree _q101 = gimple_assign_rhs2 (_a6);
8021 : 0 : _q101 = do_valueize (valueize, _q101);
8022 : 0 : if (tree_swap_operands_p (_q100, _q101))
8023 : 0 : std::swap (_q100, _q101);
8024 : 0 : {
8025 : 0 : tree _q100_pops[1];
8026 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
8027 : : {
8028 : 0 : tree _q110 = _q100_pops[0];
8029 : 0 : if ((_q110 == _q41 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q41, 0) && types_match (_q110, _q41)))
8030 : : {
8031 : 0 : switch (TREE_CODE (_q101))
8032 : : {
8033 : 0 : case INTEGER_CST:
8034 : 0 : {
8035 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
8036 : : {
8037 : 0 : if (integer_zerop (_q21))
8038 : : {
8039 : 0 : {
8040 : 0 : tree _p1_pops[1];
8041 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
8042 : : {
8043 : 0 : tree _q160 = _p1_pops[0];
8044 : 0 : if ((_q160 == _q41 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q41, 0) && types_match (_q160, _q41)))
8045 : : {
8046 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
8047 : : {
8048 : 0 : {
8049 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q40, _q80, _q101 };
8050 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
8051 : : )
8052 : : {
8053 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
8054 : : )
8055 : : {
8056 : 0 : {
8057 : 0 : res_ops[0] = captures[0];
8058 : 0 : res_ops[1] = captures[1];
8059 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
8060 : 0 : return true;
8061 : : }
8062 : : }
8063 : : }
8064 : : }
8065 : : }
8066 : : }
8067 : : }
8068 : : }
8069 : : }
8070 : : }
8071 : : break;
8072 : : }
8073 : : default:;
8074 : : }
8075 : : }
8076 : : }
8077 : : }
8078 : 0 : break;
8079 : : }
8080 : : default:;
8081 : : }
8082 : : }
8083 : : break;
8084 : : default:;
8085 : : }
8086 : : }
8087 : : }
8088 : 0 : break;
8089 : : }
8090 : : default:;
8091 : : }
8092 : : }
8093 : : break;
8094 : : default:;
8095 : : }
8096 : : break;
8097 : : }
8098 : : default:;
8099 : : }
8100 : : }
8101 : : break;
8102 : : default:;
8103 : : }
8104 : : break;
8105 : : }
8106 : : default:;
8107 : : }
8108 : 28721999 : break;
8109 : : }
8110 : 0 : case BIT_NOT_EXPR:
8111 : 0 : {
8112 : 0 : tree _q40 = gimple_assign_rhs1 (_a3);
8113 : 0 : _q40 = do_valueize (valueize, _q40);
8114 : 0 : switch (TREE_CODE (_q40))
8115 : : {
8116 : 0 : case SSA_NAME:
8117 : 0 : if (gimple *_d4 = get_def (valueize, _q40))
8118 : : {
8119 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
8120 : 0 : switch (gimple_assign_rhs_code (_a4))
8121 : : {
8122 : 0 : case BIT_XOR_EXPR:
8123 : 0 : {
8124 : 0 : tree _q50 = gimple_assign_rhs1 (_a4);
8125 : 0 : _q50 = do_valueize (valueize, _q50);
8126 : 0 : tree _q51 = gimple_assign_rhs2 (_a4);
8127 : 0 : _q51 = do_valueize (valueize, _q51);
8128 : 0 : if (tree_swap_operands_p (_q50, _q51))
8129 : 0 : std::swap (_q50, _q51);
8130 : 0 : {
8131 : 0 : tree _q51_pops[1];
8132 : 0 : if (gimple_nop_convert (_q51, _q51_pops, valueize))
8133 : : {
8134 : 0 : tree _q70 = _q51_pops[0];
8135 : 0 : switch (TREE_CODE (_q70))
8136 : : {
8137 : 0 : case SSA_NAME:
8138 : 0 : if (gimple *_d5 = get_def (valueize, _q70))
8139 : : {
8140 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
8141 : 0 : switch (gimple_assign_rhs_code (_a5))
8142 : : {
8143 : 0 : case PLUS_EXPR:
8144 : 0 : {
8145 : 0 : tree _q80 = gimple_assign_rhs1 (_a5);
8146 : 0 : _q80 = do_valueize (valueize, _q80);
8147 : 0 : tree _q81 = gimple_assign_rhs2 (_a5);
8148 : 0 : _q81 = do_valueize (valueize, _q81);
8149 : 0 : if (tree_swap_operands_p (_q80, _q81))
8150 : 0 : std::swap (_q80, _q81);
8151 : 0 : {
8152 : 0 : tree _q80_pops[1];
8153 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
8154 : : {
8155 : 0 : tree _q90 = _q80_pops[0];
8156 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
8157 : : {
8158 : 0 : switch (TREE_CODE (_q81))
8159 : : {
8160 : 0 : case INTEGER_CST:
8161 : 0 : {
8162 : 0 : switch (TREE_CODE (_q31))
8163 : : {
8164 : 0 : case SSA_NAME:
8165 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
8166 : : {
8167 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
8168 : 0 : switch (gimple_assign_rhs_code (_a6))
8169 : : {
8170 : 0 : case BIT_XOR_EXPR:
8171 : 0 : {
8172 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
8173 : 0 : _q120 = do_valueize (valueize, _q120);
8174 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
8175 : 0 : _q121 = do_valueize (valueize, _q121);
8176 : 0 : if (tree_swap_operands_p (_q120, _q121))
8177 : 0 : std::swap (_q120, _q121);
8178 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
8179 : : {
8180 : 0 : switch (TREE_CODE (_q121))
8181 : : {
8182 : 0 : case INTEGER_CST:
8183 : 0 : {
8184 : 0 : if (integer_zerop (_q21))
8185 : : {
8186 : 0 : {
8187 : 0 : tree _p1_pops[1];
8188 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
8189 : : {
8190 : 0 : tree _q160 = _p1_pops[0];
8191 : 0 : if ((_q160 == _q50 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q50, 0) && types_match (_q160, _q50)))
8192 : : {
8193 : 0 : if ((_p2 == _q51 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q51, 0) && types_match (_p2, _q51)))
8194 : : {
8195 : 0 : {
8196 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q121, _q51, _q81 };
8197 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
8198 : : )
8199 : : {
8200 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
8201 : : )
8202 : : {
8203 : 0 : {
8204 : 0 : res_ops[0] = captures[0];
8205 : 0 : res_ops[1] = captures[1];
8206 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
8207 : 0 : return true;
8208 : : }
8209 : : }
8210 : : }
8211 : : }
8212 : : }
8213 : : }
8214 : : }
8215 : : }
8216 : : }
8217 : : break;
8218 : : }
8219 : : default:;
8220 : : }
8221 : : }
8222 : 0 : break;
8223 : : }
8224 : : default:;
8225 : : }
8226 : : }
8227 : : break;
8228 : : default:;
8229 : : }
8230 : : break;
8231 : : }
8232 : : default:;
8233 : : }
8234 : : }
8235 : : }
8236 : : }
8237 : 0 : break;
8238 : : }
8239 : : default:;
8240 : : }
8241 : : }
8242 : : break;
8243 : : default:;
8244 : : }
8245 : : }
8246 : : }
8247 : 0 : {
8248 : 0 : tree _q50_pops[1];
8249 : 0 : if (gimple_nop_convert (_q50, _q50_pops, valueize))
8250 : : {
8251 : 0 : tree _q60 = _q50_pops[0];
8252 : 0 : switch (TREE_CODE (_q60))
8253 : : {
8254 : 0 : case SSA_NAME:
8255 : 0 : if (gimple *_d5 = get_def (valueize, _q60))
8256 : : {
8257 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
8258 : 0 : switch (gimple_assign_rhs_code (_a5))
8259 : : {
8260 : 0 : case PLUS_EXPR:
8261 : 0 : {
8262 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
8263 : 0 : _q70 = do_valueize (valueize, _q70);
8264 : 0 : tree _q71 = gimple_assign_rhs2 (_a5);
8265 : 0 : _q71 = do_valueize (valueize, _q71);
8266 : 0 : if (tree_swap_operands_p (_q70, _q71))
8267 : 0 : std::swap (_q70, _q71);
8268 : 0 : {
8269 : 0 : tree _q70_pops[1];
8270 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
8271 : : {
8272 : 0 : tree _q80 = _q70_pops[0];
8273 : 0 : switch (TREE_CODE (_q71))
8274 : : {
8275 : 0 : case INTEGER_CST:
8276 : 0 : {
8277 : 0 : if ((_q51 == _q80 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q80, 0) && types_match (_q51, _q80)))
8278 : : {
8279 : 0 : switch (TREE_CODE (_q31))
8280 : : {
8281 : 0 : case SSA_NAME:
8282 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
8283 : : {
8284 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
8285 : 0 : switch (gimple_assign_rhs_code (_a6))
8286 : : {
8287 : 0 : case BIT_XOR_EXPR:
8288 : 0 : {
8289 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
8290 : 0 : _q120 = do_valueize (valueize, _q120);
8291 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
8292 : 0 : _q121 = do_valueize (valueize, _q121);
8293 : 0 : if (tree_swap_operands_p (_q120, _q121))
8294 : 0 : std::swap (_q120, _q121);
8295 : 0 : if ((_q120 == _q80 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q80, 0) && types_match (_q120, _q80)))
8296 : : {
8297 : 0 : switch (TREE_CODE (_q121))
8298 : : {
8299 : 0 : case INTEGER_CST:
8300 : 0 : {
8301 : 0 : if (integer_zerop (_q21))
8302 : : {
8303 : 0 : {
8304 : 0 : tree _p1_pops[1];
8305 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
8306 : : {
8307 : 0 : tree _q160 = _p1_pops[0];
8308 : 0 : if ((_q160 == _q80 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q80, 0) && types_match (_q160, _q80)))
8309 : : {
8310 : 0 : if ((_p2 == _q50 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q50, 0) && types_match (_p2, _q50)))
8311 : : {
8312 : 0 : {
8313 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q80, _q121, _q50, _q71 };
8314 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
8315 : : )
8316 : : {
8317 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
8318 : : )
8319 : : {
8320 : 0 : {
8321 : 0 : res_ops[0] = captures[0];
8322 : 0 : res_ops[1] = captures[1];
8323 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
8324 : 0 : return true;
8325 : : }
8326 : : }
8327 : : }
8328 : : }
8329 : : }
8330 : : }
8331 : : }
8332 : : }
8333 : : }
8334 : : break;
8335 : : }
8336 : : default:;
8337 : : }
8338 : : }
8339 : 0 : switch (TREE_CODE (_q120))
8340 : : {
8341 : 0 : case INTEGER_CST:
8342 : 0 : {
8343 : 0 : if ((_q121 == _q80 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q80, 0) && types_match (_q121, _q80)))
8344 : : {
8345 : 0 : if (integer_zerop (_q21))
8346 : : {
8347 : 0 : {
8348 : 0 : tree _p1_pops[1];
8349 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
8350 : : {
8351 : 0 : tree _q160 = _p1_pops[0];
8352 : 0 : if ((_q160 == _q80 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q80, 0) && types_match (_q160, _q80)))
8353 : : {
8354 : 0 : if ((_p2 == _q50 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q50, 0) && types_match (_p2, _q50)))
8355 : : {
8356 : 0 : {
8357 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q80, _q120, _q50, _q71 };
8358 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
8359 : : )
8360 : : {
8361 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
8362 : : )
8363 : : {
8364 : 0 : {
8365 : 0 : res_ops[0] = captures[0];
8366 : 0 : res_ops[1] = captures[1];
8367 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
8368 : 0 : return true;
8369 : : }
8370 : : }
8371 : : }
8372 : : }
8373 : : }
8374 : : }
8375 : : }
8376 : : }
8377 : : }
8378 : : }
8379 : : break;
8380 : : }
8381 : : default:;
8382 : : }
8383 : 0 : break;
8384 : : }
8385 : : default:;
8386 : : }
8387 : : }
8388 : : break;
8389 : : default:;
8390 : : }
8391 : : }
8392 : : break;
8393 : : }
8394 : : default:;
8395 : : }
8396 : : }
8397 : : }
8398 : 0 : break;
8399 : : }
8400 : : default:;
8401 : : }
8402 : : }
8403 : : break;
8404 : : default:;
8405 : : }
8406 : : }
8407 : : }
8408 : 0 : {
8409 : 0 : tree _q51_pops[1];
8410 : 0 : if (gimple_nop_convert (_q51, _q51_pops, valueize))
8411 : : {
8412 : 0 : tree _q70 = _q51_pops[0];
8413 : 0 : switch (TREE_CODE (_q70))
8414 : : {
8415 : 0 : case SSA_NAME:
8416 : 0 : if (gimple *_d5 = get_def (valueize, _q70))
8417 : : {
8418 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
8419 : 0 : switch (gimple_assign_rhs_code (_a5))
8420 : : {
8421 : 0 : case PLUS_EXPR:
8422 : 0 : {
8423 : 0 : tree _q80 = gimple_assign_rhs1 (_a5);
8424 : 0 : _q80 = do_valueize (valueize, _q80);
8425 : 0 : tree _q81 = gimple_assign_rhs2 (_a5);
8426 : 0 : _q81 = do_valueize (valueize, _q81);
8427 : 0 : if (tree_swap_operands_p (_q80, _q81))
8428 : 0 : std::swap (_q80, _q81);
8429 : 0 : {
8430 : 0 : tree _q80_pops[1];
8431 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
8432 : : {
8433 : 0 : tree _q90 = _q80_pops[0];
8434 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
8435 : : {
8436 : 0 : switch (TREE_CODE (_q81))
8437 : : {
8438 : 0 : case INTEGER_CST:
8439 : 0 : {
8440 : 0 : switch (TREE_CODE (_q31))
8441 : : {
8442 : 0 : case SSA_NAME:
8443 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
8444 : : {
8445 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
8446 : 0 : switch (gimple_assign_rhs_code (_a6))
8447 : : {
8448 : 0 : case BIT_XOR_EXPR:
8449 : 0 : {
8450 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
8451 : 0 : _q120 = do_valueize (valueize, _q120);
8452 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
8453 : 0 : _q121 = do_valueize (valueize, _q121);
8454 : 0 : if (tree_swap_operands_p (_q120, _q121))
8455 : 0 : std::swap (_q120, _q121);
8456 : 0 : switch (TREE_CODE (_q120))
8457 : : {
8458 : 0 : case INTEGER_CST:
8459 : 0 : {
8460 : 0 : if ((_q121 == _q50 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q50, 0) && types_match (_q121, _q50)))
8461 : : {
8462 : 0 : if (integer_zerop (_q21))
8463 : : {
8464 : 0 : {
8465 : 0 : tree _p1_pops[1];
8466 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
8467 : : {
8468 : 0 : tree _q160 = _p1_pops[0];
8469 : 0 : if ((_q160 == _q50 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q50, 0) && types_match (_q160, _q50)))
8470 : : {
8471 : 0 : if ((_p2 == _q51 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q51, 0) && types_match (_p2, _q51)))
8472 : : {
8473 : 0 : {
8474 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q120, _q51, _q81 };
8475 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
8476 : : )
8477 : : {
8478 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
8479 : : )
8480 : : {
8481 : 0 : {
8482 : 0 : res_ops[0] = captures[0];
8483 : 0 : res_ops[1] = captures[1];
8484 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
8485 : 0 : return true;
8486 : : }
8487 : : }
8488 : : }
8489 : : }
8490 : : }
8491 : : }
8492 : : }
8493 : : }
8494 : : }
8495 : : }
8496 : : break;
8497 : : }
8498 : : default:;
8499 : : }
8500 : 0 : break;
8501 : : }
8502 : : default:;
8503 : : }
8504 : : }
8505 : : break;
8506 : : default:;
8507 : : }
8508 : : break;
8509 : : }
8510 : : default:;
8511 : : }
8512 : : }
8513 : : }
8514 : : }
8515 : 0 : break;
8516 : : }
8517 : : default:;
8518 : : }
8519 : : }
8520 : : break;
8521 : : default:;
8522 : : }
8523 : : }
8524 : : }
8525 : 0 : break;
8526 : : }
8527 : : default:;
8528 : : }
8529 : : }
8530 : : break;
8531 : : default:;
8532 : : }
8533 : : break;
8534 : : }
8535 : : default:;
8536 : : }
8537 : : }
8538 : : break;
8539 : : default:;
8540 : : }
8541 : 28721999 : break;
8542 : : }
8543 : : default:;
8544 : : }
8545 : : }
8546 : : break;
8547 : : default:;
8548 : : }
8549 : : }
8550 : : }
8551 : : break;
8552 : : }
8553 : 0 : case BIT_AND_EXPR:
8554 : 0 : {
8555 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
8556 : 0 : if ((TREE_CODE (_q20) == SSA_NAME
8557 : 0 : || is_gimple_min_invariant (_q20)))
8558 : : {
8559 : 0 : _q20 = do_valueize (valueize, _q20);
8560 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
8561 : 0 : if ((TREE_CODE (_q21) == SSA_NAME
8562 : 0 : || is_gimple_min_invariant (_q21)))
8563 : : {
8564 : 0 : _q21 = do_valueize (valueize, _q21);
8565 : 0 : if (tree_swap_operands_p (_q20, _q21))
8566 : 0 : std::swap (_q20, _q21);
8567 : 0 : switch (TREE_CODE (_q20))
8568 : : {
8569 : 0 : case SSA_NAME:
8570 : 0 : if (gimple *_d2 = get_def (valueize, _q20))
8571 : : {
8572 : 0 : if (gassign *_a2 = dyn_cast <gassign *> (_d2))
8573 : 0 : switch (gimple_assign_rhs_code (_a2))
8574 : : {
8575 : 0 : case LT_EXPR:
8576 : 0 : {
8577 : 0 : tree _q30 = gimple_assign_rhs1 (_a2);
8578 : 0 : _q30 = do_valueize (valueize, _q30);
8579 : 0 : tree _q31 = gimple_assign_rhs2 (_a2);
8580 : 0 : _q31 = do_valueize (valueize, _q31);
8581 : 0 : switch (TREE_CODE (_q30))
8582 : : {
8583 : 0 : case SSA_NAME:
8584 : 0 : if (gimple *_d3 = get_def (valueize, _q30))
8585 : : {
8586 : 0 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
8587 : 0 : switch (gimple_assign_rhs_code (_a3))
8588 : : {
8589 : 0 : case BIT_XOR_EXPR:
8590 : 0 : {
8591 : 0 : tree _q40 = gimple_assign_rhs1 (_a3);
8592 : 0 : _q40 = do_valueize (valueize, _q40);
8593 : 0 : tree _q41 = gimple_assign_rhs2 (_a3);
8594 : 0 : _q41 = do_valueize (valueize, _q41);
8595 : 0 : if (tree_swap_operands_p (_q40, _q41))
8596 : 0 : std::swap (_q40, _q41);
8597 : 0 : {
8598 : 0 : tree _q41_pops[1];
8599 : 0 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
8600 : : {
8601 : 0 : tree _q60 = _q41_pops[0];
8602 : 0 : switch (TREE_CODE (_q60))
8603 : : {
8604 : 0 : case SSA_NAME:
8605 : 0 : if (gimple *_d4 = get_def (valueize, _q60))
8606 : : {
8607 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
8608 : 0 : switch (gimple_assign_rhs_code (_a4))
8609 : : {
8610 : 0 : case PLUS_EXPR:
8611 : 0 : {
8612 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
8613 : 0 : _q70 = do_valueize (valueize, _q70);
8614 : 0 : tree _q71 = gimple_assign_rhs2 (_a4);
8615 : 0 : _q71 = do_valueize (valueize, _q71);
8616 : 0 : if (tree_swap_operands_p (_q70, _q71))
8617 : 0 : std::swap (_q70, _q71);
8618 : 0 : {
8619 : 0 : tree _q70_pops[1];
8620 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
8621 : : {
8622 : 0 : tree _q80 = _q70_pops[0];
8623 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
8624 : : {
8625 : 0 : switch (TREE_CODE (_q71))
8626 : : {
8627 : 0 : case INTEGER_CST:
8628 : 0 : {
8629 : 0 : if (integer_zerop (_q31))
8630 : : {
8631 : 0 : switch (TREE_CODE (_q21))
8632 : : {
8633 : 0 : case SSA_NAME:
8634 : 0 : if (gimple *_d5 = get_def (valueize, _q21))
8635 : : {
8636 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
8637 : 0 : switch (gimple_assign_rhs_code (_a5))
8638 : : {
8639 : 0 : case GE_EXPR:
8640 : 0 : {
8641 : 0 : tree _q120 = gimple_assign_rhs1 (_a5);
8642 : 0 : _q120 = do_valueize (valueize, _q120);
8643 : 0 : tree _q121 = gimple_assign_rhs2 (_a5);
8644 : 0 : _q121 = do_valueize (valueize, _q121);
8645 : 0 : switch (TREE_CODE (_q120))
8646 : : {
8647 : 0 : case SSA_NAME:
8648 : 0 : if (gimple *_d6 = get_def (valueize, _q120))
8649 : : {
8650 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
8651 : 0 : switch (gimple_assign_rhs_code (_a6))
8652 : : {
8653 : 0 : case BIT_XOR_EXPR:
8654 : 0 : {
8655 : 0 : tree _q130 = gimple_assign_rhs1 (_a6);
8656 : 0 : _q130 = do_valueize (valueize, _q130);
8657 : 0 : tree _q131 = gimple_assign_rhs2 (_a6);
8658 : 0 : _q131 = do_valueize (valueize, _q131);
8659 : 0 : if (tree_swap_operands_p (_q130, _q131))
8660 : 0 : std::swap (_q130, _q131);
8661 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
8662 : : {
8663 : 0 : switch (TREE_CODE (_q131))
8664 : : {
8665 : 0 : case INTEGER_CST:
8666 : 0 : {
8667 : 0 : if (integer_zerop (_q121))
8668 : : {
8669 : 0 : {
8670 : 0 : tree _p1_pops[1];
8671 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
8672 : : {
8673 : 0 : tree _q170 = _p1_pops[0];
8674 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
8675 : : {
8676 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
8677 : : {
8678 : 0 : {
8679 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q131 };
8680 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
8681 : : )
8682 : : {
8683 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
8684 : : )
8685 : : {
8686 : 0 : {
8687 : 0 : res_ops[0] = captures[0];
8688 : 0 : res_ops[1] = captures[1];
8689 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
8690 : 0 : return true;
8691 : : }
8692 : : }
8693 : : }
8694 : : }
8695 : : }
8696 : : }
8697 : : }
8698 : : }
8699 : : }
8700 : : break;
8701 : : }
8702 : : default:;
8703 : : }
8704 : : }
8705 : 0 : switch (TREE_CODE (_q130))
8706 : : {
8707 : 0 : case INTEGER_CST:
8708 : 0 : {
8709 : 0 : if ((_q131 == _q40 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q40, 0) && types_match (_q131, _q40)))
8710 : : {
8711 : 0 : if (integer_zerop (_q121))
8712 : : {
8713 : 0 : {
8714 : 0 : tree _p1_pops[1];
8715 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
8716 : : {
8717 : 0 : tree _q170 = _p1_pops[0];
8718 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
8719 : : {
8720 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
8721 : : {
8722 : 0 : {
8723 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q130 };
8724 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
8725 : : )
8726 : : {
8727 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
8728 : : )
8729 : : {
8730 : 0 : {
8731 : 0 : res_ops[0] = captures[0];
8732 : 0 : res_ops[1] = captures[1];
8733 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
8734 : 0 : return true;
8735 : : }
8736 : : }
8737 : : }
8738 : : }
8739 : : }
8740 : : }
8741 : : }
8742 : : }
8743 : : }
8744 : : }
8745 : : break;
8746 : : }
8747 : : default:;
8748 : : }
8749 : 0 : break;
8750 : : }
8751 : : default:;
8752 : : }
8753 : : }
8754 : : break;
8755 : : default:;
8756 : : }
8757 : : break;
8758 : : }
8759 : : default:;
8760 : : }
8761 : : }
8762 : : break;
8763 : : default:;
8764 : : }
8765 : : }
8766 : : break;
8767 : : }
8768 : 0 : default:;
8769 : : }
8770 : 0 : {
8771 : 0 : tree _q71_pops[1];
8772 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
8773 : : {
8774 : 0 : tree _q100 = _q71_pops[0];
8775 : 0 : if (integer_zerop (_q31))
8776 : : {
8777 : 0 : switch (TREE_CODE (_q21))
8778 : : {
8779 : 0 : case SSA_NAME:
8780 : 0 : if (gimple *_d5 = get_def (valueize, _q21))
8781 : : {
8782 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
8783 : 0 : switch (gimple_assign_rhs_code (_a5))
8784 : : {
8785 : 0 : case GE_EXPR:
8786 : 0 : {
8787 : 0 : tree _q130 = gimple_assign_rhs1 (_a5);
8788 : 0 : _q130 = do_valueize (valueize, _q130);
8789 : 0 : tree _q131 = gimple_assign_rhs2 (_a5);
8790 : 0 : _q131 = do_valueize (valueize, _q131);
8791 : 0 : switch (TREE_CODE (_q130))
8792 : : {
8793 : 0 : case SSA_NAME:
8794 : 0 : if (gimple *_d6 = get_def (valueize, _q130))
8795 : : {
8796 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
8797 : 0 : switch (gimple_assign_rhs_code (_a6))
8798 : : {
8799 : 0 : case BIT_XOR_EXPR:
8800 : 0 : {
8801 : 0 : tree _q140 = gimple_assign_rhs1 (_a6);
8802 : 0 : _q140 = do_valueize (valueize, _q140);
8803 : 0 : tree _q141 = gimple_assign_rhs2 (_a6);
8804 : 0 : _q141 = do_valueize (valueize, _q141);
8805 : 0 : if (tree_swap_operands_p (_q140, _q141))
8806 : 0 : std::swap (_q140, _q141);
8807 : 0 : if ((_q140 == _q40 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q40, 0) && types_match (_q140, _q40)))
8808 : : {
8809 : 0 : if ((_q141 == _q100 && ! TREE_SIDE_EFFECTS (_q141)) || (operand_equal_p (_q141, _q100, 0) && types_match (_q141, _q100)))
8810 : : {
8811 : 0 : if (integer_zerop (_q131))
8812 : : {
8813 : 0 : {
8814 : 0 : tree _p1_pops[1];
8815 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
8816 : : {
8817 : 0 : tree _q180 = _p1_pops[0];
8818 : 0 : if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
8819 : : {
8820 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
8821 : : {
8822 : 0 : {
8823 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
8824 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
8825 : : )
8826 : : {
8827 : 0 : {
8828 : 0 : res_ops[0] = captures[0];
8829 : 0 : res_ops[1] = captures[1];
8830 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
8831 : 0 : return true;
8832 : : }
8833 : : }
8834 : : }
8835 : : }
8836 : : }
8837 : : }
8838 : : }
8839 : : }
8840 : : }
8841 : : }
8842 : 0 : if ((_q140 == _q100 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q100, 0) && types_match (_q140, _q100)))
8843 : : {
8844 : 0 : if ((_q141 == _q40 && ! TREE_SIDE_EFFECTS (_q141)) || (operand_equal_p (_q141, _q40, 0) && types_match (_q141, _q40)))
8845 : : {
8846 : 0 : if (integer_zerop (_q131))
8847 : : {
8848 : 0 : {
8849 : 0 : tree _p1_pops[1];
8850 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
8851 : : {
8852 : 0 : tree _q180 = _p1_pops[0];
8853 : 0 : if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
8854 : : {
8855 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
8856 : : {
8857 : 0 : {
8858 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
8859 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
8860 : : )
8861 : : {
8862 : 0 : {
8863 : 0 : res_ops[0] = captures[0];
8864 : 0 : res_ops[1] = captures[1];
8865 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
8866 : 0 : return true;
8867 : : }
8868 : : }
8869 : : }
8870 : : }
8871 : : }
8872 : : }
8873 : : }
8874 : : }
8875 : : }
8876 : : }
8877 : 0 : break;
8878 : : }
8879 : : default:;
8880 : : }
8881 : : }
8882 : : break;
8883 : : default:;
8884 : : }
8885 : : break;
8886 : : }
8887 : 0 : case BIT_NOT_EXPR:
8888 : 0 : {
8889 : 0 : tree _q130 = gimple_assign_rhs1 (_a5);
8890 : 0 : _q130 = do_valueize (valueize, _q130);
8891 : 0 : switch (TREE_CODE (_q130))
8892 : : {
8893 : 0 : case SSA_NAME:
8894 : 0 : if (gimple *_d6 = get_def (valueize, _q130))
8895 : : {
8896 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
8897 : 0 : switch (gimple_assign_rhs_code (_a6))
8898 : : {
8899 : 0 : case LT_EXPR:
8900 : 0 : {
8901 : 0 : tree _q140 = gimple_assign_rhs1 (_a6);
8902 : 0 : _q140 = do_valueize (valueize, _q140);
8903 : 0 : tree _q141 = gimple_assign_rhs2 (_a6);
8904 : 0 : _q141 = do_valueize (valueize, _q141);
8905 : 0 : switch (TREE_CODE (_q140))
8906 : : {
8907 : 0 : case SSA_NAME:
8908 : 0 : if (gimple *_d7 = get_def (valueize, _q140))
8909 : : {
8910 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
8911 : 0 : switch (gimple_assign_rhs_code (_a7))
8912 : : {
8913 : 0 : case BIT_XOR_EXPR:
8914 : 0 : {
8915 : 0 : tree _q150 = gimple_assign_rhs1 (_a7);
8916 : 0 : _q150 = do_valueize (valueize, _q150);
8917 : 0 : tree _q151 = gimple_assign_rhs2 (_a7);
8918 : 0 : _q151 = do_valueize (valueize, _q151);
8919 : 0 : if (tree_swap_operands_p (_q150, _q151))
8920 : 0 : std::swap (_q150, _q151);
8921 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
8922 : : {
8923 : 0 : if ((_q151 == _q100 && ! TREE_SIDE_EFFECTS (_q151)) || (operand_equal_p (_q151, _q100, 0) && types_match (_q151, _q100)))
8924 : : {
8925 : 0 : if (integer_zerop (_q141))
8926 : : {
8927 : 0 : {
8928 : 0 : tree _p1_pops[1];
8929 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
8930 : : {
8931 : 0 : tree _q190 = _p1_pops[0];
8932 : 0 : if ((_q190 == _q40 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q40, 0) && types_match (_q190, _q40)))
8933 : : {
8934 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
8935 : : {
8936 : 0 : {
8937 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
8938 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
8939 : : )
8940 : : {
8941 : 0 : {
8942 : 0 : res_ops[0] = captures[0];
8943 : 0 : res_ops[1] = captures[1];
8944 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
8945 : 0 : return true;
8946 : : }
8947 : : }
8948 : : }
8949 : : }
8950 : : }
8951 : : }
8952 : : }
8953 : : }
8954 : : }
8955 : : }
8956 : 0 : if ((_q150 == _q100 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q100, 0) && types_match (_q150, _q100)))
8957 : : {
8958 : 0 : if ((_q151 == _q40 && ! TREE_SIDE_EFFECTS (_q151)) || (operand_equal_p (_q151, _q40, 0) && types_match (_q151, _q40)))
8959 : : {
8960 : 0 : if (integer_zerop (_q141))
8961 : : {
8962 : 0 : {
8963 : 0 : tree _p1_pops[1];
8964 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
8965 : : {
8966 : 0 : tree _q190 = _p1_pops[0];
8967 : 0 : if ((_q190 == _q40 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q40, 0) && types_match (_q190, _q40)))
8968 : : {
8969 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
8970 : : {
8971 : 0 : {
8972 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
8973 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
8974 : : )
8975 : : {
8976 : 0 : {
8977 : 0 : res_ops[0] = captures[0];
8978 : 0 : res_ops[1] = captures[1];
8979 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
8980 : 0 : return true;
8981 : : }
8982 : : }
8983 : : }
8984 : : }
8985 : : }
8986 : : }
8987 : : }
8988 : : }
8989 : : }
8990 : : }
8991 : 0 : break;
8992 : : }
8993 : : default:;
8994 : : }
8995 : : }
8996 : : break;
8997 : : default:;
8998 : : }
8999 : : break;
9000 : : }
9001 : : default:;
9002 : : }
9003 : : }
9004 : : break;
9005 : : default:;
9006 : : }
9007 : : break;
9008 : : }
9009 : : default:;
9010 : : }
9011 : : }
9012 : : break;
9013 : : default:;
9014 : : }
9015 : : }
9016 : : }
9017 : : }
9018 : : }
9019 : : }
9020 : : }
9021 : 0 : break;
9022 : : }
9023 : : default:;
9024 : : }
9025 : : }
9026 : : break;
9027 : : default:;
9028 : : }
9029 : : }
9030 : : }
9031 : 0 : break;
9032 : : }
9033 : : default:;
9034 : : }
9035 : : }
9036 : : break;
9037 : : default:;
9038 : : }
9039 : : break;
9040 : : }
9041 : 0 : case GE_EXPR:
9042 : 0 : {
9043 : 0 : tree _q30 = gimple_assign_rhs1 (_a2);
9044 : 0 : _q30 = do_valueize (valueize, _q30);
9045 : 0 : tree _q31 = gimple_assign_rhs2 (_a2);
9046 : 0 : _q31 = do_valueize (valueize, _q31);
9047 : 0 : switch (TREE_CODE (_q30))
9048 : : {
9049 : 0 : case SSA_NAME:
9050 : 0 : if (gimple *_d3 = get_def (valueize, _q30))
9051 : : {
9052 : 0 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
9053 : 0 : switch (gimple_assign_rhs_code (_a3))
9054 : : {
9055 : 0 : case BIT_XOR_EXPR:
9056 : 0 : {
9057 : 0 : tree _q40 = gimple_assign_rhs1 (_a3);
9058 : 0 : _q40 = do_valueize (valueize, _q40);
9059 : 0 : tree _q41 = gimple_assign_rhs2 (_a3);
9060 : 0 : _q41 = do_valueize (valueize, _q41);
9061 : 0 : if (tree_swap_operands_p (_q40, _q41))
9062 : 0 : std::swap (_q40, _q41);
9063 : 0 : if (integer_zerop (_q31))
9064 : : {
9065 : 0 : switch (TREE_CODE (_q21))
9066 : : {
9067 : 0 : case SSA_NAME:
9068 : 0 : if (gimple *_d4 = get_def (valueize, _q21))
9069 : : {
9070 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
9071 : 0 : switch (gimple_assign_rhs_code (_a4))
9072 : : {
9073 : 0 : case LT_EXPR:
9074 : 0 : {
9075 : 0 : tree _q80 = gimple_assign_rhs1 (_a4);
9076 : 0 : _q80 = do_valueize (valueize, _q80);
9077 : 0 : tree _q81 = gimple_assign_rhs2 (_a4);
9078 : 0 : _q81 = do_valueize (valueize, _q81);
9079 : 0 : switch (TREE_CODE (_q80))
9080 : : {
9081 : 0 : case SSA_NAME:
9082 : 0 : if (gimple *_d5 = get_def (valueize, _q80))
9083 : : {
9084 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
9085 : 0 : switch (gimple_assign_rhs_code (_a5))
9086 : : {
9087 : 0 : case BIT_XOR_EXPR:
9088 : 0 : {
9089 : 0 : tree _q90 = gimple_assign_rhs1 (_a5);
9090 : 0 : _q90 = do_valueize (valueize, _q90);
9091 : 0 : tree _q91 = gimple_assign_rhs2 (_a5);
9092 : 0 : _q91 = do_valueize (valueize, _q91);
9093 : 0 : if (tree_swap_operands_p (_q90, _q91))
9094 : 0 : std::swap (_q90, _q91);
9095 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
9096 : : {
9097 : 0 : {
9098 : 0 : tree _q91_pops[1];
9099 : 0 : if (gimple_nop_convert (_q91, _q91_pops, valueize))
9100 : : {
9101 : 0 : tree _q110 = _q91_pops[0];
9102 : 0 : switch (TREE_CODE (_q110))
9103 : : {
9104 : 0 : case SSA_NAME:
9105 : 0 : if (gimple *_d6 = get_def (valueize, _q110))
9106 : : {
9107 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
9108 : 0 : switch (gimple_assign_rhs_code (_a6))
9109 : : {
9110 : 0 : case PLUS_EXPR:
9111 : 0 : {
9112 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
9113 : 0 : _q120 = do_valueize (valueize, _q120);
9114 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
9115 : 0 : _q121 = do_valueize (valueize, _q121);
9116 : 0 : if (tree_swap_operands_p (_q120, _q121))
9117 : 0 : std::swap (_q120, _q121);
9118 : 0 : {
9119 : 0 : tree _q120_pops[1];
9120 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
9121 : : {
9122 : 0 : tree _q130 = _q120_pops[0];
9123 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
9124 : : {
9125 : 0 : {
9126 : 0 : tree _q121_pops[1];
9127 : 0 : if (gimple_nop_convert (_q121, _q121_pops, valueize))
9128 : : {
9129 : 0 : tree _q150 = _q121_pops[0];
9130 : 0 : if ((_q150 == _q41 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q41, 0) && types_match (_q150, _q41)))
9131 : : {
9132 : 0 : if (integer_zerop (_q81))
9133 : : {
9134 : 0 : {
9135 : 0 : tree _p1_pops[1];
9136 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
9137 : : {
9138 : 0 : tree _q180 = _p1_pops[0];
9139 : 0 : if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
9140 : : {
9141 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
9142 : : {
9143 : 0 : {
9144 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q91 };
9145 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
9146 : : )
9147 : : {
9148 : 0 : {
9149 : 0 : res_ops[0] = captures[0];
9150 : 0 : res_ops[1] = captures[1];
9151 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
9152 : 0 : return true;
9153 : : }
9154 : : }
9155 : : }
9156 : : }
9157 : : }
9158 : : }
9159 : : }
9160 : : }
9161 : : }
9162 : : }
9163 : : }
9164 : : }
9165 : : }
9166 : : }
9167 : 0 : break;
9168 : : }
9169 : : default:;
9170 : : }
9171 : : }
9172 : : break;
9173 : : default:;
9174 : : }
9175 : : }
9176 : : }
9177 : : }
9178 : 0 : if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
9179 : : {
9180 : 0 : {
9181 : 0 : tree _q91_pops[1];
9182 : 0 : if (gimple_nop_convert (_q91, _q91_pops, valueize))
9183 : : {
9184 : 0 : tree _q110 = _q91_pops[0];
9185 : 0 : switch (TREE_CODE (_q110))
9186 : : {
9187 : 0 : case SSA_NAME:
9188 : 0 : if (gimple *_d6 = get_def (valueize, _q110))
9189 : : {
9190 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
9191 : 0 : switch (gimple_assign_rhs_code (_a6))
9192 : : {
9193 : 0 : case PLUS_EXPR:
9194 : 0 : {
9195 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
9196 : 0 : _q120 = do_valueize (valueize, _q120);
9197 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
9198 : 0 : _q121 = do_valueize (valueize, _q121);
9199 : 0 : if (tree_swap_operands_p (_q120, _q121))
9200 : 0 : std::swap (_q120, _q121);
9201 : 0 : {
9202 : 0 : tree _q120_pops[1];
9203 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
9204 : : {
9205 : 0 : tree _q130 = _q120_pops[0];
9206 : 0 : if ((_q130 == _q41 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q41, 0) && types_match (_q130, _q41)))
9207 : : {
9208 : 0 : {
9209 : 0 : tree _q121_pops[1];
9210 : 0 : if (gimple_nop_convert (_q121, _q121_pops, valueize))
9211 : : {
9212 : 0 : tree _q150 = _q121_pops[0];
9213 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
9214 : : {
9215 : 0 : if (integer_zerop (_q81))
9216 : : {
9217 : 0 : {
9218 : 0 : tree _p1_pops[1];
9219 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
9220 : : {
9221 : 0 : tree _q180 = _p1_pops[0];
9222 : 0 : if ((_q180 == _q41 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q41, 0) && types_match (_q180, _q41)))
9223 : : {
9224 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
9225 : : {
9226 : 0 : {
9227 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q91 };
9228 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
9229 : : )
9230 : : {
9231 : 0 : {
9232 : 0 : res_ops[0] = captures[0];
9233 : 0 : res_ops[1] = captures[1];
9234 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
9235 : 0 : return true;
9236 : : }
9237 : : }
9238 : : }
9239 : : }
9240 : : }
9241 : : }
9242 : : }
9243 : : }
9244 : : }
9245 : : }
9246 : : }
9247 : : }
9248 : : }
9249 : : }
9250 : 0 : break;
9251 : : }
9252 : : default:;
9253 : : }
9254 : : }
9255 : : break;
9256 : : default:;
9257 : : }
9258 : : }
9259 : : }
9260 : : }
9261 : 0 : break;
9262 : : }
9263 : : default:;
9264 : : }
9265 : : }
9266 : : break;
9267 : : default:;
9268 : : }
9269 : : break;
9270 : : }
9271 : : default:;
9272 : : }
9273 : : }
9274 : : break;
9275 : : default:;
9276 : : }
9277 : : }
9278 : 0 : switch (TREE_CODE (_q41))
9279 : : {
9280 : 0 : case INTEGER_CST:
9281 : 0 : {
9282 : 0 : if (integer_zerop (_q31))
9283 : : {
9284 : 0 : switch (TREE_CODE (_q21))
9285 : : {
9286 : 0 : case SSA_NAME:
9287 : 0 : if (gimple *_d4 = get_def (valueize, _q21))
9288 : : {
9289 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
9290 : 0 : switch (gimple_assign_rhs_code (_a4))
9291 : : {
9292 : 0 : case LT_EXPR:
9293 : 0 : {
9294 : 0 : tree _q80 = gimple_assign_rhs1 (_a4);
9295 : 0 : _q80 = do_valueize (valueize, _q80);
9296 : 0 : tree _q81 = gimple_assign_rhs2 (_a4);
9297 : 0 : _q81 = do_valueize (valueize, _q81);
9298 : 0 : switch (TREE_CODE (_q80))
9299 : : {
9300 : 0 : case SSA_NAME:
9301 : 0 : if (gimple *_d5 = get_def (valueize, _q80))
9302 : : {
9303 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
9304 : 0 : switch (gimple_assign_rhs_code (_a5))
9305 : : {
9306 : 0 : case BIT_XOR_EXPR:
9307 : 0 : {
9308 : 0 : tree _q90 = gimple_assign_rhs1 (_a5);
9309 : 0 : _q90 = do_valueize (valueize, _q90);
9310 : 0 : tree _q91 = gimple_assign_rhs2 (_a5);
9311 : 0 : _q91 = do_valueize (valueize, _q91);
9312 : 0 : if (tree_swap_operands_p (_q90, _q91))
9313 : 0 : std::swap (_q90, _q91);
9314 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
9315 : : {
9316 : 0 : {
9317 : 0 : tree _q91_pops[1];
9318 : 0 : if (gimple_nop_convert (_q91, _q91_pops, valueize))
9319 : : {
9320 : 0 : tree _q110 = _q91_pops[0];
9321 : 0 : switch (TREE_CODE (_q110))
9322 : : {
9323 : 0 : case SSA_NAME:
9324 : 0 : if (gimple *_d6 = get_def (valueize, _q110))
9325 : : {
9326 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
9327 : 0 : switch (gimple_assign_rhs_code (_a6))
9328 : : {
9329 : 0 : case PLUS_EXPR:
9330 : 0 : {
9331 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
9332 : 0 : _q120 = do_valueize (valueize, _q120);
9333 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
9334 : 0 : _q121 = do_valueize (valueize, _q121);
9335 : 0 : if (tree_swap_operands_p (_q120, _q121))
9336 : 0 : std::swap (_q120, _q121);
9337 : 0 : {
9338 : 0 : tree _q120_pops[1];
9339 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
9340 : : {
9341 : 0 : tree _q130 = _q120_pops[0];
9342 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
9343 : : {
9344 : 0 : switch (TREE_CODE (_q121))
9345 : : {
9346 : 0 : case INTEGER_CST:
9347 : 0 : {
9348 : 0 : if (integer_zerop (_q81))
9349 : : {
9350 : 0 : {
9351 : 0 : tree _p1_pops[1];
9352 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
9353 : : {
9354 : 0 : tree _q170 = _p1_pops[0];
9355 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
9356 : : {
9357 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
9358 : : {
9359 : 0 : {
9360 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q121, _q91, _q41 };
9361 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
9362 : : )
9363 : : {
9364 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
9365 : : )
9366 : : {
9367 : 0 : {
9368 : 0 : res_ops[0] = captures[0];
9369 : 0 : res_ops[1] = captures[1];
9370 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
9371 : 0 : return true;
9372 : : }
9373 : : }
9374 : : }
9375 : : }
9376 : : }
9377 : : }
9378 : : }
9379 : : }
9380 : : }
9381 : : break;
9382 : : }
9383 : : default:;
9384 : : }
9385 : : }
9386 : : }
9387 : : }
9388 : 0 : break;
9389 : : }
9390 : : default:;
9391 : : }
9392 : : }
9393 : : break;
9394 : : default:;
9395 : : }
9396 : : }
9397 : : }
9398 : : }
9399 : 0 : break;
9400 : : }
9401 : : default:;
9402 : : }
9403 : : }
9404 : : break;
9405 : : default:;
9406 : : }
9407 : : break;
9408 : : }
9409 : : default:;
9410 : : }
9411 : : }
9412 : : break;
9413 : : default:;
9414 : : }
9415 : : }
9416 : : break;
9417 : : }
9418 : 0 : default:;
9419 : : }
9420 : 0 : switch (TREE_CODE (_q40))
9421 : : {
9422 : 0 : case INTEGER_CST:
9423 : 0 : {
9424 : 0 : if (integer_zerop (_q31))
9425 : : {
9426 : 0 : switch (TREE_CODE (_q21))
9427 : : {
9428 : 0 : case SSA_NAME:
9429 : 0 : if (gimple *_d4 = get_def (valueize, _q21))
9430 : : {
9431 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
9432 : 0 : switch (gimple_assign_rhs_code (_a4))
9433 : : {
9434 : 0 : case LT_EXPR:
9435 : 0 : {
9436 : 0 : tree _q80 = gimple_assign_rhs1 (_a4);
9437 : 0 : _q80 = do_valueize (valueize, _q80);
9438 : 0 : tree _q81 = gimple_assign_rhs2 (_a4);
9439 : 0 : _q81 = do_valueize (valueize, _q81);
9440 : 0 : switch (TREE_CODE (_q80))
9441 : : {
9442 : 0 : case SSA_NAME:
9443 : 0 : if (gimple *_d5 = get_def (valueize, _q80))
9444 : : {
9445 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
9446 : 0 : switch (gimple_assign_rhs_code (_a5))
9447 : : {
9448 : 0 : case BIT_XOR_EXPR:
9449 : 0 : {
9450 : 0 : tree _q90 = gimple_assign_rhs1 (_a5);
9451 : 0 : _q90 = do_valueize (valueize, _q90);
9452 : 0 : tree _q91 = gimple_assign_rhs2 (_a5);
9453 : 0 : _q91 = do_valueize (valueize, _q91);
9454 : 0 : if (tree_swap_operands_p (_q90, _q91))
9455 : 0 : std::swap (_q90, _q91);
9456 : 0 : if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
9457 : : {
9458 : 0 : {
9459 : 0 : tree _q91_pops[1];
9460 : 0 : if (gimple_nop_convert (_q91, _q91_pops, valueize))
9461 : : {
9462 : 0 : tree _q110 = _q91_pops[0];
9463 : 0 : switch (TREE_CODE (_q110))
9464 : : {
9465 : 0 : case SSA_NAME:
9466 : 0 : if (gimple *_d6 = get_def (valueize, _q110))
9467 : : {
9468 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
9469 : 0 : switch (gimple_assign_rhs_code (_a6))
9470 : : {
9471 : 0 : case PLUS_EXPR:
9472 : 0 : {
9473 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
9474 : 0 : _q120 = do_valueize (valueize, _q120);
9475 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
9476 : 0 : _q121 = do_valueize (valueize, _q121);
9477 : 0 : if (tree_swap_operands_p (_q120, _q121))
9478 : 0 : std::swap (_q120, _q121);
9479 : 0 : {
9480 : 0 : tree _q120_pops[1];
9481 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
9482 : : {
9483 : 0 : tree _q130 = _q120_pops[0];
9484 : 0 : if ((_q130 == _q41 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q41, 0) && types_match (_q130, _q41)))
9485 : : {
9486 : 0 : switch (TREE_CODE (_q121))
9487 : : {
9488 : 0 : case INTEGER_CST:
9489 : 0 : {
9490 : 0 : if (integer_zerop (_q81))
9491 : : {
9492 : 0 : {
9493 : 0 : tree _p1_pops[1];
9494 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
9495 : : {
9496 : 0 : tree _q170 = _p1_pops[0];
9497 : 0 : if ((_q170 == _q41 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q41, 0) && types_match (_q170, _q41)))
9498 : : {
9499 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
9500 : : {
9501 : 0 : {
9502 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q121, _q91, _q40 };
9503 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
9504 : : )
9505 : : {
9506 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
9507 : : )
9508 : : {
9509 : 0 : {
9510 : 0 : res_ops[0] = captures[0];
9511 : 0 : res_ops[1] = captures[1];
9512 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
9513 : 0 : return true;
9514 : : }
9515 : : }
9516 : : }
9517 : : }
9518 : : }
9519 : : }
9520 : : }
9521 : : }
9522 : : }
9523 : : break;
9524 : : }
9525 : : default:;
9526 : : }
9527 : : }
9528 : : }
9529 : : }
9530 : 0 : break;
9531 : : }
9532 : : default:;
9533 : : }
9534 : : }
9535 : : break;
9536 : : default:;
9537 : : }
9538 : : }
9539 : : }
9540 : : }
9541 : 28721999 : break;
9542 : : }
9543 : : default:;
9544 : : }
9545 : : }
9546 : : break;
9547 : : default:;
9548 : : }
9549 : : break;
9550 : : }
9551 : : default:;
9552 : : }
9553 : : }
9554 : : break;
9555 : : default:;
9556 : : }
9557 : : }
9558 : : break;
9559 : : }
9560 : : default:;
9561 : : }
9562 : 28721999 : break;
9563 : : }
9564 : : default:;
9565 : : }
9566 : : }
9567 : : break;
9568 : : default:;
9569 : : }
9570 : : break;
9571 : : }
9572 : 0 : case BIT_NOT_EXPR:
9573 : 0 : {
9574 : 0 : tree _q30 = gimple_assign_rhs1 (_a2);
9575 : 0 : _q30 = do_valueize (valueize, _q30);
9576 : 0 : switch (TREE_CODE (_q30))
9577 : : {
9578 : 0 : case SSA_NAME:
9579 : 0 : if (gimple *_d3 = get_def (valueize, _q30))
9580 : : {
9581 : 0 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
9582 : 0 : switch (gimple_assign_rhs_code (_a3))
9583 : : {
9584 : 0 : case LT_EXPR:
9585 : 0 : {
9586 : 0 : tree _q40 = gimple_assign_rhs1 (_a3);
9587 : 0 : _q40 = do_valueize (valueize, _q40);
9588 : 0 : tree _q41 = gimple_assign_rhs2 (_a3);
9589 : 0 : _q41 = do_valueize (valueize, _q41);
9590 : 0 : switch (TREE_CODE (_q40))
9591 : : {
9592 : 0 : case SSA_NAME:
9593 : 0 : if (gimple *_d4 = get_def (valueize, _q40))
9594 : : {
9595 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
9596 : 0 : switch (gimple_assign_rhs_code (_a4))
9597 : : {
9598 : 0 : case BIT_XOR_EXPR:
9599 : 0 : {
9600 : 0 : tree _q50 = gimple_assign_rhs1 (_a4);
9601 : 0 : _q50 = do_valueize (valueize, _q50);
9602 : 0 : tree _q51 = gimple_assign_rhs2 (_a4);
9603 : 0 : _q51 = do_valueize (valueize, _q51);
9604 : 0 : if (tree_swap_operands_p (_q50, _q51))
9605 : 0 : std::swap (_q50, _q51);
9606 : 0 : if (integer_zerop (_q41))
9607 : : {
9608 : 0 : switch (TREE_CODE (_q21))
9609 : : {
9610 : 0 : case SSA_NAME:
9611 : 0 : if (gimple *_d5 = get_def (valueize, _q21))
9612 : : {
9613 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
9614 : 0 : switch (gimple_assign_rhs_code (_a5))
9615 : : {
9616 : 0 : case LT_EXPR:
9617 : 0 : {
9618 : 0 : tree _q90 = gimple_assign_rhs1 (_a5);
9619 : 0 : _q90 = do_valueize (valueize, _q90);
9620 : 0 : tree _q91 = gimple_assign_rhs2 (_a5);
9621 : 0 : _q91 = do_valueize (valueize, _q91);
9622 : 0 : switch (TREE_CODE (_q90))
9623 : : {
9624 : 0 : case SSA_NAME:
9625 : 0 : if (gimple *_d6 = get_def (valueize, _q90))
9626 : : {
9627 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
9628 : 0 : switch (gimple_assign_rhs_code (_a6))
9629 : : {
9630 : 0 : case BIT_XOR_EXPR:
9631 : 0 : {
9632 : 0 : tree _q100 = gimple_assign_rhs1 (_a6);
9633 : 0 : _q100 = do_valueize (valueize, _q100);
9634 : 0 : tree _q101 = gimple_assign_rhs2 (_a6);
9635 : 0 : _q101 = do_valueize (valueize, _q101);
9636 : 0 : if (tree_swap_operands_p (_q100, _q101))
9637 : 0 : std::swap (_q100, _q101);
9638 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
9639 : : {
9640 : 0 : {
9641 : 0 : tree _q101_pops[1];
9642 : 0 : if (gimple_nop_convert (_q101, _q101_pops, valueize))
9643 : : {
9644 : 0 : tree _q120 = _q101_pops[0];
9645 : 0 : switch (TREE_CODE (_q120))
9646 : : {
9647 : 0 : case SSA_NAME:
9648 : 0 : if (gimple *_d7 = get_def (valueize, _q120))
9649 : : {
9650 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
9651 : 0 : switch (gimple_assign_rhs_code (_a7))
9652 : : {
9653 : 0 : case PLUS_EXPR:
9654 : 0 : {
9655 : 0 : tree _q130 = gimple_assign_rhs1 (_a7);
9656 : 0 : _q130 = do_valueize (valueize, _q130);
9657 : 0 : tree _q131 = gimple_assign_rhs2 (_a7);
9658 : 0 : _q131 = do_valueize (valueize, _q131);
9659 : 0 : if (tree_swap_operands_p (_q130, _q131))
9660 : 0 : std::swap (_q130, _q131);
9661 : 0 : {
9662 : 0 : tree _q130_pops[1];
9663 : 0 : if (gimple_nop_convert (_q130, _q130_pops, valueize))
9664 : : {
9665 : 0 : tree _q140 = _q130_pops[0];
9666 : 0 : if ((_q140 == _q50 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q50, 0) && types_match (_q140, _q50)))
9667 : : {
9668 : 0 : {
9669 : 0 : tree _q131_pops[1];
9670 : 0 : if (gimple_nop_convert (_q131, _q131_pops, valueize))
9671 : : {
9672 : 0 : tree _q160 = _q131_pops[0];
9673 : 0 : if ((_q160 == _q51 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q51, 0) && types_match (_q160, _q51)))
9674 : : {
9675 : 0 : if (integer_zerop (_q91))
9676 : : {
9677 : 0 : {
9678 : 0 : tree _p1_pops[1];
9679 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
9680 : : {
9681 : 0 : tree _q190 = _p1_pops[0];
9682 : 0 : if ((_q190 == _q50 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q50, 0) && types_match (_q190, _q50)))
9683 : : {
9684 : 0 : if ((_p2 == _q101 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q101, 0) && types_match (_p2, _q101)))
9685 : : {
9686 : 0 : {
9687 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q101 };
9688 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
9689 : : )
9690 : : {
9691 : 0 : {
9692 : 0 : res_ops[0] = captures[0];
9693 : 0 : res_ops[1] = captures[1];
9694 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
9695 : 0 : return true;
9696 : : }
9697 : : }
9698 : : }
9699 : : }
9700 : : }
9701 : : }
9702 : : }
9703 : : }
9704 : : }
9705 : : }
9706 : : }
9707 : : }
9708 : : }
9709 : : }
9710 : 0 : break;
9711 : : }
9712 : : default:;
9713 : : }
9714 : : }
9715 : : break;
9716 : : default:;
9717 : : }
9718 : : }
9719 : : }
9720 : : }
9721 : 0 : if ((_q100 == _q51 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q51, 0) && types_match (_q100, _q51)))
9722 : : {
9723 : 0 : {
9724 : 0 : tree _q101_pops[1];
9725 : 0 : if (gimple_nop_convert (_q101, _q101_pops, valueize))
9726 : : {
9727 : 0 : tree _q120 = _q101_pops[0];
9728 : 0 : switch (TREE_CODE (_q120))
9729 : : {
9730 : 0 : case SSA_NAME:
9731 : 0 : if (gimple *_d7 = get_def (valueize, _q120))
9732 : : {
9733 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
9734 : 0 : switch (gimple_assign_rhs_code (_a7))
9735 : : {
9736 : 0 : case PLUS_EXPR:
9737 : 0 : {
9738 : 0 : tree _q130 = gimple_assign_rhs1 (_a7);
9739 : 0 : _q130 = do_valueize (valueize, _q130);
9740 : 0 : tree _q131 = gimple_assign_rhs2 (_a7);
9741 : 0 : _q131 = do_valueize (valueize, _q131);
9742 : 0 : if (tree_swap_operands_p (_q130, _q131))
9743 : 0 : std::swap (_q130, _q131);
9744 : 0 : {
9745 : 0 : tree _q130_pops[1];
9746 : 0 : if (gimple_nop_convert (_q130, _q130_pops, valueize))
9747 : : {
9748 : 0 : tree _q140 = _q130_pops[0];
9749 : 0 : if ((_q140 == _q51 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q51, 0) && types_match (_q140, _q51)))
9750 : : {
9751 : 0 : {
9752 : 0 : tree _q131_pops[1];
9753 : 0 : if (gimple_nop_convert (_q131, _q131_pops, valueize))
9754 : : {
9755 : 0 : tree _q160 = _q131_pops[0];
9756 : 0 : if ((_q160 == _q50 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q50, 0) && types_match (_q160, _q50)))
9757 : : {
9758 : 0 : if (integer_zerop (_q91))
9759 : : {
9760 : 0 : {
9761 : 0 : tree _p1_pops[1];
9762 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
9763 : : {
9764 : 0 : tree _q190 = _p1_pops[0];
9765 : 0 : if ((_q190 == _q51 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q51, 0) && types_match (_q190, _q51)))
9766 : : {
9767 : 0 : if ((_p2 == _q101 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q101, 0) && types_match (_p2, _q101)))
9768 : : {
9769 : 0 : {
9770 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q101 };
9771 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
9772 : : )
9773 : : {
9774 : 0 : {
9775 : 0 : res_ops[0] = captures[0];
9776 : 0 : res_ops[1] = captures[1];
9777 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
9778 : 0 : return true;
9779 : : }
9780 : : }
9781 : : }
9782 : : }
9783 : : }
9784 : : }
9785 : : }
9786 : : }
9787 : : }
9788 : : }
9789 : : }
9790 : : }
9791 : : }
9792 : : }
9793 : 0 : break;
9794 : : }
9795 : : default:;
9796 : : }
9797 : : }
9798 : : break;
9799 : : default:;
9800 : : }
9801 : : }
9802 : : }
9803 : : }
9804 : 28721999 : break;
9805 : : }
9806 : : default:;
9807 : : }
9808 : : }
9809 : : break;
9810 : : default:;
9811 : : }
9812 : : break;
9813 : : }
9814 : : default:;
9815 : : }
9816 : : }
9817 : : break;
9818 : : default:;
9819 : : }
9820 : : }
9821 : 28721999 : break;
9822 : : }
9823 : : default:;
9824 : : }
9825 : : }
9826 : : break;
9827 : : default:;
9828 : : }
9829 : : break;
9830 : : }
9831 : : default:;
9832 : : }
9833 : : }
9834 : : break;
9835 : : default:;
9836 : : }
9837 : : break;
9838 : : }
9839 : : default:;
9840 : : }
9841 : : }
9842 : : break;
9843 : : default:;
9844 : : }
9845 : : }
9846 : : }
9847 : 28721999 : break;
9848 : : }
9849 : 0 : case NE_EXPR:
9850 : 0 : {
9851 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
9852 : 0 : if ((TREE_CODE (_q20) == SSA_NAME
9853 : 0 : || is_gimple_min_invariant (_q20)))
9854 : : {
9855 : 0 : _q20 = do_valueize (valueize, _q20);
9856 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
9857 : 0 : if ((TREE_CODE (_q21) == SSA_NAME
9858 : 0 : || is_gimple_min_invariant (_q21)))
9859 : : {
9860 : 0 : _q21 = do_valueize (valueize, _q21);
9861 : 0 : if (tree_swap_operands_p (_q20, _q21))
9862 : 0 : std::swap (_q20, _q21);
9863 : 0 : switch (TREE_CODE (_q20))
9864 : : {
9865 : 0 : case SSA_NAME:
9866 : 0 : if (gimple *_d2 = get_def (valueize, _q20))
9867 : : {
9868 : 0 : if (gassign *_a2 = dyn_cast <gassign *> (_d2))
9869 : 0 : switch (gimple_assign_rhs_code (_a2))
9870 : : {
9871 : 0 : case IMAGPART_EXPR:
9872 : 0 : {
9873 : 0 : tree _q30 = TREE_OPERAND (gimple_assign_rhs1 (_a2), 0);
9874 : 0 : if ((TREE_CODE (_q30) == SSA_NAME
9875 : 0 : || is_gimple_min_invariant (_q30)))
9876 : : {
9877 : 0 : _q30 = do_valueize (valueize, _q30);
9878 : 0 : switch (TREE_CODE (_q30))
9879 : : {
9880 : 0 : case SSA_NAME:
9881 : 0 : if (gimple *_d3 = get_def (valueize, _q30))
9882 : : {
9883 : 0 : if (gcall *_c3 = dyn_cast <gcall *> (_d3))
9884 : 0 : switch (gimple_call_combined_fn (_c3))
9885 : : {
9886 : 0 : case CFN_ADD_OVERFLOW:
9887 : 0 : if (gimple_call_num_args (_c3) == 2)
9888 : : {
9889 : 0 : tree _q40 = gimple_call_arg (_c3, 0);
9890 : 0 : _q40 = do_valueize (valueize, _q40);
9891 : 0 : tree _q41 = gimple_call_arg (_c3, 1);
9892 : 0 : _q41 = do_valueize (valueize, _q41);
9893 : 0 : if (tree_swap_operands_p (_q40, _q41))
9894 : 0 : std::swap (_q40, _q41);
9895 : 0 : if (integer_zerop (_q21))
9896 : : {
9897 : 0 : {
9898 : 0 : tree _p1_pops[1];
9899 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
9900 : : {
9901 : 0 : tree _q80 = _p1_pops[0];
9902 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
9903 : : {
9904 : 0 : switch (TREE_CODE (_p2))
9905 : : {
9906 : 0 : case SSA_NAME:
9907 : 0 : if (gimple *_d4 = get_def (valueize, _p2))
9908 : : {
9909 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
9910 : 0 : switch (gimple_assign_rhs_code (_a4))
9911 : : {
9912 : 0 : case REALPART_EXPR:
9913 : 0 : {
9914 : 0 : tree _q100 = TREE_OPERAND (gimple_assign_rhs1 (_a4), 0);
9915 : 0 : if ((TREE_CODE (_q100) == SSA_NAME
9916 : 0 : || is_gimple_min_invariant (_q100)))
9917 : : {
9918 : 0 : _q100 = do_valueize (valueize, _q100);
9919 : 0 : if ((_q100 == _q30 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q30, 0) && types_match (_q100, _q30)))
9920 : : {
9921 : 0 : {
9922 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q30 };
9923 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
9924 : : )
9925 : : {
9926 : 0 : {
9927 : 0 : res_ops[0] = captures[0];
9928 : 0 : res_ops[1] = captures[1];
9929 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 80, __FILE__, __LINE__, false);
9930 : 0 : return true;
9931 : : }
9932 : : }
9933 : : }
9934 : : }
9935 : : }
9936 : : break;
9937 : : }
9938 : : default:;
9939 : : }
9940 : : }
9941 : : break;
9942 : : default:;
9943 : : }
9944 : : }
9945 : 0 : if ((_q80 == _q41 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q41, 0) && types_match (_q80, _q41)))
9946 : : {
9947 : 0 : switch (TREE_CODE (_p2))
9948 : : {
9949 : 0 : case SSA_NAME:
9950 : 0 : if (gimple *_d4 = get_def (valueize, _p2))
9951 : : {
9952 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
9953 : 0 : switch (gimple_assign_rhs_code (_a4))
9954 : : {
9955 : 0 : case REALPART_EXPR:
9956 : 0 : {
9957 : 0 : tree _q100 = TREE_OPERAND (gimple_assign_rhs1 (_a4), 0);
9958 : 0 : if ((TREE_CODE (_q100) == SSA_NAME
9959 : 0 : || is_gimple_min_invariant (_q100)))
9960 : : {
9961 : 0 : _q100 = do_valueize (valueize, _q100);
9962 : 0 : if ((_q100 == _q30 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q30, 0) && types_match (_q100, _q30)))
9963 : : {
9964 : 0 : {
9965 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q30 };
9966 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
9967 : : )
9968 : : {
9969 : 0 : {
9970 : 0 : res_ops[0] = captures[0];
9971 : 0 : res_ops[1] = captures[1];
9972 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 80, __FILE__, __LINE__, false);
9973 : 0 : return true;
9974 : : }
9975 : : }
9976 : : }
9977 : : }
9978 : : }
9979 : : break;
9980 : : }
9981 : : default:;
9982 : : }
9983 : : }
9984 : : break;
9985 : : default:;
9986 : : }
9987 : : }
9988 : : }
9989 : : }
9990 : : }
9991 : : }
9992 : : break;
9993 : : default:;
9994 : : }
9995 : : }
9996 : : break;
9997 : : default:;
9998 : : }
9999 : : }
10000 : : break;
10001 : : }
10002 : : default:;
10003 : : }
10004 : : }
10005 : : break;
10006 : : default:;
10007 : : }
10008 : : }
10009 : : }
10010 : 28721999 : break;
10011 : : }
10012 : : default:;
10013 : : }
10014 : : break;
10015 : : }
10016 : 5291636 : CASE_CONVERT:
10017 : 5291636 : {
10018 : 5291636 : tree _p0 = gimple_assign_rhs1 (_a1);
10019 : 5291636 : _p0 = do_valueize (valueize, _p0);
10020 : 5291636 : switch (TREE_CODE (_p0))
10021 : : {
10022 : 5044616 : case SSA_NAME:
10023 : 5044616 : if (gimple *_d2 = get_def (valueize, _p0))
10024 : : {
10025 : 5044616 : if (gassign *_a2 = dyn_cast <gassign *> (_d2))
10026 : 4746811 : switch (gimple_assign_rhs_code (_a2))
10027 : : {
10028 : 4747 : case COND_EXPR:
10029 : 4747 : {
10030 : 4747 : tree _q20 = gimple_assign_rhs1 (_a2);
10031 : 4747 : _q20 = do_valueize (valueize, _q20);
10032 : 4747 : tree _q21 = gimple_assign_rhs2 (_a2);
10033 : 4747 : _q21 = do_valueize (valueize, _q21);
10034 : 4747 : tree _q22 = gimple_assign_rhs3 (_a2);
10035 : 4747 : _q22 = do_valueize (valueize, _q22);
10036 : 4747 : switch (TREE_CODE (_q20))
10037 : : {
10038 : 4747 : case SSA_NAME:
10039 : 4747 : if (gimple *_d3 = get_def (valueize, _q20))
10040 : : {
10041 : 4747 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
10042 : 4754 : switch (gimple_assign_rhs_code (_a3))
10043 : : {
10044 : 1180 : case LT_EXPR:
10045 : 1180 : {
10046 : 1180 : tree _q30 = gimple_assign_rhs1 (_a3);
10047 : 1180 : _q30 = do_valueize (valueize, _q30);
10048 : 1180 : tree _q31 = gimple_assign_rhs2 (_a3);
10049 : 1180 : _q31 = do_valueize (valueize, _q31);
10050 : 1180 : switch (TREE_CODE (_q30))
10051 : : {
10052 : 1180 : case SSA_NAME:
10053 : 1180 : if (gimple *_d4 = get_def (valueize, _q30))
10054 : : {
10055 : 1180 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
10056 : 1354 : switch (gimple_assign_rhs_code (_a4))
10057 : : {
10058 : 0 : case BIT_AND_EXPR:
10059 : 0 : {
10060 : 0 : tree _q40 = gimple_assign_rhs1 (_a4);
10061 : 0 : _q40 = do_valueize (valueize, _q40);
10062 : 0 : tree _q41 = gimple_assign_rhs2 (_a4);
10063 : 0 : _q41 = do_valueize (valueize, _q41);
10064 : 0 : if (tree_swap_operands_p (_q40, _q41))
10065 : 0 : std::swap (_q40, _q41);
10066 : 0 : {
10067 : 0 : tree _q41_pops[1];
10068 : 0 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
10069 : : {
10070 : 0 : tree _q60 = _q41_pops[0];
10071 : 0 : switch (TREE_CODE (_q60))
10072 : : {
10073 : 0 : case SSA_NAME:
10074 : 0 : if (gimple *_d5 = get_def (valueize, _q60))
10075 : : {
10076 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
10077 : 0 : switch (gimple_assign_rhs_code (_a5))
10078 : : {
10079 : 0 : case NEGATE_EXPR:
10080 : 0 : {
10081 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
10082 : 0 : _q70 = do_valueize (valueize, _q70);
10083 : 0 : {
10084 : 0 : tree _q70_pops[1];
10085 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
10086 : : {
10087 : 0 : tree _q80 = _q70_pops[0];
10088 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
10089 : : {
10090 : 0 : if (integer_zerop (_q31))
10091 : : {
10092 : 0 : switch (TREE_CODE (_q21))
10093 : : {
10094 : 0 : case INTEGER_CST:
10095 : 0 : {
10096 : 0 : switch (TREE_CODE (_q22))
10097 : : {
10098 : 0 : case SSA_NAME:
10099 : 0 : if (gimple *_d6 = get_def (valueize, _q22))
10100 : : {
10101 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
10102 : 0 : switch (gimple_assign_rhs_code (_a6))
10103 : : {
10104 : 0 : case PLUS_EXPR:
10105 : 0 : {
10106 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
10107 : 0 : _q120 = do_valueize (valueize, _q120);
10108 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
10109 : 0 : _q121 = do_valueize (valueize, _q121);
10110 : 0 : if (tree_swap_operands_p (_q120, _q121))
10111 : 0 : std::swap (_q120, _q121);
10112 : 0 : {
10113 : 0 : tree _q120_pops[1];
10114 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
10115 : : {
10116 : 0 : tree _q130 = _q120_pops[0];
10117 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
10118 : : {
10119 : 0 : if (integer_all_onesp (_q121))
10120 : : {
10121 : 0 : {
10122 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q121, _q21 };
10123 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
10124 : : )
10125 : : {
10126 : 0 : {
10127 : 0 : unsigned precision = TYPE_PRECISION (type);
10128 : 0 : wide_int c1 = wi::to_wide (captures[1]);
10129 : 0 : wide_int c2 = wi::to_wide (captures[2]);
10130 : 0 : wide_int sum = wi::add (c1, c2);
10131 : 0 : if (wi::eq_p (sum, wi::max_value (precision, SIGNED))
10132 : : )
10133 : : {
10134 : 0 : {
10135 : 0 : res_ops[0] = captures[0];
10136 : 0 : res_ops[1] = captures[1];
10137 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 81, __FILE__, __LINE__, false);
10138 : 0 : return true;
10139 : : }
10140 : : }
10141 : 0 : }
10142 : : }
10143 : : }
10144 : : }
10145 : : }
10146 : : }
10147 : : }
10148 : 0 : break;
10149 : : }
10150 : : default:;
10151 : : }
10152 : : }
10153 : : break;
10154 : : default:;
10155 : : }
10156 : : break;
10157 : : }
10158 : : default:;
10159 : : }
10160 : : }
10161 : : }
10162 : : }
10163 : : }
10164 : 0 : break;
10165 : : }
10166 : : default:;
10167 : : }
10168 : : }
10169 : : break;
10170 : : default:;
10171 : : }
10172 : : }
10173 : : }
10174 : 0 : {
10175 : 0 : tree _q40_pops[1];
10176 : 0 : if (gimple_nop_convert (_q40, _q40_pops, valueize))
10177 : : {
10178 : 0 : tree _q50 = _q40_pops[0];
10179 : 0 : switch (TREE_CODE (_q50))
10180 : : {
10181 : 0 : case SSA_NAME:
10182 : 0 : if (gimple *_d5 = get_def (valueize, _q50))
10183 : : {
10184 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
10185 : 0 : switch (gimple_assign_rhs_code (_a5))
10186 : : {
10187 : 0 : case NEGATE_EXPR:
10188 : 0 : {
10189 : 0 : tree _q60 = gimple_assign_rhs1 (_a5);
10190 : 0 : _q60 = do_valueize (valueize, _q60);
10191 : 0 : {
10192 : 0 : tree _q60_pops[1];
10193 : 0 : if (gimple_nop_convert (_q60, _q60_pops, valueize))
10194 : : {
10195 : 0 : tree _q70 = _q60_pops[0];
10196 : 0 : if ((_q41 == _q70 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q70, 0) && types_match (_q41, _q70)))
10197 : : {
10198 : 0 : if (integer_zerop (_q31))
10199 : : {
10200 : 0 : switch (TREE_CODE (_q21))
10201 : : {
10202 : 0 : case INTEGER_CST:
10203 : 0 : {
10204 : 0 : switch (TREE_CODE (_q22))
10205 : : {
10206 : 0 : case SSA_NAME:
10207 : 0 : if (gimple *_d6 = get_def (valueize, _q22))
10208 : : {
10209 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
10210 : 0 : switch (gimple_assign_rhs_code (_a6))
10211 : : {
10212 : 0 : case PLUS_EXPR:
10213 : 0 : {
10214 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
10215 : 0 : _q120 = do_valueize (valueize, _q120);
10216 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
10217 : 0 : _q121 = do_valueize (valueize, _q121);
10218 : 0 : if (tree_swap_operands_p (_q120, _q121))
10219 : 0 : std::swap (_q120, _q121);
10220 : 0 : {
10221 : 0 : tree _q120_pops[1];
10222 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
10223 : : {
10224 : 0 : tree _q130 = _q120_pops[0];
10225 : 0 : if ((_q130 == _q70 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q70, 0) && types_match (_q130, _q70)))
10226 : : {
10227 : 0 : if (integer_all_onesp (_q121))
10228 : : {
10229 : 0 : {
10230 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q121, _q21 };
10231 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
10232 : : )
10233 : : {
10234 : 0 : {
10235 : 0 : unsigned precision = TYPE_PRECISION (type);
10236 : 0 : wide_int c1 = wi::to_wide (captures[1]);
10237 : 0 : wide_int c2 = wi::to_wide (captures[2]);
10238 : 0 : wide_int sum = wi::add (c1, c2);
10239 : 0 : if (wi::eq_p (sum, wi::max_value (precision, SIGNED))
10240 : : )
10241 : : {
10242 : 0 : {
10243 : 0 : res_ops[0] = captures[0];
10244 : 0 : res_ops[1] = captures[1];
10245 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 81, __FILE__, __LINE__, false);
10246 : 0 : return true;
10247 : : }
10248 : : }
10249 : 0 : }
10250 : : }
10251 : : }
10252 : : }
10253 : : }
10254 : : }
10255 : : }
10256 : 0 : break;
10257 : : }
10258 : : default:;
10259 : : }
10260 : : }
10261 : : break;
10262 : : default:;
10263 : : }
10264 : : break;
10265 : : }
10266 : : default:;
10267 : : }
10268 : : }
10269 : : }
10270 : : }
10271 : : }
10272 : 0 : break;
10273 : : }
10274 : : default:;
10275 : : }
10276 : : }
10277 : : break;
10278 : : default:;
10279 : : }
10280 : : }
10281 : : }
10282 : 0 : break;
10283 : : }
10284 : : default:;
10285 : : }
10286 : : }
10287 : : break;
10288 : : default:;
10289 : : }
10290 : : break;
10291 : : }
10292 : : default:;
10293 : : }
10294 : : }
10295 : : break;
10296 : 0 : case LT_EXPR:
10297 : 0 : {
10298 : 0 : tree _q30 = TREE_OPERAND (_q20, 0);
10299 : 0 : if ((TREE_CODE (_q30) == SSA_NAME
10300 : 0 : || is_gimple_min_invariant (_q30)))
10301 : : {
10302 : 0 : _q30 = do_valueize (valueize, _q30);
10303 : 0 : tree _q31 = TREE_OPERAND (_q20, 1);
10304 : 0 : if ((TREE_CODE (_q31) == SSA_NAME
10305 : 0 : || is_gimple_min_invariant (_q31)))
10306 : : {
10307 : 0 : _q31 = do_valueize (valueize, _q31);
10308 : 0 : switch (TREE_CODE (_q30))
10309 : : {
10310 : 0 : case SSA_NAME:
10311 : 0 : if (gimple *_d3 = get_def (valueize, _q30))
10312 : : {
10313 : 0 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
10314 : 0 : switch (gimple_assign_rhs_code (_a3))
10315 : : {
10316 : 0 : case BIT_AND_EXPR:
10317 : 0 : {
10318 : 0 : tree _q40 = gimple_assign_rhs1 (_a3);
10319 : 0 : _q40 = do_valueize (valueize, _q40);
10320 : 0 : tree _q41 = gimple_assign_rhs2 (_a3);
10321 : 0 : _q41 = do_valueize (valueize, _q41);
10322 : 0 : if (tree_swap_operands_p (_q40, _q41))
10323 : 0 : std::swap (_q40, _q41);
10324 : 0 : {
10325 : 0 : tree _q41_pops[1];
10326 : 0 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
10327 : : {
10328 : 0 : tree _q60 = _q41_pops[0];
10329 : 0 : switch (TREE_CODE (_q60))
10330 : : {
10331 : 0 : case SSA_NAME:
10332 : 0 : if (gimple *_d4 = get_def (valueize, _q60))
10333 : : {
10334 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
10335 : 0 : switch (gimple_assign_rhs_code (_a4))
10336 : : {
10337 : 0 : case NEGATE_EXPR:
10338 : 0 : {
10339 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
10340 : 0 : _q70 = do_valueize (valueize, _q70);
10341 : 0 : {
10342 : 0 : tree _q70_pops[1];
10343 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
10344 : : {
10345 : 0 : tree _q80 = _q70_pops[0];
10346 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
10347 : : {
10348 : 0 : if (integer_zerop (_q31))
10349 : : {
10350 : 0 : switch (TREE_CODE (_q21))
10351 : : {
10352 : 0 : case INTEGER_CST:
10353 : 0 : {
10354 : 0 : switch (TREE_CODE (_q22))
10355 : : {
10356 : 0 : case SSA_NAME:
10357 : 0 : if (gimple *_d5 = get_def (valueize, _q22))
10358 : : {
10359 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
10360 : 0 : switch (gimple_assign_rhs_code (_a5))
10361 : : {
10362 : 0 : case PLUS_EXPR:
10363 : 0 : {
10364 : 0 : tree _q120 = gimple_assign_rhs1 (_a5);
10365 : 0 : _q120 = do_valueize (valueize, _q120);
10366 : 0 : tree _q121 = gimple_assign_rhs2 (_a5);
10367 : 0 : _q121 = do_valueize (valueize, _q121);
10368 : 0 : if (tree_swap_operands_p (_q120, _q121))
10369 : 0 : std::swap (_q120, _q121);
10370 : 0 : {
10371 : 0 : tree _q120_pops[1];
10372 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
10373 : : {
10374 : 0 : tree _q130 = _q120_pops[0];
10375 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
10376 : : {
10377 : 0 : if (integer_all_onesp (_q121))
10378 : : {
10379 : 0 : {
10380 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q121, _q21 };
10381 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
10382 : : )
10383 : : {
10384 : 0 : {
10385 : 0 : unsigned precision = TYPE_PRECISION (type);
10386 : 0 : wide_int c1 = wi::to_wide (captures[1]);
10387 : 0 : wide_int c2 = wi::to_wide (captures[2]);
10388 : 0 : wide_int sum = wi::add (c1, c2);
10389 : 0 : if (wi::eq_p (sum, wi::max_value (precision, SIGNED))
10390 : : )
10391 : : {
10392 : 0 : {
10393 : 0 : res_ops[0] = captures[0];
10394 : 0 : res_ops[1] = captures[1];
10395 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 81, __FILE__, __LINE__, false);
10396 : 0 : return true;
10397 : : }
10398 : : }
10399 : 0 : }
10400 : : }
10401 : : }
10402 : : }
10403 : : }
10404 : : }
10405 : : }
10406 : 0 : break;
10407 : : }
10408 : : default:;
10409 : : }
10410 : : }
10411 : : break;
10412 : : default:;
10413 : : }
10414 : : break;
10415 : : }
10416 : : default:;
10417 : : }
10418 : : }
10419 : : }
10420 : : }
10421 : : }
10422 : 0 : break;
10423 : : }
10424 : : default:;
10425 : : }
10426 : : }
10427 : : break;
10428 : : default:;
10429 : : }
10430 : : }
10431 : : }
10432 : 0 : {
10433 : 0 : tree _q40_pops[1];
10434 : 0 : if (gimple_nop_convert (_q40, _q40_pops, valueize))
10435 : : {
10436 : 0 : tree _q50 = _q40_pops[0];
10437 : 0 : switch (TREE_CODE (_q50))
10438 : : {
10439 : 0 : case SSA_NAME:
10440 : 0 : if (gimple *_d4 = get_def (valueize, _q50))
10441 : : {
10442 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
10443 : 0 : switch (gimple_assign_rhs_code (_a4))
10444 : : {
10445 : 0 : case NEGATE_EXPR:
10446 : 0 : {
10447 : 0 : tree _q60 = gimple_assign_rhs1 (_a4);
10448 : 0 : _q60 = do_valueize (valueize, _q60);
10449 : 0 : {
10450 : 0 : tree _q60_pops[1];
10451 : 0 : if (gimple_nop_convert (_q60, _q60_pops, valueize))
10452 : : {
10453 : 0 : tree _q70 = _q60_pops[0];
10454 : 0 : if ((_q41 == _q70 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q70, 0) && types_match (_q41, _q70)))
10455 : : {
10456 : 0 : if (integer_zerop (_q31))
10457 : : {
10458 : 0 : switch (TREE_CODE (_q21))
10459 : : {
10460 : 0 : case INTEGER_CST:
10461 : 0 : {
10462 : 0 : switch (TREE_CODE (_q22))
10463 : : {
10464 : 0 : case SSA_NAME:
10465 : 0 : if (gimple *_d5 = get_def (valueize, _q22))
10466 : : {
10467 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
10468 : 0 : switch (gimple_assign_rhs_code (_a5))
10469 : : {
10470 : 0 : case PLUS_EXPR:
10471 : 0 : {
10472 : 0 : tree _q120 = gimple_assign_rhs1 (_a5);
10473 : 0 : _q120 = do_valueize (valueize, _q120);
10474 : 0 : tree _q121 = gimple_assign_rhs2 (_a5);
10475 : 0 : _q121 = do_valueize (valueize, _q121);
10476 : 0 : if (tree_swap_operands_p (_q120, _q121))
10477 : 0 : std::swap (_q120, _q121);
10478 : 0 : {
10479 : 0 : tree _q120_pops[1];
10480 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
10481 : : {
10482 : 0 : tree _q130 = _q120_pops[0];
10483 : 0 : if ((_q130 == _q70 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q70, 0) && types_match (_q130, _q70)))
10484 : : {
10485 : 0 : if (integer_all_onesp (_q121))
10486 : : {
10487 : 0 : {
10488 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q121, _q21 };
10489 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
10490 : : )
10491 : : {
10492 : 0 : {
10493 : 0 : unsigned precision = TYPE_PRECISION (type);
10494 : 0 : wide_int c1 = wi::to_wide (captures[1]);
10495 : 0 : wide_int c2 = wi::to_wide (captures[2]);
10496 : 0 : wide_int sum = wi::add (c1, c2);
10497 : 0 : if (wi::eq_p (sum, wi::max_value (precision, SIGNED))
10498 : : )
10499 : : {
10500 : 0 : {
10501 : 0 : res_ops[0] = captures[0];
10502 : 0 : res_ops[1] = captures[1];
10503 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 81, __FILE__, __LINE__, false);
10504 : 0 : return true;
10505 : : }
10506 : : }
10507 : 0 : }
10508 : : }
10509 : : }
10510 : : }
10511 : : }
10512 : : }
10513 : : }
10514 : 0 : break;
10515 : : }
10516 : : default:;
10517 : : }
10518 : : }
10519 : : break;
10520 : : default:;
10521 : : }
10522 : : break;
10523 : : }
10524 : : default:;
10525 : : }
10526 : : }
10527 : : }
10528 : : }
10529 : : }
10530 : 0 : break;
10531 : : }
10532 : : default:;
10533 : : }
10534 : : }
10535 : : break;
10536 : : default:;
10537 : : }
10538 : : }
10539 : : }
10540 : 0 : break;
10541 : : }
10542 : : default:;
10543 : : }
10544 : : }
10545 : : break;
10546 : : default:;
10547 : : }
10548 : : }
10549 : : }
10550 : : break;
10551 : : }
10552 : : default:;
10553 : : }
10554 : : break;
10555 : : }
10556 : : default:;
10557 : : }
10558 : 1571581 : else if (gphi *_a2 = dyn_cast <gphi *> (_d2))
10559 : : {
10560 : 968908 : basic_block _b2 = gimple_bb (_a2);
10561 : 968908 : tree _q21, _q22;
10562 : 968908 : gcond *_cond_2 = match_cond_with_binary_phi (_a2, &_q21, &_q22);
10563 : 968908 : if (_cond_2)
10564 : : {
10565 : 60382 : tree _cond_lhs_2 = gimple_cond_lhs (_cond_2);
10566 : 60382 : tree _cond_rhs_2 = gimple_cond_rhs (_cond_2);
10567 : 60382 : tree _q20 = build2 (gimple_cond_code (_cond_2), boolean_type_node, _cond_lhs_2, _cond_rhs_2);
10568 : 60382 : switch (TREE_CODE (_q20))
10569 : : {
10570 : 0 : case SSA_NAME:
10571 : 0 : if (gimple *_d3 = get_def (valueize, _q20))
10572 : : {
10573 : 0 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
10574 : 0 : switch (gimple_assign_rhs_code (_a3))
10575 : : {
10576 : 0 : case LT_EXPR:
10577 : 0 : {
10578 : 0 : tree _q30 = gimple_assign_rhs1 (_a3);
10579 : 0 : _q30 = do_valueize (valueize, _q30);
10580 : 0 : tree _q31 = gimple_assign_rhs2 (_a3);
10581 : 0 : _q31 = do_valueize (valueize, _q31);
10582 : 0 : switch (TREE_CODE (_q30))
10583 : : {
10584 : 0 : case SSA_NAME:
10585 : 0 : if (gimple *_d4 = get_def (valueize, _q30))
10586 : : {
10587 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
10588 : 0 : switch (gimple_assign_rhs_code (_a4))
10589 : : {
10590 : 0 : case BIT_AND_EXPR:
10591 : 0 : {
10592 : 0 : tree _q40 = gimple_assign_rhs1 (_a4);
10593 : 0 : _q40 = do_valueize (valueize, _q40);
10594 : 0 : tree _q41 = gimple_assign_rhs2 (_a4);
10595 : 0 : _q41 = do_valueize (valueize, _q41);
10596 : 0 : if (tree_swap_operands_p (_q40, _q41))
10597 : 0 : std::swap (_q40, _q41);
10598 : 0 : {
10599 : 0 : tree _q41_pops[1];
10600 : 0 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
10601 : : {
10602 : 0 : tree _q60 = _q41_pops[0];
10603 : 0 : switch (TREE_CODE (_q60))
10604 : : {
10605 : 0 : case SSA_NAME:
10606 : 0 : if (gimple *_d5 = get_def (valueize, _q60))
10607 : : {
10608 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
10609 : 0 : switch (gimple_assign_rhs_code (_a5))
10610 : : {
10611 : 0 : case NEGATE_EXPR:
10612 : 0 : {
10613 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
10614 : 0 : _q70 = do_valueize (valueize, _q70);
10615 : 0 : {
10616 : 0 : tree _q70_pops[1];
10617 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
10618 : : {
10619 : 0 : tree _q80 = _q70_pops[0];
10620 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
10621 : : {
10622 : 0 : if (integer_zerop (_q31))
10623 : : {
10624 : 0 : switch (TREE_CODE (_q21))
10625 : : {
10626 : 0 : case INTEGER_CST:
10627 : 0 : {
10628 : 0 : switch (TREE_CODE (_q22))
10629 : : {
10630 : 0 : case SSA_NAME:
10631 : 0 : if (gimple *_d6 = get_def (valueize, _q22))
10632 : : {
10633 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
10634 : 0 : switch (gimple_assign_rhs_code (_a6))
10635 : : {
10636 : 0 : case PLUS_EXPR:
10637 : 0 : {
10638 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
10639 : 0 : _q120 = do_valueize (valueize, _q120);
10640 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
10641 : 0 : _q121 = do_valueize (valueize, _q121);
10642 : 0 : if (tree_swap_operands_p (_q120, _q121))
10643 : 0 : std::swap (_q120, _q121);
10644 : 0 : {
10645 : 0 : tree _q120_pops[1];
10646 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
10647 : : {
10648 : 0 : tree _q130 = _q120_pops[0];
10649 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
10650 : : {
10651 : 0 : if (integer_all_onesp (_q121))
10652 : : {
10653 : 0 : {
10654 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q121, _q21 };
10655 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
10656 : : )
10657 : : {
10658 : 0 : {
10659 : 0 : unsigned precision = TYPE_PRECISION (type);
10660 : 0 : wide_int c1 = wi::to_wide (captures[1]);
10661 : 0 : wide_int c2 = wi::to_wide (captures[2]);
10662 : 0 : wide_int sum = wi::add (c1, c2);
10663 : 0 : if (wi::eq_p (sum, wi::max_value (precision, SIGNED))
10664 : : )
10665 : : {
10666 : 0 : {
10667 : 0 : res_ops[0] = captures[0];
10668 : 0 : res_ops[1] = captures[1];
10669 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 81, __FILE__, __LINE__, false);
10670 : 0 : return true;
10671 : : }
10672 : : }
10673 : 0 : }
10674 : : }
10675 : : }
10676 : : }
10677 : : }
10678 : : }
10679 : : }
10680 : 0 : break;
10681 : : }
10682 : : default:;
10683 : : }
10684 : : }
10685 : : break;
10686 : : default:;
10687 : : }
10688 : : break;
10689 : : }
10690 : : default:;
10691 : : }
10692 : : }
10693 : : }
10694 : : }
10695 : : }
10696 : 0 : break;
10697 : : }
10698 : : default:;
10699 : : }
10700 : : }
10701 : : break;
10702 : : default:;
10703 : : }
10704 : : }
10705 : : }
10706 : 0 : {
10707 : 0 : tree _q40_pops[1];
10708 : 0 : if (gimple_nop_convert (_q40, _q40_pops, valueize))
10709 : : {
10710 : 0 : tree _q50 = _q40_pops[0];
10711 : 0 : switch (TREE_CODE (_q50))
10712 : : {
10713 : 0 : case SSA_NAME:
10714 : 0 : if (gimple *_d5 = get_def (valueize, _q50))
10715 : : {
10716 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
10717 : 0 : switch (gimple_assign_rhs_code (_a5))
10718 : : {
10719 : 0 : case NEGATE_EXPR:
10720 : 0 : {
10721 : 0 : tree _q60 = gimple_assign_rhs1 (_a5);
10722 : 0 : _q60 = do_valueize (valueize, _q60);
10723 : 0 : {
10724 : 0 : tree _q60_pops[1];
10725 : 0 : if (gimple_nop_convert (_q60, _q60_pops, valueize))
10726 : : {
10727 : 0 : tree _q70 = _q60_pops[0];
10728 : 0 : if ((_q41 == _q70 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q70, 0) && types_match (_q41, _q70)))
10729 : : {
10730 : 0 : if (integer_zerop (_q31))
10731 : : {
10732 : 0 : switch (TREE_CODE (_q21))
10733 : : {
10734 : 0 : case INTEGER_CST:
10735 : 0 : {
10736 : 0 : switch (TREE_CODE (_q22))
10737 : : {
10738 : 0 : case SSA_NAME:
10739 : 0 : if (gimple *_d6 = get_def (valueize, _q22))
10740 : : {
10741 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
10742 : 0 : switch (gimple_assign_rhs_code (_a6))
10743 : : {
10744 : 0 : case PLUS_EXPR:
10745 : 0 : {
10746 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
10747 : 0 : _q120 = do_valueize (valueize, _q120);
10748 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
10749 : 0 : _q121 = do_valueize (valueize, _q121);
10750 : 0 : if (tree_swap_operands_p (_q120, _q121))
10751 : 0 : std::swap (_q120, _q121);
10752 : 0 : {
10753 : 0 : tree _q120_pops[1];
10754 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
10755 : : {
10756 : 0 : tree _q130 = _q120_pops[0];
10757 : 0 : if ((_q130 == _q70 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q70, 0) && types_match (_q130, _q70)))
10758 : : {
10759 : 0 : if (integer_all_onesp (_q121))
10760 : : {
10761 : 0 : {
10762 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q121, _q21 };
10763 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
10764 : : )
10765 : : {
10766 : 0 : {
10767 : 0 : unsigned precision = TYPE_PRECISION (type);
10768 : 0 : wide_int c1 = wi::to_wide (captures[1]);
10769 : 0 : wide_int c2 = wi::to_wide (captures[2]);
10770 : 0 : wide_int sum = wi::add (c1, c2);
10771 : 0 : if (wi::eq_p (sum, wi::max_value (precision, SIGNED))
10772 : : )
10773 : : {
10774 : 0 : {
10775 : 0 : res_ops[0] = captures[0];
10776 : 0 : res_ops[1] = captures[1];
10777 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 81, __FILE__, __LINE__, false);
10778 : 0 : return true;
10779 : : }
10780 : : }
10781 : 0 : }
10782 : : }
10783 : : }
10784 : : }
10785 : : }
10786 : : }
10787 : : }
10788 : 0 : break;
10789 : : }
10790 : : default:;
10791 : : }
10792 : : }
10793 : : break;
10794 : : default:;
10795 : : }
10796 : : break;
10797 : : }
10798 : : default:;
10799 : : }
10800 : : }
10801 : : }
10802 : : }
10803 : : }
10804 : 0 : break;
10805 : : }
10806 : : default:;
10807 : : }
10808 : : }
10809 : : break;
10810 : : default:;
10811 : : }
10812 : : }
10813 : : }
10814 : 0 : break;
10815 : : }
10816 : : default:;
10817 : : }
10818 : : }
10819 : : break;
10820 : : default:;
10821 : : }
10822 : : break;
10823 : : }
10824 : : default:;
10825 : : }
10826 : : }
10827 : : break;
10828 : 12165 : case LT_EXPR:
10829 : 12165 : {
10830 : 12165 : tree _q30 = TREE_OPERAND (_q20, 0);
10831 : 12165 : if ((TREE_CODE (_q30) == SSA_NAME
10832 : 12165 : || is_gimple_min_invariant (_q30)))
10833 : : {
10834 : 12165 : _q30 = do_valueize (valueize, _q30);
10835 : 12165 : tree _q31 = TREE_OPERAND (_q20, 1);
10836 : 12165 : if ((TREE_CODE (_q31) == SSA_NAME
10837 : 12165 : || is_gimple_min_invariant (_q31)))
10838 : : {
10839 : 12165 : _q31 = do_valueize (valueize, _q31);
10840 : 12165 : switch (TREE_CODE (_q30))
10841 : : {
10842 : 12165 : case SSA_NAME:
10843 : 12165 : if (gimple *_d3 = get_def (valueize, _q30))
10844 : : {
10845 : 975780 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
10846 : 8701 : switch (gimple_assign_rhs_code (_a3))
10847 : : {
10848 : 8 : case BIT_AND_EXPR:
10849 : 8 : {
10850 : 8 : tree _q40 = gimple_assign_rhs1 (_a3);
10851 : 8 : _q40 = do_valueize (valueize, _q40);
10852 : 8 : tree _q41 = gimple_assign_rhs2 (_a3);
10853 : 8 : _q41 = do_valueize (valueize, _q41);
10854 : 8 : if (tree_swap_operands_p (_q40, _q41))
10855 : 0 : std::swap (_q40, _q41);
10856 : 8 : {
10857 : 8 : tree _q41_pops[1];
10858 : 8 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
10859 : : {
10860 : 0 : tree _q60 = _q41_pops[0];
10861 : 0 : switch (TREE_CODE (_q60))
10862 : : {
10863 : 0 : case SSA_NAME:
10864 : 0 : if (gimple *_d4 = get_def (valueize, _q60))
10865 : : {
10866 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
10867 : 0 : switch (gimple_assign_rhs_code (_a4))
10868 : : {
10869 : 0 : case NEGATE_EXPR:
10870 : 0 : {
10871 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
10872 : 0 : _q70 = do_valueize (valueize, _q70);
10873 : 0 : {
10874 : 0 : tree _q70_pops[1];
10875 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
10876 : : {
10877 : 0 : tree _q80 = _q70_pops[0];
10878 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
10879 : : {
10880 : 0 : if (integer_zerop (_q31))
10881 : : {
10882 : 0 : switch (TREE_CODE (_q21))
10883 : : {
10884 : 0 : case INTEGER_CST:
10885 : 0 : {
10886 : 0 : switch (TREE_CODE (_q22))
10887 : : {
10888 : 0 : case SSA_NAME:
10889 : 0 : if (gimple *_d5 = get_def (valueize, _q22))
10890 : : {
10891 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
10892 : 0 : switch (gimple_assign_rhs_code (_a5))
10893 : : {
10894 : 0 : case PLUS_EXPR:
10895 : 0 : {
10896 : 0 : tree _q120 = gimple_assign_rhs1 (_a5);
10897 : 0 : _q120 = do_valueize (valueize, _q120);
10898 : 0 : tree _q121 = gimple_assign_rhs2 (_a5);
10899 : 0 : _q121 = do_valueize (valueize, _q121);
10900 : 0 : if (tree_swap_operands_p (_q120, _q121))
10901 : 0 : std::swap (_q120, _q121);
10902 : 0 : {
10903 : 0 : tree _q120_pops[1];
10904 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
10905 : : {
10906 : 0 : tree _q130 = _q120_pops[0];
10907 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
10908 : : {
10909 : 0 : if (integer_all_onesp (_q121))
10910 : : {
10911 : 0 : {
10912 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q121, _q21 };
10913 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
10914 : : )
10915 : : {
10916 : 0 : {
10917 : 0 : unsigned precision = TYPE_PRECISION (type);
10918 : 0 : wide_int c1 = wi::to_wide (captures[1]);
10919 : 0 : wide_int c2 = wi::to_wide (captures[2]);
10920 : 0 : wide_int sum = wi::add (c1, c2);
10921 : 0 : if (wi::eq_p (sum, wi::max_value (precision, SIGNED))
10922 : : )
10923 : : {
10924 : 0 : {
10925 : 0 : res_ops[0] = captures[0];
10926 : 0 : res_ops[1] = captures[1];
10927 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 81, __FILE__, __LINE__, false);
10928 : 0 : return true;
10929 : : }
10930 : : }
10931 : 0 : }
10932 : : }
10933 : : }
10934 : : }
10935 : : }
10936 : : }
10937 : : }
10938 : 0 : break;
10939 : : }
10940 : : default:;
10941 : : }
10942 : : }
10943 : : break;
10944 : : default:;
10945 : : }
10946 : : break;
10947 : : }
10948 : : default:;
10949 : : }
10950 : : }
10951 : : }
10952 : : }
10953 : : }
10954 : 0 : break;
10955 : : }
10956 : : default:;
10957 : : }
10958 : : }
10959 : : break;
10960 : : default:;
10961 : : }
10962 : : }
10963 : : }
10964 : 8 : {
10965 : 8 : tree _q40_pops[1];
10966 : 8 : if (gimple_nop_convert (_q40, _q40_pops, valueize))
10967 : : {
10968 : 0 : tree _q50 = _q40_pops[0];
10969 : 0 : switch (TREE_CODE (_q50))
10970 : : {
10971 : 0 : case SSA_NAME:
10972 : 0 : if (gimple *_d4 = get_def (valueize, _q50))
10973 : : {
10974 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
10975 : 0 : switch (gimple_assign_rhs_code (_a4))
10976 : : {
10977 : 0 : case NEGATE_EXPR:
10978 : 0 : {
10979 : 0 : tree _q60 = gimple_assign_rhs1 (_a4);
10980 : 0 : _q60 = do_valueize (valueize, _q60);
10981 : 0 : {
10982 : 0 : tree _q60_pops[1];
10983 : 0 : if (gimple_nop_convert (_q60, _q60_pops, valueize))
10984 : : {
10985 : 0 : tree _q70 = _q60_pops[0];
10986 : 0 : if ((_q41 == _q70 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q70, 0) && types_match (_q41, _q70)))
10987 : : {
10988 : 0 : if (integer_zerop (_q31))
10989 : : {
10990 : 0 : switch (TREE_CODE (_q21))
10991 : : {
10992 : 0 : case INTEGER_CST:
10993 : 0 : {
10994 : 0 : switch (TREE_CODE (_q22))
10995 : : {
10996 : 0 : case SSA_NAME:
10997 : 0 : if (gimple *_d5 = get_def (valueize, _q22))
10998 : : {
10999 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
11000 : 0 : switch (gimple_assign_rhs_code (_a5))
11001 : : {
11002 : 0 : case PLUS_EXPR:
11003 : 0 : {
11004 : 0 : tree _q120 = gimple_assign_rhs1 (_a5);
11005 : 0 : _q120 = do_valueize (valueize, _q120);
11006 : 0 : tree _q121 = gimple_assign_rhs2 (_a5);
11007 : 0 : _q121 = do_valueize (valueize, _q121);
11008 : 0 : if (tree_swap_operands_p (_q120, _q121))
11009 : 0 : std::swap (_q120, _q121);
11010 : 0 : {
11011 : 0 : tree _q120_pops[1];
11012 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
11013 : : {
11014 : 0 : tree _q130 = _q120_pops[0];
11015 : 0 : if ((_q130 == _q70 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q70, 0) && types_match (_q130, _q70)))
11016 : : {
11017 : 0 : if (integer_all_onesp (_q121))
11018 : : {
11019 : 0 : {
11020 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q121, _q21 };
11021 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
11022 : : )
11023 : : {
11024 : 0 : {
11025 : 0 : unsigned precision = TYPE_PRECISION (type);
11026 : 0 : wide_int c1 = wi::to_wide (captures[1]);
11027 : 0 : wide_int c2 = wi::to_wide (captures[2]);
11028 : 0 : wide_int sum = wi::add (c1, c2);
11029 : 0 : if (wi::eq_p (sum, wi::max_value (precision, SIGNED))
11030 : : )
11031 : : {
11032 : 0 : {
11033 : 0 : res_ops[0] = captures[0];
11034 : 0 : res_ops[1] = captures[1];
11035 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 81, __FILE__, __LINE__, false);
11036 : 0 : return true;
11037 : : }
11038 : : }
11039 : 0 : }
11040 : : }
11041 : : }
11042 : : }
11043 : : }
11044 : : }
11045 : : }
11046 : 0 : break;
11047 : : }
11048 : : default:;
11049 : : }
11050 : : }
11051 : : break;
11052 : : default:;
11053 : : }
11054 : : break;
11055 : : }
11056 : : default:;
11057 : : }
11058 : : }
11059 : : }
11060 : : }
11061 : : }
11062 : 0 : break;
11063 : : }
11064 : : default:;
11065 : : }
11066 : : }
11067 : : break;
11068 : : default:;
11069 : : }
11070 : : }
11071 : : }
11072 : 8 : break;
11073 : : }
11074 : : default:;
11075 : : }
11076 : : }
11077 : : break;
11078 : : default:;
11079 : : }
11080 : : }
11081 : : }
11082 : : break;
11083 : : }
11084 : : default:;
11085 : : }
11086 : : }
11087 : : }
11088 : : }
11089 : : break;
11090 : : default:;
11091 : : }
11092 : : break;
11093 : : }
11094 : : default:;
11095 : : }
11096 : 3323511 : else if (gphi *_a1 = dyn_cast <gphi *> (_d1))
11097 : : {
11098 : 3323444 : basic_block _b1 = gimple_bb (_a1);
11099 : 3323444 : tree _p1, _p2;
11100 : 3323444 : gcond *_cond_1 = match_cond_with_binary_phi (_a1, &_p1, &_p2);
11101 : 3323444 : if (_cond_1)
11102 : : {
11103 : 713977 : tree _cond_lhs_1 = gimple_cond_lhs (_cond_1);
11104 : 713977 : tree _cond_rhs_1 = gimple_cond_rhs (_cond_1);
11105 : 713977 : tree _p0 = build2 (gimple_cond_code (_cond_1), boolean_type_node, _cond_lhs_1, _cond_rhs_1);
11106 : 713977 : switch (TREE_CODE (_p0))
11107 : : {
11108 : 0 : case SSA_NAME:
11109 : 0 : if (gimple *_d2 = get_def (valueize, _p0))
11110 : : {
11111 : 0 : if (gassign *_a2 = dyn_cast <gassign *> (_d2))
11112 : 0 : switch (gimple_assign_rhs_code (_a2))
11113 : : {
11114 : 0 : case LT_EXPR:
11115 : 0 : {
11116 : 0 : tree _q20 = gimple_assign_rhs1 (_a2);
11117 : 0 : _q20 = do_valueize (valueize, _q20);
11118 : 0 : tree _q21 = gimple_assign_rhs2 (_a2);
11119 : 0 : _q21 = do_valueize (valueize, _q21);
11120 : 0 : switch (TREE_CODE (_q20))
11121 : : {
11122 : 0 : case SSA_NAME:
11123 : 0 : if (gimple *_d3 = get_def (valueize, _q20))
11124 : : {
11125 : 0 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
11126 : 0 : switch (gimple_assign_rhs_code (_a3))
11127 : : {
11128 : 0 : case BIT_AND_EXPR:
11129 : 0 : {
11130 : 0 : tree _q30 = gimple_assign_rhs1 (_a3);
11131 : 0 : _q30 = do_valueize (valueize, _q30);
11132 : 0 : tree _q31 = gimple_assign_rhs2 (_a3);
11133 : 0 : _q31 = do_valueize (valueize, _q31);
11134 : 0 : if (tree_swap_operands_p (_q30, _q31))
11135 : 0 : std::swap (_q30, _q31);
11136 : 0 : switch (TREE_CODE (_q30))
11137 : : {
11138 : 0 : case SSA_NAME:
11139 : 0 : if (gimple *_d4 = get_def (valueize, _q30))
11140 : : {
11141 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
11142 : 0 : switch (gimple_assign_rhs_code (_a4))
11143 : : {
11144 : 0 : case BIT_XOR_EXPR:
11145 : 0 : {
11146 : 0 : tree _q40 = gimple_assign_rhs1 (_a4);
11147 : 0 : _q40 = do_valueize (valueize, _q40);
11148 : 0 : tree _q41 = gimple_assign_rhs2 (_a4);
11149 : 0 : _q41 = do_valueize (valueize, _q41);
11150 : 0 : if (tree_swap_operands_p (_q40, _q41))
11151 : 0 : std::swap (_q40, _q41);
11152 : 0 : {
11153 : 0 : tree _q41_pops[1];
11154 : 0 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
11155 : : {
11156 : 0 : tree _q60 = _q41_pops[0];
11157 : 0 : switch (TREE_CODE (_q60))
11158 : : {
11159 : 0 : case SSA_NAME:
11160 : 0 : if (gimple *_d5 = get_def (valueize, _q60))
11161 : : {
11162 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
11163 : 0 : switch (gimple_assign_rhs_code (_a5))
11164 : : {
11165 : 0 : case PLUS_EXPR:
11166 : 0 : {
11167 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
11168 : 0 : _q70 = do_valueize (valueize, _q70);
11169 : 0 : tree _q71 = gimple_assign_rhs2 (_a5);
11170 : 0 : _q71 = do_valueize (valueize, _q71);
11171 : 0 : if (tree_swap_operands_p (_q70, _q71))
11172 : 0 : std::swap (_q70, _q71);
11173 : 0 : {
11174 : 0 : tree _q70_pops[1];
11175 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
11176 : : {
11177 : 0 : tree _q80 = _q70_pops[0];
11178 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
11179 : : {
11180 : 0 : {
11181 : 0 : tree _q71_pops[1];
11182 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
11183 : : {
11184 : 0 : tree _q100 = _q71_pops[0];
11185 : 0 : switch (TREE_CODE (_q31))
11186 : : {
11187 : 0 : case SSA_NAME:
11188 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
11189 : : {
11190 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
11191 : 0 : switch (gimple_assign_rhs_code (_a6))
11192 : : {
11193 : 0 : case BIT_NOT_EXPR:
11194 : 0 : {
11195 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
11196 : 0 : _q120 = do_valueize (valueize, _q120);
11197 : 0 : switch (TREE_CODE (_q120))
11198 : : {
11199 : 0 : case SSA_NAME:
11200 : 0 : if (gimple *_d7 = get_def (valueize, _q120))
11201 : : {
11202 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
11203 : 0 : switch (gimple_assign_rhs_code (_a7))
11204 : : {
11205 : 0 : case BIT_XOR_EXPR:
11206 : 0 : {
11207 : 0 : tree _q130 = gimple_assign_rhs1 (_a7);
11208 : 0 : _q130 = do_valueize (valueize, _q130);
11209 : 0 : tree _q131 = gimple_assign_rhs2 (_a7);
11210 : 0 : _q131 = do_valueize (valueize, _q131);
11211 : 0 : if (tree_swap_operands_p (_q130, _q131))
11212 : 0 : std::swap (_q130, _q131);
11213 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
11214 : : {
11215 : 0 : if ((_q131 == _q100 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q100, 0) && types_match (_q131, _q100)))
11216 : : {
11217 : 0 : if (integer_zerop (_q21))
11218 : : {
11219 : 0 : {
11220 : 0 : tree _p1_pops[1];
11221 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
11222 : : {
11223 : 0 : tree _q170 = _p1_pops[0];
11224 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
11225 : : {
11226 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
11227 : : {
11228 : 0 : {
11229 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
11230 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
11231 : : )
11232 : : {
11233 : 0 : {
11234 : 0 : res_ops[0] = captures[0];
11235 : 0 : res_ops[1] = captures[1];
11236 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
11237 : 0 : return true;
11238 : : }
11239 : : }
11240 : : }
11241 : : }
11242 : : }
11243 : : }
11244 : : }
11245 : : }
11246 : : }
11247 : : }
11248 : 0 : if ((_q130 == _q100 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q100, 0) && types_match (_q130, _q100)))
11249 : : {
11250 : 0 : if ((_q131 == _q40 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q40, 0) && types_match (_q131, _q40)))
11251 : : {
11252 : 0 : if (integer_zerop (_q21))
11253 : : {
11254 : 0 : {
11255 : 0 : tree _p1_pops[1];
11256 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
11257 : : {
11258 : 0 : tree _q170 = _p1_pops[0];
11259 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
11260 : : {
11261 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
11262 : : {
11263 : 0 : {
11264 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
11265 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
11266 : : )
11267 : : {
11268 : 0 : {
11269 : 0 : res_ops[0] = captures[0];
11270 : 0 : res_ops[1] = captures[1];
11271 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
11272 : 0 : return true;
11273 : : }
11274 : : }
11275 : : }
11276 : : }
11277 : : }
11278 : : }
11279 : : }
11280 : : }
11281 : : }
11282 : : }
11283 : 0 : break;
11284 : : }
11285 : : default:;
11286 : : }
11287 : : }
11288 : : break;
11289 : : default:;
11290 : : }
11291 : : break;
11292 : : }
11293 : : default:;
11294 : : }
11295 : : }
11296 : : break;
11297 : : default:;
11298 : : }
11299 : : }
11300 : : }
11301 : : }
11302 : : }
11303 : : }
11304 : 0 : break;
11305 : : }
11306 : : default:;
11307 : : }
11308 : : }
11309 : : break;
11310 : : default:;
11311 : : }
11312 : : }
11313 : : }
11314 : 0 : {
11315 : 0 : tree _q40_pops[1];
11316 : 0 : if (gimple_nop_convert (_q40, _q40_pops, valueize))
11317 : : {
11318 : 0 : tree _q50 = _q40_pops[0];
11319 : 0 : switch (TREE_CODE (_q50))
11320 : : {
11321 : 0 : case SSA_NAME:
11322 : 0 : if (gimple *_d5 = get_def (valueize, _q50))
11323 : : {
11324 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
11325 : 0 : switch (gimple_assign_rhs_code (_a5))
11326 : : {
11327 : 0 : case PLUS_EXPR:
11328 : 0 : {
11329 : 0 : tree _q60 = gimple_assign_rhs1 (_a5);
11330 : 0 : _q60 = do_valueize (valueize, _q60);
11331 : 0 : tree _q61 = gimple_assign_rhs2 (_a5);
11332 : 0 : _q61 = do_valueize (valueize, _q61);
11333 : 0 : if (tree_swap_operands_p (_q60, _q61))
11334 : 0 : std::swap (_q60, _q61);
11335 : 0 : {
11336 : 0 : tree _q60_pops[1];
11337 : 0 : if (gimple_nop_convert (_q60, _q60_pops, valueize))
11338 : : {
11339 : 0 : tree _q70 = _q60_pops[0];
11340 : 0 : switch (TREE_CODE (_q61))
11341 : : {
11342 : 0 : case INTEGER_CST:
11343 : 0 : {
11344 : 0 : if ((_q41 == _q70 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q70, 0) && types_match (_q41, _q70)))
11345 : : {
11346 : 0 : switch (TREE_CODE (_q31))
11347 : : {
11348 : 0 : case SSA_NAME:
11349 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
11350 : : {
11351 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
11352 : 0 : switch (gimple_assign_rhs_code (_a6))
11353 : : {
11354 : 0 : case BIT_XOR_EXPR:
11355 : 0 : {
11356 : 0 : tree _q110 = gimple_assign_rhs1 (_a6);
11357 : 0 : _q110 = do_valueize (valueize, _q110);
11358 : 0 : tree _q111 = gimple_assign_rhs2 (_a6);
11359 : 0 : _q111 = do_valueize (valueize, _q111);
11360 : 0 : if (tree_swap_operands_p (_q110, _q111))
11361 : 0 : std::swap (_q110, _q111);
11362 : 0 : if ((_q110 == _q70 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q70, 0) && types_match (_q110, _q70)))
11363 : : {
11364 : 0 : switch (TREE_CODE (_q111))
11365 : : {
11366 : 0 : case INTEGER_CST:
11367 : 0 : {
11368 : 0 : if (integer_zerop (_q21))
11369 : : {
11370 : 0 : {
11371 : 0 : tree _p1_pops[1];
11372 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
11373 : : {
11374 : 0 : tree _q150 = _p1_pops[0];
11375 : 0 : if ((_q150 == _q70 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q70, 0) && types_match (_q150, _q70)))
11376 : : {
11377 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
11378 : : {
11379 : 0 : {
11380 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q70, _q61, _q40, _q111 };
11381 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
11382 : : )
11383 : : {
11384 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
11385 : : )
11386 : : {
11387 : 0 : {
11388 : 0 : res_ops[0] = captures[0];
11389 : 0 : res_ops[1] = captures[1];
11390 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
11391 : 0 : return true;
11392 : : }
11393 : : }
11394 : : }
11395 : : }
11396 : : }
11397 : : }
11398 : : }
11399 : : }
11400 : : }
11401 : : break;
11402 : : }
11403 : : default:;
11404 : : }
11405 : : }
11406 : 0 : switch (TREE_CODE (_q110))
11407 : : {
11408 : 0 : case INTEGER_CST:
11409 : 0 : {
11410 : 0 : if ((_q111 == _q70 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q70, 0) && types_match (_q111, _q70)))
11411 : : {
11412 : 0 : if (integer_zerop (_q21))
11413 : : {
11414 : 0 : {
11415 : 0 : tree _p1_pops[1];
11416 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
11417 : : {
11418 : 0 : tree _q150 = _p1_pops[0];
11419 : 0 : if ((_q150 == _q70 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q70, 0) && types_match (_q150, _q70)))
11420 : : {
11421 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
11422 : : {
11423 : 0 : {
11424 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q70, _q61, _q40, _q110 };
11425 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
11426 : : )
11427 : : {
11428 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
11429 : : )
11430 : : {
11431 : 0 : {
11432 : 0 : res_ops[0] = captures[0];
11433 : 0 : res_ops[1] = captures[1];
11434 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
11435 : 0 : return true;
11436 : : }
11437 : : }
11438 : : }
11439 : : }
11440 : : }
11441 : : }
11442 : : }
11443 : : }
11444 : : }
11445 : : }
11446 : : break;
11447 : : }
11448 : : default:;
11449 : : }
11450 : 0 : break;
11451 : : }
11452 : : default:;
11453 : : }
11454 : : }
11455 : : break;
11456 : : default:;
11457 : : }
11458 : : }
11459 : : break;
11460 : : }
11461 : 0 : default:;
11462 : : }
11463 : 0 : {
11464 : 0 : tree _q61_pops[1];
11465 : 0 : if (gimple_nop_convert (_q61, _q61_pops, valueize))
11466 : : {
11467 : 0 : tree _q90 = _q61_pops[0];
11468 : 0 : if ((_q41 == _q70 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q70, 0) && types_match (_q41, _q70)))
11469 : : {
11470 : 0 : switch (TREE_CODE (_q31))
11471 : : {
11472 : 0 : case SSA_NAME:
11473 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
11474 : : {
11475 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
11476 : 0 : switch (gimple_assign_rhs_code (_a6))
11477 : : {
11478 : 0 : case BIT_NOT_EXPR:
11479 : 0 : {
11480 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
11481 : 0 : _q120 = do_valueize (valueize, _q120);
11482 : 0 : switch (TREE_CODE (_q120))
11483 : : {
11484 : 0 : case SSA_NAME:
11485 : 0 : if (gimple *_d7 = get_def (valueize, _q120))
11486 : : {
11487 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
11488 : 0 : switch (gimple_assign_rhs_code (_a7))
11489 : : {
11490 : 0 : case BIT_XOR_EXPR:
11491 : 0 : {
11492 : 0 : tree _q130 = gimple_assign_rhs1 (_a7);
11493 : 0 : _q130 = do_valueize (valueize, _q130);
11494 : 0 : tree _q131 = gimple_assign_rhs2 (_a7);
11495 : 0 : _q131 = do_valueize (valueize, _q131);
11496 : 0 : if (tree_swap_operands_p (_q130, _q131))
11497 : 0 : std::swap (_q130, _q131);
11498 : 0 : if ((_q130 == _q70 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q70, 0) && types_match (_q130, _q70)))
11499 : : {
11500 : 0 : if ((_q131 == _q90 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q90, 0) && types_match (_q131, _q90)))
11501 : : {
11502 : 0 : if (integer_zerop (_q21))
11503 : : {
11504 : 0 : {
11505 : 0 : tree _p1_pops[1];
11506 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
11507 : : {
11508 : 0 : tree _q170 = _p1_pops[0];
11509 : 0 : if ((_q170 == _q70 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q70, 0) && types_match (_q170, _q70)))
11510 : : {
11511 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
11512 : : {
11513 : 0 : {
11514 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q90, _q40 };
11515 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
11516 : : )
11517 : : {
11518 : 0 : {
11519 : 0 : res_ops[0] = captures[0];
11520 : 0 : res_ops[1] = captures[1];
11521 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
11522 : 0 : return true;
11523 : : }
11524 : : }
11525 : : }
11526 : : }
11527 : : }
11528 : : }
11529 : : }
11530 : : }
11531 : : }
11532 : : }
11533 : 0 : if ((_q130 == _q90 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q90, 0) && types_match (_q130, _q90)))
11534 : : {
11535 : 0 : if ((_q131 == _q70 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q70, 0) && types_match (_q131, _q70)))
11536 : : {
11537 : 0 : if (integer_zerop (_q21))
11538 : : {
11539 : 0 : {
11540 : 0 : tree _p1_pops[1];
11541 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
11542 : : {
11543 : 0 : tree _q170 = _p1_pops[0];
11544 : 0 : if ((_q170 == _q70 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q70, 0) && types_match (_q170, _q70)))
11545 : : {
11546 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
11547 : : {
11548 : 0 : {
11549 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q90, _q40 };
11550 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
11551 : : )
11552 : : {
11553 : 0 : {
11554 : 0 : res_ops[0] = captures[0];
11555 : 0 : res_ops[1] = captures[1];
11556 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
11557 : 0 : return true;
11558 : : }
11559 : : }
11560 : : }
11561 : : }
11562 : : }
11563 : : }
11564 : : }
11565 : : }
11566 : : }
11567 : : }
11568 : 0 : break;
11569 : : }
11570 : : default:;
11571 : : }
11572 : : }
11573 : : break;
11574 : : default:;
11575 : : }
11576 : : break;
11577 : : }
11578 : : default:;
11579 : : }
11580 : : }
11581 : : break;
11582 : : default:;
11583 : : }
11584 : : }
11585 : : }
11586 : : }
11587 : : }
11588 : : }
11589 : 0 : break;
11590 : : }
11591 : : default:;
11592 : : }
11593 : : }
11594 : : break;
11595 : : default:;
11596 : : }
11597 : : }
11598 : : }
11599 : 0 : switch (TREE_CODE (_q41))
11600 : : {
11601 : 0 : case INTEGER_CST:
11602 : 0 : {
11603 : 0 : switch (TREE_CODE (_q31))
11604 : : {
11605 : 0 : case SSA_NAME:
11606 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
11607 : : {
11608 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
11609 : 0 : switch (gimple_assign_rhs_code (_a5))
11610 : : {
11611 : 0 : case BIT_XOR_EXPR:
11612 : 0 : {
11613 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
11614 : 0 : _q70 = do_valueize (valueize, _q70);
11615 : 0 : tree _q71 = gimple_assign_rhs2 (_a5);
11616 : 0 : _q71 = do_valueize (valueize, _q71);
11617 : 0 : if (tree_swap_operands_p (_q70, _q71))
11618 : 0 : std::swap (_q70, _q71);
11619 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
11620 : : {
11621 : 0 : {
11622 : 0 : tree _q71_pops[1];
11623 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
11624 : : {
11625 : 0 : tree _q90 = _q71_pops[0];
11626 : 0 : switch (TREE_CODE (_q90))
11627 : : {
11628 : 0 : case SSA_NAME:
11629 : 0 : if (gimple *_d6 = get_def (valueize, _q90))
11630 : : {
11631 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
11632 : 0 : switch (gimple_assign_rhs_code (_a6))
11633 : : {
11634 : 0 : case PLUS_EXPR:
11635 : 0 : {
11636 : 0 : tree _q100 = gimple_assign_rhs1 (_a6);
11637 : 0 : _q100 = do_valueize (valueize, _q100);
11638 : 0 : tree _q101 = gimple_assign_rhs2 (_a6);
11639 : 0 : _q101 = do_valueize (valueize, _q101);
11640 : 0 : if (tree_swap_operands_p (_q100, _q101))
11641 : 0 : std::swap (_q100, _q101);
11642 : 0 : {
11643 : 0 : tree _q100_pops[1];
11644 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
11645 : : {
11646 : 0 : tree _q110 = _q100_pops[0];
11647 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
11648 : : {
11649 : 0 : switch (TREE_CODE (_q101))
11650 : : {
11651 : 0 : case INTEGER_CST:
11652 : 0 : {
11653 : 0 : if (integer_zerop (_q21))
11654 : : {
11655 : 0 : {
11656 : 0 : tree _p1_pops[1];
11657 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
11658 : : {
11659 : 0 : tree _q150 = _p1_pops[0];
11660 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
11661 : : {
11662 : 0 : if ((_p2 == _q71 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q71, 0) && types_match (_p2, _q71)))
11663 : : {
11664 : 0 : {
11665 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q101, _q71, _q41 };
11666 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
11667 : : )
11668 : : {
11669 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
11670 : : )
11671 : : {
11672 : 0 : {
11673 : 0 : res_ops[0] = captures[0];
11674 : 0 : res_ops[1] = captures[1];
11675 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
11676 : 0 : return true;
11677 : : }
11678 : : }
11679 : : }
11680 : : }
11681 : : }
11682 : : }
11683 : : }
11684 : : }
11685 : : }
11686 : : break;
11687 : : }
11688 : : default:;
11689 : : }
11690 : : }
11691 : : }
11692 : : }
11693 : 0 : break;
11694 : : }
11695 : : default:;
11696 : : }
11697 : : }
11698 : : break;
11699 : : default:;
11700 : : }
11701 : : }
11702 : : }
11703 : : }
11704 : 0 : break;
11705 : : }
11706 : : default:;
11707 : : }
11708 : : }
11709 : : break;
11710 : : default:;
11711 : : }
11712 : : break;
11713 : : }
11714 : 0 : default:;
11715 : : }
11716 : 0 : {
11717 : 0 : tree _q41_pops[1];
11718 : 0 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
11719 : : {
11720 : 0 : tree _q60 = _q41_pops[0];
11721 : 0 : switch (TREE_CODE (_q60))
11722 : : {
11723 : 0 : case SSA_NAME:
11724 : 0 : if (gimple *_d5 = get_def (valueize, _q60))
11725 : : {
11726 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
11727 : 0 : switch (gimple_assign_rhs_code (_a5))
11728 : : {
11729 : 0 : case PLUS_EXPR:
11730 : 0 : {
11731 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
11732 : 0 : _q70 = do_valueize (valueize, _q70);
11733 : 0 : tree _q71 = gimple_assign_rhs2 (_a5);
11734 : 0 : _q71 = do_valueize (valueize, _q71);
11735 : 0 : if (tree_swap_operands_p (_q70, _q71))
11736 : 0 : std::swap (_q70, _q71);
11737 : 0 : {
11738 : 0 : tree _q70_pops[1];
11739 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
11740 : : {
11741 : 0 : tree _q80 = _q70_pops[0];
11742 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
11743 : : {
11744 : 0 : switch (TREE_CODE (_q71))
11745 : : {
11746 : 0 : case INTEGER_CST:
11747 : 0 : {
11748 : 0 : switch (TREE_CODE (_q31))
11749 : : {
11750 : 0 : case SSA_NAME:
11751 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
11752 : : {
11753 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
11754 : 0 : switch (gimple_assign_rhs_code (_a6))
11755 : : {
11756 : 0 : case BIT_XOR_EXPR:
11757 : 0 : {
11758 : 0 : tree _q110 = gimple_assign_rhs1 (_a6);
11759 : 0 : _q110 = do_valueize (valueize, _q110);
11760 : 0 : tree _q111 = gimple_assign_rhs2 (_a6);
11761 : 0 : _q111 = do_valueize (valueize, _q111);
11762 : 0 : if (tree_swap_operands_p (_q110, _q111))
11763 : 0 : std::swap (_q110, _q111);
11764 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
11765 : : {
11766 : 0 : switch (TREE_CODE (_q111))
11767 : : {
11768 : 0 : case INTEGER_CST:
11769 : 0 : {
11770 : 0 : if (integer_zerop (_q21))
11771 : : {
11772 : 0 : {
11773 : 0 : tree _p1_pops[1];
11774 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
11775 : : {
11776 : 0 : tree _q150 = _p1_pops[0];
11777 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
11778 : : {
11779 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
11780 : : {
11781 : 0 : {
11782 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q111 };
11783 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
11784 : : )
11785 : : {
11786 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
11787 : : )
11788 : : {
11789 : 0 : {
11790 : 0 : res_ops[0] = captures[0];
11791 : 0 : res_ops[1] = captures[1];
11792 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
11793 : 0 : return true;
11794 : : }
11795 : : }
11796 : : }
11797 : : }
11798 : : }
11799 : : }
11800 : : }
11801 : : }
11802 : : }
11803 : : break;
11804 : : }
11805 : : default:;
11806 : : }
11807 : : }
11808 : 0 : switch (TREE_CODE (_q110))
11809 : : {
11810 : 0 : case INTEGER_CST:
11811 : 0 : {
11812 : 0 : if ((_q111 == _q40 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q40, 0) && types_match (_q111, _q40)))
11813 : : {
11814 : 0 : if (integer_zerop (_q21))
11815 : : {
11816 : 0 : {
11817 : 0 : tree _p1_pops[1];
11818 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
11819 : : {
11820 : 0 : tree _q150 = _p1_pops[0];
11821 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
11822 : : {
11823 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
11824 : : {
11825 : 0 : {
11826 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q110 };
11827 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
11828 : : )
11829 : : {
11830 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
11831 : : )
11832 : : {
11833 : 0 : {
11834 : 0 : res_ops[0] = captures[0];
11835 : 0 : res_ops[1] = captures[1];
11836 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
11837 : 0 : return true;
11838 : : }
11839 : : }
11840 : : }
11841 : : }
11842 : : }
11843 : : }
11844 : : }
11845 : : }
11846 : : }
11847 : : }
11848 : : break;
11849 : : }
11850 : : default:;
11851 : : }
11852 : 0 : break;
11853 : : }
11854 : : default:;
11855 : : }
11856 : : }
11857 : : break;
11858 : : default:;
11859 : : }
11860 : : break;
11861 : : }
11862 : : default:;
11863 : : }
11864 : : }
11865 : : }
11866 : : }
11867 : 0 : break;
11868 : : }
11869 : : default:;
11870 : : }
11871 : : }
11872 : : break;
11873 : : default:;
11874 : : }
11875 : : }
11876 : : }
11877 : 0 : switch (TREE_CODE (_q40))
11878 : : {
11879 : 0 : case INTEGER_CST:
11880 : 0 : {
11881 : 0 : switch (TREE_CODE (_q31))
11882 : : {
11883 : 0 : case SSA_NAME:
11884 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
11885 : : {
11886 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
11887 : 0 : switch (gimple_assign_rhs_code (_a5))
11888 : : {
11889 : 0 : case BIT_XOR_EXPR:
11890 : 0 : {
11891 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
11892 : 0 : _q70 = do_valueize (valueize, _q70);
11893 : 0 : tree _q71 = gimple_assign_rhs2 (_a5);
11894 : 0 : _q71 = do_valueize (valueize, _q71);
11895 : 0 : if (tree_swap_operands_p (_q70, _q71))
11896 : 0 : std::swap (_q70, _q71);
11897 : 0 : if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
11898 : : {
11899 : 0 : {
11900 : 0 : tree _q71_pops[1];
11901 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
11902 : : {
11903 : 0 : tree _q90 = _q71_pops[0];
11904 : 0 : switch (TREE_CODE (_q90))
11905 : : {
11906 : 0 : case SSA_NAME:
11907 : 0 : if (gimple *_d6 = get_def (valueize, _q90))
11908 : : {
11909 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
11910 : 0 : switch (gimple_assign_rhs_code (_a6))
11911 : : {
11912 : 0 : case PLUS_EXPR:
11913 : 0 : {
11914 : 0 : tree _q100 = gimple_assign_rhs1 (_a6);
11915 : 0 : _q100 = do_valueize (valueize, _q100);
11916 : 0 : tree _q101 = gimple_assign_rhs2 (_a6);
11917 : 0 : _q101 = do_valueize (valueize, _q101);
11918 : 0 : if (tree_swap_operands_p (_q100, _q101))
11919 : 0 : std::swap (_q100, _q101);
11920 : 0 : {
11921 : 0 : tree _q100_pops[1];
11922 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
11923 : : {
11924 : 0 : tree _q110 = _q100_pops[0];
11925 : 0 : if ((_q110 == _q41 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q41, 0) && types_match (_q110, _q41)))
11926 : : {
11927 : 0 : switch (TREE_CODE (_q101))
11928 : : {
11929 : 0 : case INTEGER_CST:
11930 : 0 : {
11931 : 0 : if (integer_zerop (_q21))
11932 : : {
11933 : 0 : {
11934 : 0 : tree _p1_pops[1];
11935 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
11936 : : {
11937 : 0 : tree _q150 = _p1_pops[0];
11938 : 0 : if ((_q150 == _q41 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q41, 0) && types_match (_q150, _q41)))
11939 : : {
11940 : 0 : if ((_p2 == _q71 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q71, 0) && types_match (_p2, _q71)))
11941 : : {
11942 : 0 : {
11943 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q101, _q71, _q40 };
11944 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
11945 : : )
11946 : : {
11947 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
11948 : : )
11949 : : {
11950 : 0 : {
11951 : 0 : res_ops[0] = captures[0];
11952 : 0 : res_ops[1] = captures[1];
11953 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
11954 : 0 : return true;
11955 : : }
11956 : : }
11957 : : }
11958 : : }
11959 : : }
11960 : : }
11961 : : }
11962 : : }
11963 : : }
11964 : : break;
11965 : : }
11966 : : default:;
11967 : : }
11968 : : }
11969 : : }
11970 : : }
11971 : 0 : break;
11972 : : }
11973 : : default:;
11974 : : }
11975 : : }
11976 : : break;
11977 : : default:;
11978 : : }
11979 : : }
11980 : : }
11981 : : }
11982 : 0 : {
11983 : 0 : tree _q70_pops[1];
11984 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
11985 : : {
11986 : 0 : tree _q80 = _q70_pops[0];
11987 : 0 : switch (TREE_CODE (_q80))
11988 : : {
11989 : 0 : case SSA_NAME:
11990 : 0 : if (gimple *_d6 = get_def (valueize, _q80))
11991 : : {
11992 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
11993 : 0 : switch (gimple_assign_rhs_code (_a6))
11994 : : {
11995 : 0 : case PLUS_EXPR:
11996 : 0 : {
11997 : 0 : tree _q90 = gimple_assign_rhs1 (_a6);
11998 : 0 : _q90 = do_valueize (valueize, _q90);
11999 : 0 : tree _q91 = gimple_assign_rhs2 (_a6);
12000 : 0 : _q91 = do_valueize (valueize, _q91);
12001 : 0 : if (tree_swap_operands_p (_q90, _q91))
12002 : 0 : std::swap (_q90, _q91);
12003 : 0 : {
12004 : 0 : tree _q90_pops[1];
12005 : 0 : if (gimple_nop_convert (_q90, _q90_pops, valueize))
12006 : : {
12007 : 0 : tree _q100 = _q90_pops[0];
12008 : 0 : if ((_q100 == _q41 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q41, 0) && types_match (_q100, _q41)))
12009 : : {
12010 : 0 : switch (TREE_CODE (_q91))
12011 : : {
12012 : 0 : case INTEGER_CST:
12013 : 0 : {
12014 : 0 : if ((_q71 == _q41 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q41, 0) && types_match (_q71, _q41)))
12015 : : {
12016 : 0 : if (integer_zerop (_q21))
12017 : : {
12018 : 0 : {
12019 : 0 : tree _p1_pops[1];
12020 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
12021 : : {
12022 : 0 : tree _q150 = _p1_pops[0];
12023 : 0 : if ((_q150 == _q41 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q41, 0) && types_match (_q150, _q41)))
12024 : : {
12025 : 0 : if ((_p2 == _q70 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q70, 0) && types_match (_p2, _q70)))
12026 : : {
12027 : 0 : {
12028 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q91, _q70, _q40 };
12029 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
12030 : : )
12031 : : {
12032 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
12033 : : )
12034 : : {
12035 : 0 : {
12036 : 0 : res_ops[0] = captures[0];
12037 : 0 : res_ops[1] = captures[1];
12038 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
12039 : 0 : return true;
12040 : : }
12041 : : }
12042 : : }
12043 : : }
12044 : : }
12045 : : }
12046 : : }
12047 : : }
12048 : : }
12049 : : }
12050 : : break;
12051 : : }
12052 : : default:;
12053 : : }
12054 : : }
12055 : : }
12056 : : }
12057 : 0 : break;
12058 : : }
12059 : : default:;
12060 : : }
12061 : : }
12062 : : break;
12063 : : default:;
12064 : : }
12065 : : }
12066 : : }
12067 : 0 : break;
12068 : : }
12069 : : default:;
12070 : : }
12071 : : }
12072 : : break;
12073 : : default:;
12074 : : }
12075 : : break;
12076 : : }
12077 : 0 : default:;
12078 : : }
12079 : 0 : switch (TREE_CODE (_q41))
12080 : : {
12081 : 0 : case INTEGER_CST:
12082 : 0 : {
12083 : 0 : switch (TREE_CODE (_q31))
12084 : : {
12085 : 0 : case SSA_NAME:
12086 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
12087 : : {
12088 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
12089 : 0 : switch (gimple_assign_rhs_code (_a5))
12090 : : {
12091 : 0 : case BIT_XOR_EXPR:
12092 : 0 : {
12093 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
12094 : 0 : _q70 = do_valueize (valueize, _q70);
12095 : 0 : tree _q71 = gimple_assign_rhs2 (_a5);
12096 : 0 : _q71 = do_valueize (valueize, _q71);
12097 : 0 : if (tree_swap_operands_p (_q70, _q71))
12098 : 0 : std::swap (_q70, _q71);
12099 : 0 : {
12100 : 0 : tree _q70_pops[1];
12101 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
12102 : : {
12103 : 0 : tree _q80 = _q70_pops[0];
12104 : 0 : switch (TREE_CODE (_q80))
12105 : : {
12106 : 0 : case SSA_NAME:
12107 : 0 : if (gimple *_d6 = get_def (valueize, _q80))
12108 : : {
12109 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
12110 : 0 : switch (gimple_assign_rhs_code (_a6))
12111 : : {
12112 : 0 : case PLUS_EXPR:
12113 : 0 : {
12114 : 0 : tree _q90 = gimple_assign_rhs1 (_a6);
12115 : 0 : _q90 = do_valueize (valueize, _q90);
12116 : 0 : tree _q91 = gimple_assign_rhs2 (_a6);
12117 : 0 : _q91 = do_valueize (valueize, _q91);
12118 : 0 : if (tree_swap_operands_p (_q90, _q91))
12119 : 0 : std::swap (_q90, _q91);
12120 : 0 : {
12121 : 0 : tree _q90_pops[1];
12122 : 0 : if (gimple_nop_convert (_q90, _q90_pops, valueize))
12123 : : {
12124 : 0 : tree _q100 = _q90_pops[0];
12125 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
12126 : : {
12127 : 0 : switch (TREE_CODE (_q91))
12128 : : {
12129 : 0 : case INTEGER_CST:
12130 : 0 : {
12131 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
12132 : : {
12133 : 0 : if (integer_zerop (_q21))
12134 : : {
12135 : 0 : {
12136 : 0 : tree _p1_pops[1];
12137 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
12138 : : {
12139 : 0 : tree _q150 = _p1_pops[0];
12140 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
12141 : : {
12142 : 0 : if ((_p2 == _q70 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q70, 0) && types_match (_p2, _q70)))
12143 : : {
12144 : 0 : {
12145 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q91, _q70, _q41 };
12146 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
12147 : : )
12148 : : {
12149 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
12150 : : )
12151 : : {
12152 : 0 : {
12153 : 0 : res_ops[0] = captures[0];
12154 : 0 : res_ops[1] = captures[1];
12155 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
12156 : 0 : return true;
12157 : : }
12158 : : }
12159 : : }
12160 : : }
12161 : : }
12162 : : }
12163 : : }
12164 : : }
12165 : : }
12166 : : }
12167 : : break;
12168 : : }
12169 : : default:;
12170 : : }
12171 : : }
12172 : : }
12173 : : }
12174 : 0 : break;
12175 : : }
12176 : : default:;
12177 : : }
12178 : : }
12179 : : break;
12180 : : default:;
12181 : : }
12182 : : }
12183 : : }
12184 : 0 : break;
12185 : : }
12186 : : default:;
12187 : : }
12188 : : }
12189 : : break;
12190 : : default:;
12191 : : }
12192 : : break;
12193 : : }
12194 : : default:;
12195 : : }
12196 : 3323440 : break;
12197 : : }
12198 : 0 : case BIT_NOT_EXPR:
12199 : 0 : {
12200 : 0 : tree _q40 = gimple_assign_rhs1 (_a4);
12201 : 0 : _q40 = do_valueize (valueize, _q40);
12202 : 0 : switch (TREE_CODE (_q40))
12203 : : {
12204 : 0 : case SSA_NAME:
12205 : 0 : if (gimple *_d5 = get_def (valueize, _q40))
12206 : : {
12207 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
12208 : 0 : switch (gimple_assign_rhs_code (_a5))
12209 : : {
12210 : 0 : case BIT_XOR_EXPR:
12211 : 0 : {
12212 : 0 : tree _q50 = gimple_assign_rhs1 (_a5);
12213 : 0 : _q50 = do_valueize (valueize, _q50);
12214 : 0 : tree _q51 = gimple_assign_rhs2 (_a5);
12215 : 0 : _q51 = do_valueize (valueize, _q51);
12216 : 0 : if (tree_swap_operands_p (_q50, _q51))
12217 : 0 : std::swap (_q50, _q51);
12218 : 0 : switch (TREE_CODE (_q31))
12219 : : {
12220 : 0 : case SSA_NAME:
12221 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
12222 : : {
12223 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
12224 : 0 : switch (gimple_assign_rhs_code (_a6))
12225 : : {
12226 : 0 : case BIT_XOR_EXPR:
12227 : 0 : {
12228 : 0 : tree _q80 = gimple_assign_rhs1 (_a6);
12229 : 0 : _q80 = do_valueize (valueize, _q80);
12230 : 0 : tree _q81 = gimple_assign_rhs2 (_a6);
12231 : 0 : _q81 = do_valueize (valueize, _q81);
12232 : 0 : if (tree_swap_operands_p (_q80, _q81))
12233 : 0 : std::swap (_q80, _q81);
12234 : 0 : if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
12235 : : {
12236 : 0 : {
12237 : 0 : tree _q81_pops[1];
12238 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
12239 : : {
12240 : 0 : tree _q100 = _q81_pops[0];
12241 : 0 : switch (TREE_CODE (_q100))
12242 : : {
12243 : 0 : case SSA_NAME:
12244 : 0 : if (gimple *_d7 = get_def (valueize, _q100))
12245 : : {
12246 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
12247 : 0 : switch (gimple_assign_rhs_code (_a7))
12248 : : {
12249 : 0 : case PLUS_EXPR:
12250 : 0 : {
12251 : 0 : tree _q110 = gimple_assign_rhs1 (_a7);
12252 : 0 : _q110 = do_valueize (valueize, _q110);
12253 : 0 : tree _q111 = gimple_assign_rhs2 (_a7);
12254 : 0 : _q111 = do_valueize (valueize, _q111);
12255 : 0 : if (tree_swap_operands_p (_q110, _q111))
12256 : 0 : std::swap (_q110, _q111);
12257 : 0 : {
12258 : 0 : tree _q110_pops[1];
12259 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
12260 : : {
12261 : 0 : tree _q120 = _q110_pops[0];
12262 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
12263 : : {
12264 : 0 : {
12265 : 0 : tree _q111_pops[1];
12266 : 0 : if (gimple_nop_convert (_q111, _q111_pops, valueize))
12267 : : {
12268 : 0 : tree _q140 = _q111_pops[0];
12269 : 0 : if ((_q140 == _q51 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q51, 0) && types_match (_q140, _q51)))
12270 : : {
12271 : 0 : if (integer_zerop (_q21))
12272 : : {
12273 : 0 : {
12274 : 0 : tree _p1_pops[1];
12275 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
12276 : : {
12277 : 0 : tree _q170 = _p1_pops[0];
12278 : 0 : if ((_q170 == _q50 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q50, 0) && types_match (_q170, _q50)))
12279 : : {
12280 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
12281 : : {
12282 : 0 : {
12283 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q81 };
12284 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
12285 : : )
12286 : : {
12287 : 0 : {
12288 : 0 : res_ops[0] = captures[0];
12289 : 0 : res_ops[1] = captures[1];
12290 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
12291 : 0 : return true;
12292 : : }
12293 : : }
12294 : : }
12295 : : }
12296 : : }
12297 : : }
12298 : : }
12299 : : }
12300 : : }
12301 : : }
12302 : : }
12303 : : }
12304 : : }
12305 : : }
12306 : 0 : break;
12307 : : }
12308 : : default:;
12309 : : }
12310 : : }
12311 : : break;
12312 : : default:;
12313 : : }
12314 : : }
12315 : : }
12316 : : }
12317 : 0 : if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
12318 : : {
12319 : 0 : {
12320 : 0 : tree _q81_pops[1];
12321 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
12322 : : {
12323 : 0 : tree _q100 = _q81_pops[0];
12324 : 0 : switch (TREE_CODE (_q100))
12325 : : {
12326 : 0 : case SSA_NAME:
12327 : 0 : if (gimple *_d7 = get_def (valueize, _q100))
12328 : : {
12329 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
12330 : 0 : switch (gimple_assign_rhs_code (_a7))
12331 : : {
12332 : 0 : case PLUS_EXPR:
12333 : 0 : {
12334 : 0 : tree _q110 = gimple_assign_rhs1 (_a7);
12335 : 0 : _q110 = do_valueize (valueize, _q110);
12336 : 0 : tree _q111 = gimple_assign_rhs2 (_a7);
12337 : 0 : _q111 = do_valueize (valueize, _q111);
12338 : 0 : if (tree_swap_operands_p (_q110, _q111))
12339 : 0 : std::swap (_q110, _q111);
12340 : 0 : {
12341 : 0 : tree _q110_pops[1];
12342 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
12343 : : {
12344 : 0 : tree _q120 = _q110_pops[0];
12345 : 0 : if ((_q120 == _q51 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q51, 0) && types_match (_q120, _q51)))
12346 : : {
12347 : 0 : {
12348 : 0 : tree _q111_pops[1];
12349 : 0 : if (gimple_nop_convert (_q111, _q111_pops, valueize))
12350 : : {
12351 : 0 : tree _q140 = _q111_pops[0];
12352 : 0 : if ((_q140 == _q50 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q50, 0) && types_match (_q140, _q50)))
12353 : : {
12354 : 0 : if (integer_zerop (_q21))
12355 : : {
12356 : 0 : {
12357 : 0 : tree _p1_pops[1];
12358 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
12359 : : {
12360 : 0 : tree _q170 = _p1_pops[0];
12361 : 0 : if ((_q170 == _q51 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q51, 0) && types_match (_q170, _q51)))
12362 : : {
12363 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
12364 : : {
12365 : 0 : {
12366 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q81 };
12367 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
12368 : : )
12369 : : {
12370 : 0 : {
12371 : 0 : res_ops[0] = captures[0];
12372 : 0 : res_ops[1] = captures[1];
12373 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
12374 : 0 : return true;
12375 : : }
12376 : : }
12377 : : }
12378 : : }
12379 : : }
12380 : : }
12381 : : }
12382 : : }
12383 : : }
12384 : : }
12385 : : }
12386 : : }
12387 : : }
12388 : : }
12389 : 0 : break;
12390 : : }
12391 : : default:;
12392 : : }
12393 : : }
12394 : : break;
12395 : : default:;
12396 : : }
12397 : : }
12398 : : }
12399 : : }
12400 : 0 : {
12401 : 0 : tree _q80_pops[1];
12402 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
12403 : : {
12404 : 0 : tree _q90 = _q80_pops[0];
12405 : 0 : switch (TREE_CODE (_q90))
12406 : : {
12407 : 0 : case SSA_NAME:
12408 : 0 : if (gimple *_d7 = get_def (valueize, _q90))
12409 : : {
12410 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
12411 : 0 : switch (gimple_assign_rhs_code (_a7))
12412 : : {
12413 : 0 : case PLUS_EXPR:
12414 : 0 : {
12415 : 0 : tree _q100 = gimple_assign_rhs1 (_a7);
12416 : 0 : _q100 = do_valueize (valueize, _q100);
12417 : 0 : tree _q101 = gimple_assign_rhs2 (_a7);
12418 : 0 : _q101 = do_valueize (valueize, _q101);
12419 : 0 : if (tree_swap_operands_p (_q100, _q101))
12420 : 0 : std::swap (_q100, _q101);
12421 : 0 : {
12422 : 0 : tree _q100_pops[1];
12423 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
12424 : : {
12425 : 0 : tree _q110 = _q100_pops[0];
12426 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
12427 : : {
12428 : 0 : {
12429 : 0 : tree _q101_pops[1];
12430 : 0 : if (gimple_nop_convert (_q101, _q101_pops, valueize))
12431 : : {
12432 : 0 : tree _q130 = _q101_pops[0];
12433 : 0 : if ((_q130 == _q51 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q51, 0) && types_match (_q130, _q51)))
12434 : : {
12435 : 0 : if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
12436 : : {
12437 : 0 : if (integer_zerop (_q21))
12438 : : {
12439 : 0 : {
12440 : 0 : tree _p1_pops[1];
12441 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
12442 : : {
12443 : 0 : tree _q170 = _p1_pops[0];
12444 : 0 : if ((_q170 == _q50 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q50, 0) && types_match (_q170, _q50)))
12445 : : {
12446 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
12447 : : {
12448 : 0 : {
12449 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q80 };
12450 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
12451 : : )
12452 : : {
12453 : 0 : {
12454 : 0 : res_ops[0] = captures[0];
12455 : 0 : res_ops[1] = captures[1];
12456 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
12457 : 0 : return true;
12458 : : }
12459 : : }
12460 : : }
12461 : : }
12462 : : }
12463 : : }
12464 : : }
12465 : : }
12466 : : }
12467 : : }
12468 : : }
12469 : : }
12470 : : }
12471 : 0 : if ((_q110 == _q51 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q51, 0) && types_match (_q110, _q51)))
12472 : : {
12473 : 0 : {
12474 : 0 : tree _q101_pops[1];
12475 : 0 : if (gimple_nop_convert (_q101, _q101_pops, valueize))
12476 : : {
12477 : 0 : tree _q130 = _q101_pops[0];
12478 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
12479 : : {
12480 : 0 : if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
12481 : : {
12482 : 0 : if (integer_zerop (_q21))
12483 : : {
12484 : 0 : {
12485 : 0 : tree _p1_pops[1];
12486 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
12487 : : {
12488 : 0 : tree _q170 = _p1_pops[0];
12489 : 0 : if ((_q170 == _q51 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q51, 0) && types_match (_q170, _q51)))
12490 : : {
12491 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
12492 : : {
12493 : 0 : {
12494 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q80 };
12495 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
12496 : : )
12497 : : {
12498 : 0 : {
12499 : 0 : res_ops[0] = captures[0];
12500 : 0 : res_ops[1] = captures[1];
12501 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
12502 : 0 : return true;
12503 : : }
12504 : : }
12505 : : }
12506 : : }
12507 : : }
12508 : : }
12509 : : }
12510 : : }
12511 : : }
12512 : : }
12513 : : }
12514 : : }
12515 : : }
12516 : : }
12517 : : }
12518 : 0 : break;
12519 : : }
12520 : : default:;
12521 : : }
12522 : : }
12523 : : break;
12524 : : default:;
12525 : : }
12526 : : }
12527 : : }
12528 : 0 : break;
12529 : : }
12530 : : default:;
12531 : : }
12532 : : }
12533 : : break;
12534 : : default:;
12535 : : }
12536 : 3323440 : break;
12537 : : }
12538 : : default:;
12539 : : }
12540 : : }
12541 : : break;
12542 : : default:;
12543 : : }
12544 : : break;
12545 : : }
12546 : : default:;
12547 : : }
12548 : : }
12549 : : break;
12550 : : default:;
12551 : : }
12552 : 3323440 : break;
12553 : : }
12554 : : default:;
12555 : : }
12556 : : }
12557 : : break;
12558 : : default:;
12559 : : }
12560 : : break;
12561 : : }
12562 : 0 : case GE_EXPR:
12563 : 0 : {
12564 : 0 : tree _q20 = gimple_assign_rhs1 (_a2);
12565 : 0 : _q20 = do_valueize (valueize, _q20);
12566 : 0 : tree _q21 = gimple_assign_rhs2 (_a2);
12567 : 0 : _q21 = do_valueize (valueize, _q21);
12568 : 0 : switch (TREE_CODE (_q20))
12569 : : {
12570 : 0 : case SSA_NAME:
12571 : 0 : if (gimple *_d3 = get_def (valueize, _q20))
12572 : : {
12573 : 0 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
12574 : 0 : switch (gimple_assign_rhs_code (_a3))
12575 : : {
12576 : 0 : case BIT_AND_EXPR:
12577 : 0 : {
12578 : 0 : tree _q30 = gimple_assign_rhs1 (_a3);
12579 : 0 : _q30 = do_valueize (valueize, _q30);
12580 : 0 : tree _q31 = gimple_assign_rhs2 (_a3);
12581 : 0 : _q31 = do_valueize (valueize, _q31);
12582 : 0 : if (tree_swap_operands_p (_q30, _q31))
12583 : 0 : std::swap (_q30, _q31);
12584 : 0 : switch (TREE_CODE (_q30))
12585 : : {
12586 : 0 : case SSA_NAME:
12587 : 0 : if (gimple *_d4 = get_def (valueize, _q30))
12588 : : {
12589 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
12590 : 0 : switch (gimple_assign_rhs_code (_a4))
12591 : : {
12592 : 0 : case BIT_XOR_EXPR:
12593 : 0 : {
12594 : 0 : tree _q40 = gimple_assign_rhs1 (_a4);
12595 : 0 : _q40 = do_valueize (valueize, _q40);
12596 : 0 : tree _q41 = gimple_assign_rhs2 (_a4);
12597 : 0 : _q41 = do_valueize (valueize, _q41);
12598 : 0 : if (tree_swap_operands_p (_q40, _q41))
12599 : 0 : std::swap (_q40, _q41);
12600 : 0 : {
12601 : 0 : tree _q41_pops[1];
12602 : 0 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
12603 : : {
12604 : 0 : tree _q60 = _q41_pops[0];
12605 : 0 : switch (TREE_CODE (_q60))
12606 : : {
12607 : 0 : case SSA_NAME:
12608 : 0 : if (gimple *_d5 = get_def (valueize, _q60))
12609 : : {
12610 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
12611 : 0 : switch (gimple_assign_rhs_code (_a5))
12612 : : {
12613 : 0 : case PLUS_EXPR:
12614 : 0 : {
12615 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
12616 : 0 : _q70 = do_valueize (valueize, _q70);
12617 : 0 : tree _q71 = gimple_assign_rhs2 (_a5);
12618 : 0 : _q71 = do_valueize (valueize, _q71);
12619 : 0 : if (tree_swap_operands_p (_q70, _q71))
12620 : 0 : std::swap (_q70, _q71);
12621 : 0 : {
12622 : 0 : tree _q70_pops[1];
12623 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
12624 : : {
12625 : 0 : tree _q80 = _q70_pops[0];
12626 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
12627 : : {
12628 : 0 : {
12629 : 0 : tree _q71_pops[1];
12630 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
12631 : : {
12632 : 0 : tree _q100 = _q71_pops[0];
12633 : 0 : switch (TREE_CODE (_q31))
12634 : : {
12635 : 0 : case SSA_NAME:
12636 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
12637 : : {
12638 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
12639 : 0 : switch (gimple_assign_rhs_code (_a6))
12640 : : {
12641 : 0 : case BIT_NOT_EXPR:
12642 : 0 : {
12643 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
12644 : 0 : _q120 = do_valueize (valueize, _q120);
12645 : 0 : switch (TREE_CODE (_q120))
12646 : : {
12647 : 0 : case SSA_NAME:
12648 : 0 : if (gimple *_d7 = get_def (valueize, _q120))
12649 : : {
12650 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
12651 : 0 : switch (gimple_assign_rhs_code (_a7))
12652 : : {
12653 : 0 : case BIT_XOR_EXPR:
12654 : 0 : {
12655 : 0 : tree _q130 = gimple_assign_rhs1 (_a7);
12656 : 0 : _q130 = do_valueize (valueize, _q130);
12657 : 0 : tree _q131 = gimple_assign_rhs2 (_a7);
12658 : 0 : _q131 = do_valueize (valueize, _q131);
12659 : 0 : if (tree_swap_operands_p (_q130, _q131))
12660 : 0 : std::swap (_q130, _q131);
12661 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
12662 : : {
12663 : 0 : if ((_q131 == _q100 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q100, 0) && types_match (_q131, _q100)))
12664 : : {
12665 : 0 : if (integer_zerop (_q21))
12666 : : {
12667 : 0 : if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
12668 : : {
12669 : 0 : switch (TREE_CODE (_p2))
12670 : : {
12671 : 0 : case SSA_NAME:
12672 : 0 : if (gimple *_d8 = get_def (valueize, _p2))
12673 : : {
12674 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
12675 : 0 : switch (gimple_assign_rhs_code (_a8))
12676 : : {
12677 : 0 : case BIT_XOR_EXPR:
12678 : 0 : {
12679 : 0 : tree _q180 = gimple_assign_rhs1 (_a8);
12680 : 0 : _q180 = do_valueize (valueize, _q180);
12681 : 0 : tree _q181 = gimple_assign_rhs2 (_a8);
12682 : 0 : _q181 = do_valueize (valueize, _q181);
12683 : 0 : if (tree_swap_operands_p (_q180, _q181))
12684 : 0 : std::swap (_q180, _q181);
12685 : 0 : switch (TREE_CODE (_q180))
12686 : : {
12687 : 0 : case SSA_NAME:
12688 : 0 : if (gimple *_d9 = get_def (valueize, _q180))
12689 : : {
12690 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
12691 : 0 : switch (gimple_assign_rhs_code (_a9))
12692 : : {
12693 : 0 : case NEGATE_EXPR:
12694 : 0 : {
12695 : 0 : tree _q190 = gimple_assign_rhs1 (_a9);
12696 : 0 : _q190 = do_valueize (valueize, _q190);
12697 : 0 : switch (TREE_CODE (_q190))
12698 : : {
12699 : 0 : case SSA_NAME:
12700 : 0 : if (gimple *_d10 = get_def (valueize, _q190))
12701 : : {
12702 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
12703 : 0 : switch (gimple_assign_rhs_code (_a10))
12704 : : {
12705 : 0 : CASE_CONVERT:
12706 : 0 : {
12707 : 0 : tree _q200 = gimple_assign_rhs1 (_a10);
12708 : 0 : _q200 = do_valueize (valueize, _q200);
12709 : 0 : switch (TREE_CODE (_q200))
12710 : : {
12711 : 0 : case SSA_NAME:
12712 : 0 : if (gimple *_d11 = get_def (valueize, _q200))
12713 : : {
12714 : 0 : if (gassign *_a11 = dyn_cast <gassign *> (_d11))
12715 : 0 : switch (gimple_assign_rhs_code (_a11))
12716 : : {
12717 : 0 : case LT_EXPR:
12718 : 0 : {
12719 : 0 : tree _q210 = gimple_assign_rhs1 (_a11);
12720 : 0 : _q210 = do_valueize (valueize, _q210);
12721 : 0 : tree _q211 = gimple_assign_rhs2 (_a11);
12722 : 0 : _q211 = do_valueize (valueize, _q211);
12723 : 0 : if ((_q210 == _q40 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q40, 0) && types_match (_q210, _q40)))
12724 : : {
12725 : 0 : if (integer_zerop (_q211))
12726 : : {
12727 : 0 : if (gimple_max_value (_q181, valueize))
12728 : : {
12729 : 0 : {
12730 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
12731 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
12732 : : )
12733 : : {
12734 : 0 : {
12735 : 0 : res_ops[0] = captures[0];
12736 : 0 : res_ops[1] = captures[1];
12737 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
12738 : 0 : return true;
12739 : : }
12740 : : }
12741 : : }
12742 : : }
12743 : : }
12744 : : }
12745 : : break;
12746 : : }
12747 : : default:;
12748 : : }
12749 : : }
12750 : : break;
12751 : : default:;
12752 : : }
12753 : : break;
12754 : : }
12755 : : default:;
12756 : : }
12757 : : }
12758 : : break;
12759 : : default:;
12760 : : }
12761 : : break;
12762 : : }
12763 : : default:;
12764 : : }
12765 : : }
12766 : : break;
12767 : 0 : default:;
12768 : : }
12769 : 0 : if (gimple_max_value (_q180, valueize))
12770 : : {
12771 : 0 : switch (TREE_CODE (_q181))
12772 : : {
12773 : 0 : case SSA_NAME:
12774 : 0 : if (gimple *_d9 = get_def (valueize, _q181))
12775 : : {
12776 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
12777 : 0 : switch (gimple_assign_rhs_code (_a9))
12778 : : {
12779 : 0 : case NEGATE_EXPR:
12780 : 0 : {
12781 : 0 : tree _q200 = gimple_assign_rhs1 (_a9);
12782 : 0 : _q200 = do_valueize (valueize, _q200);
12783 : 0 : switch (TREE_CODE (_q200))
12784 : : {
12785 : 0 : case SSA_NAME:
12786 : 0 : if (gimple *_d10 = get_def (valueize, _q200))
12787 : : {
12788 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
12789 : 0 : switch (gimple_assign_rhs_code (_a10))
12790 : : {
12791 : 0 : CASE_CONVERT:
12792 : 0 : {
12793 : 0 : tree _q210 = gimple_assign_rhs1 (_a10);
12794 : 0 : _q210 = do_valueize (valueize, _q210);
12795 : 0 : switch (TREE_CODE (_q210))
12796 : : {
12797 : 0 : case SSA_NAME:
12798 : 0 : if (gimple *_d11 = get_def (valueize, _q210))
12799 : : {
12800 : 0 : if (gassign *_a11 = dyn_cast <gassign *> (_d11))
12801 : 0 : switch (gimple_assign_rhs_code (_a11))
12802 : : {
12803 : 0 : case LT_EXPR:
12804 : 0 : {
12805 : 0 : tree _q220 = gimple_assign_rhs1 (_a11);
12806 : 0 : _q220 = do_valueize (valueize, _q220);
12807 : 0 : tree _q221 = gimple_assign_rhs2 (_a11);
12808 : 0 : _q221 = do_valueize (valueize, _q221);
12809 : 0 : if ((_q220 == _q40 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q40, 0) && types_match (_q220, _q40)))
12810 : : {
12811 : 0 : if (integer_zerop (_q221))
12812 : : {
12813 : 0 : {
12814 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
12815 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
12816 : : )
12817 : : {
12818 : 0 : {
12819 : 0 : res_ops[0] = captures[0];
12820 : 0 : res_ops[1] = captures[1];
12821 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
12822 : 0 : return true;
12823 : : }
12824 : : }
12825 : : }
12826 : : }
12827 : : }
12828 : : break;
12829 : : }
12830 : : default:;
12831 : : }
12832 : : }
12833 : : break;
12834 : : default:;
12835 : : }
12836 : : break;
12837 : : }
12838 : : default:;
12839 : : }
12840 : : }
12841 : : break;
12842 : : default:;
12843 : : }
12844 : : break;
12845 : : }
12846 : : default:;
12847 : : }
12848 : : }
12849 : : break;
12850 : : default:;
12851 : : }
12852 : : }
12853 : 0 : break;
12854 : : }
12855 : : default:;
12856 : : }
12857 : : }
12858 : : break;
12859 : : default:;
12860 : : }
12861 : : }
12862 : : }
12863 : : }
12864 : : }
12865 : 0 : if ((_q130 == _q100 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q100, 0) && types_match (_q130, _q100)))
12866 : : {
12867 : 0 : if ((_q131 == _q40 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q40, 0) && types_match (_q131, _q40)))
12868 : : {
12869 : 0 : if (integer_zerop (_q21))
12870 : : {
12871 : 0 : if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
12872 : : {
12873 : 0 : switch (TREE_CODE (_p2))
12874 : : {
12875 : 0 : case SSA_NAME:
12876 : 0 : if (gimple *_d8 = get_def (valueize, _p2))
12877 : : {
12878 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
12879 : 0 : switch (gimple_assign_rhs_code (_a8))
12880 : : {
12881 : 0 : case BIT_XOR_EXPR:
12882 : 0 : {
12883 : 0 : tree _q180 = gimple_assign_rhs1 (_a8);
12884 : 0 : _q180 = do_valueize (valueize, _q180);
12885 : 0 : tree _q181 = gimple_assign_rhs2 (_a8);
12886 : 0 : _q181 = do_valueize (valueize, _q181);
12887 : 0 : if (tree_swap_operands_p (_q180, _q181))
12888 : 0 : std::swap (_q180, _q181);
12889 : 0 : switch (TREE_CODE (_q180))
12890 : : {
12891 : 0 : case SSA_NAME:
12892 : 0 : if (gimple *_d9 = get_def (valueize, _q180))
12893 : : {
12894 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
12895 : 0 : switch (gimple_assign_rhs_code (_a9))
12896 : : {
12897 : 0 : case NEGATE_EXPR:
12898 : 0 : {
12899 : 0 : tree _q190 = gimple_assign_rhs1 (_a9);
12900 : 0 : _q190 = do_valueize (valueize, _q190);
12901 : 0 : switch (TREE_CODE (_q190))
12902 : : {
12903 : 0 : case SSA_NAME:
12904 : 0 : if (gimple *_d10 = get_def (valueize, _q190))
12905 : : {
12906 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
12907 : 0 : switch (gimple_assign_rhs_code (_a10))
12908 : : {
12909 : 0 : CASE_CONVERT:
12910 : 0 : {
12911 : 0 : tree _q200 = gimple_assign_rhs1 (_a10);
12912 : 0 : _q200 = do_valueize (valueize, _q200);
12913 : 0 : switch (TREE_CODE (_q200))
12914 : : {
12915 : 0 : case SSA_NAME:
12916 : 0 : if (gimple *_d11 = get_def (valueize, _q200))
12917 : : {
12918 : 0 : if (gassign *_a11 = dyn_cast <gassign *> (_d11))
12919 : 0 : switch (gimple_assign_rhs_code (_a11))
12920 : : {
12921 : 0 : case LT_EXPR:
12922 : 0 : {
12923 : 0 : tree _q210 = gimple_assign_rhs1 (_a11);
12924 : 0 : _q210 = do_valueize (valueize, _q210);
12925 : 0 : tree _q211 = gimple_assign_rhs2 (_a11);
12926 : 0 : _q211 = do_valueize (valueize, _q211);
12927 : 0 : if ((_q210 == _q40 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q40, 0) && types_match (_q210, _q40)))
12928 : : {
12929 : 0 : if (integer_zerop (_q211))
12930 : : {
12931 : 0 : if (gimple_max_value (_q181, valueize))
12932 : : {
12933 : 0 : {
12934 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
12935 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
12936 : : )
12937 : : {
12938 : 0 : {
12939 : 0 : res_ops[0] = captures[0];
12940 : 0 : res_ops[1] = captures[1];
12941 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
12942 : 0 : return true;
12943 : : }
12944 : : }
12945 : : }
12946 : : }
12947 : : }
12948 : : }
12949 : : break;
12950 : : }
12951 : : default:;
12952 : : }
12953 : : }
12954 : : break;
12955 : : default:;
12956 : : }
12957 : : break;
12958 : : }
12959 : : default:;
12960 : : }
12961 : : }
12962 : : break;
12963 : : default:;
12964 : : }
12965 : : break;
12966 : : }
12967 : : default:;
12968 : : }
12969 : : }
12970 : : break;
12971 : 0 : default:;
12972 : : }
12973 : 0 : if (gimple_max_value (_q180, valueize))
12974 : : {
12975 : 0 : switch (TREE_CODE (_q181))
12976 : : {
12977 : 0 : case SSA_NAME:
12978 : 0 : if (gimple *_d9 = get_def (valueize, _q181))
12979 : : {
12980 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
12981 : 0 : switch (gimple_assign_rhs_code (_a9))
12982 : : {
12983 : 0 : case NEGATE_EXPR:
12984 : 0 : {
12985 : 0 : tree _q200 = gimple_assign_rhs1 (_a9);
12986 : 0 : _q200 = do_valueize (valueize, _q200);
12987 : 0 : switch (TREE_CODE (_q200))
12988 : : {
12989 : 0 : case SSA_NAME:
12990 : 0 : if (gimple *_d10 = get_def (valueize, _q200))
12991 : : {
12992 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
12993 : 0 : switch (gimple_assign_rhs_code (_a10))
12994 : : {
12995 : 0 : CASE_CONVERT:
12996 : 0 : {
12997 : 0 : tree _q210 = gimple_assign_rhs1 (_a10);
12998 : 0 : _q210 = do_valueize (valueize, _q210);
12999 : 0 : switch (TREE_CODE (_q210))
13000 : : {
13001 : 0 : case SSA_NAME:
13002 : 0 : if (gimple *_d11 = get_def (valueize, _q210))
13003 : : {
13004 : 0 : if (gassign *_a11 = dyn_cast <gassign *> (_d11))
13005 : 0 : switch (gimple_assign_rhs_code (_a11))
13006 : : {
13007 : 0 : case LT_EXPR:
13008 : 0 : {
13009 : 0 : tree _q220 = gimple_assign_rhs1 (_a11);
13010 : 0 : _q220 = do_valueize (valueize, _q220);
13011 : 0 : tree _q221 = gimple_assign_rhs2 (_a11);
13012 : 0 : _q221 = do_valueize (valueize, _q221);
13013 : 0 : if ((_q220 == _q40 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q40, 0) && types_match (_q220, _q40)))
13014 : : {
13015 : 0 : if (integer_zerop (_q221))
13016 : : {
13017 : 0 : {
13018 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
13019 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
13020 : : )
13021 : : {
13022 : 0 : {
13023 : 0 : res_ops[0] = captures[0];
13024 : 0 : res_ops[1] = captures[1];
13025 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
13026 : 0 : return true;
13027 : : }
13028 : : }
13029 : : }
13030 : : }
13031 : : }
13032 : : break;
13033 : : }
13034 : : default:;
13035 : : }
13036 : : }
13037 : : break;
13038 : : default:;
13039 : : }
13040 : : break;
13041 : : }
13042 : : default:;
13043 : : }
13044 : : }
13045 : : break;
13046 : : default:;
13047 : : }
13048 : : break;
13049 : : }
13050 : : default:;
13051 : : }
13052 : : }
13053 : : break;
13054 : : default:;
13055 : : }
13056 : : }
13057 : 0 : break;
13058 : : }
13059 : : default:;
13060 : : }
13061 : : }
13062 : : break;
13063 : : default:;
13064 : : }
13065 : : }
13066 : : }
13067 : : }
13068 : : }
13069 : 0 : break;
13070 : : }
13071 : : default:;
13072 : : }
13073 : : }
13074 : : break;
13075 : : default:;
13076 : : }
13077 : : break;
13078 : : }
13079 : : default:;
13080 : : }
13081 : : }
13082 : : break;
13083 : : default:;
13084 : : }
13085 : : }
13086 : : }
13087 : : }
13088 : : }
13089 : : }
13090 : 0 : break;
13091 : : }
13092 : : default:;
13093 : : }
13094 : : }
13095 : : break;
13096 : : default:;
13097 : : }
13098 : : }
13099 : : }
13100 : 0 : break;
13101 : : }
13102 : 0 : case BIT_NOT_EXPR:
13103 : 0 : {
13104 : 0 : tree _q40 = gimple_assign_rhs1 (_a4);
13105 : 0 : _q40 = do_valueize (valueize, _q40);
13106 : 0 : switch (TREE_CODE (_q40))
13107 : : {
13108 : 0 : case SSA_NAME:
13109 : 0 : if (gimple *_d5 = get_def (valueize, _q40))
13110 : : {
13111 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
13112 : 0 : switch (gimple_assign_rhs_code (_a5))
13113 : : {
13114 : 0 : case BIT_XOR_EXPR:
13115 : 0 : {
13116 : 0 : tree _q50 = gimple_assign_rhs1 (_a5);
13117 : 0 : _q50 = do_valueize (valueize, _q50);
13118 : 0 : tree _q51 = gimple_assign_rhs2 (_a5);
13119 : 0 : _q51 = do_valueize (valueize, _q51);
13120 : 0 : if (tree_swap_operands_p (_q50, _q51))
13121 : 0 : std::swap (_q50, _q51);
13122 : 0 : switch (TREE_CODE (_q31))
13123 : : {
13124 : 0 : case SSA_NAME:
13125 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
13126 : : {
13127 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
13128 : 0 : switch (gimple_assign_rhs_code (_a6))
13129 : : {
13130 : 0 : case BIT_XOR_EXPR:
13131 : 0 : {
13132 : 0 : tree _q80 = gimple_assign_rhs1 (_a6);
13133 : 0 : _q80 = do_valueize (valueize, _q80);
13134 : 0 : tree _q81 = gimple_assign_rhs2 (_a6);
13135 : 0 : _q81 = do_valueize (valueize, _q81);
13136 : 0 : if (tree_swap_operands_p (_q80, _q81))
13137 : 0 : std::swap (_q80, _q81);
13138 : 0 : if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
13139 : : {
13140 : 0 : {
13141 : 0 : tree _q81_pops[1];
13142 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
13143 : : {
13144 : 0 : tree _q100 = _q81_pops[0];
13145 : 0 : switch (TREE_CODE (_q100))
13146 : : {
13147 : 0 : case SSA_NAME:
13148 : 0 : if (gimple *_d7 = get_def (valueize, _q100))
13149 : : {
13150 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
13151 : 0 : switch (gimple_assign_rhs_code (_a7))
13152 : : {
13153 : 0 : case PLUS_EXPR:
13154 : 0 : {
13155 : 0 : tree _q110 = gimple_assign_rhs1 (_a7);
13156 : 0 : _q110 = do_valueize (valueize, _q110);
13157 : 0 : tree _q111 = gimple_assign_rhs2 (_a7);
13158 : 0 : _q111 = do_valueize (valueize, _q111);
13159 : 0 : if (tree_swap_operands_p (_q110, _q111))
13160 : 0 : std::swap (_q110, _q111);
13161 : 0 : {
13162 : 0 : tree _q110_pops[1];
13163 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
13164 : : {
13165 : 0 : tree _q120 = _q110_pops[0];
13166 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
13167 : : {
13168 : 0 : {
13169 : 0 : tree _q111_pops[1];
13170 : 0 : if (gimple_nop_convert (_q111, _q111_pops, valueize))
13171 : : {
13172 : 0 : tree _q140 = _q111_pops[0];
13173 : 0 : if ((_q140 == _q51 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q51, 0) && types_match (_q140, _q51)))
13174 : : {
13175 : 0 : if (integer_zerop (_q21))
13176 : : {
13177 : 0 : if ((_p1 == _q81 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q81, 0) && types_match (_p1, _q81)))
13178 : : {
13179 : 0 : switch (TREE_CODE (_p2))
13180 : : {
13181 : 0 : case SSA_NAME:
13182 : 0 : if (gimple *_d8 = get_def (valueize, _p2))
13183 : : {
13184 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
13185 : 0 : switch (gimple_assign_rhs_code (_a8))
13186 : : {
13187 : 0 : case BIT_XOR_EXPR:
13188 : 0 : {
13189 : 0 : tree _q180 = gimple_assign_rhs1 (_a8);
13190 : 0 : _q180 = do_valueize (valueize, _q180);
13191 : 0 : tree _q181 = gimple_assign_rhs2 (_a8);
13192 : 0 : _q181 = do_valueize (valueize, _q181);
13193 : 0 : if (tree_swap_operands_p (_q180, _q181))
13194 : 0 : std::swap (_q180, _q181);
13195 : 0 : switch (TREE_CODE (_q180))
13196 : : {
13197 : 0 : case SSA_NAME:
13198 : 0 : if (gimple *_d9 = get_def (valueize, _q180))
13199 : : {
13200 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
13201 : 0 : switch (gimple_assign_rhs_code (_a9))
13202 : : {
13203 : 0 : case NEGATE_EXPR:
13204 : 0 : {
13205 : 0 : tree _q190 = gimple_assign_rhs1 (_a9);
13206 : 0 : _q190 = do_valueize (valueize, _q190);
13207 : 0 : switch (TREE_CODE (_q190))
13208 : : {
13209 : 0 : case SSA_NAME:
13210 : 0 : if (gimple *_d10 = get_def (valueize, _q190))
13211 : : {
13212 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
13213 : 0 : switch (gimple_assign_rhs_code (_a10))
13214 : : {
13215 : 0 : CASE_CONVERT:
13216 : 0 : {
13217 : 0 : tree _q200 = gimple_assign_rhs1 (_a10);
13218 : 0 : _q200 = do_valueize (valueize, _q200);
13219 : 0 : switch (TREE_CODE (_q200))
13220 : : {
13221 : 0 : case SSA_NAME:
13222 : 0 : if (gimple *_d11 = get_def (valueize, _q200))
13223 : : {
13224 : 0 : if (gassign *_a11 = dyn_cast <gassign *> (_d11))
13225 : 0 : switch (gimple_assign_rhs_code (_a11))
13226 : : {
13227 : 0 : case LT_EXPR:
13228 : 0 : {
13229 : 0 : tree _q210 = gimple_assign_rhs1 (_a11);
13230 : 0 : _q210 = do_valueize (valueize, _q210);
13231 : 0 : tree _q211 = gimple_assign_rhs2 (_a11);
13232 : 0 : _q211 = do_valueize (valueize, _q211);
13233 : 0 : if ((_q210 == _q50 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q50, 0) && types_match (_q210, _q50)))
13234 : : {
13235 : 0 : if (integer_zerop (_q211))
13236 : : {
13237 : 0 : if (gimple_max_value (_q181, valueize))
13238 : : {
13239 : 0 : {
13240 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q81 };
13241 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
13242 : : )
13243 : : {
13244 : 0 : {
13245 : 0 : res_ops[0] = captures[0];
13246 : 0 : res_ops[1] = captures[1];
13247 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
13248 : 0 : return true;
13249 : : }
13250 : : }
13251 : : }
13252 : : }
13253 : : }
13254 : : }
13255 : : break;
13256 : : }
13257 : : default:;
13258 : : }
13259 : : }
13260 : : break;
13261 : : default:;
13262 : : }
13263 : : break;
13264 : : }
13265 : : default:;
13266 : : }
13267 : : }
13268 : : break;
13269 : : default:;
13270 : : }
13271 : : break;
13272 : : }
13273 : : default:;
13274 : : }
13275 : : }
13276 : : break;
13277 : 0 : default:;
13278 : : }
13279 : 0 : if (gimple_max_value (_q180, valueize))
13280 : : {
13281 : 0 : switch (TREE_CODE (_q181))
13282 : : {
13283 : 0 : case SSA_NAME:
13284 : 0 : if (gimple *_d9 = get_def (valueize, _q181))
13285 : : {
13286 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
13287 : 0 : switch (gimple_assign_rhs_code (_a9))
13288 : : {
13289 : 0 : case NEGATE_EXPR:
13290 : 0 : {
13291 : 0 : tree _q200 = gimple_assign_rhs1 (_a9);
13292 : 0 : _q200 = do_valueize (valueize, _q200);
13293 : 0 : switch (TREE_CODE (_q200))
13294 : : {
13295 : 0 : case SSA_NAME:
13296 : 0 : if (gimple *_d10 = get_def (valueize, _q200))
13297 : : {
13298 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
13299 : 0 : switch (gimple_assign_rhs_code (_a10))
13300 : : {
13301 : 0 : CASE_CONVERT:
13302 : 0 : {
13303 : 0 : tree _q210 = gimple_assign_rhs1 (_a10);
13304 : 0 : _q210 = do_valueize (valueize, _q210);
13305 : 0 : switch (TREE_CODE (_q210))
13306 : : {
13307 : 0 : case SSA_NAME:
13308 : 0 : if (gimple *_d11 = get_def (valueize, _q210))
13309 : : {
13310 : 0 : if (gassign *_a11 = dyn_cast <gassign *> (_d11))
13311 : 0 : switch (gimple_assign_rhs_code (_a11))
13312 : : {
13313 : 0 : case LT_EXPR:
13314 : 0 : {
13315 : 0 : tree _q220 = gimple_assign_rhs1 (_a11);
13316 : 0 : _q220 = do_valueize (valueize, _q220);
13317 : 0 : tree _q221 = gimple_assign_rhs2 (_a11);
13318 : 0 : _q221 = do_valueize (valueize, _q221);
13319 : 0 : if ((_q220 == _q50 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q50, 0) && types_match (_q220, _q50)))
13320 : : {
13321 : 0 : if (integer_zerop (_q221))
13322 : : {
13323 : 0 : {
13324 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q81 };
13325 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
13326 : : )
13327 : : {
13328 : 0 : {
13329 : 0 : res_ops[0] = captures[0];
13330 : 0 : res_ops[1] = captures[1];
13331 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
13332 : 0 : return true;
13333 : : }
13334 : : }
13335 : : }
13336 : : }
13337 : : }
13338 : : break;
13339 : : }
13340 : : default:;
13341 : : }
13342 : : }
13343 : : break;
13344 : : default:;
13345 : : }
13346 : : break;
13347 : : }
13348 : : default:;
13349 : : }
13350 : : }
13351 : : break;
13352 : : default:;
13353 : : }
13354 : : break;
13355 : : }
13356 : : default:;
13357 : : }
13358 : : }
13359 : : break;
13360 : : default:;
13361 : : }
13362 : : }
13363 : 0 : break;
13364 : : }
13365 : : default:;
13366 : : }
13367 : : }
13368 : : break;
13369 : : default:;
13370 : : }
13371 : : }
13372 : : }
13373 : : }
13374 : : }
13375 : : }
13376 : : }
13377 : : }
13378 : : }
13379 : 0 : break;
13380 : : }
13381 : : default:;
13382 : : }
13383 : : }
13384 : : break;
13385 : : default:;
13386 : : }
13387 : : }
13388 : : }
13389 : : }
13390 : 0 : if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
13391 : : {
13392 : 0 : {
13393 : 0 : tree _q81_pops[1];
13394 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
13395 : : {
13396 : 0 : tree _q100 = _q81_pops[0];
13397 : 0 : switch (TREE_CODE (_q100))
13398 : : {
13399 : 0 : case SSA_NAME:
13400 : 0 : if (gimple *_d7 = get_def (valueize, _q100))
13401 : : {
13402 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
13403 : 0 : switch (gimple_assign_rhs_code (_a7))
13404 : : {
13405 : 0 : case PLUS_EXPR:
13406 : 0 : {
13407 : 0 : tree _q110 = gimple_assign_rhs1 (_a7);
13408 : 0 : _q110 = do_valueize (valueize, _q110);
13409 : 0 : tree _q111 = gimple_assign_rhs2 (_a7);
13410 : 0 : _q111 = do_valueize (valueize, _q111);
13411 : 0 : if (tree_swap_operands_p (_q110, _q111))
13412 : 0 : std::swap (_q110, _q111);
13413 : 0 : {
13414 : 0 : tree _q110_pops[1];
13415 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
13416 : : {
13417 : 0 : tree _q120 = _q110_pops[0];
13418 : 0 : if ((_q120 == _q51 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q51, 0) && types_match (_q120, _q51)))
13419 : : {
13420 : 0 : {
13421 : 0 : tree _q111_pops[1];
13422 : 0 : if (gimple_nop_convert (_q111, _q111_pops, valueize))
13423 : : {
13424 : 0 : tree _q140 = _q111_pops[0];
13425 : 0 : if ((_q140 == _q50 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q50, 0) && types_match (_q140, _q50)))
13426 : : {
13427 : 0 : if (integer_zerop (_q21))
13428 : : {
13429 : 0 : if ((_p1 == _q81 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q81, 0) && types_match (_p1, _q81)))
13430 : : {
13431 : 0 : switch (TREE_CODE (_p2))
13432 : : {
13433 : 0 : case SSA_NAME:
13434 : 0 : if (gimple *_d8 = get_def (valueize, _p2))
13435 : : {
13436 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
13437 : 0 : switch (gimple_assign_rhs_code (_a8))
13438 : : {
13439 : 0 : case BIT_XOR_EXPR:
13440 : 0 : {
13441 : 0 : tree _q180 = gimple_assign_rhs1 (_a8);
13442 : 0 : _q180 = do_valueize (valueize, _q180);
13443 : 0 : tree _q181 = gimple_assign_rhs2 (_a8);
13444 : 0 : _q181 = do_valueize (valueize, _q181);
13445 : 0 : if (tree_swap_operands_p (_q180, _q181))
13446 : 0 : std::swap (_q180, _q181);
13447 : 0 : switch (TREE_CODE (_q180))
13448 : : {
13449 : 0 : case SSA_NAME:
13450 : 0 : if (gimple *_d9 = get_def (valueize, _q180))
13451 : : {
13452 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
13453 : 0 : switch (gimple_assign_rhs_code (_a9))
13454 : : {
13455 : 0 : case NEGATE_EXPR:
13456 : 0 : {
13457 : 0 : tree _q190 = gimple_assign_rhs1 (_a9);
13458 : 0 : _q190 = do_valueize (valueize, _q190);
13459 : 0 : switch (TREE_CODE (_q190))
13460 : : {
13461 : 0 : case SSA_NAME:
13462 : 0 : if (gimple *_d10 = get_def (valueize, _q190))
13463 : : {
13464 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
13465 : 0 : switch (gimple_assign_rhs_code (_a10))
13466 : : {
13467 : 0 : CASE_CONVERT:
13468 : 0 : {
13469 : 0 : tree _q200 = gimple_assign_rhs1 (_a10);
13470 : 0 : _q200 = do_valueize (valueize, _q200);
13471 : 0 : switch (TREE_CODE (_q200))
13472 : : {
13473 : 0 : case SSA_NAME:
13474 : 0 : if (gimple *_d11 = get_def (valueize, _q200))
13475 : : {
13476 : 0 : if (gassign *_a11 = dyn_cast <gassign *> (_d11))
13477 : 0 : switch (gimple_assign_rhs_code (_a11))
13478 : : {
13479 : 0 : case LT_EXPR:
13480 : 0 : {
13481 : 0 : tree _q210 = gimple_assign_rhs1 (_a11);
13482 : 0 : _q210 = do_valueize (valueize, _q210);
13483 : 0 : tree _q211 = gimple_assign_rhs2 (_a11);
13484 : 0 : _q211 = do_valueize (valueize, _q211);
13485 : 0 : if ((_q210 == _q51 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q51, 0) && types_match (_q210, _q51)))
13486 : : {
13487 : 0 : if (integer_zerop (_q211))
13488 : : {
13489 : 0 : if (gimple_max_value (_q181, valueize))
13490 : : {
13491 : 0 : {
13492 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q81 };
13493 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
13494 : : )
13495 : : {
13496 : 0 : {
13497 : 0 : res_ops[0] = captures[0];
13498 : 0 : res_ops[1] = captures[1];
13499 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
13500 : 0 : return true;
13501 : : }
13502 : : }
13503 : : }
13504 : : }
13505 : : }
13506 : : }
13507 : : break;
13508 : : }
13509 : : default:;
13510 : : }
13511 : : }
13512 : : break;
13513 : : default:;
13514 : : }
13515 : : break;
13516 : : }
13517 : : default:;
13518 : : }
13519 : : }
13520 : : break;
13521 : : default:;
13522 : : }
13523 : : break;
13524 : : }
13525 : : default:;
13526 : : }
13527 : : }
13528 : : break;
13529 : 0 : default:;
13530 : : }
13531 : 0 : if (gimple_max_value (_q180, valueize))
13532 : : {
13533 : 0 : switch (TREE_CODE (_q181))
13534 : : {
13535 : 0 : case SSA_NAME:
13536 : 0 : if (gimple *_d9 = get_def (valueize, _q181))
13537 : : {
13538 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
13539 : 0 : switch (gimple_assign_rhs_code (_a9))
13540 : : {
13541 : 0 : case NEGATE_EXPR:
13542 : 0 : {
13543 : 0 : tree _q200 = gimple_assign_rhs1 (_a9);
13544 : 0 : _q200 = do_valueize (valueize, _q200);
13545 : 0 : switch (TREE_CODE (_q200))
13546 : : {
13547 : 0 : case SSA_NAME:
13548 : 0 : if (gimple *_d10 = get_def (valueize, _q200))
13549 : : {
13550 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
13551 : 0 : switch (gimple_assign_rhs_code (_a10))
13552 : : {
13553 : 0 : CASE_CONVERT:
13554 : 0 : {
13555 : 0 : tree _q210 = gimple_assign_rhs1 (_a10);
13556 : 0 : _q210 = do_valueize (valueize, _q210);
13557 : 0 : switch (TREE_CODE (_q210))
13558 : : {
13559 : 0 : case SSA_NAME:
13560 : 0 : if (gimple *_d11 = get_def (valueize, _q210))
13561 : : {
13562 : 0 : if (gassign *_a11 = dyn_cast <gassign *> (_d11))
13563 : 0 : switch (gimple_assign_rhs_code (_a11))
13564 : : {
13565 : 0 : case LT_EXPR:
13566 : 0 : {
13567 : 0 : tree _q220 = gimple_assign_rhs1 (_a11);
13568 : 0 : _q220 = do_valueize (valueize, _q220);
13569 : 0 : tree _q221 = gimple_assign_rhs2 (_a11);
13570 : 0 : _q221 = do_valueize (valueize, _q221);
13571 : 0 : if ((_q220 == _q51 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q51, 0) && types_match (_q220, _q51)))
13572 : : {
13573 : 0 : if (integer_zerop (_q221))
13574 : : {
13575 : 0 : {
13576 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q81 };
13577 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
13578 : : )
13579 : : {
13580 : 0 : {
13581 : 0 : res_ops[0] = captures[0];
13582 : 0 : res_ops[1] = captures[1];
13583 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
13584 : 0 : return true;
13585 : : }
13586 : : }
13587 : : }
13588 : : }
13589 : : }
13590 : : break;
13591 : : }
13592 : : default:;
13593 : : }
13594 : : }
13595 : : break;
13596 : : default:;
13597 : : }
13598 : : break;
13599 : : }
13600 : : default:;
13601 : : }
13602 : : }
13603 : : break;
13604 : : default:;
13605 : : }
13606 : : break;
13607 : : }
13608 : : default:;
13609 : : }
13610 : : }
13611 : : break;
13612 : : default:;
13613 : : }
13614 : : }
13615 : 0 : break;
13616 : : }
13617 : : default:;
13618 : : }
13619 : : }
13620 : : break;
13621 : : default:;
13622 : : }
13623 : : }
13624 : : }
13625 : : }
13626 : : }
13627 : : }
13628 : : }
13629 : : }
13630 : : }
13631 : 0 : break;
13632 : : }
13633 : : default:;
13634 : : }
13635 : : }
13636 : : break;
13637 : : default:;
13638 : : }
13639 : : }
13640 : : }
13641 : : }
13642 : 3323440 : break;
13643 : : }
13644 : : default:;
13645 : : }
13646 : : }
13647 : : break;
13648 : : default:;
13649 : : }
13650 : 3323440 : break;
13651 : : }
13652 : : default:;
13653 : : }
13654 : : }
13655 : : break;
13656 : : default:;
13657 : : }
13658 : : break;
13659 : : }
13660 : : default:;
13661 : : }
13662 : : }
13663 : : break;
13664 : : default:;
13665 : : }
13666 : 3323440 : break;
13667 : : }
13668 : 0 : case BIT_IOR_EXPR:
13669 : 0 : {
13670 : 0 : tree _q30 = gimple_assign_rhs1 (_a3);
13671 : 0 : _q30 = do_valueize (valueize, _q30);
13672 : 0 : tree _q31 = gimple_assign_rhs2 (_a3);
13673 : 0 : _q31 = do_valueize (valueize, _q31);
13674 : 0 : if (tree_swap_operands_p (_q30, _q31))
13675 : 0 : std::swap (_q30, _q31);
13676 : 0 : switch (TREE_CODE (_q30))
13677 : : {
13678 : 0 : case SSA_NAME:
13679 : 0 : if (gimple *_d4 = get_def (valueize, _q30))
13680 : : {
13681 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
13682 : 0 : switch (gimple_assign_rhs_code (_a4))
13683 : : {
13684 : 0 : case BIT_XOR_EXPR:
13685 : 0 : {
13686 : 0 : tree _q40 = gimple_assign_rhs1 (_a4);
13687 : 0 : _q40 = do_valueize (valueize, _q40);
13688 : 0 : tree _q41 = gimple_assign_rhs2 (_a4);
13689 : 0 : _q41 = do_valueize (valueize, _q41);
13690 : 0 : if (tree_swap_operands_p (_q40, _q41))
13691 : 0 : std::swap (_q40, _q41);
13692 : 0 : switch (TREE_CODE (_q41))
13693 : : {
13694 : 0 : case INTEGER_CST:
13695 : 0 : {
13696 : 0 : switch (TREE_CODE (_q31))
13697 : : {
13698 : 0 : case SSA_NAME:
13699 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
13700 : : {
13701 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
13702 : 0 : switch (gimple_assign_rhs_code (_a5))
13703 : : {
13704 : 0 : case BIT_NOT_EXPR:
13705 : 0 : {
13706 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
13707 : 0 : _q70 = do_valueize (valueize, _q70);
13708 : 0 : switch (TREE_CODE (_q70))
13709 : : {
13710 : 0 : case SSA_NAME:
13711 : 0 : if (gimple *_d6 = get_def (valueize, _q70))
13712 : : {
13713 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
13714 : 0 : switch (gimple_assign_rhs_code (_a6))
13715 : : {
13716 : 0 : case BIT_XOR_EXPR:
13717 : 0 : {
13718 : 0 : tree _q80 = gimple_assign_rhs1 (_a6);
13719 : 0 : _q80 = do_valueize (valueize, _q80);
13720 : 0 : tree _q81 = gimple_assign_rhs2 (_a6);
13721 : 0 : _q81 = do_valueize (valueize, _q81);
13722 : 0 : if (tree_swap_operands_p (_q80, _q81))
13723 : 0 : std::swap (_q80, _q81);
13724 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
13725 : : {
13726 : 0 : {
13727 : 0 : tree _q81_pops[1];
13728 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
13729 : : {
13730 : 0 : tree _q100 = _q81_pops[0];
13731 : 0 : switch (TREE_CODE (_q100))
13732 : : {
13733 : 0 : case SSA_NAME:
13734 : 0 : if (gimple *_d7 = get_def (valueize, _q100))
13735 : : {
13736 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
13737 : 0 : switch (gimple_assign_rhs_code (_a7))
13738 : : {
13739 : 0 : case PLUS_EXPR:
13740 : 0 : {
13741 : 0 : tree _q110 = gimple_assign_rhs1 (_a7);
13742 : 0 : _q110 = do_valueize (valueize, _q110);
13743 : 0 : tree _q111 = gimple_assign_rhs2 (_a7);
13744 : 0 : _q111 = do_valueize (valueize, _q111);
13745 : 0 : if (tree_swap_operands_p (_q110, _q111))
13746 : 0 : std::swap (_q110, _q111);
13747 : 0 : {
13748 : 0 : tree _q110_pops[1];
13749 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
13750 : : {
13751 : 0 : tree _q120 = _q110_pops[0];
13752 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
13753 : : {
13754 : 0 : switch (TREE_CODE (_q111))
13755 : : {
13756 : 0 : case INTEGER_CST:
13757 : 0 : {
13758 : 0 : if (integer_zerop (_q21))
13759 : : {
13760 : 0 : {
13761 : 0 : tree _p1_pops[1];
13762 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
13763 : : {
13764 : 0 : tree _q160 = _p1_pops[0];
13765 : 0 : if ((_q160 == _q40 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q40, 0) && types_match (_q160, _q40)))
13766 : : {
13767 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
13768 : : {
13769 : 0 : {
13770 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q81, _q111 };
13771 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
13772 : : )
13773 : : {
13774 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
13775 : : )
13776 : : {
13777 : 0 : {
13778 : 0 : res_ops[0] = captures[0];
13779 : 0 : res_ops[1] = captures[1];
13780 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
13781 : 0 : return true;
13782 : : }
13783 : : }
13784 : : }
13785 : : }
13786 : : }
13787 : : }
13788 : : }
13789 : : }
13790 : : }
13791 : : break;
13792 : : }
13793 : : default:;
13794 : : }
13795 : : }
13796 : : }
13797 : : }
13798 : 0 : break;
13799 : : }
13800 : : default:;
13801 : : }
13802 : : }
13803 : : break;
13804 : : default:;
13805 : : }
13806 : : }
13807 : : }
13808 : : }
13809 : 0 : {
13810 : 0 : tree _q80_pops[1];
13811 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
13812 : : {
13813 : 0 : tree _q90 = _q80_pops[0];
13814 : 0 : switch (TREE_CODE (_q90))
13815 : : {
13816 : 0 : case SSA_NAME:
13817 : 0 : if (gimple *_d7 = get_def (valueize, _q90))
13818 : : {
13819 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
13820 : 0 : switch (gimple_assign_rhs_code (_a7))
13821 : : {
13822 : 0 : case PLUS_EXPR:
13823 : 0 : {
13824 : 0 : tree _q100 = gimple_assign_rhs1 (_a7);
13825 : 0 : _q100 = do_valueize (valueize, _q100);
13826 : 0 : tree _q101 = gimple_assign_rhs2 (_a7);
13827 : 0 : _q101 = do_valueize (valueize, _q101);
13828 : 0 : if (tree_swap_operands_p (_q100, _q101))
13829 : 0 : std::swap (_q100, _q101);
13830 : 0 : {
13831 : 0 : tree _q100_pops[1];
13832 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
13833 : : {
13834 : 0 : tree _q110 = _q100_pops[0];
13835 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
13836 : : {
13837 : 0 : switch (TREE_CODE (_q101))
13838 : : {
13839 : 0 : case INTEGER_CST:
13840 : 0 : {
13841 : 0 : if ((_q81 == _q40 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q40, 0) && types_match (_q81, _q40)))
13842 : : {
13843 : 0 : if (integer_zerop (_q21))
13844 : : {
13845 : 0 : {
13846 : 0 : tree _p1_pops[1];
13847 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
13848 : : {
13849 : 0 : tree _q160 = _p1_pops[0];
13850 : 0 : if ((_q160 == _q40 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q40, 0) && types_match (_q160, _q40)))
13851 : : {
13852 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
13853 : : {
13854 : 0 : {
13855 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q80, _q101 };
13856 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
13857 : : )
13858 : : {
13859 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
13860 : : )
13861 : : {
13862 : 0 : {
13863 : 0 : res_ops[0] = captures[0];
13864 : 0 : res_ops[1] = captures[1];
13865 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
13866 : 0 : return true;
13867 : : }
13868 : : }
13869 : : }
13870 : : }
13871 : : }
13872 : : }
13873 : : }
13874 : : }
13875 : : }
13876 : : }
13877 : : break;
13878 : : }
13879 : : default:;
13880 : : }
13881 : : }
13882 : : }
13883 : : }
13884 : 0 : break;
13885 : : }
13886 : : default:;
13887 : : }
13888 : : }
13889 : : break;
13890 : : default:;
13891 : : }
13892 : : }
13893 : : }
13894 : 0 : break;
13895 : : }
13896 : : default:;
13897 : : }
13898 : : }
13899 : : break;
13900 : : default:;
13901 : : }
13902 : : break;
13903 : : }
13904 : : default:;
13905 : : }
13906 : : }
13907 : : break;
13908 : : default:;
13909 : : }
13910 : : break;
13911 : : }
13912 : 0 : default:;
13913 : : }
13914 : 0 : switch (TREE_CODE (_q40))
13915 : : {
13916 : 0 : case INTEGER_CST:
13917 : 0 : {
13918 : 0 : switch (TREE_CODE (_q31))
13919 : : {
13920 : 0 : case SSA_NAME:
13921 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
13922 : : {
13923 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
13924 : 0 : switch (gimple_assign_rhs_code (_a5))
13925 : : {
13926 : 0 : case BIT_NOT_EXPR:
13927 : 0 : {
13928 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
13929 : 0 : _q70 = do_valueize (valueize, _q70);
13930 : 0 : switch (TREE_CODE (_q70))
13931 : : {
13932 : 0 : case SSA_NAME:
13933 : 0 : if (gimple *_d6 = get_def (valueize, _q70))
13934 : : {
13935 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
13936 : 0 : switch (gimple_assign_rhs_code (_a6))
13937 : : {
13938 : 0 : case BIT_XOR_EXPR:
13939 : 0 : {
13940 : 0 : tree _q80 = gimple_assign_rhs1 (_a6);
13941 : 0 : _q80 = do_valueize (valueize, _q80);
13942 : 0 : tree _q81 = gimple_assign_rhs2 (_a6);
13943 : 0 : _q81 = do_valueize (valueize, _q81);
13944 : 0 : if (tree_swap_operands_p (_q80, _q81))
13945 : 0 : std::swap (_q80, _q81);
13946 : 0 : if ((_q80 == _q41 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q41, 0) && types_match (_q80, _q41)))
13947 : : {
13948 : 0 : {
13949 : 0 : tree _q81_pops[1];
13950 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
13951 : : {
13952 : 0 : tree _q100 = _q81_pops[0];
13953 : 0 : switch (TREE_CODE (_q100))
13954 : : {
13955 : 0 : case SSA_NAME:
13956 : 0 : if (gimple *_d7 = get_def (valueize, _q100))
13957 : : {
13958 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
13959 : 0 : switch (gimple_assign_rhs_code (_a7))
13960 : : {
13961 : 0 : case PLUS_EXPR:
13962 : 0 : {
13963 : 0 : tree _q110 = gimple_assign_rhs1 (_a7);
13964 : 0 : _q110 = do_valueize (valueize, _q110);
13965 : 0 : tree _q111 = gimple_assign_rhs2 (_a7);
13966 : 0 : _q111 = do_valueize (valueize, _q111);
13967 : 0 : if (tree_swap_operands_p (_q110, _q111))
13968 : 0 : std::swap (_q110, _q111);
13969 : 0 : {
13970 : 0 : tree _q110_pops[1];
13971 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
13972 : : {
13973 : 0 : tree _q120 = _q110_pops[0];
13974 : 0 : if ((_q120 == _q41 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q41, 0) && types_match (_q120, _q41)))
13975 : : {
13976 : 0 : switch (TREE_CODE (_q111))
13977 : : {
13978 : 0 : case INTEGER_CST:
13979 : 0 : {
13980 : 0 : if (integer_zerop (_q21))
13981 : : {
13982 : 0 : {
13983 : 0 : tree _p1_pops[1];
13984 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
13985 : : {
13986 : 0 : tree _q160 = _p1_pops[0];
13987 : 0 : if ((_q160 == _q41 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q41, 0) && types_match (_q160, _q41)))
13988 : : {
13989 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
13990 : : {
13991 : 0 : {
13992 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q40, _q81, _q111 };
13993 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
13994 : : )
13995 : : {
13996 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
13997 : : )
13998 : : {
13999 : 0 : {
14000 : 0 : res_ops[0] = captures[0];
14001 : 0 : res_ops[1] = captures[1];
14002 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
14003 : 0 : return true;
14004 : : }
14005 : : }
14006 : : }
14007 : : }
14008 : : }
14009 : : }
14010 : : }
14011 : : }
14012 : : }
14013 : : break;
14014 : : }
14015 : : default:;
14016 : : }
14017 : : }
14018 : : }
14019 : : }
14020 : 0 : break;
14021 : : }
14022 : : default:;
14023 : : }
14024 : : }
14025 : : break;
14026 : : default:;
14027 : : }
14028 : : }
14029 : : }
14030 : : }
14031 : 0 : {
14032 : 0 : tree _q80_pops[1];
14033 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
14034 : : {
14035 : 0 : tree _q90 = _q80_pops[0];
14036 : 0 : switch (TREE_CODE (_q90))
14037 : : {
14038 : 0 : case SSA_NAME:
14039 : 0 : if (gimple *_d7 = get_def (valueize, _q90))
14040 : : {
14041 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
14042 : 0 : switch (gimple_assign_rhs_code (_a7))
14043 : : {
14044 : 0 : case PLUS_EXPR:
14045 : 0 : {
14046 : 0 : tree _q100 = gimple_assign_rhs1 (_a7);
14047 : 0 : _q100 = do_valueize (valueize, _q100);
14048 : 0 : tree _q101 = gimple_assign_rhs2 (_a7);
14049 : 0 : _q101 = do_valueize (valueize, _q101);
14050 : 0 : if (tree_swap_operands_p (_q100, _q101))
14051 : 0 : std::swap (_q100, _q101);
14052 : 0 : {
14053 : 0 : tree _q100_pops[1];
14054 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
14055 : : {
14056 : 0 : tree _q110 = _q100_pops[0];
14057 : 0 : if ((_q110 == _q41 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q41, 0) && types_match (_q110, _q41)))
14058 : : {
14059 : 0 : switch (TREE_CODE (_q101))
14060 : : {
14061 : 0 : case INTEGER_CST:
14062 : 0 : {
14063 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
14064 : : {
14065 : 0 : if (integer_zerop (_q21))
14066 : : {
14067 : 0 : {
14068 : 0 : tree _p1_pops[1];
14069 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
14070 : : {
14071 : 0 : tree _q160 = _p1_pops[0];
14072 : 0 : if ((_q160 == _q41 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q41, 0) && types_match (_q160, _q41)))
14073 : : {
14074 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
14075 : : {
14076 : 0 : {
14077 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q40, _q80, _q101 };
14078 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
14079 : : )
14080 : : {
14081 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
14082 : : )
14083 : : {
14084 : 0 : {
14085 : 0 : res_ops[0] = captures[0];
14086 : 0 : res_ops[1] = captures[1];
14087 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
14088 : 0 : return true;
14089 : : }
14090 : : }
14091 : : }
14092 : : }
14093 : : }
14094 : : }
14095 : : }
14096 : : }
14097 : : }
14098 : : }
14099 : : break;
14100 : : }
14101 : : default:;
14102 : : }
14103 : : }
14104 : : }
14105 : : }
14106 : 0 : break;
14107 : : }
14108 : : default:;
14109 : : }
14110 : : }
14111 : : break;
14112 : : default:;
14113 : : }
14114 : : }
14115 : : }
14116 : 0 : break;
14117 : : }
14118 : : default:;
14119 : : }
14120 : : }
14121 : : break;
14122 : : default:;
14123 : : }
14124 : : break;
14125 : : }
14126 : : default:;
14127 : : }
14128 : : }
14129 : : break;
14130 : : default:;
14131 : : }
14132 : : break;
14133 : : }
14134 : : default:;
14135 : : }
14136 : 3323440 : break;
14137 : : }
14138 : 0 : case BIT_NOT_EXPR:
14139 : 0 : {
14140 : 0 : tree _q40 = gimple_assign_rhs1 (_a4);
14141 : 0 : _q40 = do_valueize (valueize, _q40);
14142 : 0 : switch (TREE_CODE (_q40))
14143 : : {
14144 : 0 : case SSA_NAME:
14145 : 0 : if (gimple *_d5 = get_def (valueize, _q40))
14146 : : {
14147 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
14148 : 0 : switch (gimple_assign_rhs_code (_a5))
14149 : : {
14150 : 0 : case BIT_XOR_EXPR:
14151 : 0 : {
14152 : 0 : tree _q50 = gimple_assign_rhs1 (_a5);
14153 : 0 : _q50 = do_valueize (valueize, _q50);
14154 : 0 : tree _q51 = gimple_assign_rhs2 (_a5);
14155 : 0 : _q51 = do_valueize (valueize, _q51);
14156 : 0 : if (tree_swap_operands_p (_q50, _q51))
14157 : 0 : std::swap (_q50, _q51);
14158 : 0 : {
14159 : 0 : tree _q51_pops[1];
14160 : 0 : if (gimple_nop_convert (_q51, _q51_pops, valueize))
14161 : : {
14162 : 0 : tree _q70 = _q51_pops[0];
14163 : 0 : switch (TREE_CODE (_q70))
14164 : : {
14165 : 0 : case SSA_NAME:
14166 : 0 : if (gimple *_d6 = get_def (valueize, _q70))
14167 : : {
14168 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
14169 : 0 : switch (gimple_assign_rhs_code (_a6))
14170 : : {
14171 : 0 : case PLUS_EXPR:
14172 : 0 : {
14173 : 0 : tree _q80 = gimple_assign_rhs1 (_a6);
14174 : 0 : _q80 = do_valueize (valueize, _q80);
14175 : 0 : tree _q81 = gimple_assign_rhs2 (_a6);
14176 : 0 : _q81 = do_valueize (valueize, _q81);
14177 : 0 : if (tree_swap_operands_p (_q80, _q81))
14178 : 0 : std::swap (_q80, _q81);
14179 : 0 : {
14180 : 0 : tree _q80_pops[1];
14181 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
14182 : : {
14183 : 0 : tree _q90 = _q80_pops[0];
14184 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
14185 : : {
14186 : 0 : switch (TREE_CODE (_q81))
14187 : : {
14188 : 0 : case INTEGER_CST:
14189 : 0 : {
14190 : 0 : switch (TREE_CODE (_q31))
14191 : : {
14192 : 0 : case SSA_NAME:
14193 : 0 : if (gimple *_d7 = get_def (valueize, _q31))
14194 : : {
14195 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
14196 : 0 : switch (gimple_assign_rhs_code (_a7))
14197 : : {
14198 : 0 : case BIT_XOR_EXPR:
14199 : 0 : {
14200 : 0 : tree _q120 = gimple_assign_rhs1 (_a7);
14201 : 0 : _q120 = do_valueize (valueize, _q120);
14202 : 0 : tree _q121 = gimple_assign_rhs2 (_a7);
14203 : 0 : _q121 = do_valueize (valueize, _q121);
14204 : 0 : if (tree_swap_operands_p (_q120, _q121))
14205 : 0 : std::swap (_q120, _q121);
14206 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
14207 : : {
14208 : 0 : switch (TREE_CODE (_q121))
14209 : : {
14210 : 0 : case INTEGER_CST:
14211 : 0 : {
14212 : 0 : if (integer_zerop (_q21))
14213 : : {
14214 : 0 : {
14215 : 0 : tree _p1_pops[1];
14216 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
14217 : : {
14218 : 0 : tree _q160 = _p1_pops[0];
14219 : 0 : if ((_q160 == _q50 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q50, 0) && types_match (_q160, _q50)))
14220 : : {
14221 : 0 : if ((_p2 == _q51 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q51, 0) && types_match (_p2, _q51)))
14222 : : {
14223 : 0 : {
14224 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q121, _q51, _q81 };
14225 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
14226 : : )
14227 : : {
14228 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
14229 : : )
14230 : : {
14231 : 0 : {
14232 : 0 : res_ops[0] = captures[0];
14233 : 0 : res_ops[1] = captures[1];
14234 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
14235 : 0 : return true;
14236 : : }
14237 : : }
14238 : : }
14239 : : }
14240 : : }
14241 : : }
14242 : : }
14243 : : }
14244 : : }
14245 : : break;
14246 : : }
14247 : : default:;
14248 : : }
14249 : : }
14250 : 0 : break;
14251 : : }
14252 : : default:;
14253 : : }
14254 : : }
14255 : : break;
14256 : : default:;
14257 : : }
14258 : : break;
14259 : : }
14260 : : default:;
14261 : : }
14262 : : }
14263 : : }
14264 : : }
14265 : 0 : break;
14266 : : }
14267 : : default:;
14268 : : }
14269 : : }
14270 : : break;
14271 : : default:;
14272 : : }
14273 : : }
14274 : : }
14275 : 0 : {
14276 : 0 : tree _q50_pops[1];
14277 : 0 : if (gimple_nop_convert (_q50, _q50_pops, valueize))
14278 : : {
14279 : 0 : tree _q60 = _q50_pops[0];
14280 : 0 : switch (TREE_CODE (_q60))
14281 : : {
14282 : 0 : case SSA_NAME:
14283 : 0 : if (gimple *_d6 = get_def (valueize, _q60))
14284 : : {
14285 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
14286 : 0 : switch (gimple_assign_rhs_code (_a6))
14287 : : {
14288 : 0 : case PLUS_EXPR:
14289 : 0 : {
14290 : 0 : tree _q70 = gimple_assign_rhs1 (_a6);
14291 : 0 : _q70 = do_valueize (valueize, _q70);
14292 : 0 : tree _q71 = gimple_assign_rhs2 (_a6);
14293 : 0 : _q71 = do_valueize (valueize, _q71);
14294 : 0 : if (tree_swap_operands_p (_q70, _q71))
14295 : 0 : std::swap (_q70, _q71);
14296 : 0 : {
14297 : 0 : tree _q70_pops[1];
14298 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
14299 : : {
14300 : 0 : tree _q80 = _q70_pops[0];
14301 : 0 : switch (TREE_CODE (_q71))
14302 : : {
14303 : 0 : case INTEGER_CST:
14304 : 0 : {
14305 : 0 : if ((_q51 == _q80 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q80, 0) && types_match (_q51, _q80)))
14306 : : {
14307 : 0 : switch (TREE_CODE (_q31))
14308 : : {
14309 : 0 : case SSA_NAME:
14310 : 0 : if (gimple *_d7 = get_def (valueize, _q31))
14311 : : {
14312 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
14313 : 0 : switch (gimple_assign_rhs_code (_a7))
14314 : : {
14315 : 0 : case BIT_XOR_EXPR:
14316 : 0 : {
14317 : 0 : tree _q120 = gimple_assign_rhs1 (_a7);
14318 : 0 : _q120 = do_valueize (valueize, _q120);
14319 : 0 : tree _q121 = gimple_assign_rhs2 (_a7);
14320 : 0 : _q121 = do_valueize (valueize, _q121);
14321 : 0 : if (tree_swap_operands_p (_q120, _q121))
14322 : 0 : std::swap (_q120, _q121);
14323 : 0 : if ((_q120 == _q80 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q80, 0) && types_match (_q120, _q80)))
14324 : : {
14325 : 0 : switch (TREE_CODE (_q121))
14326 : : {
14327 : 0 : case INTEGER_CST:
14328 : 0 : {
14329 : 0 : if (integer_zerop (_q21))
14330 : : {
14331 : 0 : {
14332 : 0 : tree _p1_pops[1];
14333 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
14334 : : {
14335 : 0 : tree _q160 = _p1_pops[0];
14336 : 0 : if ((_q160 == _q80 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q80, 0) && types_match (_q160, _q80)))
14337 : : {
14338 : 0 : if ((_p2 == _q50 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q50, 0) && types_match (_p2, _q50)))
14339 : : {
14340 : 0 : {
14341 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q80, _q121, _q50, _q71 };
14342 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
14343 : : )
14344 : : {
14345 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
14346 : : )
14347 : : {
14348 : 0 : {
14349 : 0 : res_ops[0] = captures[0];
14350 : 0 : res_ops[1] = captures[1];
14351 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
14352 : 0 : return true;
14353 : : }
14354 : : }
14355 : : }
14356 : : }
14357 : : }
14358 : : }
14359 : : }
14360 : : }
14361 : : }
14362 : : break;
14363 : : }
14364 : : default:;
14365 : : }
14366 : : }
14367 : 0 : switch (TREE_CODE (_q120))
14368 : : {
14369 : 0 : case INTEGER_CST:
14370 : 0 : {
14371 : 0 : if ((_q121 == _q80 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q80, 0) && types_match (_q121, _q80)))
14372 : : {
14373 : 0 : if (integer_zerop (_q21))
14374 : : {
14375 : 0 : {
14376 : 0 : tree _p1_pops[1];
14377 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
14378 : : {
14379 : 0 : tree _q160 = _p1_pops[0];
14380 : 0 : if ((_q160 == _q80 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q80, 0) && types_match (_q160, _q80)))
14381 : : {
14382 : 0 : if ((_p2 == _q50 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q50, 0) && types_match (_p2, _q50)))
14383 : : {
14384 : 0 : {
14385 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q80, _q120, _q50, _q71 };
14386 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
14387 : : )
14388 : : {
14389 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
14390 : : )
14391 : : {
14392 : 0 : {
14393 : 0 : res_ops[0] = captures[0];
14394 : 0 : res_ops[1] = captures[1];
14395 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
14396 : 0 : return true;
14397 : : }
14398 : : }
14399 : : }
14400 : : }
14401 : : }
14402 : : }
14403 : : }
14404 : : }
14405 : : }
14406 : : }
14407 : : break;
14408 : : }
14409 : : default:;
14410 : : }
14411 : 0 : break;
14412 : : }
14413 : : default:;
14414 : : }
14415 : : }
14416 : : break;
14417 : : default:;
14418 : : }
14419 : : }
14420 : : break;
14421 : : }
14422 : : default:;
14423 : : }
14424 : : }
14425 : : }
14426 : 0 : break;
14427 : : }
14428 : : default:;
14429 : : }
14430 : : }
14431 : : break;
14432 : : default:;
14433 : : }
14434 : : }
14435 : : }
14436 : 0 : {
14437 : 0 : tree _q51_pops[1];
14438 : 0 : if (gimple_nop_convert (_q51, _q51_pops, valueize))
14439 : : {
14440 : 0 : tree _q70 = _q51_pops[0];
14441 : 0 : switch (TREE_CODE (_q70))
14442 : : {
14443 : 0 : case SSA_NAME:
14444 : 0 : if (gimple *_d6 = get_def (valueize, _q70))
14445 : : {
14446 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
14447 : 0 : switch (gimple_assign_rhs_code (_a6))
14448 : : {
14449 : 0 : case PLUS_EXPR:
14450 : 0 : {
14451 : 0 : tree _q80 = gimple_assign_rhs1 (_a6);
14452 : 0 : _q80 = do_valueize (valueize, _q80);
14453 : 0 : tree _q81 = gimple_assign_rhs2 (_a6);
14454 : 0 : _q81 = do_valueize (valueize, _q81);
14455 : 0 : if (tree_swap_operands_p (_q80, _q81))
14456 : 0 : std::swap (_q80, _q81);
14457 : 0 : {
14458 : 0 : tree _q80_pops[1];
14459 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
14460 : : {
14461 : 0 : tree _q90 = _q80_pops[0];
14462 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
14463 : : {
14464 : 0 : switch (TREE_CODE (_q81))
14465 : : {
14466 : 0 : case INTEGER_CST:
14467 : 0 : {
14468 : 0 : switch (TREE_CODE (_q31))
14469 : : {
14470 : 0 : case SSA_NAME:
14471 : 0 : if (gimple *_d7 = get_def (valueize, _q31))
14472 : : {
14473 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
14474 : 0 : switch (gimple_assign_rhs_code (_a7))
14475 : : {
14476 : 0 : case BIT_XOR_EXPR:
14477 : 0 : {
14478 : 0 : tree _q120 = gimple_assign_rhs1 (_a7);
14479 : 0 : _q120 = do_valueize (valueize, _q120);
14480 : 0 : tree _q121 = gimple_assign_rhs2 (_a7);
14481 : 0 : _q121 = do_valueize (valueize, _q121);
14482 : 0 : if (tree_swap_operands_p (_q120, _q121))
14483 : 0 : std::swap (_q120, _q121);
14484 : 0 : switch (TREE_CODE (_q120))
14485 : : {
14486 : 0 : case INTEGER_CST:
14487 : 0 : {
14488 : 0 : if ((_q121 == _q50 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q50, 0) && types_match (_q121, _q50)))
14489 : : {
14490 : 0 : if (integer_zerop (_q21))
14491 : : {
14492 : 0 : {
14493 : 0 : tree _p1_pops[1];
14494 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
14495 : : {
14496 : 0 : tree _q160 = _p1_pops[0];
14497 : 0 : if ((_q160 == _q50 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q50, 0) && types_match (_q160, _q50)))
14498 : : {
14499 : 0 : if ((_p2 == _q51 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q51, 0) && types_match (_p2, _q51)))
14500 : : {
14501 : 0 : {
14502 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q120, _q51, _q81 };
14503 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
14504 : : )
14505 : : {
14506 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
14507 : : )
14508 : : {
14509 : 0 : {
14510 : 0 : res_ops[0] = captures[0];
14511 : 0 : res_ops[1] = captures[1];
14512 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
14513 : 0 : return true;
14514 : : }
14515 : : }
14516 : : }
14517 : : }
14518 : : }
14519 : : }
14520 : : }
14521 : : }
14522 : : }
14523 : : }
14524 : : break;
14525 : : }
14526 : : default:;
14527 : : }
14528 : 0 : break;
14529 : : }
14530 : : default:;
14531 : : }
14532 : : }
14533 : : break;
14534 : : default:;
14535 : : }
14536 : : break;
14537 : : }
14538 : : default:;
14539 : : }
14540 : : }
14541 : : }
14542 : : }
14543 : 0 : break;
14544 : : }
14545 : : default:;
14546 : : }
14547 : : }
14548 : : break;
14549 : : default:;
14550 : : }
14551 : : }
14552 : : }
14553 : 0 : break;
14554 : : }
14555 : : default:;
14556 : : }
14557 : : }
14558 : : break;
14559 : : default:;
14560 : : }
14561 : : break;
14562 : : }
14563 : : default:;
14564 : : }
14565 : : }
14566 : : break;
14567 : : default:;
14568 : : }
14569 : 3323440 : break;
14570 : : }
14571 : : default:;
14572 : : }
14573 : : }
14574 : : break;
14575 : : default:;
14576 : : }
14577 : : break;
14578 : : }
14579 : 0 : case BIT_AND_EXPR:
14580 : 0 : {
14581 : 0 : tree _q20 = gimple_assign_rhs1 (_a2);
14582 : 0 : _q20 = do_valueize (valueize, _q20);
14583 : 0 : tree _q21 = gimple_assign_rhs2 (_a2);
14584 : 0 : _q21 = do_valueize (valueize, _q21);
14585 : 0 : if (tree_swap_operands_p (_q20, _q21))
14586 : 0 : std::swap (_q20, _q21);
14587 : 0 : switch (TREE_CODE (_q20))
14588 : : {
14589 : 0 : case SSA_NAME:
14590 : 0 : if (gimple *_d3 = get_def (valueize, _q20))
14591 : : {
14592 : 0 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
14593 : 0 : switch (gimple_assign_rhs_code (_a3))
14594 : : {
14595 : 0 : case LT_EXPR:
14596 : 0 : {
14597 : 0 : tree _q30 = gimple_assign_rhs1 (_a3);
14598 : 0 : _q30 = do_valueize (valueize, _q30);
14599 : 0 : tree _q31 = gimple_assign_rhs2 (_a3);
14600 : 0 : _q31 = do_valueize (valueize, _q31);
14601 : 0 : switch (TREE_CODE (_q30))
14602 : : {
14603 : 0 : case SSA_NAME:
14604 : 0 : if (gimple *_d4 = get_def (valueize, _q30))
14605 : : {
14606 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
14607 : 0 : switch (gimple_assign_rhs_code (_a4))
14608 : : {
14609 : 0 : case BIT_XOR_EXPR:
14610 : 0 : {
14611 : 0 : tree _q40 = gimple_assign_rhs1 (_a4);
14612 : 0 : _q40 = do_valueize (valueize, _q40);
14613 : 0 : tree _q41 = gimple_assign_rhs2 (_a4);
14614 : 0 : _q41 = do_valueize (valueize, _q41);
14615 : 0 : if (tree_swap_operands_p (_q40, _q41))
14616 : 0 : std::swap (_q40, _q41);
14617 : 0 : {
14618 : 0 : tree _q41_pops[1];
14619 : 0 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
14620 : : {
14621 : 0 : tree _q60 = _q41_pops[0];
14622 : 0 : switch (TREE_CODE (_q60))
14623 : : {
14624 : 0 : case SSA_NAME:
14625 : 0 : if (gimple *_d5 = get_def (valueize, _q60))
14626 : : {
14627 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
14628 : 0 : switch (gimple_assign_rhs_code (_a5))
14629 : : {
14630 : 0 : case PLUS_EXPR:
14631 : 0 : {
14632 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
14633 : 0 : _q70 = do_valueize (valueize, _q70);
14634 : 0 : tree _q71 = gimple_assign_rhs2 (_a5);
14635 : 0 : _q71 = do_valueize (valueize, _q71);
14636 : 0 : if (tree_swap_operands_p (_q70, _q71))
14637 : 0 : std::swap (_q70, _q71);
14638 : 0 : {
14639 : 0 : tree _q70_pops[1];
14640 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
14641 : : {
14642 : 0 : tree _q80 = _q70_pops[0];
14643 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
14644 : : {
14645 : 0 : switch (TREE_CODE (_q71))
14646 : : {
14647 : 0 : case INTEGER_CST:
14648 : 0 : {
14649 : 0 : if (integer_zerop (_q31))
14650 : : {
14651 : 0 : switch (TREE_CODE (_q21))
14652 : : {
14653 : 0 : case SSA_NAME:
14654 : 0 : if (gimple *_d6 = get_def (valueize, _q21))
14655 : : {
14656 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
14657 : 0 : switch (gimple_assign_rhs_code (_a6))
14658 : : {
14659 : 0 : case GE_EXPR:
14660 : 0 : {
14661 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
14662 : 0 : _q120 = do_valueize (valueize, _q120);
14663 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
14664 : 0 : _q121 = do_valueize (valueize, _q121);
14665 : 0 : switch (TREE_CODE (_q120))
14666 : : {
14667 : 0 : case SSA_NAME:
14668 : 0 : if (gimple *_d7 = get_def (valueize, _q120))
14669 : : {
14670 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
14671 : 0 : switch (gimple_assign_rhs_code (_a7))
14672 : : {
14673 : 0 : case BIT_XOR_EXPR:
14674 : 0 : {
14675 : 0 : tree _q130 = gimple_assign_rhs1 (_a7);
14676 : 0 : _q130 = do_valueize (valueize, _q130);
14677 : 0 : tree _q131 = gimple_assign_rhs2 (_a7);
14678 : 0 : _q131 = do_valueize (valueize, _q131);
14679 : 0 : if (tree_swap_operands_p (_q130, _q131))
14680 : 0 : std::swap (_q130, _q131);
14681 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
14682 : : {
14683 : 0 : switch (TREE_CODE (_q131))
14684 : : {
14685 : 0 : case INTEGER_CST:
14686 : 0 : {
14687 : 0 : if (integer_zerop (_q121))
14688 : : {
14689 : 0 : {
14690 : 0 : tree _p1_pops[1];
14691 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
14692 : : {
14693 : 0 : tree _q170 = _p1_pops[0];
14694 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
14695 : : {
14696 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
14697 : : {
14698 : 0 : {
14699 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q131 };
14700 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
14701 : : )
14702 : : {
14703 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
14704 : : )
14705 : : {
14706 : 0 : {
14707 : 0 : res_ops[0] = captures[0];
14708 : 0 : res_ops[1] = captures[1];
14709 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
14710 : 0 : return true;
14711 : : }
14712 : : }
14713 : : }
14714 : : }
14715 : : }
14716 : : }
14717 : : }
14718 : : }
14719 : : }
14720 : : break;
14721 : : }
14722 : : default:;
14723 : : }
14724 : : }
14725 : 0 : switch (TREE_CODE (_q130))
14726 : : {
14727 : 0 : case INTEGER_CST:
14728 : 0 : {
14729 : 0 : if ((_q131 == _q40 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q40, 0) && types_match (_q131, _q40)))
14730 : : {
14731 : 0 : if (integer_zerop (_q121))
14732 : : {
14733 : 0 : {
14734 : 0 : tree _p1_pops[1];
14735 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
14736 : : {
14737 : 0 : tree _q170 = _p1_pops[0];
14738 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
14739 : : {
14740 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
14741 : : {
14742 : 0 : {
14743 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q130 };
14744 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
14745 : : )
14746 : : {
14747 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
14748 : : )
14749 : : {
14750 : 0 : {
14751 : 0 : res_ops[0] = captures[0];
14752 : 0 : res_ops[1] = captures[1];
14753 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
14754 : 0 : return true;
14755 : : }
14756 : : }
14757 : : }
14758 : : }
14759 : : }
14760 : : }
14761 : : }
14762 : : }
14763 : : }
14764 : : }
14765 : : break;
14766 : : }
14767 : : default:;
14768 : : }
14769 : 0 : break;
14770 : : }
14771 : : default:;
14772 : : }
14773 : : }
14774 : : break;
14775 : : default:;
14776 : : }
14777 : : break;
14778 : : }
14779 : : default:;
14780 : : }
14781 : : }
14782 : : break;
14783 : : default:;
14784 : : }
14785 : : }
14786 : : break;
14787 : : }
14788 : 0 : default:;
14789 : : }
14790 : 0 : {
14791 : 0 : tree _q71_pops[1];
14792 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
14793 : : {
14794 : 0 : tree _q100 = _q71_pops[0];
14795 : 0 : if (integer_zerop (_q31))
14796 : : {
14797 : 0 : switch (TREE_CODE (_q21))
14798 : : {
14799 : 0 : case SSA_NAME:
14800 : 0 : if (gimple *_d6 = get_def (valueize, _q21))
14801 : : {
14802 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
14803 : 0 : switch (gimple_assign_rhs_code (_a6))
14804 : : {
14805 : 0 : case GE_EXPR:
14806 : 0 : {
14807 : 0 : tree _q130 = gimple_assign_rhs1 (_a6);
14808 : 0 : _q130 = do_valueize (valueize, _q130);
14809 : 0 : tree _q131 = gimple_assign_rhs2 (_a6);
14810 : 0 : _q131 = do_valueize (valueize, _q131);
14811 : 0 : switch (TREE_CODE (_q130))
14812 : : {
14813 : 0 : case SSA_NAME:
14814 : 0 : if (gimple *_d7 = get_def (valueize, _q130))
14815 : : {
14816 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
14817 : 0 : switch (gimple_assign_rhs_code (_a7))
14818 : : {
14819 : 0 : case BIT_XOR_EXPR:
14820 : 0 : {
14821 : 0 : tree _q140 = gimple_assign_rhs1 (_a7);
14822 : 0 : _q140 = do_valueize (valueize, _q140);
14823 : 0 : tree _q141 = gimple_assign_rhs2 (_a7);
14824 : 0 : _q141 = do_valueize (valueize, _q141);
14825 : 0 : if (tree_swap_operands_p (_q140, _q141))
14826 : 0 : std::swap (_q140, _q141);
14827 : 0 : if ((_q140 == _q40 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q40, 0) && types_match (_q140, _q40)))
14828 : : {
14829 : 0 : if ((_q141 == _q100 && ! TREE_SIDE_EFFECTS (_q141)) || (operand_equal_p (_q141, _q100, 0) && types_match (_q141, _q100)))
14830 : : {
14831 : 0 : if (integer_zerop (_q131))
14832 : : {
14833 : 0 : {
14834 : 0 : tree _p1_pops[1];
14835 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
14836 : : {
14837 : 0 : tree _q180 = _p1_pops[0];
14838 : 0 : if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
14839 : : {
14840 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
14841 : : {
14842 : 0 : {
14843 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
14844 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
14845 : : )
14846 : : {
14847 : 0 : {
14848 : 0 : res_ops[0] = captures[0];
14849 : 0 : res_ops[1] = captures[1];
14850 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
14851 : 0 : return true;
14852 : : }
14853 : : }
14854 : : }
14855 : : }
14856 : : }
14857 : : }
14858 : : }
14859 : : }
14860 : : }
14861 : : }
14862 : 0 : if ((_q140 == _q100 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q100, 0) && types_match (_q140, _q100)))
14863 : : {
14864 : 0 : if ((_q141 == _q40 && ! TREE_SIDE_EFFECTS (_q141)) || (operand_equal_p (_q141, _q40, 0) && types_match (_q141, _q40)))
14865 : : {
14866 : 0 : if (integer_zerop (_q131))
14867 : : {
14868 : 0 : {
14869 : 0 : tree _p1_pops[1];
14870 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
14871 : : {
14872 : 0 : tree _q180 = _p1_pops[0];
14873 : 0 : if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
14874 : : {
14875 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
14876 : : {
14877 : 0 : {
14878 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
14879 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
14880 : : )
14881 : : {
14882 : 0 : {
14883 : 0 : res_ops[0] = captures[0];
14884 : 0 : res_ops[1] = captures[1];
14885 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
14886 : 0 : return true;
14887 : : }
14888 : : }
14889 : : }
14890 : : }
14891 : : }
14892 : : }
14893 : : }
14894 : : }
14895 : : }
14896 : : }
14897 : 0 : break;
14898 : : }
14899 : : default:;
14900 : : }
14901 : : }
14902 : : break;
14903 : : default:;
14904 : : }
14905 : : break;
14906 : : }
14907 : 0 : case BIT_NOT_EXPR:
14908 : 0 : {
14909 : 0 : tree _q130 = gimple_assign_rhs1 (_a6);
14910 : 0 : _q130 = do_valueize (valueize, _q130);
14911 : 0 : switch (TREE_CODE (_q130))
14912 : : {
14913 : 0 : case SSA_NAME:
14914 : 0 : if (gimple *_d7 = get_def (valueize, _q130))
14915 : : {
14916 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
14917 : 0 : switch (gimple_assign_rhs_code (_a7))
14918 : : {
14919 : 0 : case LT_EXPR:
14920 : 0 : {
14921 : 0 : tree _q140 = gimple_assign_rhs1 (_a7);
14922 : 0 : _q140 = do_valueize (valueize, _q140);
14923 : 0 : tree _q141 = gimple_assign_rhs2 (_a7);
14924 : 0 : _q141 = do_valueize (valueize, _q141);
14925 : 0 : switch (TREE_CODE (_q140))
14926 : : {
14927 : 0 : case SSA_NAME:
14928 : 0 : if (gimple *_d8 = get_def (valueize, _q140))
14929 : : {
14930 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
14931 : 0 : switch (gimple_assign_rhs_code (_a8))
14932 : : {
14933 : 0 : case BIT_XOR_EXPR:
14934 : 0 : {
14935 : 0 : tree _q150 = gimple_assign_rhs1 (_a8);
14936 : 0 : _q150 = do_valueize (valueize, _q150);
14937 : 0 : tree _q151 = gimple_assign_rhs2 (_a8);
14938 : 0 : _q151 = do_valueize (valueize, _q151);
14939 : 0 : if (tree_swap_operands_p (_q150, _q151))
14940 : 0 : std::swap (_q150, _q151);
14941 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
14942 : : {
14943 : 0 : if ((_q151 == _q100 && ! TREE_SIDE_EFFECTS (_q151)) || (operand_equal_p (_q151, _q100, 0) && types_match (_q151, _q100)))
14944 : : {
14945 : 0 : if (integer_zerop (_q141))
14946 : : {
14947 : 0 : {
14948 : 0 : tree _p1_pops[1];
14949 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
14950 : : {
14951 : 0 : tree _q190 = _p1_pops[0];
14952 : 0 : if ((_q190 == _q40 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q40, 0) && types_match (_q190, _q40)))
14953 : : {
14954 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
14955 : : {
14956 : 0 : {
14957 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
14958 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
14959 : : )
14960 : : {
14961 : 0 : {
14962 : 0 : res_ops[0] = captures[0];
14963 : 0 : res_ops[1] = captures[1];
14964 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
14965 : 0 : return true;
14966 : : }
14967 : : }
14968 : : }
14969 : : }
14970 : : }
14971 : : }
14972 : : }
14973 : : }
14974 : : }
14975 : : }
14976 : 0 : if ((_q150 == _q100 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q100, 0) && types_match (_q150, _q100)))
14977 : : {
14978 : 0 : if ((_q151 == _q40 && ! TREE_SIDE_EFFECTS (_q151)) || (operand_equal_p (_q151, _q40, 0) && types_match (_q151, _q40)))
14979 : : {
14980 : 0 : if (integer_zerop (_q141))
14981 : : {
14982 : 0 : {
14983 : 0 : tree _p1_pops[1];
14984 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
14985 : : {
14986 : 0 : tree _q190 = _p1_pops[0];
14987 : 0 : if ((_q190 == _q40 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q40, 0) && types_match (_q190, _q40)))
14988 : : {
14989 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
14990 : : {
14991 : 0 : {
14992 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
14993 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
14994 : : )
14995 : : {
14996 : 0 : {
14997 : 0 : res_ops[0] = captures[0];
14998 : 0 : res_ops[1] = captures[1];
14999 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
15000 : 0 : return true;
15001 : : }
15002 : : }
15003 : : }
15004 : : }
15005 : : }
15006 : : }
15007 : : }
15008 : : }
15009 : : }
15010 : : }
15011 : 0 : break;
15012 : : }
15013 : : default:;
15014 : : }
15015 : : }
15016 : : break;
15017 : : default:;
15018 : : }
15019 : : break;
15020 : : }
15021 : : default:;
15022 : : }
15023 : : }
15024 : : break;
15025 : : default:;
15026 : : }
15027 : : break;
15028 : : }
15029 : : default:;
15030 : : }
15031 : : }
15032 : : break;
15033 : : default:;
15034 : : }
15035 : : }
15036 : : }
15037 : : }
15038 : : }
15039 : : }
15040 : : }
15041 : 0 : break;
15042 : : }
15043 : : default:;
15044 : : }
15045 : : }
15046 : : break;
15047 : : default:;
15048 : : }
15049 : : }
15050 : : }
15051 : 0 : break;
15052 : : }
15053 : : default:;
15054 : : }
15055 : : }
15056 : : break;
15057 : : default:;
15058 : : }
15059 : : break;
15060 : : }
15061 : 0 : case GE_EXPR:
15062 : 0 : {
15063 : 0 : tree _q30 = gimple_assign_rhs1 (_a3);
15064 : 0 : _q30 = do_valueize (valueize, _q30);
15065 : 0 : tree _q31 = gimple_assign_rhs2 (_a3);
15066 : 0 : _q31 = do_valueize (valueize, _q31);
15067 : 0 : switch (TREE_CODE (_q30))
15068 : : {
15069 : 0 : case SSA_NAME:
15070 : 0 : if (gimple *_d4 = get_def (valueize, _q30))
15071 : : {
15072 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
15073 : 0 : switch (gimple_assign_rhs_code (_a4))
15074 : : {
15075 : 0 : case BIT_XOR_EXPR:
15076 : 0 : {
15077 : 0 : tree _q40 = gimple_assign_rhs1 (_a4);
15078 : 0 : _q40 = do_valueize (valueize, _q40);
15079 : 0 : tree _q41 = gimple_assign_rhs2 (_a4);
15080 : 0 : _q41 = do_valueize (valueize, _q41);
15081 : 0 : if (tree_swap_operands_p (_q40, _q41))
15082 : 0 : std::swap (_q40, _q41);
15083 : 0 : if (integer_zerop (_q31))
15084 : : {
15085 : 0 : switch (TREE_CODE (_q21))
15086 : : {
15087 : 0 : case SSA_NAME:
15088 : 0 : if (gimple *_d5 = get_def (valueize, _q21))
15089 : : {
15090 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
15091 : 0 : switch (gimple_assign_rhs_code (_a5))
15092 : : {
15093 : 0 : case LT_EXPR:
15094 : 0 : {
15095 : 0 : tree _q80 = gimple_assign_rhs1 (_a5);
15096 : 0 : _q80 = do_valueize (valueize, _q80);
15097 : 0 : tree _q81 = gimple_assign_rhs2 (_a5);
15098 : 0 : _q81 = do_valueize (valueize, _q81);
15099 : 0 : switch (TREE_CODE (_q80))
15100 : : {
15101 : 0 : case SSA_NAME:
15102 : 0 : if (gimple *_d6 = get_def (valueize, _q80))
15103 : : {
15104 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
15105 : 0 : switch (gimple_assign_rhs_code (_a6))
15106 : : {
15107 : 0 : case BIT_XOR_EXPR:
15108 : 0 : {
15109 : 0 : tree _q90 = gimple_assign_rhs1 (_a6);
15110 : 0 : _q90 = do_valueize (valueize, _q90);
15111 : 0 : tree _q91 = gimple_assign_rhs2 (_a6);
15112 : 0 : _q91 = do_valueize (valueize, _q91);
15113 : 0 : if (tree_swap_operands_p (_q90, _q91))
15114 : 0 : std::swap (_q90, _q91);
15115 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
15116 : : {
15117 : 0 : {
15118 : 0 : tree _q91_pops[1];
15119 : 0 : if (gimple_nop_convert (_q91, _q91_pops, valueize))
15120 : : {
15121 : 0 : tree _q110 = _q91_pops[0];
15122 : 0 : switch (TREE_CODE (_q110))
15123 : : {
15124 : 0 : case SSA_NAME:
15125 : 0 : if (gimple *_d7 = get_def (valueize, _q110))
15126 : : {
15127 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
15128 : 0 : switch (gimple_assign_rhs_code (_a7))
15129 : : {
15130 : 0 : case PLUS_EXPR:
15131 : 0 : {
15132 : 0 : tree _q120 = gimple_assign_rhs1 (_a7);
15133 : 0 : _q120 = do_valueize (valueize, _q120);
15134 : 0 : tree _q121 = gimple_assign_rhs2 (_a7);
15135 : 0 : _q121 = do_valueize (valueize, _q121);
15136 : 0 : if (tree_swap_operands_p (_q120, _q121))
15137 : 0 : std::swap (_q120, _q121);
15138 : 0 : {
15139 : 0 : tree _q120_pops[1];
15140 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
15141 : : {
15142 : 0 : tree _q130 = _q120_pops[0];
15143 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
15144 : : {
15145 : 0 : {
15146 : 0 : tree _q121_pops[1];
15147 : 0 : if (gimple_nop_convert (_q121, _q121_pops, valueize))
15148 : : {
15149 : 0 : tree _q150 = _q121_pops[0];
15150 : 0 : if ((_q150 == _q41 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q41, 0) && types_match (_q150, _q41)))
15151 : : {
15152 : 0 : if (integer_zerop (_q81))
15153 : : {
15154 : 0 : {
15155 : 0 : tree _p1_pops[1];
15156 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
15157 : : {
15158 : 0 : tree _q180 = _p1_pops[0];
15159 : 0 : if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
15160 : : {
15161 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
15162 : : {
15163 : 0 : {
15164 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q91 };
15165 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
15166 : : )
15167 : : {
15168 : 0 : {
15169 : 0 : res_ops[0] = captures[0];
15170 : 0 : res_ops[1] = captures[1];
15171 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
15172 : 0 : return true;
15173 : : }
15174 : : }
15175 : : }
15176 : : }
15177 : : }
15178 : : }
15179 : : }
15180 : : }
15181 : : }
15182 : : }
15183 : : }
15184 : : }
15185 : : }
15186 : : }
15187 : 0 : break;
15188 : : }
15189 : : default:;
15190 : : }
15191 : : }
15192 : : break;
15193 : : default:;
15194 : : }
15195 : : }
15196 : : }
15197 : : }
15198 : 0 : if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
15199 : : {
15200 : 0 : {
15201 : 0 : tree _q91_pops[1];
15202 : 0 : if (gimple_nop_convert (_q91, _q91_pops, valueize))
15203 : : {
15204 : 0 : tree _q110 = _q91_pops[0];
15205 : 0 : switch (TREE_CODE (_q110))
15206 : : {
15207 : 0 : case SSA_NAME:
15208 : 0 : if (gimple *_d7 = get_def (valueize, _q110))
15209 : : {
15210 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
15211 : 0 : switch (gimple_assign_rhs_code (_a7))
15212 : : {
15213 : 0 : case PLUS_EXPR:
15214 : 0 : {
15215 : 0 : tree _q120 = gimple_assign_rhs1 (_a7);
15216 : 0 : _q120 = do_valueize (valueize, _q120);
15217 : 0 : tree _q121 = gimple_assign_rhs2 (_a7);
15218 : 0 : _q121 = do_valueize (valueize, _q121);
15219 : 0 : if (tree_swap_operands_p (_q120, _q121))
15220 : 0 : std::swap (_q120, _q121);
15221 : 0 : {
15222 : 0 : tree _q120_pops[1];
15223 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
15224 : : {
15225 : 0 : tree _q130 = _q120_pops[0];
15226 : 0 : if ((_q130 == _q41 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q41, 0) && types_match (_q130, _q41)))
15227 : : {
15228 : 0 : {
15229 : 0 : tree _q121_pops[1];
15230 : 0 : if (gimple_nop_convert (_q121, _q121_pops, valueize))
15231 : : {
15232 : 0 : tree _q150 = _q121_pops[0];
15233 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
15234 : : {
15235 : 0 : if (integer_zerop (_q81))
15236 : : {
15237 : 0 : {
15238 : 0 : tree _p1_pops[1];
15239 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
15240 : : {
15241 : 0 : tree _q180 = _p1_pops[0];
15242 : 0 : if ((_q180 == _q41 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q41, 0) && types_match (_q180, _q41)))
15243 : : {
15244 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
15245 : : {
15246 : 0 : {
15247 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q91 };
15248 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
15249 : : )
15250 : : {
15251 : 0 : {
15252 : 0 : res_ops[0] = captures[0];
15253 : 0 : res_ops[1] = captures[1];
15254 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
15255 : 0 : return true;
15256 : : }
15257 : : }
15258 : : }
15259 : : }
15260 : : }
15261 : : }
15262 : : }
15263 : : }
15264 : : }
15265 : : }
15266 : : }
15267 : : }
15268 : : }
15269 : : }
15270 : 0 : break;
15271 : : }
15272 : : default:;
15273 : : }
15274 : : }
15275 : : break;
15276 : : default:;
15277 : : }
15278 : : }
15279 : : }
15280 : : }
15281 : 0 : break;
15282 : : }
15283 : : default:;
15284 : : }
15285 : : }
15286 : : break;
15287 : : default:;
15288 : : }
15289 : : break;
15290 : : }
15291 : : default:;
15292 : : }
15293 : : }
15294 : : break;
15295 : : default:;
15296 : : }
15297 : : }
15298 : 0 : switch (TREE_CODE (_q41))
15299 : : {
15300 : 0 : case INTEGER_CST:
15301 : 0 : {
15302 : 0 : if (integer_zerop (_q31))
15303 : : {
15304 : 0 : switch (TREE_CODE (_q21))
15305 : : {
15306 : 0 : case SSA_NAME:
15307 : 0 : if (gimple *_d5 = get_def (valueize, _q21))
15308 : : {
15309 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
15310 : 0 : switch (gimple_assign_rhs_code (_a5))
15311 : : {
15312 : 0 : case LT_EXPR:
15313 : 0 : {
15314 : 0 : tree _q80 = gimple_assign_rhs1 (_a5);
15315 : 0 : _q80 = do_valueize (valueize, _q80);
15316 : 0 : tree _q81 = gimple_assign_rhs2 (_a5);
15317 : 0 : _q81 = do_valueize (valueize, _q81);
15318 : 0 : switch (TREE_CODE (_q80))
15319 : : {
15320 : 0 : case SSA_NAME:
15321 : 0 : if (gimple *_d6 = get_def (valueize, _q80))
15322 : : {
15323 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
15324 : 0 : switch (gimple_assign_rhs_code (_a6))
15325 : : {
15326 : 0 : case BIT_XOR_EXPR:
15327 : 0 : {
15328 : 0 : tree _q90 = gimple_assign_rhs1 (_a6);
15329 : 0 : _q90 = do_valueize (valueize, _q90);
15330 : 0 : tree _q91 = gimple_assign_rhs2 (_a6);
15331 : 0 : _q91 = do_valueize (valueize, _q91);
15332 : 0 : if (tree_swap_operands_p (_q90, _q91))
15333 : 0 : std::swap (_q90, _q91);
15334 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
15335 : : {
15336 : 0 : {
15337 : 0 : tree _q91_pops[1];
15338 : 0 : if (gimple_nop_convert (_q91, _q91_pops, valueize))
15339 : : {
15340 : 0 : tree _q110 = _q91_pops[0];
15341 : 0 : switch (TREE_CODE (_q110))
15342 : : {
15343 : 0 : case SSA_NAME:
15344 : 0 : if (gimple *_d7 = get_def (valueize, _q110))
15345 : : {
15346 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
15347 : 0 : switch (gimple_assign_rhs_code (_a7))
15348 : : {
15349 : 0 : case PLUS_EXPR:
15350 : 0 : {
15351 : 0 : tree _q120 = gimple_assign_rhs1 (_a7);
15352 : 0 : _q120 = do_valueize (valueize, _q120);
15353 : 0 : tree _q121 = gimple_assign_rhs2 (_a7);
15354 : 0 : _q121 = do_valueize (valueize, _q121);
15355 : 0 : if (tree_swap_operands_p (_q120, _q121))
15356 : 0 : std::swap (_q120, _q121);
15357 : 0 : {
15358 : 0 : tree _q120_pops[1];
15359 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
15360 : : {
15361 : 0 : tree _q130 = _q120_pops[0];
15362 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
15363 : : {
15364 : 0 : switch (TREE_CODE (_q121))
15365 : : {
15366 : 0 : case INTEGER_CST:
15367 : 0 : {
15368 : 0 : if (integer_zerop (_q81))
15369 : : {
15370 : 0 : {
15371 : 0 : tree _p1_pops[1];
15372 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
15373 : : {
15374 : 0 : tree _q170 = _p1_pops[0];
15375 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
15376 : : {
15377 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
15378 : : {
15379 : 0 : {
15380 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q121, _q91, _q41 };
15381 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
15382 : : )
15383 : : {
15384 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
15385 : : )
15386 : : {
15387 : 0 : {
15388 : 0 : res_ops[0] = captures[0];
15389 : 0 : res_ops[1] = captures[1];
15390 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
15391 : 0 : return true;
15392 : : }
15393 : : }
15394 : : }
15395 : : }
15396 : : }
15397 : : }
15398 : : }
15399 : : }
15400 : : }
15401 : : break;
15402 : : }
15403 : : default:;
15404 : : }
15405 : : }
15406 : : }
15407 : : }
15408 : 0 : break;
15409 : : }
15410 : : default:;
15411 : : }
15412 : : }
15413 : : break;
15414 : : default:;
15415 : : }
15416 : : }
15417 : : }
15418 : : }
15419 : 0 : break;
15420 : : }
15421 : : default:;
15422 : : }
15423 : : }
15424 : : break;
15425 : : default:;
15426 : : }
15427 : : break;
15428 : : }
15429 : : default:;
15430 : : }
15431 : : }
15432 : : break;
15433 : : default:;
15434 : : }
15435 : : }
15436 : : break;
15437 : : }
15438 : 0 : default:;
15439 : : }
15440 : 0 : switch (TREE_CODE (_q40))
15441 : : {
15442 : 0 : case INTEGER_CST:
15443 : 0 : {
15444 : 0 : if (integer_zerop (_q31))
15445 : : {
15446 : 0 : switch (TREE_CODE (_q21))
15447 : : {
15448 : 0 : case SSA_NAME:
15449 : 0 : if (gimple *_d5 = get_def (valueize, _q21))
15450 : : {
15451 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
15452 : 0 : switch (gimple_assign_rhs_code (_a5))
15453 : : {
15454 : 0 : case LT_EXPR:
15455 : 0 : {
15456 : 0 : tree _q80 = gimple_assign_rhs1 (_a5);
15457 : 0 : _q80 = do_valueize (valueize, _q80);
15458 : 0 : tree _q81 = gimple_assign_rhs2 (_a5);
15459 : 0 : _q81 = do_valueize (valueize, _q81);
15460 : 0 : switch (TREE_CODE (_q80))
15461 : : {
15462 : 0 : case SSA_NAME:
15463 : 0 : if (gimple *_d6 = get_def (valueize, _q80))
15464 : : {
15465 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
15466 : 0 : switch (gimple_assign_rhs_code (_a6))
15467 : : {
15468 : 0 : case BIT_XOR_EXPR:
15469 : 0 : {
15470 : 0 : tree _q90 = gimple_assign_rhs1 (_a6);
15471 : 0 : _q90 = do_valueize (valueize, _q90);
15472 : 0 : tree _q91 = gimple_assign_rhs2 (_a6);
15473 : 0 : _q91 = do_valueize (valueize, _q91);
15474 : 0 : if (tree_swap_operands_p (_q90, _q91))
15475 : 0 : std::swap (_q90, _q91);
15476 : 0 : if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
15477 : : {
15478 : 0 : {
15479 : 0 : tree _q91_pops[1];
15480 : 0 : if (gimple_nop_convert (_q91, _q91_pops, valueize))
15481 : : {
15482 : 0 : tree _q110 = _q91_pops[0];
15483 : 0 : switch (TREE_CODE (_q110))
15484 : : {
15485 : 0 : case SSA_NAME:
15486 : 0 : if (gimple *_d7 = get_def (valueize, _q110))
15487 : : {
15488 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
15489 : 0 : switch (gimple_assign_rhs_code (_a7))
15490 : : {
15491 : 0 : case PLUS_EXPR:
15492 : 0 : {
15493 : 0 : tree _q120 = gimple_assign_rhs1 (_a7);
15494 : 0 : _q120 = do_valueize (valueize, _q120);
15495 : 0 : tree _q121 = gimple_assign_rhs2 (_a7);
15496 : 0 : _q121 = do_valueize (valueize, _q121);
15497 : 0 : if (tree_swap_operands_p (_q120, _q121))
15498 : 0 : std::swap (_q120, _q121);
15499 : 0 : {
15500 : 0 : tree _q120_pops[1];
15501 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
15502 : : {
15503 : 0 : tree _q130 = _q120_pops[0];
15504 : 0 : if ((_q130 == _q41 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q41, 0) && types_match (_q130, _q41)))
15505 : : {
15506 : 0 : switch (TREE_CODE (_q121))
15507 : : {
15508 : 0 : case INTEGER_CST:
15509 : 0 : {
15510 : 0 : if (integer_zerop (_q81))
15511 : : {
15512 : 0 : {
15513 : 0 : tree _p1_pops[1];
15514 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
15515 : : {
15516 : 0 : tree _q170 = _p1_pops[0];
15517 : 0 : if ((_q170 == _q41 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q41, 0) && types_match (_q170, _q41)))
15518 : : {
15519 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
15520 : : {
15521 : 0 : {
15522 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q121, _q91, _q40 };
15523 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
15524 : : )
15525 : : {
15526 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
15527 : : )
15528 : : {
15529 : 0 : {
15530 : 0 : res_ops[0] = captures[0];
15531 : 0 : res_ops[1] = captures[1];
15532 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
15533 : 0 : return true;
15534 : : }
15535 : : }
15536 : : }
15537 : : }
15538 : : }
15539 : : }
15540 : : }
15541 : : }
15542 : : }
15543 : : break;
15544 : : }
15545 : : default:;
15546 : : }
15547 : : }
15548 : : }
15549 : : }
15550 : 0 : break;
15551 : : }
15552 : : default:;
15553 : : }
15554 : : }
15555 : : break;
15556 : : default:;
15557 : : }
15558 : : }
15559 : : }
15560 : : }
15561 : 3323440 : break;
15562 : : }
15563 : : default:;
15564 : : }
15565 : : }
15566 : : break;
15567 : : default:;
15568 : : }
15569 : : break;
15570 : : }
15571 : : default:;
15572 : : }
15573 : : }
15574 : : break;
15575 : : default:;
15576 : : }
15577 : : }
15578 : : break;
15579 : : }
15580 : : default:;
15581 : : }
15582 : 3323440 : break;
15583 : : }
15584 : : default:;
15585 : : }
15586 : : }
15587 : : break;
15588 : : default:;
15589 : : }
15590 : : break;
15591 : : }
15592 : 0 : case BIT_NOT_EXPR:
15593 : 0 : {
15594 : 0 : tree _q30 = gimple_assign_rhs1 (_a3);
15595 : 0 : _q30 = do_valueize (valueize, _q30);
15596 : 0 : switch (TREE_CODE (_q30))
15597 : : {
15598 : 0 : case SSA_NAME:
15599 : 0 : if (gimple *_d4 = get_def (valueize, _q30))
15600 : : {
15601 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
15602 : 0 : switch (gimple_assign_rhs_code (_a4))
15603 : : {
15604 : 0 : case LT_EXPR:
15605 : 0 : {
15606 : 0 : tree _q40 = gimple_assign_rhs1 (_a4);
15607 : 0 : _q40 = do_valueize (valueize, _q40);
15608 : 0 : tree _q41 = gimple_assign_rhs2 (_a4);
15609 : 0 : _q41 = do_valueize (valueize, _q41);
15610 : 0 : switch (TREE_CODE (_q40))
15611 : : {
15612 : 0 : case SSA_NAME:
15613 : 0 : if (gimple *_d5 = get_def (valueize, _q40))
15614 : : {
15615 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
15616 : 0 : switch (gimple_assign_rhs_code (_a5))
15617 : : {
15618 : 0 : case BIT_XOR_EXPR:
15619 : 0 : {
15620 : 0 : tree _q50 = gimple_assign_rhs1 (_a5);
15621 : 0 : _q50 = do_valueize (valueize, _q50);
15622 : 0 : tree _q51 = gimple_assign_rhs2 (_a5);
15623 : 0 : _q51 = do_valueize (valueize, _q51);
15624 : 0 : if (tree_swap_operands_p (_q50, _q51))
15625 : 0 : std::swap (_q50, _q51);
15626 : 0 : if (integer_zerop (_q41))
15627 : : {
15628 : 0 : switch (TREE_CODE (_q21))
15629 : : {
15630 : 0 : case SSA_NAME:
15631 : 0 : if (gimple *_d6 = get_def (valueize, _q21))
15632 : : {
15633 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
15634 : 0 : switch (gimple_assign_rhs_code (_a6))
15635 : : {
15636 : 0 : case LT_EXPR:
15637 : 0 : {
15638 : 0 : tree _q90 = gimple_assign_rhs1 (_a6);
15639 : 0 : _q90 = do_valueize (valueize, _q90);
15640 : 0 : tree _q91 = gimple_assign_rhs2 (_a6);
15641 : 0 : _q91 = do_valueize (valueize, _q91);
15642 : 0 : switch (TREE_CODE (_q90))
15643 : : {
15644 : 0 : case SSA_NAME:
15645 : 0 : if (gimple *_d7 = get_def (valueize, _q90))
15646 : : {
15647 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
15648 : 0 : switch (gimple_assign_rhs_code (_a7))
15649 : : {
15650 : 0 : case BIT_XOR_EXPR:
15651 : 0 : {
15652 : 0 : tree _q100 = gimple_assign_rhs1 (_a7);
15653 : 0 : _q100 = do_valueize (valueize, _q100);
15654 : 0 : tree _q101 = gimple_assign_rhs2 (_a7);
15655 : 0 : _q101 = do_valueize (valueize, _q101);
15656 : 0 : if (tree_swap_operands_p (_q100, _q101))
15657 : 0 : std::swap (_q100, _q101);
15658 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
15659 : : {
15660 : 0 : {
15661 : 0 : tree _q101_pops[1];
15662 : 0 : if (gimple_nop_convert (_q101, _q101_pops, valueize))
15663 : : {
15664 : 0 : tree _q120 = _q101_pops[0];
15665 : 0 : switch (TREE_CODE (_q120))
15666 : : {
15667 : 0 : case SSA_NAME:
15668 : 0 : if (gimple *_d8 = get_def (valueize, _q120))
15669 : : {
15670 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
15671 : 0 : switch (gimple_assign_rhs_code (_a8))
15672 : : {
15673 : 0 : case PLUS_EXPR:
15674 : 0 : {
15675 : 0 : tree _q130 = gimple_assign_rhs1 (_a8);
15676 : 0 : _q130 = do_valueize (valueize, _q130);
15677 : 0 : tree _q131 = gimple_assign_rhs2 (_a8);
15678 : 0 : _q131 = do_valueize (valueize, _q131);
15679 : 0 : if (tree_swap_operands_p (_q130, _q131))
15680 : 0 : std::swap (_q130, _q131);
15681 : 0 : {
15682 : 0 : tree _q130_pops[1];
15683 : 0 : if (gimple_nop_convert (_q130, _q130_pops, valueize))
15684 : : {
15685 : 0 : tree _q140 = _q130_pops[0];
15686 : 0 : if ((_q140 == _q50 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q50, 0) && types_match (_q140, _q50)))
15687 : : {
15688 : 0 : {
15689 : 0 : tree _q131_pops[1];
15690 : 0 : if (gimple_nop_convert (_q131, _q131_pops, valueize))
15691 : : {
15692 : 0 : tree _q160 = _q131_pops[0];
15693 : 0 : if ((_q160 == _q51 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q51, 0) && types_match (_q160, _q51)))
15694 : : {
15695 : 0 : if (integer_zerop (_q91))
15696 : : {
15697 : 0 : {
15698 : 0 : tree _p1_pops[1];
15699 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
15700 : : {
15701 : 0 : tree _q190 = _p1_pops[0];
15702 : 0 : if ((_q190 == _q50 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q50, 0) && types_match (_q190, _q50)))
15703 : : {
15704 : 0 : if ((_p2 == _q101 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q101, 0) && types_match (_p2, _q101)))
15705 : : {
15706 : 0 : {
15707 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q101 };
15708 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
15709 : : )
15710 : : {
15711 : 0 : {
15712 : 0 : res_ops[0] = captures[0];
15713 : 0 : res_ops[1] = captures[1];
15714 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
15715 : 0 : return true;
15716 : : }
15717 : : }
15718 : : }
15719 : : }
15720 : : }
15721 : : }
15722 : : }
15723 : : }
15724 : : }
15725 : : }
15726 : : }
15727 : : }
15728 : : }
15729 : : }
15730 : 0 : break;
15731 : : }
15732 : : default:;
15733 : : }
15734 : : }
15735 : : break;
15736 : : default:;
15737 : : }
15738 : : }
15739 : : }
15740 : : }
15741 : 0 : if ((_q100 == _q51 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q51, 0) && types_match (_q100, _q51)))
15742 : : {
15743 : 0 : {
15744 : 0 : tree _q101_pops[1];
15745 : 0 : if (gimple_nop_convert (_q101, _q101_pops, valueize))
15746 : : {
15747 : 0 : tree _q120 = _q101_pops[0];
15748 : 0 : switch (TREE_CODE (_q120))
15749 : : {
15750 : 0 : case SSA_NAME:
15751 : 0 : if (gimple *_d8 = get_def (valueize, _q120))
15752 : : {
15753 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
15754 : 0 : switch (gimple_assign_rhs_code (_a8))
15755 : : {
15756 : 0 : case PLUS_EXPR:
15757 : 0 : {
15758 : 0 : tree _q130 = gimple_assign_rhs1 (_a8);
15759 : 0 : _q130 = do_valueize (valueize, _q130);
15760 : 0 : tree _q131 = gimple_assign_rhs2 (_a8);
15761 : 0 : _q131 = do_valueize (valueize, _q131);
15762 : 0 : if (tree_swap_operands_p (_q130, _q131))
15763 : 0 : std::swap (_q130, _q131);
15764 : 0 : {
15765 : 0 : tree _q130_pops[1];
15766 : 0 : if (gimple_nop_convert (_q130, _q130_pops, valueize))
15767 : : {
15768 : 0 : tree _q140 = _q130_pops[0];
15769 : 0 : if ((_q140 == _q51 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q51, 0) && types_match (_q140, _q51)))
15770 : : {
15771 : 0 : {
15772 : 0 : tree _q131_pops[1];
15773 : 0 : if (gimple_nop_convert (_q131, _q131_pops, valueize))
15774 : : {
15775 : 0 : tree _q160 = _q131_pops[0];
15776 : 0 : if ((_q160 == _q50 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q50, 0) && types_match (_q160, _q50)))
15777 : : {
15778 : 0 : if (integer_zerop (_q91))
15779 : : {
15780 : 0 : {
15781 : 0 : tree _p1_pops[1];
15782 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
15783 : : {
15784 : 0 : tree _q190 = _p1_pops[0];
15785 : 0 : if ((_q190 == _q51 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q51, 0) && types_match (_q190, _q51)))
15786 : : {
15787 : 0 : if ((_p2 == _q101 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q101, 0) && types_match (_p2, _q101)))
15788 : : {
15789 : 0 : {
15790 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q101 };
15791 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
15792 : : )
15793 : : {
15794 : 0 : {
15795 : 0 : res_ops[0] = captures[0];
15796 : 0 : res_ops[1] = captures[1];
15797 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
15798 : 0 : return true;
15799 : : }
15800 : : }
15801 : : }
15802 : : }
15803 : : }
15804 : : }
15805 : : }
15806 : : }
15807 : : }
15808 : : }
15809 : : }
15810 : : }
15811 : : }
15812 : : }
15813 : 0 : break;
15814 : : }
15815 : : default:;
15816 : : }
15817 : : }
15818 : : break;
15819 : : default:;
15820 : : }
15821 : : }
15822 : : }
15823 : : }
15824 : 3323440 : break;
15825 : : }
15826 : : default:;
15827 : : }
15828 : : }
15829 : : break;
15830 : : default:;
15831 : : }
15832 : : break;
15833 : : }
15834 : : default:;
15835 : : }
15836 : : }
15837 : : break;
15838 : : default:;
15839 : : }
15840 : : }
15841 : 3323440 : break;
15842 : : }
15843 : : default:;
15844 : : }
15845 : : }
15846 : : break;
15847 : : default:;
15848 : : }
15849 : : break;
15850 : : }
15851 : : default:;
15852 : : }
15853 : : }
15854 : : break;
15855 : : default:;
15856 : : }
15857 : : break;
15858 : : }
15859 : : default:;
15860 : : }
15861 : : }
15862 : : break;
15863 : : default:;
15864 : : }
15865 : 3323440 : break;
15866 : : }
15867 : 0 : case NE_EXPR:
15868 : 0 : {
15869 : 0 : tree _q20 = gimple_assign_rhs1 (_a2);
15870 : 0 : _q20 = do_valueize (valueize, _q20);
15871 : 0 : tree _q21 = gimple_assign_rhs2 (_a2);
15872 : 0 : _q21 = do_valueize (valueize, _q21);
15873 : 0 : if (tree_swap_operands_p (_q20, _q21))
15874 : 0 : std::swap (_q20, _q21);
15875 : 0 : switch (TREE_CODE (_q20))
15876 : : {
15877 : 0 : case SSA_NAME:
15878 : 0 : if (gimple *_d3 = get_def (valueize, _q20))
15879 : : {
15880 : 0 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
15881 : 0 : switch (gimple_assign_rhs_code (_a3))
15882 : : {
15883 : 0 : case IMAGPART_EXPR:
15884 : 0 : {
15885 : 0 : tree _q30 = TREE_OPERAND (gimple_assign_rhs1 (_a3), 0);
15886 : 0 : if ((TREE_CODE (_q30) == SSA_NAME
15887 : 0 : || is_gimple_min_invariant (_q30)))
15888 : : {
15889 : 0 : _q30 = do_valueize (valueize, _q30);
15890 : 0 : switch (TREE_CODE (_q30))
15891 : : {
15892 : 0 : case SSA_NAME:
15893 : 0 : if (gimple *_d4 = get_def (valueize, _q30))
15894 : : {
15895 : 0 : if (gcall *_c4 = dyn_cast <gcall *> (_d4))
15896 : 0 : switch (gimple_call_combined_fn (_c4))
15897 : : {
15898 : 0 : case CFN_ADD_OVERFLOW:
15899 : 0 : if (gimple_call_num_args (_c4) == 2)
15900 : : {
15901 : 0 : tree _q40 = gimple_call_arg (_c4, 0);
15902 : 0 : _q40 = do_valueize (valueize, _q40);
15903 : 0 : tree _q41 = gimple_call_arg (_c4, 1);
15904 : 0 : _q41 = do_valueize (valueize, _q41);
15905 : 0 : if (tree_swap_operands_p (_q40, _q41))
15906 : 0 : std::swap (_q40, _q41);
15907 : 0 : if (integer_zerop (_q21))
15908 : : {
15909 : 0 : {
15910 : 0 : tree _p1_pops[1];
15911 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
15912 : : {
15913 : 0 : tree _q80 = _p1_pops[0];
15914 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
15915 : : {
15916 : 0 : switch (TREE_CODE (_p2))
15917 : : {
15918 : 0 : case SSA_NAME:
15919 : 0 : if (gimple *_d5 = get_def (valueize, _p2))
15920 : : {
15921 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
15922 : 0 : switch (gimple_assign_rhs_code (_a5))
15923 : : {
15924 : 0 : case REALPART_EXPR:
15925 : 0 : {
15926 : 0 : tree _q100 = TREE_OPERAND (gimple_assign_rhs1 (_a5), 0);
15927 : 0 : if ((TREE_CODE (_q100) == SSA_NAME
15928 : 0 : || is_gimple_min_invariant (_q100)))
15929 : : {
15930 : 0 : _q100 = do_valueize (valueize, _q100);
15931 : 0 : if ((_q100 == _q30 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q30, 0) && types_match (_q100, _q30)))
15932 : : {
15933 : 0 : {
15934 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q30 };
15935 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
15936 : : )
15937 : : {
15938 : 0 : {
15939 : 0 : res_ops[0] = captures[0];
15940 : 0 : res_ops[1] = captures[1];
15941 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 80, __FILE__, __LINE__, false);
15942 : 0 : return true;
15943 : : }
15944 : : }
15945 : : }
15946 : : }
15947 : : }
15948 : : break;
15949 : : }
15950 : : default:;
15951 : : }
15952 : : }
15953 : : break;
15954 : : default:;
15955 : : }
15956 : : }
15957 : 0 : if ((_q80 == _q41 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q41, 0) && types_match (_q80, _q41)))
15958 : : {
15959 : 0 : switch (TREE_CODE (_p2))
15960 : : {
15961 : 0 : case SSA_NAME:
15962 : 0 : if (gimple *_d5 = get_def (valueize, _p2))
15963 : : {
15964 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
15965 : 0 : switch (gimple_assign_rhs_code (_a5))
15966 : : {
15967 : 0 : case REALPART_EXPR:
15968 : 0 : {
15969 : 0 : tree _q100 = TREE_OPERAND (gimple_assign_rhs1 (_a5), 0);
15970 : 0 : if ((TREE_CODE (_q100) == SSA_NAME
15971 : 0 : || is_gimple_min_invariant (_q100)))
15972 : : {
15973 : 0 : _q100 = do_valueize (valueize, _q100);
15974 : 0 : if ((_q100 == _q30 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q30, 0) && types_match (_q100, _q30)))
15975 : : {
15976 : 0 : {
15977 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q30 };
15978 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
15979 : : )
15980 : : {
15981 : 0 : {
15982 : 0 : res_ops[0] = captures[0];
15983 : 0 : res_ops[1] = captures[1];
15984 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 80, __FILE__, __LINE__, false);
15985 : 0 : return true;
15986 : : }
15987 : : }
15988 : : }
15989 : : }
15990 : : }
15991 : : break;
15992 : : }
15993 : : default:;
15994 : : }
15995 : : }
15996 : : break;
15997 : : default:;
15998 : : }
15999 : : }
16000 : : }
16001 : : }
16002 : : }
16003 : : }
16004 : : break;
16005 : : default:;
16006 : : }
16007 : : }
16008 : : break;
16009 : : default:;
16010 : : }
16011 : : }
16012 : : break;
16013 : : }
16014 : : default:;
16015 : : }
16016 : : }
16017 : : break;
16018 : : default:;
16019 : : }
16020 : 3323440 : break;
16021 : : }
16022 : : default:;
16023 : : }
16024 : : }
16025 : : break;
16026 : 42457 : case LT_EXPR:
16027 : 42457 : {
16028 : 42457 : tree _q20 = TREE_OPERAND (_p0, 0);
16029 : 42457 : if ((TREE_CODE (_q20) == SSA_NAME
16030 : 42457 : || is_gimple_min_invariant (_q20)))
16031 : : {
16032 : 42457 : _q20 = do_valueize (valueize, _q20);
16033 : 42457 : tree _q21 = TREE_OPERAND (_p0, 1);
16034 : 42457 : if ((TREE_CODE (_q21) == SSA_NAME
16035 : 42457 : || is_gimple_min_invariant (_q21)))
16036 : : {
16037 : 42457 : _q21 = do_valueize (valueize, _q21);
16038 : 42457 : switch (TREE_CODE (_q20))
16039 : : {
16040 : 42457 : case SSA_NAME:
16041 : 42457 : if (gimple *_d2 = get_def (valueize, _q20))
16042 : : {
16043 : 42457 : if (gassign *_a2 = dyn_cast <gassign *> (_d2))
16044 : 34435 : switch (gimple_assign_rhs_code (_a2))
16045 : : {
16046 : 34 : case BIT_AND_EXPR:
16047 : 34 : {
16048 : 34 : tree _q30 = gimple_assign_rhs1 (_a2);
16049 : 34 : _q30 = do_valueize (valueize, _q30);
16050 : 34 : tree _q31 = gimple_assign_rhs2 (_a2);
16051 : 34 : _q31 = do_valueize (valueize, _q31);
16052 : 34 : if (tree_swap_operands_p (_q30, _q31))
16053 : 0 : std::swap (_q30, _q31);
16054 : 34 : switch (TREE_CODE (_q30))
16055 : : {
16056 : 34 : case SSA_NAME:
16057 : 34 : if (gimple *_d3 = get_def (valueize, _q30))
16058 : : {
16059 : 34 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
16060 : 43 : switch (gimple_assign_rhs_code (_a3))
16061 : : {
16062 : 6 : case BIT_XOR_EXPR:
16063 : 6 : {
16064 : 6 : tree _q40 = gimple_assign_rhs1 (_a3);
16065 : 6 : _q40 = do_valueize (valueize, _q40);
16066 : 6 : tree _q41 = gimple_assign_rhs2 (_a3);
16067 : 6 : _q41 = do_valueize (valueize, _q41);
16068 : 6 : if (tree_swap_operands_p (_q40, _q41))
16069 : 0 : std::swap (_q40, _q41);
16070 : 6 : {
16071 : 6 : tree _q41_pops[1];
16072 : 6 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
16073 : : {
16074 : 2 : tree _q60 = _q41_pops[0];
16075 : 2 : switch (TREE_CODE (_q60))
16076 : : {
16077 : 2 : case SSA_NAME:
16078 : 2 : if (gimple *_d4 = get_def (valueize, _q60))
16079 : : {
16080 : 2 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
16081 : 2 : switch (gimple_assign_rhs_code (_a4))
16082 : : {
16083 : 2 : case PLUS_EXPR:
16084 : 2 : {
16085 : 2 : tree _q70 = gimple_assign_rhs1 (_a4);
16086 : 2 : _q70 = do_valueize (valueize, _q70);
16087 : 2 : tree _q71 = gimple_assign_rhs2 (_a4);
16088 : 2 : _q71 = do_valueize (valueize, _q71);
16089 : 2 : if (tree_swap_operands_p (_q70, _q71))
16090 : 0 : std::swap (_q70, _q71);
16091 : 2 : {
16092 : 2 : tree _q70_pops[1];
16093 : 2 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
16094 : : {
16095 : 2 : tree _q80 = _q70_pops[0];
16096 : 2 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
16097 : : {
16098 : 2 : {
16099 : 2 : tree _q71_pops[1];
16100 : 2 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
16101 : : {
16102 : 2 : tree _q100 = _q71_pops[0];
16103 : 2 : switch (TREE_CODE (_q31))
16104 : : {
16105 : 2 : case SSA_NAME:
16106 : 2 : if (gimple *_d5 = get_def (valueize, _q31))
16107 : : {
16108 : 2 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
16109 : 2 : switch (gimple_assign_rhs_code (_a5))
16110 : : {
16111 : 2 : case BIT_NOT_EXPR:
16112 : 2 : {
16113 : 2 : tree _q120 = gimple_assign_rhs1 (_a5);
16114 : 2 : _q120 = do_valueize (valueize, _q120);
16115 : 2 : switch (TREE_CODE (_q120))
16116 : : {
16117 : 2 : case SSA_NAME:
16118 : 2 : if (gimple *_d6 = get_def (valueize, _q120))
16119 : : {
16120 : 2 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
16121 : 2 : switch (gimple_assign_rhs_code (_a6))
16122 : : {
16123 : 2 : case BIT_XOR_EXPR:
16124 : 2 : {
16125 : 2 : tree _q130 = gimple_assign_rhs1 (_a6);
16126 : 2 : _q130 = do_valueize (valueize, _q130);
16127 : 2 : tree _q131 = gimple_assign_rhs2 (_a6);
16128 : 2 : _q131 = do_valueize (valueize, _q131);
16129 : 2 : if (tree_swap_operands_p (_q130, _q131))
16130 : 0 : std::swap (_q130, _q131);
16131 : 2 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
16132 : : {
16133 : 2 : if ((_q131 == _q100 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q100, 0) && types_match (_q131, _q100)))
16134 : : {
16135 : 2 : if (integer_zerop (_q21))
16136 : : {
16137 : 2 : {
16138 : 2 : tree _p1_pops[1];
16139 : 2 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
16140 : : {
16141 : 2 : tree _q170 = _p1_pops[0];
16142 : 2 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
16143 : : {
16144 : 2 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
16145 : : {
16146 : 2 : {
16147 : 2 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
16148 : 2 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
16149 : : )
16150 : : {
16151 : 2 : {
16152 : 2 : res_ops[0] = captures[0];
16153 : 2 : res_ops[1] = captures[1];
16154 : 2 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
16155 : 2 : return true;
16156 : : }
16157 : : }
16158 : : }
16159 : : }
16160 : : }
16161 : : }
16162 : : }
16163 : : }
16164 : : }
16165 : : }
16166 : 0 : if ((_q130 == _q100 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q100, 0) && types_match (_q130, _q100)))
16167 : : {
16168 : 0 : if ((_q131 == _q40 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q40, 0) && types_match (_q131, _q40)))
16169 : : {
16170 : 0 : if (integer_zerop (_q21))
16171 : : {
16172 : 0 : {
16173 : 0 : tree _p1_pops[1];
16174 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
16175 : : {
16176 : 0 : tree _q170 = _p1_pops[0];
16177 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
16178 : : {
16179 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
16180 : : {
16181 : 0 : {
16182 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
16183 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
16184 : : )
16185 : : {
16186 : 0 : {
16187 : 0 : res_ops[0] = captures[0];
16188 : 0 : res_ops[1] = captures[1];
16189 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
16190 : 0 : return true;
16191 : : }
16192 : : }
16193 : : }
16194 : : }
16195 : : }
16196 : : }
16197 : : }
16198 : : }
16199 : : }
16200 : : }
16201 : 0 : break;
16202 : : }
16203 : : default:;
16204 : : }
16205 : : }
16206 : : break;
16207 : : default:;
16208 : : }
16209 : : break;
16210 : : }
16211 : : default:;
16212 : : }
16213 : : }
16214 : : break;
16215 : : default:;
16216 : : }
16217 : : }
16218 : : }
16219 : : }
16220 : : }
16221 : : }
16222 : 0 : break;
16223 : : }
16224 : : default:;
16225 : : }
16226 : : }
16227 : : break;
16228 : : default:;
16229 : : }
16230 : : }
16231 : : }
16232 : 4 : {
16233 : 4 : tree _q40_pops[1];
16234 : 4 : if (gimple_nop_convert (_q40, _q40_pops, valueize))
16235 : : {
16236 : 0 : tree _q50 = _q40_pops[0];
16237 : 0 : switch (TREE_CODE (_q50))
16238 : : {
16239 : 0 : case SSA_NAME:
16240 : 0 : if (gimple *_d4 = get_def (valueize, _q50))
16241 : : {
16242 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
16243 : 0 : switch (gimple_assign_rhs_code (_a4))
16244 : : {
16245 : 0 : case PLUS_EXPR:
16246 : 0 : {
16247 : 0 : tree _q60 = gimple_assign_rhs1 (_a4);
16248 : 0 : _q60 = do_valueize (valueize, _q60);
16249 : 0 : tree _q61 = gimple_assign_rhs2 (_a4);
16250 : 0 : _q61 = do_valueize (valueize, _q61);
16251 : 0 : if (tree_swap_operands_p (_q60, _q61))
16252 : 0 : std::swap (_q60, _q61);
16253 : 0 : {
16254 : 0 : tree _q60_pops[1];
16255 : 0 : if (gimple_nop_convert (_q60, _q60_pops, valueize))
16256 : : {
16257 : 0 : tree _q70 = _q60_pops[0];
16258 : 0 : switch (TREE_CODE (_q61))
16259 : : {
16260 : 0 : case INTEGER_CST:
16261 : 0 : {
16262 : 0 : if ((_q41 == _q70 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q70, 0) && types_match (_q41, _q70)))
16263 : : {
16264 : 0 : switch (TREE_CODE (_q31))
16265 : : {
16266 : 0 : case SSA_NAME:
16267 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
16268 : : {
16269 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
16270 : 0 : switch (gimple_assign_rhs_code (_a5))
16271 : : {
16272 : 0 : case BIT_XOR_EXPR:
16273 : 0 : {
16274 : 0 : tree _q110 = gimple_assign_rhs1 (_a5);
16275 : 0 : _q110 = do_valueize (valueize, _q110);
16276 : 0 : tree _q111 = gimple_assign_rhs2 (_a5);
16277 : 0 : _q111 = do_valueize (valueize, _q111);
16278 : 0 : if (tree_swap_operands_p (_q110, _q111))
16279 : 0 : std::swap (_q110, _q111);
16280 : 0 : if ((_q110 == _q70 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q70, 0) && types_match (_q110, _q70)))
16281 : : {
16282 : 0 : switch (TREE_CODE (_q111))
16283 : : {
16284 : 0 : case INTEGER_CST:
16285 : 0 : {
16286 : 0 : if (integer_zerop (_q21))
16287 : : {
16288 : 0 : {
16289 : 0 : tree _p1_pops[1];
16290 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
16291 : : {
16292 : 0 : tree _q150 = _p1_pops[0];
16293 : 0 : if ((_q150 == _q70 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q70, 0) && types_match (_q150, _q70)))
16294 : : {
16295 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
16296 : : {
16297 : 0 : {
16298 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q70, _q61, _q40, _q111 };
16299 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
16300 : : )
16301 : : {
16302 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
16303 : : )
16304 : : {
16305 : 0 : {
16306 : 0 : res_ops[0] = captures[0];
16307 : 0 : res_ops[1] = captures[1];
16308 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
16309 : 0 : return true;
16310 : : }
16311 : : }
16312 : : }
16313 : : }
16314 : : }
16315 : : }
16316 : : }
16317 : : }
16318 : : }
16319 : : break;
16320 : : }
16321 : : default:;
16322 : : }
16323 : : }
16324 : 0 : switch (TREE_CODE (_q110))
16325 : : {
16326 : 0 : case INTEGER_CST:
16327 : 0 : {
16328 : 0 : if ((_q111 == _q70 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q70, 0) && types_match (_q111, _q70)))
16329 : : {
16330 : 0 : if (integer_zerop (_q21))
16331 : : {
16332 : 0 : {
16333 : 0 : tree _p1_pops[1];
16334 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
16335 : : {
16336 : 0 : tree _q150 = _p1_pops[0];
16337 : 0 : if ((_q150 == _q70 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q70, 0) && types_match (_q150, _q70)))
16338 : : {
16339 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
16340 : : {
16341 : 0 : {
16342 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q70, _q61, _q40, _q110 };
16343 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
16344 : : )
16345 : : {
16346 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
16347 : : )
16348 : : {
16349 : 0 : {
16350 : 0 : res_ops[0] = captures[0];
16351 : 0 : res_ops[1] = captures[1];
16352 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
16353 : 0 : return true;
16354 : : }
16355 : : }
16356 : : }
16357 : : }
16358 : : }
16359 : : }
16360 : : }
16361 : : }
16362 : : }
16363 : : }
16364 : : break;
16365 : : }
16366 : : default:;
16367 : : }
16368 : 0 : break;
16369 : : }
16370 : : default:;
16371 : : }
16372 : : }
16373 : : break;
16374 : : default:;
16375 : : }
16376 : : }
16377 : : break;
16378 : : }
16379 : 0 : default:;
16380 : : }
16381 : 0 : {
16382 : 0 : tree _q61_pops[1];
16383 : 0 : if (gimple_nop_convert (_q61, _q61_pops, valueize))
16384 : : {
16385 : 0 : tree _q90 = _q61_pops[0];
16386 : 0 : if ((_q41 == _q70 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q70, 0) && types_match (_q41, _q70)))
16387 : : {
16388 : 0 : switch (TREE_CODE (_q31))
16389 : : {
16390 : 0 : case SSA_NAME:
16391 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
16392 : : {
16393 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
16394 : 0 : switch (gimple_assign_rhs_code (_a5))
16395 : : {
16396 : 0 : case BIT_NOT_EXPR:
16397 : 0 : {
16398 : 0 : tree _q120 = gimple_assign_rhs1 (_a5);
16399 : 0 : _q120 = do_valueize (valueize, _q120);
16400 : 0 : switch (TREE_CODE (_q120))
16401 : : {
16402 : 0 : case SSA_NAME:
16403 : 0 : if (gimple *_d6 = get_def (valueize, _q120))
16404 : : {
16405 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
16406 : 0 : switch (gimple_assign_rhs_code (_a6))
16407 : : {
16408 : 0 : case BIT_XOR_EXPR:
16409 : 0 : {
16410 : 0 : tree _q130 = gimple_assign_rhs1 (_a6);
16411 : 0 : _q130 = do_valueize (valueize, _q130);
16412 : 0 : tree _q131 = gimple_assign_rhs2 (_a6);
16413 : 0 : _q131 = do_valueize (valueize, _q131);
16414 : 0 : if (tree_swap_operands_p (_q130, _q131))
16415 : 0 : std::swap (_q130, _q131);
16416 : 0 : if ((_q130 == _q70 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q70, 0) && types_match (_q130, _q70)))
16417 : : {
16418 : 0 : if ((_q131 == _q90 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q90, 0) && types_match (_q131, _q90)))
16419 : : {
16420 : 0 : if (integer_zerop (_q21))
16421 : : {
16422 : 0 : {
16423 : 0 : tree _p1_pops[1];
16424 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
16425 : : {
16426 : 0 : tree _q170 = _p1_pops[0];
16427 : 0 : if ((_q170 == _q70 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q70, 0) && types_match (_q170, _q70)))
16428 : : {
16429 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
16430 : : {
16431 : 0 : {
16432 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q90, _q40 };
16433 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
16434 : : )
16435 : : {
16436 : 0 : {
16437 : 0 : res_ops[0] = captures[0];
16438 : 0 : res_ops[1] = captures[1];
16439 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
16440 : 0 : return true;
16441 : : }
16442 : : }
16443 : : }
16444 : : }
16445 : : }
16446 : : }
16447 : : }
16448 : : }
16449 : : }
16450 : : }
16451 : 0 : if ((_q130 == _q90 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q90, 0) && types_match (_q130, _q90)))
16452 : : {
16453 : 0 : if ((_q131 == _q70 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q70, 0) && types_match (_q131, _q70)))
16454 : : {
16455 : 0 : if (integer_zerop (_q21))
16456 : : {
16457 : 0 : {
16458 : 0 : tree _p1_pops[1];
16459 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
16460 : : {
16461 : 0 : tree _q170 = _p1_pops[0];
16462 : 0 : if ((_q170 == _q70 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q70, 0) && types_match (_q170, _q70)))
16463 : : {
16464 : 0 : if ((_p2 == _q40 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q40, 0) && types_match (_p2, _q40)))
16465 : : {
16466 : 0 : {
16467 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q90, _q40 };
16468 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
16469 : : )
16470 : : {
16471 : 0 : {
16472 : 0 : res_ops[0] = captures[0];
16473 : 0 : res_ops[1] = captures[1];
16474 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
16475 : 0 : return true;
16476 : : }
16477 : : }
16478 : : }
16479 : : }
16480 : : }
16481 : : }
16482 : : }
16483 : : }
16484 : : }
16485 : : }
16486 : 0 : break;
16487 : : }
16488 : : default:;
16489 : : }
16490 : : }
16491 : : break;
16492 : : default:;
16493 : : }
16494 : : break;
16495 : : }
16496 : : default:;
16497 : : }
16498 : : }
16499 : : break;
16500 : : default:;
16501 : : }
16502 : : }
16503 : : }
16504 : : }
16505 : : }
16506 : : }
16507 : 0 : break;
16508 : : }
16509 : : default:;
16510 : : }
16511 : : }
16512 : : break;
16513 : : default:;
16514 : : }
16515 : : }
16516 : : }
16517 : 4 : switch (TREE_CODE (_q41))
16518 : : {
16519 : 0 : case INTEGER_CST:
16520 : 0 : {
16521 : 0 : switch (TREE_CODE (_q31))
16522 : : {
16523 : 0 : case SSA_NAME:
16524 : 0 : if (gimple *_d4 = get_def (valueize, _q31))
16525 : : {
16526 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
16527 : 0 : switch (gimple_assign_rhs_code (_a4))
16528 : : {
16529 : 0 : case BIT_XOR_EXPR:
16530 : 0 : {
16531 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
16532 : 0 : _q70 = do_valueize (valueize, _q70);
16533 : 0 : tree _q71 = gimple_assign_rhs2 (_a4);
16534 : 0 : _q71 = do_valueize (valueize, _q71);
16535 : 0 : if (tree_swap_operands_p (_q70, _q71))
16536 : 0 : std::swap (_q70, _q71);
16537 : 0 : if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
16538 : : {
16539 : 0 : {
16540 : 0 : tree _q71_pops[1];
16541 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
16542 : : {
16543 : 0 : tree _q90 = _q71_pops[0];
16544 : 0 : switch (TREE_CODE (_q90))
16545 : : {
16546 : 0 : case SSA_NAME:
16547 : 0 : if (gimple *_d5 = get_def (valueize, _q90))
16548 : : {
16549 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
16550 : 0 : switch (gimple_assign_rhs_code (_a5))
16551 : : {
16552 : 0 : case PLUS_EXPR:
16553 : 0 : {
16554 : 0 : tree _q100 = gimple_assign_rhs1 (_a5);
16555 : 0 : _q100 = do_valueize (valueize, _q100);
16556 : 0 : tree _q101 = gimple_assign_rhs2 (_a5);
16557 : 0 : _q101 = do_valueize (valueize, _q101);
16558 : 0 : if (tree_swap_operands_p (_q100, _q101))
16559 : 0 : std::swap (_q100, _q101);
16560 : 0 : {
16561 : 0 : tree _q100_pops[1];
16562 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
16563 : : {
16564 : 0 : tree _q110 = _q100_pops[0];
16565 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
16566 : : {
16567 : 0 : switch (TREE_CODE (_q101))
16568 : : {
16569 : 0 : case INTEGER_CST:
16570 : 0 : {
16571 : 0 : if (integer_zerop (_q21))
16572 : : {
16573 : 0 : {
16574 : 0 : tree _p1_pops[1];
16575 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
16576 : : {
16577 : 0 : tree _q150 = _p1_pops[0];
16578 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
16579 : : {
16580 : 0 : if ((_p2 == _q71 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q71, 0) && types_match (_p2, _q71)))
16581 : : {
16582 : 0 : {
16583 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q101, _q71, _q41 };
16584 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
16585 : : )
16586 : : {
16587 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
16588 : : )
16589 : : {
16590 : 0 : {
16591 : 0 : res_ops[0] = captures[0];
16592 : 0 : res_ops[1] = captures[1];
16593 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
16594 : 0 : return true;
16595 : : }
16596 : : }
16597 : : }
16598 : : }
16599 : : }
16600 : : }
16601 : : }
16602 : : }
16603 : : }
16604 : : break;
16605 : : }
16606 : : default:;
16607 : : }
16608 : : }
16609 : : }
16610 : : }
16611 : 0 : break;
16612 : : }
16613 : : default:;
16614 : : }
16615 : : }
16616 : : break;
16617 : : default:;
16618 : : }
16619 : : }
16620 : : }
16621 : : }
16622 : 4 : break;
16623 : : }
16624 : : default:;
16625 : : }
16626 : : }
16627 : : break;
16628 : : default:;
16629 : : }
16630 : : break;
16631 : : }
16632 : 4 : default:;
16633 : : }
16634 : 4 : {
16635 : 4 : tree _q41_pops[1];
16636 : 4 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
16637 : : {
16638 : 0 : tree _q60 = _q41_pops[0];
16639 : 0 : switch (TREE_CODE (_q60))
16640 : : {
16641 : 0 : case SSA_NAME:
16642 : 0 : if (gimple *_d4 = get_def (valueize, _q60))
16643 : : {
16644 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
16645 : 0 : switch (gimple_assign_rhs_code (_a4))
16646 : : {
16647 : 0 : case PLUS_EXPR:
16648 : 0 : {
16649 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
16650 : 0 : _q70 = do_valueize (valueize, _q70);
16651 : 0 : tree _q71 = gimple_assign_rhs2 (_a4);
16652 : 0 : _q71 = do_valueize (valueize, _q71);
16653 : 0 : if (tree_swap_operands_p (_q70, _q71))
16654 : 0 : std::swap (_q70, _q71);
16655 : 0 : {
16656 : 0 : tree _q70_pops[1];
16657 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
16658 : : {
16659 : 0 : tree _q80 = _q70_pops[0];
16660 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
16661 : : {
16662 : 0 : switch (TREE_CODE (_q71))
16663 : : {
16664 : 0 : case INTEGER_CST:
16665 : 0 : {
16666 : 0 : switch (TREE_CODE (_q31))
16667 : : {
16668 : 0 : case SSA_NAME:
16669 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
16670 : : {
16671 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
16672 : 0 : switch (gimple_assign_rhs_code (_a5))
16673 : : {
16674 : 0 : case BIT_XOR_EXPR:
16675 : 0 : {
16676 : 0 : tree _q110 = gimple_assign_rhs1 (_a5);
16677 : 0 : _q110 = do_valueize (valueize, _q110);
16678 : 0 : tree _q111 = gimple_assign_rhs2 (_a5);
16679 : 0 : _q111 = do_valueize (valueize, _q111);
16680 : 0 : if (tree_swap_operands_p (_q110, _q111))
16681 : 0 : std::swap (_q110, _q111);
16682 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
16683 : : {
16684 : 0 : switch (TREE_CODE (_q111))
16685 : : {
16686 : 0 : case INTEGER_CST:
16687 : 0 : {
16688 : 0 : if (integer_zerop (_q21))
16689 : : {
16690 : 0 : {
16691 : 0 : tree _p1_pops[1];
16692 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
16693 : : {
16694 : 0 : tree _q150 = _p1_pops[0];
16695 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
16696 : : {
16697 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
16698 : : {
16699 : 0 : {
16700 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q111 };
16701 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
16702 : : )
16703 : : {
16704 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
16705 : : )
16706 : : {
16707 : 0 : {
16708 : 0 : res_ops[0] = captures[0];
16709 : 0 : res_ops[1] = captures[1];
16710 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
16711 : 0 : return true;
16712 : : }
16713 : : }
16714 : : }
16715 : : }
16716 : : }
16717 : : }
16718 : : }
16719 : : }
16720 : : }
16721 : : break;
16722 : : }
16723 : : default:;
16724 : : }
16725 : : }
16726 : 0 : switch (TREE_CODE (_q110))
16727 : : {
16728 : 0 : case INTEGER_CST:
16729 : 0 : {
16730 : 0 : if ((_q111 == _q40 && ! TREE_SIDE_EFFECTS (_q111)) || (operand_equal_p (_q111, _q40, 0) && types_match (_q111, _q40)))
16731 : : {
16732 : 0 : if (integer_zerop (_q21))
16733 : : {
16734 : 0 : {
16735 : 0 : tree _p1_pops[1];
16736 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
16737 : : {
16738 : 0 : tree _q150 = _p1_pops[0];
16739 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
16740 : : {
16741 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
16742 : : {
16743 : 0 : {
16744 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q110 };
16745 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
16746 : : )
16747 : : {
16748 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
16749 : : )
16750 : : {
16751 : 0 : {
16752 : 0 : res_ops[0] = captures[0];
16753 : 0 : res_ops[1] = captures[1];
16754 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
16755 : 0 : return true;
16756 : : }
16757 : : }
16758 : : }
16759 : : }
16760 : : }
16761 : : }
16762 : : }
16763 : : }
16764 : : }
16765 : : }
16766 : : break;
16767 : : }
16768 : : default:;
16769 : : }
16770 : 0 : break;
16771 : : }
16772 : : default:;
16773 : : }
16774 : : }
16775 : : break;
16776 : : default:;
16777 : : }
16778 : : break;
16779 : : }
16780 : : default:;
16781 : : }
16782 : : }
16783 : : }
16784 : : }
16785 : 0 : break;
16786 : : }
16787 : : default:;
16788 : : }
16789 : : }
16790 : : break;
16791 : : default:;
16792 : : }
16793 : : }
16794 : : }
16795 : 4 : switch (TREE_CODE (_q40))
16796 : : {
16797 : 0 : case INTEGER_CST:
16798 : 0 : {
16799 : 0 : switch (TREE_CODE (_q31))
16800 : : {
16801 : 0 : case SSA_NAME:
16802 : 0 : if (gimple *_d4 = get_def (valueize, _q31))
16803 : : {
16804 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
16805 : 0 : switch (gimple_assign_rhs_code (_a4))
16806 : : {
16807 : 0 : case BIT_XOR_EXPR:
16808 : 0 : {
16809 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
16810 : 0 : _q70 = do_valueize (valueize, _q70);
16811 : 0 : tree _q71 = gimple_assign_rhs2 (_a4);
16812 : 0 : _q71 = do_valueize (valueize, _q71);
16813 : 0 : if (tree_swap_operands_p (_q70, _q71))
16814 : 0 : std::swap (_q70, _q71);
16815 : 0 : if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
16816 : : {
16817 : 0 : {
16818 : 0 : tree _q71_pops[1];
16819 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
16820 : : {
16821 : 0 : tree _q90 = _q71_pops[0];
16822 : 0 : switch (TREE_CODE (_q90))
16823 : : {
16824 : 0 : case SSA_NAME:
16825 : 0 : if (gimple *_d5 = get_def (valueize, _q90))
16826 : : {
16827 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
16828 : 0 : switch (gimple_assign_rhs_code (_a5))
16829 : : {
16830 : 0 : case PLUS_EXPR:
16831 : 0 : {
16832 : 0 : tree _q100 = gimple_assign_rhs1 (_a5);
16833 : 0 : _q100 = do_valueize (valueize, _q100);
16834 : 0 : tree _q101 = gimple_assign_rhs2 (_a5);
16835 : 0 : _q101 = do_valueize (valueize, _q101);
16836 : 0 : if (tree_swap_operands_p (_q100, _q101))
16837 : 0 : std::swap (_q100, _q101);
16838 : 0 : {
16839 : 0 : tree _q100_pops[1];
16840 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
16841 : : {
16842 : 0 : tree _q110 = _q100_pops[0];
16843 : 0 : if ((_q110 == _q41 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q41, 0) && types_match (_q110, _q41)))
16844 : : {
16845 : 0 : switch (TREE_CODE (_q101))
16846 : : {
16847 : 0 : case INTEGER_CST:
16848 : 0 : {
16849 : 0 : if (integer_zerop (_q21))
16850 : : {
16851 : 0 : {
16852 : 0 : tree _p1_pops[1];
16853 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
16854 : : {
16855 : 0 : tree _q150 = _p1_pops[0];
16856 : 0 : if ((_q150 == _q41 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q41, 0) && types_match (_q150, _q41)))
16857 : : {
16858 : 0 : if ((_p2 == _q71 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q71, 0) && types_match (_p2, _q71)))
16859 : : {
16860 : 0 : {
16861 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q101, _q71, _q40 };
16862 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
16863 : : )
16864 : : {
16865 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
16866 : : )
16867 : : {
16868 : 0 : {
16869 : 0 : res_ops[0] = captures[0];
16870 : 0 : res_ops[1] = captures[1];
16871 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
16872 : 0 : return true;
16873 : : }
16874 : : }
16875 : : }
16876 : : }
16877 : : }
16878 : : }
16879 : : }
16880 : : }
16881 : : }
16882 : : break;
16883 : : }
16884 : : default:;
16885 : : }
16886 : : }
16887 : : }
16888 : : }
16889 : 0 : break;
16890 : : }
16891 : : default:;
16892 : : }
16893 : : }
16894 : : break;
16895 : : default:;
16896 : : }
16897 : : }
16898 : : }
16899 : : }
16900 : 0 : {
16901 : 0 : tree _q70_pops[1];
16902 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
16903 : : {
16904 : 0 : tree _q80 = _q70_pops[0];
16905 : 0 : switch (TREE_CODE (_q80))
16906 : : {
16907 : 0 : case SSA_NAME:
16908 : 0 : if (gimple *_d5 = get_def (valueize, _q80))
16909 : : {
16910 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
16911 : 0 : switch (gimple_assign_rhs_code (_a5))
16912 : : {
16913 : 0 : case PLUS_EXPR:
16914 : 0 : {
16915 : 0 : tree _q90 = gimple_assign_rhs1 (_a5);
16916 : 0 : _q90 = do_valueize (valueize, _q90);
16917 : 0 : tree _q91 = gimple_assign_rhs2 (_a5);
16918 : 0 : _q91 = do_valueize (valueize, _q91);
16919 : 0 : if (tree_swap_operands_p (_q90, _q91))
16920 : 0 : std::swap (_q90, _q91);
16921 : 0 : {
16922 : 0 : tree _q90_pops[1];
16923 : 0 : if (gimple_nop_convert (_q90, _q90_pops, valueize))
16924 : : {
16925 : 0 : tree _q100 = _q90_pops[0];
16926 : 0 : if ((_q100 == _q41 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q41, 0) && types_match (_q100, _q41)))
16927 : : {
16928 : 0 : switch (TREE_CODE (_q91))
16929 : : {
16930 : 0 : case INTEGER_CST:
16931 : 0 : {
16932 : 0 : if ((_q71 == _q41 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q41, 0) && types_match (_q71, _q41)))
16933 : : {
16934 : 0 : if (integer_zerop (_q21))
16935 : : {
16936 : 0 : {
16937 : 0 : tree _p1_pops[1];
16938 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
16939 : : {
16940 : 0 : tree _q150 = _p1_pops[0];
16941 : 0 : if ((_q150 == _q41 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q41, 0) && types_match (_q150, _q41)))
16942 : : {
16943 : 0 : if ((_p2 == _q70 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q70, 0) && types_match (_p2, _q70)))
16944 : : {
16945 : 0 : {
16946 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q91, _q70, _q40 };
16947 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
16948 : : )
16949 : : {
16950 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
16951 : : )
16952 : : {
16953 : 0 : {
16954 : 0 : res_ops[0] = captures[0];
16955 : 0 : res_ops[1] = captures[1];
16956 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
16957 : 0 : return true;
16958 : : }
16959 : : }
16960 : : }
16961 : : }
16962 : : }
16963 : : }
16964 : : }
16965 : : }
16966 : : }
16967 : : }
16968 : : break;
16969 : : }
16970 : : default:;
16971 : : }
16972 : : }
16973 : : }
16974 : : }
16975 : 0 : break;
16976 : : }
16977 : : default:;
16978 : : }
16979 : : }
16980 : : break;
16981 : : default:;
16982 : : }
16983 : : }
16984 : : }
16985 : 0 : break;
16986 : : }
16987 : : default:;
16988 : : }
16989 : : }
16990 : : break;
16991 : : default:;
16992 : : }
16993 : : break;
16994 : : }
16995 : 4 : default:;
16996 : : }
16997 : 4 : switch (TREE_CODE (_q41))
16998 : : {
16999 : 0 : case INTEGER_CST:
17000 : 0 : {
17001 : 0 : switch (TREE_CODE (_q31))
17002 : : {
17003 : 0 : case SSA_NAME:
17004 : 0 : if (gimple *_d4 = get_def (valueize, _q31))
17005 : : {
17006 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
17007 : 0 : switch (gimple_assign_rhs_code (_a4))
17008 : : {
17009 : 0 : case BIT_XOR_EXPR:
17010 : 0 : {
17011 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
17012 : 0 : _q70 = do_valueize (valueize, _q70);
17013 : 0 : tree _q71 = gimple_assign_rhs2 (_a4);
17014 : 0 : _q71 = do_valueize (valueize, _q71);
17015 : 0 : if (tree_swap_operands_p (_q70, _q71))
17016 : 0 : std::swap (_q70, _q71);
17017 : 0 : {
17018 : 0 : tree _q70_pops[1];
17019 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
17020 : : {
17021 : 0 : tree _q80 = _q70_pops[0];
17022 : 0 : switch (TREE_CODE (_q80))
17023 : : {
17024 : 0 : case SSA_NAME:
17025 : 0 : if (gimple *_d5 = get_def (valueize, _q80))
17026 : : {
17027 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
17028 : 0 : switch (gimple_assign_rhs_code (_a5))
17029 : : {
17030 : 0 : case PLUS_EXPR:
17031 : 0 : {
17032 : 0 : tree _q90 = gimple_assign_rhs1 (_a5);
17033 : 0 : _q90 = do_valueize (valueize, _q90);
17034 : 0 : tree _q91 = gimple_assign_rhs2 (_a5);
17035 : 0 : _q91 = do_valueize (valueize, _q91);
17036 : 0 : if (tree_swap_operands_p (_q90, _q91))
17037 : 0 : std::swap (_q90, _q91);
17038 : 0 : {
17039 : 0 : tree _q90_pops[1];
17040 : 0 : if (gimple_nop_convert (_q90, _q90_pops, valueize))
17041 : : {
17042 : 0 : tree _q100 = _q90_pops[0];
17043 : 0 : if ((_q100 == _q40 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q40, 0) && types_match (_q100, _q40)))
17044 : : {
17045 : 0 : switch (TREE_CODE (_q91))
17046 : : {
17047 : 0 : case INTEGER_CST:
17048 : 0 : {
17049 : 0 : if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
17050 : : {
17051 : 0 : if (integer_zerop (_q21))
17052 : : {
17053 : 0 : {
17054 : 0 : tree _p1_pops[1];
17055 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
17056 : : {
17057 : 0 : tree _q150 = _p1_pops[0];
17058 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
17059 : : {
17060 : 0 : if ((_p2 == _q70 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q70, 0) && types_match (_p2, _q70)))
17061 : : {
17062 : 0 : {
17063 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q91, _q70, _q41 };
17064 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
17065 : : )
17066 : : {
17067 : 0 : if (wi::bit_and (wi::to_wide (captures[1]), wi::to_wide (captures[3])) == 0
17068 : : )
17069 : : {
17070 : 0 : {
17071 : 0 : res_ops[0] = captures[0];
17072 : 0 : res_ops[1] = captures[1];
17073 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 74, __FILE__, __LINE__, false);
17074 : 0 : return true;
17075 : : }
17076 : : }
17077 : : }
17078 : : }
17079 : : }
17080 : : }
17081 : : }
17082 : : }
17083 : : }
17084 : : }
17085 : : break;
17086 : : }
17087 : : default:;
17088 : : }
17089 : : }
17090 : : }
17091 : : }
17092 : 0 : break;
17093 : : }
17094 : : default:;
17095 : : }
17096 : : }
17097 : : break;
17098 : : default:;
17099 : : }
17100 : : }
17101 : : }
17102 : 0 : break;
17103 : : }
17104 : : default:;
17105 : : }
17106 : : }
17107 : : break;
17108 : : default:;
17109 : : }
17110 : : break;
17111 : : }
17112 : : default:;
17113 : : }
17114 : 3323440 : break;
17115 : : }
17116 : 2 : case BIT_NOT_EXPR:
17117 : 2 : {
17118 : 2 : tree _q40 = gimple_assign_rhs1 (_a3);
17119 : 2 : _q40 = do_valueize (valueize, _q40);
17120 : 2 : switch (TREE_CODE (_q40))
17121 : : {
17122 : 2 : case SSA_NAME:
17123 : 2 : if (gimple *_d4 = get_def (valueize, _q40))
17124 : : {
17125 : 2 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
17126 : 2 : switch (gimple_assign_rhs_code (_a4))
17127 : : {
17128 : 2 : case BIT_XOR_EXPR:
17129 : 2 : {
17130 : 2 : tree _q50 = gimple_assign_rhs1 (_a4);
17131 : 2 : _q50 = do_valueize (valueize, _q50);
17132 : 2 : tree _q51 = gimple_assign_rhs2 (_a4);
17133 : 2 : _q51 = do_valueize (valueize, _q51);
17134 : 2 : if (tree_swap_operands_p (_q50, _q51))
17135 : 0 : std::swap (_q50, _q51);
17136 : 2 : switch (TREE_CODE (_q31))
17137 : : {
17138 : 2 : case SSA_NAME:
17139 : 2 : if (gimple *_d5 = get_def (valueize, _q31))
17140 : : {
17141 : 2 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
17142 : 2 : switch (gimple_assign_rhs_code (_a5))
17143 : : {
17144 : 2 : case BIT_XOR_EXPR:
17145 : 2 : {
17146 : 2 : tree _q80 = gimple_assign_rhs1 (_a5);
17147 : 2 : _q80 = do_valueize (valueize, _q80);
17148 : 2 : tree _q81 = gimple_assign_rhs2 (_a5);
17149 : 2 : _q81 = do_valueize (valueize, _q81);
17150 : 2 : if (tree_swap_operands_p (_q80, _q81))
17151 : 0 : std::swap (_q80, _q81);
17152 : 2 : if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
17153 : : {
17154 : 2 : {
17155 : 2 : tree _q81_pops[1];
17156 : 2 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
17157 : : {
17158 : 2 : tree _q100 = _q81_pops[0];
17159 : 2 : switch (TREE_CODE (_q100))
17160 : : {
17161 : 2 : case SSA_NAME:
17162 : 2 : if (gimple *_d6 = get_def (valueize, _q100))
17163 : : {
17164 : 2 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
17165 : 2 : switch (gimple_assign_rhs_code (_a6))
17166 : : {
17167 : 2 : case PLUS_EXPR:
17168 : 2 : {
17169 : 2 : tree _q110 = gimple_assign_rhs1 (_a6);
17170 : 2 : _q110 = do_valueize (valueize, _q110);
17171 : 2 : tree _q111 = gimple_assign_rhs2 (_a6);
17172 : 2 : _q111 = do_valueize (valueize, _q111);
17173 : 2 : if (tree_swap_operands_p (_q110, _q111))
17174 : 0 : std::swap (_q110, _q111);
17175 : 2 : {
17176 : 2 : tree _q110_pops[1];
17177 : 2 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
17178 : : {
17179 : 2 : tree _q120 = _q110_pops[0];
17180 : 2 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
17181 : : {
17182 : 2 : {
17183 : 2 : tree _q111_pops[1];
17184 : 2 : if (gimple_nop_convert (_q111, _q111_pops, valueize))
17185 : : {
17186 : 2 : tree _q140 = _q111_pops[0];
17187 : 2 : if ((_q140 == _q51 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q51, 0) && types_match (_q140, _q51)))
17188 : : {
17189 : 2 : if (integer_zerop (_q21))
17190 : : {
17191 : 2 : {
17192 : 2 : tree _p1_pops[1];
17193 : 2 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
17194 : : {
17195 : 2 : tree _q170 = _p1_pops[0];
17196 : 2 : if ((_q170 == _q50 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q50, 0) && types_match (_q170, _q50)))
17197 : : {
17198 : 2 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
17199 : : {
17200 : 2 : {
17201 : 2 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q81 };
17202 : 2 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
17203 : : )
17204 : : {
17205 : 2 : {
17206 : 2 : res_ops[0] = captures[0];
17207 : 2 : res_ops[1] = captures[1];
17208 : 2 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
17209 : 2 : return true;
17210 : : }
17211 : : }
17212 : : }
17213 : : }
17214 : : }
17215 : : }
17216 : : }
17217 : : }
17218 : : }
17219 : : }
17220 : : }
17221 : : }
17222 : : }
17223 : : }
17224 : 0 : break;
17225 : : }
17226 : : default:;
17227 : : }
17228 : : }
17229 : : break;
17230 : : default:;
17231 : : }
17232 : : }
17233 : : }
17234 : : }
17235 : 0 : if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
17236 : : {
17237 : 0 : {
17238 : 0 : tree _q81_pops[1];
17239 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
17240 : : {
17241 : 0 : tree _q100 = _q81_pops[0];
17242 : 0 : switch (TREE_CODE (_q100))
17243 : : {
17244 : 0 : case SSA_NAME:
17245 : 0 : if (gimple *_d6 = get_def (valueize, _q100))
17246 : : {
17247 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
17248 : 0 : switch (gimple_assign_rhs_code (_a6))
17249 : : {
17250 : 0 : case PLUS_EXPR:
17251 : 0 : {
17252 : 0 : tree _q110 = gimple_assign_rhs1 (_a6);
17253 : 0 : _q110 = do_valueize (valueize, _q110);
17254 : 0 : tree _q111 = gimple_assign_rhs2 (_a6);
17255 : 0 : _q111 = do_valueize (valueize, _q111);
17256 : 0 : if (tree_swap_operands_p (_q110, _q111))
17257 : 0 : std::swap (_q110, _q111);
17258 : 0 : {
17259 : 0 : tree _q110_pops[1];
17260 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
17261 : : {
17262 : 0 : tree _q120 = _q110_pops[0];
17263 : 0 : if ((_q120 == _q51 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q51, 0) && types_match (_q120, _q51)))
17264 : : {
17265 : 0 : {
17266 : 0 : tree _q111_pops[1];
17267 : 0 : if (gimple_nop_convert (_q111, _q111_pops, valueize))
17268 : : {
17269 : 0 : tree _q140 = _q111_pops[0];
17270 : 0 : if ((_q140 == _q50 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q50, 0) && types_match (_q140, _q50)))
17271 : : {
17272 : 0 : if (integer_zerop (_q21))
17273 : : {
17274 : 0 : {
17275 : 0 : tree _p1_pops[1];
17276 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
17277 : : {
17278 : 0 : tree _q170 = _p1_pops[0];
17279 : 0 : if ((_q170 == _q51 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q51, 0) && types_match (_q170, _q51)))
17280 : : {
17281 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
17282 : : {
17283 : 0 : {
17284 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q81 };
17285 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
17286 : : )
17287 : : {
17288 : 0 : {
17289 : 0 : res_ops[0] = captures[0];
17290 : 0 : res_ops[1] = captures[1];
17291 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
17292 : 0 : return true;
17293 : : }
17294 : : }
17295 : : }
17296 : : }
17297 : : }
17298 : : }
17299 : : }
17300 : : }
17301 : : }
17302 : : }
17303 : : }
17304 : : }
17305 : : }
17306 : : }
17307 : 0 : break;
17308 : : }
17309 : : default:;
17310 : : }
17311 : : }
17312 : : break;
17313 : : default:;
17314 : : }
17315 : : }
17316 : : }
17317 : : }
17318 : 0 : {
17319 : 0 : tree _q80_pops[1];
17320 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
17321 : : {
17322 : 0 : tree _q90 = _q80_pops[0];
17323 : 0 : switch (TREE_CODE (_q90))
17324 : : {
17325 : 0 : case SSA_NAME:
17326 : 0 : if (gimple *_d6 = get_def (valueize, _q90))
17327 : : {
17328 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
17329 : 0 : switch (gimple_assign_rhs_code (_a6))
17330 : : {
17331 : 0 : case PLUS_EXPR:
17332 : 0 : {
17333 : 0 : tree _q100 = gimple_assign_rhs1 (_a6);
17334 : 0 : _q100 = do_valueize (valueize, _q100);
17335 : 0 : tree _q101 = gimple_assign_rhs2 (_a6);
17336 : 0 : _q101 = do_valueize (valueize, _q101);
17337 : 0 : if (tree_swap_operands_p (_q100, _q101))
17338 : 0 : std::swap (_q100, _q101);
17339 : 0 : {
17340 : 0 : tree _q100_pops[1];
17341 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
17342 : : {
17343 : 0 : tree _q110 = _q100_pops[0];
17344 : 0 : if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
17345 : : {
17346 : 0 : {
17347 : 0 : tree _q101_pops[1];
17348 : 0 : if (gimple_nop_convert (_q101, _q101_pops, valueize))
17349 : : {
17350 : 0 : tree _q130 = _q101_pops[0];
17351 : 0 : if ((_q130 == _q51 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q51, 0) && types_match (_q130, _q51)))
17352 : : {
17353 : 0 : if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
17354 : : {
17355 : 0 : if (integer_zerop (_q21))
17356 : : {
17357 : 0 : {
17358 : 0 : tree _p1_pops[1];
17359 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
17360 : : {
17361 : 0 : tree _q170 = _p1_pops[0];
17362 : 0 : if ((_q170 == _q50 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q50, 0) && types_match (_q170, _q50)))
17363 : : {
17364 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
17365 : : {
17366 : 0 : {
17367 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q80 };
17368 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
17369 : : )
17370 : : {
17371 : 0 : {
17372 : 0 : res_ops[0] = captures[0];
17373 : 0 : res_ops[1] = captures[1];
17374 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
17375 : 0 : return true;
17376 : : }
17377 : : }
17378 : : }
17379 : : }
17380 : : }
17381 : : }
17382 : : }
17383 : : }
17384 : : }
17385 : : }
17386 : : }
17387 : : }
17388 : : }
17389 : 0 : if ((_q110 == _q51 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q51, 0) && types_match (_q110, _q51)))
17390 : : {
17391 : 0 : {
17392 : 0 : tree _q101_pops[1];
17393 : 0 : if (gimple_nop_convert (_q101, _q101_pops, valueize))
17394 : : {
17395 : 0 : tree _q130 = _q101_pops[0];
17396 : 0 : if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
17397 : : {
17398 : 0 : if ((_q81 == _q51 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q51, 0) && types_match (_q81, _q51)))
17399 : : {
17400 : 0 : if (integer_zerop (_q21))
17401 : : {
17402 : 0 : {
17403 : 0 : tree _p1_pops[1];
17404 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
17405 : : {
17406 : 0 : tree _q170 = _p1_pops[0];
17407 : 0 : if ((_q170 == _q51 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q51, 0) && types_match (_q170, _q51)))
17408 : : {
17409 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
17410 : : {
17411 : 0 : {
17412 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q80 };
17413 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
17414 : : )
17415 : : {
17416 : 0 : {
17417 : 0 : res_ops[0] = captures[0];
17418 : 0 : res_ops[1] = captures[1];
17419 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 73, __FILE__, __LINE__, false);
17420 : 0 : return true;
17421 : : }
17422 : : }
17423 : : }
17424 : : }
17425 : : }
17426 : : }
17427 : : }
17428 : : }
17429 : : }
17430 : : }
17431 : : }
17432 : : }
17433 : : }
17434 : : }
17435 : : }
17436 : 0 : break;
17437 : : }
17438 : : default:;
17439 : : }
17440 : : }
17441 : : break;
17442 : : default:;
17443 : : }
17444 : : }
17445 : : }
17446 : 0 : break;
17447 : : }
17448 : : default:;
17449 : : }
17450 : : }
17451 : : break;
17452 : : default:;
17453 : : }
17454 : 3323440 : break;
17455 : : }
17456 : : default:;
17457 : : }
17458 : : }
17459 : : break;
17460 : : default:;
17461 : : }
17462 : : break;
17463 : : }
17464 : : default:;
17465 : : }
17466 : : }
17467 : : break;
17468 : : default:;
17469 : : }
17470 : 3323440 : break;
17471 : : }
17472 : : default:;
17473 : : }
17474 : : }
17475 : : break;
17476 : : default:;
17477 : : }
17478 : : }
17479 : : }
17480 : : break;
17481 : : }
17482 : 8562 : case GE_EXPR:
17483 : 8562 : {
17484 : 8562 : tree _q20 = TREE_OPERAND (_p0, 0);
17485 : 8562 : if ((TREE_CODE (_q20) == SSA_NAME
17486 : 8562 : || is_gimple_min_invariant (_q20)))
17487 : : {
17488 : 8562 : _q20 = do_valueize (valueize, _q20);
17489 : 8562 : tree _q21 = TREE_OPERAND (_p0, 1);
17490 : 8562 : if ((TREE_CODE (_q21) == SSA_NAME
17491 : 8562 : || is_gimple_min_invariant (_q21)))
17492 : : {
17493 : 8562 : _q21 = do_valueize (valueize, _q21);
17494 : 8562 : switch (TREE_CODE (_q20))
17495 : : {
17496 : 8556 : case SSA_NAME:
17497 : 8556 : if (gimple *_d2 = get_def (valueize, _q20))
17498 : : {
17499 : 8556 : if (gassign *_a2 = dyn_cast <gassign *> (_d2))
17500 : 9165 : switch (gimple_assign_rhs_code (_a2))
17501 : : {
17502 : 17 : case BIT_AND_EXPR:
17503 : 17 : {
17504 : 17 : tree _q30 = gimple_assign_rhs1 (_a2);
17505 : 17 : _q30 = do_valueize (valueize, _q30);
17506 : 17 : tree _q31 = gimple_assign_rhs2 (_a2);
17507 : 17 : _q31 = do_valueize (valueize, _q31);
17508 : 17 : if (tree_swap_operands_p (_q30, _q31))
17509 : 0 : std::swap (_q30, _q31);
17510 : 17 : switch (TREE_CODE (_q30))
17511 : : {
17512 : 17 : case SSA_NAME:
17513 : 17 : if (gimple *_d3 = get_def (valueize, _q30))
17514 : : {
17515 : 17 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
17516 : 17 : switch (gimple_assign_rhs_code (_a3))
17517 : : {
17518 : 0 : case BIT_XOR_EXPR:
17519 : 0 : {
17520 : 0 : tree _q40 = gimple_assign_rhs1 (_a3);
17521 : 0 : _q40 = do_valueize (valueize, _q40);
17522 : 0 : tree _q41 = gimple_assign_rhs2 (_a3);
17523 : 0 : _q41 = do_valueize (valueize, _q41);
17524 : 0 : if (tree_swap_operands_p (_q40, _q41))
17525 : 0 : std::swap (_q40, _q41);
17526 : 0 : {
17527 : 0 : tree _q41_pops[1];
17528 : 0 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
17529 : : {
17530 : 0 : tree _q60 = _q41_pops[0];
17531 : 0 : switch (TREE_CODE (_q60))
17532 : : {
17533 : 0 : case SSA_NAME:
17534 : 0 : if (gimple *_d4 = get_def (valueize, _q60))
17535 : : {
17536 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
17537 : 0 : switch (gimple_assign_rhs_code (_a4))
17538 : : {
17539 : 0 : case PLUS_EXPR:
17540 : 0 : {
17541 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
17542 : 0 : _q70 = do_valueize (valueize, _q70);
17543 : 0 : tree _q71 = gimple_assign_rhs2 (_a4);
17544 : 0 : _q71 = do_valueize (valueize, _q71);
17545 : 0 : if (tree_swap_operands_p (_q70, _q71))
17546 : 0 : std::swap (_q70, _q71);
17547 : 0 : {
17548 : 0 : tree _q70_pops[1];
17549 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
17550 : : {
17551 : 0 : tree _q80 = _q70_pops[0];
17552 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
17553 : : {
17554 : 0 : {
17555 : 0 : tree _q71_pops[1];
17556 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
17557 : : {
17558 : 0 : tree _q100 = _q71_pops[0];
17559 : 0 : switch (TREE_CODE (_q31))
17560 : : {
17561 : 0 : case SSA_NAME:
17562 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
17563 : : {
17564 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
17565 : 0 : switch (gimple_assign_rhs_code (_a5))
17566 : : {
17567 : 0 : case BIT_NOT_EXPR:
17568 : 0 : {
17569 : 0 : tree _q120 = gimple_assign_rhs1 (_a5);
17570 : 0 : _q120 = do_valueize (valueize, _q120);
17571 : 0 : switch (TREE_CODE (_q120))
17572 : : {
17573 : 0 : case SSA_NAME:
17574 : 0 : if (gimple *_d6 = get_def (valueize, _q120))
17575 : : {
17576 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
17577 : 0 : switch (gimple_assign_rhs_code (_a6))
17578 : : {
17579 : 0 : case BIT_XOR_EXPR:
17580 : 0 : {
17581 : 0 : tree _q130 = gimple_assign_rhs1 (_a6);
17582 : 0 : _q130 = do_valueize (valueize, _q130);
17583 : 0 : tree _q131 = gimple_assign_rhs2 (_a6);
17584 : 0 : _q131 = do_valueize (valueize, _q131);
17585 : 0 : if (tree_swap_operands_p (_q130, _q131))
17586 : 0 : std::swap (_q130, _q131);
17587 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
17588 : : {
17589 : 0 : if ((_q131 == _q100 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q100, 0) && types_match (_q131, _q100)))
17590 : : {
17591 : 0 : if (integer_zerop (_q21))
17592 : : {
17593 : 0 : if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
17594 : : {
17595 : 0 : switch (TREE_CODE (_p2))
17596 : : {
17597 : 0 : case SSA_NAME:
17598 : 0 : if (gimple *_d7 = get_def (valueize, _p2))
17599 : : {
17600 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
17601 : 0 : switch (gimple_assign_rhs_code (_a7))
17602 : : {
17603 : 0 : case BIT_XOR_EXPR:
17604 : 0 : {
17605 : 0 : tree _q180 = gimple_assign_rhs1 (_a7);
17606 : 0 : _q180 = do_valueize (valueize, _q180);
17607 : 0 : tree _q181 = gimple_assign_rhs2 (_a7);
17608 : 0 : _q181 = do_valueize (valueize, _q181);
17609 : 0 : if (tree_swap_operands_p (_q180, _q181))
17610 : 0 : std::swap (_q180, _q181);
17611 : 0 : switch (TREE_CODE (_q180))
17612 : : {
17613 : 0 : case SSA_NAME:
17614 : 0 : if (gimple *_d8 = get_def (valueize, _q180))
17615 : : {
17616 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
17617 : 0 : switch (gimple_assign_rhs_code (_a8))
17618 : : {
17619 : 0 : case NEGATE_EXPR:
17620 : 0 : {
17621 : 0 : tree _q190 = gimple_assign_rhs1 (_a8);
17622 : 0 : _q190 = do_valueize (valueize, _q190);
17623 : 0 : switch (TREE_CODE (_q190))
17624 : : {
17625 : 0 : case SSA_NAME:
17626 : 0 : if (gimple *_d9 = get_def (valueize, _q190))
17627 : : {
17628 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
17629 : 0 : switch (gimple_assign_rhs_code (_a9))
17630 : : {
17631 : 0 : CASE_CONVERT:
17632 : 0 : {
17633 : 0 : tree _q200 = gimple_assign_rhs1 (_a9);
17634 : 0 : _q200 = do_valueize (valueize, _q200);
17635 : 0 : switch (TREE_CODE (_q200))
17636 : : {
17637 : 0 : case SSA_NAME:
17638 : 0 : if (gimple *_d10 = get_def (valueize, _q200))
17639 : : {
17640 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
17641 : 0 : switch (gimple_assign_rhs_code (_a10))
17642 : : {
17643 : 0 : case LT_EXPR:
17644 : 0 : {
17645 : 0 : tree _q210 = gimple_assign_rhs1 (_a10);
17646 : 0 : _q210 = do_valueize (valueize, _q210);
17647 : 0 : tree _q211 = gimple_assign_rhs2 (_a10);
17648 : 0 : _q211 = do_valueize (valueize, _q211);
17649 : 0 : if ((_q210 == _q40 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q40, 0) && types_match (_q210, _q40)))
17650 : : {
17651 : 0 : if (integer_zerop (_q211))
17652 : : {
17653 : 0 : if (gimple_max_value (_q181, valueize))
17654 : : {
17655 : 0 : {
17656 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
17657 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
17658 : : )
17659 : : {
17660 : 0 : {
17661 : 0 : res_ops[0] = captures[0];
17662 : 0 : res_ops[1] = captures[1];
17663 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
17664 : 0 : return true;
17665 : : }
17666 : : }
17667 : : }
17668 : : }
17669 : : }
17670 : : }
17671 : : break;
17672 : : }
17673 : : default:;
17674 : : }
17675 : : }
17676 : : break;
17677 : : default:;
17678 : : }
17679 : : break;
17680 : : }
17681 : : default:;
17682 : : }
17683 : : }
17684 : : break;
17685 : : default:;
17686 : : }
17687 : : break;
17688 : : }
17689 : : default:;
17690 : : }
17691 : : }
17692 : : break;
17693 : 0 : default:;
17694 : : }
17695 : 0 : if (gimple_max_value (_q180, valueize))
17696 : : {
17697 : 0 : switch (TREE_CODE (_q181))
17698 : : {
17699 : 0 : case SSA_NAME:
17700 : 0 : if (gimple *_d8 = get_def (valueize, _q181))
17701 : : {
17702 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
17703 : 0 : switch (gimple_assign_rhs_code (_a8))
17704 : : {
17705 : 0 : case NEGATE_EXPR:
17706 : 0 : {
17707 : 0 : tree _q200 = gimple_assign_rhs1 (_a8);
17708 : 0 : _q200 = do_valueize (valueize, _q200);
17709 : 0 : switch (TREE_CODE (_q200))
17710 : : {
17711 : 0 : case SSA_NAME:
17712 : 0 : if (gimple *_d9 = get_def (valueize, _q200))
17713 : : {
17714 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
17715 : 0 : switch (gimple_assign_rhs_code (_a9))
17716 : : {
17717 : 0 : CASE_CONVERT:
17718 : 0 : {
17719 : 0 : tree _q210 = gimple_assign_rhs1 (_a9);
17720 : 0 : _q210 = do_valueize (valueize, _q210);
17721 : 0 : switch (TREE_CODE (_q210))
17722 : : {
17723 : 0 : case SSA_NAME:
17724 : 0 : if (gimple *_d10 = get_def (valueize, _q210))
17725 : : {
17726 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
17727 : 0 : switch (gimple_assign_rhs_code (_a10))
17728 : : {
17729 : 0 : case LT_EXPR:
17730 : 0 : {
17731 : 0 : tree _q220 = gimple_assign_rhs1 (_a10);
17732 : 0 : _q220 = do_valueize (valueize, _q220);
17733 : 0 : tree _q221 = gimple_assign_rhs2 (_a10);
17734 : 0 : _q221 = do_valueize (valueize, _q221);
17735 : 0 : if ((_q220 == _q40 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q40, 0) && types_match (_q220, _q40)))
17736 : : {
17737 : 0 : if (integer_zerop (_q221))
17738 : : {
17739 : 0 : {
17740 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
17741 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
17742 : : )
17743 : : {
17744 : 0 : {
17745 : 0 : res_ops[0] = captures[0];
17746 : 0 : res_ops[1] = captures[1];
17747 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
17748 : 0 : return true;
17749 : : }
17750 : : }
17751 : : }
17752 : : }
17753 : : }
17754 : : break;
17755 : : }
17756 : : default:;
17757 : : }
17758 : : }
17759 : : break;
17760 : : default:;
17761 : : }
17762 : : break;
17763 : : }
17764 : : default:;
17765 : : }
17766 : : }
17767 : : break;
17768 : : default:;
17769 : : }
17770 : : break;
17771 : : }
17772 : : default:;
17773 : : }
17774 : : }
17775 : : break;
17776 : : default:;
17777 : : }
17778 : : }
17779 : 0 : break;
17780 : : }
17781 : : default:;
17782 : : }
17783 : : }
17784 : : break;
17785 : : default:;
17786 : : }
17787 : : }
17788 : : }
17789 : : }
17790 : : }
17791 : 0 : if ((_q130 == _q100 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q100, 0) && types_match (_q130, _q100)))
17792 : : {
17793 : 0 : if ((_q131 == _q40 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q40, 0) && types_match (_q131, _q40)))
17794 : : {
17795 : 0 : if (integer_zerop (_q21))
17796 : : {
17797 : 0 : if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
17798 : : {
17799 : 0 : switch (TREE_CODE (_p2))
17800 : : {
17801 : 0 : case SSA_NAME:
17802 : 0 : if (gimple *_d7 = get_def (valueize, _p2))
17803 : : {
17804 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
17805 : 0 : switch (gimple_assign_rhs_code (_a7))
17806 : : {
17807 : 0 : case BIT_XOR_EXPR:
17808 : 0 : {
17809 : 0 : tree _q180 = gimple_assign_rhs1 (_a7);
17810 : 0 : _q180 = do_valueize (valueize, _q180);
17811 : 0 : tree _q181 = gimple_assign_rhs2 (_a7);
17812 : 0 : _q181 = do_valueize (valueize, _q181);
17813 : 0 : if (tree_swap_operands_p (_q180, _q181))
17814 : 0 : std::swap (_q180, _q181);
17815 : 0 : switch (TREE_CODE (_q180))
17816 : : {
17817 : 0 : case SSA_NAME:
17818 : 0 : if (gimple *_d8 = get_def (valueize, _q180))
17819 : : {
17820 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
17821 : 0 : switch (gimple_assign_rhs_code (_a8))
17822 : : {
17823 : 0 : case NEGATE_EXPR:
17824 : 0 : {
17825 : 0 : tree _q190 = gimple_assign_rhs1 (_a8);
17826 : 0 : _q190 = do_valueize (valueize, _q190);
17827 : 0 : switch (TREE_CODE (_q190))
17828 : : {
17829 : 0 : case SSA_NAME:
17830 : 0 : if (gimple *_d9 = get_def (valueize, _q190))
17831 : : {
17832 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
17833 : 0 : switch (gimple_assign_rhs_code (_a9))
17834 : : {
17835 : 0 : CASE_CONVERT:
17836 : 0 : {
17837 : 0 : tree _q200 = gimple_assign_rhs1 (_a9);
17838 : 0 : _q200 = do_valueize (valueize, _q200);
17839 : 0 : switch (TREE_CODE (_q200))
17840 : : {
17841 : 0 : case SSA_NAME:
17842 : 0 : if (gimple *_d10 = get_def (valueize, _q200))
17843 : : {
17844 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
17845 : 0 : switch (gimple_assign_rhs_code (_a10))
17846 : : {
17847 : 0 : case LT_EXPR:
17848 : 0 : {
17849 : 0 : tree _q210 = gimple_assign_rhs1 (_a10);
17850 : 0 : _q210 = do_valueize (valueize, _q210);
17851 : 0 : tree _q211 = gimple_assign_rhs2 (_a10);
17852 : 0 : _q211 = do_valueize (valueize, _q211);
17853 : 0 : if ((_q210 == _q40 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q40, 0) && types_match (_q210, _q40)))
17854 : : {
17855 : 0 : if (integer_zerop (_q211))
17856 : : {
17857 : 0 : if (gimple_max_value (_q181, valueize))
17858 : : {
17859 : 0 : {
17860 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
17861 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
17862 : : )
17863 : : {
17864 : 0 : {
17865 : 0 : res_ops[0] = captures[0];
17866 : 0 : res_ops[1] = captures[1];
17867 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
17868 : 0 : return true;
17869 : : }
17870 : : }
17871 : : }
17872 : : }
17873 : : }
17874 : : }
17875 : : break;
17876 : : }
17877 : : default:;
17878 : : }
17879 : : }
17880 : : break;
17881 : : default:;
17882 : : }
17883 : : break;
17884 : : }
17885 : : default:;
17886 : : }
17887 : : }
17888 : : break;
17889 : : default:;
17890 : : }
17891 : : break;
17892 : : }
17893 : : default:;
17894 : : }
17895 : : }
17896 : : break;
17897 : 0 : default:;
17898 : : }
17899 : 0 : if (gimple_max_value (_q180, valueize))
17900 : : {
17901 : 0 : switch (TREE_CODE (_q181))
17902 : : {
17903 : 0 : case SSA_NAME:
17904 : 0 : if (gimple *_d8 = get_def (valueize, _q181))
17905 : : {
17906 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
17907 : 0 : switch (gimple_assign_rhs_code (_a8))
17908 : : {
17909 : 0 : case NEGATE_EXPR:
17910 : 0 : {
17911 : 0 : tree _q200 = gimple_assign_rhs1 (_a8);
17912 : 0 : _q200 = do_valueize (valueize, _q200);
17913 : 0 : switch (TREE_CODE (_q200))
17914 : : {
17915 : 0 : case SSA_NAME:
17916 : 0 : if (gimple *_d9 = get_def (valueize, _q200))
17917 : : {
17918 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
17919 : 0 : switch (gimple_assign_rhs_code (_a9))
17920 : : {
17921 : 0 : CASE_CONVERT:
17922 : 0 : {
17923 : 0 : tree _q210 = gimple_assign_rhs1 (_a9);
17924 : 0 : _q210 = do_valueize (valueize, _q210);
17925 : 0 : switch (TREE_CODE (_q210))
17926 : : {
17927 : 0 : case SSA_NAME:
17928 : 0 : if (gimple *_d10 = get_def (valueize, _q210))
17929 : : {
17930 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
17931 : 0 : switch (gimple_assign_rhs_code (_a10))
17932 : : {
17933 : 0 : case LT_EXPR:
17934 : 0 : {
17935 : 0 : tree _q220 = gimple_assign_rhs1 (_a10);
17936 : 0 : _q220 = do_valueize (valueize, _q220);
17937 : 0 : tree _q221 = gimple_assign_rhs2 (_a10);
17938 : 0 : _q221 = do_valueize (valueize, _q221);
17939 : 0 : if ((_q220 == _q40 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q40, 0) && types_match (_q220, _q40)))
17940 : : {
17941 : 0 : if (integer_zerop (_q221))
17942 : : {
17943 : 0 : {
17944 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
17945 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
17946 : : )
17947 : : {
17948 : 0 : {
17949 : 0 : res_ops[0] = captures[0];
17950 : 0 : res_ops[1] = captures[1];
17951 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
17952 : 0 : return true;
17953 : : }
17954 : : }
17955 : : }
17956 : : }
17957 : : }
17958 : : break;
17959 : : }
17960 : : default:;
17961 : : }
17962 : : }
17963 : : break;
17964 : : default:;
17965 : : }
17966 : : break;
17967 : : }
17968 : : default:;
17969 : : }
17970 : : }
17971 : : break;
17972 : : default:;
17973 : : }
17974 : : break;
17975 : : }
17976 : : default:;
17977 : : }
17978 : : }
17979 : : break;
17980 : : default:;
17981 : : }
17982 : : }
17983 : 0 : break;
17984 : : }
17985 : : default:;
17986 : : }
17987 : : }
17988 : : break;
17989 : : default:;
17990 : : }
17991 : : }
17992 : : }
17993 : : }
17994 : : }
17995 : 0 : break;
17996 : : }
17997 : : default:;
17998 : : }
17999 : : }
18000 : : break;
18001 : : default:;
18002 : : }
18003 : : break;
18004 : : }
18005 : : default:;
18006 : : }
18007 : : }
18008 : : break;
18009 : : default:;
18010 : : }
18011 : : }
18012 : : }
18013 : : }
18014 : : }
18015 : : }
18016 : 0 : break;
18017 : : }
18018 : : default:;
18019 : : }
18020 : : }
18021 : : break;
18022 : : default:;
18023 : : }
18024 : : }
18025 : : }
18026 : 0 : break;
18027 : : }
18028 : 0 : case BIT_NOT_EXPR:
18029 : 0 : {
18030 : 0 : tree _q40 = gimple_assign_rhs1 (_a3);
18031 : 0 : _q40 = do_valueize (valueize, _q40);
18032 : 0 : switch (TREE_CODE (_q40))
18033 : : {
18034 : 0 : case SSA_NAME:
18035 : 0 : if (gimple *_d4 = get_def (valueize, _q40))
18036 : : {
18037 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
18038 : 0 : switch (gimple_assign_rhs_code (_a4))
18039 : : {
18040 : 0 : case BIT_XOR_EXPR:
18041 : 0 : {
18042 : 0 : tree _q50 = gimple_assign_rhs1 (_a4);
18043 : 0 : _q50 = do_valueize (valueize, _q50);
18044 : 0 : tree _q51 = gimple_assign_rhs2 (_a4);
18045 : 0 : _q51 = do_valueize (valueize, _q51);
18046 : 0 : if (tree_swap_operands_p (_q50, _q51))
18047 : 0 : std::swap (_q50, _q51);
18048 : 0 : switch (TREE_CODE (_q31))
18049 : : {
18050 : 0 : case SSA_NAME:
18051 : 0 : if (gimple *_d5 = get_def (valueize, _q31))
18052 : : {
18053 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
18054 : 0 : switch (gimple_assign_rhs_code (_a5))
18055 : : {
18056 : 0 : case BIT_XOR_EXPR:
18057 : 0 : {
18058 : 0 : tree _q80 = gimple_assign_rhs1 (_a5);
18059 : 0 : _q80 = do_valueize (valueize, _q80);
18060 : 0 : tree _q81 = gimple_assign_rhs2 (_a5);
18061 : 0 : _q81 = do_valueize (valueize, _q81);
18062 : 0 : if (tree_swap_operands_p (_q80, _q81))
18063 : 0 : std::swap (_q80, _q81);
18064 : 0 : if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
18065 : : {
18066 : 0 : {
18067 : 0 : tree _q81_pops[1];
18068 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
18069 : : {
18070 : 0 : tree _q100 = _q81_pops[0];
18071 : 0 : switch (TREE_CODE (_q100))
18072 : : {
18073 : 0 : case SSA_NAME:
18074 : 0 : if (gimple *_d6 = get_def (valueize, _q100))
18075 : : {
18076 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
18077 : 0 : switch (gimple_assign_rhs_code (_a6))
18078 : : {
18079 : 0 : case PLUS_EXPR:
18080 : 0 : {
18081 : 0 : tree _q110 = gimple_assign_rhs1 (_a6);
18082 : 0 : _q110 = do_valueize (valueize, _q110);
18083 : 0 : tree _q111 = gimple_assign_rhs2 (_a6);
18084 : 0 : _q111 = do_valueize (valueize, _q111);
18085 : 0 : if (tree_swap_operands_p (_q110, _q111))
18086 : 0 : std::swap (_q110, _q111);
18087 : 0 : {
18088 : 0 : tree _q110_pops[1];
18089 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
18090 : : {
18091 : 0 : tree _q120 = _q110_pops[0];
18092 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
18093 : : {
18094 : 0 : {
18095 : 0 : tree _q111_pops[1];
18096 : 0 : if (gimple_nop_convert (_q111, _q111_pops, valueize))
18097 : : {
18098 : 0 : tree _q140 = _q111_pops[0];
18099 : 0 : if ((_q140 == _q51 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q51, 0) && types_match (_q140, _q51)))
18100 : : {
18101 : 0 : if (integer_zerop (_q21))
18102 : : {
18103 : 0 : if ((_p1 == _q81 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q81, 0) && types_match (_p1, _q81)))
18104 : : {
18105 : 0 : switch (TREE_CODE (_p2))
18106 : : {
18107 : 0 : case SSA_NAME:
18108 : 0 : if (gimple *_d7 = get_def (valueize, _p2))
18109 : : {
18110 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
18111 : 0 : switch (gimple_assign_rhs_code (_a7))
18112 : : {
18113 : 0 : case BIT_XOR_EXPR:
18114 : 0 : {
18115 : 0 : tree _q180 = gimple_assign_rhs1 (_a7);
18116 : 0 : _q180 = do_valueize (valueize, _q180);
18117 : 0 : tree _q181 = gimple_assign_rhs2 (_a7);
18118 : 0 : _q181 = do_valueize (valueize, _q181);
18119 : 0 : if (tree_swap_operands_p (_q180, _q181))
18120 : 0 : std::swap (_q180, _q181);
18121 : 0 : switch (TREE_CODE (_q180))
18122 : : {
18123 : 0 : case SSA_NAME:
18124 : 0 : if (gimple *_d8 = get_def (valueize, _q180))
18125 : : {
18126 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
18127 : 0 : switch (gimple_assign_rhs_code (_a8))
18128 : : {
18129 : 0 : case NEGATE_EXPR:
18130 : 0 : {
18131 : 0 : tree _q190 = gimple_assign_rhs1 (_a8);
18132 : 0 : _q190 = do_valueize (valueize, _q190);
18133 : 0 : switch (TREE_CODE (_q190))
18134 : : {
18135 : 0 : case SSA_NAME:
18136 : 0 : if (gimple *_d9 = get_def (valueize, _q190))
18137 : : {
18138 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
18139 : 0 : switch (gimple_assign_rhs_code (_a9))
18140 : : {
18141 : 0 : CASE_CONVERT:
18142 : 0 : {
18143 : 0 : tree _q200 = gimple_assign_rhs1 (_a9);
18144 : 0 : _q200 = do_valueize (valueize, _q200);
18145 : 0 : switch (TREE_CODE (_q200))
18146 : : {
18147 : 0 : case SSA_NAME:
18148 : 0 : if (gimple *_d10 = get_def (valueize, _q200))
18149 : : {
18150 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
18151 : 0 : switch (gimple_assign_rhs_code (_a10))
18152 : : {
18153 : 0 : case LT_EXPR:
18154 : 0 : {
18155 : 0 : tree _q210 = gimple_assign_rhs1 (_a10);
18156 : 0 : _q210 = do_valueize (valueize, _q210);
18157 : 0 : tree _q211 = gimple_assign_rhs2 (_a10);
18158 : 0 : _q211 = do_valueize (valueize, _q211);
18159 : 0 : if ((_q210 == _q50 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q50, 0) && types_match (_q210, _q50)))
18160 : : {
18161 : 0 : if (integer_zerop (_q211))
18162 : : {
18163 : 0 : if (gimple_max_value (_q181, valueize))
18164 : : {
18165 : 0 : {
18166 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q81 };
18167 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
18168 : : )
18169 : : {
18170 : 0 : {
18171 : 0 : res_ops[0] = captures[0];
18172 : 0 : res_ops[1] = captures[1];
18173 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
18174 : 0 : return true;
18175 : : }
18176 : : }
18177 : : }
18178 : : }
18179 : : }
18180 : : }
18181 : : break;
18182 : : }
18183 : : default:;
18184 : : }
18185 : : }
18186 : : break;
18187 : : default:;
18188 : : }
18189 : : break;
18190 : : }
18191 : : default:;
18192 : : }
18193 : : }
18194 : : break;
18195 : : default:;
18196 : : }
18197 : : break;
18198 : : }
18199 : : default:;
18200 : : }
18201 : : }
18202 : : break;
18203 : 0 : default:;
18204 : : }
18205 : 0 : if (gimple_max_value (_q180, valueize))
18206 : : {
18207 : 0 : switch (TREE_CODE (_q181))
18208 : : {
18209 : 0 : case SSA_NAME:
18210 : 0 : if (gimple *_d8 = get_def (valueize, _q181))
18211 : : {
18212 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
18213 : 0 : switch (gimple_assign_rhs_code (_a8))
18214 : : {
18215 : 0 : case NEGATE_EXPR:
18216 : 0 : {
18217 : 0 : tree _q200 = gimple_assign_rhs1 (_a8);
18218 : 0 : _q200 = do_valueize (valueize, _q200);
18219 : 0 : switch (TREE_CODE (_q200))
18220 : : {
18221 : 0 : case SSA_NAME:
18222 : 0 : if (gimple *_d9 = get_def (valueize, _q200))
18223 : : {
18224 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
18225 : 0 : switch (gimple_assign_rhs_code (_a9))
18226 : : {
18227 : 0 : CASE_CONVERT:
18228 : 0 : {
18229 : 0 : tree _q210 = gimple_assign_rhs1 (_a9);
18230 : 0 : _q210 = do_valueize (valueize, _q210);
18231 : 0 : switch (TREE_CODE (_q210))
18232 : : {
18233 : 0 : case SSA_NAME:
18234 : 0 : if (gimple *_d10 = get_def (valueize, _q210))
18235 : : {
18236 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
18237 : 0 : switch (gimple_assign_rhs_code (_a10))
18238 : : {
18239 : 0 : case LT_EXPR:
18240 : 0 : {
18241 : 0 : tree _q220 = gimple_assign_rhs1 (_a10);
18242 : 0 : _q220 = do_valueize (valueize, _q220);
18243 : 0 : tree _q221 = gimple_assign_rhs2 (_a10);
18244 : 0 : _q221 = do_valueize (valueize, _q221);
18245 : 0 : if ((_q220 == _q50 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q50, 0) && types_match (_q220, _q50)))
18246 : : {
18247 : 0 : if (integer_zerop (_q221))
18248 : : {
18249 : 0 : {
18250 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q81 };
18251 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
18252 : : )
18253 : : {
18254 : 0 : {
18255 : 0 : res_ops[0] = captures[0];
18256 : 0 : res_ops[1] = captures[1];
18257 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
18258 : 0 : return true;
18259 : : }
18260 : : }
18261 : : }
18262 : : }
18263 : : }
18264 : : break;
18265 : : }
18266 : : default:;
18267 : : }
18268 : : }
18269 : : break;
18270 : : default:;
18271 : : }
18272 : : break;
18273 : : }
18274 : : default:;
18275 : : }
18276 : : }
18277 : : break;
18278 : : default:;
18279 : : }
18280 : : break;
18281 : : }
18282 : : default:;
18283 : : }
18284 : : }
18285 : : break;
18286 : : default:;
18287 : : }
18288 : : }
18289 : 0 : break;
18290 : : }
18291 : : default:;
18292 : : }
18293 : : }
18294 : : break;
18295 : : default:;
18296 : : }
18297 : : }
18298 : : }
18299 : : }
18300 : : }
18301 : : }
18302 : : }
18303 : : }
18304 : : }
18305 : 0 : break;
18306 : : }
18307 : : default:;
18308 : : }
18309 : : }
18310 : : break;
18311 : : default:;
18312 : : }
18313 : : }
18314 : : }
18315 : : }
18316 : 0 : if ((_q80 == _q51 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q51, 0) && types_match (_q80, _q51)))
18317 : : {
18318 : 0 : {
18319 : 0 : tree _q81_pops[1];
18320 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
18321 : : {
18322 : 0 : tree _q100 = _q81_pops[0];
18323 : 0 : switch (TREE_CODE (_q100))
18324 : : {
18325 : 0 : case SSA_NAME:
18326 : 0 : if (gimple *_d6 = get_def (valueize, _q100))
18327 : : {
18328 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
18329 : 0 : switch (gimple_assign_rhs_code (_a6))
18330 : : {
18331 : 0 : case PLUS_EXPR:
18332 : 0 : {
18333 : 0 : tree _q110 = gimple_assign_rhs1 (_a6);
18334 : 0 : _q110 = do_valueize (valueize, _q110);
18335 : 0 : tree _q111 = gimple_assign_rhs2 (_a6);
18336 : 0 : _q111 = do_valueize (valueize, _q111);
18337 : 0 : if (tree_swap_operands_p (_q110, _q111))
18338 : 0 : std::swap (_q110, _q111);
18339 : 0 : {
18340 : 0 : tree _q110_pops[1];
18341 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
18342 : : {
18343 : 0 : tree _q120 = _q110_pops[0];
18344 : 0 : if ((_q120 == _q51 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q51, 0) && types_match (_q120, _q51)))
18345 : : {
18346 : 0 : {
18347 : 0 : tree _q111_pops[1];
18348 : 0 : if (gimple_nop_convert (_q111, _q111_pops, valueize))
18349 : : {
18350 : 0 : tree _q140 = _q111_pops[0];
18351 : 0 : if ((_q140 == _q50 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q50, 0) && types_match (_q140, _q50)))
18352 : : {
18353 : 0 : if (integer_zerop (_q21))
18354 : : {
18355 : 0 : if ((_p1 == _q81 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q81, 0) && types_match (_p1, _q81)))
18356 : : {
18357 : 0 : switch (TREE_CODE (_p2))
18358 : : {
18359 : 0 : case SSA_NAME:
18360 : 0 : if (gimple *_d7 = get_def (valueize, _p2))
18361 : : {
18362 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
18363 : 0 : switch (gimple_assign_rhs_code (_a7))
18364 : : {
18365 : 0 : case BIT_XOR_EXPR:
18366 : 0 : {
18367 : 0 : tree _q180 = gimple_assign_rhs1 (_a7);
18368 : 0 : _q180 = do_valueize (valueize, _q180);
18369 : 0 : tree _q181 = gimple_assign_rhs2 (_a7);
18370 : 0 : _q181 = do_valueize (valueize, _q181);
18371 : 0 : if (tree_swap_operands_p (_q180, _q181))
18372 : 0 : std::swap (_q180, _q181);
18373 : 0 : switch (TREE_CODE (_q180))
18374 : : {
18375 : 0 : case SSA_NAME:
18376 : 0 : if (gimple *_d8 = get_def (valueize, _q180))
18377 : : {
18378 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
18379 : 0 : switch (gimple_assign_rhs_code (_a8))
18380 : : {
18381 : 0 : case NEGATE_EXPR:
18382 : 0 : {
18383 : 0 : tree _q190 = gimple_assign_rhs1 (_a8);
18384 : 0 : _q190 = do_valueize (valueize, _q190);
18385 : 0 : switch (TREE_CODE (_q190))
18386 : : {
18387 : 0 : case SSA_NAME:
18388 : 0 : if (gimple *_d9 = get_def (valueize, _q190))
18389 : : {
18390 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
18391 : 0 : switch (gimple_assign_rhs_code (_a9))
18392 : : {
18393 : 0 : CASE_CONVERT:
18394 : 0 : {
18395 : 0 : tree _q200 = gimple_assign_rhs1 (_a9);
18396 : 0 : _q200 = do_valueize (valueize, _q200);
18397 : 0 : switch (TREE_CODE (_q200))
18398 : : {
18399 : 0 : case SSA_NAME:
18400 : 0 : if (gimple *_d10 = get_def (valueize, _q200))
18401 : : {
18402 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
18403 : 0 : switch (gimple_assign_rhs_code (_a10))
18404 : : {
18405 : 0 : case LT_EXPR:
18406 : 0 : {
18407 : 0 : tree _q210 = gimple_assign_rhs1 (_a10);
18408 : 0 : _q210 = do_valueize (valueize, _q210);
18409 : 0 : tree _q211 = gimple_assign_rhs2 (_a10);
18410 : 0 : _q211 = do_valueize (valueize, _q211);
18411 : 0 : if ((_q210 == _q51 && ! TREE_SIDE_EFFECTS (_q210)) || (operand_equal_p (_q210, _q51, 0) && types_match (_q210, _q51)))
18412 : : {
18413 : 0 : if (integer_zerop (_q211))
18414 : : {
18415 : 0 : if (gimple_max_value (_q181, valueize))
18416 : : {
18417 : 0 : {
18418 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q81 };
18419 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
18420 : : )
18421 : : {
18422 : 0 : {
18423 : 0 : res_ops[0] = captures[0];
18424 : 0 : res_ops[1] = captures[1];
18425 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
18426 : 0 : return true;
18427 : : }
18428 : : }
18429 : : }
18430 : : }
18431 : : }
18432 : : }
18433 : : break;
18434 : : }
18435 : : default:;
18436 : : }
18437 : : }
18438 : : break;
18439 : : default:;
18440 : : }
18441 : : break;
18442 : : }
18443 : : default:;
18444 : : }
18445 : : }
18446 : : break;
18447 : : default:;
18448 : : }
18449 : : break;
18450 : : }
18451 : : default:;
18452 : : }
18453 : : }
18454 : : break;
18455 : 0 : default:;
18456 : : }
18457 : 0 : if (gimple_max_value (_q180, valueize))
18458 : : {
18459 : 0 : switch (TREE_CODE (_q181))
18460 : : {
18461 : 0 : case SSA_NAME:
18462 : 0 : if (gimple *_d8 = get_def (valueize, _q181))
18463 : : {
18464 : 0 : if (gassign *_a8 = dyn_cast <gassign *> (_d8))
18465 : 0 : switch (gimple_assign_rhs_code (_a8))
18466 : : {
18467 : 0 : case NEGATE_EXPR:
18468 : 0 : {
18469 : 0 : tree _q200 = gimple_assign_rhs1 (_a8);
18470 : 0 : _q200 = do_valueize (valueize, _q200);
18471 : 0 : switch (TREE_CODE (_q200))
18472 : : {
18473 : 0 : case SSA_NAME:
18474 : 0 : if (gimple *_d9 = get_def (valueize, _q200))
18475 : : {
18476 : 0 : if (gassign *_a9 = dyn_cast <gassign *> (_d9))
18477 : 0 : switch (gimple_assign_rhs_code (_a9))
18478 : : {
18479 : 0 : CASE_CONVERT:
18480 : 0 : {
18481 : 0 : tree _q210 = gimple_assign_rhs1 (_a9);
18482 : 0 : _q210 = do_valueize (valueize, _q210);
18483 : 0 : switch (TREE_CODE (_q210))
18484 : : {
18485 : 0 : case SSA_NAME:
18486 : 0 : if (gimple *_d10 = get_def (valueize, _q210))
18487 : : {
18488 : 0 : if (gassign *_a10 = dyn_cast <gassign *> (_d10))
18489 : 0 : switch (gimple_assign_rhs_code (_a10))
18490 : : {
18491 : 0 : case LT_EXPR:
18492 : 0 : {
18493 : 0 : tree _q220 = gimple_assign_rhs1 (_a10);
18494 : 0 : _q220 = do_valueize (valueize, _q220);
18495 : 0 : tree _q221 = gimple_assign_rhs2 (_a10);
18496 : 0 : _q221 = do_valueize (valueize, _q221);
18497 : 0 : if ((_q220 == _q51 && ! TREE_SIDE_EFFECTS (_q220)) || (operand_equal_p (_q220, _q51, 0) && types_match (_q220, _q51)))
18498 : : {
18499 : 0 : if (integer_zerop (_q221))
18500 : : {
18501 : 0 : {
18502 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q81 };
18503 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
18504 : : )
18505 : : {
18506 : 0 : {
18507 : 0 : res_ops[0] = captures[0];
18508 : 0 : res_ops[1] = captures[1];
18509 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 75, __FILE__, __LINE__, false);
18510 : 0 : return true;
18511 : : }
18512 : : }
18513 : : }
18514 : : }
18515 : : }
18516 : : break;
18517 : : }
18518 : : default:;
18519 : : }
18520 : : }
18521 : : break;
18522 : : default:;
18523 : : }
18524 : : break;
18525 : : }
18526 : : default:;
18527 : : }
18528 : : }
18529 : : break;
18530 : : default:;
18531 : : }
18532 : : break;
18533 : : }
18534 : : default:;
18535 : : }
18536 : : }
18537 : : break;
18538 : : default:;
18539 : : }
18540 : : }
18541 : 0 : break;
18542 : : }
18543 : : default:;
18544 : : }
18545 : : }
18546 : : break;
18547 : : default:;
18548 : : }
18549 : : }
18550 : : }
18551 : : }
18552 : : }
18553 : : }
18554 : : }
18555 : : }
18556 : : }
18557 : 0 : break;
18558 : : }
18559 : : default:;
18560 : : }
18561 : : }
18562 : : break;
18563 : : default:;
18564 : : }
18565 : : }
18566 : : }
18567 : : }
18568 : 3323440 : break;
18569 : : }
18570 : : default:;
18571 : : }
18572 : : }
18573 : : break;
18574 : : default:;
18575 : : }
18576 : 3323440 : break;
18577 : : }
18578 : : default:;
18579 : : }
18580 : : }
18581 : : break;
18582 : : default:;
18583 : : }
18584 : : break;
18585 : : }
18586 : : default:;
18587 : : }
18588 : : }
18589 : : break;
18590 : : default:;
18591 : : }
18592 : 3323440 : break;
18593 : : }
18594 : 37 : case BIT_IOR_EXPR:
18595 : 37 : {
18596 : 37 : tree _q30 = gimple_assign_rhs1 (_a2);
18597 : 37 : _q30 = do_valueize (valueize, _q30);
18598 : 37 : tree _q31 = gimple_assign_rhs2 (_a2);
18599 : 37 : _q31 = do_valueize (valueize, _q31);
18600 : 37 : if (tree_swap_operands_p (_q30, _q31))
18601 : 0 : std::swap (_q30, _q31);
18602 : 37 : switch (TREE_CODE (_q30))
18603 : : {
18604 : 37 : case SSA_NAME:
18605 : 37 : if (gimple *_d3 = get_def (valueize, _q30))
18606 : : {
18607 : 37 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
18608 : 31 : switch (gimple_assign_rhs_code (_a3))
18609 : : {
18610 : 0 : case BIT_XOR_EXPR:
18611 : 0 : {
18612 : 0 : tree _q40 = gimple_assign_rhs1 (_a3);
18613 : 0 : _q40 = do_valueize (valueize, _q40);
18614 : 0 : tree _q41 = gimple_assign_rhs2 (_a3);
18615 : 0 : _q41 = do_valueize (valueize, _q41);
18616 : 0 : if (tree_swap_operands_p (_q40, _q41))
18617 : 0 : std::swap (_q40, _q41);
18618 : 0 : switch (TREE_CODE (_q41))
18619 : : {
18620 : 0 : case INTEGER_CST:
18621 : 0 : {
18622 : 0 : switch (TREE_CODE (_q31))
18623 : : {
18624 : 0 : case SSA_NAME:
18625 : 0 : if (gimple *_d4 = get_def (valueize, _q31))
18626 : : {
18627 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
18628 : 0 : switch (gimple_assign_rhs_code (_a4))
18629 : : {
18630 : 0 : case BIT_NOT_EXPR:
18631 : 0 : {
18632 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
18633 : 0 : _q70 = do_valueize (valueize, _q70);
18634 : 0 : switch (TREE_CODE (_q70))
18635 : : {
18636 : 0 : case SSA_NAME:
18637 : 0 : if (gimple *_d5 = get_def (valueize, _q70))
18638 : : {
18639 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
18640 : 0 : switch (gimple_assign_rhs_code (_a5))
18641 : : {
18642 : 0 : case BIT_XOR_EXPR:
18643 : 0 : {
18644 : 0 : tree _q80 = gimple_assign_rhs1 (_a5);
18645 : 0 : _q80 = do_valueize (valueize, _q80);
18646 : 0 : tree _q81 = gimple_assign_rhs2 (_a5);
18647 : 0 : _q81 = do_valueize (valueize, _q81);
18648 : 0 : if (tree_swap_operands_p (_q80, _q81))
18649 : 0 : std::swap (_q80, _q81);
18650 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
18651 : : {
18652 : 0 : {
18653 : 0 : tree _q81_pops[1];
18654 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
18655 : : {
18656 : 0 : tree _q100 = _q81_pops[0];
18657 : 0 : switch (TREE_CODE (_q100))
18658 : : {
18659 : 0 : case SSA_NAME:
18660 : 0 : if (gimple *_d6 = get_def (valueize, _q100))
18661 : : {
18662 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
18663 : 0 : switch (gimple_assign_rhs_code (_a6))
18664 : : {
18665 : 0 : case PLUS_EXPR:
18666 : 0 : {
18667 : 0 : tree _q110 = gimple_assign_rhs1 (_a6);
18668 : 0 : _q110 = do_valueize (valueize, _q110);
18669 : 0 : tree _q111 = gimple_assign_rhs2 (_a6);
18670 : 0 : _q111 = do_valueize (valueize, _q111);
18671 : 0 : if (tree_swap_operands_p (_q110, _q111))
18672 : 0 : std::swap (_q110, _q111);
18673 : 0 : {
18674 : 0 : tree _q110_pops[1];
18675 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
18676 : : {
18677 : 0 : tree _q120 = _q110_pops[0];
18678 : 0 : if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
18679 : : {
18680 : 0 : switch (TREE_CODE (_q111))
18681 : : {
18682 : 0 : case INTEGER_CST:
18683 : 0 : {
18684 : 0 : if (integer_zerop (_q21))
18685 : : {
18686 : 0 : {
18687 : 0 : tree _p1_pops[1];
18688 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
18689 : : {
18690 : 0 : tree _q160 = _p1_pops[0];
18691 : 0 : if ((_q160 == _q40 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q40, 0) && types_match (_q160, _q40)))
18692 : : {
18693 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
18694 : : {
18695 : 0 : {
18696 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q81, _q111 };
18697 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
18698 : : )
18699 : : {
18700 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
18701 : : )
18702 : : {
18703 : 0 : {
18704 : 0 : res_ops[0] = captures[0];
18705 : 0 : res_ops[1] = captures[1];
18706 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
18707 : 0 : return true;
18708 : : }
18709 : : }
18710 : : }
18711 : : }
18712 : : }
18713 : : }
18714 : : }
18715 : : }
18716 : : }
18717 : : break;
18718 : : }
18719 : : default:;
18720 : : }
18721 : : }
18722 : : }
18723 : : }
18724 : 0 : break;
18725 : : }
18726 : : default:;
18727 : : }
18728 : : }
18729 : : break;
18730 : : default:;
18731 : : }
18732 : : }
18733 : : }
18734 : : }
18735 : 0 : {
18736 : 0 : tree _q80_pops[1];
18737 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
18738 : : {
18739 : 0 : tree _q90 = _q80_pops[0];
18740 : 0 : switch (TREE_CODE (_q90))
18741 : : {
18742 : 0 : case SSA_NAME:
18743 : 0 : if (gimple *_d6 = get_def (valueize, _q90))
18744 : : {
18745 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
18746 : 0 : switch (gimple_assign_rhs_code (_a6))
18747 : : {
18748 : 0 : case PLUS_EXPR:
18749 : 0 : {
18750 : 0 : tree _q100 = gimple_assign_rhs1 (_a6);
18751 : 0 : _q100 = do_valueize (valueize, _q100);
18752 : 0 : tree _q101 = gimple_assign_rhs2 (_a6);
18753 : 0 : _q101 = do_valueize (valueize, _q101);
18754 : 0 : if (tree_swap_operands_p (_q100, _q101))
18755 : 0 : std::swap (_q100, _q101);
18756 : 0 : {
18757 : 0 : tree _q100_pops[1];
18758 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
18759 : : {
18760 : 0 : tree _q110 = _q100_pops[0];
18761 : 0 : if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
18762 : : {
18763 : 0 : switch (TREE_CODE (_q101))
18764 : : {
18765 : 0 : case INTEGER_CST:
18766 : 0 : {
18767 : 0 : if ((_q81 == _q40 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q40, 0) && types_match (_q81, _q40)))
18768 : : {
18769 : 0 : if (integer_zerop (_q21))
18770 : : {
18771 : 0 : {
18772 : 0 : tree _p1_pops[1];
18773 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
18774 : : {
18775 : 0 : tree _q160 = _p1_pops[0];
18776 : 0 : if ((_q160 == _q40 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q40, 0) && types_match (_q160, _q40)))
18777 : : {
18778 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
18779 : : {
18780 : 0 : {
18781 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q80, _q101 };
18782 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
18783 : : )
18784 : : {
18785 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
18786 : : )
18787 : : {
18788 : 0 : {
18789 : 0 : res_ops[0] = captures[0];
18790 : 0 : res_ops[1] = captures[1];
18791 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
18792 : 0 : return true;
18793 : : }
18794 : : }
18795 : : }
18796 : : }
18797 : : }
18798 : : }
18799 : : }
18800 : : }
18801 : : }
18802 : : }
18803 : : break;
18804 : : }
18805 : : default:;
18806 : : }
18807 : : }
18808 : : }
18809 : : }
18810 : 0 : break;
18811 : : }
18812 : : default:;
18813 : : }
18814 : : }
18815 : : break;
18816 : : default:;
18817 : : }
18818 : : }
18819 : : }
18820 : 0 : break;
18821 : : }
18822 : : default:;
18823 : : }
18824 : : }
18825 : : break;
18826 : : default:;
18827 : : }
18828 : : break;
18829 : : }
18830 : : default:;
18831 : : }
18832 : : }
18833 : : break;
18834 : : default:;
18835 : : }
18836 : : break;
18837 : : }
18838 : 0 : default:;
18839 : : }
18840 : 0 : switch (TREE_CODE (_q40))
18841 : : {
18842 : 0 : case INTEGER_CST:
18843 : 0 : {
18844 : 0 : switch (TREE_CODE (_q31))
18845 : : {
18846 : 0 : case SSA_NAME:
18847 : 0 : if (gimple *_d4 = get_def (valueize, _q31))
18848 : : {
18849 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
18850 : 0 : switch (gimple_assign_rhs_code (_a4))
18851 : : {
18852 : 0 : case BIT_NOT_EXPR:
18853 : 0 : {
18854 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
18855 : 0 : _q70 = do_valueize (valueize, _q70);
18856 : 0 : switch (TREE_CODE (_q70))
18857 : : {
18858 : 0 : case SSA_NAME:
18859 : 0 : if (gimple *_d5 = get_def (valueize, _q70))
18860 : : {
18861 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
18862 : 0 : switch (gimple_assign_rhs_code (_a5))
18863 : : {
18864 : 0 : case BIT_XOR_EXPR:
18865 : 0 : {
18866 : 0 : tree _q80 = gimple_assign_rhs1 (_a5);
18867 : 0 : _q80 = do_valueize (valueize, _q80);
18868 : 0 : tree _q81 = gimple_assign_rhs2 (_a5);
18869 : 0 : _q81 = do_valueize (valueize, _q81);
18870 : 0 : if (tree_swap_operands_p (_q80, _q81))
18871 : 0 : std::swap (_q80, _q81);
18872 : 0 : if ((_q80 == _q41 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q41, 0) && types_match (_q80, _q41)))
18873 : : {
18874 : 0 : {
18875 : 0 : tree _q81_pops[1];
18876 : 0 : if (gimple_nop_convert (_q81, _q81_pops, valueize))
18877 : : {
18878 : 0 : tree _q100 = _q81_pops[0];
18879 : 0 : switch (TREE_CODE (_q100))
18880 : : {
18881 : 0 : case SSA_NAME:
18882 : 0 : if (gimple *_d6 = get_def (valueize, _q100))
18883 : : {
18884 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
18885 : 0 : switch (gimple_assign_rhs_code (_a6))
18886 : : {
18887 : 0 : case PLUS_EXPR:
18888 : 0 : {
18889 : 0 : tree _q110 = gimple_assign_rhs1 (_a6);
18890 : 0 : _q110 = do_valueize (valueize, _q110);
18891 : 0 : tree _q111 = gimple_assign_rhs2 (_a6);
18892 : 0 : _q111 = do_valueize (valueize, _q111);
18893 : 0 : if (tree_swap_operands_p (_q110, _q111))
18894 : 0 : std::swap (_q110, _q111);
18895 : 0 : {
18896 : 0 : tree _q110_pops[1];
18897 : 0 : if (gimple_nop_convert (_q110, _q110_pops, valueize))
18898 : : {
18899 : 0 : tree _q120 = _q110_pops[0];
18900 : 0 : if ((_q120 == _q41 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q41, 0) && types_match (_q120, _q41)))
18901 : : {
18902 : 0 : switch (TREE_CODE (_q111))
18903 : : {
18904 : 0 : case INTEGER_CST:
18905 : 0 : {
18906 : 0 : if (integer_zerop (_q21))
18907 : : {
18908 : 0 : {
18909 : 0 : tree _p1_pops[1];
18910 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
18911 : : {
18912 : 0 : tree _q160 = _p1_pops[0];
18913 : 0 : if ((_q160 == _q41 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q41, 0) && types_match (_q160, _q41)))
18914 : : {
18915 : 0 : if ((_p2 == _q81 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q81, 0) && types_match (_p2, _q81)))
18916 : : {
18917 : 0 : {
18918 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q40, _q81, _q111 };
18919 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
18920 : : )
18921 : : {
18922 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
18923 : : )
18924 : : {
18925 : 0 : {
18926 : 0 : res_ops[0] = captures[0];
18927 : 0 : res_ops[1] = captures[1];
18928 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
18929 : 0 : return true;
18930 : : }
18931 : : }
18932 : : }
18933 : : }
18934 : : }
18935 : : }
18936 : : }
18937 : : }
18938 : : }
18939 : : break;
18940 : : }
18941 : : default:;
18942 : : }
18943 : : }
18944 : : }
18945 : : }
18946 : 0 : break;
18947 : : }
18948 : : default:;
18949 : : }
18950 : : }
18951 : : break;
18952 : : default:;
18953 : : }
18954 : : }
18955 : : }
18956 : : }
18957 : 0 : {
18958 : 0 : tree _q80_pops[1];
18959 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
18960 : : {
18961 : 0 : tree _q90 = _q80_pops[0];
18962 : 0 : switch (TREE_CODE (_q90))
18963 : : {
18964 : 0 : case SSA_NAME:
18965 : 0 : if (gimple *_d6 = get_def (valueize, _q90))
18966 : : {
18967 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
18968 : 0 : switch (gimple_assign_rhs_code (_a6))
18969 : : {
18970 : 0 : case PLUS_EXPR:
18971 : 0 : {
18972 : 0 : tree _q100 = gimple_assign_rhs1 (_a6);
18973 : 0 : _q100 = do_valueize (valueize, _q100);
18974 : 0 : tree _q101 = gimple_assign_rhs2 (_a6);
18975 : 0 : _q101 = do_valueize (valueize, _q101);
18976 : 0 : if (tree_swap_operands_p (_q100, _q101))
18977 : 0 : std::swap (_q100, _q101);
18978 : 0 : {
18979 : 0 : tree _q100_pops[1];
18980 : 0 : if (gimple_nop_convert (_q100, _q100_pops, valueize))
18981 : : {
18982 : 0 : tree _q110 = _q100_pops[0];
18983 : 0 : if ((_q110 == _q41 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q41, 0) && types_match (_q110, _q41)))
18984 : : {
18985 : 0 : switch (TREE_CODE (_q101))
18986 : : {
18987 : 0 : case INTEGER_CST:
18988 : 0 : {
18989 : 0 : if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
18990 : : {
18991 : 0 : if (integer_zerop (_q21))
18992 : : {
18993 : 0 : {
18994 : 0 : tree _p1_pops[1];
18995 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
18996 : : {
18997 : 0 : tree _q160 = _p1_pops[0];
18998 : 0 : if ((_q160 == _q41 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q41, 0) && types_match (_q160, _q41)))
18999 : : {
19000 : 0 : if ((_p2 == _q80 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q80, 0) && types_match (_p2, _q80)))
19001 : : {
19002 : 0 : {
19003 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q40, _q80, _q101 };
19004 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
19005 : : )
19006 : : {
19007 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
19008 : : )
19009 : : {
19010 : 0 : {
19011 : 0 : res_ops[0] = captures[0];
19012 : 0 : res_ops[1] = captures[1];
19013 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
19014 : 0 : return true;
19015 : : }
19016 : : }
19017 : : }
19018 : : }
19019 : : }
19020 : : }
19021 : : }
19022 : : }
19023 : : }
19024 : : }
19025 : : break;
19026 : : }
19027 : : default:;
19028 : : }
19029 : : }
19030 : : }
19031 : : }
19032 : 0 : break;
19033 : : }
19034 : : default:;
19035 : : }
19036 : : }
19037 : : break;
19038 : : default:;
19039 : : }
19040 : : }
19041 : : }
19042 : 0 : break;
19043 : : }
19044 : : default:;
19045 : : }
19046 : : }
19047 : : break;
19048 : : default:;
19049 : : }
19050 : : break;
19051 : : }
19052 : : default:;
19053 : : }
19054 : : }
19055 : : break;
19056 : : default:;
19057 : : }
19058 : : break;
19059 : : }
19060 : : default:;
19061 : : }
19062 : 3323440 : break;
19063 : : }
19064 : 0 : case BIT_NOT_EXPR:
19065 : 0 : {
19066 : 0 : tree _q40 = gimple_assign_rhs1 (_a3);
19067 : 0 : _q40 = do_valueize (valueize, _q40);
19068 : 0 : switch (TREE_CODE (_q40))
19069 : : {
19070 : 0 : case SSA_NAME:
19071 : 0 : if (gimple *_d4 = get_def (valueize, _q40))
19072 : : {
19073 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
19074 : 0 : switch (gimple_assign_rhs_code (_a4))
19075 : : {
19076 : 0 : case BIT_XOR_EXPR:
19077 : 0 : {
19078 : 0 : tree _q50 = gimple_assign_rhs1 (_a4);
19079 : 0 : _q50 = do_valueize (valueize, _q50);
19080 : 0 : tree _q51 = gimple_assign_rhs2 (_a4);
19081 : 0 : _q51 = do_valueize (valueize, _q51);
19082 : 0 : if (tree_swap_operands_p (_q50, _q51))
19083 : 0 : std::swap (_q50, _q51);
19084 : 0 : {
19085 : 0 : tree _q51_pops[1];
19086 : 0 : if (gimple_nop_convert (_q51, _q51_pops, valueize))
19087 : : {
19088 : 0 : tree _q70 = _q51_pops[0];
19089 : 0 : switch (TREE_CODE (_q70))
19090 : : {
19091 : 0 : case SSA_NAME:
19092 : 0 : if (gimple *_d5 = get_def (valueize, _q70))
19093 : : {
19094 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
19095 : 0 : switch (gimple_assign_rhs_code (_a5))
19096 : : {
19097 : 0 : case PLUS_EXPR:
19098 : 0 : {
19099 : 0 : tree _q80 = gimple_assign_rhs1 (_a5);
19100 : 0 : _q80 = do_valueize (valueize, _q80);
19101 : 0 : tree _q81 = gimple_assign_rhs2 (_a5);
19102 : 0 : _q81 = do_valueize (valueize, _q81);
19103 : 0 : if (tree_swap_operands_p (_q80, _q81))
19104 : 0 : std::swap (_q80, _q81);
19105 : 0 : {
19106 : 0 : tree _q80_pops[1];
19107 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
19108 : : {
19109 : 0 : tree _q90 = _q80_pops[0];
19110 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
19111 : : {
19112 : 0 : switch (TREE_CODE (_q81))
19113 : : {
19114 : 0 : case INTEGER_CST:
19115 : 0 : {
19116 : 0 : switch (TREE_CODE (_q31))
19117 : : {
19118 : 0 : case SSA_NAME:
19119 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
19120 : : {
19121 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
19122 : 0 : switch (gimple_assign_rhs_code (_a6))
19123 : : {
19124 : 0 : case BIT_XOR_EXPR:
19125 : 0 : {
19126 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
19127 : 0 : _q120 = do_valueize (valueize, _q120);
19128 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
19129 : 0 : _q121 = do_valueize (valueize, _q121);
19130 : 0 : if (tree_swap_operands_p (_q120, _q121))
19131 : 0 : std::swap (_q120, _q121);
19132 : 0 : if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
19133 : : {
19134 : 0 : switch (TREE_CODE (_q121))
19135 : : {
19136 : 0 : case INTEGER_CST:
19137 : 0 : {
19138 : 0 : if (integer_zerop (_q21))
19139 : : {
19140 : 0 : {
19141 : 0 : tree _p1_pops[1];
19142 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
19143 : : {
19144 : 0 : tree _q160 = _p1_pops[0];
19145 : 0 : if ((_q160 == _q50 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q50, 0) && types_match (_q160, _q50)))
19146 : : {
19147 : 0 : if ((_p2 == _q51 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q51, 0) && types_match (_p2, _q51)))
19148 : : {
19149 : 0 : {
19150 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q121, _q51, _q81 };
19151 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
19152 : : )
19153 : : {
19154 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
19155 : : )
19156 : : {
19157 : 0 : {
19158 : 0 : res_ops[0] = captures[0];
19159 : 0 : res_ops[1] = captures[1];
19160 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
19161 : 0 : return true;
19162 : : }
19163 : : }
19164 : : }
19165 : : }
19166 : : }
19167 : : }
19168 : : }
19169 : : }
19170 : : }
19171 : : break;
19172 : : }
19173 : : default:;
19174 : : }
19175 : : }
19176 : 0 : break;
19177 : : }
19178 : : default:;
19179 : : }
19180 : : }
19181 : : break;
19182 : : default:;
19183 : : }
19184 : : break;
19185 : : }
19186 : : default:;
19187 : : }
19188 : : }
19189 : : }
19190 : : }
19191 : 0 : break;
19192 : : }
19193 : : default:;
19194 : : }
19195 : : }
19196 : : break;
19197 : : default:;
19198 : : }
19199 : : }
19200 : : }
19201 : 0 : {
19202 : 0 : tree _q50_pops[1];
19203 : 0 : if (gimple_nop_convert (_q50, _q50_pops, valueize))
19204 : : {
19205 : 0 : tree _q60 = _q50_pops[0];
19206 : 0 : switch (TREE_CODE (_q60))
19207 : : {
19208 : 0 : case SSA_NAME:
19209 : 0 : if (gimple *_d5 = get_def (valueize, _q60))
19210 : : {
19211 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
19212 : 0 : switch (gimple_assign_rhs_code (_a5))
19213 : : {
19214 : 0 : case PLUS_EXPR:
19215 : 0 : {
19216 : 0 : tree _q70 = gimple_assign_rhs1 (_a5);
19217 : 0 : _q70 = do_valueize (valueize, _q70);
19218 : 0 : tree _q71 = gimple_assign_rhs2 (_a5);
19219 : 0 : _q71 = do_valueize (valueize, _q71);
19220 : 0 : if (tree_swap_operands_p (_q70, _q71))
19221 : 0 : std::swap (_q70, _q71);
19222 : 0 : {
19223 : 0 : tree _q70_pops[1];
19224 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
19225 : : {
19226 : 0 : tree _q80 = _q70_pops[0];
19227 : 0 : switch (TREE_CODE (_q71))
19228 : : {
19229 : 0 : case INTEGER_CST:
19230 : 0 : {
19231 : 0 : if ((_q51 == _q80 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q80, 0) && types_match (_q51, _q80)))
19232 : : {
19233 : 0 : switch (TREE_CODE (_q31))
19234 : : {
19235 : 0 : case SSA_NAME:
19236 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
19237 : : {
19238 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
19239 : 0 : switch (gimple_assign_rhs_code (_a6))
19240 : : {
19241 : 0 : case BIT_XOR_EXPR:
19242 : 0 : {
19243 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
19244 : 0 : _q120 = do_valueize (valueize, _q120);
19245 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
19246 : 0 : _q121 = do_valueize (valueize, _q121);
19247 : 0 : if (tree_swap_operands_p (_q120, _q121))
19248 : 0 : std::swap (_q120, _q121);
19249 : 0 : if ((_q120 == _q80 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q80, 0) && types_match (_q120, _q80)))
19250 : : {
19251 : 0 : switch (TREE_CODE (_q121))
19252 : : {
19253 : 0 : case INTEGER_CST:
19254 : 0 : {
19255 : 0 : if (integer_zerop (_q21))
19256 : : {
19257 : 0 : {
19258 : 0 : tree _p1_pops[1];
19259 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
19260 : : {
19261 : 0 : tree _q160 = _p1_pops[0];
19262 : 0 : if ((_q160 == _q80 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q80, 0) && types_match (_q160, _q80)))
19263 : : {
19264 : 0 : if ((_p2 == _q50 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q50, 0) && types_match (_p2, _q50)))
19265 : : {
19266 : 0 : {
19267 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q80, _q121, _q50, _q71 };
19268 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
19269 : : )
19270 : : {
19271 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
19272 : : )
19273 : : {
19274 : 0 : {
19275 : 0 : res_ops[0] = captures[0];
19276 : 0 : res_ops[1] = captures[1];
19277 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
19278 : 0 : return true;
19279 : : }
19280 : : }
19281 : : }
19282 : : }
19283 : : }
19284 : : }
19285 : : }
19286 : : }
19287 : : }
19288 : : break;
19289 : : }
19290 : : default:;
19291 : : }
19292 : : }
19293 : 0 : switch (TREE_CODE (_q120))
19294 : : {
19295 : 0 : case INTEGER_CST:
19296 : 0 : {
19297 : 0 : if ((_q121 == _q80 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q80, 0) && types_match (_q121, _q80)))
19298 : : {
19299 : 0 : if (integer_zerop (_q21))
19300 : : {
19301 : 0 : {
19302 : 0 : tree _p1_pops[1];
19303 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
19304 : : {
19305 : 0 : tree _q160 = _p1_pops[0];
19306 : 0 : if ((_q160 == _q80 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q80, 0) && types_match (_q160, _q80)))
19307 : : {
19308 : 0 : if ((_p2 == _q50 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q50, 0) && types_match (_p2, _q50)))
19309 : : {
19310 : 0 : {
19311 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q80, _q120, _q50, _q71 };
19312 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
19313 : : )
19314 : : {
19315 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
19316 : : )
19317 : : {
19318 : 0 : {
19319 : 0 : res_ops[0] = captures[0];
19320 : 0 : res_ops[1] = captures[1];
19321 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
19322 : 0 : return true;
19323 : : }
19324 : : }
19325 : : }
19326 : : }
19327 : : }
19328 : : }
19329 : : }
19330 : : }
19331 : : }
19332 : : }
19333 : : break;
19334 : : }
19335 : : default:;
19336 : : }
19337 : 0 : break;
19338 : : }
19339 : : default:;
19340 : : }
19341 : : }
19342 : : break;
19343 : : default:;
19344 : : }
19345 : : }
19346 : : break;
19347 : : }
19348 : : default:;
19349 : : }
19350 : : }
19351 : : }
19352 : 0 : break;
19353 : : }
19354 : : default:;
19355 : : }
19356 : : }
19357 : : break;
19358 : : default:;
19359 : : }
19360 : : }
19361 : : }
19362 : 0 : {
19363 : 0 : tree _q51_pops[1];
19364 : 0 : if (gimple_nop_convert (_q51, _q51_pops, valueize))
19365 : : {
19366 : 0 : tree _q70 = _q51_pops[0];
19367 : 0 : switch (TREE_CODE (_q70))
19368 : : {
19369 : 0 : case SSA_NAME:
19370 : 0 : if (gimple *_d5 = get_def (valueize, _q70))
19371 : : {
19372 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
19373 : 0 : switch (gimple_assign_rhs_code (_a5))
19374 : : {
19375 : 0 : case PLUS_EXPR:
19376 : 0 : {
19377 : 0 : tree _q80 = gimple_assign_rhs1 (_a5);
19378 : 0 : _q80 = do_valueize (valueize, _q80);
19379 : 0 : tree _q81 = gimple_assign_rhs2 (_a5);
19380 : 0 : _q81 = do_valueize (valueize, _q81);
19381 : 0 : if (tree_swap_operands_p (_q80, _q81))
19382 : 0 : std::swap (_q80, _q81);
19383 : 0 : {
19384 : 0 : tree _q80_pops[1];
19385 : 0 : if (gimple_nop_convert (_q80, _q80_pops, valueize))
19386 : : {
19387 : 0 : tree _q90 = _q80_pops[0];
19388 : 0 : if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
19389 : : {
19390 : 0 : switch (TREE_CODE (_q81))
19391 : : {
19392 : 0 : case INTEGER_CST:
19393 : 0 : {
19394 : 0 : switch (TREE_CODE (_q31))
19395 : : {
19396 : 0 : case SSA_NAME:
19397 : 0 : if (gimple *_d6 = get_def (valueize, _q31))
19398 : : {
19399 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
19400 : 0 : switch (gimple_assign_rhs_code (_a6))
19401 : : {
19402 : 0 : case BIT_XOR_EXPR:
19403 : 0 : {
19404 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
19405 : 0 : _q120 = do_valueize (valueize, _q120);
19406 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
19407 : 0 : _q121 = do_valueize (valueize, _q121);
19408 : 0 : if (tree_swap_operands_p (_q120, _q121))
19409 : 0 : std::swap (_q120, _q121);
19410 : 0 : switch (TREE_CODE (_q120))
19411 : : {
19412 : 0 : case INTEGER_CST:
19413 : 0 : {
19414 : 0 : if ((_q121 == _q50 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q50, 0) && types_match (_q121, _q50)))
19415 : : {
19416 : 0 : if (integer_zerop (_q21))
19417 : : {
19418 : 0 : {
19419 : 0 : tree _p1_pops[1];
19420 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
19421 : : {
19422 : 0 : tree _q160 = _p1_pops[0];
19423 : 0 : if ((_q160 == _q50 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q50, 0) && types_match (_q160, _q50)))
19424 : : {
19425 : 0 : if ((_p2 == _q51 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q51, 0) && types_match (_p2, _q51)))
19426 : : {
19427 : 0 : {
19428 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q120, _q51, _q81 };
19429 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
19430 : : )
19431 : : {
19432 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
19433 : : )
19434 : : {
19435 : 0 : {
19436 : 0 : res_ops[0] = captures[0];
19437 : 0 : res_ops[1] = captures[1];
19438 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, false);
19439 : 0 : return true;
19440 : : }
19441 : : }
19442 : : }
19443 : : }
19444 : : }
19445 : : }
19446 : : }
19447 : : }
19448 : : }
19449 : : }
19450 : : break;
19451 : : }
19452 : : default:;
19453 : : }
19454 : 0 : break;
19455 : : }
19456 : : default:;
19457 : : }
19458 : : }
19459 : : break;
19460 : : default:;
19461 : : }
19462 : : break;
19463 : : }
19464 : : default:;
19465 : : }
19466 : : }
19467 : : }
19468 : : }
19469 : 0 : break;
19470 : : }
19471 : : default:;
19472 : : }
19473 : : }
19474 : : break;
19475 : : default:;
19476 : : }
19477 : : }
19478 : : }
19479 : 0 : break;
19480 : : }
19481 : : default:;
19482 : : }
19483 : : }
19484 : : break;
19485 : : default:;
19486 : : }
19487 : : break;
19488 : : }
19489 : : default:;
19490 : : }
19491 : : }
19492 : : break;
19493 : : default:;
19494 : : }
19495 : 3323440 : break;
19496 : : }
19497 : : default:;
19498 : : }
19499 : : }
19500 : : break;
19501 : : default:;
19502 : : }
19503 : : }
19504 : : }
19505 : : break;
19506 : : }
19507 : 0 : case BIT_AND_EXPR:
19508 : 0 : {
19509 : 0 : tree _q20 = TREE_OPERAND (_p0, 0);
19510 : 0 : if ((TREE_CODE (_q20) == SSA_NAME
19511 : 0 : || is_gimple_min_invariant (_q20)))
19512 : : {
19513 : 0 : _q20 = do_valueize (valueize, _q20);
19514 : 0 : tree _q21 = TREE_OPERAND (_p0, 1);
19515 : 0 : if ((TREE_CODE (_q21) == SSA_NAME
19516 : 0 : || is_gimple_min_invariant (_q21)))
19517 : : {
19518 : 0 : _q21 = do_valueize (valueize, _q21);
19519 : 0 : if (tree_swap_operands_p (_q20, _q21))
19520 : 0 : std::swap (_q20, _q21);
19521 : 0 : switch (TREE_CODE (_q20))
19522 : : {
19523 : 0 : case SSA_NAME:
19524 : 0 : if (gimple *_d2 = get_def (valueize, _q20))
19525 : : {
19526 : 0 : if (gassign *_a2 = dyn_cast <gassign *> (_d2))
19527 : 0 : switch (gimple_assign_rhs_code (_a2))
19528 : : {
19529 : 0 : case LT_EXPR:
19530 : 0 : {
19531 : 0 : tree _q30 = gimple_assign_rhs1 (_a2);
19532 : 0 : _q30 = do_valueize (valueize, _q30);
19533 : 0 : tree _q31 = gimple_assign_rhs2 (_a2);
19534 : 0 : _q31 = do_valueize (valueize, _q31);
19535 : 0 : switch (TREE_CODE (_q30))
19536 : : {
19537 : 0 : case SSA_NAME:
19538 : 0 : if (gimple *_d3 = get_def (valueize, _q30))
19539 : : {
19540 : 0 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
19541 : 0 : switch (gimple_assign_rhs_code (_a3))
19542 : : {
19543 : 0 : case BIT_XOR_EXPR:
19544 : 0 : {
19545 : 0 : tree _q40 = gimple_assign_rhs1 (_a3);
19546 : 0 : _q40 = do_valueize (valueize, _q40);
19547 : 0 : tree _q41 = gimple_assign_rhs2 (_a3);
19548 : 0 : _q41 = do_valueize (valueize, _q41);
19549 : 0 : if (tree_swap_operands_p (_q40, _q41))
19550 : 0 : std::swap (_q40, _q41);
19551 : 0 : {
19552 : 0 : tree _q41_pops[1];
19553 : 0 : if (gimple_nop_convert (_q41, _q41_pops, valueize))
19554 : : {
19555 : 0 : tree _q60 = _q41_pops[0];
19556 : 0 : switch (TREE_CODE (_q60))
19557 : : {
19558 : 0 : case SSA_NAME:
19559 : 0 : if (gimple *_d4 = get_def (valueize, _q60))
19560 : : {
19561 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
19562 : 0 : switch (gimple_assign_rhs_code (_a4))
19563 : : {
19564 : 0 : case PLUS_EXPR:
19565 : 0 : {
19566 : 0 : tree _q70 = gimple_assign_rhs1 (_a4);
19567 : 0 : _q70 = do_valueize (valueize, _q70);
19568 : 0 : tree _q71 = gimple_assign_rhs2 (_a4);
19569 : 0 : _q71 = do_valueize (valueize, _q71);
19570 : 0 : if (tree_swap_operands_p (_q70, _q71))
19571 : 0 : std::swap (_q70, _q71);
19572 : 0 : {
19573 : 0 : tree _q70_pops[1];
19574 : 0 : if (gimple_nop_convert (_q70, _q70_pops, valueize))
19575 : : {
19576 : 0 : tree _q80 = _q70_pops[0];
19577 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
19578 : : {
19579 : 0 : switch (TREE_CODE (_q71))
19580 : : {
19581 : 0 : case INTEGER_CST:
19582 : 0 : {
19583 : 0 : if (integer_zerop (_q31))
19584 : : {
19585 : 0 : switch (TREE_CODE (_q21))
19586 : : {
19587 : 0 : case SSA_NAME:
19588 : 0 : if (gimple *_d5 = get_def (valueize, _q21))
19589 : : {
19590 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
19591 : 0 : switch (gimple_assign_rhs_code (_a5))
19592 : : {
19593 : 0 : case GE_EXPR:
19594 : 0 : {
19595 : 0 : tree _q120 = gimple_assign_rhs1 (_a5);
19596 : 0 : _q120 = do_valueize (valueize, _q120);
19597 : 0 : tree _q121 = gimple_assign_rhs2 (_a5);
19598 : 0 : _q121 = do_valueize (valueize, _q121);
19599 : 0 : switch (TREE_CODE (_q120))
19600 : : {
19601 : 0 : case SSA_NAME:
19602 : 0 : if (gimple *_d6 = get_def (valueize, _q120))
19603 : : {
19604 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
19605 : 0 : switch (gimple_assign_rhs_code (_a6))
19606 : : {
19607 : 0 : case BIT_XOR_EXPR:
19608 : 0 : {
19609 : 0 : tree _q130 = gimple_assign_rhs1 (_a6);
19610 : 0 : _q130 = do_valueize (valueize, _q130);
19611 : 0 : tree _q131 = gimple_assign_rhs2 (_a6);
19612 : 0 : _q131 = do_valueize (valueize, _q131);
19613 : 0 : if (tree_swap_operands_p (_q130, _q131))
19614 : 0 : std::swap (_q130, _q131);
19615 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
19616 : : {
19617 : 0 : switch (TREE_CODE (_q131))
19618 : : {
19619 : 0 : case INTEGER_CST:
19620 : 0 : {
19621 : 0 : if (integer_zerop (_q121))
19622 : : {
19623 : 0 : {
19624 : 0 : tree _p1_pops[1];
19625 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
19626 : : {
19627 : 0 : tree _q170 = _p1_pops[0];
19628 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
19629 : : {
19630 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
19631 : : {
19632 : 0 : {
19633 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q131 };
19634 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
19635 : : )
19636 : : {
19637 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
19638 : : )
19639 : : {
19640 : 0 : {
19641 : 0 : res_ops[0] = captures[0];
19642 : 0 : res_ops[1] = captures[1];
19643 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
19644 : 0 : return true;
19645 : : }
19646 : : }
19647 : : }
19648 : : }
19649 : : }
19650 : : }
19651 : : }
19652 : : }
19653 : : }
19654 : : break;
19655 : : }
19656 : : default:;
19657 : : }
19658 : : }
19659 : 0 : switch (TREE_CODE (_q130))
19660 : : {
19661 : 0 : case INTEGER_CST:
19662 : 0 : {
19663 : 0 : if ((_q131 == _q40 && ! TREE_SIDE_EFFECTS (_q131)) || (operand_equal_p (_q131, _q40, 0) && types_match (_q131, _q40)))
19664 : : {
19665 : 0 : if (integer_zerop (_q121))
19666 : : {
19667 : 0 : {
19668 : 0 : tree _p1_pops[1];
19669 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
19670 : : {
19671 : 0 : tree _q170 = _p1_pops[0];
19672 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
19673 : : {
19674 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
19675 : : {
19676 : 0 : {
19677 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q71, _q41, _q130 };
19678 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
19679 : : )
19680 : : {
19681 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
19682 : : )
19683 : : {
19684 : 0 : {
19685 : 0 : res_ops[0] = captures[0];
19686 : 0 : res_ops[1] = captures[1];
19687 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
19688 : 0 : return true;
19689 : : }
19690 : : }
19691 : : }
19692 : : }
19693 : : }
19694 : : }
19695 : : }
19696 : : }
19697 : : }
19698 : : }
19699 : : break;
19700 : : }
19701 : : default:;
19702 : : }
19703 : 0 : break;
19704 : : }
19705 : : default:;
19706 : : }
19707 : : }
19708 : : break;
19709 : : default:;
19710 : : }
19711 : : break;
19712 : : }
19713 : : default:;
19714 : : }
19715 : : }
19716 : : break;
19717 : : default:;
19718 : : }
19719 : : }
19720 : : break;
19721 : : }
19722 : 0 : default:;
19723 : : }
19724 : 0 : {
19725 : 0 : tree _q71_pops[1];
19726 : 0 : if (gimple_nop_convert (_q71, _q71_pops, valueize))
19727 : : {
19728 : 0 : tree _q100 = _q71_pops[0];
19729 : 0 : if (integer_zerop (_q31))
19730 : : {
19731 : 0 : switch (TREE_CODE (_q21))
19732 : : {
19733 : 0 : case SSA_NAME:
19734 : 0 : if (gimple *_d5 = get_def (valueize, _q21))
19735 : : {
19736 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
19737 : 0 : switch (gimple_assign_rhs_code (_a5))
19738 : : {
19739 : 0 : case GE_EXPR:
19740 : 0 : {
19741 : 0 : tree _q130 = gimple_assign_rhs1 (_a5);
19742 : 0 : _q130 = do_valueize (valueize, _q130);
19743 : 0 : tree _q131 = gimple_assign_rhs2 (_a5);
19744 : 0 : _q131 = do_valueize (valueize, _q131);
19745 : 0 : switch (TREE_CODE (_q130))
19746 : : {
19747 : 0 : case SSA_NAME:
19748 : 0 : if (gimple *_d6 = get_def (valueize, _q130))
19749 : : {
19750 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
19751 : 0 : switch (gimple_assign_rhs_code (_a6))
19752 : : {
19753 : 0 : case BIT_XOR_EXPR:
19754 : 0 : {
19755 : 0 : tree _q140 = gimple_assign_rhs1 (_a6);
19756 : 0 : _q140 = do_valueize (valueize, _q140);
19757 : 0 : tree _q141 = gimple_assign_rhs2 (_a6);
19758 : 0 : _q141 = do_valueize (valueize, _q141);
19759 : 0 : if (tree_swap_operands_p (_q140, _q141))
19760 : 0 : std::swap (_q140, _q141);
19761 : 0 : if ((_q140 == _q40 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q40, 0) && types_match (_q140, _q40)))
19762 : : {
19763 : 0 : if ((_q141 == _q100 && ! TREE_SIDE_EFFECTS (_q141)) || (operand_equal_p (_q141, _q100, 0) && types_match (_q141, _q100)))
19764 : : {
19765 : 0 : if (integer_zerop (_q131))
19766 : : {
19767 : 0 : {
19768 : 0 : tree _p1_pops[1];
19769 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
19770 : : {
19771 : 0 : tree _q180 = _p1_pops[0];
19772 : 0 : if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
19773 : : {
19774 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
19775 : : {
19776 : 0 : {
19777 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
19778 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
19779 : : )
19780 : : {
19781 : 0 : {
19782 : 0 : res_ops[0] = captures[0];
19783 : 0 : res_ops[1] = captures[1];
19784 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
19785 : 0 : return true;
19786 : : }
19787 : : }
19788 : : }
19789 : : }
19790 : : }
19791 : : }
19792 : : }
19793 : : }
19794 : : }
19795 : : }
19796 : 0 : if ((_q140 == _q100 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q100, 0) && types_match (_q140, _q100)))
19797 : : {
19798 : 0 : if ((_q141 == _q40 && ! TREE_SIDE_EFFECTS (_q141)) || (operand_equal_p (_q141, _q40, 0) && types_match (_q141, _q40)))
19799 : : {
19800 : 0 : if (integer_zerop (_q131))
19801 : : {
19802 : 0 : {
19803 : 0 : tree _p1_pops[1];
19804 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
19805 : : {
19806 : 0 : tree _q180 = _p1_pops[0];
19807 : 0 : if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
19808 : : {
19809 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
19810 : : {
19811 : 0 : {
19812 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
19813 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
19814 : : )
19815 : : {
19816 : 0 : {
19817 : 0 : res_ops[0] = captures[0];
19818 : 0 : res_ops[1] = captures[1];
19819 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
19820 : 0 : return true;
19821 : : }
19822 : : }
19823 : : }
19824 : : }
19825 : : }
19826 : : }
19827 : : }
19828 : : }
19829 : : }
19830 : : }
19831 : 0 : break;
19832 : : }
19833 : : default:;
19834 : : }
19835 : : }
19836 : : break;
19837 : : default:;
19838 : : }
19839 : : break;
19840 : : }
19841 : 0 : case BIT_NOT_EXPR:
19842 : 0 : {
19843 : 0 : tree _q130 = gimple_assign_rhs1 (_a5);
19844 : 0 : _q130 = do_valueize (valueize, _q130);
19845 : 0 : switch (TREE_CODE (_q130))
19846 : : {
19847 : 0 : case SSA_NAME:
19848 : 0 : if (gimple *_d6 = get_def (valueize, _q130))
19849 : : {
19850 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
19851 : 0 : switch (gimple_assign_rhs_code (_a6))
19852 : : {
19853 : 0 : case LT_EXPR:
19854 : 0 : {
19855 : 0 : tree _q140 = gimple_assign_rhs1 (_a6);
19856 : 0 : _q140 = do_valueize (valueize, _q140);
19857 : 0 : tree _q141 = gimple_assign_rhs2 (_a6);
19858 : 0 : _q141 = do_valueize (valueize, _q141);
19859 : 0 : switch (TREE_CODE (_q140))
19860 : : {
19861 : 0 : case SSA_NAME:
19862 : 0 : if (gimple *_d7 = get_def (valueize, _q140))
19863 : : {
19864 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
19865 : 0 : switch (gimple_assign_rhs_code (_a7))
19866 : : {
19867 : 0 : case BIT_XOR_EXPR:
19868 : 0 : {
19869 : 0 : tree _q150 = gimple_assign_rhs1 (_a7);
19870 : 0 : _q150 = do_valueize (valueize, _q150);
19871 : 0 : tree _q151 = gimple_assign_rhs2 (_a7);
19872 : 0 : _q151 = do_valueize (valueize, _q151);
19873 : 0 : if (tree_swap_operands_p (_q150, _q151))
19874 : 0 : std::swap (_q150, _q151);
19875 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
19876 : : {
19877 : 0 : if ((_q151 == _q100 && ! TREE_SIDE_EFFECTS (_q151)) || (operand_equal_p (_q151, _q100, 0) && types_match (_q151, _q100)))
19878 : : {
19879 : 0 : if (integer_zerop (_q141))
19880 : : {
19881 : 0 : {
19882 : 0 : tree _p1_pops[1];
19883 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
19884 : : {
19885 : 0 : tree _q190 = _p1_pops[0];
19886 : 0 : if ((_q190 == _q40 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q40, 0) && types_match (_q190, _q40)))
19887 : : {
19888 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
19889 : : {
19890 : 0 : {
19891 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
19892 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
19893 : : )
19894 : : {
19895 : 0 : {
19896 : 0 : res_ops[0] = captures[0];
19897 : 0 : res_ops[1] = captures[1];
19898 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
19899 : 0 : return true;
19900 : : }
19901 : : }
19902 : : }
19903 : : }
19904 : : }
19905 : : }
19906 : : }
19907 : : }
19908 : : }
19909 : : }
19910 : 0 : if ((_q150 == _q100 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q100, 0) && types_match (_q150, _q100)))
19911 : : {
19912 : 0 : if ((_q151 == _q40 && ! TREE_SIDE_EFFECTS (_q151)) || (operand_equal_p (_q151, _q40, 0) && types_match (_q151, _q40)))
19913 : : {
19914 : 0 : if (integer_zerop (_q141))
19915 : : {
19916 : 0 : {
19917 : 0 : tree _p1_pops[1];
19918 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
19919 : : {
19920 : 0 : tree _q190 = _p1_pops[0];
19921 : 0 : if ((_q190 == _q40 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q40, 0) && types_match (_q190, _q40)))
19922 : : {
19923 : 0 : if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
19924 : : {
19925 : 0 : {
19926 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
19927 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
19928 : : )
19929 : : {
19930 : 0 : {
19931 : 0 : res_ops[0] = captures[0];
19932 : 0 : res_ops[1] = captures[1];
19933 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
19934 : 0 : return true;
19935 : : }
19936 : : }
19937 : : }
19938 : : }
19939 : : }
19940 : : }
19941 : : }
19942 : : }
19943 : : }
19944 : : }
19945 : 0 : break;
19946 : : }
19947 : : default:;
19948 : : }
19949 : : }
19950 : : break;
19951 : : default:;
19952 : : }
19953 : : break;
19954 : : }
19955 : : default:;
19956 : : }
19957 : : }
19958 : : break;
19959 : : default:;
19960 : : }
19961 : : break;
19962 : : }
19963 : : default:;
19964 : : }
19965 : : }
19966 : : break;
19967 : : default:;
19968 : : }
19969 : : }
19970 : : }
19971 : : }
19972 : : }
19973 : : }
19974 : : }
19975 : 0 : break;
19976 : : }
19977 : : default:;
19978 : : }
19979 : : }
19980 : : break;
19981 : : default:;
19982 : : }
19983 : : }
19984 : : }
19985 : 0 : break;
19986 : : }
19987 : : default:;
19988 : : }
19989 : : }
19990 : : break;
19991 : : default:;
19992 : : }
19993 : : break;
19994 : : }
19995 : 0 : case GE_EXPR:
19996 : 0 : {
19997 : 0 : tree _q30 = gimple_assign_rhs1 (_a2);
19998 : 0 : _q30 = do_valueize (valueize, _q30);
19999 : 0 : tree _q31 = gimple_assign_rhs2 (_a2);
20000 : 0 : _q31 = do_valueize (valueize, _q31);
20001 : 0 : switch (TREE_CODE (_q30))
20002 : : {
20003 : 0 : case SSA_NAME:
20004 : 0 : if (gimple *_d3 = get_def (valueize, _q30))
20005 : : {
20006 : 0 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
20007 : 0 : switch (gimple_assign_rhs_code (_a3))
20008 : : {
20009 : 0 : case BIT_XOR_EXPR:
20010 : 0 : {
20011 : 0 : tree _q40 = gimple_assign_rhs1 (_a3);
20012 : 0 : _q40 = do_valueize (valueize, _q40);
20013 : 0 : tree _q41 = gimple_assign_rhs2 (_a3);
20014 : 0 : _q41 = do_valueize (valueize, _q41);
20015 : 0 : if (tree_swap_operands_p (_q40, _q41))
20016 : 0 : std::swap (_q40, _q41);
20017 : 0 : if (integer_zerop (_q31))
20018 : : {
20019 : 0 : switch (TREE_CODE (_q21))
20020 : : {
20021 : 0 : case SSA_NAME:
20022 : 0 : if (gimple *_d4 = get_def (valueize, _q21))
20023 : : {
20024 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
20025 : 0 : switch (gimple_assign_rhs_code (_a4))
20026 : : {
20027 : 0 : case LT_EXPR:
20028 : 0 : {
20029 : 0 : tree _q80 = gimple_assign_rhs1 (_a4);
20030 : 0 : _q80 = do_valueize (valueize, _q80);
20031 : 0 : tree _q81 = gimple_assign_rhs2 (_a4);
20032 : 0 : _q81 = do_valueize (valueize, _q81);
20033 : 0 : switch (TREE_CODE (_q80))
20034 : : {
20035 : 0 : case SSA_NAME:
20036 : 0 : if (gimple *_d5 = get_def (valueize, _q80))
20037 : : {
20038 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
20039 : 0 : switch (gimple_assign_rhs_code (_a5))
20040 : : {
20041 : 0 : case BIT_XOR_EXPR:
20042 : 0 : {
20043 : 0 : tree _q90 = gimple_assign_rhs1 (_a5);
20044 : 0 : _q90 = do_valueize (valueize, _q90);
20045 : 0 : tree _q91 = gimple_assign_rhs2 (_a5);
20046 : 0 : _q91 = do_valueize (valueize, _q91);
20047 : 0 : if (tree_swap_operands_p (_q90, _q91))
20048 : 0 : std::swap (_q90, _q91);
20049 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
20050 : : {
20051 : 0 : {
20052 : 0 : tree _q91_pops[1];
20053 : 0 : if (gimple_nop_convert (_q91, _q91_pops, valueize))
20054 : : {
20055 : 0 : tree _q110 = _q91_pops[0];
20056 : 0 : switch (TREE_CODE (_q110))
20057 : : {
20058 : 0 : case SSA_NAME:
20059 : 0 : if (gimple *_d6 = get_def (valueize, _q110))
20060 : : {
20061 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
20062 : 0 : switch (gimple_assign_rhs_code (_a6))
20063 : : {
20064 : 0 : case PLUS_EXPR:
20065 : 0 : {
20066 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
20067 : 0 : _q120 = do_valueize (valueize, _q120);
20068 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
20069 : 0 : _q121 = do_valueize (valueize, _q121);
20070 : 0 : if (tree_swap_operands_p (_q120, _q121))
20071 : 0 : std::swap (_q120, _q121);
20072 : 0 : {
20073 : 0 : tree _q120_pops[1];
20074 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
20075 : : {
20076 : 0 : tree _q130 = _q120_pops[0];
20077 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
20078 : : {
20079 : 0 : {
20080 : 0 : tree _q121_pops[1];
20081 : 0 : if (gimple_nop_convert (_q121, _q121_pops, valueize))
20082 : : {
20083 : 0 : tree _q150 = _q121_pops[0];
20084 : 0 : if ((_q150 == _q41 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q41, 0) && types_match (_q150, _q41)))
20085 : : {
20086 : 0 : if (integer_zerop (_q81))
20087 : : {
20088 : 0 : {
20089 : 0 : tree _p1_pops[1];
20090 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
20091 : : {
20092 : 0 : tree _q180 = _p1_pops[0];
20093 : 0 : if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
20094 : : {
20095 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
20096 : : {
20097 : 0 : {
20098 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q91 };
20099 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
20100 : : )
20101 : : {
20102 : 0 : {
20103 : 0 : res_ops[0] = captures[0];
20104 : 0 : res_ops[1] = captures[1];
20105 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
20106 : 0 : return true;
20107 : : }
20108 : : }
20109 : : }
20110 : : }
20111 : : }
20112 : : }
20113 : : }
20114 : : }
20115 : : }
20116 : : }
20117 : : }
20118 : : }
20119 : : }
20120 : : }
20121 : 0 : break;
20122 : : }
20123 : : default:;
20124 : : }
20125 : : }
20126 : : break;
20127 : : default:;
20128 : : }
20129 : : }
20130 : : }
20131 : : }
20132 : 0 : if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
20133 : : {
20134 : 0 : {
20135 : 0 : tree _q91_pops[1];
20136 : 0 : if (gimple_nop_convert (_q91, _q91_pops, valueize))
20137 : : {
20138 : 0 : tree _q110 = _q91_pops[0];
20139 : 0 : switch (TREE_CODE (_q110))
20140 : : {
20141 : 0 : case SSA_NAME:
20142 : 0 : if (gimple *_d6 = get_def (valueize, _q110))
20143 : : {
20144 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
20145 : 0 : switch (gimple_assign_rhs_code (_a6))
20146 : : {
20147 : 0 : case PLUS_EXPR:
20148 : 0 : {
20149 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
20150 : 0 : _q120 = do_valueize (valueize, _q120);
20151 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
20152 : 0 : _q121 = do_valueize (valueize, _q121);
20153 : 0 : if (tree_swap_operands_p (_q120, _q121))
20154 : 0 : std::swap (_q120, _q121);
20155 : 0 : {
20156 : 0 : tree _q120_pops[1];
20157 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
20158 : : {
20159 : 0 : tree _q130 = _q120_pops[0];
20160 : 0 : if ((_q130 == _q41 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q41, 0) && types_match (_q130, _q41)))
20161 : : {
20162 : 0 : {
20163 : 0 : tree _q121_pops[1];
20164 : 0 : if (gimple_nop_convert (_q121, _q121_pops, valueize))
20165 : : {
20166 : 0 : tree _q150 = _q121_pops[0];
20167 : 0 : if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
20168 : : {
20169 : 0 : if (integer_zerop (_q81))
20170 : : {
20171 : 0 : {
20172 : 0 : tree _p1_pops[1];
20173 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
20174 : : {
20175 : 0 : tree _q180 = _p1_pops[0];
20176 : 0 : if ((_q180 == _q41 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q41, 0) && types_match (_q180, _q41)))
20177 : : {
20178 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
20179 : : {
20180 : 0 : {
20181 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q91 };
20182 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
20183 : : )
20184 : : {
20185 : 0 : {
20186 : 0 : res_ops[0] = captures[0];
20187 : 0 : res_ops[1] = captures[1];
20188 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 78, __FILE__, __LINE__, false);
20189 : 0 : return true;
20190 : : }
20191 : : }
20192 : : }
20193 : : }
20194 : : }
20195 : : }
20196 : : }
20197 : : }
20198 : : }
20199 : : }
20200 : : }
20201 : : }
20202 : : }
20203 : : }
20204 : 0 : break;
20205 : : }
20206 : : default:;
20207 : : }
20208 : : }
20209 : : break;
20210 : : default:;
20211 : : }
20212 : : }
20213 : : }
20214 : : }
20215 : 0 : break;
20216 : : }
20217 : : default:;
20218 : : }
20219 : : }
20220 : : break;
20221 : : default:;
20222 : : }
20223 : : break;
20224 : : }
20225 : : default:;
20226 : : }
20227 : : }
20228 : : break;
20229 : : default:;
20230 : : }
20231 : : }
20232 : 0 : switch (TREE_CODE (_q41))
20233 : : {
20234 : 0 : case INTEGER_CST:
20235 : 0 : {
20236 : 0 : if (integer_zerop (_q31))
20237 : : {
20238 : 0 : switch (TREE_CODE (_q21))
20239 : : {
20240 : 0 : case SSA_NAME:
20241 : 0 : if (gimple *_d4 = get_def (valueize, _q21))
20242 : : {
20243 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
20244 : 0 : switch (gimple_assign_rhs_code (_a4))
20245 : : {
20246 : 0 : case LT_EXPR:
20247 : 0 : {
20248 : 0 : tree _q80 = gimple_assign_rhs1 (_a4);
20249 : 0 : _q80 = do_valueize (valueize, _q80);
20250 : 0 : tree _q81 = gimple_assign_rhs2 (_a4);
20251 : 0 : _q81 = do_valueize (valueize, _q81);
20252 : 0 : switch (TREE_CODE (_q80))
20253 : : {
20254 : 0 : case SSA_NAME:
20255 : 0 : if (gimple *_d5 = get_def (valueize, _q80))
20256 : : {
20257 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
20258 : 0 : switch (gimple_assign_rhs_code (_a5))
20259 : : {
20260 : 0 : case BIT_XOR_EXPR:
20261 : 0 : {
20262 : 0 : tree _q90 = gimple_assign_rhs1 (_a5);
20263 : 0 : _q90 = do_valueize (valueize, _q90);
20264 : 0 : tree _q91 = gimple_assign_rhs2 (_a5);
20265 : 0 : _q91 = do_valueize (valueize, _q91);
20266 : 0 : if (tree_swap_operands_p (_q90, _q91))
20267 : 0 : std::swap (_q90, _q91);
20268 : 0 : if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
20269 : : {
20270 : 0 : {
20271 : 0 : tree _q91_pops[1];
20272 : 0 : if (gimple_nop_convert (_q91, _q91_pops, valueize))
20273 : : {
20274 : 0 : tree _q110 = _q91_pops[0];
20275 : 0 : switch (TREE_CODE (_q110))
20276 : : {
20277 : 0 : case SSA_NAME:
20278 : 0 : if (gimple *_d6 = get_def (valueize, _q110))
20279 : : {
20280 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
20281 : 0 : switch (gimple_assign_rhs_code (_a6))
20282 : : {
20283 : 0 : case PLUS_EXPR:
20284 : 0 : {
20285 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
20286 : 0 : _q120 = do_valueize (valueize, _q120);
20287 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
20288 : 0 : _q121 = do_valueize (valueize, _q121);
20289 : 0 : if (tree_swap_operands_p (_q120, _q121))
20290 : 0 : std::swap (_q120, _q121);
20291 : 0 : {
20292 : 0 : tree _q120_pops[1];
20293 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
20294 : : {
20295 : 0 : tree _q130 = _q120_pops[0];
20296 : 0 : if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
20297 : : {
20298 : 0 : switch (TREE_CODE (_q121))
20299 : : {
20300 : 0 : case INTEGER_CST:
20301 : 0 : {
20302 : 0 : if (integer_zerop (_q81))
20303 : : {
20304 : 0 : {
20305 : 0 : tree _p1_pops[1];
20306 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
20307 : : {
20308 : 0 : tree _q170 = _p1_pops[0];
20309 : 0 : if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
20310 : : {
20311 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
20312 : : {
20313 : 0 : {
20314 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q121, _q91, _q41 };
20315 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
20316 : : )
20317 : : {
20318 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
20319 : : )
20320 : : {
20321 : 0 : {
20322 : 0 : res_ops[0] = captures[0];
20323 : 0 : res_ops[1] = captures[1];
20324 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
20325 : 0 : return true;
20326 : : }
20327 : : }
20328 : : }
20329 : : }
20330 : : }
20331 : : }
20332 : : }
20333 : : }
20334 : : }
20335 : : break;
20336 : : }
20337 : : default:;
20338 : : }
20339 : : }
20340 : : }
20341 : : }
20342 : 0 : break;
20343 : : }
20344 : : default:;
20345 : : }
20346 : : }
20347 : : break;
20348 : : default:;
20349 : : }
20350 : : }
20351 : : }
20352 : : }
20353 : 0 : break;
20354 : : }
20355 : : default:;
20356 : : }
20357 : : }
20358 : : break;
20359 : : default:;
20360 : : }
20361 : : break;
20362 : : }
20363 : : default:;
20364 : : }
20365 : : }
20366 : : break;
20367 : : default:;
20368 : : }
20369 : : }
20370 : : break;
20371 : : }
20372 : 0 : default:;
20373 : : }
20374 : 0 : switch (TREE_CODE (_q40))
20375 : : {
20376 : 0 : case INTEGER_CST:
20377 : 0 : {
20378 : 0 : if (integer_zerop (_q31))
20379 : : {
20380 : 0 : switch (TREE_CODE (_q21))
20381 : : {
20382 : 0 : case SSA_NAME:
20383 : 0 : if (gimple *_d4 = get_def (valueize, _q21))
20384 : : {
20385 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
20386 : 0 : switch (gimple_assign_rhs_code (_a4))
20387 : : {
20388 : 0 : case LT_EXPR:
20389 : 0 : {
20390 : 0 : tree _q80 = gimple_assign_rhs1 (_a4);
20391 : 0 : _q80 = do_valueize (valueize, _q80);
20392 : 0 : tree _q81 = gimple_assign_rhs2 (_a4);
20393 : 0 : _q81 = do_valueize (valueize, _q81);
20394 : 0 : switch (TREE_CODE (_q80))
20395 : : {
20396 : 0 : case SSA_NAME:
20397 : 0 : if (gimple *_d5 = get_def (valueize, _q80))
20398 : : {
20399 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
20400 : 0 : switch (gimple_assign_rhs_code (_a5))
20401 : : {
20402 : 0 : case BIT_XOR_EXPR:
20403 : 0 : {
20404 : 0 : tree _q90 = gimple_assign_rhs1 (_a5);
20405 : 0 : _q90 = do_valueize (valueize, _q90);
20406 : 0 : tree _q91 = gimple_assign_rhs2 (_a5);
20407 : 0 : _q91 = do_valueize (valueize, _q91);
20408 : 0 : if (tree_swap_operands_p (_q90, _q91))
20409 : 0 : std::swap (_q90, _q91);
20410 : 0 : if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
20411 : : {
20412 : 0 : {
20413 : 0 : tree _q91_pops[1];
20414 : 0 : if (gimple_nop_convert (_q91, _q91_pops, valueize))
20415 : : {
20416 : 0 : tree _q110 = _q91_pops[0];
20417 : 0 : switch (TREE_CODE (_q110))
20418 : : {
20419 : 0 : case SSA_NAME:
20420 : 0 : if (gimple *_d6 = get_def (valueize, _q110))
20421 : : {
20422 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
20423 : 0 : switch (gimple_assign_rhs_code (_a6))
20424 : : {
20425 : 0 : case PLUS_EXPR:
20426 : 0 : {
20427 : 0 : tree _q120 = gimple_assign_rhs1 (_a6);
20428 : 0 : _q120 = do_valueize (valueize, _q120);
20429 : 0 : tree _q121 = gimple_assign_rhs2 (_a6);
20430 : 0 : _q121 = do_valueize (valueize, _q121);
20431 : 0 : if (tree_swap_operands_p (_q120, _q121))
20432 : 0 : std::swap (_q120, _q121);
20433 : 0 : {
20434 : 0 : tree _q120_pops[1];
20435 : 0 : if (gimple_nop_convert (_q120, _q120_pops, valueize))
20436 : : {
20437 : 0 : tree _q130 = _q120_pops[0];
20438 : 0 : if ((_q130 == _q41 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q41, 0) && types_match (_q130, _q41)))
20439 : : {
20440 : 0 : switch (TREE_CODE (_q121))
20441 : : {
20442 : 0 : case INTEGER_CST:
20443 : 0 : {
20444 : 0 : if (integer_zerop (_q81))
20445 : : {
20446 : 0 : {
20447 : 0 : tree _p1_pops[1];
20448 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
20449 : : {
20450 : 0 : tree _q170 = _p1_pops[0];
20451 : 0 : if ((_q170 == _q41 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q41, 0) && types_match (_q170, _q41)))
20452 : : {
20453 : 0 : if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
20454 : : {
20455 : 0 : {
20456 : 0 : tree captures[4] ATTRIBUTE_UNUSED = { _q41, _q121, _q91, _q40 };
20457 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
20458 : : )
20459 : : {
20460 : 0 : if (wi::eq_p (wi::to_wide (captures[1]), wi::to_wide (captures[3]))
20461 : : )
20462 : : {
20463 : 0 : {
20464 : 0 : res_ops[0] = captures[0];
20465 : 0 : res_ops[1] = captures[1];
20466 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 77, __FILE__, __LINE__, false);
20467 : 0 : return true;
20468 : : }
20469 : : }
20470 : : }
20471 : : }
20472 : : }
20473 : : }
20474 : : }
20475 : : }
20476 : : }
20477 : : break;
20478 : : }
20479 : : default:;
20480 : : }
20481 : : }
20482 : : }
20483 : : }
20484 : 0 : break;
20485 : : }
20486 : : default:;
20487 : : }
20488 : : }
20489 : : break;
20490 : : default:;
20491 : : }
20492 : : }
20493 : : }
20494 : : }
20495 : 3323440 : break;
20496 : : }
20497 : : default:;
20498 : : }
20499 : : }
20500 : : break;
20501 : : default:;
20502 : : }
20503 : : break;
20504 : : }
20505 : : default:;
20506 : : }
20507 : : }
20508 : : break;
20509 : : default:;
20510 : : }
20511 : : }
20512 : : break;
20513 : : }
20514 : : default:;
20515 : : }
20516 : 3323440 : break;
20517 : : }
20518 : : default:;
20519 : : }
20520 : : }
20521 : : break;
20522 : : default:;
20523 : : }
20524 : : break;
20525 : : }
20526 : 0 : case BIT_NOT_EXPR:
20527 : 0 : {
20528 : 0 : tree _q30 = gimple_assign_rhs1 (_a2);
20529 : 0 : _q30 = do_valueize (valueize, _q30);
20530 : 0 : switch (TREE_CODE (_q30))
20531 : : {
20532 : 0 : case SSA_NAME:
20533 : 0 : if (gimple *_d3 = get_def (valueize, _q30))
20534 : : {
20535 : 0 : if (gassign *_a3 = dyn_cast <gassign *> (_d3))
20536 : 0 : switch (gimple_assign_rhs_code (_a3))
20537 : : {
20538 : 0 : case LT_EXPR:
20539 : 0 : {
20540 : 0 : tree _q40 = gimple_assign_rhs1 (_a3);
20541 : 0 : _q40 = do_valueize (valueize, _q40);
20542 : 0 : tree _q41 = gimple_assign_rhs2 (_a3);
20543 : 0 : _q41 = do_valueize (valueize, _q41);
20544 : 0 : switch (TREE_CODE (_q40))
20545 : : {
20546 : 0 : case SSA_NAME:
20547 : 0 : if (gimple *_d4 = get_def (valueize, _q40))
20548 : : {
20549 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
20550 : 0 : switch (gimple_assign_rhs_code (_a4))
20551 : : {
20552 : 0 : case BIT_XOR_EXPR:
20553 : 0 : {
20554 : 0 : tree _q50 = gimple_assign_rhs1 (_a4);
20555 : 0 : _q50 = do_valueize (valueize, _q50);
20556 : 0 : tree _q51 = gimple_assign_rhs2 (_a4);
20557 : 0 : _q51 = do_valueize (valueize, _q51);
20558 : 0 : if (tree_swap_operands_p (_q50, _q51))
20559 : 0 : std::swap (_q50, _q51);
20560 : 0 : if (integer_zerop (_q41))
20561 : : {
20562 : 0 : switch (TREE_CODE (_q21))
20563 : : {
20564 : 0 : case SSA_NAME:
20565 : 0 : if (gimple *_d5 = get_def (valueize, _q21))
20566 : : {
20567 : 0 : if (gassign *_a5 = dyn_cast <gassign *> (_d5))
20568 : 0 : switch (gimple_assign_rhs_code (_a5))
20569 : : {
20570 : 0 : case LT_EXPR:
20571 : 0 : {
20572 : 0 : tree _q90 = gimple_assign_rhs1 (_a5);
20573 : 0 : _q90 = do_valueize (valueize, _q90);
20574 : 0 : tree _q91 = gimple_assign_rhs2 (_a5);
20575 : 0 : _q91 = do_valueize (valueize, _q91);
20576 : 0 : switch (TREE_CODE (_q90))
20577 : : {
20578 : 0 : case SSA_NAME:
20579 : 0 : if (gimple *_d6 = get_def (valueize, _q90))
20580 : : {
20581 : 0 : if (gassign *_a6 = dyn_cast <gassign *> (_d6))
20582 : 0 : switch (gimple_assign_rhs_code (_a6))
20583 : : {
20584 : 0 : case BIT_XOR_EXPR:
20585 : 0 : {
20586 : 0 : tree _q100 = gimple_assign_rhs1 (_a6);
20587 : 0 : _q100 = do_valueize (valueize, _q100);
20588 : 0 : tree _q101 = gimple_assign_rhs2 (_a6);
20589 : 0 : _q101 = do_valueize (valueize, _q101);
20590 : 0 : if (tree_swap_operands_p (_q100, _q101))
20591 : 0 : std::swap (_q100, _q101);
20592 : 0 : if ((_q100 == _q50 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q50, 0) && types_match (_q100, _q50)))
20593 : : {
20594 : 0 : {
20595 : 0 : tree _q101_pops[1];
20596 : 0 : if (gimple_nop_convert (_q101, _q101_pops, valueize))
20597 : : {
20598 : 0 : tree _q120 = _q101_pops[0];
20599 : 0 : switch (TREE_CODE (_q120))
20600 : : {
20601 : 0 : case SSA_NAME:
20602 : 0 : if (gimple *_d7 = get_def (valueize, _q120))
20603 : : {
20604 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
20605 : 0 : switch (gimple_assign_rhs_code (_a7))
20606 : : {
20607 : 0 : case PLUS_EXPR:
20608 : 0 : {
20609 : 0 : tree _q130 = gimple_assign_rhs1 (_a7);
20610 : 0 : _q130 = do_valueize (valueize, _q130);
20611 : 0 : tree _q131 = gimple_assign_rhs2 (_a7);
20612 : 0 : _q131 = do_valueize (valueize, _q131);
20613 : 0 : if (tree_swap_operands_p (_q130, _q131))
20614 : 0 : std::swap (_q130, _q131);
20615 : 0 : {
20616 : 0 : tree _q130_pops[1];
20617 : 0 : if (gimple_nop_convert (_q130, _q130_pops, valueize))
20618 : : {
20619 : 0 : tree _q140 = _q130_pops[0];
20620 : 0 : if ((_q140 == _q50 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q50, 0) && types_match (_q140, _q50)))
20621 : : {
20622 : 0 : {
20623 : 0 : tree _q131_pops[1];
20624 : 0 : if (gimple_nop_convert (_q131, _q131_pops, valueize))
20625 : : {
20626 : 0 : tree _q160 = _q131_pops[0];
20627 : 0 : if ((_q160 == _q51 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q51, 0) && types_match (_q160, _q51)))
20628 : : {
20629 : 0 : if (integer_zerop (_q91))
20630 : : {
20631 : 0 : {
20632 : 0 : tree _p1_pops[1];
20633 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
20634 : : {
20635 : 0 : tree _q190 = _p1_pops[0];
20636 : 0 : if ((_q190 == _q50 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q50, 0) && types_match (_q190, _q50)))
20637 : : {
20638 : 0 : if ((_p2 == _q101 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q101, 0) && types_match (_p2, _q101)))
20639 : : {
20640 : 0 : {
20641 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q101 };
20642 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
20643 : : )
20644 : : {
20645 : 0 : {
20646 : 0 : res_ops[0] = captures[0];
20647 : 0 : res_ops[1] = captures[1];
20648 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
20649 : 0 : return true;
20650 : : }
20651 : : }
20652 : : }
20653 : : }
20654 : : }
20655 : : }
20656 : : }
20657 : : }
20658 : : }
20659 : : }
20660 : : }
20661 : : }
20662 : : }
20663 : : }
20664 : 0 : break;
20665 : : }
20666 : : default:;
20667 : : }
20668 : : }
20669 : : break;
20670 : : default:;
20671 : : }
20672 : : }
20673 : : }
20674 : : }
20675 : 0 : if ((_q100 == _q51 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q51, 0) && types_match (_q100, _q51)))
20676 : : {
20677 : 0 : {
20678 : 0 : tree _q101_pops[1];
20679 : 0 : if (gimple_nop_convert (_q101, _q101_pops, valueize))
20680 : : {
20681 : 0 : tree _q120 = _q101_pops[0];
20682 : 0 : switch (TREE_CODE (_q120))
20683 : : {
20684 : 0 : case SSA_NAME:
20685 : 0 : if (gimple *_d7 = get_def (valueize, _q120))
20686 : : {
20687 : 0 : if (gassign *_a7 = dyn_cast <gassign *> (_d7))
20688 : 0 : switch (gimple_assign_rhs_code (_a7))
20689 : : {
20690 : 0 : case PLUS_EXPR:
20691 : 0 : {
20692 : 0 : tree _q130 = gimple_assign_rhs1 (_a7);
20693 : 0 : _q130 = do_valueize (valueize, _q130);
20694 : 0 : tree _q131 = gimple_assign_rhs2 (_a7);
20695 : 0 : _q131 = do_valueize (valueize, _q131);
20696 : 0 : if (tree_swap_operands_p (_q130, _q131))
20697 : 0 : std::swap (_q130, _q131);
20698 : 0 : {
20699 : 0 : tree _q130_pops[1];
20700 : 0 : if (gimple_nop_convert (_q130, _q130_pops, valueize))
20701 : : {
20702 : 0 : tree _q140 = _q130_pops[0];
20703 : 0 : if ((_q140 == _q51 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q51, 0) && types_match (_q140, _q51)))
20704 : : {
20705 : 0 : {
20706 : 0 : tree _q131_pops[1];
20707 : 0 : if (gimple_nop_convert (_q131, _q131_pops, valueize))
20708 : : {
20709 : 0 : tree _q160 = _q131_pops[0];
20710 : 0 : if ((_q160 == _q50 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q50, 0) && types_match (_q160, _q50)))
20711 : : {
20712 : 0 : if (integer_zerop (_q91))
20713 : : {
20714 : 0 : {
20715 : 0 : tree _p1_pops[1];
20716 : 0 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
20717 : : {
20718 : 0 : tree _q190 = _p1_pops[0];
20719 : 0 : if ((_q190 == _q51 && ! TREE_SIDE_EFFECTS (_q190)) || (operand_equal_p (_q190, _q51, 0) && types_match (_q190, _q51)))
20720 : : {
20721 : 0 : if ((_p2 == _q101 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q101, 0) && types_match (_p2, _q101)))
20722 : : {
20723 : 0 : {
20724 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q101 };
20725 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
20726 : : )
20727 : : {
20728 : 0 : {
20729 : 0 : res_ops[0] = captures[0];
20730 : 0 : res_ops[1] = captures[1];
20731 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 79, __FILE__, __LINE__, false);
20732 : 0 : return true;
20733 : : }
20734 : : }
20735 : : }
20736 : : }
20737 : : }
20738 : : }
20739 : : }
20740 : : }
20741 : : }
20742 : : }
20743 : : }
20744 : : }
20745 : : }
20746 : : }
20747 : 0 : break;
20748 : : }
20749 : : default:;
20750 : : }
20751 : : }
20752 : : break;
20753 : : default:;
20754 : : }
20755 : : }
20756 : : }
20757 : : }
20758 : 3323440 : break;
20759 : : }
20760 : : default:;
20761 : : }
20762 : : }
20763 : : break;
20764 : : default:;
20765 : : }
20766 : : break;
20767 : : }
20768 : : default:;
20769 : : }
20770 : : }
20771 : : break;
20772 : : default:;
20773 : : }
20774 : : }
20775 : 3323440 : break;
20776 : : }
20777 : : default:;
20778 : : }
20779 : : }
20780 : : break;
20781 : : default:;
20782 : : }
20783 : : break;
20784 : : }
20785 : : default:;
20786 : : }
20787 : : }
20788 : : break;
20789 : : default:;
20790 : : }
20791 : : break;
20792 : : }
20793 : : default:;
20794 : : }
20795 : : }
20796 : : break;
20797 : : default:;
20798 : : }
20799 : : }
20800 : : }
20801 : 3323440 : break;
20802 : : }
20803 : 251059 : case NE_EXPR:
20804 : 251059 : {
20805 : 251059 : tree _q20 = TREE_OPERAND (_p0, 0);
20806 : 251059 : if ((TREE_CODE (_q20) == SSA_NAME
20807 : 251059 : || is_gimple_min_invariant (_q20)))
20808 : : {
20809 : 251059 : _q20 = do_valueize (valueize, _q20);
20810 : 251059 : tree _q21 = TREE_OPERAND (_p0, 1);
20811 : 251059 : if ((TREE_CODE (_q21) == SSA_NAME
20812 : 251059 : || is_gimple_min_invariant (_q21)))
20813 : : {
20814 : 251059 : _q21 = do_valueize (valueize, _q21);
20815 : 251059 : if (tree_swap_operands_p (_q20, _q21))
20816 : 0 : std::swap (_q20, _q21);
20817 : 251059 : switch (TREE_CODE (_q20))
20818 : : {
20819 : 250804 : case SSA_NAME:
20820 : 250804 : if (gimple *_d2 = get_def (valueize, _q20))
20821 : : {
20822 : 250804 : if (gassign *_a2 = dyn_cast <gassign *> (_d2))
20823 : 328829 : switch (gimple_assign_rhs_code (_a2))
20824 : : {
20825 : 33761 : case IMAGPART_EXPR:
20826 : 33761 : {
20827 : 33761 : tree _q30 = TREE_OPERAND (gimple_assign_rhs1 (_a2), 0);
20828 : 33761 : if ((TREE_CODE (_q30) == SSA_NAME
20829 : 33761 : || is_gimple_min_invariant (_q30)))
20830 : : {
20831 : 33761 : _q30 = do_valueize (valueize, _q30);
20832 : 33761 : switch (TREE_CODE (_q30))
20833 : : {
20834 : 33761 : case SSA_NAME:
20835 : 33761 : if (gimple *_d3 = get_def (valueize, _q30))
20836 : : {
20837 : 33761 : if (gcall *_c3 = dyn_cast <gcall *> (_d3))
20838 : 33749 : switch (gimple_call_combined_fn (_c3))
20839 : : {
20840 : 9234 : case CFN_ADD_OVERFLOW:
20841 : 9234 : if (gimple_call_num_args (_c3) == 2)
20842 : : {
20843 : 9234 : tree _q40 = gimple_call_arg (_c3, 0);
20844 : 9234 : _q40 = do_valueize (valueize, _q40);
20845 : 9234 : tree _q41 = gimple_call_arg (_c3, 1);
20846 : 9234 : _q41 = do_valueize (valueize, _q41);
20847 : 9234 : if (tree_swap_operands_p (_q40, _q41))
20848 : 0 : std::swap (_q40, _q41);
20849 : 9234 : if (integer_zerop (_q21))
20850 : : {
20851 : 9234 : {
20852 : 9234 : tree _p1_pops[1];
20853 : 9234 : if (gimple_signed_integer_sat_val (_p1, _p1_pops, valueize))
20854 : : {
20855 : 0 : tree _q80 = _p1_pops[0];
20856 : 0 : if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
20857 : : {
20858 : 0 : switch (TREE_CODE (_p2))
20859 : : {
20860 : 0 : case SSA_NAME:
20861 : 0 : if (gimple *_d4 = get_def (valueize, _p2))
20862 : : {
20863 : 0 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
20864 : 0 : switch (gimple_assign_rhs_code (_a4))
20865 : : {
20866 : 0 : case REALPART_EXPR:
20867 : 0 : {
20868 : 0 : tree _q100 = TREE_OPERAND (gimple_assign_rhs1 (_a4), 0);
20869 : 0 : if ((TREE_CODE (_q100) == SSA_NAME
20870 : 0 : || is_gimple_min_invariant (_q100)))
20871 : : {
20872 : 0 : _q100 = do_valueize (valueize, _q100);
20873 : 0 : if ((_q100 == _q30 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q30, 0) && types_match (_q100, _q30)))
20874 : : {
20875 : 0 : {
20876 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q30 };
20877 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
20878 : : )
20879 : : {
20880 : 0 : {
20881 : 0 : res_ops[0] = captures[0];
20882 : 0 : res_ops[1] = captures[1];
20883 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 80, __FILE__, __LINE__, false);
20884 : 0 : return true;
20885 : : }
20886 : : }
20887 : : }
20888 : : }
20889 : : }
20890 : : break;
20891 : : }
20892 : : default:;
20893 : : }
20894 : : }
20895 : : break;
20896 : : default:;
20897 : : }
20898 : : }
20899 : 0 : if ((_q80 == _q41 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q41, 0) && types_match (_q80, _q41)))
20900 : : {
20901 : 0 : switch (TREE_CODE (_p2))
20902 : : {
20903 : 0 : case SSA_NAME:
20904 : 0 : if (gimple *_d4 = get_def (valueize, _p2))
20905 : : {
20906 : 9234 : if (gassign *_a4 = dyn_cast <gassign *> (_d4))
20907 : 0 : switch (gimple_assign_rhs_code (_a4))
20908 : : {
20909 : 0 : case REALPART_EXPR:
20910 : 0 : {
20911 : 0 : tree _q100 = TREE_OPERAND (gimple_assign_rhs1 (_a4), 0);
20912 : 0 : if ((TREE_CODE (_q100) == SSA_NAME
20913 : 0 : || is_gimple_min_invariant (_q100)))
20914 : : {
20915 : 0 : _q100 = do_valueize (valueize, _q100);
20916 : 0 : if ((_q100 == _q30 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q30, 0) && types_match (_q100, _q30)))
20917 : : {
20918 : 0 : {
20919 : 0 : tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q30 };
20920 : 0 : if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
20921 : : )
20922 : : {
20923 : 0 : {
20924 : 0 : res_ops[0] = captures[0];
20925 : 0 : res_ops[1] = captures[1];
20926 : 0 : if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 80, __FILE__, __LINE__, false);
20927 : 0 : return true;
20928 : : }
20929 : : }
20930 : : }
20931 : : }
20932 : : }
20933 : : break;
20934 : : }
20935 : : default:;
20936 : : }
20937 : : }
20938 : : break;
20939 : : default:;
20940 : : }
20941 : : }
20942 : : }
20943 : : }
20944 : : }
20945 : : }
20946 : : break;
20947 : : default:;
20948 : : }
20949 : : }
20950 : : break;
20951 : : default:;
20952 : : }
20953 : : }
20954 : : break;
20955 : : }
20956 : : default:;
20957 : : }
20958 : : }
20959 : : break;
20960 : : default:;
20961 : : }
20962 : : }
20963 : : }
20964 : 3323440 : break;
20965 : : }
20966 : : default:;
20967 : : }
20968 : : }
20969 : : }
20970 : : }
20971 : : break;
20972 : : default:;
20973 : : }
20974 : : return false;
20975 : : }
20976 : : #pragma GCC diagnostic pop
|